Commit Graph

64145 Commits

Author SHA1 Message Date
Paul Biggar
fce27bce09 Bug 644421: Add |make check| rules: check-jit-test, check-vanilla-new and check-sync-dirs. (r=jimb) 2011-04-01 21:12:06 -07:00
Chris Leary
220936793d Bug 627632: Avoid unnecessary realloc in StringBuffer::finishString(). (r=luke) 2011-04-01 16:33:41 -07:00
Chris Leary
7863ab591f Bug 644753: Turn ILLEGAL_RANGE NS_ASSERTIONs to warnings. (r=mrbkap) 2011-04-01 12:07:39 -07:00
Paul Biggar
59c1af50d3 Fix minor typo, followup to bug 634155 (no review) 2011-03-31 19:34:14 -07:00
Luke Wagner
1913b99eb0 Bug 639883 - Use JSString (not JSShortString) for inline really short inline strings (r=njn)
--HG--
extra : rebase_source : 5d18f67f841864064e032836014978cf51b52f5c
2011-03-31 16:07:21 -07:00
Luke Wagner
53aca4319a Bug 639883 - rm js_FinalizeStringRT (r=igor)
--HG--
extra : rebase_source : c7f77ad290112fe7d6c53255dbf5595c94be3422
2011-03-31 16:05:31 -07:00
Makoto Kato
7a5360fad1 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
8d4385b7fe Back out bd821ea0ad41 (638324) for mochitest-chrome crashes 2011-03-31 19:55:10 -07:00
Steve Fink
3b49dbe49e Backout bogus part of c46b4248ee36 (--rebase deleted a random file; thanks) (r=flames) 2011-03-31 15:48:25 -07:00
Andreas Gal
e69500d1bc 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
f24c9d54bb Bug 639943 - Convert IDL formatting to JS engine house style (r=timeless) 2011-03-26 12:05:40 -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
David Mandelin
30d90dd975 Bug 646304: Fix MSVC warning, r=bent 2011-03-29 19:05:12 -07:00
Chris Leary
733f538571 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Jim Mathies
17d5c3ca6b Bug 646067 - In nsWindow's Show, use SW_SHOW vs. SW_SHOWNORMAL for full screen windows. r=robarnold 2011-03-29 16:49:45 -05:00
Josh Aas
b925f0cf5f Bug 645289: Correctly calculate whether or not a given plugin has running instances. r=bsmedberg 2011-03-29 16:43:18 -04:00
Benjamin Stover
4a49af189c Bug 643083 Test fix: clean up puppet widget properly r=cjones sr=roc 2011-03-29 13:14:44 -07:00
Chris Leary
ea513eacf6 Nop to force rebuild. 2011-03-29 10:47:59 -07:00
Chris Leary
d5de78ea4b Merge new tracemonkey head. 2011-03-29 09:06:19 -07:00
Chris Leary
78ceed9ab7 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Brian Hackett
191b32603c Check for functions in instanceof fast path, bug 642174. 2011-03-28 20:05:23 -07:00
Michael Wu
f4745d0eb6 Bug 635087 - nsCryptoRunnable::Run leaks JSPrincipals, r=jst 2011-03-28 16:24:38 -07:00
Chen Liu
86a955132e Use PL_strncpyz in DR_FrameTypeInfo. (Bug 639220) r=dbaron 2011-03-28 16:07:27 -07:00
L. David Baron
f30ccb969b 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
L. David Baron
2131a8f272 Remove nsCSSStruct.h/cpp. (Bug 645620, patch 4) r=bzbarsky 2011-03-28 16:07:26 -07:00
L. David Baron
012f77a7a9 Move nsCSSCornerSizes from nsCSSStruct.h/cpp to nsCSSValue.h/cpp. (Bug 645620, patch 3) r=bzbarsky 2011-03-28 16:07:26 -07:00
L. David Baron
39b5580d80 Remove nsCSSDataBlock::kOffsetTable, which is no longer needed. (Bug 645620, patch 2) r=bzbarsky 2011-03-28 16:07:26 -07:00
L. David Baron
f22af36a6f Replace use of nsCSS* structs in nsCSSExpandedDataBlock with an array of nsCSSValue. (Bug 645620, patch 1) r=bzbarsky
Note that this increases the size of nsCSSExpandedDataBlock by three
nsCSSValues for the three non-CSS properties.
2011-03-28 16:07:26 -07:00
Jim Mathies
658482da00 Bug 634586 - Briefly hide the window when transitioning to full screen on Windows. Improves full screen transitions and fixes bug 624258. r=roc 2011-03-28 16:54:05 -05:00
Ehsan Akhgari
4150039d5f Back out changeset 7395f456cf4b (bug 594614) because it wasn't quite ready 2011-03-28 16:35:05 -04:00
Jonas Sicking
c9ef093253 Bug 461066: Test for loadend firing correctly in CORS tests. r=smaug 2011-03-28 13:18:55 -07:00
Jonas Sicking
ca53c7c13a Bug 644476: Rename classes/functions/variables to use "CORS" rather than "Access Control" or "Cross site" where appropriate. r=smaug 2011-03-28 13:18:45 -07:00
Jonas Sicking
b41f2752c4 Bug 644476 Part 2: Move CORS code from nsXMLHttpRequest.cpp/h to nsCrossSiteListenerProxy.cpp/h. r=smaug 2011-03-28 13:11:09 -07:00
Jonas Sicking
0647926fda Bug 644476 Part 1: Remove nsIXMLHttpRequest.openRequest now that it's equivalent to nsIXMLHttpRequest.open. r=smaug 2011-03-28 13:05:52 -07:00
Luke Wagner
2fa7292b06 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
f18b7462d5 Bug 644871 - Combine MarkAndSweep/MarkAndSweepCompartment (r=billm) 2011-03-28 13:17:46 -07:00
Andrew McCreight
ff37de748d 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
a85f69f8f9 Bug 643440 - when using --extra-profile-files, we can overwrite user.js settings from the harness. r=ted, a=test-only 2011-03-28 14:37:08 -04:00
Joel Maher
f86f549a50 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