Commit Graph

610 Commits

Author SHA1 Message Date
Makoto Kato
507b76f776 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Aryeh Gregor
e16d35c297 Bug 782594 - No, storing a 32-bit error code in a 16-bit variable is not "somewhat sensible"; r=bz 2012-08-14 12:10:42 +03:00
Aryeh Gregor
746a829c18 Bug 782594 - Don't use nsresult as boolean; r=bz 2012-08-14 12:10:42 +03:00
Aryeh Gregor
ed45890347 Bug 782594 - Make some methods in uriloader/ infallible; r=bz 2012-08-14 12:10:42 +03:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ben Turner
2e0265c8ef Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Bobby Holley
d806bf9ec7 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
4c54d98fcb Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Ehsan Akhgari
b457a9ddf0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Mark Capella
9aedb93f44 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Aryeh Gregor
e2dd9c2028 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas
9446da8d75 Bug 768568, r=kaie 2012-07-31 20:59:17 +02:00
Honza Bambas
57fc462ff3 Bug 766210 - Delay updating nsPrefetchNode's reference to redirect channel until we know redirect is approved, r=jduell 2012-07-31 20:59:17 +02:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer
de30491499 Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer
e1cdfe2f05 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Jason Duell
4cc41fe65d Bug 775119 - e10s: implement nsILoadContext in ParentChannels, remove PrivateBrowsingConsumer r=jdm 2012-07-22 15:35:33 -07:00
Gervase Markham
69110ab2b1 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
Brian R. Bondy
c1463d8d0f Bug 772711 - Invoking default application does not work if default application is a metro app. r=jimm 2012-07-14 20:44:07 -04:00
Honza Bambas
b547035544 Bug 765203 - Support mode 'unknown' when parsing cache manifest, r=jduell 2012-07-14 11:52:35 +02:00
Honza Bambas
cf693a708f Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-11 20:20:17 +02:00
Ryan VanderMeulen
b53342059e Backout 3bf8ff8836d1 too 2012-07-10 19:39:01 -04:00
Ryan VanderMeulen
d803ddbb37 Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange. 2012-07-10 19:21:54 -04:00
Honza Bambas
43188d10e8 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, remove unused member from nsOfflineCacheUpdate, r=sinker DONTBUILD 2012-07-11 00:06:26 +02:00
Honza Bambas
57b6ddeca3 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-10 23:49:18 +02:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Ehsan Akhgari
6ecc79fcc9 Bug 748890 - Make getting the load context in nsExternalHelperAppService work in multiprocess mode; r=jdm
--HG--
extra : rebase_source : 9116deb18fc9372f6b8db96f19ea82c7eca191fc
2012-06-29 11:27:52 -04:00
Ehsan Akhgari
b85af073d2 Bug 722868 - Part 7: Remove the usage of the global private browsing in the external app helper service since it is no longer needed; r=bzbarsky 2012-04-24 23:37:31 -04:00
Ehsan Akhgari
7e99e67b05 Bug 722868 - Part 6: Delete the temporary private files when the last private browsing window is closed; r=bzbarsky 2012-04-24 23:35:22 -04:00
Ehsan Akhgari
f1d467b584 Bug 722868 - Part 5: Use the channel's private browsing flag to determine how to handle the temporary file in nsExternalAppHandler::OpenWithApplication; r=bzbarsky 2012-04-24 23:31:35 -04:00
Ehsan Akhgari
a1aeda1a14 Bug 722868 - Part 3: Make insExternalAppHandler::OpenWithApplication aware of the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 23:04:49 -04:00
Ehsan Akhgari
abd77125a0 Bug 722868 - Part 1: Add the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 22:56:55 -04:00
Ed Morley
7db6803233 Backout a6175c97f365, 3ceeeaf0519f, bde34cebdcdc, 66dfa9606626, 86762d8c4de9, 717f908c990a, aa83d71fe7ee (bug 722868) for compilation failures 2012-06-28 19:00:30 +01:00
Ehsan Akhgari
cb33d7a193 Bug 722868 - Part 7: Remove the usage of the global private browsing in the external app helper service since it is no longer needed; r=bzbarsky 2012-04-24 23:37:31 -04:00
Ehsan Akhgari
0425672a11 Bug 722868 - Part 6: Delete the temporary private files when the last private browsing window is closed; r=bzbarsky 2012-04-24 23:35:22 -04:00
Ehsan Akhgari
d584b34bc8 Bug 722868 - Part 5: Use the channel's private browsing flag to determine how to handle the temporary file in nsExternalAppHandler::OpenWithApplication; r=bzbarsky 2012-04-24 23:31:35 -04:00
Ehsan Akhgari
a24d4f1215 Bug 722868 - Part 3: Make insExternalAppHandler::OpenWithApplication aware of the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 23:04:49 -04:00
Ehsan Akhgari
01219911a9 Bug 722868 - Part 1: Add the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 22:56:55 -04:00
Wes Johnston
950c5d9124 Bug 653833 - Ignore mimetype for helperapps if it is the same as our url. r=blassey 2012-06-26 14:54:44 -07:00
David Zbarsky
2d03fb0e82 Bug 766342 - Remove unneeded nsresult in nsExternalHelperAppService.cpp r=bz 2012-06-20 12:48:51 -07:00
Ehsan Akhgari
8c8d187c85 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more uriloader parts); r=bzbarsky 2012-06-14 21:45:35 -04:00
Ehsan Akhgari
d4360da3cf Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (uriloader parts); r=bzbarsky 2012-06-12 23:53:09 -04:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Brendan Dahl
5b1e198e3f Bug 752676: Add pdf.js as an internal handler for pdfjs (1/2); r=mak77 2012-06-02 09:56:24 -07:00
Honza Bambas
22565351ec Bug 753990 - Allow appcache to work with a custom cache (profile) folder within a single application, r=michal.novotny 2012-06-04 16:12:24 +02:00
Honza Bambas
9d0764b621 Bug 744719 - Change offline cache update to load files in parallel, r=michal.novotny 2012-06-04 16:12:23 +02:00