Commit Graph

937 Commits

Author SHA1 Message Date
Giovanni Sferro
ccbb9be8bc Bug 1050518 - Remove nsICertificatePrincipal. r=keeler 2014-09-10 20:31:00 -04:00
Ehsan Akhgari
5bffafdd26 Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg 2014-09-02 18:24:24 -04:00
Trevor Saunders
d75ed5bf7f bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ryan VanderMeulen
27e10a0ca2 Bug 1048579 - Update the nsIChannel UUID. rs=Ms2ger
--HG--
extra : rebase_source : c4032b92e3ced113610ec9c365a5dadea2f57947
2014-08-25 09:55:57 -04:00
Shian-Yow Wu
594bb622ac Bug 1048615 - Fix crash when simultaneously opening remote JAR file with mEnsureChildFd enabled. r=jduell 2014-08-21 19:09:35 +08:00
Shian-Yow Wu
d62be2645d Bug 1055966 - Specify limitation of RemoteOpenFileChild::OpenNSPRFileDesc(). r=jduell 2014-08-21 10:13:43 +08:00
Shian-Yow Wu
ba9e1b8dc5 Backed out changeset 69471d6c631a for missing reviewer name in the commit message. 2014-08-21 09:45:40 +08:00
Shian-Yow Wu
a5189a2496 Bug 1055966 - Specify limitation of RemoteOpenFileChild::OpenNSPRFileDesc(). 2014-08-21 09:40:19 +08:00
Aaron Klotz
69159f4cc5 Bug 1054813: Add some missing MutexAutoLocks in nsZipReaderCache; r=mwu
--HG--
extra : rebase_source : 4f9caa7bd4ef1955c204e82bc33835a01d9f1e85
2014-08-19 12:11:03 -06:00
Michael Wu
a7fb246d17 Bug 1036394 - Add support for getting the zip entry from the jar channel, r=jduell 2014-08-04 11:54:28 -04:00
Nicholas Nethercote
a7cf4142b4 Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Birunthan Mohanathas
2a71f17fe3 Bug 1047876 - Flatten modules/libjar/zipwriter/{public,src}/ directories. r=glandium
--HG--
rename : modules/libjar/zipwriter/src/StreamFunctions.cpp => modules/libjar/zipwriter/StreamFunctions.cpp
rename : modules/libjar/zipwriter/src/StreamFunctions.h => modules/libjar/zipwriter/StreamFunctions.h
rename : modules/libjar/zipwriter/src/ZipWriterModule.cpp => modules/libjar/zipwriter/ZipWriterModule.cpp
rename : modules/libjar/zipwriter/src/nsDeflateConverter.cpp => modules/libjar/zipwriter/nsDeflateConverter.cpp
rename : modules/libjar/zipwriter/src/nsDeflateConverter.h => modules/libjar/zipwriter/nsDeflateConverter.h
rename : modules/libjar/zipwriter/public/nsIZipWriter.idl => modules/libjar/zipwriter/nsIZipWriter.idl
rename : modules/libjar/zipwriter/src/nsZipDataStream.cpp => modules/libjar/zipwriter/nsZipDataStream.cpp
rename : modules/libjar/zipwriter/src/nsZipDataStream.h => modules/libjar/zipwriter/nsZipDataStream.h
rename : modules/libjar/zipwriter/src/nsZipHeader.cpp => modules/libjar/zipwriter/nsZipHeader.cpp
rename : modules/libjar/zipwriter/src/nsZipHeader.h => modules/libjar/zipwriter/nsZipHeader.h
rename : modules/libjar/zipwriter/src/nsZipWriter.cpp => modules/libjar/zipwriter/nsZipWriter.cpp
rename : modules/libjar/zipwriter/src/nsZipWriter.h => modules/libjar/zipwriter/nsZipWriter.h
2014-08-04 06:55:01 -07:00
Dragana Damjanovic
7c154d043f Bug 1007020 - Also send progress information when connection is LOAD_BACKGROUND. r=bz 2014-08-01 02:10:00 -04:00
Mike Hommey
5f6ba110e6 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Mike Hommey
622bf09730 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Shian-Yow Wu
ce46456625 Bug 988816 - Allow to keep file descriptor in JAR cache. r=aklotz, jduell 2014-07-18 10:46:24 +08:00
Shian-Yow Wu
ebdb09281e Bug 988816 - Support multiple OpenNSPRFileOpen() on RemoteOpenFile. r=aklotz, jduell 2014-07-18 10:46:22 +08:00
Birunthan Mohanathas
be38d67e26 Bug 1038417 - Convert tabs to spaces in moz.build files. r=gps 2014-07-14 15:58:10 -07:00
Andrew McCreight
c3a80ae7ac Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan 2014-07-14 12:21:34 -07:00
Boris Zbarsky
2d81966ba3 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Ehsan Akhgari
a11c39b680 Bug 1033457 - Use HAVE_SEH_EXCEPTIONS in order to use SEH exceptions in libjar; r=bsmedberg 2014-07-02 14:34:58 -04:00
Jim Blandy
7e20285e70 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
Benoit Jacob
5947890285 Bug 1028588 - Fix dangerous public destructors in libjar/ - r=aklotz 2014-06-24 22:09:14 -04:00
Brian Smith
bd8f23ccd6 Bug 1028643: Convert nsISignatureVerifier to use CertVerifier (mozilla::pkix) and move nsISignatureVerifier functionality to nsIDataSignatureVerifier, r=keeler
--HG--
extra : rebase_source : 14f6f5dedd7145d574ac5b4c86b6ad42b6716ae8
extra : histedit_source : f891fbe80c4ca9fc62849bc2d6d8ffad372a6bf0
2014-06-22 18:50:22 -07:00
Kyle Huey
3fa8bd3656 Bug 1024388: Allow JAR channels to retarget to a different thread. r=bz,jduell 2014-06-17 09:39:23 -07:00
Robert O'Callahan
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Jason Duell
0218bb050c Bug 1010434 - NeckoParent matches a wrong app for the request of a new RemoteOpenFile. r=bent 2014-05-30 12:50:51 -07:00
Ryan VanderMeulen
bbea47dc83 Backed out changeset 8164fe57ac92 (bug 1010434) for bustage.
CLOSED TREE
2014-05-30 16:06:03 -04:00
Jason Duell
8b872e084c Bug 1010434 - NeckoParent matches a wrong app for the request of a new RemoteOpenFile. r=bent 2014-05-30 12:50:51 -07:00
Birunthan Mohanathas
59b969f7f4 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Shian-Yow Wu
29e21bb5f7 Bug 945152 - Part 3-1: New libjar APIs. r=aklotz 2014-05-16 13:34:43 +08:00
Benoit Jacob
60d536773a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Birunthan Mohanathas
5f1fde8824 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
Ehsan Akhgari
186680d83a Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Kyle Huey
817b5ccbd9 Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Vaibhav Agarwal
c75ff964a1 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Andrew McCreight
4a3e26ecf6 Bug 972606, part 2 - Take advantage of infallible new in nsJAR. r=aklotz
Plus a few minor fixups in the header.
2014-02-25 20:32:48 -08:00
Andrew McCreight
f2dddf4d7f Bug 972606, part 1 - Convert nsJAR::mManifestData to nsClassHashtable. r=aklotz 2014-02-25 20:32:48 -08:00
Andrew McCreight
1aeea98b7d Bug 967941, part 3 - Smart pointerize nsZipReaderCache methods. r=aklotz 2014-02-24 17:16:11 -08:00
Andrew McCreight
61f29f726c Bug 967941, part 2 - Convert nsZipReaderCache::mZips to use nsRefPtrHashtable. r=aklotz 2014-02-24 17:16:11 -08:00
Andrew McCreight
89f9e23aa3 Bug 967941, part 1 - Remove all trailing whitespace from nsJAR.{h,cpp}. r=aklotz 2014-02-24 17:16:11 -08:00
Ehsan Akhgari
d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Shian-Yow Wu
77acc6548b Bug 959047 - Part 2: xpcshell test for alignStoredFiles(). r=aklotz 2014-01-21 15:11:09 +08:00
Shian-Yow Wu
63c55e8650 Bug 959047 - Part 1: Align stored files by alignStoredFiles(). r=aklotz 2014-01-21 15:10:33 +08:00
Ehsan Akhgari
1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Makoto Kato
fb89723492 Bug 952110 - Parsing JAR file may crash when it installs a extension. r=bsmedberg 2013-12-24 11:12:52 +09:00
Boris Zbarsky
ce952bd155 Bug 951511. If jar module shutdown happens before all the jar channels are destroyed, we still shouldn't crash. r=bsmedberg 2013-12-18 11:20:45 -05:00
Peiyong Lin
1299d0771c Bug 943505 - Use fallible allocation in nsZipItemPtr_base::nsZipItemPtr_base. r=bsmedberg 2013-12-11 14:14:03 -05:00
Ehsan Akhgari
aac8d81bcb Bug 942486 - Move PL_ARENA_CONST_ALIGN_MASK out of nsZipArchive.h; r=mwu
--HG--
extra : rebase_source : 92410d30a1f8ae6d9df4fb6e6b278dc6307460a0
2013-11-25 15:44:25 -05:00