Commit Graph

287 Commits

Author SHA1 Message Date
Mike Hommey
50e6916b40 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
Magnus Melin
d441437825 Bug 964024 - mozTXTToHTMLConv should never convert content inside <style>, <script>, <head> tags. r=honzab 2014-02-08 12:39:00 +02:00
James Kitchener
e8e8898a14 Bug 1100184 - Flatten netwerk/streamconv/(public|src)/ directories. r=mcmanus, r=poiru 2015-01-03 17:42:00 -05:00
James Kitchener
6a912052bb Bug 1100184 - Flatten netwerk/base/{public,src}/ directories. r=mcmanus, r=poiru 2015-01-20 03:58:00 -05:00
Nicholas Nethercote
22e70962bf Bug 1123527 - Avoid a leak on realloc failure in nsMultiMixedConv.cpp. r=mcmanus. 2015-01-19 19:49:23 -08:00
Ehsan Akhgari
94aec5506b Bug 1119256 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=jduell 2015-01-14 17:57:08 -05:00
Chris Peterson
788b55997d Bug 1120159 - Replace nonstandard expression closure with an arrow function in file:// directory listing. r=mcmanus 2015-01-10 23:20:22 -08:00
Gijs Kruitbosch
21c91918f3 Bug 1061898 - fix ftp dir listing for windows long dates, r=jduell 2014-11-05 13:10:26 +00:00
Mike Hommey
21ec48314e 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
8fd95ad480 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
b2f0615820 Bug 1061052 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-09-02 09:49:38 -04:00
Birunthan Mohanathas
18084169ad Bug 1058669 - Expand NS_IMPL_GETSET macro in nsDirIndex. r=mayhemer 2014-08-29 13:38:45 -07:00
Dragana Damjanovic
fec0e6e81c 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
cbe32e4bb3 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
42f57b6138 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Mike Hommey
7ca0de0fb4 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
171507509c 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
5659a611dd 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
9ae3c48776 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
f30a054136 Bug 915024 - Add ForcePending for HttpChannel. r=jduell 2014-07-10 10:13:00 -04:00
Boris Zbarsky
f22144a471 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Steve Workman
ac69796b79 Bug 1034919 - Remove dangerous public destructor of nsTXTToHTMLConv r=mcmanus 2014-07-08 11:50:14 -07:00
Dragana Damjanovic
ac87e51f61 Bug 748117 - Make sure http channel is pending in OnStartRequest & OnDataAvailable r=jduell 2014-06-26 18:51:49 -07:00
Benoit Jacob
d51ba204fb Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Kevin Locke
8f3e17fe4e Bug 961346 - Fix FTP date parsing of midnight for DOS format. r=mcmanus 2014-06-20 12:44:41 +09:00
Mike Hommey
4111d2d843 Bug 1014976 - Remove MOZ_NO_DEBUG_RTL define in netwerk/streamconv/test. r=mshal 2014-05-30 09:39:27 +09:00
Birunthan Mohanathas
016d46e5f3 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Andrew McCreight
27f0eee9f8 Bug 971264 - Remove nsHashtable. r=bsmedberg 2014-05-15 09:52:57 -07:00
Henri Sivonen
97f4c4b92d Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Mark Banner
740f2eb195 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
63f58bd4f6 Bug 972593 - Convert nsStreamConverterService hashtables to something modern. r=mcmanus 2014-04-30 09:39:34 -07:00
Birunthan Mohanathas
504b581650 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
85d978861c 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
a243cc635c Bug 989576 - Followup, stop using mParser->GetEncoding(). r=neil 2014-04-03 16:24:21 +09:00
Masatoshi Kimura
f7381b19ca 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
58ffcd40da 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
796cac04bf Backed out changeset 18f95fb1d866 (bug 948901) for breaking OSX m-oth 2014-03-25 18:20:40 -07:00
Neil Rashbrook
4a9c92e4e7 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
803708b41f Bug 975823, part 13 - Make BFSTableData::predecessor into an AutoPtr. r=mcmanus 2014-03-21 09:43:41 -07:00
Andrew McCreight
93825660be Bug 975823, part 12 - Inline BFSState into BFSTableData. r=mcmanus 2014-03-21 09:43:41 -07:00
Andrew McCreight
853524aba1 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
0c0fa2de38 Bug 975823, part 10 - Substitute two SCTableData local vars. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
cf149139c6 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
eab9d40979 Bug 975823, part 8 - Inline nsStreamConverterService::Init which is now infallible. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
7171ca6981 Bug 975823, part 7 - Replace SCTableData with a typedef. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
4f8f91e347 Bug 975823, part 6 - Remove unneeded indirection in SCTableData. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
298981616b 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
781235129d Bug 975823, part 4 - SCTableData doesn't use its key field. r=mcmanus 2014-03-21 09:43:40 -07:00
Andrew McCreight
cec6aa16d2 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
da4cc1a1de Bug 975823, part 2 - Take advantage of infallible new in nsStreamConverterService. r=mcmanus 2014-03-21 09:43:39 -07:00