Commit Graph

279 Commits

Author SHA1 Message Date
Mike Hommey
d667f4bb59 Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey
fc99c53ae5 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ehsan Akhgari
3be29fea36 Bug 1061052 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-09-02 09:49:38 -04:00
Birunthan Mohanathas
76f19ef3f9 Bug 1058669 - Expand NS_IMPL_GETSET macro in nsDirIndex. r=mayhemer 2014-08-29 13:38:45 -07:00
Dragana Damjanovic
29ae85f646 Bug 1043256 - If unKnownDecoder needs to be used, Content_Encodings will be loaded before OnStartRequest is called on the listener. This makes an error in e10s because Content_Encodings will be loaded before HttpChannelParent can disable them. r=bagder 2014-08-13 10:52:00 -04:00
Mike Hommey
0f4c5d9244 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey
1e79fe55c2 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Mike Hommey
ad9b49263a 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
71623acdd6 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
e5c43ef995 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
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Dragana Damjanovic
764a21b4be Bug 915024 - Add ForcePending for HttpChannel. r=jduell 2014-07-10 10:13:00 -04:00
Boris Zbarsky
e8aa2f7514 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Steve Workman
ac10d5fc88 Bug 1034919 - Remove dangerous public destructor of nsTXTToHTMLConv r=mcmanus 2014-07-08 11:50:14 -07:00
Dragana Damjanovic
a025cf6b18 Bug 748117 - Make sure http channel is pending in OnStartRequest & OnDataAvailable r=jduell 2014-06-26 18:51:49 -07:00
Benoit Jacob
4180218bc7 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Kevin Locke
19395503a7 Bug 961346 - Fix FTP date parsing of midnight for DOS format. r=mcmanus 2014-06-20 12:44:41 +09:00
Mike Hommey
f78d114507 Bug 1014976 - Remove MOZ_NO_DEBUG_RTL define in netwerk/streamconv/test. r=mshal 2014-05-30 09:39:27 +09:00
Birunthan Mohanathas
411a8639b4 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Andrew McCreight
95687fc060 Bug 971264 - Remove nsHashtable. r=bsmedberg 2014-05-15 09:52:57 -07:00
Henri Sivonen
6a6cd36d81 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Mark Banner
2c0406341e Bug 972593, part 2 - Don't deref an always-null pointer in nsStreamConverterService::FindConverter. r=mcmanus 2014-05-02 16:12:32 +01:00
Andrew McCreight
7cea6286e4 Bug 972593 - Convert nsStreamConverterService hashtables to something modern. r=mcmanus 2014-04-30 09:39:34 -07:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Masatoshi Kimura
f91008434a Bug 997519 - Ensure that an valid encoding will be passed to nsTextToSubURI::UnEscapeAndConvert(). r=neil 2014-04-18 07:25:58 +09:00
Masatoshi Kimura
3982a3ce0f Bug 989576 - Followup, stop using mParser->GetEncoding(). r=neil 2014-04-03 16:24:21 +09:00
Masatoshi Kimura
b210f38c25 Bug 989576 - Restore removed code doing percent-encode for non-ASCII bytes. r=michal.novotny 2014-03-29 16:28:48 +09:00
Neil Rashbrook
1373d6ff37 Bug 948901 FTP directory listings need to support the Character Encoding menu r=mayhemer,michal 2014-03-28 08:32:56 +00:00
Wes Kocher
e3328da835 Backed out changeset 18f95fb1d866 (bug 948901) for breaking OSX m-oth 2014-03-25 18:20:40 -07:00
Neil Rashbrook
f4de454016 Bug 948901 FTP directory listings need to support the Character Encoding menu r=mayhemer,michal 2014-03-25 23:56:40 +00:00
Andrew McCreight
711f812b8a Bug 975823, part 13 - Make BFSTableData::predecessor into an AutoPtr. r=mcmanus 2014-03-21 09:43:41 -07:00
Andrew McCreight
2016935adb Bug 975823, part 12 - Inline BFSState into BFSTableData. r=mcmanus 2014-03-21 09:43:41 -07:00
Andrew McCreight
17e5685a84 Bug 975823, part 11 - BFSTableData only uses the state case of its union. r=mcmanus 2014-03-21 09:43:41 -07:00
Andrew McCreight
c40624eb03 Bug 975823, part 10 - Substitute two SCTableData local vars. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
f946453f2f Bug 975823, part 9 - No reason to store a pointer to the list, just store it inline. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
064ffd4923 Bug 975823, part 8 - Inline nsStreamConverterService::Init which is now infallible. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
97fbe13e38 Bug 975823, part 7 - Replace SCTableData with a typedef. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
2ae6596de8 Bug 975823, part 6 - Remove unneeded indirection in SCTableData. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
349b1f4556 Bug 975823, part 5 - SCTableData only uses the edges case of its union. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
c570740f97 Bug 975823, part 4 - SCTableData doesn't use its key field. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
83858323d4 Bug 975823, part 3 - Split SCTableData into two data types, one for each table. r=mcmanus 2014-03-21 09:43:39 -07:00
Andrew McCreight
a5be5679bf Bug 975823, part 2 - Take advantage of infallible new in nsStreamConverterService. r=mcmanus 2014-03-21 09:43:39 -07:00
Andrew McCreight
14d4a8fe82 Bug 975823, part 1 - Remove some trailing whitespace from nsStreamConverterService. r=mcmanus 2014-03-21 09:43:39 -07:00
Wes Kocher
edfe693bb7 Backed out 13 changesets (bug 975823) for leaks on a CLOSED TREE
Backed out changeset cd2da33bf4a2 (bug 975823)
Backed out changeset 62e2a43453f0 (bug 975823)
Backed out changeset 7f8366953cae (bug 975823)
Backed out changeset d46f1c00b4e5 (bug 975823)
Backed out changeset 3c36fb646951 (bug 975823)
Backed out changeset d535c32d3894 (bug 975823)
Backed out changeset 3f918acda96a (bug 975823)
Backed out changeset 6e2caad87673 (bug 975823)
Backed out changeset b550057222a2 (bug 975823)
Backed out changeset 24d9fe77f4e9 (bug 975823)
Backed out changeset 5be6da95a4b1 (bug 975823)
Backed out changeset b09d50f488c3 (bug 975823)
Backed out changeset ca381ebe34ae (bug 975823)
2014-03-19 17:45:28 -07:00
Andrew McCreight
bbc6a87d98 Bug 975823, part 13 - Make BFSTableData::predecessor into an AutoPtr. r=mcmanus 2014-03-19 16:57:49 -07:00
Andrew McCreight
65243fae71 Bug 975823, part 12 - Inline BFSState into BFSTableData. r=mcmanus 2014-03-19 16:57:49 -07:00
Andrew McCreight
ba617611ce Bug 975823, part 11 - BFSTableData only uses the state case of its union. r=mcmanus 2014-03-19 16:57:49 -07:00
Andrew McCreight
7873b503df Bug 975823, part 10 - Substitute two SCTableData local vars. r=mcmanus 2014-03-19 16:57:49 -07:00
Andrew McCreight
ad6791161d Bug 975823, part 9 - No reason to store a pointer to the list, just store it inline. r=mcmanus 2014-03-19 16:57:49 -07:00
Andrew McCreight
690e4856cd Bug 975823, part 8 - Inline nsStreamConverterService::Init which is now infallible. r=mcmanus 2014-03-19 16:57:48 -07:00