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

24808 Коммитов

Автор SHA1 Сообщение Дата
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E) 694a16f241 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones 502561642c Bug 577899, part 1: Add mfbt, to contain code shared between SpiderMonkey and Gecko. r=luke,ted sr=brendan,bsmedberg,roc 2011-03-31 20:46:35 -05:00
Chris Jones 9c1402e650 Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones 8a19459222 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E) c744ad1659 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Luke Wagner 40acc07038 Bug 646380 - jsd_GetValueString needs to null out 'call' after leaving the cross compartment call (r=sphink) 2011-03-31 15:29:44 -04:00
Ehsan Akhgari ccf9ef9334 Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00
Kyle Huey 8707611437 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum ce7108fce4 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Kyle Huey 3102f73437 Merge m-c to bs. 2011-03-31 07:17:15 -04:00
Chris Leary abf0eb4f6d Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary 48ed520db9 Nop to force rebuild. 2011-03-29 10:47:59 -07:00
Chris Leary a0d21ab1d5 Merge new tracemonkey head. 2011-03-29 09:06:19 -07:00
Chris Leary fece27e326 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Brian Hackett e7f141be34 Check for functions in instanceof fast path, bug 642174. 2011-03-28 20:05:23 -07:00
L. David Baron d74b2e259e 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 daff42d2db 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 6b50990a20 Bug 644871 - Combine MarkAndSweep/MarkAndSweepCompartment (r=billm) 2011-03-28 13:17:46 -07:00
Andrew McCreight 47ff03c05d 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 f2a28ceb3f 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 c299866024 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 adc0b1ae08 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 b2775a71f0 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 84e0aaa0aa Bug 645121 - Implement js::StringBuffer::finishAtom. r=igor 2011-03-25 12:04:05 -07:00
Jeff Walden 8d2a86d363 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 064615cf9a 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 e920f2096e class RegExp, not struct RegExp. r=windows-bustage
--HG--
extra : rebase_source : 5c31a9b6a5309548db45d2756f03abeec23ed2f9
2011-03-24 15:04:54 -07:00
Nicholas Nethercote 07fac18810 Bug 626398 - A decision to abort in the tracer gets lost. r=dmandelin. 2011-03-25 09:02:01 +11:00
Michael Wu a750c8a8f4 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 b0bea73625 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Luke Wagner e0cd11d3d6 Bug 601102 - Stop building exception backtrace at compartment boundaries (r=gal) 2011-03-25 18:22:49 -07:00
Michael Wu 8ff0c7fe8d Bug 636811 - Use JSSCRIPT_NO_SCRIPT_RVAL in js component loader, r=mrbkap 2011-03-25 14:31:14 -07:00
Mike Hommey 9683c62f94 Bug 644081 - Use relative paths as much as possible in expandlibs.py. r=ted 2011-03-25 19:50:29 +01:00
Jeff Walden 1d2a2ef249 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 635ba59649 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 7dbd8065ac 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 61be098407 Bug 646311 - -Werror is not an option of Sun Studio. r=khuey. NPOTB changes. 2011-03-31 16:12:24 +08:00
Ehsan Akhgari 0b941f7409 Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Neil Rashbrook 68fe3a59ae Bug 581307. Add a simple way to lazily import modules. r=sayrer 2011-03-30 13:40:47 -04:00
Ehsan Akhgari de31d8418a Merge cedar into mozilla-central 2011-03-29 10:39:07 -04:00
timeless@mozdev.org 6d4c600918 Bug 602514 [@ AutoGCRooter::AutoGCRooter] if !ccx.IsValid() in nsXPCWrappedJSClass::CallMethod
r=mrbkap
2011-03-28 17:26:33 -04:00
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
timeless@mozdev.org 2968149819 Bug 586731 jsd_NewSourceText leaks new_url_string ifndef LIVEWIRE
r=biesi
2011-03-28 16:49:16 -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