Luke Wagner
8c0d9d3fb1
Bug 639883 - rm js_FinalizeStringRT (r=igor)
...
--HG--
extra : rebase_source : c7f77ad290112fe7d6c53255dbf5595c94be3422
2011-03-31 16:05:31 -07:00
Makoto Kato
b26af94399
Bug 636296 - Fix forceReturn trampoline on Win64/Solaris (r=dvander)
...
--HG--
extra : rebase_source : 85846343b38031931adafb7e44bc8983fdd3472c
2011-03-28 17:33:53 -07:00
Phil Ringnalda
26d7f10534
Back out bd821ea0ad41 (638324) for mochitest-chrome crashes
2011-03-31 19:55:10 -07:00
Andreas Gal
eec5776eb2
Maintain a list of IdArrays as we hand them out via JS API (638324, r=brendan).
2011-03-31 14:42:33 -07:00
Steve Fink
8c5e6eaec6
Bug 639943 - Convert IDL formatting to JS engine house style (r=timeless)
2011-03-26 12:05:40 -07:00
Igor Bukanov
6cff51a408
bug 643548 - followup to fix js shell builld brekage on Linux
2011-03-31 15:07:48 +02:00
Paul Biggar
cfb2a6aebf
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
1b17519a11
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
d8b9ea18ba
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
36d7261507
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
92e44bf5eb
Transform RegExp.exec to RegExp.test in native call IC, bug 645889. r=dmandelin
2011-03-30 17:43:36 -07:00
David Mandelin
95aaffbddc
Bug 645184: normalize id in addprop IC handler, r=dvander
2011-03-30 16:57:44 -07:00
Gregor Wagner
0e2e4365f5
Fix atomsCompartment assertion. No Bug, r=billm
2011-03-30 14:02:21 -07:00
Jim Blandy
23d5caefb8
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
b9b85bd8a1
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
8cf280c7e3
Bug 642274: Add loose equality to JSAPI. (r=Waldo)
...
--HG--
extra : rebase_source : 3001604e6e6bfc9c8e73aafc1498a71ae7ade9cd
2011-03-21 10:04:43 -07:00
Andreas Gal
6368cc2df0
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
Chris Leary
02fde279ea
Merge mozilla-central and tracemonkey.
2011-03-29 14:52:44 -07:00
Chris Leary
f75db31fb0
Nop to force rebuild.
2011-03-29 10:47:59 -07:00
Chris Leary
290c8bdf9d
Merge new tracemonkey head.
2011-03-29 09:06:19 -07:00
Chris Leary
7f1a11eb97
Merge mozilla-central to tracemonkey.
2011-03-29 09:05:25 -07:00
Brian Hackett
52c40676b7
Check for functions in instanceof fast path, bug 642174.
2011-03-28 20:05:23 -07:00
L. David Baron
a1b15c117e
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
f41bc421d6
Bug 641436 - Don't call Script{Prologue,Epilogue} when resuming/yielding a generator (r=dvander)
...
--HG--
extra : rebase_source : 6ae3a6645425ee63162e19388143487df5435a65
2011-03-28 11:57:43 -07:00
Gregor Wagner
667d577a1b
Bug 644871 - Combine MarkAndSweep/MarkAndSweepCompartment (r=billm)
2011-03-28 13:17:46 -07:00
Andrew McCreight
8a822b4e90
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
9b9065468b
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
7ce7a4f93d
Bug 636224 - rm cx->interpLevel and TSF_ERROR (r=brendan)
...
--HG--
extra : rebase_source : 682e496d3fad9454b0279aff9bfd4c1bcf50055c
2011-03-23 14:33:02 -07:00
Nicholas Nethercote
8cd5c57e31
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
98f3eb4e37
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
8491f6b2a1
Bug 645121 - Implement js::StringBuffer::finishAtom. r=igor
2011-03-25 12:04:05 -07:00
Jeff Walden
25cbbe8862
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
d815a67799
Bug 633690 - add HashMap::lookupWithDefault and putNew helper functions (r=billm)
...
--HG--
extra : rebase_source : 109b7974dac40749562c3b3ad4615029f1699b97
2011-03-23 17:40:11 -07:00
Jeff Walden
3ac68031d5
class RegExp, not struct RegExp. r=windows-bustage
...
--HG--
extra : rebase_source : 5c31a9b6a5309548db45d2756f03abeec23ed2f9
2011-03-24 15:04:54 -07:00
Nicholas Nethercote
ce1986f232
Bug 626398 - A decision to abort in the tracer gets lost. r=dmandelin.
2011-03-25 09:02:01 +11:00
Michael Wu
4da86827aa
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
Jeff Walden
5e48e5a2e0
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
b40109bd7c
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
a898c62c86
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
L. David Baron
db6289bc0a
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
Ehsan Akhgari
692c3a0600
Merge cedar into mozilla-central
2011-03-29 10:39:07 -04:00
timeless@mozdev.org
141de7e6f7
Bug 602514 [@ AutoGCRooter::AutoGCRooter] if !ccx.IsValid() in nsXPCWrappedJSClass::CallMethod
...
r=mrbkap
2011-03-28 17:26:33 -04:00
timeless@mozdev.org
96142b692c
Bug 615323 warning: comparison between signed and unsigned integer expressions in xpcjsruntime.cpp
...
r=mrbkap
2011-03-28 17:26:33 -04:00
timeless@mozdev.org
5254813390
Bug 586731 jsd_NewSourceText leaks new_url_string ifndef LIVEWIRE
...
r=biesi
2011-03-28 16:49:16 -04:00
Justin Lebar
d5dcbf68a6
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
timeless@mozdev.org
472d03a94a
Bug 577910 mark DEBUG only variables as ifdef DEBUG in jsd
...
r=biesi
2010-07-11 15:38:58 +03:00
timeless@mozdev.org
d593b8fe75
Bug 584976 mark deprecated xpconnect interfaces and methods with [deprecated]
...
r=jst
2011-03-27 23:59:44 -04:00
neil@parkwaycc.co.uk
a1ef3d406d
Bug 581309 - Remove unused properties from XPCOMUtils; r=sayrer
2010-11-01 09:59:00 -04:00
timeless@mozdev.org
c44fd37e30
Bug 620280 crash [@ XPCJSRuntime::GCCallback] if !self
...
r=mrbkap
--HG--
extra : rebase_source : d1677bf92510f1f5c2532a2c3755bea247b3e688
2011-03-27 23:42:23 -04:00
Ehsan Akhgari
0b1646bd2d
Backed out changeset eb6edf77b7c8 (bug 638149) because of build bustage
2011-03-27 15:30:22 -04:00