Commit Graph

20314 Commits

Author SHA1 Message Date
Luke Wagner
8a6ab7e900 Bug 775323 - remove PN_NAMESET and dead uses (r=ejpbruel)
--HG--
extra : rebase_source : d35867ed8ebbfda0a2a55c2d4c7f87979a727628
2012-07-30 15:01:49 -07:00
Luke Wagner
e1d7b1055b Bug 775323 - build Bindings after, not during, parsing (r=ejpbruel)
--HG--
extra : rebase_source : f78cf919d2e205b688260f462ea109f2816b5ace
2012-07-30 11:38:53 -07:00
Luke Wagner
cb24190c04 Bug 775323 - move bindings construction (r=jorendorff)
--HG--
extra : rebase_source : 05e12cd2e2f7bd472bc1b5abdf1ebe51411e1975
2012-07-30 18:37:55 -07:00
Bill McCloskey
3970ae5992 Bug 765065 - Annotation for crash reports: "Are we GCing?" (r=bsmedberg) 2012-08-15 10:47:51 -07:00
Bill McCloskey
9f0f06d5c5 Bug 782782 - Move js::MaybeVerifyBarriers on Windows (r=bhackett) 2012-08-15 10:43:49 -07:00
Bill McCloskey
daf683cb6a Bug 774859 - JM: Missing write barrier on JSOP_INITPROP (r=bhackett) 2012-08-15 10:39:59 -07:00
Bill McCloskey
e7b52ac85e Bug 774859 - JM: Missing write barrier on JSOP_INITPROP (r=terrence) 2012-08-15 10:39:54 -07:00
Bill McCloskey
fbfcb9c73b Bug 781390 - Make barrier verifier testing work better with the methodjit (r=bhackett) 2012-08-15 10:39:48 -07:00
Bill McCloskey
ba92c54858 Bug 781393 - JS VM stack values shouldn't always be clobbered during marking (r=bhackett) 2012-08-15 10:33:12 -07:00
Dave Townsend
2e2b4aca5e Backing out bug 761620 due to Add-on SDK test failures. 2012-08-15 10:31:21 -07:00
Nathan Froyd
f5f2c4fac9 Bug 782405 - delete UNIX_ASYNC_DNS; r=glandium
--HG--
extra : rebase_source : 845961ee905a008d350271d352125cf8cbe4536d
2012-08-13 16:47:02 -04:00
Aryeh Gregor
3304e571cb Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan 2012-08-07 17:54:44 +03:00
Jon Coppeard
d7afbafc7e Bug 782598 - part 2: tidy get_max_wait() r=terrence 2012-08-15 12:02:09 +01:00
Jon Coppeard
22e2e9b15a Bug 782598 - part 1: fix total_seconds() r=terrence 2012-08-15 12:01:59 +01:00
Nicolas B. Pierron
e9cdb7efac Bug 777537 - Ensure validity of CompilerOutput without a dangling pointer. r=bhackett 2012-08-14 18:39:16 -07:00
Nomis101
2572273dfb Bug 782155 - Set MACOSX_DEPLOYMENT_TARGET to 10.6 for all architectures and clean up powerpc-apple code. r=ted 2012-08-12 22:50:48 +02:00
Bobby Holley
97613fe054 Bug 777628 - Do a Checked Unwrap in JS_WriteTypedArray. r=jorendorff 2012-08-14 08:31:02 -07:00
Mark Capella
9aedb93f44 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Andrew McCreight
b5f18e04c7 Bug 775424 - Make JSCompartmentParticipant vtable rodata. r=glandium 2012-08-14 06:35:48 -07:00
Jon Coppeard
8183ca29b5 Bug 782318 - GC: Simplify compartment GC state r=billm 2012-08-14 11:10:50 +01:00
Jon Coppeard
6a743ce3e0 Bug 782315 - GC: Cut out unnecessary work when not collecting atoms r=billm 2012-08-14 11:10:45 +01:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Brian Hackett
34ffa9ce1f Preserve types when swapping objects, bug 774953. r=dvander 2012-08-13 23:25:16 -06:00
Nicholas Nethercote
47f5febce8 Bug 782487 - Remove traces of JSStaticAtom. r=billm.
--HG--
extra : rebase_source : 89e892e3e6ca04f0c19747f189535b3e3ae95d77
2012-08-13 20:02:51 -07:00
Alexander Boldyrev
f61c980db5 Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Brian Hackett
f8747b4770 Don't generate missing property ICs for non-native objects, bug 782146. r=luke 2012-08-13 18:51:52 -06:00
Nicholas Nethercote
85c416d526 Bug 781722 - Loosen over-tight assertion in JS_GetGlobalForScopeChain.
--HG--
extra : rebase_source : eb94fcced7bc3584de4c43ca511d3d7c0ed3dc20
2012-08-12 16:40:58 -07:00
Nicholas Nethercote
5fcfffad72 No bug - Fix some JSString comments. r=luke, DONTBUILD because comment-only changes. 2012-08-13 16:35:45 -07:00
Nick Fitzgerald
38ba7ed72f Bug 774471: Store source map URLs in the ScriptSource, not on each JSScript. r=jimb 2012-08-13 12:39:57 -07:00
Bill McCloskey
c08859c880 Bug 781945 - Improve GC telemetry (r=mccr8) 2012-08-13 10:30:44 -07:00
Makoto Kato
49b5608966 Bug 781479 - Remove unused Tru64 and QNX rules. r=khuey 2012-08-13 15:41:04 +09:00
Phil Ringnalda
196411227c Back out d093de44e850 (bug 774953) for test_postMessage_chrome.html timeouts 2012-08-12 20:54:31 -07:00
Brian Hackett
f6fbebb5fe Preserve types when swapping objects, bug 774953. r=dvander 2012-08-12 19:55:58 -06:00
Brian Hackett
d3489bd8a1 Add various autorooting, bug 772303. r=terrence 2012-08-12 19:50:49 -06:00
Ryan VanderMeulen
212cdce23a Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
acbe3bbdd7 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Honza Bambas
5fe7a22e2c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Alex Crichton
ddae602f29 Bug 778979 - Part 4: Provide an ip => pc translation mechanism for currently running JIT code. r=bhackett 2012-08-10 16:43:20 -07:00
Alex Crichton
d4a2443740 Bug 778979 - Part 3: Track the line number in the JS engine for SPS profiling. r=bhackett 2012-08-10 16:42:55 -07:00
Alex Crichton
59d5ea8043 Bug 778979 - Part 2: Change SPS's StackEntry to inherit from js::ProfileEntry and add a line number. r=ehsan 2012-08-10 16:42:54 -07:00
Alex Crichton
cfb686fe8c Bug 778979 - Part 1: Change the meaning of enableSPSProfilingAssertions and actually turn on the assertions. r=bhackett 2012-08-10 16:42:54 -07:00
Kyle Huey
018dc47367 Bug 781700: Don't hold strong references to databases from the synchronization queue, so that GCing a database will unblock waiting operations. r=bent
--HG--
extra : rebase_source : 2f1b2405ffc91831d33eb91e4b2d61c2b1ac872b
2012-08-10 09:15:02 -07:00
Bobby Holley
59af831fce Bug 778085 - Tests. r=ejpbruel
--HG--
extra : rebase_source : a63199371f5f5e5bc9271d68224a8dc39aa08754
2012-08-10 13:55:56 +02:00
Bobby Holley
67635de223 Bug 778085 - Add a wrapWithProto function to the shell. r=ejpbruel
This allows us to test this stuff in script.

