Commit Graph

194 Commits

Author SHA1 Message Date
Gregory Szorc
adf19d10b9 Bug 1132771 - Support and test for reading without a config object; r=glandium
We want the ability to read data from any moz.build file without needing
a full build configuration (running configure). This will enable tools
to consume metadata by merely having a copy of the source code and
nothing more.

This commit creates the EmptyConfig object. It is a config object that -
as its name implies - is empty. It will be used for reading moz.build
files in "no config" mode.

Many moz.build files make assumptions that variables in CONFIG are
defined and that they are strings. We create the EmptyValue type that
behaves like an empty unicode string. Since moz.build files also do some
type checking, we carve an exemption for EmptyValue, just like we do for
None.

We add a test to verify that reading moz.build files in "no config" mode
works. This required some minor changes to existing moz.build files to
make them work in the new execution mode.
2015-02-26 10:21:52 -08:00
James Kitchener
0463ec8f7b Bug 1100184 - Use absolute paths in /network local includes. r=gps 2015-01-16 20:41:06 +10:30
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
Daniel Stenberg
1515334cca Bug 1008091 - send network change events on FxOS and Linux, r=sworkman 2015-01-15 00:22:00 +01:00
Patrick McManus
109a20e4e7 bug 1024730 - nsIHttpPushListener r=hurley
co-author: ben brittain <ben@brittain.org>
2014-10-21 14:35:41 -04:00
Christoph Kerschbaumer
897fd1befa Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-15 19:11:45 -07:00
J. Ryan Stinnett
497d1586b4 Bug 242448 - Add a basic scriptable TLS server. r=honzab 2014-09-19 17:25:00 +02:00
Carsten "Tomcat" Book
5770d6687a Backed out changeset 23400439c1da (bug 242448) for breaking non-unified builds 2014-09-19 11:39:04 +02:00
J. Ryan Stinnett
38c0639c4d Bug 242448 - Add a basic scriptable TLS server. r=honzab 2014-09-18 08:13:00 +02:00
Patrick McManus
5e1b5f3e6e Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout 2014-07-24 10:05:36 -04:00
Mike Hommey
33ef4f2c39 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Steve Workman
2cabfdd5a8 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Steve Workman
ac69796b79 Bug 1034919 - Remove dangerous public destructor of nsTXTToHTMLConv r=mcmanus 2014-07-08 11:50:14 -07:00
Honza Bambas
0cca635028 Bug 1024635 - Add 'network' contract ID alias for the new cache service, r=bz 2014-06-13 01:45:43 +02:00
Jeremy Poulin
ab83f7f8dd Bug 1016622: Renaming mozilla::network::Seer to mozilla::network Predictor. r=hurley
--HG--
rename : netwerk/base/public/nsINetworkSeer.idl => netwerk/base/public/nsINetworkPredictor.idl
rename : netwerk/base/public/nsINetworkSeerVerifier.idl => netwerk/base/public/nsINetworkPredictorVerifier.idl
rename : netwerk/base/src/Seer.cpp => netwerk/base/src/Predictor.cpp
rename : netwerk/base/src/Seer.h => netwerk/base/src/Predictor.h
rename : netwerk/test/unit/test_seer.js => netwerk/test/unit/test_predictor.js
2014-06-03 13:37:46 -07:00
Robert O'Callahan
915297325e Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Patrick McManus
ccdef04300 bug 957093 - namespace consistency for netwerk/protocol/http r=sworkman
--HG--
extra : rebase_source : f5b1a5e92239003020e75019efbe78a636150b34
2014-01-07 17:05:56 -05:00
Jason Duell
3b0bd1832e Bug 945066: remote nsIDNSService to child. r=jdm
* * *
bug 945066. Fix windows bustage.  r=jduell
2013-12-11 11:03:51 -08:00
Carsten "Tomcat" Book
a7de8ea634 Backed out changeset 3072c9af15b3 (bug 945066) for fixing bustage on a CLOSED TREE 2013-12-11 11:51:35 +01:00
Jason Duell
78c1377587 Bug 945066: Make nsIDNSService work on child processes. r=jdm 2013-12-11 01:37:57 -08:00
Sumit Agrawal
663355f5a6 Bug 928321 - Implement a variant of safe-file-output-stream that doesn't flush by default. r=Yoric 2013-12-02 12:51:25 -05:00
Ms2ger
cbe8d3a7a4 Bug 937224 - Part g: Move LOCAL_INCLUDES to moz.build in netwerk/; r=mshal 2013-11-28 15:25:39 +01:00
Honza Bambas
9744cba15b Bug 917432 - hook to webapps-clear-data notification, r=michal 2013-11-20 23:20:16 +01:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Vincent Chang
1387a6e1c7 Bug 938072 - Follow-up to bug 935857 to replace MOZ_RTSP to NECKO_PROTOCOL_rtsp. r=glandium 2013-11-13 22:58:09 +08:00
Mike Hommey
668fe90971 Bug 935857 - Replace MOZ_RTSP with proper NECKO_PROTOCOL handling. r=gps,r=vchang 2013-11-12 07:52:33 +09:00
Birunthan Mohanathas
192d1ba4c1 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-11 14:17:14 -05:00
Carsten "Tomcat" Book
6c46faf206 merge b2g-inbound to mozilla-central 2013-11-07 15:50:39 +01:00
Matthew Gregan
f9f23a8559 Bug 935349 - Remove disabled DASH code. r=doublec 2013-11-07 17:08:30 +13:00
Shih-Chiang Chien
a3ff2ad0ac Bug 869869 - Part 1, change nsUDPServerSocket to nsUDPSocket, r=mcmanus.
--HG--
rename : netwerk/base/public/nsIUDPServerSocket.idl => netwerk/base/public/nsIUDPSocket.idl
rename : netwerk/base/src/nsUDPServerSocket.cpp => netwerk/base/src/nsUDPSocket.cpp
rename : netwerk/base/src/nsUDPServerSocket.h => netwerk/base/src/nsUDPSocket.h
2013-05-10 20:00:22 +08:00
Fabrice Desré
191e4bc75c Bug 924702 - Rewrite the app:// protocol handler in c++ r=jduell,mrbkap 2013-10-23 11:56:20 -07:00
Nicholas Hurley
6e67f40ff4 Bug 881804 (part 1) - Add support for predictive network actions. r=mcmanus f=honzab sr=biesi 2013-10-25 14:56:51 -07:00
Gregor Wagner
79cbe378a2 Backout bug 924702 for test failures.
--HG--
extra : transplant_source : %29%D1%A0%88%92%88%87%A3%21%8A%A1%90%F5%DFD%10%CE%DD%13%C3
2013-10-25 08:19:31 -07:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Carsten "Tomcat" Book
daa4f1689c Merge mozilla-inbound to Mozilla-Central 2013-10-24 07:05:29 +02:00
Fabrice Desré
2eec003711 Bug 924702 - Rewrite the app:// protocol handler in c++ r=jduell 2013-10-23 11:56:20 -07:00
Birunthan Mohanathas
de354c9745 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
--HG--
extra : rebase_source : 9335e9b4b0ac02e8066fbb79797bbc0d3fd73874
2013-10-23 16:36:09 -04:00
Benjamin Chen
03c4ac4845 Bug 831645 - Part1, Add Rtsp protocol and streaming protocol interface. r=jduell.mcbugs, sworkman 2013-09-23 18:12:11 +08:00
Josh Aas
7828b3eb52 Bug 925083: Remove support/code for nsIAppleFileDecoder. r=mcmanus 2013-10-11 02:32:47 -05: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
Ehsan Akhgari
d6e30ef303 Bug 918928 - Minimize the #includes in netwerk/base; r=mcmanus 2013-09-21 23:04:57 -04:00
Phil Ringnalda
6444cc88b4 Backed out 6 changesets (bug 881804) for frequent Android reftest and jsreftest timeouts
Backed out changeset 61972f55702b (bug 881804)
Backed out changeset 0a24b77d4ffb (bug 881804)
Backed out changeset 9fbcf4c3ab2b (bug 881804)
Backed out changeset 2d35068ec2f5 (bug 881804)
Backed out changeset 757790e5cd9f (bug 881804)
Backed out changeset d8a172fa4b20 (bug 881804)
2013-09-21 17:59:14 -07:00
Nicholas Hurley
3c97fdab69 Bug 881804 (part 1) - Add support for predictive network actions. r=mcmanus f=honzab sr=biesi 2013-09-20 15:24:06 -07:00
Honza Bambas
da53acf440 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Birunthan Mohanathas
79bf43a7d3 Bug 784739 - Switch from NULL to nullptr in netwerk/ (1/2); r=ehsan 2013-09-19 15:28:26 -04:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00