Commit Graph

16820 Commits

Author SHA1 Message Date
Jacek Caban
a3a1968a0b Bug 699170 - Tons of JS_* redefined warnings on mingw r=ted 2011-11-08 10:25:51 +01:00
Ed Morley
b66adf55e2 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-08 08:01:18 +00:00
Terrence Cole
65b8697281 Bug 700357 - Run GC_SHRINK more frequently; r=billm
Currently we only run this on idle when allocating memory.  There
are plans in place to also run these when clicking the Minimize
Memory button in about:memory, and when we are under memory
pressure.  This change causes GC_SHRINK to also run when doing so
will result in "lots" of pages being decommitted to the OS.
2011-11-07 13:47:14 -08:00
Ben Turner
dbd7d35169 Bug 658178 - 'Make XHR2 response/responseType work in Web Workers'. r=jst+sicking+mrbkap. 2011-11-07 17:01:29 -08:00
Jeff Walden
8a84ed2439 Bug 699691 - Remove an unused argument from ino2name in pathsub.{c,h}. r=ted 2011-11-04 18:36:40 -07:00
Jeff Walden
2083d65f42 Remove js::tl::ArraySize and js::tl::ArrayEnd. They're unused, and mozilla::ArrayLength and mozilla::ArrayEnd supersede them regardless. No bug, r=lumpy 2011-11-04 01:37:53 -07:00
Jeff Walden
781a43526c Bug 700498 - Change StringBuffer::append to take a JSLinearString*, not a JSAtom*. r=cdleary 2011-11-07 16:28:37 -08:00
Chris Leary
c3ed758f26 Bug 634654 - Add RegExpPrivate cache. (r=Waldo) 2011-11-07 13:42:31 -08:00
Dave Mandelin
3a3c5caace Bug 679986: Deoptimize unnecessary regexps. (r=cdleary)
--HG--
extra : rebase_source : 63f2d3865ea362fd2071751edce00737ab83ae26
2011-11-07 11:42:02 -08:00
Luke Wagner
e7180dc786 Bug 696813 - Hoist function out of Decompile JSOP_POPV case for later reuse (r=jorendorff)
--HG--
extra : rebase_source : 49b7adbbaf2e9d3fbf2f4756cefdc659109488d3
2011-11-07 11:46:26 -08:00
Luke Wagner
b93fb2c304 Bug 696813 - Hoist two functions out of Decompile JSOP_ENTERBLOCK case for later reuse (r=jorendorff)
--HG--
extra : rebase_source : f9c0a19d1926efc7cc89ff64fa0eca3e73775830
2011-11-07 11:46:26 -08:00
Luke Wagner
04b64ac7ef Bug 696813 - Simplify Decompile (r=waldo)
--HG--
extra : rebase_source : 452ffc58a6dc2f9d152fe6cbc2a1206fd3db0e27
2011-11-07 11:46:25 -08:00
Luke Wagner
ea85e35e23 Bug 696813 - Remove dead Decompile parameter (r=waldo)
--HG--
extra : rebase_source : a97c2551cae6de7a1c5b345ce5b7ceee26868cff
2011-11-07 11:46:25 -08:00
Luke Wagner
81d9e6c903 Bug 696813 - Simplify several bytecode generator Emit* functions (r=jorendorff)
--HG--
extra : rebase_source : 2d85e4add09a9a99071755151ab8691299fc8c05
2011-10-24 11:15:34 -07:00
Luke Wagner
24dd17b1c9 Bug 696813 - Simplify Parser::forStatement (r=jorendorff)
--HG--
extra : rebase_source : 9e5d9eebffee46d35a55e869a45b8ec5db5877e6
2011-10-21 10:54:33 -07:00
Terrence Cole
19029087ac Bug 692547 - Split up array_extra; r=Waldo
Using array_extra as a common implementation method does not shave off many
bytes of code and makes understanding all of the functions it implements very
difficult.  This patch splits this mess up and makes these methods follow
ECMA steps.