--HG--
extra : rebase_source : 4eac660e2619594f5c5e2f55f4c5506a2f13c037
2012-08-10 13:55:56 +02:00
Bobby Holley
a32f3ac744 Bug 778085 - Add simple withPrototype versions of DirectWrapper and CrossCompartmentWrapper. r=ejpbruel
These are helpful for testing, and will also be useful in XPConnect. Note that the Wrapper
and Proxy hierarchy will soon be merged.

--HG--
extra : rebase_source : c9c846871a0bba4c9574eb5274dfe22f24d183b0
2012-08-10 13:55:55 +02:00
Bobby Holley
fbae60f18e Bug 778085 - Add prototype suppport in Proxy::foo implementations. r=ejpbruel
--HG--
extra : rebase_source : edea12c8d6cdd879439a9de24faa3d7abb19bfc3
2012-08-10 13:55:55 +02:00
Bobby Holley
2283cc9d58 Bug 778085 - Add AutoVectorRooter.append(AutoVectorRooter). r=luke
--HG--
extra : rebase_source : 4dbc18944c31e82d7950f6ac2624fb614a4fdc03
2012-08-10 13:55:55 +02:00
Bobby Holley
4a8772489a Bug 778085 - Add optional getPrototypeOf trap. r=ejpbruel
--HG--
extra : rebase_source : 58c46c0df9082c8534d16d64144750e4c9ed7587
2012-08-10 13:55:55 +02:00
Bobby Holley
d11fd78cfa Bug 778085 - Use the Handle API in a few more places in Proxy. r=efaust
--HG--
extra : rebase_source : 28c969ca61def36a14df6ee06681b17a44e2f993
2012-08-10 13:55:55 +02:00
Bobby Holley
480c7597d4 Bug 776328 - Only create holders for WNs. r=mrbkap 2012-08-10 10:19:51 +02:00
Benjamin Peterson
5d6954b461 Bug 781009 - Make CompileOptions constructor explicit. r=jimb 2012-08-09 18:21:22 -07:00
Benjamin Peterson
71aa71451c Bug 781403 - Remove weird, old performance tests. r=dmandelin 2012-08-09 18:21:20 -07:00
Luke Wagner
074c7ae3d5 Bug 780288 - Fix bugs in js shell Help native (r=billm)
--HG--
extra : rebase_source : 7f9acb83ff14186933b3eaa19e7b577d1d510bc7
2012-08-09 16:09:46 -07:00
Pavel Zaichenkov
6c29c7601d Bug 745251 - Implement --jitflags argument for jstests.py. r=terrence 2012-08-05 17:12:08 +04:00
Bill McCloskey
ad8e66106f Bug 770713 - Fix PC adjustment in JSOP_RETSUB (r=bhackett) 2012-08-09 11:38:47 -07:00
Bill McCloskey
7812a91912 Bug 777693 - Initialize values before rooting in JSD (r=terrence) 2012-08-09 11:38:36 -07:00
Bill McCloskey
1fcec65ddc Bug 780027 - Initialize AutoIdVector before use (r=terrence) 2012-08-09 11:38:30 -07:00
Terrence Cole
5b6894c087 Bug 781445 - Remove a python 2.7 only function from tasks_unix.py; r=benjamin 2012-08-09 10:52:40 -07:00
Terrence Cole
599fb28214 Bug 780309 - Move atom methods into js namespace; r=luke
This is a simple cleanup of jsatom.h.

