Commit Graph
65 Commits
Author SHA1 Message Date
Masatoshi Kimura 0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Daniel Stenberg 976d3d3d94 Bug 1328865 - Make nsJARURI::SetSpecWithBase ignore URL fragments. r=valentin
As otherwise it could wrongly find !/ delimiters with that.
2017-06-18 23:52:00 -04:00
Florian Queze 451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze 61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Mark Banner 55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Florian Quèze 6459975a67 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Sebastian Hengst a2b204200a Bug 1310297 - Remove test annotations using b2g, mulet or gonk: modules. r=RyanVM
MozReview-Commit-ID: 2tN5AOxZVvU
2016-11-05 11:29:21 +01:00
Valentin Gosu b31b8015d5 Bug 1307467 - Remove RemoteFileOpen, and all app:// related code from JAR channels. r=bagder
Removes things added in bug 815523

MozReview-Commit-ID: FuXQceHGLhf
2016-10-21 00:08:57 +02:00
Kirk Steuber d0f632f8fe Bug 1264037 - Add testing for CRX reading. r=spohl
MozReview-Commit-ID: 3uFTOUyvFtG
2016-04-13 13:38:08 -07:00
Aaron Klotz 61d1a553bd Bug 1211262: Unit test; r=mwu
MozReview-Commit-ID: EK95Ha2sSSJ
2015-10-13 12:21:19 -06:00
ISHIKAWA, Chiaki 9ee69e3ce0 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
Christoph Kerschbaumer 36d1a90a8d Bug 1232783 - Convert JS callsites to use open2 within modules/ (r=sicking) 2016-01-11 12:16:35 -08:00
Christoph Kerschbaumer 0c67a2a565 Bug 1230220 - Convert JS callsites to use asyncOpen2 within modules/ (r=sicking) 2015-12-06 20:59:19 -08:00
Wes Kocher c20083dddc Backed out 4 changesets (bug 1230221, bug 1230220, bug 1229890) for m-e10s(2) permafails in test_window_open_close.html CLOSED TREE
Backed out changeset a1cd28ddbfa2 (bug 1230221)
Backed out changeset 7e89f5020ac7 (bug 1230220)
Backed out changeset 91f6e72fa9f4 (bug 1229890)
Backed out changeset 7e717a810420 (bug 1229890)
2015-12-04 15:58:40 -08:00
Christoph Kerschbaumer e3ca716610 Bug 1230220 - Convert JS callsites to use asyncOpen2 within modules/ (r=sicking) 2015-12-04 09:39:58 -08:00
Andrea Marchesini 886c4e9f32 Bug 1215235 - Drop support for jar: URIs by default, r=bz 2015-11-04 11:19:02 +00:00
Carsten "Tomcat" Book 036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book 12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo 474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa 9ba388290c Bug 1207499 - Part 5: Remove use of expression closure from modules/. r=mwu 2015-09-23 18:42:18 +09:00
Shian-Yow Wu bf9ec579f4 Bug 1069081 - Part 1: Always cache fd in JAR cache except Windows. r=mwu 2015-07-30 16:05:57 +08:00
Christoph Kerschbaumer 0898d213ca Bug 1087738: Make JS callers of ios.newChannel call ios.newChannel2 in modules/ (r=mwu) 2014-10-24 15:06:16 -07:00
Andrew Halberstadt 11b824f09b Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Shian-Yow Wu 65e2cbf5c4 Bug 1048615 - Fix crash when simultaneously opening remote JAR file with mEnsureChildFd enabled. r=jduell 2014-08-21 19:09:35 +08:00
Michael Wu 8166cd980c Bug 1036394 - Add support for getting the zip entry from the jar channel, r=jduell 2014-08-04 11:54:28 -04:00
Jim Blandy 39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
ISHIKAWA, Chiaki 1005f8e3dd Bug 928725 - Octal number is deprecated and so do not use it; r=jmaher 2013-10-20 07:44:00 +01:00
Gregory Szorc 189afd1a65 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted 2013-09-24 11:50:08 -07:00
Bobby Holley 73ef1c14ac Bug 824581 - RemoteOpenFileChild::AsyncRemoteFileOpen crashes on Windows/Mac r=jduell 2012-12-26 11:01:00 -08:00
Jason Duell cdd02f4b65 Bug 815523. Fix syntax of skip-if to skip xpcshell test on windows. r==orangefix 2012-12-22 09:44:38 -08:00
Jason Duell 26946ca788 Bug 815523 - Remote the app: and jar: protocols. r=fabrice,mwu,jdm 2012-12-22 05:56:21 -08:00
Nils Maier 2f3a9a81b1 Bug 719180: Part 2 - Add jar channel unit tests; r=taras 2012-11-28 13:13:13 -05:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Wolfgang Germund 596352a167 Bug 296795: ZipReader doesn't handle non-ASCII characters r=taras 2011-09-28 16:14:45 -07:00
Nick Hurley 5ed296a9f4 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
Michael Wu 85802fd608 Bug 658093 - BuildFileList can potentially try to read a signature beyond the end of the zip file, r=taras 2011-05-22 09:38:02 -07:00
Joel Maher 39ca77fbd2 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Michael Wu 60bb79cbec Bug 637286 - Eliminate deadlocks in ReleaseZip, r=taras 2011-03-31 15:01:12 -04:00
Michael Wu cd4dceac00 Bug 597702 - Make zip opening path more robust, r=taras a=blocking2.0 2010-09-20 12:58:40 -07:00
Michael Wu b56a77d342 Bug 566686 - Provide a decompression API in nsZipArchive, patch mostly by taras, r=alfredkayser 2010-06-04 14:10:23 -07:00
Michael Wu 49a3191ac8 Backout bug 566686 due to orange 2010-06-02 17:05:49 -07:00
Michael Wu dd0a8edbd7 Bug 566686 - Provide a decompression API in nsZipArchive, patch mostly by taras, r=alfredkayser 2010-06-02 14:46:48 -07:00
Taras Glek 85e08d2bba Bug 541828 - Do not crash on small invalid jar files r=alfredkayser 2010-03-26 10:19:53 -07:00
Michal Novotny 6790a95edc Bug 525741 - two JAR tests fail if modification date of their files is on day daylight saving time starts or ends and after time change. r=dtownsend,tglek 2009-12-16 00:01:08 +01:00
Taras Glek 42b517bcaf Bug 537398 - Fix copyright headers in libjar r=reed 2009-12-31 11:27:22 -08:00
Taras Glek c7a2bc8794 Bug 536911: fix null dereference topcash r=alfredkayser 2009-12-31 10:10:20 -08:00
Taras Glek 1f01216fc7 Bug 525755 - crash [@ nsZipArchive::BuildFileList] using jar: with the file protocol without a '/' for the root of the filesystem. r=alfredkayser 2009-11-07 16:19:20 +01:00
Taras Glek 92e81f2637 Bug 512515. Let JAR channels report 'file not found' when the file isn't found in the JAR file. r=bsmedberg 2009-08-26 09:38:25 -07:00
Taras Glek 438a96d9ae Bug 504864: mmap io for JARs r=bsmedberg 2009-08-12 13:50:12 -07:00