Commit Graph

38054 Commits

Author SHA1 Message Date
Steven Johnson
f0de53c1ce remove unused-parameter warning from Assembler::hint() in NativeX64.cpp to fix Linux64 build breakage
--HG--
extra : convert_revision : 5db4de482aca2e102551560de084c33bd4db2bc8
2010-01-25 15:04:22 -08:00
Steven Johnson
9c26cf7691 fix obviously wrong call to getTarget() in ValidateReader::read() for LIR_jtbl (r=me)
--HG--
extra : convert_revision : 0a24446567224c42ee3f421627ea644976fea3de
2010-01-25 11:56:01 -08:00
Steven Johnson
e0fe64337d implement EXPANDED_LOADSTORE for ARM (code=vladimir,stejohns; r=vladimir,rreitmai; bug=534765)
--HG--
extra : convert_revision : 75f0d95c8bea8ceb0d9bb2dfd55aeb0d0d200bd1
2010-01-25 11:08:42 -08:00
Vladimir Vukicevic
dbeceb07e7 b=533659; tracing support for JS typed array types; r=gal 2010-01-25 17:06:36 -08:00
Graydon Hoare
a8e66a4bcd Bug 526074 - handle nothing-to-import case in import script, r=gal. 2010-01-25 10:32:33 -08:00
Nicholas Nethercote
0789008cc7 Update nanojit-import-rev stamp. 2010-01-25 14:03:02 +11:00
Nicholas Nethercote
b2dcc26c38 Bug 538924 - nanojit: rework reservations. r=edwsmith.
--HG--
extra : convert_revision : 51a78a175b1074c933323e0bf24d6f64b5c6c35d
2010-01-25 10:39:36 +11:00
Nicholas Nethercote
fec7f356b0 ARM bustage fix for bug 540351.
--HG--
extra : convert_revision : 4a6d8a20be25e523d261f1754b0be90619fc0554
2010-01-25 09:44:47 +11:00
Nicholas Nethercote
a0704e558a Bug 540351 - nanojit: refactor hint() and registerAlloc(). r=rreitmai.
--HG--
extra : convert_revision : fa4f34a51239317d312b9388f2eb9ca2631b463e
2010-01-25 09:40:11 +11:00
Nicholas Nethercote
126997f7d4 Bug 534313 - nanojit: split isQuad() into isI64() + isF64() + is64() (TM-specific part). r=dvander. 2010-01-25 08:50:38 +11:00
Nicholas Nethercote
402ef4a279 Update nanojit-import-rev stamp. 2010-01-25 08:36:49 +11:00
Nicholas Nethercote
43cc6ace57 Bug 534313 - nanojit: split isQuad() into isI64() + isF64() + is64(). r=dvander,stejohns.
--HG--
extra : convert_revision : f24a70adec4c24dffd3a9c6c3572c5755938291a
2010-01-25 08:25:04 +11:00
Steven Johnson
37c967beaf nanojit/NativeARM.h: remove NJ_ARM_ARCH (code=bramley,r=stejohns,bug=541258)
--HG--
extra : convert_revision : cfcf246845a1fa07f60c791bdc471ed11a10351a
2010-01-22 12:39:57 -08:00
Edwin Smith
605b734ba8 (second try) Adds protect/unprotect API to CodeAlloc (bug 460993 r=nnethercote,rreitmai sr=gal)
Removes calls to VMPI_setPageProtection from CodeAlloc, and adds a new
protect/unprotect API to CodeAlloc, along with an SPI for the vm to implement
actual page protection.

It is up to the VM to call codeAlloc->protect() before executing jit'd code,
but CodeAlloc will internally call unprotect() before modifying blocks, as code
is generated.  If the VM's implementation of allocCodePage allocates memory
as RWX, then the new protection api's can be ignored and the implementations
of markCodeChunkExec/Write can be empty functions.

A flag per code chunk is used so that only modified pages are unprotected and
reprotected.

CodeAlloc never calls VMPI_setPageProtection any more, so platform abstractions
for this can be encapsulated in the CodeAlloc SPI methods.

nanojit/avmplus.cpp was modified to call VMPI_setPageProtection on the platforms
that didn't already allocate code memory as RWX.  Since those callsites are platform
specific and the only place we call VMPI_setPageProtection, the code could be further
simplified.

