Граф коммитов

17463 Коммитов

Автор SHA1 Сообщение Дата
timeless@mozdev.org aa05ef170e 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 8a42eb0162 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 5e235c0017 Merge tracemonkey to mozilla-central. 2011-03-31 15:47:46 -07:00
Igor Bukanov a5b8f40563 bug 643548 - followup to fix js shell builld brekage on Linux 2011-03-31 15:07:48 +02:00
Paul Biggar e471647538 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 1e46fe8cee 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 1b3a06bc73 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 4c59c7e4fd 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 1927198c0f Transform RegExp.exec to RegExp.test in native call IC, bug 645889. r=dmandelin 2011-03-30 17:43:36 -07:00
David Mandelin 7f4b722a1f Bug 645184: normalize id in addprop IC handler, r=dvander 2011-03-30 16:57:44 -07:00
Gregor Wagner 1279408536 Fix atomsCompartment assertion. No Bug, r=billm 2011-03-30 14:02:21 -07:00
Jim Blandy a210981153 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 ce8b53e509 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 19cf268a75 Bug 642274: Add loose equality to JSAPI. (r=Waldo)
--HG--
extra : rebase_source : 3001604e6e6bfc9c8e73aafc1498a71ae7ade9cd
2011-03-21 10:04:43 -07:00
Andreas Gal 8544587944 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 4aa9bf0e23 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
L. David Baron 27926fa517 Merge layout work from projects/birch, part 3. a=smaug 2011-03-24 08:38:19 -07:00
Mike Hommey dee14dcf38 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 e81511619b 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 2fc425d7aa Merge layout work from projects/birch, part 2. 2011-03-23 17:39:29 -07:00
L. David Baron ff243414e8 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 fbf3446fa4 Bug 637859. Anchor a string for a bit. r=cdleary, a=bsmedberg 2011-03-03 09:37:18 -08:00
Benoit Jacob 80fc85d6d0 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 9ac2ae4743 Back out 25027d672f50 (bug 636818) because it caused bustage (accidental file removal), a=#developers 2011-03-02 13:57:46 -08:00
Andreas Gal 0a8e9ac2b8 Backed out changeset 8b3a403a6d26 (bug 636697, a=breaks Linux builds, cross-label variable initialization). 2011-03-02 13:36:06 -08:00
Jason Orendorff 036b0413ed 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 97df1796b0 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 ef234b2d2d Bug 614145. Fast-path null in quickstub return values. r=peterv 2011-03-23 10:45:21 -04:00
Boris Zbarsky 79b392b950 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 5621d0acac Bug 457102. Remove vestiges of dead xpointer/fixptr stuff. r=sicking 2011-03-23 10:45:21 -04:00
Justin Wood 90de6a5e00 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 f7d948e79a 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 e88266231f and copy to js/src. r=bustage 2011-03-20 22:11:06 -04:00
Mitchell Field c4a37706c5 Bug 641887 - Disable secure CRT deprecation warnings for host binaries. r=ted 2011-03-20 20:12:35 +11:00
Kyle Huey fa7e877649 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 e88572be29 Backed out changeset 0c5da403b68e 2011-03-19 07:59:37 -04:00
Kyle Huey b286a6a2d6 Merge 2011-03-19 07:59:11 -04:00
Kyle Huey c339b83c31 Backed out changeset 2ef6f317bbba 2011-03-19 07:58:35 -04:00
Kyle Huey 4f19140ca9 Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Axel Hecht 8b558da5e4 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 593dc7356e 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 ccbfe961f7 Bug 641221 - Turn on -MD on mingw by default r=khuey 2011-03-14 13:21:48 +00:00
Mitchell Field d4f8e57e19 Merge mozilla-central to build-system. 2011-03-13 04:21:37 +11:00
Joel Maher 5c2a09c287 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 07d15d1a57 Merge mozilla-central to build-system. 2011-03-11 11:05:04 +11:00
Mitchell Field 4ae6c31b24 Merge backout 2011-03-09 12:34:28 +11:00
Mitchell Field 04fdb71096 Backed out changeset 2535ab584956 2011-03-09 12:34:06 +11:00
Mitchell Field dfadcaf32a Merge backout 2011-03-09 12:31:12 +11:00
Mitchell Field d9ced4c0d4 Backed out changeset d7692aed054f 2011-03-09 12:29:25 +11:00
Mitchell Field aca0f0ab46 Bug 569365 - Fix bustage. 2011-03-09 11:47:23 +11:00
Mitchell Field 3b2c274a1c 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 c240aa74f3 Bug 521405 - Remove alpha and mips Windows NT code from mozilla-central. r=ted 2011-03-07 15:54:21 +09:00
Kyle Huey 79a0df8f13 Merge m-c to bs. 2011-03-04 23:54:03 -05:00
Matt Brubeck b045aa81d6 Bug 638963: Blacklist JIT on the Samsung Continuum. r+a=dvander DONTBUILD (Android-only) 2011-03-04 17:35:23 -08:00
Mike Hommey 767517c17f Bug 584474 part 10 - Make expandlibs_exec.py less verbose by default. r=ted 2011-03-04 17:25:41 +01:00
Mitchell Field 09c4b5bf7b Bug 636695 - Make --enable-debug-symbols on by default. r=ted 2011-03-05 01:10:05 +11:00
Mitchell Field 901684e6ce Bug 574183 - Fix bustage. 2011-03-03 03:10:48 +11:00
Kyle Huey 2464d6f4b4 Bug 574183 - Make nsinstall NTFS-aware. r=Mitch 2011-03-03 01:47:17 +11:00
Mitchell Field 1e690b971a Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Andreas Gal 369ff7daae Merge. 2011-03-01 17:42:50 -08:00
haytjes d3a20b3dfa Bug 635005: new RegExp(undefined) works like new RegExp(''). (r=cdleary, a=jst) 2011-03-01 17:36:54 -08:00
David Anderson 7cc5f8479a Fix tracer integration edge case (bug 636879, r=billm,luke). 2011-03-01 12:50:37 -08:00
Jeff Walden 074593d1c6 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 9bee5201a3 Fix trace/interp mismsatch in |this| computation (bug 636795, r=gal, a=dmandelin). 2011-03-01 23:42:22 -08:00
Nicholas Nethercote 2a912bc48f Bug 635155 - Get full JIT-tests coverage back. r=dmandelin, a=beltzner/npotb. 2011-02-28 16:17:05 -08:00
Siddharth Agarwal 0a87423b90 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 ecf2339769 Merge mozilla-central to build-system. 2011-02-28 18:28:40 +11:00
Robert Sayre d4a4635c3d Merge mozilla-central to tracemonkey. 2011-02-26 19:36:09 -08:00
David Mandelin acaa15234d 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 208ca10d25 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 e35c5d60c2 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 dfb05d0d8e Backed out changeset 672a84576ca6 -- tinderbox build bustage 2011-02-28 12:08:57 -08:00
David Mandelin 4f0927470f 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 0df01cf2ad Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mike Hommey 27e7b98dbb 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 50d4ff6f6b 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 78c4378c30 Bug 584474 part 3 - Fix AR related variables in configure.in. r=ted 2011-02-25 15:02:04 +01:00
Mike Hommey a375cdff16 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 b36cbb2d7a 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 24d039501e Merge tracemonkey to mozilla-central. a=blockers 2011-02-25 10:00:38 -08:00
Andreas Gal de5e361771 Fix bug 635137 (r=luke, a=blocker). 2011-02-24 19:56:13 -08:00
Andreas Gal 61b38a6178 Fix bug 635137 (r=luke, a=blocker). 2011-02-24 18:52:27 -08:00
Andreas Gal 57a76875dd Fix bug 635137 (r=luke, a=blocker). 2011-02-24 18:52:27 -08:00
Andreas Gal b3f7c36c78 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 8230f753f6 Pushing new test I forgot to hg add (636364 ; thanks to philor for reminder). 2011-02-24 13:24:21 -08:00
David Anderson 1bc6dca850 Fix extra decref in rare IC path (bug 635968, r=dmandelin). 2011-02-24 12:09:18 -08:00
Brendan Eich 8af2a16ab5 Further comment fussing (636364, r=me). 2011-02-24 11:13:55 -08:00
Brendan Eich e67bb8ec96 Fix comment glitch in last push (636364, r=me). 2011-02-24 11:12:03 -08:00
Blake Kaplan fa26e10570 Bug 633133 - Resolve ids and names in HTMLSelectElement. part 2/2. r=jst, a=blocker 2011-02-24 19:36:33 +01:00
David Anderson 9a5c9a9183 Fix extra decref in rare IC path (bug 635968, r=dmandelin, a=blocking). 2011-02-24 12:09:18 -08:00
Jeff Walden 0328d14f3d Bug 636078 - Fix some typed array bugs. r=vlad, r=jorendorff 2011-02-24 01:23:57 -08:00
David Mandelin 410aaa53b8 Allow -a to be passed with jitflags in jit-tests, NPOTB 2011-02-25 13:09:58 -08:00
David Mandelin f7a9f8e75b Fix MSVC warning. 2011-02-25 13:07:29 -08:00
David Anderson 860c324f86 Fix (bug 635200, r=gal, a=blocking).
--HG--
extra : rebase_source : b8ab8fd50bf405e7ee963b70f3eff5311c03d0e1
2011-02-25 11:08:58 -08:00
David Mandelin 385ce7b907 Bug 625417: fix detection of ?-quantified groups for empty-match rule in regexes, r=dvander, a=blocking 2011-02-25 11:06:31 -08:00
mrbkap@gmail.com 38a12eeaea Fix bug 636097 (r=gal, a=blocker). 2011-02-23 22:13:17 -08:00
Brendan Eich 502e6c9df5 Followup fixes and tests in wake of global |this| binding change (636364, r=luke/gal/dvander, thanks to Waldo for the newGlobal shell function). 2011-02-23 19:38:27 -08:00
Bill McCloskey 81d16a9010 Bug 636219 - Reset interpreter's useMethodJIT flag upon entering/exiting a function (r=dvander,a=shaver) 2011-02-24 10:20:18 -08:00
bent.mozilla@gmail.com 3362ed55f8 Only run CC after the GC has run at least once (bug 626768, r=gal). a=blocker 2011-02-23 00:08:36 -08:00
Mitchell Field 12b5508fee Merge mozilla-central to build-system. 2011-02-23 00:01:54 +11:00