Commit Graph

439 Commits

Author SHA1 Message Date
Chris Peterson
f456453bfd Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Masayuki Nakano
2c9891bdd2 Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug 2012-12-16 10:26:03 +09:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Juan Gomez
f16b2632f7 Bug 820435 - Fix the B2G builds on gcc-4.6 (NDK r8) due to missing std::nullptr_t in STLPort; r=ehsan
--HG--
extra : rebase_source : e5fd2c6d1f3c0c817374b0fbf6471e14171f04b4
2012-12-11 20:29:00 -05:00
Kartikaya Gupta
116132b92d Bug 820172 - Fix android build when building with gcc 4.6. r=ehsan 2012-12-11 01:08:27 -05:00
Masatoshi Kimura
02dba66140 Bug 638379 - Part 3: Remove workaround for unreliable inputErrorBehavior. r=hsivonen 2012-12-10 09:11:15 -05:00
Masatoshi Kimura
f72adcc948 Bug 819650 - Remove nsContentUtils::CreateDocument. r=sicking 2012-12-10 09:05:33 -05:00
Patrick McManus
fc89031597 bug 792438 part 1 - identify css and head-based-js as dedicated network resources r=bz 2012-12-04 18:06:29 -05:00
Andrew McCreight
753734321b Bug 815707 - clean up cycle collector Traverse/Unlink in parser/ r=smaug 2012-11-27 15:08:22 -08:00
Benoit Jacob
5a8b82a1cb Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Henri Sivonen
950206f832 Bug 808464 - Refresh the "special" list in the HTML parser and the check for that list in the <dd> case. r=smaug. 2012-11-12 16:41:17 +02:00
Henri Sivonen
04836db952 Bug 809956 - Deal with an odd number of ] characters before ]]> in a CDATA section in the HTML parser. r=smaug. 2012-11-12 15:42:23 +02:00
Henri Sivonen
7c9bc21c2f Bug 809403 - Sync Gecko C++ version of the HTML parser with changes made for Rust. rs=smaug. 2012-11-09 11:04:28 +02:00
Masatoshi Kimura
6846f5bc5b Bug 801402 - Use FindEncodingForLabel from HTML parser. r=hsivonen 2012-11-07 18:04:22 -05:00
Henri Sivonen
66a75895ad Bug 716579 - Let a BOM override HTTP-level charset in the HTML and XML parsers. r=smaug. 2012-11-06 13:57:51 +02:00
Jeff Walden
1677629f44 Bug 803439 - Add removeFrom() that takes a list and asserts the element is initially present in it. r=jlebar
--HG--
extra : rebase_source : c2aad35774a71167f97f940fb416735862b78950
2012-10-23 17:43:23 -07:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Henri Sivonen
f67c4e77fb Bug 799958 - Remove prtype.h from C++ translator output. r=smaug. 2012-10-25 14:03:27 +03:00
Henri Sivonen
acff66fab5 Bug 599320 - Refuse encodings that are not rough ASCII supersets as hints from parent, previous doc or cache. r=smaug. 2012-10-16 10:42:54 +03:00
Ed Morley
a93125dee2 Backout 6db369a15ea7 (bug 599320) for frequent failures in bug599320-1.html 2012-10-16 12:22:31 +01:00
Henri Sivonen
4e3fba1c96 Bug 599320 - Refuse encodings that are not rough ASCII supersets as hints from parent, previous doc or cache. r=smaug. 2012-10-16 10:42:54 +03:00
Jeff Walden
42562ab1fd Bug 796925 - Fix clang-on-Linux bustage in parser/html/jArray.h. rs=hsivonen
--HG--
extra : rebase_source : 1efb96732f06fea908dfa5b3a711bc1eafe99132
2012-10-09 15:01:48 -07:00
Henri Sivonen
bc2e1a688e Bug 503190 - Include assertions in the C++ translator output. r=smaug. 2012-10-01 11:52:32 +03:00
Henri Sivonen
789c579697 Bug 792790 - Introduce NoBoundsCheck variants of accessors on nsHtml5HtmlAttributes; Make operator= in jArray nullptr-aware. r=smaug. 2012-10-01 11:49:01 +03:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Zack Weinberg
717f65a7c0 Bug 791003: proper diagnostics rather than bogus NS_NOTREACHED from the HTML parser for character encodings that are blacklisted for XSS smuggling. r=hsivonen 2012-09-18 10:46:30 -04:00
Makoto Kato
507b76f776 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Boris Zbarsky
b958f016c5 Bug 732209 part 3. Communicate the CORS state of preloads to the CSS loader. r=sicking,hsivonen 2012-08-28 13:10:08 -04: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
f3b0e431a6 Bug 782602 - Use NS_FAILED instead of boolean test (parser/html/); r=hsivonen 2012-08-14 12:10:41 +03:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Aryeh Gregor
5662d18449 Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +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
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
0c8f5adf50 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Henri Sivonen
0e36e7ec71 Bug 765381 - Make the destructors on nsHtml5ElementName and nsHtml5AttributeName virtual to avoid warnings in clang. r=ehsan
--HG--
extra : rebase_source : 3c2558dfa8ef5389b2acd97f419d2276d4269a8d
2012-07-13 15:04:11 +03:00
David Zbarsky
e0be1d2175 Bug 772758 - Clean up some build warnings in html5 parser r=hsivonen 2012-07-13 11:55:21 -07:00
Henri Sivonen
b82925a074 Bug 765620 - When parsing from stream without executing scripts, avoid script execution-related tree ops. r=smaug 2012-06-20 10:05:39 +03:00
Ed Morley
b0cc4dae44 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-02 10:03:16 +01:00
Ms2ger
93ce055147 Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir 2012-07-02 08:22:37 +02:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Olli Pettay
2c815050f5 Bug 766792 - 'ASSERTION: Somehow there's stuff in the op queue' in nsHtml5TreeOpExecutor::~nsHtml5TreeOpExecutor, r=hsivonen 2012-06-21 17:13:10 +03:00
Henri Sivonen
cbacad72c7 Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug. 2012-06-15 15:28:28 +03:00
Ryan VanderMeulen
9eb2db5d07 Merge m-c to inbound. 2012-06-14 18:45:40 -04:00
Olli Pettay
87b1256e32 Bug 734015 - Slow down parsing of web pages in background tabs, r=hsivonen 2012-06-14 21:00:05 +03:00
Ehsan Akhgari
40b3ef0ad0 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 (parser parts); r=hsivonen 2012-06-13 00:07:59 -04:00
Ed Morley
b54dd39907 Backout 4d93e6ed8a49 (bug 764774) for mochitest-chrome failure in test_bug675492.xul 2012-06-14 14:34:42 +01:00
Henri Sivonen
1a1731b785 Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug. 2012-06-14 15:18:58 +03:00
Henri Sivonen
3800ba18ca Bug 750096. r=bzbarsky. 2012-06-14 09:14:47 +03:00