Commit Graph
168 Commits
Author SHA1 Message Date
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Geoff Lankow 7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Henri Sivonen b191345374 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Makoto Kato 46842c9bf0 Bug 590390 - deCOM nsICharsetAlias. r=smontagu 2012-03-05 12:57:51 +09:00
Ehsan Akhgari 478ad1a412 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
Michael Wu 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Daniel Holbert 229214f0c4 Bug 666714: Remove unused variable 'start' from nsScanner::Append. r=hsivonen 2011-06-24 01:50:25 -07:00
Ed Morley ccefac1d72 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Zack Weinberg 076ac188e0 Bug 541496 prelim 1: remove nsIUnicharStreamListener (no in-tree implementations). r=hsivonen 2011-05-06 08:45:33 -07:00
Peter Van der Beken c747dd5e75 Fix for bug 555496 ( XML invalid character error is reported on a completely unrelated location). r=bz. 2010-03-30 12:45:59 +02:00
Blake Kaplan ffa4a9b92a Bug 519337 - Don't read the sentinel value from a string. r=sicking 2009-09-30 15:15:51 -07:00
Makoto Kato 5cacf362f2 Bug 174351: Encoding errors aren't treated as fatal XML errors. r=smontagu, sr=peterv 2009-02-16 04:22:47 -08:00
Blake Kaplan c5086f2b41 Bug 364315 - Implement speculative parsing. r+sr=jst 2008-09-30 23:48:47 -07:00
timeless f311026d08 Protect the scanner from OOM when appending new data. bug 430574, r=mrbkap sr=jst 2008-07-14 15:05:15 +02:00
6e95d92d88 Bug 404386 - nsScanner construction is 5% of setting innerHTML. r=mrbkap,smontagu. sr=jst. a=blocking1.9. 2008-01-29 14:12:22 -08:00
e58154c942 Do not treat backspace as whitespace to match IE and Opera. bug 404252, r+sr=jst 2007-12-21 10:57:16 -08:00
bdddb68f6a Bug 384898: Cleanup nsScanner. r=mrbkap, sr=jst 2007-06-26 17:21:47 -07:00
[email protected] 4cbac7a1e0 Use a better replacement character. bug 315473, r=bzbarsky sr=sicking 2007-01-25 17:30:13 +00:00
[email protected] 763f103424 Handle NUL characters in HTML input better. bug 315473, r=jst sr=sicking 2007-01-25 01:25:41 +00:00
[email protected] 94c327dca3 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
[email protected] b21edc2f60 Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
r=bz sr=bz
2006-05-06 22:09:20 +00:00
[email protected] 96634178f2 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
[email protected] 912f0199f5 Fix for bug 298391 (Remove some unused stuff from parser code). r=mrbkap, sr=jst, a=chofmann. 2005-06-24 13:21:59 +00:00
[email protected] 2e649c0d02 bug 280386: Add sanity checking to nsScanner::SetPosition to help catch errors that could manifest in stranger ways. r=bzbarsky sr=jst 2005-02-02 02:04:09 +00:00
[email protected] 3d212f55b6 bug 276149: Remove nsScanner::Eof() and fix error handling in nsScanner.cpp. patch by [email protected] r=mrbkap sr=brendan 2005-01-03 22:06:27 +00:00
[email protected] 3b08873c91 untabify 2004-12-22 00:21:13 +00:00
[email protected] 776cc12348 Reduce string copying and allocation in the parser by only copying the scanner buffer when we need to mutate the string. Allow a nsDependentString / nsDependentSubstring to be created without being bound to anything. Move StripChar() onto nsSubstring from nsString. Bug 269853, r=jst, sr=darin. 2004-11-25 07:03:20 +00:00
[email protected] 43b886d646 bug 70282: view-source loses the last tag in a document if the tag is unclosed. r=rbs sr=roc 2004-11-11 03:41:52 +00:00
[email protected] 6a46af5b4f Fixing bug 267854. Make sure parser data listeners get all the data that comes in from necko, no matter what the current parser context is. [email protected], [email protected] 2004-11-05 06:50:27 +00:00
[email protected] 2dcab226ad Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. [email protected], [email protected] 2004-11-02 19:52:32 +00:00
[email protected] 9b331aae17 Bug 244177: nsScanner::Append() can overwrite the storage in the buffer it allocates. r=dveditz, sr=dbaron. 2004-10-27 20:19:11 +00:00
[email protected] 766dffb52c bug 264956: crash on embedded NUL character in start tag. r+sr=bzbarsky 2004-10-19 01:34:53 +00:00
[email protected] 9b3c0bca0e Fixing bug 260318. UMR in nsScanner::AppendToBuffer() when called from nsScanner constructor. [email protected] 2004-09-22 00:03:46 +00:00
[email protected] 77bb591983 Fixing compiler warning. 2004-08-26 04:10:57 +00:00
[email protected] 248b1ed950 Fixing regression bug 256938. Parser hang. Patch by [email protected], [email protected] 2004-08-26 04:03:48 +00:00
[email protected] 1f1f93ef45 Fixing bug 178088. Making our doctype detection code more robust by ignoring whitespace at the begining of the file when looking for the doctype. [email protected]. [email protected] 2004-08-24 18:37:33 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] f735fd3506 Make the scanner bail out of functions that assume it's initialized if
mSlidingBuffer is null.  Bug 108067, patch by Andreas M. "Clarence" Schneider
<[email protected]> and Blake Kaplan <[email protected]>, r+sr=bzbarsky
2004-06-08 18:54:57 +00:00
[email protected] 5fbf74e952 Bug 102613 UMR: nsReadingIterator<WORD>::*(void)const UMR: Uninitialized memory read in nsScanner::ReadUntil(nsAString&,nsReadEndCondition const&,int)
r=heikki sr=darin
2004-05-12 08:07:06 +00:00
[email protected] 7eb0e4592a Merging patch by bz (from mozilla/htmlparser).
ReadWhitespace should convert lone \r to \r\n so callers see it as a newline.
Bug 103833, r=choess, sr=peterv
2004-05-02 11:17:44 +00:00
[email protected] 8e9d32e179 Merging patch by bz (from mozilla/htmlparser).
Change our concept of a "tagname" to include all sorts of random chars like IE does (that is, allow any char that's not in a short list of terminal chars).
Bug 236002, r=choess, sr=peterv
2004-05-02 11:16:26 +00:00
[email protected] 1ed76a83d6 Merging patch by gerv (from mozilla/htmlparser).
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-23 13:24:28 +00:00
[email protected] 14e471acbc landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
[email protected] 1003d0cf7f Preserve case of end tags in preserve targets (<textarea>, <xmp>, etc.). Bug
64799, r=choess, sr=jst
2004-01-27 04:50:56 +00:00
[email protected] a27bd5ea65 Bug 217089 Compiler warnings
patch by [email protected] r=jst sr=jst
2003-09-11 03:18:49 +00:00
[email protected] aa24a7bb8e fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from [email protected]
2003-06-17 16:40:34 +00:00
[email protected] d870ddc132 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
[email protected] b0d136abf4 fix for bug 200330 - const the heck out of htmlparser!
sr=sfraser, r=jag
2003-04-02 22:59:51 +00:00
[email protected] d575ba72ae Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00