Kris Maglione
29a9c0be12
Bug 1318371: Flush jar caches by path rather than creating a nsIFile in the content process. r=billm
...
MozReview-Commit-ID: 4J88w5lxEsP
--HG--
extra : rebase_source : af96201524bd1caeaf5c1ac2a80e47e8d3111590
extra : amend_source : 12f124c75cb035aa5326fad65cfb2325dc845a3d
2016-11-17 20:00:30 -08:00
Andrea Marchesini
9f4ca5a041
Bug 1310483 - Implement nsIURIWithQuery for having query part in simple URI, r=valentin
2016-11-14 13:04:33 +01:00
Gerald Squelart
0affeb4ab0
Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
...
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.
MozReview-Commit-ID: LXiZTu87Ck6
--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
Sebastian Hengst
3f0d668bb5
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: modules. r=RyanVM
...
MozReview-Commit-ID: 2tN5AOxZVvU
--HG--
extra : rebase_source : dc9c12b6669fcd72be5042ac19016d8924dcc2ad
2016-11-05 11:29:21 +01:00
Valentin Gosu
50857ff758
Bug 1307467 - Remove mAppURI from nsJARChannel r=bagder
...
MozReview-Commit-ID: CX9TMxY1qZM
--HG--
extra : rebase_source : 2fdb8ddcc0d1f47d28221c9ba7210a67e16bcdb1
2016-10-21 00:24:04 +02:00
Valentin Gosu
6f5671acdd
Bug 1307467 - Remove code that preopens and sends application.zip fd (bug 835698) r=bagder,baku
...
MozReview-Commit-ID: 5nER54Dq3eI
--HG--
extra : rebase_source : b37998bcaa17741dd8dd4d5d547e39d6650359be
2016-10-21 00:09:07 +02:00
Valentin Gosu
32a883b619
Bug 1307467 - Remove RemoteFileOpen, and all app:// related code from JAR channels. r=bagder
...
Removes things added in bug 815523
MozReview-Commit-ID: FuXQceHGLhf
--HG--
extra : rebase_source : 048132627fb1e7ef00a061c3173fdd049724936c
2016-10-21 00:08:57 +02:00
Michael Layzell
36e08437d0
Bug 1018486 - Part 8: Various other changes, r=smaug
...
MozReview-Commit-ID: B0dsomkWgEk
2016-09-07 10:50:45 -04:00
Nicholas Nethercote
8f84642d03
Bug 1296164 (part 2) - Use [must_use] on nsIFile.open{NSPR,ANSI}FileDesc(). r=froydnj.
...
The patch also changes RemoteOpenFileChild::OpenNSPRFileDesc() so that it
cannot succeed with a null fd, so that checking just the return value is
sufficient.
--HG--
extra : rebase_source : cc40bbcf2a9991edc9d3da3fb624d27db50b4996
2016-08-18 15:27:16 +10:00
Nicholas Nethercote
04be8d005a
Bug 1296164 (part 1) - Use [must_use] on nsIFile.{create,createUnique}. r=froydnj.
...
And fix numerous missing checks that this change identifies.
--HG--
extra : rebase_source : 97b0a6e8f9375c937dadb59c1110bb54b7633134
2016-08-18 13:30:12 +10:00
Dragana Damjanovic
67635a6600
Bug 1295636 - SetHostPort should reset the port if the host parameter does not have a port number. r=valentin, r=smaug
...
--HG--
extra : rebase_source : 2e63afd5708c55810206f9bc47b6f078a0824400
2016-08-17 23:25:00 -04:00
Nicholas Nethercote
ca40b738e4
Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
...
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.
The patch also removes a handful of redundant checks on infallible setters.
--HG--
extra : rebase_source : f82426e7584d0d5cddf7c2524356f0f318fbea7d
2016-08-12 15:19:29 +10:00
Thomas Wisniewski
6a1fb99d2b
Bug 709991 - Fire onerror instead of throwing on network errors for async XHRs. r=bz
2016-07-30 00:24:56 -04:00
Gijs Kruitbosch
61094e5a36
Bug 1280584 - implement cloneWithNewRef and thereby make hash/ref links use a simple unified codepath in the IO service, r=valentin
...
MozReview-Commit-ID: 8FIyclkJPDp
--HG--
extra : rebase_source : 49fb2b12488bd57a5417c7c3bff2211d651c5de7
extra : amend_source : d9940a1d9009930dc2f499417a7e1446d4601c20
2016-07-26 23:38:46 +01:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Kyle Huey
6baa905da7
Bug 1282527: Remove remaining PR_ASSERTs outside of NSPR/NSS. r=dbaron
...
--HG--
extra : rebase_source : a9dd69c772ef2641ee300d57d2a4d4c83003726c
2016-06-28 10:47:22 -07:00
Christoph Kerschbaumer
71fde070bb
Bug 1282554 - Provide helper function to check if channel can be openen using open2() and asyncOpen2() r=bholly
2016-06-28 19:03:56 +02:00
Christoph Kerschbaumer
4fcd57ace7
Bug 1280198 - Convert zipwriter/test/unit/test_asyncadd.js to use channel.open2() r=kmaglione
2016-06-15 16:48:55 +01:00
Patrick McManus
e42c45b58b
Bug 1215319 - zip archive fix part 2 r=dragana
2016-05-23 17:06:44 -04:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Patrick McManus
89eb82cf26
Bug 1215319 - zipArchive fix r=dragana
2016-05-12 11:33:47 -04:00
Kirk Steuber
5e03f29369
Bug 1269185 - Prevent crashes in Windows when zip files cannot be read. r=spohl
...
MozReview-Commit-ID: 32uEegoKL4J
--HG--
extra : transplant_source : %2BN%22%E7%D0%A2%E8%BD%90%A6%E5%F3%F0J%9Ceg%25%FBc
2016-05-04 12:57:21 -07:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Jim Chen
4932a777ef
Bug 1265621 - Add flag to track omnijar handle in nsJAR; r=aklotz
...
Add a bool flag in nsJAR to track whether the zip handle came from
omnijar. The old code compared pointers instead, but other patches in
this bug made it no longer possible to do that.
2016-04-28 16:07:02 -04:00
Jonathan Watt
61406bc819
Bug 1266582 - Remove nsJARChannel::OverrideSecurityInfo/OverrideURI. r=ehsan
...
MozReview-Commit-ID: 3PnSBcIYR3y
2016-04-21 23:24:22 +01:00
Kirk Steuber
020a8332cb
Bug 1264037 - Add testing for CRX reading. r=spohl
...
MozReview-Commit-ID: 3uFTOUyvFtG
--HG--
extra : rebase_source : 5f919bf5e377142ddbe24b80b0e2a5071ca12bc6
2016-04-13 13:38:08 -07:00
Kirk Steuber
a5ac9bebd2
Bug 1260836 - Add functionality to allow CRX files to be handled as ZIP files. r=spohl
...
MozReview-Commit-ID: 9JeSC6L4x6Z
2016-04-06 18:28:24 -07:00
Chris Manchester
f7a1b3fb60
Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
...
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.
MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Ehsan Akhgari
8da73c781f
Bug 1255934 - Start collecting telemetry data on the usage of remote JAR protocol in the wild; r=mcmanus
2016-03-24 13:46:02 -04:00
sajitk
823704b8d6
Bug 1219482: Replace PRLogModuleInfo with LazyLogModule in various files.r=benjamin
2016-01-28 10:35:00 -08:00
Aaron Klotz
7c542da3b5
Bug 1211262: Unit test; r=mwu
...
MozReview-Commit-ID: EK95Ha2sSSJ
--HG--
extra : rebase_source : bc424521cfaefba6c1754d6f107d075f32d40b3a
2015-10-13 12:21:19 -06:00
Nathan Froyd
12d9670a60
Bug 1249389 - part 4 - make StartupCache::GetBuffer take a UniquePtr outparam; r=erahm
...
This change eliminates a number of nsAutoArrayPtr usages, as well as
making the pattern GetBuffer() -> NewObjectInputStreamFromBuffer more
pleasant.
2016-02-18 12:26:28 -05:00
Nathan Froyd
460db498a3
Bug 1249389 - part 3 - assert the size of nsZipItemPtr's storage type; r=erahm
...
The only uses of this class use a template argument with a size of
|char| (uint8_t and char), and the class isn't designed to accomodate
template arguments of larger size (e.g. the implementation of Forget()
neglects to divide by sizeof(T) for allocating a return buffer). Let's
enforce this with a static_assert. This change makes the class safer to
use and also makes future changes simpler to reason about.
2016-02-18 12:07:03 -05:00
ISHIKAWA, Chiaki
be2b50a7f8
Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
...
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check
- the outdated 0666 octal constant is still parsed correctly,
- the outdated 0666 octal constant raises syntax error flag
in strict mode, etc.
So leave them alone.
2016-02-15 08:57:00 +01:00
Aidin Gharibnavaz
686438c658
Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
2016-02-10 08:23:00 +01:00
Carsten "Tomcat" Book
5b358688b7
Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
...
--HG--
extra : rebase_source : fb6fd434c8e3f4b5fa53ea645a54c07cab207894
2016-02-08 11:17:38 +01:00
Aidin Gharibnavaz
69cf7e035f
Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
...
--HG--
extra : rebase_source : 3c6bba6613a14e48239d302bdd0f7fe2e322265d
2016-02-07 10:56:00 +01:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Wes Kocher
b9d77f5943
Backed out changeset 2c56aed63687 (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE
...
--HG--
extra : commitid : 7egFNnxx2ut
2016-01-29 10:15:38 -08:00
sajitk
6fdb9b782e
Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in various files. r=bsmedberg
...
--HG--
extra : rebase_source : 37e8f53a8aa5242058ab8fc867804cbc8940653e
2016-01-28 10:35:00 -05:00
Ehsan Akhgari
fbf2580b8c
Bug 1197379 - Remove support for intercepting app:// URIs using service workers; r=jdm
2016-01-27 15:26:27 -05:00
Andrea Marchesini
7167daa292
summary: Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug
2016-01-12 18:16:59 +00:00
Andrea Marchesini
fa1db4f4b7
Bug 1231378 - part 3 - Fix uninitialized members of classes in modules/libjar and mfbt, r=smaug
2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
ec54e89c4c
Backed out changeset 138c4e6a9b45 (bug 1231378)
2016-01-12 15:48:55 +01:00
Andrea Marchesini
8cb83b4f57
Bug 1231378 - part 3 - Fix uninitialized members of classes in modules/libjar and mfbt, r=smaug
2016-01-12 13:57:34 +00:00
Christoph Kerschbaumer
25c5aadcce
Bug 1232783
- Convert JS callsites to use open2 within modules/ (r=sicking)
2016-01-11 12:16:35 -08:00