--HG--
rename : layout/reftests/svg/pattern-scale-01c.svg => layout/reftests/svg/pattern-scale-01a.svg
extra : rebase_source : 8f656ab55c593a76ce91222c4306a4206708a77f
2012-08-08 14:02:30 -07:00
Nicolas B. Pierron
5ba80ee7bc Bug 780274 - Remove & Invalidate pending compilation when sweeping. r=bhackett 2012-08-09 20:22:43 +02:00
Bill McCloskey
3b03fac69d Bug 780653 - Make CellIter work during incremental sweeping (r=jonco) 2012-08-09 11:16:33 -07:00
Nicholas Nethercote
015b5205c6 Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/ (attempt 2). r=luke.
--HG--
rename : js/src/jshash.cpp => js/jsd/jshash.cpp
rename : js/src/jshash.h => js/jsd/jshash.h
2012-07-18 17:38:10 -07:00
Boris Zbarsky
17c8fd47c8 Bug 780542. Make construction via a function proxy with an object in the constructor slot actually construct instead of just calling. r=ejpbruel 2012-08-08 23:47:04 -04:00
Luke Wagner
8ecfc57aee Bug 778919 - remove CheckStrictParameters (r=ejpbruel)
--HG--
extra : rebase_source : 7c7f74083de788ab19a5af9dfa60f60e281ac702
2012-07-30 14:21:58 -07:00
Luke Wagner
46c5340c6c Bug 778919 - CheckStrictBinding for formals like all other bindings (r=ejpbruel)
--HG--
extra : rebase_source : 4572c02598a02832f0e847b46445532eb281c615
2012-07-30 13:41:19 -07:00
Luke Wagner
01397afd24 Bug 778919 - move DefineArg and BindDestructuringArg to be next to functionArguments (r=ejpbruel)
--HG--
extra : rebase_source : c0748f27a1e0193b6081d261d99dc44688a47ea4
2012-07-30 13:40:29 -07:00
Luke Wagner
1fdfa99449 Bug 772328 - simplify ParseNode::resolve (r=ejpbruel)
--HG--
extra : rebase_source : 0e5e432233f01a46f398d0356f45032495c036fd
2012-08-07 16:06:59 -07:00
Luke Wagner
85f176f529 Bug 772328 - function statements should restate, not shadow, formal parameters (r=ejpbruel)
--HG--
extra : rebase_source : a6425a0e317ffd1437f0f6230d03f3487edc8389
2012-07-24 13:44:23 -07:00
Luke Wagner
b184bdbc4b Bug 772328 - add and use IsArgOp and IsLocalOp (r=ejpbruel)
--HG--
extra : rebase_source : ce6464d39bd7f8e273d6ec7df1f4a447a22f98b1
2012-07-26 16:08:33 -07:00
Luke Wagner
caad9f3eec Bug 772328 - simplify MakeDefIntoUse (r=ejpbruel)
--HG--
extra : rebase_source : 127c266fac60b34820ff0373fd26ceb9306b0853
2012-07-26 16:08:31 -07:00
Benjamin Peterson
84abd878e1 Bug 781289 - Remove unecessary check that let variable name matches are atoms. r=luke 2012-08-08 11:52:09 -07:00
Benjamin Peterson
036ce0609d Bug 781071 - Account for the enclosing scope being NULL. r=luke 2012-08-08 11:52:07 -07:00
Brian Hackett
aeb392190e Fix typo, bug 769911. r=luke 2012-08-08 12:42:47 -06:00
Andrew McCreight
b81fd9484b Bug 761620 - Throw an exception for unpreservable weak map keys. r=billm 2012-08-08 11:05:58 -07:00
Terrence Cole
084a82b110 Bug 780765 - Do not create DependentStrings that can be InlineStrings; r=luke
These would create a nasty hazard for a moving GC and it makes little sense to
make them dependent anyway because there is enough room already to store the
depended string inline.
2012-08-07 10:51:45 -07:00
Gabor Krizsanits
f51ee4f7f0 Bug 777705 - Default policy for expanded principals. r=mrbkap 2012-08-20 11:22:34 -07:00
David Zbarsky
fcc85613d8 Bug 783840 - Fix build warnings in js r=luke 2012-08-20 12:32:56 -04:00
Luke Wagner
938c210139 Bug 783540 - add missing STRINGVECTOR case in AutoGCRooter::trace (r=bhackett) 2012-08-17 11:21:57 -07:00
Rafael Ávila de Espíndola
5ba3a19a46 Bug 783505 - OS X gcc builds failing. r=jorendorff.
This patch adds a workaround for
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39608
2012-08-20 10:28:08 -04:00
Mike Hommey
53fddf08b8 Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-08 09:33:16 +02:00
Eric Faust
406b4d8608 Bug 781040 - Fault in methods and accessors with JSJitinfos on ResolveProperty. (r=bz,benjamin) 2012-08-07 22:26:19 -07:00
Eric Faust
a2139a92ca Bug 773546 - Part 1: Punch an API hole to retrieve stored JSJitInfos. (r=luke) 2012-08-07 22:26:19 -07:00
Eric Faust
d4a732fc86 Bug 775788 - Modify JSFunctionSpec to accept JSJitInfos. (r=luke) 2012-08-07 22:26:19 -07:00
Boris Zbarsky
42210976c4 Bug 747287 - Part 3: Add callback interface to allow JIT to interrogate DOM. (r=peterv) 2012-08-07 22:26:18 -07:00
Eric Faust
b5fcc44a40 Bug 747287 - Part 1: Generate JSJitInfos and specialized accessors for Paris bindings. (r=peterv) 2012-08-07 22:26:18 -07:00
Eric Faust
028d3cc41a Bug 766448 - Refactor JSPropertySpec and JS_DefineProperties to accept JSJitInfos. (r=Waldo) 2012-08-07 22:26:18 -07:00
Jan Beich
9d6fc2f877 Bug 780432 - Add experimental --enable-pulseaudio configure option. r=kinetik,khuey
--HG--
extra : rebase_source : 9bf00787997d4ed465427e6570c5d937c1cb9ff4
2012-08-08 10:26:04 +12:00
Daniel Holbert
066dcce9bf Bug 780965: Use C-style instead of C++-style comments in JS headers included by .c files. r=jorendorff 2012-08-07 14:32:24 -07:00
Benjamin Peterson
cb1e061ba7 Bug 780405 - Set the funbox kids in LeaveFunction, so generator expression boxes don't lose them. r=jorendorff 2012-08-07 13:41:31 -07:00
Siddharth Agarwal
d291fe7619 Bug 585011 - Invoke cl.py as a pymake native command. r=ted
--HG--
extra : rebase_source : c8e2bfe4e17c39c27e33cfade0e3a6984d104c2f
2012-08-08 00:49:55 +05:30
Joey Armstrong
b4a4697e64 bug 771287: xpidl unit test failure 2012-08-07 14:42:30 -04:00
Rafael Ávila de Espíndola
7c9e40e279 Bug 779288 - Set CCACHE_CPP2 on linux too. r=khuey.
move the definition out of a OS X only block.
2012-08-07 14:25:26 -04:00
Marshall Culpepper
8934430ca5 Bug 780739: Add -Wno-psabi to suppress B2G va_list mangling warnings. r=ted
--HG--
extra : rebase_source : 478202943d2a754f4d76f78cf7ddb2f60c2feb75
2012-08-07 12:26:44 -05:00
Luke Wagner
2cf4126753 Bug 780712 - CrossCompartmentWrapper needs to handle regexp_toShared (r=billm)
--HG--
extra : rebase_source : 5b96cf124a0227c8a147a2c1b2306358473a8bf0
2012-08-07 09:50:52 -07:00
Benjamin Peterson
82fd98ee23 Bug 779724 - Use finer-grain source controls in the browser. r=jorendorff, sr=jst 2012-08-07 10:39:47 -07:00
Benjamin Peterson
6d5b521a81 Bug 779724 - Replace JSOPTION_ONLY_CNG_SOURCE with an enum on CompileOptions. r=jorendorff 2012-08-07 10:39:45 -07:00
Simon Montagu
8d3cfa9819 Use printf instead of sed to prevent lots of blank lines in console output from make -s. Bug 756382, r=ted 2012-08-07 01:42:45 -07:00
Mike Hommey
361e1b40cc Bug 777892 - Link CPP_UNIT_TESTS against zlib when linking js statically. r=khuey 2012-08-07 09:30:01 +02:00
Mike Hommey
235c1a37ea Bug 773202 - Generic install/copy rule. r=ted 2012-08-07 09:29:59 +02:00
Mike Hommey
b45bdfecf0 Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Mike Hommey
f4dc6413fb Bug 742795 - Autogenerate autoconf.mk. r=ted 2012-08-06 15:19:50 +02:00
Brian Hackett
886d2d2455 Generate ICs which see through ListBase proxies, bug 769911. r=peterv,dvander 2012-08-06 14:51:33 -06:00
Ed Morley
9732acffaf Backout 684958bd600b (bug 769911) for failures in test_bug435425.html on a CLOSED TREE 2012-08-06 23:39:36 +01:00
Jan Beich
e0bec36e8d Bug 779704 - Cleanup FreeBSD linker cruft from configure script. r=khuey 2012-08-06 19:44:36 +02:00
Siddharth Agarwal
405456d907 Bug 780222 - Remove redundant check-sync-dirs call in js/src/Makefile.in. r=ted
--HG--
extra : rebase_source : 05faaef0dfb039ff5405fb756bcbd3267f476a3f
2012-08-07 02:38:38 +05:30
Brian Hackett
ac8acc0b03 Generate ICs which see through ListBase proxies, bug 769911. r=peterv,dvander 2012-08-06 14:51:33 -06:00
Andrew McCreight
73d06279da Bug 763773 - replace WrapperIsNotMainThreadOnly() with false. r=billm 2012-08-06 13:42:30 -07:00
Jim Mathies
418325cf8d Bug 780511 - Pipe additional debug output to the Windows debugger, r=neil. 2012-08-06 15:41:40 -05:00
Sergey Glushchenko
cc3eef8d15 Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Benjamin Peterson
4086136815 Bug 779975 - Refcount ScriptSource. r=jorendorff 2012-08-06 13:25:58 -07:00
Mike Hommey
c8519cc92a Backout rules.mk part of changeset 1f4eae8d9e08 (bug 777379) for bustage on CLOSED TREE 2012-08-06 20:20:26 +02:00
Terrence Cole
f373517c88 Bug 772303 - Add missing roots for analysis builds; r=bhackett
--HG--
extra : rebase_source : 2a644e24073fa5c7a655e3322c5379009b2f7181
2012-08-03 09:41:00 -07:00
Siddharth Agarwal
ec4ff6da12 Bug 780508 - Avoid a bunch of process spawns with Pymake by removing a redundant shell script and switching an echo to a $(info). r=khuey 2012-08-06 21:44:13 +05:30
Ed Morley
812b4b9d53 Backout 7f8928077ed4 (bug 742795) for make-package & find filepath failures 2012-08-06 16:05:07 +01:00
Luke Wagner
a0a0f78e12 Bug 780332 - rm getTypedArray (r=billm)
--HG--
extra : rebase_source : 411eb49e7283b62feb62da8a728309433b882c0e
2012-08-06 07:45:54 -07:00
Mike Hommey
a195685a40 Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-06 15:21:10 +02:00
Mike Hommey
88140c2b7a Bug 742795 - Autogenerate autoconf.mk. r=ted 2012-08-06 15:19:50 +02:00
Aryeh Gregor
5662d18449 Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Ed Morley
0e5c11c0bc Merge mozilla-central to mozilla-inbound 2012-08-06 09:11:23 +01:00
Kyle Huey
86af334c3a Bug 780414: Followup to fix my build. Sort-of-but-not-really-r=Callek 2012-08-05 21:07:19 -07:00
Mike Hommey
ec16006826 Fixup for bug 780357: Resync js/src/build/autoconf 2012-08-05 17:58:57 +02:00
Mike Hommey
5f73525d32 Bug 780414 - Fix ConfigStatus.py for the case where top_srcdir is a path relative to topobjdir. r=khuey 2012-08-05 17:48:22 +02:00
Masatoshi Kimura
7b91486db5 Bug 780446 - touch Makefile after invoking config.status. r=glandium 2012-08-05 12:43:00 +02:00
Masatoshi Kimura
3893673ec4 Bug 780430 - Declare encoding in config.status. r=glandium 2012-08-05 12:42:59 +02:00
Siddharth Agarwal
f5ea284189 Bug 780421 - Use $(PYTHON) to run config.status. r=glandium 2012-08-05 12:42:57 +02:00
Makoto Kato
a18bf0b4ed Bug 780072 - default value of android api version should be 9 on x86 or mipsel. r=glandium 2012-08-06 12:06:30 +09:00
Ms2ger
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
95d866c21d Bug 773933 - Remove libs rules from browser/components/sessionstore/src/Makefile.in; r=ted 2012-08-04 09:43:58 +02:00
Ms2ger
66cdada8f8 Bug 352437 - Part c: Escape quotes in tagify; r=jorendorff 2012-08-04 09:29:35 +02:00
Ms2ger
0916f70a27 Bug 352437 - Part a: Use a StringBuffer in tagify; r=jorendorff 2012-08-04 09:29:26 +02:00
Ms2ger
cec5e3f75e Bug 780111 - Share code with new DOM bindings for primitive conversions in XPCConvert::JSData2Native; r=bholley 2012-08-04 09:29:18 +02:00
Ms2ger
1ac89f2246 Bug 780108 - Get rid of the double switch in XPCConvert::JSData2Native; r=bholley 2012-08-04 09:28:45 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Andrew McCreight
ca2aea26c5 Bug 752764 - Nuke wrapped reflector during transplant. r=bholley 2012-08-04 08:15:04 -07:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Andrew McCreight
4aeaf40fed Bug 752764 - Nuke wrapped reflector during transplant. r=bholley 2012-08-04 08:15:04 -07:00
Ms2ger
e6463200a3 Merge m-c to m-i. 2012-08-04 13:02:15 +02:00
Mike Hommey
be451c22dc Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Ms2ger
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
bee14f4afa Bug 773933 - Remove libs rules from browser/components/sessionstore/src/Makefile.in; r=ted 2012-08-04 09:43:58 +02:00
Ms2ger
cfaea041c2 Bug 352437 - Part c: Escape quotes in tagify; r=jorendorff 2012-08-04 09:29:35 +02:00
Ms2ger
bda29a8664 Bug 352437 - Part a: Use a StringBuffer in tagify; r=jorendorff 2012-08-04 09:29:26 +02:00
Ms2ger
3c30d568f9 Bug 780111 - Share code with new DOM bindings for primitive conversions in XPCConvert::JSData2Native; r=bholley 2012-08-04 09:29:18 +02:00
Ms2ger
16aadc8dec Bug 780108 - Get rid of the double switch in XPCConvert::JSData2Native; r=bholley 2012-08-04 09:28:45 +02:00
Mike Hommey
875b3349b1 Bug 780159 - Remove obsolete REGCHROME. r=ted 2012-08-04 08:55:00 +02:00
Mike Hommey
e04333c977 Bug 778740 - Allow to use Linux kernel headers for perf events. r=khuey 2012-08-04 08:55:00 +02:00
Mike Hommey
e79d87471e Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Mike Hommey
69991fde10 Bug 774032 part 7 - Remove make-makefile and acoutput-fast.pl. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
6de82c7f66 Bug 774032 part 6 - Replace autoconf handling of config files and headers with our own. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
796fe72f8b Bug 774032 part 4 - Add check-sync-dirs exception for *.pyc under build/. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
54316c2b4b Bug 774032 part 3 - Remove variables with no AC_SUBST in autoconf.mk.in. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
6496bd2502 Bug 774032 part 2 - Allow to disable markers in Preprocessor.py. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
1d0b8ae35c Bug 774032 part 1 - Avoid Preprocessor.py replacing undefined variables with the attemptSubstitution filter. r=ted 2012-08-04 08:47:28 +02:00
Benjamin Peterson
1c1e824772 Bug 780051 - Remove JS_MAX and JS_MIN. r=luke 2012-08-02 20:50:51 -07:00
Bill McCloskey
0389077d18 Bug 743112 - Incremental deferred release (r=smaug,jonco) 2012-08-02 15:35:59 -07:00
Eric Faust
b1b08f985c Bug 742188 - Implement ToInt64 and ToUint64 per the WebIDL standard. (r=jorendorff) 2012-08-03 15:15:04 -07:00
Siddharth Agarwal
10fafbd9d2 Bug 780241 - pythonpath.py should not be a native command. r=ted over IRC. 2012-08-04 00:39:54 +05:30
Benjamin Peterson
b27bc8486c Bug 772733 - Implement String.contains. r=sfink 2012-08-03 11:37:27 -07:00
Benjamin Peterson
9a1a7e2056 Bug 772733 - Implement String.startsWith/endsWith. r=luke 2012-08-03 11:34:27 -07:00
Benjamin Peterson
1e7dc5f699 Bug 778531 - Update Array.prototype.join/toLocaleString to follow ES5. r=jorendorff 2012-08-03 10:27:57 -07:00
Terrence Cole
fa5fd8feaa Bug 778383 - Make jstests.py use an options list to pass around extra args; r=dmandelin
--HG--
extra : rebase_source : f376f4b1496ce576097af7cf8b55ee3188be45fb
2012-07-27 18:40:39 -07:00
Benjamin Peterson
9804fccc13 Bug 779865 - Make CompileOptions public. r=jimb 2012-08-02 14:07:31 -07:00
Benjamin Peterson
54436bcdd9 Bug 779694 - Handle zlib errors correctly. r=jorendorff 2012-08-02 13:31:45 -07:00
Doug Turner
045acc0826 Bug 779864 - onchange notifications of DeviceStorage should use code generator. r=smaug 2012-08-02 13:25:16 -07:00
Jason Orendorff
ced22e66f4 Bug 769504 - Atomize strings when using them as hash keys in a Map or Set. r=luke. 2012-07-04 10:24:20 -05:00
Jason Orendorff
9775d6fd16 Bug 779601 - Minor cleanup for JS_ValueToECMAInt32 and friends. r=bhackett. 2012-08-02 14:59:30 -05:00
Bill McCloskey
27ce7d4ffb Backout bug 779183 for Talos crashes 2012-08-02 11:42:12 -07:00
Wes Johnston
7fe524d43a Bug 777706 - Backout new dom bindings for touchlists. r=smaug 2012-08-02 10:41:42 -07:00
Terrence Cole
19a18cad75 Bug 777589 - Fix regress-50447-1.js, don't work around it in the harness; r=sfink 2012-07-27 18:16:11 -07:00
Benjamin Peterson
cc4d676247 Bug 767274: New expression decompiler. r=luke 2012-08-02 09:20:08 -07:00
Jon Coppeard
6c93983420 Bug 779183 - GC: Incremental sweeping of atoms table r=billm
* * *
Sweep atoms in a separate slice
* * *
Sweep atoms later in a separate slice
* * *
Code review followup

