Ehsan Akhgari
f6e13076f5
Bug 945592 - Convert the type macros in nsTextFormatter.cpp to enum values; r=froydnj
2013-12-03 15:41:25 -05:00
Ehsan Akhgari
ac94bf0c75
Bug 945118 - Build more of XPCOM in unified mode; r=glandium
2013-12-01 10:47:52 -05:00
Landry Breuil
d37a93b867
Bug 944410 - add missing #include <stdarg.h> for va_list on OpenBSD after bug 942483 r=bgirard
2013-11-30 13:48:34 +01:00
Mike Hommey
fdd3247a81
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2f727b6d62
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
b038245b8d
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Jacek Caban
508bdb6c1f
Bug 928351 - Char16.h and xpcom/strings/public parts r=ehsan,Waldo
2013-11-27 14:40:54 +01:00
Markus Stange
5f2fccf8a8
Bug 924103 - Add a FilterDescription data structure and code that can create FilterNodes from it. r=roc
2013-11-27 12:25:28 +01:00
Andrew McCreight
eaa17634f8
Bug 931738 - Remove nsPurpleBufferEntry from nsISupportsImpl.h. r=smaug
2013-11-26 14:29:59 -05:00
Benjamin Smedberg
09c0296c7a
Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj
...
--HG--
extra : rebase_source : f84278dfbba92c6d75458b525a559b6f8598500f
2013-11-25 15:06:17 -05:00
Benoit Girard
74c90d1629
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Ehsan Akhgari
63b20edcc2
Bug 941405 - Remove the usages of the register keyword from XPCOM; r=froydnj
2013-11-21 10:42:40 -05:00
Ryan VanderMeulen
c0e471c6b2
Backed out changeset 4887ddabba31 (bug 939231) for mochitest hangs.
...
CLOSED TREE
2013-11-21 09:39:38 -05:00
Nathan Froyd
a0e488bb67
Bug 940160 - constify the PLDHashTableOps struct in nsTHashtable::Init; r=ehsan
2013-11-18 21:34:53 -05:00
Ehsan Akhgari
ac44b37d03
Bug 939231 - Stop requiring trace-malloc for the deadlock detector; r=bent
...
The existing deadlock detector code uses the trace-malloc stack walking
facilities, which is problematic for a few reasons.
1. It is only available in builds with --enable-trace-malloc, which is
not in the default build configuration.
2. It tries to capture a symbolicated stack trace every time that a lock
is acquired or released, which is really slow.
This patch changes the deadlock detector to use the XPCOM stack walking
and symbolification facilities, and avoids the symbolification until the
point where we need to print out the call stack, which makes the
deadlock detector a lot faster than it currently is in trace-malloc
builds.
2013-11-21 07:43:23 -05:00
Benjamin Smedberg
dca2c2b5ab
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
d866f6b84f
Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj
2013-11-19 16:27:36 -05:00
Benjamin Smedberg
f9d80661a4
Bug 672843 part A - Create the new macro NS_WARN_IF and deprecate NS_ENSURE_* in favor of the explicit warning/return style. Also localize each macro so that it's debug and non-debug versions are local in the file, because that makes it easier for new contributors to understand. r=froydnj sr=jst
2013-11-19 16:27:36 -05:00
Jim Blandy
7cf9e41fc9
Bug 896100: Convert all uses of OldMove and MoveRef to true rvalue references and the modern Move and Forward. r=luke, r=waldo
2013-11-19 09:05:36 -08:00
Ehsan Akhgari
fbd7944f83
Bug 936912 - Build xpcom in unified mode; r=froydnj
2013-11-18 21:34:00 -05:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Joshua Cranmer
4568b8f835
Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan
...
--HG--
extra : rebase_source : 4c44e60c72e0ece3cea7ed1cf79079bd2a1b6487
2013-11-12 18:22:38 -06:00
Olli Pettay
721a4ec61c
Bug 937303 - Make CC logger to pass information about compartments, r=mccr8
2013-11-12 15:53:51 +02:00
Wes Kocher
7a98b79072
Backed out changeset 3d769520a0be (bug 937303) for build bustage
2013-11-11 14:50:00 -08:00
Olli Pettay
f6aefae288
Bug 937303 - Make CC logger to pass information about compartments, r=mccr8
...
--HG--
extra : rebase_source : 48545d4c83d88f34773ca84e542aa13316ca38c6
2013-11-12 00:12:00 +02:00
Nicholas Nethercote
ae8608b5ae
Bug 933605 (part 2) - Don't declare all vars at the top of functions in pldhash.cpp. r=jorendorff.
...
--HG--
extra : rebase_source : 53da17b46bd986ceefbc66f23e43d2f5b7290fad
2013-10-31 22:33:29 -07:00
Nicholas Nethercote
14a6fa3009
Bug 933605 (part 1) - Remove DEBUG_XXXbrendan-only code. r=jorendorff.
...
--HG--
extra : rebase_source : 8ebc751e246cf133f899a8563e75f9bff77d9eda
2013-10-31 22:30:45 -07:00
Nicholas Nethercote
12f0e62ec1
Bug 933074 - Allow a pldhash to be reasonably overloaded if it cannot be grown further. r=jorendorff.
...
--HG--
extra : rebase_source : 0760f78d5332b4791899c1db649493eeca10b978
2013-10-30 18:22:31 -07:00
Nicholas Nethercote
9cd72931be
Bug 815467 - Store pldhash's recursionLevel in a better place, so that debug and non-debug pldhashes take up the same amount of memory. r=dbaron.
...
--HG--
extra : rebase_source : c3c928f6706be4ef55620f05320050991a657a6c
2013-10-30 15:10:06 -07:00
Ed Morley
4c8f0397a2
Backed out changeset 82d5d92a3eac (bug 915555) for build failures on a CLOSED TREE
2013-10-25 17:59:24 +01:00
Jeff Walden
a130aa5512
Bug 915555 - Don't redundantly cast an unnamed expression to an rvalue reference, because 1) it's dumb, and 2) gcc 4.4 warns about casting an rvalue reference to an rvalue reference (which is harmless due to C++11's rvalue semantics). f=hub, r=trivial
2013-09-12 10:55:14 -07:00
Cykesiopka
e0bcd6aebc
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Karl Tomlinson
479f466a6d
b=928222 move ReentrantMonitorAutoExit from VideoUtils.h to ReentrantMonitor.h r=bsmedberg
...
--HG--
extra : transplant_source : %13O%CF%90x%02%B8%B6%A3%EA%AD%03%99%9A7%1B%A0%21%C4%A3
2013-10-24 07:22:53 +13:00
Nathan Froyd
7efcdc0a70
Bug 927427 - use __LP64__ in FileUtils.cpp for Linux; r=bsmedberg
2013-10-16 11:14:05 -04:00
Nathan Froyd
fa82c2129e
Bug 929494 - use template typedefs, not inheritance, to define nsTArray element copiers; r=ehsan
...
There's no reason to use inheritance here, and using plain typedefs avoids massive
amounts of code duplication for the common case of copying with mem*. Code savings
on Android come in at about 570K (!), or ~2% of libxul .text size, which is a massive
win.
2013-10-22 10:36:34 -04:00
Nicholas Nethercote
bff6066f1d
Bug 927705 (part 2b) - Never overload pldhash past 75% full, because performance plummets near the end. r=jorendorff.
...
--HG--
extra : rebase_source : 7d3a0594e49ceb89550861debca03a40d3e479c1
2013-10-21 15:44:01 -07:00
Nicholas Nethercote
091ff4359a
Bug 927705 (part 2a) - Increase pldhash's max capacity from 1<<23 to 1<<26, and protect against uint32_t overflow when computing storage size. r=jorendorff.
...
--HG--
extra : rebase_source : 9293ec75e5ba8ad416d66ad6bf0c0788c0d35b02
2013-10-21 15:36:45 -07:00
Nicholas Nethercote
ff98ed6578
Bug 927705 (part 1) - Remove PL_DHashTableSetAlphaBounds() and the supporting machinery. r=jorendorff.
...
--HG--
extra : rebase_source : 0b97b3276ec91d417fcfc12fe871d93b0cbd2263
2013-10-20 20:17:48 -07:00
Ms2ger
39b292cc30
Merge inbound to m-c.
2013-10-20 10:40:40 +02:00
Ms2ger
88f73ee0bb
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
8cfa1d97d8
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
e9c045806a
Bug 923486, part 1 - Harmonize ordering of definitions of NS_IsMainThread(). r=ehsan
2013-10-17 06:24:30 -07:00
Ehsan Akhgari
b02212d91b
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
11b1ec2573
Bug 925599 - Introduce version test functions using VerifyVersionInfo(). r=bbondy
2013-10-19 03:14:31 +09:00
Nathan Froyd
2fdb664d3b
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
3926b031ae
Bug 784739 - Switch from NULL to nullptr in xpcom/ (2/3); r=ehsan
2013-10-10 16:41:39 -04:00
Benjamin Smedberg
d8185b20ac
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
df62fb8b0f
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
23fcdadf9b
Bug 915488 - Make CC participant's Root, Unroot and Unlink methods infallible. r=smaug
2013-09-11 18:57:53 -07:00
Benoit Jacob
89bfa53c22
Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel
2013-09-24 16:45:13 -04:00
Karl Tomlinson
974a9bece7
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
abd89523b8
Bug 919380: Disable threadsafety assertions when --enable-profiling is set. r=smaug
2013-09-24 09:53:40 +08:00
Ehsan Akhgari
ed7c8946ff
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
40610114be
bug 882907: move SDK_LIBRARY to mozbuild. r=mshal
2013-09-20 18:00:48 -04:00
Benoit Jacob
43fcdc2ede
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-19 09:54:42 -04:00
Benoit Jacob
4a4ba29eb1
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
774fbc25da
Backed out changeset 4eb44a3149ed (bug 913847)
2013-09-18 17:19:23 -07:00
Wes Kocher
ee41ec25e3
Backed out changeset 040522aacba4 (bug 913847)
2013-09-18 17:18:56 -07:00
Benoit Jacob
af97fdd40d
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-18 18:50:32 -04:00
Benoit Jacob
7b95f58c00
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
84029df5aa
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
0706184d74
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
d4b0483708
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
9e97c27fb4
Bug 865673 - Convert objs.mk to objs.mozbuild. r=gps
2013-08-30 09:09:06 -04:00
Andrew McCreight
dbad6e68d0
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
c400bd4602
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
0dddd3046e
Bug 622728 - Add NS_NewRunnableMethodWithArg. r=bsmedberg
2013-09-06 21:29:24 -04:00
Ms2ger
5be71d35ad
Bug 909953 - Introduce a HTMLAllCollection class; r=smaug
2013-09-06 08:41:42 +02:00
Robert O'Callahan
8ca63f18ef
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
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Andrew McCreight
3228f67147
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Chris Peterson
fff1c3cb92
Bug 911425 - Fix -Wsign-compare warning in xpcom/glue/FileUtils.cpp. r=glandium
2013-08-07 22:52:41 -07:00
Kyle Huey
60f633a49e
Bug 907914: Turn on refcounting threadsafety assertions in opt trunk builds. r=bent
2013-08-30 10:06:37 -07:00
Justin Lebar
c7f8e10a8a
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
0a31758810
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
702e288137
Bug 901820 - Part 2. Remove nsCRT::strdup/nsCRT::strndup impl. r=bsmedberg
2013-08-22 19:32:11 +09:00
Ms2ger
dd3ed79f0d
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
4d0ead0110
Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium
2013-08-22 08:56:01 +02:00
Ms2ger
584215995c
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
7d570ca8f9
Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug
2013-08-19 13:49:58 -07:00
Nicholas Cameron
9b7d0b4cf3
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Wes Kocher
92ceb858c6
Backed out changeset cfecdf10dcba (bug 614238) for b2g debug bustage on a CLOSED TREE
2013-08-20 15:47:28 -07:00
Andrew McCreight
9185144b2e
Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug
2013-08-19 13:49:58 -07:00
Justin Lebar
1249eec25e
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
3fbe9126f8
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
42abbb9e41
bug 905418 - get rid of more static constructors in dom/bindings/ r=smaug
2013-08-14 18:04:24 -04:00
Nathan Froyd
ad70f8a33e
Bug 905149 - make mozilla::CallStack constexpr to avoid static constructors; r=ehsan
2013-08-14 09:43:36 -04:00
Ms2ger
3d504dcb66
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
c2315a28ab
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ehsan Akhgari
dcc5877fbb
Bug 904121 - Do not include nsIMemory in nsMemory.h; r=vlad
...
--HG--
extra : rebase_source : b525ab299eeefdd39f6e919c8a0c6407f9bac209
2013-08-12 17:44:56 -04:00
Kyle Huey
4a3a71e3f0
Bug 904143: Remove nsISupports inheritance from PromiseResolver. r=smaug
2013-08-13 10:46:18 -07:00
Kyle Huey
8ef412bec4
Bug 901630: Remove support for the cc thread. r=mccr8
2013-08-13 10:45:32 -07:00
Phil Ringnalda
26893fc5ad
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
f639add88a
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Trevor Saunders
b2dc01f1a7
bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium
2013-08-08 20:12:37 -04:00
Nicholas Nethercote
85a4285e04
Bug 902062 - Convert PL_DHASH_ENTRY_IS_* macros to inline functions. r=ehsan.
...
--HG--
extra : rebase_source : 7be2f1bb51852c3ed0c07b777ff21a92e133412d
2013-08-07 15:28:33 -07:00
Kartikaya Gupta
fe73fcef97
Bug 901187 - Send printf_stderr output to Visual Studio console if it is attached. r=bsmedberg
2013-08-02 17:32:48 -07:00