Commit Graph

3564 Commits

Author SHA1 Message Date
Avi Halachmi
c113be7b48 Bug 590422: Remove delay line filter from timer thread. r=bz 2013-02-20 20:21:09 +02:00
Fabrice Desré
a6cf6fb434 Bug 848615 - B2G: IPC's nsStringBuffer leak r=bent 2013-03-13 22:55:25 -07:00
Benjamin Smedberg
e05ed14ed9 Bug 684887 part B - make a SafeMutex which should crash if you try to recursively lock it, instead of deadlocking. r=bent
--HG--
extra : rebase_source : 694c5cd571e5802ce5e5af4ea03b9edc7e6fb8d4
2013-03-13 16:39:53 -04:00
Benjamin Smedberg
17e862a802 Bug 684887 part A - Make the XPCOM component manager non-reentrant, and make sure that nsFactoryEntry.mFactory is protected by it, r=cjones
--HG--
extra : rebase_source : f6a458a98c53f8a7490bc621095029e9446d4775
2013-03-13 16:39:28 -04:00
Jeff Walden
0bfefb7eed Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Gabriele Svelto
09be4479db Bug 850607 - Properly react to changes to the 'memory.free_dirty_pages' preference. r=jlebar 2013-03-13 12:24:04 +01:00
Gregory Szorc
2c3e072f0a Merge mozilla-central into inbound 2013-03-13 09:03:20 -07:00
Gregory Szorc
ed102f4876 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
8b4f575df1 Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium 2013-03-12 10:20:41 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Ted Mielczarek
3c3453db11 bug 751673 - fix Windows assertion stacks. r=dbaron
--HG--
extra : rebase_source : b74882bb3914afaa44341088b9f737c909e88f65
2013-03-11 14:21:53 -04:00
Ryan VanderMeulen
f11783b460 Backed out changeset 948da26ff5a0 (bug 840673) for frequent Android ts timeouts on a CLOSED TREE. 2013-03-12 21:40:30 -04:00
Kyle Huey
c0cec0dc5b Bug 849654: Kill nsDataHashtableMT. r=bsmedberg 2013-03-12 14:26:57 -07:00
Kyle Huey
78da976891 Bug 840673: Shut down the timer before shutting down the thread, so that spinning the event loop while shutting down the thread does not cause us to see the timer firing and reenter. r=bent 2013-03-12 13:45:23 -07:00
Zack Weinberg
68dac0c8ba Bug 847181: prune unused printing-related nsresult codes, make printing error codes available in Components.results, and improve English of printing error messages. r=smaug 2013-03-08 21:45:14 -05:00
Benjamin Smedberg
34bfd48b1d Bug 863263 part A - Modify some code in nsReadableUtils to support fallible and infallible variations of AppendUTF8toUTF16, r=jlebar 2013-03-08 12:27:58 -05:00
Justin Lebar
1bab22b636 No bug - s/bool/booleans/ in an error message in xpidl.py. r=me
The boolean type in XPIDL is "boolean" not "bool", so this error message was misleading.
2013-03-08 11:48:41 -05:00
Rafael Ávila de Espíndola
ebd20e8ade Bug 848020 - Do we really have to poison NtFlushBuffersFile? r=BenWa. 2013-03-07 15:28:05 -05:00
Rafael Ávila de Espíndola
e9b5bec1b1 Bug 847468 - Poison NtWriteFileGather. r=BenWa.
--HG--
extra : rebase_source : 23ad1eec802f547504e08aa5dc8e7d90b2bf0708
2013-03-07 10:02:33 -05:00
Gregory Szorc
58b7ec0116 Bug 818246 - Part 1: Remove unncessary definitions of XPIDL_MODULE; r=glandium
XPIDL_MODULE defaults to MODULE. These Makefile.in were setting
XPIDL_MODULE to the same value as MODULE.