--HG--
extra : rebase_source : 774ad569a76425637483fcad093f04e30ad6912b
2012-08-02 16:04:14 +01:00
Jon Coppeard
fcb45339f1 Bug 779172 - GC: Incremental zeal modes interact badly with BudgetIncrementalGC r=billm
--HG--
extra : rebase_source : 520eeff0ecb498a8e04e974c8640d4c46bcb34a9
2012-08-02 10:54:30 +01:00
Doug Turner
e0b1269b07 Bug 763976 - Add onchange notifications to DeviceStorage. r=khuey 2012-08-01 23:29:34 -07:00
Ryan VanderMeulen
2a4ca6d035 Merge m-c to inbound. 2012-08-01 22:23:43 -04:00
Ryan VanderMeulen
a4643420b2 Merge the last PGO-green inbound changeset to m-c. 2012-08-01 22:18:33 -04:00
Eric Faust
6d4e293e26 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Ed Morley
d6d42179d1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-01 18:36:33 +01:00
Olli Pettay
4f6e139505 Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer 2012-08-01 19:17:19 +03:00
Olli Pettay
fb67655737 Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Shu-yu Guo
a7438ed98d Bug 771871 - Fix loading doubles into return regs in JM call IC when call/apply lowering speculation fails. r=bhackett 2012-08-01 17:25:34 -07:00
Siddharth Agarwal
fbe86c02fd Bug 779688 - jstests.py invocation should have a $(PYTHON) in front. r=terrence 2012-08-02 05:26:39 +05:30
Jason Orendorff
6ed067133f Bug 677032, r=jimb 2012-08-01 16:49:35 -07:00
Eric Faust
aa2ff706c8 Bug 749535 - Part 1: Implement JS_UnwrapObjectAs*Array(). (r=bhackett) 2012-07-31 20:31:55 -07:00
Eric Faust
921d44b1c5 Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
45485bc982 Bug 779015 - Make JS_Is*Array() not throw. (r=bhackett) 2012-07-31 20:08:32 -07:00
Eric Faust
ab97bdb717 Bug 749535 - Part 1: Implement JS_UnwrapObjectAs*Array(). (r=bhackett) 2012-07-31 20:05:19 -07:00
Benjamin Peterson
858bf2c4ad Bug 779017 - Give every JSScript a ScriptSource. r=jorendorff 2012-07-31 19:18:22 -07:00
Bill McCloskey
55a35d384b Bug 767209 - Consider changing GC slice time, or making it dynamic (r=terrence,smaug) 2012-07-31 18:39:39 -07:00
Bill McCloskey
2f97ce9b6a Bug 778993 - Separate runtime's gcMallocBytes from compartment's gcMallocBytes Bug 778993 - Separate runtime's gcMallocBytes from compartment's gcMallocBytes (r=gwagner) 2012-07-31 18:33:29 -07:00
Benjamin Peterson
13947ee0e9 Bug 779347 - Add AutoFile to automatically handle the closing of FILE *. r=jimb 2012-07-31 17:35:46 -07:00
Steve Fink
51a8c936bc Bug 777219 - Prepare SpiderMonkey for a fully rooted API; r=bhackett
--HG--
extra : rebase_source : a6a66d9e41932055e4529550d204d4098f32e37e
2012-07-23 13:37:31 -07:00
Benjamin Peterson
c9ff152177 Bug 779038 - Add an Evaluate variant which can read files. r=jimb 2012-07-31 15:25:41 -07:00
Till Schneidereit
dec43a91e0 Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 82852ba6bf800e4d87f64b178a963e71323af391
2012-07-10 00:11:39 +02:00
Jeff Muizelaar
7035d12956 Bug 779220. Add JS_InternStringN for callers that know the length of the string. r=luke
This mirrors the existing JS_InternUCStringN.
2012-07-31 12:26:14 -07:00
Luke Wagner
62d8c5a8e8 Bug 779215 - CallJS(Native|PropertyOp|PropertyOpSetter) should JS_CHECK_RECURSION, r=dmandelin 2012-07-31 11:58:33 -07:00
Jason Orendorff
981ff4d11d Follow-up fix for bug 778921. We want tests to pass even when we have an even number of them. rs=luke via IRC. 2012-07-31 13:51:34 -05:00
Jason Orendorff
2042b8e5b5 Bug 778921 - Fix "warning: invalid manifest line element "pref(javascript.options.xml.content,true)" running JS tests in the shell with jstests.py. r=luke. 2012-07-31 11:55:45 -05:00
Ed Morley
06d91d67a6 Backout f84910a8474a (bug 462300) for crashes in xpcshell 2012-07-31 19:16:54 +01:00
David Zbarsky
f4c8db4f6c Bug 779196 - Fix some initializing pointer as bool warnings r=luke 2012-07-31 10:28:23 -07:00
Till Schneidereit
49012e4643 Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 90e33d171ac0b79aebdf2f652909d72dd7ae2601
2012-07-10 00:11:39 +02:00
Ed Morley
f6b22287be Backout 1ff1bb2115c0 (bug 778383), d6fc07492b92 (bug 777589) for bustage 2012-07-31 17:44:07 +01:00
Benjamin Peterson
806493f2f2 Bug 777834 - Don't call into the tokenizer if it's in an error state. r=jorendorff 2012-07-31 09:26:55 -07:00
Benjamin Peterson
c33290aa5e Bug 777834 - Add a a tokenizer flag for error state. r=jorendorff 2012-07-31 09:26:48 -07:00
Luke Wagner
49d95dc2aa Bug 777630 - add missing prop ic (r=bhackett) 2012-07-30 11:36:23 -07:00
Terrence Cole
6393492d04 Bug 778383 - Make jstests.py use an options list to pass around extra args; r=dmandelin
--HG--
extra : rebase_source : c5512f19d32ac7760760417a857bd89df3b070d7
2012-07-27 18:40:39 -07:00
Terrence Cole
c97afd58f7 Bug 777589 - Fix regress-50447-1.js, don't work around it in the harness; r=sfink
--HG--
rename : layout/reftests/svg/viewBox-and-pattern-02.svg => layout/reftests/svg/viewBox-and-pattern-01.svg
extra : rebase_source : a437bbb952ad1a9cf3b3065bbe684a302ac10845
2012-07-27 18:16:11 -07:00
Aryeh Gregor
6edbec8406 Bug 778681 part 6 - Fix some misuses of bool as nsresult; r=bz 2012-07-27 16:51:50 +03:00
Mike Habicher
01f8e81e31 Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00
Andrew McCreight
8df7caa03e Bug 761422, part 4 - Don't try to be a hero in ReparentWrapperIfFound. r=bholley 2012-07-30 21:02:00 -07:00
Andrew McCreight
e9759cb6ad Bug 761422, part 3 - get security wrappers before changing maps. r=bholley 2012-07-30 21:01:59 -07:00
Andrew McCreight
40af3f379d Bug 761422, part 2 - guard against double reflectors on failure in ReparentWrapperIfFound. r=bholley 2012-07-30 21:01:59 -07:00
Andrew McCreight
0f7ac14a7b Bug 761422, part 1 - Clone before we adjust XPC maps in ReparentWrapperIfFound. r=bholley 2012-07-30 21:01:59 -07:00
David Mandelin
29c16f09c0 Bug 779393 - Fix compile error in jsiter.cpp involving --enable-more-deterministic, r=bhackett 2012-08-01 11:25:33 -07:00
Benjamin Peterson
dd8f23f209 Bug 779400: Split ScriptSource::setSource into setSource and setSourceCopy. r=jorendorff
--HG--
extra : rebase_source : 21b507a980aceb792a75e2711a934d4f9d51f37a
2012-08-01 09:56:39 -07:00
Benjamin Peterson
42c23aa724 Bug 779372 - Add missing USE_ZLIB. r=jorendorff
--HG--
extra : rebase_source : 806628d3e75b989548a5d06b13d43a37d326d977
2012-08-01 09:56:37 -07:00
Benjamin Peterson
619c4880fc Bug 777190 - Don't compress files with huge strings; reenable source compression. r=jorendorff 2012-07-30 19:23:46 -07:00
Benjamin Peterson
be5c38af46 Bug 778560 - Fix typo that prevented JS from ever using zlib. r=dmandelin 2012-07-30 19:23:44 -07:00
Ryan VanderMeulen
26da6164d3 Merge m-c to inbound. 2012-07-30 20:14:22 -04:00
Olli Pettay
c72a720f48 Bug 777401 - DictionaryHelpers.* build problems, r=khuey 2012-07-30 23:10:26 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brendan Eich
b9452aad00 Bug 778627 - Warning and related/nearby naming/style nit fixes (r=bpeterson). 2012-07-30 13:58:18 -07:00
Bobby Holley
2c48de6a45 Bug 778409 - Enter the compartment of unwrappedProto rather than obj in Rewrap. r=gabor
This can happen if chrome sets its proto to a content object from a different scope
than the one doing the wrapping. In this case, the prototype chain looks like this:

