Commit Graph

38195 Commits

Author SHA1 Message Date
Benjamin Smedberg
cdf47037d7 Bug 540604 - silverlight doesn't work with OOPP because it doesn't set the stype outparam for NPP_NewStream, and relies on us initializing the value with NP_NORMAL, r=cjones 2010-01-26 12:05:54 -05:00
Benjamin Smedberg
fff188953b Bug 535564 - automation.py: WindowsError: [Error 13] The process cannot access the file because it is being used by another process. Don't keep the PID log open all the time, but only open it when it is needed. r?griffin
--HG--
extra : rebase_source : 1072e20feb1db8a98f99de5617e416ca23efb511
2010-01-26 09:53:32 -05:00
Chris Jones
382bd97b0b More temporary mochitest hang diagnostics: kill the plugin process with SIGSEGV if it doesn't shut down within 30 seconds. 2010-01-25 18:49:02 -06:00
Karl Tomlinson
7a9997e1bf b=540910 restore flushing of Xlib requests from the parent to the server before testing from the OOP plugin 2010-01-26 13:48:16 +13:00
Benjamin Smedberg
6ff062a712 Rename Crash() to IntentionalCrash() so that automation can grep for it. Make it non-static, and add trailing instructions to it so that it isn't inlined nor tail-called away in crash reports.
--HG--
extra : rebase_source : c74c5bf161508fbc46478bba81d6bd791091485b
2010-01-25 17:26:23 -05:00
Chris Jones
e03c1f3854 More temporary debug spew to sort linux mochitest hang. 2010-01-25 14:10:12 -06:00
Benjamin Smedberg
10c46ca526 Printf-debugging to help figure out bug 535564 2010-01-25 14:33:50 -05:00
Benjamin Smedberg
003e478253 Re-enable the timer/asynccall tests now that the ChildNPObject leaks are fixed 2010-01-25 14:15:13 -05:00
Benjamin Smedberg
0ba2d6e348 Merge mozilla-central with electrolysis. 2010-01-25 11:57:19 -05:00
Benjamin Smedberg
2b12cc735a Merge electrolysis tip with intermediate merge point. 2010-01-25 11:57:00 -05:00
Benjamin Smedberg
837889eb6b Merge part of mozilla-central to electrolysis after the pushes from 21-Jan. 2010-01-25 11:56:06 -05:00
Luke Wagner
89799b298a Bug 541456 - change ConvertSupportsTojsvals not to use js_AllocStack (r=jst) 2010-01-25 08:48:07 -08:00
Igor Bukanov
836b8a84eb bug 540805 - using reference counting only for empty scopes. r=jorendorff 2010-01-27 09:50:17 +03:00
Vladimir Vukicevic
10bddbda2d b=542395; really enable typed array tracing and support JSOP_LENGTH; r=gal 2010-01-26 21:45:11 -08:00
Jeff Walden
de3dc07e82 Rearrange jsbuiltins.h's list of traceable natives by file. No bug, r=sparky 2010-01-26 18:20:04 -08:00
Igor Bukanov
7227718637 bug 541790 - do not purge again if the GC restarts. r=jorendorf 2010-01-26 22:27:09 +03:00
Luke Wagner
4040498e00 Fix ARM bustage, part deux 2010-01-26 04:41:00 -08:00
Nicholas Nethercote
8498d179bc Bug 541886 - nanojit: move compile() into class Assembler (TM-specific part). r=dvander. 2010-01-26 14:06:13 +11:00
Nicholas Nethercote
7eb8623d12 Update nanojit-import-rev stamp. 2010-01-26 13:48:19 +11:00
Nicholas Nethercote
09e7e8d0a8 Bug 541886 - nanojit: move compile() into class Assembler. r=rreitmai.
--HG--
extra : convert_revision : f3506c693a7e8b7af089367313cbe960d7e2607f
2010-01-26 13:38:15 +11:00
Steven Johnson
1f13f206c4 Init rb to UnspecifiedReg in asm_fop (x64) to pacify compiler
--HG--
extra : convert_revision : 1cae250cda3ca1765fc3de8e057dccdd4522c358
2010-01-25 15:23:34 -08:00
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
Boris Zbarsky
e3646615a4 Bug 538063. Fix the assert condition to not trigger for <area>s. r=tn 2010-01-25 11:03:48 -05:00
Boris Zbarsky
0b39e83022 Bug 541382. Buttons with non-visible overflow should clip their contents. r=roc 2010-01-25 11:03:43 -05:00
Alexander Surkov
f19fe9bb77 Bug 541108 - nsAccessible::DoCommand shouldn't return value, r=davidb 2010-01-25 23:09:25 +08:00
Alexander Surkov
ac429f5b6b Bug 523785 - Use NS_DispatchToMainThread instead of nsITimer, r=ginn, davidb, sr=smaug 2010-01-25 23:08:08 +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
Chris Jones
bd0804d7d6 More debug spew for sorting mochitest-plain hang. 2010-01-22 18:03:38 -06:00
Chris Jones
db57f114be Temporary spew part 2: convert fprintf(stderr into printf( so that child output shows up in the log. 2010-01-22 15:31:56 -06: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
Chris Jones
7b53db6a22 Temporary debug spew for diagnosing Linux mochitest hang. 2010-01-22 12:53:18 -06:00
Benjamin Smedberg
9c1e8d42c6 Bug 540967 - "missing output line for total leaks" because the parent process isn't waiting for the child process to clean up/write leak logs, r=cjones
--HG--
extra : transplant_source : EW%5C-%60M%BCabd%A0%DE%F8%1EG%DF%03%14%B3%24
2010-01-22 10:21:33 -05:00
Benjamin Smedberg
ad605908e9 Bug 540967 - "missing output line for total leaks" because the parent process isn't waiting for the child process to clean up/write leak logs, r=cjones 2010-01-22 10:21:33 -05:00
Benjamin Smedberg
25d837343c Bug 540868 part 3: when deallocating NPObjects in leakcount builds, let the leak monitor know that we cleaned them up correctly, r=bent
--HG--
extra : transplant_source : H%AC%29%DF8y%E8f%F1%2B%3B%5C%A3Z%10%D1R%7E%CC%10
2010-01-22 10:06:30 -05:00