Commit Graph

23132 Commits

Author SHA1 Message Date
Mounir Lamouri
b962186b7c Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Mike Hommey
806a4c3479 Bug 654080 - Display which GLIBCXX symbols cause an error. r=ted 2011-05-09 07:38:11 +02:00
Boris Zbarsky
eddb0544bf Merge cedar with mozilla-central 2011-05-06 20:39:36 -04:00
Ed Morley
e7486342c4 Bug 654472 - Remove WinCE code (incl MOZ_FLASH_ACTIVEX_PATCH & USE_HTIFACE) from embedding/* ; r=bsmedberg 2011-05-06 11:40:46 -07:00
Mike Hommey
17fce8312c Bug 654975 - Remove -freorder-blocks-and-partition from PGO build options. r=ted 2011-05-05 19:26:54 +02:00
Justin Lebar
11e14f3c41 Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. 2011-04-28 15:49:16 +02:00
Daniel Holbert
5a3d8699b9 Back out cset bc80c46f185d (Bug 590181 part 2) on suspicion of causing linux reftest permaorange (bug 654858) when PGO is disabled. rs=glandium CLOSED TREE 2011-05-04 16:39:15 -07:00
Boris Zbarsky
2724d954fd Merge cedar with mozilla-central 2011-05-04 13:58:26 -04:00
Andrew McCreight
3b21c48a99 Bug 651273 revert nsXPConnect::Traverse changes to fix WANT_ALL_TRACES CC (r=peterv@propagandism.org)
--HG--
extra : rebase_source : 8d4c84b1f38bed77815243c2dfc69abf5e7adf20
2011-04-22 12:06:43 -07:00
Nicholas Nethercote
020b76968f Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Chris Leary
d8a23919cc Merge mozilla-central to tracemonkey. (CLOSED TREE) 2011-05-02 10:55:34 -07:00
Igor Bukanov
6ba82bb313 bug 605029 - followup to fix inconsequel typo 2011-04-29 14:11:23 +02:00
Paul Biggar
89d0aeee78 Merge backout. 2011-04-29 04:01:23 -07:00
Paul Biggar
1a9c89b991 Backed out changeset 334ada87e329 (bug 628332) - those a11y errors arrived at the same time as this landing, so backing this out to see if that fixes it. 2011-04-29 04:00:57 -07:00
Christian Holler
16f3d5c486 Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm). 2011-04-27 16:09:00 -07:00
Paul Biggar
6996d452cb Bug 651864 - Extract magic slot formula into inline functions (r=jwalden)
The global object has special slots for built-in objects' prototypes,
constructors and properties. This makes explicit the formula to calculate the
slot number for these special slots.
2011-04-28 07:18:11 -07:00
Paul Biggar
0a51a758dd Backed out changeset 2919a6aa1ab7 (bug 652449) - jstests in |make check| bounces again. 2011-04-28 07:46:33 -07:00
Paul Biggar
5f49148d38 Bug 652449 - Turn on jstests in |make check| on linux only (r=jimb) 2011-04-28 06:45:18 -07:00
Paul Biggar
003f619b7f Bug 642772: Don't recreate a class during enumeration, if it has been deleted (r=bhackett)
In SM, classes are lazily resolved. If we detect that a class about to be used
has not yet been resolved, then we resolve it. However, the way that we decided
that they were resolved was broken. If the global object had a String property,
then it had been resolved. So what happened when we deleted the String
property? Well, it got resolved again.

Instead of using the String property of the global object, we now use the
contructor slot on the global object. This works fine for String, but some
classes don't have a constructor, like Math and JSON. For those classes, we set
the constructor slot to True. In either case, we can now tell that a class is
resolved if the constructor slot in not Undefined.
2011-04-27 04:13:56 -07:00
Matthew Draper
fd6f614374 Bug 564577 - __noSuchMethod__ no longer invoked for defined non-function properties (r=igor) 2011-04-22 04:38:24 +09:30
Igor Bukanov
679fd56357 bug 605029 - ArenaHeader versus Arena<FreeCell> and other cleanups. r=wmccloskey 2011-04-20 07:30:10 +02:00
Chris Jones
d737e982f8 Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke 2011-04-28 17:48:52 -05:00
Chris Jones
91abf226cc Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke 2011-04-28 17:48:51 -05:00
Chris Jones
17bacd3dcf Bug 642381, part 1: Remove js::Conditionally. r=luke 2011-04-28 17:48:51 -05:00
Jeff Walden
0b02084100 Bug 652215 - Add a js::StringObject subtype of JSObject. r=njn
--HG--
extra : rebase_source : 7cdfe72d0932b51408b9ec5dc38219605e1925ce
2011-04-20 16:33:05 -04:00
timeless@mozdev.org
42dc21cbe6 Bug 619777 obj_toSource guard of IS_SHARP instead of !ida confuses coverity
r=jorendorff
2011-05-03 12:31:20 -04:00
Mook
52818b7b2b bug 651663 - mark TestXPC global class as JSCLASS_GLOBAL_FLAGS (r=jorendorff) 2011-04-20 15:19:43 -07:00
Ms2ger
31e3e8c5d1 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Chris Jones
31aa2c4e77 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Justin Lebar
823150964d Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. a=philor CLOSED TREE 2011-04-28 15:49:16 +02:00
Olli Pettay
d0724bd5cc Bug 652814 - Rename nsIDOMTouchPoint to nsIDOMTouch (and a *aRetVal = nsnull for bug 648573 comment 19), r=mbrubeck 2011-04-27 14:58:25 +03:00
Jeff Walden
6651742a72 Bug 647385 - Implement a ToInteger helper that corresponds to the spec method (rather than inlining its contents everywhere it can be trivially used). Also fixes a couple bugs in one place that should have used ToInteger but didn't. r=cdleary 2011-04-02 11:33:20 -07:00
Landry Breuil
d3d5f4c3e2 Bug 654929. Fix fallout from 633653, failure on sparc64. Add some #ifdef JS_METHODJIT/JS_TRACER. r=nnethercode
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1484: error: expected type-specifier before 'MemoryReporter_XPConnectJSMjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1484: error: expected `)' before 'MemoryReporter_XPConnectJSMjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1484: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1485: error: expected type-specifier before 'MemoryReporter_XPConnectJSMjitData'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1485: error: expected `)' before 'MemoryReporter_XPConnectJSMjitData'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1485: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1486: error: expected type-specifier before 'MemoryReporter_XPConnectJSTjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1486: error: expected `)' before 'MemoryReporter_XPConnectJSTjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1486: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1487: error: expected type-specifier before 'MemoryReporter_XPConnectJSTjitDataAllocatorsMain'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1487: error: expected `)' before 'MemoryReporter_XPConnectJSTjitDataAllocatorsMain'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1487: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1488: error: expected type-specifier before 'MemoryReporter_XPConnectJSTjitDataAllocatorsReserve'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1488: error: expected `)' before 'MemoryReporter_XPConnectJSTjitDataAllocatorsReserve'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1488: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
2011-05-05 17:13:59 -04:00
Jeff Walden
ce5faedbeb Bug 643537 - Properly interpret String and Number objects provided as the space argument to JSON.stringify(value, replacer, space). r=pbiggar
--HG--
extra : rebase_source : 0d7e32f5ce57be2a1e341db7888df41033bbd2be
2011-03-18 18:20:15 -07:00
Jeff Walden
7cc4748be3 Bug 648471 - If JSON.stringify's replacer is an array, only get the list of property names to use from it once (i.e. invoke getters on the array only once), and get them in order from 0 to the array's initial length. Also use non-enumerable array index properties in addition to enumerable array index properties. r=pbiggar
--HG--
extra : rebase_source : 874e2502e5b5223feb19b457debc8cc8dc51e6cb
2011-04-11 01:46:12 -07:00
Rob Arnold
814eff2e44 Bug 651510 - "Signature for JS_StructuredClone differs in jsapi.h and jsapi.cpp" [r=jorendorff] 2011-04-20 08:28:00 -07:00
Paul Biggar
e6723e251b Merge backout of bug 651864. 2011-04-28 09:02:57 -07:00
Paul Biggar
6eb04a6eac Backed out changeset 00313f95d106 (bug 651864). 2011-04-28 09:02:13 -07:00
Jeff Walden
4b6928b810 Bug 512266 - JSON.stringify for various special characters should produce the corresponding one-character escapes. r=pbiggar
--HG--
extra : rebase_source : a76fb038143bd053ee9e30ae29e99d3c2e91c528
2011-03-18 17:57:18 -07:00
Jeff Walden
2ff8950407 Bug 635389 - Check for overrecursion in functions that might need it. r=jorendorff
--HG--
extra : rebase_source : 72d6f2c915a4aa19e9820ea4f66039f75421c32d
2011-04-18 16:50:46 -04:00
Jeff Walden
63ee7fd726 Bug 650574 - No recursion checks converting a cyclic object to source, if the object's toSource hooks are built-in functions. r=luke
--HG--
extra : rebase_source : 1d94c30c3a7335b1124e19020b8244a1de32aab3
2011-04-26 16:05:58 -04:00
Luke Wagner
e059c006c3 Fix linker error. I fixed this in the patch I pushed to try but seem to have lost it in the meantime (r=burning-windows) 2011-04-26 14:34:09 -07:00
Luke Wagner
841c5efc70 Fix --disable-methodjit bustage (r=red) 2011-04-26 13:39:59 -07:00
Luke Wagner
5c163adc54 Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack* 2011-04-13 09:27:37 -07:00
Chris Leary
c8a6428cec Merge mozilla-central and tracemonkey. 2011-04-26 10:42:36 -07:00
Tom Schuster
768c786f0e Fix style nit request in Bug 651973 r=jorendorff via irc 2011-04-26 16:23:01 +02:00
Olli Pettay
2cc83ff3e6 Bug 648573 - Implement touch event interfaces, r=jst, pref'ed off by default 2011-04-26 15:30:17 +03:00
Jan de Mooij
e914ee7c0e Bug 646938 - Fix NaN-check in jsop_stricteq. r=dvander 2011-04-26 10:29:00 +02:00
Ryan VanderMuelen
7a7383ffea Bug 646312: Enable methodjit by default for chrome JavaScript, r=dmandelin 2011-04-25 18:17:32 -07:00
Tom Schuster
eccb67e307 Bug 202019 - Objects with [[Call]] arent automatically constructbale r=jorendorff 2011-04-26 00:28:30 +02:00