chromeobj => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)

When wrapping chromeobj for exampleorg_scope, things will look like this:

COW(chromeobj) => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)

Note that we don't remap the proto of CCW(examplecom_scope) to
exampleorg_scope.Object.prototype, because the proto remapping only happens when
the object we're wrapping is chrome. There's no reason it has to be this way, but
even if we changed it we still wouldn't get the nice remapped lookup behavior to
exampleorg_scope.Object.prototype, because the proxy handler for CCW(examplecom_obj)
isn't a ChromeObjectWrapper, and thus doesn't know how to to the prototype bouncing
correctly.

Anyway, I suspect this case isn't worth worrying about as long as we don't crash.
2012-07-30 22:18:55 +02:00
Jason Orendorff
806c6dc8a4 Disable two E4X tests that were failing only on platforms using e10s content processes after landing bug 765890. no_r=orange. 2012-07-30 14:52:02 -05:00
Ted Shroyer
4211119139 Bug 765890 - Alter mochitests/jsreftests to pass when javascript.options.xml.content defaults to false. r=jorendorff.
--HG--
extra : rebase_source : 12bd1c7b597c4834424876ac797cf7c118434d5e
2012-07-20 14:00:53 -05:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Landry Breuil
4df91067fc Bug 778414. Fix clang builds on OpenBSD/i386. r=glandium 2012-07-30 17:57:04 +02:00
Ehsan Akhgari
c80897316e Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Brian Hackett
4da0b7720d Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Aryeh Gregor
66d337960d Bug 777292 - Add default cases to switches on nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Rafael Ávila de Espíndola
b99afdfb17 Bug 778301 - Remove old change for llvm.org/pr11003.
--HG--
extra : rebase_source : 41006c35798d0722a43b6c37bc0216a6c6064aa9
2012-07-28 08:04:45 -04:00
Benjamin Peterson
3b7ecb0d35 Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence 2012-07-28 15:18:33 -07:00
Ed Morley
35f13f7e90 Backout a5b21cffeebf (bug 743112) for intermittent but severe leaks; a=whatafunwaytospendtheday on a CLOSED TREE 2012-07-28 18:46:27 +01:00
Benjamin Peterson
36d4b2c395 Bug 778268 - Allow definitions with no uses to be removed. r=luke 2012-07-27 21:56:46 -07:00
Benjamin Peterson
064f4d886e Backout 4cdd23569371 (Bug 777776) for more bustage 2012-07-27 19:35:01 -07:00
Terrence Cole
0377bfd95e Bug 744675 - Make jstest suite default parallelism match cpu count; r=sfink
--HG--
extra : rebase_source : 41dab7c1354f31c27cb019a622b8602e7fc521c5
2012-07-27 17:51:12 -07:00
Benjamin Peterson
cdd5257acd Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence 2012-07-27 17:51:49 -07:00
Bill McCloskey
d84ff9f0bd Bug 778370 - Track individual sweep phases in GC statistics (r=terrence) 2012-07-27 17:37:21 -07:00
David Mandelin
42385a0327 Bug 778347: fix some MSVC warnings, r=luke
--HG--
extra : rebase_source : 859cdd689d4aa794ab8c25d39fb9f9cd7817a92c
2012-07-27 16:32:37 -07:00
Eric Faust
b5fc0ac9c5 Bug 747288 - Reland renaming jitinfo to MJITinfo. (r=bhackett) 2012-07-27 16:20:48 -07:00
David Mandelin
2779a603ff Backout changeset 8bd9d81db80a which landed without a bug
--HG--
extra : rebase_source : 69b0afc5aab63afeea06919db9c2e635e7c6f1dc
2012-07-27 15:49:11 -07:00
Benjamin Peterson
2245f50fb8 Backout b69f5004fde8 (Bug 777776) for bustage 2012-07-27 15:22:13 -07:00
Benjamin Peterson
52f2036252 Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence 2012-07-27 14:42:56 -07:00
Steve Fink
82b0cf8278 Bug 777956 - With CPG, AutoCompartment no longer needs to store the target object. r=luke 2012-07-26 18:27:08 -07:00
Terrence Cole
c29bd1c107 Bug 777992 - Move array slowification barrier closer to update; r=billm
--HG--
extra : rebase_source : c7bb1cb451877282e6d8a1bc2b1e971cbbfad2a7
2012-07-27 12:32:16 -07:00
David Mandelin
41d9e9dd7a Bug 776704: allow shell to build without zlib, r=bpeterson 2012-07-25 16:47:16 -07:00
Bill McCloskey
4d57317ec8 Bug 743112 - Incremental release of C++ objects during GC (r=smaug,jonco) 2012-07-27 11:27:51 -07:00
Bobby Holley
6d3eb5ee8b Bug 760109 - Tests. rs=mrbkap 2012-07-27 12:15:46 +02:00
Bobby Holley
a7c9c6c0e0 Bug 760109 - Override traps in ChromeObjectWrapper to bounce lookups to the local prototype chain. r=mrbkap 2012-07-27 12:15:46 +02:00
Bobby Holley
27dfe5daed Bug 760109 - Introduce an explicit ChromeObjectWrapper. r=mrbkap
For now it's identical to ChromeObjectWrapperBase. Custom behavior comes in the next patch.
2012-07-27 12:15:46 +02:00
Bobby Holley
bc2fe5e629 Bug 760109 - When COWing objects with standard prototypes, use the prototype in the home compartment instead. r=mrbkap 2012-07-27 12:15:46 +02:00