--HG--
extra : rebase_source : e96bd34d5949d0ab94cecbec35d6c9f4bffec01e
2013-03-07 05:03:51 -08:00
Nicholas Nethercote
cc8a28de9e Bug 847248 (part 2) - Use a smaller chunk size in TimerEventAllocator. r=bz. 2013-03-03 18:50:06 -08:00
Nicholas Nethercote
4f0d1f0c41 Bug 847248 (part 1) - Improve documentation and reduce slop potential of nsFixedSizeAllocator. r=bz.
--HG--
extra : rebase_source : 31f6430e382605291cb79b1b810efb10aa4da1da
2013-03-03 18:42:41 -08:00
Rafael Ávila de Espíndola
a6fbf73aff Bug 848036 - Move poisoning after NS_XPCOM_SHUTDOWN_LOADERS_OBSERVER_ID. r=BenWa.
--HG--
extra : rebase_source : 06f7625a901f1b69b5850ae76c9ff24e99081173
2013-03-06 16:04:58 -05:00
Rafael Ávila de Espíndola
233d055f56 Bug 846471 - Poison NtWriteFile. r=BenWa. 2013-03-06 10:11:57 -05:00
Trevor Saunders
2de09e4e6b bug 846619 - add some static checking for use of _INHERITED cc class macros r=smaug 2013-02-28 18:11:18 -05:00
Ehsan Akhgari
3b20d99b2b Bug 799142 - Make sure that the allocator for nsTimerEvent objects stays around long enough to deallocate all outstanding objects of that type; r=bsmedberg 2013-03-04 19:04:59 -05:00
Ehsan Akhgari
5eb0209309 Backed out 2 changesets (bug 799142) because of memory leaks
Backed out changeset a0cf0252cee4 (bug 799142)
Backed out changeset 7b1bb476bd8d (bug 799142)
2013-03-04 15:48:04 -05:00
Rafael Ávila de Espíndola
04e06dc3d1 Bug 847492 - Don't special case stdin and stdout. r=BenWa.
--HG--
extra : rebase_source : 58a609481abcf040ad2a2e6a0971853cac9fe91d
2013-03-04 14:06:19 -05:00
Ehsan Akhgari
1b5b95cafb Bug 799142 follow-up: build bustage fix
landed on a CLOSED TREE
2013-03-04 14:41:54 -05:00
Ehsan Akhgari
1190c8b8d6 Bug 799142 - Make sure that the allocator for nsTimerEvent objects stays around long enough to deallocate all outstanding objects of that type; r=bsmedberg 2013-03-04 14:24:05 -05:00
Jeff Walden
bf23cd54f1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Kyle Huey
7f0da9e89b Bug 849654: Kill nsClassHashtableMT. r=bsmedberg 2013-03-12 13:33:40 -07:00
David Zbarsky
94121eca1a Bug 847239 - Mark SeekableStreamAtBeginning #ifdef DEBUG r=kinetik 2013-03-04 10:40:24 -05:00
Aaron Klotz
a66b11d089 Bug 845907: Adds generic ReadAhead functions r=glandium 2013-03-03 18:56:03 -07:00
Aaron Klotz
4cdabac656 Backed out a40244b87c7a (bug 845907) 2013-03-02 17:08:05 -07:00
Aaron Klotz
fcb29882fd Bug 845907: Adds generic ReadAhead functions r=glandium 2013-03-02 16:13:38 -07:00
Igor Bukanov
6e38ffd2b4 Bug 743436 - remove XPCJSRuntime::mJSCycleCollectionContext and related code. r=peterv
The patch removes no longer used XPCJSRuntime::mJSCycleCollectionContext,
nsXPConnect::mCycleCollectionContext and related code to create/destroy
contexts. As that made nsCycleCollectionJSRuntime::FinishTraverse() empty
in all cases I removed that method as well.
2013-02-27 11:33:12 -08:00
Kartikaya Gupta
63723cb5e9 Bug 845804 - Reuse OpenTempFile from nsMemoryInfoDumper in nsCycleCollector.cpp. r=njn
CLOSED TREE
2013-03-01 10:41:17 -05:00
Ed Morley
bb4c7b9abe Backed out changeset 1eda65741914 (bug 845804) for xpcshell failures on a CLOSED TREE 2013-03-01 17:31:38 +00:00
Kartikaya Gupta
3fef252deb Bug 845804 - Reuse OpenTempFile from nsMemoryInfoDumper in nsCycleCollector.cpp. r=njn 2013-03-01 10:41:17 -05:00
Carl X. Su
c49bdfc83e Bug 365367 - NS_CONSOLEMESSAGE_CONTRACTID removed because it is never used. r=bsmedberg 2013-03-01 05:22:56 +08:00
Rafael Ávila de Espíndola
b528d8113c Bug 846298 - Misc cleanups to the write poisoning base/OS split. r=BenWa. 2013-02-28 16:35:18 -05:00
Brian R. Bondy
74c3d24e59 Bug 845571 - Turn on console debug logging when running in Metro. r=jimm 2013-02-28 16:10:17 -05:00
Rafael Ávila de Espíndola
8419107bb7 Bug 845613 - Locking issues in the write poisoning code. r=BenWa.
--HG--
extra : rebase_source : 49cbd361b1cd22e7d47546ec1c0292674b156f07
2013-02-28 11:34:58 -05:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
a8e6b873d4 Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
Trevor Saunders
e49a019dfb bug 842078 - fix iteration of mChildrenList r=smaug 2013-02-20 16:33:44 -05:00
Cykesiopka
8c5e6b3f99 Bug 267598 - Fix some comments and arg names in nsISupportsUtils.h. r=bsmedberg 2013-02-27 09:23:54 -05:00
Kartikaya Gupta
b2351dc830 Bug 845342 - Move about:memory and related dump files to the downloads dir on android. r=njn 2013-02-27 08:58:29 -05:00
Cykesiopka
bb8609bee7 Bug 326317 - Fix issues with comments in nsTSubstring.h. r=dbaron 2013-02-25 09:07:15 -05:00
Ryan VanderMeulen
856d73efad Backed out changeset 00ed3d264438 (bug 590422) for OSX browser-chrome failures on a CLOSED TREE. 2013-02-26 22:05:51 -05:00
Daniel Holbert
a0b3810689 Bug 845527: Use nsCOMArray::Length() instead of Count() for comparison vs. unsigned index in nsMemoryReporterManager. r=jlebar 2013-02-26 14:25:38 -08:00
Kyle Huey
409e1cc43d Bug 845441: Remove DEBUG_CC. r=mccr8 2013-02-26 13:34:32 -08:00
Avi Halachmi
52e3b9ba5e Bug 590422: Remove delay line filter from timer thread. r=bz 2013-02-20 20:21:09 +02:00
Justin Lebar
a9c8386f3a Bug 844820 - Fix two benign races in nsTArray around sEmptyHdr. a=bz 2013-02-26 11:24:41 -05:00
Jonathan Kew
5219b8ae03 backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Bill McCloskey
c330d96d13 Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley) 2013-02-21 18:23:47 -08:00
L. David Baron
a81cbb3e59 Bug 790589: Document the MOZ_CC_LOG_DIRECTORY environment variable. r=smaug 2013-02-21 18:10:59 -08:00
Ryan VanderMeulen
9af6f0a1e3 Merge m-c to inbound. 2013-02-19 12:46:19 -05:00
Lukas Blakk
6f45ecd5cc Merging in version bump NO BUG CLOSED TREE 2013-02-19 09:35:19 -08:00
Boris Zbarsky
25deb6d78c Bug 839088 part 1. Add a way to throw a JS::Value on an ErrorResult. r=peterv 2013-02-19 11:54:40 -05:00
Ehsan Akhgari
05344173dd Fix the documentation of TimerEventAllocator threading expectations, no bug, DONTBUILD 2013-02-18 21:13:26 -05:00
Peter Van der Beken
490e9a4afd Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Rafael Ávila de Espíndola
3dfb377a53 Bug 841145 - use MOZ_SHUTDOWN_CHECKS to control what we do with late writes. r=vladan. 2013-02-15 08:08:19 -05:00
Trevor Saunders
30a06ffbf3 bug 834894 - remove NS_IMPL_CYCLE_COLLECTION_NATIVE_x macros r=mccr8 2013-01-16 23:36:02 -05:00
Nathan Froyd
a42ee4c598 Bug 835646 - remove NS_{GET,PUT}_{FLOAT,DOUBLE}; r=bsmedberg 2013-01-28 21:20:01 -05:00
Rafael Ávila de Espíndola
5308cd3d2a Bug 840758 - Get the profile directory earlier. r=BenWa. 2013-02-13 13:53:21 -05:00
Boris Zbarsky
002618e54d Bug 618479 part 2. Use binary, not linear, search to determine timer insertion locations. r=brendan 2013-02-13 10:11:53 -05:00
Boris Zbarsky
880e764352 Bug 618479 part 1. Clean up the nsTArray binary-insert code a little bit. r=jlebar,kinetik 2013-02-13 10:11:53 -05:00
Rafael Ávila de Espíndola
4f71ab18da Revert fa1f52704c9e. r=bustage.
--HG--
extra : rebase_source : 0902425782990758102c17fbfb6918b36aba39af
2013-02-13 08:54:32 -05:00
Rafael Ávila de Espíndola
5dc1ccd3a0 Bug 840758 - Get the profile directory earlier. r=BenWa. 2013-02-13 08:08:40 -05:00
Jacek Caban
865b3c2ae1 Bug 822490 - Include cstdlib for std::abs (GCC fixup) 2013-02-13 13:33:57 +01:00
Rafael Ávila de Espíndola
7e3da31b34 Bug 840633 - style fix. r=smaug. 2013-02-12 14:43:52 -05:00
Wan-Teh Chang
09e29abdc2 Bug 807883: Use the new PL_SizeOfArenaPoolExcludingPool function
in NSPR 4.9.6. Portions of the patch were written by Nicholas
Nethercote <n.nethercote@gmail.com>. r=n.nethercote.
2013-02-12 08:54:38 -08:00
Aaron Klotz
7b99df31f9 Bug 838279 - Add isWow64 field to system info and to telemetry. r=bsmedberg 2013-02-11 20:49:33 -05:00
Honza Bambas
f15437c70d Bug 827287 - make it possible to use TimeStamp without performance concerns (TimeStamp::NowLoRes), r=ehsan, sr=roc 2013-02-11 22:56:59 +01:00
Honza Bambas
b2f0520748 Bug 822490 - Radically simplify windows TimeStamp implementation, r=tellrob 2013-02-11 22:56:58 +01:00
Chris Peterson
539e783497 Bug 839962 - Part 2: Replace some XPCOM thread NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg 2013-02-07 21:54:20 -08:00
Chris Peterson
481aeddb5f Bug 839962 - Part 1: Replace some XPCOM refcount NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg 2013-02-07 20:50:05 -08:00
Rafael Ávila de Espíndola
151a95c624 Bug 704030 - Make the "all connections closed" check available on non debug builds. r=vladan.
--HG--
extra : rebase_source : 6f39e1e00b39e7356d29c4f5e3f77fa51ba49a16
2013-02-11 12:05:59 -05:00
Jim Mathies
206885bb40 Bug 837932 - Update dir svc media paths for Win7 and up - media dirs should point to Library default save locations. r=bsmedberg 2013-02-11 13:03:54 -06:00
Jeff Walden
15f60ef632 Rename the |static const bool result| member of IsSame, IsPod, and IsPointer to |value| to be consistent with every other type trait. I have no idea how I managed to consistently not notice this during review. Followup to bug 723228, r=typo 2013-02-08 22:59:54 -08:00
Razvan Cojocaru
15c13f8d76 Bug 723228 - nsTArray::AssignRange should use memcpy when possible. r=jlebar for the XPCOM changes, r=jwalden for js/mfbt changes
--HG--
extra : rebase_source : 2442a0d29ae0fa7edd0312d980cbc270a4f33134
2013-02-08 13:18:49 -08:00
Trevor Saunders
b88a8e6cb9 bug 838565 - cc taf and nsFind r=smaug 2013-01-31 18:46:24 -05:00
Rafael Ávila de Espíndola
27cb203a7b Bug 834945 - GC triggers a late DB write during shutdown. r=vladan. 2013-02-06 16:45:38 -05:00
Neil Rashbrook
20c220f8b4 Bug 493711 Provide an nsTArray-like API for nsCOMArray r=sicking 2013-02-04 22:05:40 +00:00
Justin Lebar
6639b22228 Bug 833913 - Part 3: Switch nsMemoryReporterManager to using nsTHashtable. r=khuey,njn
This makes NS_RegisterMemoryReporter() and NS_UnregisterMemoryReporter()
O(1).  Previously, they took time linear to the number of registered
reporters.
2013-02-01 10:12:52 -05:00
Justin Lebar
c882a7379a Bug 833913 - Part 1: s/PR_TRUE/true in nsISimpleEnumerator.idl comment. r=bsmedberg 2013-02-01 10:12:52 -05:00
Jeff Walden
8f98ecc84c Bug 836438 - Always implement nsresult using an unsigned 32-bit integer type. r=ehsan
--HG--
extra : rebase_source : f9d9d7772decee36a27ef09eb018b9912bf7bf6b
2013-01-30 15:32:44 -08:00
Jeff Walden
582b2e961d Bug 835648 - Move typed enum support to a new header. r=Ms2ger 2013-01-28 16:33:17 -08:00
Jeff Muizelaar
be688a687b Bug 835470. Add operator== for char_type. r=bsmedberg
Just a matter of hooking it up to Equals().
QString, std::string, WTFString all have these.