--HG--
extra : rebase_source : e31647801e4c54414534bc5770cabfa463c7d149
2011-11-04 15:56:40 -07:00
Luke Wagner
24ebb0ec95 Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : f18561fff556332789e05623ab0cec2e7faacf78
2011-07-01 14:11:31 -07:00
Ed Morley
6c0b453345 Bug 700166 - Hg rm dom/interfaces/threads/ since it's no longer built; r=bent 2011-11-07 15:44:11 +00:00
Peter Van der Beken
693361bf13 Bug 699796 - Note objects holding JSScript as roots in the CC. r=igor.
--HG--
extra : rebase_source : 68ef72cd709aed89ee6a1cc30bd6079d3e1ddf3d
2011-11-07 13:57:46 +01:00
Peter Van der Beken
ed7ffc3fae Bug 695867 - Crash [@ LookupPropertyById] with getPropertyDescriptor returning a NodeList. r=bz.
--HG--
extra : rebase_source : 7647c232594ab918b9c4488e8cb56d77dfea9b42
2011-10-27 19:31:37 +02:00
Peter Van der Beken
b63af58931 Bug 684938 - Proxy nsXPCWrappedJS::Release to the main thread. r=mrbkap.
--HG--
extra : rebase_source : faf9c46616c52bc03b776a4aae8fd3f87e11f132
2011-09-14 08:44:27 -07:00
Peter Van der Beken
0e028bfaf7 Bug 697643 - Crash [@ JS_IsExceptionPending] modifying a live NodeList. r=bz.
--HG--
extra : rebase_source : 1d2e5e17c76a04a88468d976e89576d127e4e54f
2011-10-27 19:39:03 +02:00
Tom Schuster
118d0e5fef Bug 698584 - Fix crash in RegExp.test in case of OOM. r=mrbkap 2011-11-06 16:29:33 +01:00
Bobby Holley
ed31a8bfba Bug 677788 - Remove use of length_is xpt value from gecko. r=mrbkap 2011-11-06 13:32:25 +01:00
Bobby Holley
0b4ff99312 Bug 677788 - Remove array/string 'capacity' argument from XPCConvert. r=mrbkap
Because length_is duplicates size_is, 'capacity' is just an alias for 'count'.
2011-11-06 13:32:25 +01:00
Bobby Holley
2de88b7c43 Bug 691781 - Generate IDL lexer and parser as part of the build system. r=khuey 2011-11-06 13:32:25 +01:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Terrence Cole
fdb5ec2f79 Bug 670596 - Mark ununused arenas as decommitted; r=?,njn
This patch tells the OS which pages we are not using after we do a GC_SHRINK.
The result is that the OS can do a better job managing memory, send less to
swap and will not count these pages against us in RSS.
2011-10-11 18:37:40 -07:00
Steve Fink
ec14aa4669 Bug 625639 - fix XPCConvert error handling (r=mrbkap) 2011-10-28 12:35:35 -07:00
Steve Fink
77bf8eb073 Bug 693907 - Once Upon a JSAPI (move JS_CallOnce from jslock.cpp to jsapi.cpp) (r=waldo)
--HG--
extra : rebase_source : 718fa503c0b73f0a4a94f50f28bc4a7981ef4202
2011-10-11 21:52:36 -07:00
Tom Schuster
70303788a7 no bug - Add 0 add the end of a char array rs=waldo
--HG--
extra : rebase_source : f0f7051cbb7842da215bf3163db49c68ada60bc3
2011-11-04 23:49:56 +01:00
ABE Hiroki
f64ab95bee Bug 675593 - Fix nspr4!1.pgc path mistake on NSPR PGO build (m-c part); r=ted 2011-11-04 21:26:53 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Boris Zbarsky
3678f3ebd8 Bug 698495 followup: deal with uint32 being inconsistently defined by JS and NSPR in ways that break the Win64 build. r=waldo pending 2011-11-04 13:57:39 -04:00
Tom Schuster
92dba89a43 Backout 8b394bdb306f because of test failures 2011-11-04 18:50:09 +01:00
Tom Schuster
f0db7825f6 Bug 430927 - Don't decompile to \0 as it was incorrectly interpreted as octal. r=waldo
--HG--
extra : rebase_source : 354646d3fd2a28fd5b538f988f3b51aa98925728
2011-11-03 21:58:06 +01:00
Tom Schuster
ad9cccd366 Bug 698584 - Fix crash in RegExp.test in case of OOM. r=mrbkap
--HG--
extra : rebase_source : 832a69bf6a5e3d8d5f4e334646850ad3207714a9
2011-11-03 21:57:32 +01:00
Boris Zbarsky
26bc193987 Bug 699705. When forwarding property gets to the proto for arrays, send along the right receiver even if the property lives on a non-native object. r=waldo 2011-11-04 12:26:03 -04:00
Boris Zbarsky
92b5d3f4fd Bug 699237. Add a getElementIfPresent on typed arrays. r=waldo 2011-11-04 12:25:52 -04:00
Boris Zbarsky
adfd17214b Bug 698495 part 5. Implement getElementIfPresent on nodelist proxies. r=peterv 2011-11-04 12:25:18 -04:00
Boris Zbarsky
f54589df3b Bug 698495 part 4. Implement a JS_GetElementIfPresent API. r=waldo 2011-11-04 12:19:13 -04:00
Boris Zbarsky
44a9bf053c Bug 698495 part 3. Expose IndexToId to API consumers. r=waldo 2011-11-04 12:19:07 -04:00
Boris Zbarsky
f00eb19bad Bug 698495 part 2. Add an optional getElementIfPresent ObjectOps hook. r=waldo 2011-11-04 12:19:00 -04:00
Boris Zbarsky
175077ac69 Bug 698495 part 1. Create a getElementIfPresent method on JSObject with a generic implementation and use it from JSArray code. r=waldo 2011-11-04 12:18:52 -04:00
Boris Zbarsky
7c9b5321a5 Bug 698551. When forwarding gets to the prototype in nodelists, make sure to use the right |this|. r=waldo,peterv 2011-11-04 12:18:38 -04:00
Boris Zbarsky
f0db867bef Bug 688685 test. r=waldo 2011-11-04 01:32:10 -04:00
Boris Zbarsky
94ed6889d1 Bug 699661. Call the class getElement hook from JSObject::getElement as needed. r=waldo 2011-11-04 01:32:09 -04:00
Makoto Kato
90ba915e12 Bug 632630 - Should add debug flag of assembler obj when MOZ_DEBUG_SYMBOLS. r=khuey 2011-11-04 11:59:47 +09:00
Matt Brubeck
2ca7e7f331 Back out a242f11d7c58 and f73841ef020a because of test failures 2011-11-03 15:23:10 -07:00
Brian Hackett
3f0afe07ad Watch for global mismatches on regexp literals when compiling regexp ops, bug 695896. r=cdleary 2011-11-03 14:40:49 -07:00