Nicholas Nethercote
89190c0bb0
Bug 626398 - A decision to abort in the tracer gets lost. r=dmandelin.
2011-03-25 09:02:01 +11:00
Michael Wu
acf7779c21
Another followup to bug 643927 - use the guard-object macro magic to ensure an Auto* class is never temporarily created. r=jwalden
2011-03-24 14:42:23 -07:00
Matheus Kerschbaum
355ae99518
Bug 640838: Remove OpenVMS support. r=khuey
2011-03-26 11:51:35 -04:00
Luke Wagner
fa88e6da4a
Bug 601102 - Stop building exception backtrace at compartment boundaries (r=gal)
2011-03-25 18:22:49 -07:00
Michael Wu
c445f6e656
Bug 636811 - Use JSSCRIPT_NO_SCRIPT_RVAL in js component loader, r=mrbkap
2011-03-25 14:31:14 -07:00
Mike Hommey
739718b90e
Bug 644081 - Use relative paths as much as possible in expandlibs.py. r=ted
2011-03-25 19:50:29 +01:00
Jeff Walden
4dce1d9ffa
Bug 640072 - Convert properties of RegExp objects into true data properties, eliminating a use of shared-permanent properties. r=jorendorff
2011-03-05 15:29:30 -08:00
Jeff Walden
f1b6ce9142
Initialize a member variable in yarr/yarr/RegexParser.h if building with gcc 4.5 or later, because this compiler incorrectly claims the member variable might be used uninitialized. r=cdleary
2011-03-24 13:33:41 -07:00
Jeff Walden
6c7e38b13f
Bug 644015 - js_GetArgsProperty doesn't look up properties of strict mode arguments objects correctly. r=dmandelin
2011-03-23 16:34:19 -07:00
Leon Sha
c9f02b0fc3
Bug 646311 - -Werror is not an option of Sun Studio. r=khuey. NPOTB changes.
2011-03-31 16:12:24 +08:00
Ehsan Akhgari
de907a39be
Merge mozilla-central into cedar
2011-03-30 13:55:31 -04:00
Neil Rashbrook
c09046cf79
Bug 581307. Add a simple way to lazily import modules. r=sayrer
2011-03-30 13:40:47 -04:00
Ehsan Akhgari
ca0a27ab24
Merge cedar into mozilla-central
2011-03-29 10:39:07 -04:00
timeless@mozdev.org
b38bcb6ae4
Bug 602514 [@ AutoGCRooter::AutoGCRooter] if !ccx.IsValid() in nsXPCWrappedJSClass::CallMethod
...
r=mrbkap
2011-03-28 17:26:33 -04:00
timeless@mozdev.org
52bd717d9f
Bug 615323 warning: comparison between signed and unsigned integer expressions in xpcjsruntime.cpp
...
r=mrbkap
2011-03-28 17:26:33 -04:00
Justin Lebar
7e2c5ae50d
Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
...
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Chris Leary
4f6b3c79c8
Merge tracemonkey to mozilla-central.
2011-03-31 15:47:46 -07:00
Igor Bukanov
d56f220bed
bug 643548 - followup to fix js shell builld brekage on Linux
2011-03-31 15:07:48 +02:00
Paul Biggar
43b850291d
Bug 643548: Remove mozalloc_undef_macro_wrappers hack from JS engine. (r=luke,rs=brendan)
...
mozalloc_undef_macro_wrappers are brittle and have side-effects that are hard
to debug and fix. The alternative is the just stick an underscore on the end of
malloc, free, etc, which is a comparatively small burden.
2011-03-31 01:14:12 -07:00
Paul Biggar
72c7701093
Bug 634155: Account for NewCompartment's memory, and change allocation APIs (r=nnethercote)
...
This changes the allocation API, in the following way:
js_malloc -> {cx->,rt->,OffTheBooks::}malloc
js_calloc -> {cx->,rt->,OffTheBooks::}calloc
js_realloc -> {cx->,rt->,OffTheBooks::}realloc
js_free -> {cx->,rt->,Foreground::,UnwantedForeground::}free
js_new -> {cx->,rt->,OffTheBooks::}new_
js_new_array -> {cx->,rt->,OffTheBooks::}new_array
js_delete -> {cx->,rt->,Foreground::,UnwantedForeground::}delete_
This is to move as many allocations as possible through a JSContext (so that they may be aken into account by gcMallocBytes) and to move as many deallocations to the background as possible (except on error paths).
2011-03-31 01:13:49 -07:00
Nicholas Nethercote
e2c62437e0
Disable warnings-as-errors, which was introduced by bug 609532. See the bug for justification and follow-up. r=pbiggar.
2011-03-30 17:54:31 -07:00
Gary Kwong
79f0ef8539
Bug 643217 - Replace "ASSERTION FAILED" message with "Assertion failure" in assembler. r=njn
...
--HG--
extra : rebase_source : b9bd22ee029ebeea7b19327d38305ad1f3aba341
2011-03-31 08:44:57 +08:00
Brian Hackett
8e50870411
Transform RegExp.exec to RegExp.test in native call IC, bug 645889. r=dmandelin
2011-03-30 17:43:36 -07:00
David Mandelin
125dbc8ece
Bug 645184: normalize id in addprop IC handler, r=dvander
2011-03-30 16:57:44 -07:00
Gregor Wagner
ee36f9fb20
Fix atomsCompartment assertion. No Bug, r=billm
2011-03-30 14:02:21 -07:00
Jim Blandy
f1e6365c99
Bug 645826: Include standard output and standard error in exception text when testing manifest conditions. r=dmandelin
2011-03-30 12:49:47 -07:00
Jim Blandy
d7f8d15385
Bug 643222: Don't assert that we never cached adds to call objects. r=jorendorff
...
This assertion should not have been added. Although most adds to call
objects are done by DEFVAR operations, which don't create property cache
entries, the test case shows a situation in which a SETNAME, which is
cached, does the add. Since the object whose property should receive the
value of an assignment's RHS is chosen before the RHS is evaluated, it is
correct to put the value of the 'delete' expression on the call.
It would be nice to ensure that this call object, which we know we are
adding bindings to, had been recognized as extensible at compile time by
the analysis added in bug 554955. However, we only set "extensible parents"
flag on the bindings of calls whose *parents* are extensible, not the
extensible calls themselves. So there isn't anything convenient to check
here.
2011-03-30 12:48:24 -07:00
Chris Leary
2ef1aa6439
Bug 642274: Add loose equality to JSAPI. (r=Waldo)
...
--HG--
extra : rebase_source : 3001604e6e6bfc9c8e73aafc1498a71ae7ade9cd
2011-03-21 10:04:43 -07:00
Andreas Gal
707f928b25
Expose public APIs for converting doubles to signed/unsigned int per ECMA spec (bug 631132, r=bzbarsky).
2011-03-29 19:19:15 -07:00
L. David Baron
506701bba2
Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790.
2011-03-24 21:07:05 -07:00
L. David Baron
65ba1c0595
Merge layout work from projects/birch, part 3. a=smaug
2011-03-24 08:38:19 -07:00
Mike Hommey
2cfeef8160
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
...
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.
We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.
We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).
The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.
Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
L. David Baron
6256bf49b3
Allow the method field in nsCSSPropList.h to be used with or without prefixes. (Bug 636039, patch 4) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
802da587ae
Merge layout work from projects/birch, part 2.
2011-03-23 17:39:29 -07:00
L. David Baron
36d847de86
Add 'parsevariant_' parameter to CSS_PROP macro, with all properties initially zero. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
Jeff Walden
e974b414d6
Bug 637859. Anchor a string for a bit. r=cdleary, a=bsmedberg
2011-03-03 09:37:18 -08:00
Benoit Jacob
0a28e31363
Bug 635068 - WebGL test array-unit-tests.html fails - r=dmandelin+vlad, a=blocking2.0
2011-03-03 11:02:35 -05:00
Gavin Sharp
5246cadda7
Back out 25027d672f50 (bug 636818) because it caused bustage (accidental file removal), a=#developers
2011-03-02 13:57:46 -08:00
Andreas Gal
ca32aa1319
Backed out changeset 8b3a403a6d26 (bug 636697, a=breaks Linux builds, cross-label variable initialization).
2011-03-02 13:36:06 -08:00
Jason Orendorff
adb7458612
Bug 636697 - Fix null deref in js_watch_set. r=brendan, a=dmandelin.
...
--HG--
extra : rebase_source : 1b167ac05c305ca571dab8a12c0e7d4930805c2d
2011-03-02 14:48:16 -06:00
Jason Orendorff
c5c4eeabcf
Bug 636818 - Crash [@ js::CallJSPropertyOpSetter] or [@ js_SetProperty]. r=gal, a=dmandelin.
...
--HG--
extra : rebase_source : ffda69df6aa059fac4e742c905573809695c7765
2011-03-02 14:15:57 -06:00
Boris Zbarsky
494d0ffc7b
Bug 614145. Fast-path null in quickstub return values. r=peterv
2011-03-23 10:45:21 -04:00
Boris Zbarsky
58a96f2303
Bug 585786. Do fast-unwrapping even for non-slim wrappers as long as they're cached. r=peterv
2011-03-23 10:45:21 -04:00
Boris Zbarsky
250488127b
Bug 457102. Remove vestiges of dead xpointer/fixptr stuff. r=sicking
2011-03-23 10:45:21 -04:00
Justin Wood
8eb08b16d7
Bug 644011 - Bump milestone.txt, do NOT bump Firefox version.txt [yet]. r=khuey, a=joduinn for CLOSED TREE
2011-03-23 00:28:57 -04:00
Frank Wein
b6ec073efa
Bug 420707 - Remove MOZ_META_COMPONENT ifdef from config.mk; r=khuey. Original Patch by mcsmurf, updated by Standard8
2011-03-22 08:04:00 +00:00
Justin Wood
84423e28f3
and copy to js/src. r=bustage
2011-03-20 22:11:06 -04:00
Mitchell Field
d08940e146
Bug 641887 - Disable secure CRT deprecation warnings for host binaries. r=ted
2011-03-20 20:12:35 +11:00
Kyle Huey
e5b0663ab2
Backing out nsinstall hardlinks because apparently MSYS has a bug that causes it to choke on hardlinks.
2011-03-19 08:00:35 -04:00
Kyle Huey
a775b9f6bb
Backed out changeset 0c5da403b68e
2011-03-19 07:59:37 -04:00
Kyle Huey
e27f6e9cc9
Merge
2011-03-19 07:59:11 -04:00
Kyle Huey
02af13b9ee
Backed out changeset 2ef6f317bbba
2011-03-19 07:58:35 -04:00
Kyle Huey
782df80bf2
Merge m-c to bs.
2011-03-19 07:56:17 -04:00
Axel Hecht
0f33f87732
bug 525438, l10n-merge doesn't merge all files, make targets work with PRETTY_NAMES, too. Adding a l10n-checks target for a dummy repack. r=ted
2011-03-18 18:29:56 +01:00
Bob Clary
dcf61e4235
Bug 610185 - JavaScript Tests - temporarily mark ecma/Date/15.9.5.34-1.js as random due to DST orange, r=jorendorff, a=NPOTB.
2011-03-17 08:32:37 -07:00
Jacek Caban
3b125294c5
Bug 641221 - Turn on -MD on mingw by default r=khuey
2011-03-14 13:21:48 +00:00
Mitchell Field
8a39ea72b9
Merge mozilla-central to build-system.
2011-03-13 04:21:37 +11:00
Joel Maher
457e664cbe
Bug 639678 - annotate manifests to see green jsreftest runs on tinderbox. r=blassey, a=tests
2011-03-11 09:15:36 -05:00
Mitchell Field
a7b458884e
Merge mozilla-central to build-system.
2011-03-11 11:05:04 +11:00
Mitchell Field
209318d870
Merge backout
2011-03-09 12:34:28 +11:00
Mitchell Field
18c23b637c
Backed out changeset 2535ab584956
2011-03-09 12:34:06 +11:00
Mitchell Field
c2c05cd75a
Merge backout
2011-03-09 12:31:12 +11:00
Mitchell Field
5be93d1349
Backed out changeset d7692aed054f
2011-03-09 12:29:25 +11:00
Mitchell Field
05c1503446
Bug 569365 - Fix bustage.
2011-03-09 11:47:23 +11:00
Mitchell Field
4cc65aefa7
Bug 569365 - Switch usage of preprocessor.pl to Preprocessor.py. r=ted
...
--HG--
rename : config/Preprocessor.py => js/src/config/Preprocessor.py
2011-03-08 14:58:44 +11:00
Makoto Kato
d3c767a63e
Bug 521405 - Remove alpha and mips Windows NT code from mozilla-central. r=ted
2011-03-07 15:54:21 +09:00
Kyle Huey
ee2b740dd2
Merge m-c to bs.
2011-03-04 23:54:03 -05:00
Matt Brubeck
57b02d0c47
Bug 638963: Blacklist JIT on the Samsung Continuum. r+a=dvander DONTBUILD (Android-only)
2011-03-04 17:35:23 -08:00
Mike Hommey
0a0ef6e8a2
Bug 584474 part 10 - Make expandlibs_exec.py less verbose by default. r=ted
2011-03-04 17:25:41 +01:00
Mitchell Field
c69e56c1b6
Bug 636695 - Make --enable-debug-symbols on by default. r=ted
2011-03-05 01:10:05 +11:00
Mitchell Field
d69caf2935
Bug 574183 - Fix bustage.
2011-03-03 03:10:48 +11:00
Kyle Huey
e6688971d1
Bug 574183 - Make nsinstall NTFS-aware. r=Mitch
2011-03-03 01:47:17 +11:00
Mitchell Field
b6976ca587
Merge mozilla-central to build-system.
2011-03-02 20:38:54 +11:00
Andreas Gal
a5500a0ce1
Merge.
2011-03-01 17:42:50 -08:00
haytjes
f328b7b2da
Bug 635005: new RegExp(undefined) works like new RegExp(''). (r=cdleary, a=jst)
2011-03-01 17:36:54 -08:00
David Anderson
d79b45f535
Fix tracer integration edge case (bug 636879, r=billm,luke).
2011-03-01 12:50:37 -08:00
Jeff Walden
ed564f147e
Bug 637385 - Don't try to trace through a bindname in strict mode eval code. r=dvander, a=dmandelin
2011-03-01 09:59:37 -08:00
David Anderson
45609c8105
Fix trace/interp mismsatch in |this| computation (bug 636795, r=gal, a=dmandelin).
2011-03-01 23:42:22 -08:00
Nicholas Nethercote
e3ce73e36f
Bug 635155 - Get full JIT-tests coverage back. r=dmandelin, a=beltzner/npotb.
2011-02-28 16:17:05 -08:00
Siddharth Agarwal
6f9622502d
Bug 634637 - Remove make-jars.pl. r=ted
...
make-jars.pl was deprecated and replaced by JarMaker.py a while ago.
2011-03-01 01:59:50 +05:30
Mitchell Field
dd61bc4257
Merge mozilla-central to build-system.
2011-02-28 18:28:40 +11:00
Robert Sayre
ccbfde2165
Merge mozilla-central to tracemonkey.
2011-02-26 19:36:09 -08:00
David Mandelin
1ec8dc20b1
Bug 636820 relanding: Use new |this| computation in mjit implementation of callgname, r=dvander,gal, a=blocking
2011-02-25 19:07:32 -08:00
David Mandelin
ab54915f93
Bug 636820 relanding: Use new |this| computation in mjit implementation of callgname, r=dvander,gal, a=blocking
2011-02-25 19:07:32 -08:00
Luke Wagner
56cb551f05
Bug 637397 - Set runtime debug mode in js shell with -d (r=sfink,a=npotb)
...
--HG--
extra : rebase_source : fd6868299f8998769eaaa5a7a985296099c8961d
2011-02-28 13:05:29 -08:00
David Mandelin
8da7f1614f
Backed out changeset 672a84576ca6 -- tinderbox build bustage
2011-02-28 12:08:57 -08:00
David Mandelin
8e2207d22a
Bug 636820: Use new |this| computation in mjit implementation of callgname, r=dvander,gal, a=blocking
2011-02-25 19:07:32 -08:00
Kyle Huey
7d56189a13
Merge m-c to bs.
2011-02-25 15:23:05 -05:00
Mike Hommey
6ef83c9db5
Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted
2011-02-25 15:05:08 +01:00
Mike Hommey
02d1b83149
Bug 584474 part 7 - Centralize check-sync-dirs exceptions, and add *.pyc files to the exceptions list. r=ted
2011-02-25 15:02:04 +01:00
Mike Hommey
52db647bac
Bug 584474 part 3 - Fix AR related variables in configure.in. r=ted
2011-02-25 15:02:04 +01:00
Mike Hommey
de12d28491
Bug 584474 part 1 - Use a special value of EXPORT_LIBRARY to copy libraries in other directories. r=khuey
2011-02-25 15:02:04 +01:00
Luke Wagner
35220d90f3
Bug 619565 - Fix activation object handling by InvokeSessionGuard (r=waldo,a=shaver)
...
--HG--
extra : rebase_source : 24e4d6ecf1cb9696fda7468eb631f13d92d7ab7a
2011-02-24 12:34:33 -08:00
Robert Sayre
377db48438
Merge tracemonkey to mozilla-central. a=blockers
2011-02-25 10:00:38 -08:00
Andreas Gal
32052a42fd
Fix bug 635137 (r=luke, a=blocker).
2011-02-24 19:56:13 -08:00
Andreas Gal
b126dc33dd
Fix bug 635137 (r=luke, a=blocker).
2011-02-24 18:52:27 -08:00
Andreas Gal
77c817bccc
Fix bug 635137 (r=luke, a=blocker).
2011-02-24 18:52:27 -08:00
Andreas Gal
0b35929b8d
Fix for Apple gcc 4.2 compiler bug triggered by bug 636364 (r=CLOSED TREE).
2011-02-24 16:10:16 -08:00
Brendan Eich
53a1b854d8
Pushing new test I forgot to hg add (636364 ; thanks to philor for reminder).
2011-02-24 13:24:21 -08:00
David Anderson
f468d25f2b
Fix extra decref in rare IC path (bug 635968, r=dmandelin).
2011-02-24 12:09:18 -08:00