Commit Graph

1742 Commits

Author SHA1 Message Date
Ms2ger
e5eac232d0 Merge inbound to m-c. 2013-10-20 10:40:40 +02:00
Ms2ger
2ff7c10052 Bug 923395 - Part b: Remove makefiles that only set LOCAL_INCLUDES and DEFINES; r=gps 2013-10-20 09:25:19 +02:00
Andrew McCreight
45c94c7843 Bug 923486, part 2 - Define NS_IsMainThread out-of-line in ASAN builds. r=ehsan 2013-10-03 11:58:41 -07:00
Andrew McCreight
ed66d6fc41 Bug 923486, part 1 - Harmonize ordering of definitions of NS_IsMainThread(). r=ehsan 2013-10-17 06:24:30 -07:00
Ehsan Akhgari
29efae9c22 Bug 928040 - Remove some prtypes.h inclusions from xpcom/; r=bsmedberg
--HG--
extra : rebase_source : 2f238320ba8330a27aa986af1146446dcb5d7128
2013-10-18 20:34:57 -04:00
Masatoshi Kimura
571b0da3ca Bug 925599 - Introduce version test functions using VerifyVersionInfo(). r=bbondy 2013-10-19 03:14:31 +09:00
Nathan Froyd
fac6a479ca Bug 925173 - don't depend on HAVE_64BIT_OS in FileUtils.cpp; use the standard __LP64__ macro instead; r=bsmedberg
This point in the code is Mac-specific, so we are free to use Mac-specific macros
here.  Just use __LP64__ instead of HAVE_64BIT_OS.
2013-10-09 17:15:53 -04:00
Birunthan Mohanathas
0cfca404c5 Bug 784739 - Switch from NULL to nullptr in xpcom/ (2/3); r=ehsan 2013-10-10 16:41:39 -04:00
Benjamin Smedberg
b5fb993e7f Bug 753687 - nsCategoryCache implementation doesn't free old category entries if their contract mapping is removed using .unregisterFactory. Store the factory objects directly in the map, instead of keeping both a map and a separate list. r=froydnj 2013-10-10 08:48:03 -04:00
Ms2ger
f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Andrew McCreight
69e40bc338 Bug 915488 - Make CC participant's Root, Unroot and Unlink methods infallible. r=smaug 2013-09-11 18:57:53 -07:00
Benoit Jacob
e5f7d1d148 Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel 2013-09-24 16:45:13 -04:00
Karl Tomlinson
9c5c00238e b=914033 add cycle collection helpers for nsTHashtable and nsRefPtrHashKey r=khuey
--HG--
extra : transplant_source : %5D%26%5C%A8%0A%AAg%FE%B57%F6%BChvl%FFg%F8%9E%C6
2013-09-24 13:47:30 +12:00
Kyle Huey
6baf345b3f Bug 919380: Disable threadsafety assertions when --enable-profiling is set. r=smaug 2013-09-24 09:53:40 +08:00
Ehsan Akhgari
769424ae11 Bug 918923 - Part 1: Fix the include-what-you-use pragmas in the string headers; r=bsmedberg 2013-09-23 13:23:56 -04:00
Joey Armstrong
dad034f5cd bug 882907: move SDK_LIBRARY to mozbuild. r=mshal 2013-09-20 18:00:48 -04:00
Benoit Jacob
229d2760cd Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-19 09:54:42 -04:00
Benoit Jacob
ba61b1281e Bug 913847 - split NS_IsMainThread and NS_GetMainThread into a new MainThreadUtils.h header - r=ehsan 2013-09-19 09:54:41 -04:00
Wes Kocher
d67c764568 Backed out changeset 4eb44a3149ed (bug 913847) 2013-09-18 17:19:23 -07:00
Wes Kocher
0b90687d1e Backed out changeset 040522aacba4 (bug 913847) 2013-09-18 17:18:56 -07:00
Benoit Jacob
5526ea7b69 Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Benoit Jacob
294691634b Bug 913847 - split NS_IsMainThread and NS_GetMainThread into a new MainThreadUtils.h header - r=ehsan 2013-09-18 18:50:32 -04:00
Joshua Cranmer
9a8d14b011 Bug 904985 - Use Char16.h in favor of NS_LL, Part 3: kill NS_LL. r=dbaron
--HG--
extra : rebase_source : bc105a8cbb87cc9b6b2db0734d9841fe599e794b
2013-09-17 22:43:21 -05:00
Joshua Cranmer
69250ebe86 Bug 904985, part 2: Use char16_t for NS_LITERAL_STRING, r=glandium, dbaron.
--HG--
extra : rebase_source : b4c9def93d907724fb4a1bc3f6279db87a11fb1f
2013-09-17 22:43:12 -05:00
Ehsan Akhgari
08499bf765 Bug 917348 - Part 1: Make NS_IMPL_CYCLE_COLLECTING_AGGREGATED build on non-debug configurations; r=bsmedberg
--HG--
extra : rebase_source : 4984cf31e6855b721dabb27315b4255179aa586d
2013-09-17 12:05:13 -04:00
Brian O'Keefe
916782e929 Bug 865673 - Convert objs.mk to objs.mozbuild. r=gps 2013-08-30 09:09:06 -04:00
Andrew McCreight
3047b2a24e Bug 912747 - Change nsCycleCollectionHoldDrop.h to mozilla/HoldDropJSObjects.h. r=khuey
--HG--
rename : xpcom/glue/nsCycleCollectionHoldDrop.h => xpcom/glue/HoldDropJSObjects.h
2013-09-10 08:29:43 -07:00
Mats Palmgren
2093e63d6e Bug 911283 - Introduce nsTArray::SetLengthAndRetainStorage which unlike SetLength does not deallocate/reallocate the internal storage. Use it in NS_FillArray. r=bsmedberg 2013-09-08 02:05:02 +00:00
Valentin Gosu
77d1d37b73 Bug 622728 - Add NS_NewRunnableMethodWithArg. r=bsmedberg 2013-09-06 21:29:24 -04:00
Ms2ger
cc64d2432b Bug 909953 - Introduce a HTMLAllCollection class; r=smaug 2013-09-06 08:41:42 +02:00
Robert O'Callahan
03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Andrew McCreight
01af9297c7 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Chris Peterson
775844e15d Bug 911425 - Fix -Wsign-compare warning in xpcom/glue/FileUtils.cpp. r=glandium 2013-08-07 22:52:41 -07:00
Kyle Huey
197c9dc222 Bug 907914: Turn on refcounting threadsafety assertions in opt trunk builds. r=bent 2013-08-30 10:06:37 -07:00
Justin Lebar
66f7416cab Bug 909977 - Rename mozilla::Move to mozilla::OldMove, and make mozilla::Move a synonym for std::move(). r=waldo
--HG--
extra : rebase_source : 7b3bb02cc8cbc0ad6721c6c3895564d9567b8ddb
2013-08-29 11:54:14 -07:00
Karl Tomlinson
a9d139bd75 b=903270 set thread name for initial event of NS_NewNamedThread() r=dougt
--HG--
extra : transplant_source : %E7%24%5Be%ED.%F3HH%9A%9E%02r%EB%29%CD%EDf%09%F1
2013-08-27 12:36:45 +12:00
Makoto Kato
584c783c77 Bug 901820 - Part 2. Remove nsCRT::strdup/nsCRT::strndup impl. r=bsmedberg 2013-08-22 19:32:11 +09:00
Ms2ger
913bab58b0 Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
3a103a7e9f Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Ms2ger
18cd92e9b4 Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey 2013-08-22 08:31:21 +02:00
Andrew McCreight
59208f6acc Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Nicholas Cameron
0514eb1ecd Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Wes Kocher
90c9ce278d Backed out changeset cfecdf10dcba (bug 614238) for b2g debug bustage on a CLOSED TREE 2013-08-20 15:47:28 -07:00
Andrew McCreight
41efd2023b Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Justin Lebar
b0df52ae5e Bug 906918 - Use MoveRef's in nsTHashtable. r=bsmedberg
This patch adds a move constructor for nsTHashtable and also lets
nsTHashtable use its EntryType's move constructor, if one is available.

This patch also adds move constructors for nsCharPtrHashKey and
nsUnicharPtrHashKey.  Using these new constructors, nsTHashtable will be
able to avoid strdup()'ing all of its keys whenever it resizes the
table.
2013-08-20 09:08:00 -07:00
Justin Lebar
9e4a6cea73 No bug - Fix comment in nsTHashtable.h so it no longer mentions PR_TRUE/PR_FALSE. r=me DONTBUILD 2013-08-15 16:33:54 -07:00
Trevor Saunders
c64e5ea4a3 bug 905418 - get rid of more static constructors in dom/bindings/ r=smaug 2013-08-14 18:04:24 -04:00
Nathan Froyd
4713a5db38 Bug 905149 - make mozilla::CallStack constexpr to avoid static constructors; r=ehsan 2013-08-14 09:43:36 -04:00
Ms2ger
30f4e6e119 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00