Commit Graph

205 Commits

Author SHA1 Message Date
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Masatoshi Kimura
b5e27745c8 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Masatoshi Kimura
4c1412833e Bug 803713 - Skip the SP after finding it. r=biesi 2012-12-20 21:47:40 +09:00
Saurabh Anand
c9e3659e16 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Jonathan Kew
d082eb51c4 bug 815512 pt 3 - limit size of file icons in HTML directory listing. r=bz 2012-11-28 09:04:14 +00:00
Ehsan Akhgari
8f02b2437f Bug 813438 - Part 3: Rewrite the unknown decoder to use NS_SniffContent; r=bzbarsky 2012-11-20 19:37:40 -05:00
Ed Morley
66e54e6f57 Backout 231cce402e46, 383b6031c417, 8a518d6c8b60 & 4f55f76e34ee (bug 813438) for bustage 2012-11-22 17:49:58 +00:00
Ehsan Akhgari
a38c351b12 Bug 813438 - Part 3: Rewrite the unknown decoder to use NS_SniffContent; r=bzbarsky 2012-11-20 19:37:40 -05:00
Isaac Aggrey
218a57b4d4 Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan 2012-11-14 13:14:21 -06:00
Ehsan Akhgari
f5b80eb686 Backed out changeset da25394a8b55 (bug 802706) for build bustage 2012-11-14 13:24:12 -08:00
Isaac Aggrey
2c0ab41183 Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan,wtc 2012-11-14 13:14:21 -06:00
Andrew Quartey
1d28872093 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Nick Hurley
a115c7b5bc Bug 536324 part 2 - Change implementers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Brian Smith
125999d7c4 Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan 2012-10-18 15:55:48 -04:00
Isaac Aggrey
61d7092334 Bug 794510: Part 3 - create NSPRFormatTime.h with temporarily undef'd NO_NSPR_10_SUPPORT for compatibility; r=ehsan 2012-10-11 13:16:29 -05:00
Andrew Quartey
efd58ac27b Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00
Tom Schuster
68bf2735b6 Bug 795442 - Allow nsIChannel.contentDispositionFilename to be writable. r=jduell, sr=biesi 2012-10-02 09:43:00 -07:00
Isaac Aggrey
e496b51126 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Makoto Kato
07f47f9321 Bug 790617 - Part 2 - don't use atoi to parse header. r=cbiesinger 2012-09-19 17:44:54 +09:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Aryeh Gregor
010dc0fdf5 Bug 782594 - Don't return nsresult from main() (netwerk/); r=bz 2012-08-07 20:17:27 +03:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Landry Breuil
e29b54c9f3 Bug 785738 Part 2: use PRTime in nsDirIndex to match the idl. r=ehsan 2012-08-30 09:10:30 +02:00
Valentin Gosu ext:(%2C%20Jason%20Duell%20%3Cjduell.mcbugs%40gmail.com%3E%2C%20Ms2ger%20%3CMs2ger%40gmail.com%3E)
b32522b36e Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07:00
Nathan Froyd
7e1f8b0145 Bug 785118 - use PARALLEL_DIRS in netwerk/; r=glandium 2012-08-23 12:54:51 -04:00
Ehsan Akhgari
0fd9123eac 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
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Ms2ger
17e25febb8 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
4213d86624 Bug 777292 - netwerk/: Don't treat number of bytes as an nsresult; r=bz 2012-07-27 17:03:25 +03:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Mike Hommey
d145a2d1a8 Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Ehsan Akhgari
695bd88cea 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 (netwerk parts); r=jduell 2012-06-05 23:18:25 -04:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Shriram Kunchanapalli
52a4aa2063 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Magnus Melin
392cfd99d9 Bug 223681 - [mozTXTToHTMLConv] fails for links with ipv6 addresses. r=ben.bucksch, sr=cbiesinger 2012-05-28 22:07:56 +03:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Shriram Kunchanapalli
bb6f3e9ec6 Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Ms2ger
945ee00ec1 Bug 605180 - Fix build warnings in netwerk/. r=jduell 2012-04-07 14:25:00 -07:00
Ryan VanderMeulen
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Jeff Walden
a0ca3d8af2 Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Neil Rashbrook
07d2a98926 Bug 698256 Add and use Substring(data, length) convenience method r=dbaron 2011-12-09 08:35:41 +00:00
aceman
9a51b50c97 Bug 278341 - [mozTXTToHTMLConv] A colon (:) after a URL in a message is recognized as part of the URL. r=BenB 2011-11-17 11:18:07 +00:00
Panu Horsmalahti
c50a3ddf8e Bug 678978 - Defined and implemented AutoFree class and replaced ERR_OUT macros with return calls, r=honzab (test by honzab, r=bz)
--HG--
rename : netwerk/test/unit/test_multipart_streamconv.js => netwerk/test/unit/test_multipart_streamconv_missing_lead_boundary.js
2011-11-09 18:19:00 +01:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Steve Workman
fc1645a78b Bug 373900: Add a check to nsMultiMixedConv. r=honzab 2011-09-21 15:17:40 -04:00
Nick Hurley
7400a85df3 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Patrick McManus
2ded010403 bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz 2011-05-21 21:27:52 -04:00
Tuukka Tolvanen
3d2315a7b1 Bug 290274 - [mozTXTToHTMLConv] 'clever formatting' of plaintext strips caret from superscript display (x^2 => x2); r=BenB,honzab 2011-05-16 08:59:18 +01:00
Mitchell Field
30071eb146 Merge mozilla-central to build-system. 2011-04-14 12:05:07 +10:00
Jacek Caban
ebd3fbcabb Bug 647820 - Don't use -mno-cygwin on mingw compilation (m-c part) r=ted.mielczarek 2011-04-11 13:41:00 +00:00
Ehsan Akhgari
73dd5db57d Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f4575bfe5e Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Daniel Veditz
39f9956a9d bug 645565 don't stomp previous 200 response with an invalid one, r=biesi 2011-04-11 23:46:19 -07:00
Patrick McManus
f40d49ea9f bugzilla 643291 - chnage nshttpcompressconv NS_ERROR to NS_WARNING for data input error r=honzab
--HG--
extra : rebase_source : 5c464f0b34fd6855f741809a81a12f5eec8d1e44
2011-04-08 14:37:06 -04:00
Joe Drew
58c6469af1 Back out bug 643291 (264508dc959b) on suspicion of causing Tp regressions. 2011-03-24 20:28:05 -04:00
Ehsan Akhgari
f83c604e6c Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Patrick McManus
cfff86b2ac Bug 643291 - chnage nshttpcompressconv NS_ERROR to NS_WARNING for data input error r=honzab
--HG--
extra : rebase_source : 14dbf0bc5cd5acbc1c525f7c8f19282c494e24f7
2011-03-23 11:01:34 -04:00
timeless@mozdev.org
f763a2f442 Bug 620260 add fall through comment to nsHTTPCompressConv::OnDataAvailable
r=biesi
2011-03-23 23:30:04 -04:00
Boris Zbarsky
908c57b9ab Bug 635977. Make sure to always send OnStartRequest to our listener from nsIndexedToHTML. r=jduell, a=bsmedberg 2011-02-24 13:42:15 -05:00
Michal Novotny
9f62941f24 bug 543805 - FTP list parse error when list returns twice space between date and file name. r=honzab.moz@firemni.cz, a=blocker 2011-01-17 20:50:08 +02:00
Ehsan Akhgari
df16cbf877 Bug 525222 - XML errors possible on file:// listings; r=bzbarsky a=jst
--HG--
extra : rebase_source : 343aa3a018f007db8336e4c221fef27981e5bc45
2010-10-12 18:30:42 -04:00
Honza Bambas
aeebe66ad9 Bug 556734, r=bz, a=blocking:final+ 2010-09-16 00:46:17 +02:00
Dan Witte
ccd3c28130 Back out Bug 536324 part 2. 2010-08-30 13:20:39 -07:00
Dan Witte
c4091d7694 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte
86583b1783 Back out Bug 589292. 2010-08-30 13:20:38 -07:00
Dan Witte
8937bd5738 Bug 589292 - e10s necko: add contentDisposition prop to nsIChannel. r=jduell, sr=biesi, a=beta5+ 2010-08-25 17:51:21 -07:00
Dan Witte
5f4dbe5953 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Dan Witte
4439f97632 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 2: contentLength implementors. r=jduell, a=beta5+ 2010-08-21 00:31:11 -07:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
f13550a209 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
timeless@mozdev.org
2870d2b519 Bug 564712 warning: comparison between signed and unsigned integer expressions in nsDirIndexParser::ParseFormat
r=biesi
2010-06-27 18:49:46 +02:00
timeless@mozdev.org
c4a57f893a Bug 564713 warning: comparison between signed and unsigned integer expressions in mozTXTToHTMLConv
r=biesi
2010-06-27 18:49:24 +02:00
Joe Drew
98f411e39e Bug 388195 - Remove gopher support. r=jduell,gavin sr=bz 2010-04-16 17:05:47 -04:00
Jonas Sicking
1489785d0c Bug 570258: Some more atom usage cleanup. r=jst 2010-06-08 16:25:27 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Phil Ringnalda
e1e1a42da0 Correct spelling of preceeding in a CLOSED TREE 2010-04-15 21:12:08 -07:00
Doug Turner
e35d8e72d5 Bug 545869 - Remove small buffer #defines and use preferences. r=honza 2010-04-20 09:32:28 -07:00
Mike Hommey
90dd1ec0b9 Bug 502301 - Fix binhex_decode array signedness which broke builds on architectures where char is unsigned [r=benjamin]
This was detected by the C++0x narrowing conversion inside {} compilation errors.
2010-04-20 10:44:59 +02:00
Boris Zbarsky
f898fcf78e Bug 537120 part 1: Make sure the multipart converter's part channels install a type sniffer as needed. r=jduell 2010-04-10 09:10:21 -07:00
Ted Mielczarek
d042a88b57 bug 552032 - compile nsIAppleFileDecoder.idl on x86_64 builds. r=josh 2010-03-17 19:09:10 -04:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Daniel Holbert
2c341fb9da Bug 543497, Patch A: Fix "warning: suggest parentheses around comparison in operand of &" in nsBinHexDecoder.cpp. r=jduell 2010-02-02 13:56:45 -08:00
Hugues Fournier
f2c7d9c93d Bug 505037 - ".&" or some control chars in filenames of a local file causes it to break directory view when you browse to it or go directly. r=biesi 2009-10-17 12:39:01 +02:00
Ben Hsieh
3eab496287 Bug 510991 - NS_GetURLSpecFromFile does a stat(). r=biesi 2009-10-06 15:43:59 +02:00
Michal Novotny
6773e9b109 Bug 214405 - Unable to ftp virtual folder. r=jduell, sr=cbiesinger 2009-09-21 19:57:36 +02:00
Reed Loden
4bc570db77 Follow-up to bug 515583 -- s/ParseFTPListDetermineRetval/ParsingFailure/ 2009-09-22 22:40:21 -05:00
Michal Novotny
ddf4fe8b49 Bug 515583 - Fixed parsing of CMU/VMS-IP FTP style listing [r=dougt r=wtc sr=biesi] 2009-09-23 02:15:29 +02:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Wan-Teh Chang
3ca26d853c Bug 513832: Initialize 'state' before passing it to ParseFTPList(),
and pass the same 'state' to subsequent ParseFTPList() calls.
sr=bzbarsky.
2009-09-04 11:27:07 -07:00