Commit Graph

12814 Commits

Author SHA1 Message Date
Mike Hommey
7cab62150a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey
95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey
6d6d400ea1 Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps 2014-07-23 13:29:44 +09:00
Mike Hommey
a33d7d67e6 Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Mike Hommey
622bf09730 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Eric Rahm
99c9bcaeba Bug 1038921 - Extend system memory reporter to report kgsl memory. r=njn 2014-07-21 17:25:21 -07:00
Birunthan Mohanathas
fbc73fc3b9 Bug 1041208 - Flatten chrome/{public,src}/ directories. r=mossop
--HG--
rename : chrome/src/Makefile.in => chrome/Makefile.in
rename : chrome/src/RegistryMessageUtils.h => chrome/RegistryMessageUtils.h
rename : chrome/src/nsChromeProtocolHandler.cpp => chrome/nsChromeProtocolHandler.cpp
rename : chrome/src/nsChromeProtocolHandler.h => chrome/nsChromeProtocolHandler.h
rename : chrome/src/nsChromeRegistry.cpp => chrome/nsChromeRegistry.cpp
rename : chrome/src/nsChromeRegistry.h => chrome/nsChromeRegistry.h
rename : chrome/src/nsChromeRegistryChrome.cpp => chrome/nsChromeRegistryChrome.cpp
rename : chrome/src/nsChromeRegistryChrome.h => chrome/nsChromeRegistryChrome.h
rename : chrome/src/nsChromeRegistryContent.cpp => chrome/nsChromeRegistryContent.cpp
rename : chrome/src/nsChromeRegistryContent.h => chrome/nsChromeRegistryContent.h
rename : chrome/public/nsIChromeRegistry.idl => chrome/nsIChromeRegistry.idl
rename : chrome/public/nsIToolkitChromeRegistry.idl => chrome/nsIToolkitChromeRegistry.idl
2014-07-19 12:43:38 -07:00
Birunthan Mohanathas
0c6b4675d1 Bug 1035884 - Template-ify nsWhitespaceTokenizer to remove duplicate code. r=froydnj 2014-07-18 14:52:29 -07:00
Birunthan Mohanathas
f8536cf3a0 Bug 1035884 - Template-ify nsCharSeparatedTokenizer to remove duplicate code. r=froydnj 2014-07-18 14:52:29 -07:00
Jeff Muizelaar
06de3f589e Bug 1039521 - nsTArray: Add an AppendElement take taking a r-value reference. r=froydnj
This lets us store UniquePtr's in nsTArrays