--HG--
extra : convert_revision : 3c9030f46c15cc0f033592db6ba96674e1f5173b
2010-01-22 15:18:12 -05:00
Igor Bukanov
450cf95e35 bug 538275 - ClaimTitle cleanup. r=brendan, jorendorff 2010-01-24 14:15:38 +03:00
Luke Wagner
b41eed1718 Fix ARM bustage 2010-01-22 16:15:24 -08:00
Luke Wagner
2645ecd2da Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Brendan Eich
1699be3a87 Bug 541455 - Do not drop "mumble"; would-be directives in the parser, let them be completion values (or useless expressions for the emitter to cull) (r=jimb). 2010-01-22 12:17:13 -08:00
Luke Wagner
4f05b945eb Bug 458421 - dead stuff in spidermonkey (r=jorendorff) 2010-01-22 11:52:17 -08:00
David Mandelin
7178b08092 Bug 541239: don't use upvar for variables in eval if they cross a generator, r=mrbkap 2010-01-21 17:06:11 -08:00
Nicholas Nethercote
f4bc73f777 Bustage fix for bug 463137: use insBranch() instead of ins2() to insert LIR_j. r=me. 2010-01-22 16:20:42 +11:00
Nicholas Nethercote
31c3c6d825 Bug 463137 - TM/nanojit: type-check LIR (TM-specific part). r=jseward. 2010-01-22 13:41:24 +11:00
Nicholas Nethercote
6a429f956a Update nanojit-import-rev stamp. 2010-01-22 13:38:10 +11:00
Nicholas Nethercote
c1a35c54aa Bug 521692 - NJ merge: don't check for error twice in Assembler::gen(). r=graydon.
--HG--
extra : convert_revision : c0257e13ea032510ed6ec3e1a6ea55c0fe98e614
2010-01-22 13:24:59 +11:00
Nicholas Nethercote
1706534709 Bustage fixes.
--HG--
extra : convert_revision : 7befbe058634dc37e2fcd614969fd92c64507096
2010-01-22 10:21:29 +11:00
Nicholas Nethercote
b98921836d Bug 463137 - TM/nanojit: type-check LIR. r=jseward,rreitmai.
--HG--
extra : convert_revision : 162182c5cd78d5366c1ca3ea2ca9b11f40115942
2010-01-22 10:10:59 +11:00
David Mandelin
5bb1cfd035 Bug 540243: don't use JSOP_GETUPVAR if def-use chain crosses a generator lexical scope, r=mrbkap 2010-01-21 13:27:36 -08:00
Henri Sivonen
8c86ce90ed Bug 539895 - Flush tree ops in the HTML5 parser upon </select> and </textarea> to make form state restoration work. r=bnewman. 2010-01-20 15:43:58 +02:00
Henri Sivonen
f30b1cc096 Bug 543930 - Assertion misplaced after code additions above a disconnected #ifdefed else branch. r=bzbarsky. 2010-02-03 10:53:58 +02:00
Roy Frostig
84fba3ea8c Bug 536765 - Cairo Qt surface backend save()/restore() inconsistencies. r=jrmuizel 2010-02-03 23:29:30 -08:00
Michael Wu
57d6c1880d Bug 538269 - Set HOST_AR_FLAG like HOST_AR, r=ted
--HG--
extra : rebase_source : 7d96f2c97970ad7c086e51ce99a08918e507aa1f
2010-02-03 14:40:34 -08:00
Benjamin Smedberg
d2f5cee6ad Bug 535120 - NPN_GetValue(NPNVToolkit) doesn't work with null npp, r=bent
--HG--
extra : rebase_source : 67d03285f34260c02c49579ef8ff664e04bc4a84
2010-02-03 17:17:41 -05:00
Benjamin Smedberg
16f9bfea5a Bug 541646 - Crash when Flash is running and we enter private browsing mode, r=bent
--HG--
extra : rebase_source : 5f6d75689cf70f6c7bdd578da0021287bfe22737
2010-02-03 17:17:28 -05:00
Benjamin Smedberg
30bd4e4e51 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Benjamin Smedberg
151a3c2903 Bug 544016 - If two plugins are available for a MIME type, prefer the enabled one to the disabled/blocklisted one, r=josh
--HG--
extra : rebase_source : 8c4382719dd8886634a8f89a85d89af1e96f6c4d
2010-02-03 16:52:07 -05:00
Ben Turner
e949113d77 Bug 542821 - 'Process startup event gets dropped on the floor by deferred messaging'. r=jimm.
--HG--
extra : transplant_source : %3A%2B%5E%7C%F6l%5D%5E6%C1%992%B9%2AA1%83%9A%E4%D5
2010-02-03 13:09:55 -08:00
Jonathan Griffin
ffc7637cba Bug 542660. Move universalchardet tests that use XPConnect to mochi-chrome. r=smontagu 2010-02-03 13:35:15 -08:00
Boris Zbarsky
48153cc0e6 Bug 540531. Freeze the refresh driver when a page goes into bfcache. r=dbaron 2010-02-03 16:17:55 -05:00
Boris Zbarsky
5965dd953c Bug 542406. Make readonly='true' on XBL fields work again. r=sicking 2010-02-03 16:17:55 -05:00
Jason Orendorff
da670f0947 Bug 524522 revisited - Make JS_ASSERT trigger Breakpad on Mac OS X. rs=luke. 2010-02-03 14:53:26 -06:00
Timothy Nikkel
5ab231bfb9 Bug 517737. Special case event targeting for area element's that are capturing the mouse due to their misuse of primary frame pointers. r=smaug
--HG--
extra : rebase_source : ae74bfd8ccec6e0e7605be33a99cc3e1b3a85420
2010-02-02 20:07:19 -06:00
Timothy Nikkel
c63f549245 Bug 517737. Don't allow starting a drag if something is capturing the mouse. r=smaug(part of),enndeakin
--HG--
extra : rebase_source : 171cef43d1fef9337b49d6f3b9ca661c3e618437
2010-02-02 20:07:08 -06:00
Timothy Nikkel
9d1ebd2487 Bug 543681. Update the dirty region of view properly when scrolling. r=roc
--HG--
extra : rebase_source : b2c66757fb896a7f075eb059c85db42bb2fd3f45
2010-02-02 19:55:29 -06:00
Timothy Nikkel
6710bd9634 Bug 491547. Add crashtests.
--HG--
extra : rebase_source : 7b30a1fa465ebdef49cb39f6f99e8d83350cc82b
2010-01-29 21:33:16 -06:00
Timothy Nikkel
73043ea966 Bug 538308. Inside a tree don't consider XUL nodes under non-XUL nodes. r=neil sr=bzbarsky
--HG--
extra : rebase_source : 8965629e2b932d898767a03a5963f9baabd20e23
2010-01-29 21:04:49 -06:00
Timothy Nikkel
582541daec Bug 542900. nsPluginInstanceOwner::Init should be calling AddScrollPositionListener. r=roc
--HG--
extra : rebase_source : 403e7ed117c743643d92bf67f1c15e8678c3458d
2010-01-28 18:03:52 -06:00
Timothy Nikkel
375930c3f5 Bug 488771. Stop nsIScrollPositionListener from inheriting from nsISupports. r=roc
--HG--
extra : rebase_source : bb93c56b3347bc8df7fd843f08e2d5dfc4f3071b
2010-01-28 18:03:42 -06:00
Timothy Nikkel
8e26799e9f Bug 488771. nsIRollUpListener followup, correctly release pointer, and fix up some tabs. r=roc
--HG--
extra : rebase_source : 288ac5e52bd6e15dfca5030cc9899f7e4dcf5a1a
2010-01-27 22:12:47 -06:00
Timothy Nikkel
fda05ac7f9 Bug 542136. If we are going to stop reflowing the children of a line, split the line even if we just finished a first letter or placeholder. r=roc
--HG--
extra : rebase_source : 3c3d54119f839c412a85930190f247bae07b10c7
2010-01-27 22:12:45 -06:00
Timothy Nikkel
876990d359 Bug 540247. If we change the size of the scrolled frame for a XUL scroll make sure to invalidate the changed area. r=roc
--HG--
extra : rebase_source : 81bf0e8490ec47249e7cb9a868652ff5317a5424
2010-01-27 22:12:42 -06:00