Commit Graph

876 Commits

Author SHA1 Message Date
Henri Sivonen
2f13dd66f6 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
Ms2ger
1458c5086e Merge backout on a CLOSED TREE. 2012-11-08 09:20:52 +01:00
Ms2ger
e7adc51bbe Bug 809756 - Backout bug 803665, bug 803668, bug 803666 and bug 803669 on a CLOSED TREE. 2012-11-08 09:20:25 +01:00
Masatoshi Kimura
97d73c1c4e Bug 801402 - Use FindEncodingForLabel from HTML parser. r=hsivonen 2012-11-07 18:04:22 -05:00
Masatoshi Kimura
322d4b5d48 Bug 801402 - Use FindEncodingForLabel from XML parser. r=hsivonen 2012-11-07 18:04:21 -05:00
Nathan Froyd
dfb7fa0bf4 Bug 803669 - convert nsScannerBufferList to use mozilla::LinkedList; r=mrbkap 2012-10-19 12:23:15 -04:00
Henri Sivonen
a42309c3ff 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
793acbdae0 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
Alex Vincent
9d1057101f Bug 436728 - Support SAX's namespace-prefixes feature, r=smaug 2012-11-04 12:38:00 -08:00
Nathan Froyd
083390c43e Backout 57d8f6cd245a (bug 803669), fb673c95d56b (bug 803665), 24d8e0cb73f2 (bug 803665), ac46bd0d9fba (bug 803669), c9c67b62799b (bug 803666), b3314c0ddaac (bug 803668) for debug build test failures 2012-10-31 13:23:17 -04:00
Nathan Froyd
9698781209 Bug 803669 - followup fix; r=bustage 2012-10-31 12:31:36 -04:00
Nathan Froyd
b76665e7a6 Bug 803669 - convert nsScannerBufferList to use mozilla::LinkedList; r=mrbkap 2012-10-19 12:23:15 -04:00
Nathan Froyd
bd55a07f0e Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Ryan VanderMeulen
dd87cc277e Bug 799917 - Backout for various regressions. 2012-10-28 08:49:20 -04:00
Henri Sivonen
dc4ef20648 Bug 799958 - Remove prtype.h from C++ translator output. r=smaug. 2012-10-25 14:03:27 +03:00
Isaac Aggrey
cbb17fe7b2 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Henri Sivonen
9f6eeef233 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
Henri Sivonen
e523717573 Bug 798275 - Make nsParser always say the insertion point is undefined, since it always is. r=smaug. 2012-10-16 16:05:06 +03:00
Ed Morley
c9faf83062 Backout 6db369a15ea7 (bug 599320) for frequent failures in bug599320-1.html 2012-10-16 12:22:31 +01:00
Henri Sivonen
52e012a82d 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
Aryeh Gregor
45b3e80460 Bug 799917 - Make document.characterSet always lowercase; r=bz,f=hsivonen,smontagu 2012-10-14 10:13:19 +02:00
Trevor Saunders
3d3592cd63 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Jeff Walden
e06de56d87 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
4eb686ec9c Bug 503190 - Include assertions in the C++ translator output. r=smaug. 2012-10-01 11:52:32 +03:00
Henri Sivonen
d91939100e 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
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Ms2ger
14bb88f62a Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted 2012-09-20 09:55:36 +02:00
Zack Weinberg
3613cbaf5f 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
Phil Ringnalda
9589f29bae Bug 705570 - skip every crashtest with an <applet> in it on OS X 10.7 and 10.8, since they leak if Java isn't installed 2012-09-10 19:50:18 -07:00
Daniel Holbert
f32f6b5f8b Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg 2012-09-09 16:29:12 -07:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Phil Ringnalda
07256e6829 Bug 705046 - Disable the chunks of test_html5_tree_construction_part2.html which touch plugins and thus expose our brokenness on 10.8
--HG--
extra : rebase_source : 566332fd749935688e36c8ed8f2b54d9b8f05ec4
2012-08-30 20:11:21 -07:00
Boris Zbarsky
927e2bc32d 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
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
3e8b41c23d Bug 782602 - Use NS_FAILED instead of boolean test (parser/html/); r=hsivonen 2012-08-14 12:10:41 +03:00
Aryeh Gregor
e0ab48ca47 Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan 2012-08-13 16:49:48 +03: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
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Aryeh Gregor
f41637535d Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03: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
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
e57dd159b2 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Rafael Ávila de Espíndola
c618765189 Bug 774024 - Remove extra ;. r=smaug. 2012-07-15 10:06:09 -04:00
Rafael Ávila de Espíndola
abb98d0694 Bug 774023 - Remove extra ;. r=smaug. 2012-07-15 10:05:06 -04:00
Matthew Noorenberghe
67280af609 Bug 639362 - Display text/cache-manifest data as text. r=bz
--HG--
extra : rebase_source : e8e30229a029b68b199efe7f0fba71dc142de980
2012-07-13 23:13:20 -07:00
Henri Sivonen
557f7f595e 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