Commit Graph

21114 Commits

Author SHA1 Message Date
Kyle Huey
6b325cc332 Merge m-c to bs. 2011-03-31 07:17:15 -04:00
Chris Leary
3bedbd3726 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary
d573855194 Nop to force rebuild. 2011-03-29 10:47:59 -07:00
Chris Leary
2cf72e3cb4 Merge new tracemonkey head. 2011-03-29 09:06:19 -07:00
Chris Leary
2390946de1 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Brian Hackett
f13b252992 Check for functions in instanceof fast path, bug 642174. 2011-03-28 20:05:23 -07:00
L. David Baron
b4e61780aa Remove the datastruct_ and member_ fields of the CSS_PROP macro. (Bug 645620, patch 5) r=bzbarsky 2011-03-28 16:07:27 -07:00
Luke Wagner
1ddc37526e Bug 641436 - Don't call Script{Prologue,Epilogue} when resuming/yielding a generator (r=dvander) 2011-03-28 11:57:43 -07:00
Gregor Wagner
963d001c37 Bug 644871 - Combine MarkAndSweep/MarkAndSweepCompartment (r=billm) 2011-03-28 13:17:46 -07:00
Andrew McCreight
462b86035b Bug 641910. Don't add non-grey nodes to the cycle collector model graph. r=gal@uci.edu 2011-03-28 13:05:48 -07:00
Joel Maher
3088172b5c Bug 644697 - jsreftests shell test runner throws "Failed to test XUL condition 'Android'". r=dmandelin, a=test-only 2011-03-28 14:37:07 -04:00
Luke Wagner
474e97993a Bug 636224 - rm cx->interpLevel and TSF_ERROR (r=brendan) 2011-03-23 14:33:02 -07:00
Nicholas Nethercote
7671472206 Bug 643700 - Fix an ARM warning on compilation since warnings are now regarded as errors. r=gal 2011-03-28 16:24:20 +08:00
Jeff Walden
a4a3b5bafd Fix a compiler warning that occurs when jsgcinlines.h is included before jsobjinlines.h. r=warning-patrol 2011-03-25 17:23:05 -07:00
Jeff Walden
e68da86ecc Bug 645121 - Implement js::StringBuffer::finishAtom. r=igor 2011-03-25 12:04:05 -07:00
Jeff Walden
28e46b3249 Bug 639343 - Slight adjustment to how typed-array properties are handled in the tracer. r=dvander 2011-03-18 17:57:17 -07:00
Luke Wagner
622579585c Bug 633690 - add HashMap::lookupWithDefault and putNew helper functions (r=billm) 2011-03-23 17:40:11 -07:00
Jeff Walden
265f62c528 class RegExp, not struct RegExp. r=windows-bustage 2011-03-24 15:04:54 -07:00
Nicholas Nethercote
5bb4303330 Bug 626398 - A decision to abort in the tracer gets lost. r=dmandelin. 2011-03-25 09:02:01 +11:00
Michael Wu
24c5f4bdbe 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
7859c81425 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Luke Wagner
5655d9bb59 Bug 601102 - Stop building exception backtrace at compartment boundaries (r=gal) 2011-03-25 18:22:49 -07:00
Michael Wu
2e296df756 Bug 636811 - Use JSSCRIPT_NO_SCRIPT_RVAL in js component loader, r=mrbkap 2011-03-25 14:31:14 -07:00
Mike Hommey
63c5bd8253 Bug 644081 - Use relative paths as much as possible in expandlibs.py. r=ted 2011-03-25 19:50:29 +01:00
Jeff Walden
7afccb1f41 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
ae9c60a5b5 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
0cdc4a1a3e 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
03d06ba05d Bug 646311 - -Werror is not an option of Sun Studio. r=khuey. NPOTB changes. 2011-03-31 16:12:24 +08:00
Ehsan Akhgari
46e8001b77 Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Neil Rashbrook
12d8036374 Bug 581307. Add a simple way to lazily import modules. r=sayrer 2011-03-30 13:40:47 -04:00
Ehsan Akhgari
dbd7be64b9 Merge cedar into mozilla-central 2011-03-29 10:39:07 -04:00
fcb19d67cc Bug 602514 [@ AutoGCRooter::AutoGCRooter] if !ccx.IsValid() in nsXPCWrappedJSClass::CallMethod
r=mrbkap
2011-03-28 17:26:33 -04:00
075e6c5d4e Bug 615323 warning: comparison between signed and unsigned integer expressions in xpcjsruntime.cpp
r=mrbkap
2011-03-28 17:26:33 -04:00
4f496aec59 Bug 586731 jsd_NewSourceText leaks new_url_string ifndef LIVEWIRE
r=biesi
2011-03-28 16:49:16 -04:00
Justin Lebar
02a6d6af4a Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal 2011-03-28 15:58:49 -04:00
Chris Leary
0c9c930693 Merge tracemonkey to mozilla-central. 2011-03-31 15:47:46 -07:00
Igor Bukanov
5e44b1aa52 bug 643548 - followup to fix js shell builld brekage on Linux 2011-03-31 15:07:48 +02:00
Paul Biggar
17e5445d64 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
70a9d26e32 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
c86228d128 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
f500c33558 Bug 643217 - Replace "ASSERTION FAILED" message with "Assertion failure" in assembler. r=njn 2011-03-31 08:44:57 +08:00
Brian Hackett
48e06d932a Transform RegExp.exec to RegExp.test in native call IC, bug 645889. r=dmandelin 2011-03-30 17:43:36 -07:00
David Mandelin
1ee6ea2b57 Bug 645184: normalize id in addprop IC handler, r=dvander 2011-03-30 16:57:44 -07:00
Gregor Wagner
3fdf0104e1 Fix atomsCompartment assertion. No Bug, r=billm 2011-03-30 14:02:21 -07:00
Jim Blandy
db7fd801c2 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
fb2cbf354d 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
ded73373bd Bug 642274: Add loose equality to JSAPI. (r=Waldo) 2011-03-21 10:04:43 -07:00
Andreas Gal
7631ff7c67 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
31bd671bd8 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
L. David Baron
7a8209e700 Merge layout work from projects/birch, part 3. a=smaug 2011-03-24 08:38:19 -07:00