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

241665 Коммитов

Автор SHA1 Сообщение Дата
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
Steve Fink 48e2528027 Backout bogus part of c46b4248ee36 (--rebase deleted a random file; thanks) (r=flames) 2011-03-31 15:48:25 -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
David Mandelin 3f43be2dfd Bug 646304: Fix MSVC warning, r=bent 2011-03-29 19:05:12 -07:00
Chris Leary 02fde279ea Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Jim Mathies 3f45923e1a 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 8366783148 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 6113f67ca2 Bug 643083 Test fix: clean up puppet widget properly r=cjones sr=roc 2011-03-29 13:14: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
Michael Wu 8eca213efe Bug 635087 - nsCryptoRunnable::Run leaks JSPrincipals, r=jst 2011-03-28 16:24:38 -07:00
Chen Liu cda5475a37 Use PL_strncpyz in DR_FrameTypeInfo. (Bug 639220) r=dbaron 2011-03-28 16:07:27 -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
L. David Baron 6964725cc6 Remove nsCSSStruct.h/cpp. (Bug 645620, patch 4) r=bzbarsky 2011-03-28 16:07:26 -07:00
L. David Baron 90eaa47be4 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 4bd09b8961 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 9e22f77798 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 603590766a 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 a5aa423b8b Back out changeset 7395f456cf4b (bug 594614) because it wasn't quite ready 2011-03-28 16:35:05 -04:00
Jonas Sicking a95951e247 Bug 461066: Test for loadend firing correctly in CORS tests. r=smaug 2011-03-28 13:18:55 -07:00
Jonas Sicking 7f14c5ec51 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 6061159b90 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 f94b94a715 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 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 6cc848442e 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 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
Ehsan Akhgari e66b995c9a Back out changeset 71d0179e0ad9 (bug 634586) 2011-03-28 13:47:53 -04:00
Ehsan Akhgari 8761668e87 Merge cedar into mozilla-central 2011-03-28 13:28:13 -04:00
Mitchell Field 82addc33dc Merge build-system to mozilla-central. 2011-03-29 02:07:57 +11:00
Boris Zbarsky 7d85213ee3 Bug 644576. Make sure that when we set up our iterator we don't decide we're done if the first row in our damage range contains no cells in our damage range. r=roc 2011-03-28 10:49:48 -04:00
Boris Zbarsky 7a05c2134d Bug 642717. Hold strong references to our MozBeforePaint event targets. r=roc 2011-03-28 10:49:48 -04:00
Trevor Saunders 5825c4795d Bug 635952 - crash [@ notificationController::IsTreeConstructed() ] on shutdown, r=surkov, fer, a=blocking2.x+ 2011-03-28 23:00:02 +09:00