--HG--
extra : rebase_source : d7ea9ef710bd2451d0e2e9ba1aaefa9559315875
2014-07-18 09:43:42 -04:00
Jan Keromnes
f0379ce0c3 Bug 1035396 - Make Linux USS reporting 2x faster. r=nbp,njn 2014-07-21 18:23:49 -07:00
ffxbld
13e1f93153 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-07-21 14:19:15 -07:00
Bill McCloskey
d0e49be19d Bug 1040726 - Urgent message assertion in ProcessNextEvent shouldn't fire off the main thread (r=bsmedberg) 2014-07-18 09:16:15 -07:00
Bill McCloskey
c87bbeeeda Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-07-17 21:09:45 -07:00
Ehsan Akhgari
696561ed21 Bug 1040041 - Give FakeInputStream a private destructor; r=bjacob
--HG--
extra : rebase_source : 84714cdecb28b2dbbac6ffc98adfc079c8e87a2f
2014-07-17 16:48:00 -04:00
Ehsan Akhgari
b22accab74 Bug 1040042 - Give nsDirEnumerator a private destructor; r=bsmedberg
--HG--
extra : rebase_source : 31eb282adf3891323fc2295ffa69a04e7ec97301
2014-07-17 16:39:41 -04:00
Benjamin Smedberg
80cf96cd26 Bug 1033522 - Only initialize the Windows Group ID for plugin processes: other process types don't need it. Refactor the saved GRE dir to use a path rather than a non-threadsafe nsIFile object, r=jimm
--HG--
extra : rebase_source : d15c56da6cc5679516b259a6fc7efb31b070f715
2014-07-17 11:15:09 -04:00
Carsten "Tomcat" Book
3bf8efc62d Backed out changeset 3325b46334d9 (bug 988464) for xpcshell test failure 2014-07-17 08:49:57 +02:00
Randell Jesup
7385a3fcfb Bug 988464: log nsThreads still active at nsThreadManager::Shutdown() r=bsmedberg 2014-07-17 00:38:51 -04:00
Birunthan Mohanathas
a4ac396211 Bug 1038535 - Flatten caps/{idl,include,src}/ directories. r=bholley,gps
--HG--
rename : caps/src/DomainPolicy.cpp => caps/DomainPolicy.cpp
rename : caps/include/DomainPolicy.h => caps/DomainPolicy.h
rename : caps/idl/nsIDomainPolicy.idl => caps/nsIDomainPolicy.idl
rename : caps/idl/nsIPrincipal.idl => caps/nsIPrincipal.idl
rename : caps/idl/nsIScriptSecurityManager.idl => caps/nsIScriptSecurityManager.idl
rename : caps/src/nsJSPrincipals.cpp => caps/nsJSPrincipals.cpp
rename : caps/include/nsJSPrincipals.h => caps/nsJSPrincipals.h
rename : caps/src/nsNullPrincipal.cpp => caps/nsNullPrincipal.cpp
rename : caps/include/nsNullPrincipal.h => caps/nsNullPrincipal.h
rename : caps/src/nsNullPrincipalURI.cpp => caps/nsNullPrincipalURI.cpp
rename : caps/src/nsNullPrincipalURI.h => caps/nsNullPrincipalURI.h
rename : caps/src/nsPrincipal.cpp => caps/nsPrincipal.cpp
rename : caps/include/nsPrincipal.h => caps/nsPrincipal.h
rename : caps/src/nsScriptSecurityManager.cpp => caps/nsScriptSecurityManager.cpp
rename : caps/include/nsScriptSecurityManager.h => caps/nsScriptSecurityManager.h
rename : caps/src/nsSystemPrincipal.cpp => caps/nsSystemPrincipal.cpp
rename : caps/include/nsSystemPrincipal.h => caps/nsSystemPrincipal.h
2014-07-15 11:12:59 -07:00
Andrew McCreight
fa0eb3c609 Bug 1036629 - Take a deathgrip on the runnable passed to NS_DispatchToCurrentThread. r=bsmedberg
This will prevent a leak of the runnable if it is passed in with a refcount of zero and the dispatch fails.
2014-07-15 14:29:14 -07:00
Ehsan Akhgari
b05f9ad91b Bug 1038213 - Give nsTestComFactory a private destructor; r=bjacob 2014-07-15 14:58:34 -04:00
Ehsan Akhgari
1defb58838 Bug 1038150 - Make nsAnonTempFileRemover's destructor private and also remove the useless ctor/dtor counting macros; r=bjacob 2014-07-15 14:54:15 -04:00
Ehsan Akhgari
b505b3890c Bug 1038149 - Make nsDriveEnumerator's destructor private; r=bjacob 2014-07-14 21:47:36 -04:00
Ehsan Akhgari
992c52982c Bug 1038148 - Give LowEventsReporter a private destructor; r=bjacob 2014-07-14 21:47:01 -04:00
Boris Zbarsky
a0954ac75c Bug 857648 part 4. Add a formattedStack attribute on nsIStackFrame. r=khuey 2014-07-04 01:25:16 -04:00
Valentin Gosu
14c0879417 Bug 1036070 - Remove dangerous public destructor of VisualEventTracer r=froydnj 2014-07-13 21:16:55 +03:00
Kyle Huey
421f16973d Bug 1034304: Remove nsIDOMHTMLAudio/VideoElement. r=smaug 2014-07-12 19:20:42 -07:00
Jan de Mooij
2a7ce8f885 Bug 1034689 part 2 - Add AssignJSFlatString and use it. r=bz,terrence 2014-07-12 09:43:06 +02:00
Bobby Holley
de1ac1f4bd Bug 1036777 - Stop relying on useAllocator for 'in' string classes in ConvertIndependentParam. r=neil 2014-07-11 19:21:22 -07:00
Ed Morley
15de8c4224 Backed out changeset d89a7ed61c19 (bug 1035396) for asan failures 2014-07-11 15:58:21 +01:00
Jan Keromnes
d416feecc8 Bug 1035396 - Make Linux USS reporting 2x faster. r=nbp, r=njn 2014-07-11 05:03:00 -04:00
Jan de Mooij
cda5c814db Bug 1034627 part 6 - Fix XPCVariant to work with Latin1 strings and nursery strings. r=bholley
--HG--
extra : rebase_source : be029c174195192570da688250583157825e9e06
2014-07-11 09:38:55 +02:00
Mike Hommey
70a5917917 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Jon Coppeard
07673e8cf9 Bug 1034621 - Make it possible to configure nursery size r=terrence
--HG--
extra : rebase_source : 7bdf2b2b15712a31baa34501ef4adcfe0ef8bf7d
2014-07-11 09:59:05 +01:00
Carsten "Tomcat" Book
eb71d8cf86 Backed out changeset 110e44b996f8 (bug 1034627) for Valgrind Testfailures on a CLOSED TREE 2014-07-11 11:00:21 +02:00
Jan de Mooij
8ff8c31410 Bug 1034627 part 6 - Fix XPCVariant to work with Latin1 strings and nursery strings. r=bholley 2014-07-11 09:38:55 +02:00
Andrew McCreight
6b5301fe94 Bug 1033654 - Rename GCGraphBuilder to CCGraphBuilder. r=smaug 2014-07-09 21:31:00 +02:00
JW Wang
1b43816ed9 Bug 1033121 - Release |mTimer| in nsTimerEvent::Run() instead of ~nsTimerEvent() to avoid race. r=bz 2014-07-10 11:23:02 -04:00
Nathan Froyd
c599444402 Bug 1031352 - move most of the _MSC_VER references in Makefile.in to moz.build; r=glandium 2014-06-27 10:32:05 -04:00
Birunthan Mohanathas
68ba4f3767 Bug 1022456 - Convert xpcom/ds/ to Gecko style. r=froydnj 2014-07-09 08:15:21 -07:00
Birunthan Mohanathas
ae61ac3295 Bug 1035509 - Remove unused xpcom/ds/nsManifestLineReader.h. r=froydnj 2014-07-09 08:15:20 -07:00
Birunthan Mohanathas
b69dfc0d9a Bug 1035509 - Remove unused xpcom/ds/StringBuilder.h. r=froydnj 2014-07-09 08:14:43 -07:00
Jan Beich
c7cfdee5c9 Bug 1035747 - Fix dangerous public destructors specific to FreeBSD. r=bjacob 2014-07-08 05:21:00 +02:00
Shashank Sabniveesu
7c6ac09613 Bug 1019913 - If gBloatView fails, call |maybeUnregisterAndCloseFile()| on gBloatLog instead of setting it to NULL. r=nfroyd 2014-07-07 16:10:00 +02:00
Benoit Jacob
51673d1d22 Bug 1035394 - Add dangerous public destructor detection to _INHERITED refcounting macros - r=khuey 2014-07-08 17:23:18 -04:00
Benoit Jacob
4591b4f708 Bug 1035394 - Fix dangerous public destructors in xpcom - r=khuey 2014-07-08 17:23:17 -04:00
Jim Chen
e31d6feea5 Bug 1016441 - Switch to using real-time signal in ThreadStackHelper; r=snorp 2014-07-08 14:53:17 -04:00