gecko-dev/modules/libjar
Kris Maglione 8340513b0c Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz
Using concrete class types with static IIDs in QueryInterface methods is a
pretty common pattern which isn't supported by any existing helper macros.
That's lead to separate ad-hoc implementations, with varying degrees of
dodginess, being scattered around the tree.

This patch adds a helper macro with a canonical (and safe) implementation, and
updates existing ad-hoc users to use it.

MozReview-Commit-ID: HaTGF7MN5Cv

--HG--
extra : rebase_source : ace930129d85960d22bc3048ca3bb19bbbd4a63e
extra : histedit_source : 03a87f746d957789d41381e4e1bfcc4fd7eebaf2%2C9c5bae9feeeef7721105db67be0f83e0ded66bb7
2018-05-21 16:33:18 -07:00
..
test Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian 2018-04-18 11:43:45 -07:00
zipwriter Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj 2018-05-19 20:17:45 -07:00
appnote.txt
moz.build
nsIJARChannel.idl Bug 1427726 - remove nsIJARChannel::isUnsafe and nsIDocShell::channelIsUnsafe, r=bz 2018-02-07 14:25:33 +00:00
nsIJARFactory.h
nsIJARProtocolHandler.idl
nsIJARURI.idl Bug 1442242 - Make the constructor of nsJARURI private r=mayhemer 2018-03-20 12:52:47 +01:00
nsIZipReader.idl
nsJAR.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsJAR.h Bug 1399520 - Avoid race condition. r=dragana 2017-10-19 22:29:41 -04:00
nsJARChannel.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsJARChannel.h Bug 1373708 - Convert Jar channels to stop using main thread I/O, r=nwgh 2018-03-01 08:12:00 +00:00
nsJARFactory.cpp Bug 1442239 - Make URI deserialization (nsISerializable.read) happen via nsIURIMutator only r=mayhemer 2018-03-19 20:22:32 +01:00
nsJARInputStream.cpp
nsJARInputStream.h
nsJARProtocolHandler.cpp Bug 1442242 - Make the constructor of nsJARURI private r=mayhemer 2018-03-20 12:52:47 +01:00
nsJARProtocolHandler.h Bug 1412726: Clean up XPCOM singleton constructor refcount handling. r=froydnj 2017-10-29 16:02:40 -07:00
nsJARURI.cpp Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz 2018-05-21 16:33:18 -07:00
nsJARURI.h Bug 1442242 - Make the constructor of nsJARURI private r=mayhemer 2018-03-20 12:52:47 +01:00
nsZipArchive.cpp Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
nsZipArchive.h Bug 1428568 - Stop using GetNativePath in libjar. r=mayhemer 2017-12-15 20:58:51 +09:00
zipstruct.h