bent.mozilla%gmail.com
8298e919b4
Bug 404386 - nsScanner construction is 5% of setting innerHTML. r=mrbkap,smontagu. sr=jst. a=blocking1.9.
...
git-svn-id: svn://10.0.0.236/trunk@244394 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 22:12:22 +00:00
mrbkap%gmail.com
fe03711872
Do not treat backspace as whitespace to match IE and Opera. bug 404252, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@241953 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 18:57:16 +00:00
sharparrow1%yahoo.com
9057c0b45b
Bug 384898: Cleanup nsScanner. r=mrbkap, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@228788 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 00:21:47 +00:00
mrbkap%gmail.com
910e573c7b
Use a better replacement character. bug 315473, r=bzbarsky sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@218905 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 17:30:13 +00:00
mrbkap%gmail.com
e474a95f26
Handle NUL characters in HTML input better. bug 315473, r=jst sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@218876 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 01:25:41 +00:00
timeless%mozdev.org
7185e837bc
Bug 337917 Make consumers stop using cids from other modules
...
r=smontagu sr=darin
git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
timeless%mozdev.org
1a5bcd5020
Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
...
r=bz sr=bz
git-svn-id: svn://10.0.0.236/trunk@196118 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 22:09:20 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
peterv%propagandism.org
4f974157e9
Fix for bug 298391 (Remove some unused stuff from parser code). r=mrbkap, sr=jst, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@175091 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 13:21:59 +00:00
mrbkap%gmail.com
19a5ff75a4
bug 280386: Add sanity checking to nsScanner::SetPosition to help catch errors that could manifest in stranger ways. r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@168687 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 02:04:09 +00:00
mrbkap%gmail.com
3df650a60e
bug 276149: Remove nsScanner::Eof() and fix error handling in nsScanner.cpp. patch by Hans-A.Engel@unibas.ch r=mrbkap sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@167221 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:06:27 +00:00
dbaron%dbaron.org
38b8fcfd2b
untabify
...
git-svn-id: svn://10.0.0.236/trunk@166937 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-22 00:21:13 +00:00
bryner%brianryner.com
7a461c49a4
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.
...
git-svn-id: svn://10.0.0.236/trunk@165773 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-25 07:03:20 +00:00
mrbkap%gmail.com
2d1d00b7e3
bug 70282: view-source loses the last tag in a document if the tag is unclosed. r=rbs sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165245 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 03:41:52 +00:00
jst%mozilla.jstenback.com
902a5809c5
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. r=bzbarsky@mit.edu, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@164986 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 06:50:27 +00:00
jst%mozilla.jstenback.com
bbbde81598
Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@164795 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-02 19:52:32 +00:00
smontagu%smontagu.org
949e7f8046
Bug 244177: nsScanner::Append() can overwrite the storage in the buffer it allocates. r=dveditz, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@164518 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 20:19:11 +00:00
mrbkap%gmail.com
4056efcb88
bug 264956: crash on embedded NUL character in start tag. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@164000 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 01:34:53 +00:00
jst%mozilla.jstenback.com
b9bbc0af83
Fixing bug 260318. UMR in nsScanner::AppendToBuffer() when called from nsScanner constructor. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@162633 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-22 00:03:46 +00:00
jst%mozilla.jstenback.com
0bc93addf5
Fixing compiler warning.
...
git-svn-id: svn://10.0.0.236/trunk@161304 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 04:10:57 +00:00
jst%mozilla.jstenback.com
f626020214
Fixing regression bug 256938. Parser hang. Patch by robin.lu@sun.com, r+sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@161302 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 04:03:48 +00:00
jst%mozilla.jstenback.com
b9f5ad566e
Fixing bug 178088. Making our doctype detection code more robust by ignoring whitespace at the begining of the file when looking for the doctype. r=darin@meer.net. sr=dbaron@dbaron.org
...
git-svn-id: svn://10.0.0.236/trunk@161181 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:37:33 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
d502903332
Make the scanner bail out of functions that assume it's initialized if
...
mSlidingBuffer is null. Bug 108067, patch by Andreas M. "Clarence" Schneider
<c@c07.de> and Blake Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@157598 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 18:54:57 +00:00
timeless%mozdev.org
44fe913204
Bug 102613 UMR: nsReadingIterator<WORD>::*(void)const UMR: Uninitialized memory read in nsScanner::ReadUntil(nsAString&,nsReadEndCondition const&,int)
...
r=heikki sr=darin
git-svn-id: svn://10.0.0.236/trunk@156292 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-12 08:07:06 +00:00
peterv%propagandism.org
affa61ff04
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
git-svn-id: svn://10.0.0.236/trunk@155823 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 11:17:44 +00:00
peterv%propagandism.org
beda106d3b
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
git-svn-id: svn://10.0.0.236/trunk@155822 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 11:16:26 +00:00
peterv%propagandism.org
7697906006
Merging patch by gerv (from mozilla/htmlparser).
...
Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155383 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 13:24:28 +00:00
darin%meer.net
55688e6410
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
...
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bzbarsky%mit.edu
62c53f23d5
Preserve case of end tags in preserve targets (<textarea>, <xmp>, etc.). Bug
...
64799, r=choess, sr=jst
git-svn-id: svn://10.0.0.236/trunk@151887 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 04:50:56 +00:00
timeless%mozdev.org
da927140fb
Bug 217089 Compiler warnings
...
patch by mbockelkamp@web.de r=jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@146729 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 03:18:49 +00:00
alecf%flett.org
71e5d724e5
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 jshin@mailaps.org
git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
alecf%flett.org
1c89787dc0
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
git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
alecf%netscape.com
a06219c70d
fix for bug 200330 - const the heck out of htmlparser!
...
sr=sfraser, r=jag
git-svn-id: svn://10.0.0.236/trunk@140605 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:59:51 +00:00
dougt%netscape.com
fed2927b2c
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 CIDs 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.
git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
sfraser%netscape.com
6f87b85c6b
Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
...
git-svn-id: svn://10.0.0.236/trunk@138693 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 05:47:36 +00:00
nisheeth%netscape.com
fb4f428f15
Fix for bug 182067. r=harishd, sr=jst, a=asa. Fixes the crash/hang on Linux when a data: url with a null data segment is typed into the url bar.
...
git-svn-id: svn://10.0.0.236/trunk@137172 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 00:58:41 +00:00
bzbarsky%mit.edu
4f51e5b41e
use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@128743 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:23:22 +00:00
harishd%netscape.com
6781fe20d2
Making sure that mCountRemaining also gets updated when data gets inserted into the scanner buffer. b=117441, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121548 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:20:55 +00:00
harishd%netscape.com
a6dd951b3e
Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann
...
git-svn-id: svn://10.0.0.236/trunk@118658 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:16:46 +00:00
harishd%netscape.com
6b93bed21c
Backing out timeless's checkin. This wasn't supposed to happen until we branched
...
git-svn-id: svn://10.0.0.236/trunk@118508 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 00:43:00 +00:00
timeless%mac.com
195ad89ec0
Bug 111576 Incorrect line numbers in HTML files
...
patch by harishd, r=heikki, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@118494 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:52:12 +00:00
dbaron%fas.harvard.edu
772b5b8c58
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117354 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:16:18 +00:00
heikki%netscape.com
82bf6a58a6
Bug 110544, improving comment parsing by avioding string copies and other trickery. r=harishd, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@116687 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 03:03:45 +00:00
dp%netscape.com
507da7c4a5
backing out previous change to figure out whats going on
...
git-svn-id: svn://10.0.0.236/trunk@116063 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 16:45:25 +00:00
dp%netscape.com
ebea38ccd0
(again) bug 116023 Parser recycling buffers. Protects all cases of
...
usage of mCurrentPosition without checking mSlidingBuffer. r=harishd,
sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@116061 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 15:43:12 +00:00
mcafee%netscape.com
07afd54c5f
This checkin is making the DomToTextConversionTest hang on sleestack, comet. Backing this out. r=jrgm
...
git-svn-id: svn://10.0.0.236/trunk@115670 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 07:44:57 +00:00
dp%netscape.com
d16a2c3b7c
bug 116023 Parser recycling buffers r=harishd, sr=sfraser, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115658 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 23:09:52 +00:00
dbaron%fas.harvard.edu
ac6b721449
Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
...
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
alecf%netscape.com
83ac6a3dcc
progress towards fixing 123041 - stop making copies of entities names and values as we retrieve them out of various entity tables
...
also, a few uses of NS_LITERAL_STRING, removal of long-since-unused nsHTMLContentSinkStream
r/sr=sfraser, sr=jag, r=harishd
git-svn-id: svn://10.0.0.236/trunk@114304 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:17:53 +00:00