--HG--
extra : rebase_source : b6046c6fafc4224132462cdbf88f8e72e701b333
2013-01-29 14:51:46 -05:00
Benjamin Smedberg
c5ae1d725f Bug 831428 - Console listeners should not require a threadsafe addref/release method if they are only used from the main thread, r=jlebar 2013-01-29 11:02:56 -05:00
Nils Maier
9ccd762177 Bug 761552 - Part 1: Provide UTF8ToUnicode functions accepting a buffer. r=jlebar
UTF8ToUnicode does not let the caller specify the buffer to use, but allocates
the buffer on it's own. Hence the caller cannot choose which allocator to use.
Rectify this by providing new APIs.

1. Split UTF8ToNewUnicode into:
   - CalcUTF8ToUnicodeLength
   - UTF8ToUnicodeBuffer
2. Rebuild UTF8ToNewUnicode using the new functions
2013-01-29 10:50:04 -05:00
Ryan VanderMeulen
dd286ff0cd Merge m-c to inbound. 2013-01-29 10:50:01 -05:00
Boris Zbarsky
ce4c3cbc12 Bug 834877 part 4. Add overloads of GetAttr() and GetId() that take a DOMString. r=peterv 2013-01-29 09:42:14 -05:00
Olli Pettay
04f89eb353 Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8 2013-01-29 12:45:38 +02:00
Bill McCloskey
8544cb4e1d Bug 751618 - Add js/GCAPI.h (r=terrence) 2013-01-27 12:35:12 -08:00