cbiesinger%web.de
39955b6428
bug 245673 named literal strings should be const
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157773 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-11 15:05:29 +00:00
bzbarsky%mit.edu
688b9dafb8
Making view-source not stick whitespace coming between the equals sign and the
...
quote mark in an attribute inside the attr value. Bug 154120, patch by Blake
Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@157145 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 02:59:57 +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
0374f36974
Merging patch by jst (from mozilla/htmlparser).
...
Fixing bug 241328. Eliminating dead code, and making some classes use less memory on some 64-bit platforms. Also doing some general cleaning. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@155384 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 13:29:02 +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
bzbarsky%mit.edu
ceb27e0b2d
Allow newlines to end unquoted attributes again. Bug 235171, r=choess, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@153184 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 23:56:41 +00:00
bzbarsky%mit.edu
8bdf297ed2
Bug 137315. Further fixes to make the line numbers the HTML tokenizer reports
...
correct. This should be the last of it. r=choess, sr=jst
git-svn-id: svn://10.0.0.236/trunk@152987 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 00:26:16 +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
bryner%brianryner.com
309c615d44
fix non-null terminated PRUnichar string constant. Bug 228688, r+sr+a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152864 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-18 00:41:04 +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
bzbarsky%mit.edu
163defe9c7
Save the original tagname when viewing source to prevent case-folding. Bug
...
63137, r=choess, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@149266 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 21:55:26 +00:00
bzbarsky%mit.edu
881281f753
Make parsing super-large script/cdata/whatever blocks faster by using
...
size_forward as a lower-bound estimate for actual distance to end of string.
Bug 171124, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148516 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:34:03 +00:00
bzbarsky%mit.edu
e11bc6808c
Fix CDATA tokenization in view-source mode end the CDATA section on "]>", not
...
']' (as it needs to do for normal parsing mode). Bug 209485, r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@144130 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 01:29:21 +00:00
nisheeth%netscape.com
73bcd9dd60
Fix for bug 206027. r=harishd@netscape.com, sr=jst@netscape.com, a=mkaply@us.ibm.com. Make cut n paste from Powerpoint into Mozilla work properly.
...
git-svn-id: svn://10.0.0.236/trunk@142686 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 03:03:59 +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
shanjian%netscape.com
18ebb2c0bc
#8275 Need routine to perform Unicode composition and decomposition
...
borrowed code from jpnic and created new interface.
r=nhotta, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@136548 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 23:30:01 +00:00
harishd%netscape.com
d2e0c6cd0d
Prevent a hang by consuming entity-look-alike ( &# ) as text. b=188278, r=heikki,sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@136261 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 22:05:52 +00:00
harishd%netscape.com
21bb532f1a
Handle unclosed and malformed TITLE tag. b=42945, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@135830 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 19:21:20 +00:00
harishd%netscape.com
a2a40a39a6
Backing out my changes to see if it fixes the orangeness
...
git-svn-id: svn://10.0.0.236/trunk@135202 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 00:28:47 +00:00
harishd%netscape.com
b38cebbd49
Reduce the size of CStartToken. b=179523, r=heikki sr=jst.
...
Added a couple of testcases to the parser regression test suite
git-svn-id: svn://10.0.0.236/trunk@135185 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 22:38:40 +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
alecf%netscape.com
7e8aa74093
fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
...
r=dmose, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:31:10 +00:00
harishd%netscape.com
eedcf9208e
Preserve comment declaration for textarea and viewsource. b=133044, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@122037 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 23:51:30 +00:00
heikki%netscape.com
b0d8992492
Bug 142788, malformed comment end was not detected in quirks mode which caused the rest of the document to be treated as a comment. r=harishd, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@121816 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 01:08:50 +00:00
heikki%netscape.com
383d357977
Bug 137628, depending on network speed the contents of comments could appear on a page in strict mode. Treat unclosed comment in strict mode as text. Fix line numbers in case we need to wait for more content before parsing. r=harishd, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@121745 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 05:38:46 +00:00
shanjian%netscape.com
da7d80f268
#128181 ncr between 128-159 does not work in html attribute value
...
Add a function called "AppendNCR" and use this function for all NCR parsing.
r=ftang, sr=jst,
git-svn-id: svn://10.0.0.236/trunk@118678 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 23:37:58 +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
e8ede28309
Bug 132238, add back support for SGML short comment and other junk even in strict comment parsing. r=harishd, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@117282 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 02:10:38 +00:00
heikki%netscape.com
d6699c6c57
Bug 132785, regression in strict comment parsing. Although spec does not allow non-whitespace characters between last dash and greater than, there seem to be lots of pages out there that do this. Relax the code that detects comment end so this starts working again. r=harishd, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@117272 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 01:18:52 +00:00
heikki%netscape.com
e3e39244d4
Bug 130045, make marked-section-like constructs close on greater than so that content generated by MS Word and some other tools works as expected. r=harishd, sr=vidur, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@117241 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 22:58:36 +00:00
harishd%netscape.com
4c98adaf57
Do not truncate a legal attribute value when trying to ignore '/' in a short-hand-tag. b=125647, r=heikki, sr=jst, a=scc
...
git-svn-id: svn://10.0.0.236/trunk@116925 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 00:25:34 +00:00
timeless%mac.com
69ae314807
Bug 106386 rid source of misspellings
...
r=db48x sr=blake a=asa
git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +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
shanjian%netscape.com
8f796b42ef
#118000 support unicode plane 1 characters
...
r=ftang, sr=attinasi
this part of checkin added support to NCR of non-BMP characters.
git-svn-id: svn://10.0.0.236/trunk@112233 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 00:00:50 +00:00
harishd%netscape.com
aebb8f7c06
Reduce the size of tokens. b=113657, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@111954 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:39:57 +00:00
jaggernaut%netscape.com
436d43f211
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
...
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
jst%netscape.com
e9bd9a6f04
Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. r=harishd@netscape.com, rs=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@109117 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:13:11 +00:00
alecf%netscape.com
bf4d9b0e6e
first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake
...
git-svn-id: svn://10.0.0.236/trunk@109022 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 21:13:53 +00:00
jaggernaut%netscape.com
5835031439
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@106257 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 07:45:52 +00:00
alecf%netscape.com
0ffec2590a
next part of bug 100214, add nsUnicharUtils to consumers of ToLowerCase/ToUpperCase
...
git-svn-id: svn://10.0.0.236/trunk@105811 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:00:02 +00:00
dbaron%fas.harvard.edu
1382ac90eb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
7bb7b59a69
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
heikki%netscape.com
38b093fce3
Bugscape bug 9924, fix perceived hang by improving comment parsing performance in strict mode. Patch from harishd, r=heikki, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@104529 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 06:54:31 +00:00
jaggernaut%netscape.com
51e0dc7a6c
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
cf694b8116
License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
...
git-svn-id: svn://10.0.0.236/trunk@103776 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:40:45 +00:00
harishd%netscape.com
1770a9beef
91744 - Avoid stack overflow by replacing recursion with a simple do-while. Removed unwanted assertions. r=heikki,sr=vidur
...
git-svn-id: svn://10.0.0.236/trunk@102934 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:48:25 +00:00