jaggernaut@netscape.com
a29a08f141
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
2001-09-29 08:28:41 +00:00
gerv@gerv.net
9a421db1b4
License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
2001-09-26 00:40:45 +00:00
harishd@netscape.com
94704f55de
95614 - Initialized an iterator and replaced NS_ENSURE_SUCCESS ( which asserts), since the result code from nsScanner::Peek() does not indicate an exceptional condition, with equivalent code. r=heikki, sr=waterson.
2001-08-16 21:19:33 +00:00
bratell@lysator.liu.se
91f99d5b03
Bug91437 - Speeding up the tokenizer slightly by using a smarter scan algorithm and avoiding trying to skip whitespace when there are none. r=harishd sr=jst
2001-08-16 05:24:17 +00:00
jaggernaut@netscape.com
c2bcad0b73
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
harishd@netscape.com
5607d3bdea
87110 - Avoid memory bloat by moving Malloc out of do-while. Also do not propagate error messages
...
from unicode coverter. r=ftang, sr=vidur.
89732 - Stop searching for words if mOffset is negative. r=jst sr=vidur
2001-07-13 18:21:23 +00:00
harishd@netscape.com
a43b5a4932
40072 - (patch provided by pollmann) Do not process METAs after FRAMESET. r=harishd sr=vidur
...
58809 - Handle numeric & hexadecimal entities correctly r=heikki sr=vidur
72249 - Per SGML endtag can contain whitespace between generic identifier and tagc. r=heikki sr=vidur
82971 - if the last character was a CR make sure to not lose that information. r=heikki sr=vidur
2001-07-05 22:20:34 +00:00
dbaron@fas.harvard.edu
a64b25509f
To improve performance, change string iterator postfix ++ to prefix ++ when used as a statement. b=78032 r=peterv, scc, harishd, dmose sr=hyatt a=asa
2001-06-19 22:38:45 +00:00
jst@netscape.com
519fe64e10
scc checking in from jst's account. bug #75220 : sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
2001-05-19 11:27:30 +00:00
dbaron@fas.harvard.edu
97a5956709
Improve performance of nsScanner::ReadUntil by requiring the terminal set to be nsAFlatString and using an nested while loop rather than calling a string find function. b=65431 r=harishd@netscape.com sr=vidur@netscape.com
2001-04-28 02:03:18 +00:00
dbaron@fas.harvard.edu
1d5c9760eb
Switch variants of |nsScanner::ReadUntil| to accept new string classes for |aTermSet| and to use |FindCharInReadable| instead of |nsString::FindChar|. Remove (function-scope) |static nsString|s from nsHTMLTokens.cpp. r=harishd@netscape.com sr=vidur@netscape.com b=65431
2001-04-11 02:28:17 +00:00
harishd@netscape.com
02c28571e4
69331 - <?XML..> does not require BODY!!
...
66985 - Do not open BODY for INPUT type=hidden. For compatibility
72639 - Discard nested FORMS
2749 - Enable Strict comment parsing.
Replace PRBools with bit operation.
nsScanner Append() should return nsresult not PRBool.
r=heikki
sr=jst
2001-03-31 22:44:05 +00:00
scc@mozilla.org
8724185e3d
bug #66562 : r=harish, sr=brendan, a=blizzard. Make |document.write| work.
2001-02-13 21:26:58 +00:00
scc@mozilla.org
5309e0ff57
fix bustage caused by access violations not caught in CodeWarrior <sorry>
2001-02-10 01:05:43 +00:00
scc@mozilla.org
4680c0439b
bug #66562 : r=harishd, sr=brendan, a=brendan. Allow insertion into sliding string buffers
2001-02-10 00:02:28 +00:00
dbaron@fas.harvard.edu
15267f2b5c
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +00:00
harishd@netscape.com
1e4e4bdf30
62754 - Fix meta charset that was getting ignored.
...
63234 - Fix up an infinite looping caused by embedded null chars.
r=ftang
sr=vidur
2000-12-21 20:46:00 +00:00
vidur@netscape.com
c213e80191
Fix for bug 62782. Edge case in scanner caused us to drop characters occasionally. Thanks to jst for identification of the problem. r=harishd, sr=jst
2000-12-18 20:44:10 +00:00
vidur@netscape.com
5d0ca658ca
Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
2000-12-12 21:58:14 +00:00
jst@netscape.com
3ba32f670e
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
mjudge@netscape.com
13abfd0646
making string conversions explicit. scc
2000-04-26 01:13:55 +00:00
scc@netscape.com
fbf1212b0e
making string conversions explict
2000-04-03 08:09:23 +00:00
rickg@netscape.com
5664f82396
removed warnings; r=none
2000-03-25 05:38:11 +00:00
rickg@netscape.com
d919a74980
fixed bug 28825, 30780, 31723 plus wip for travis; r=harishd
2000-03-25 03:35:50 +00:00
rickg@netscape.com
f893513a91
removed calls to deprecated string methods
2000-03-12 09:14:14 +00:00
rickg@netscape.com
edc8999bb5
removed warnings and fixed bug 27483; r=rods and akkana (for portions)
2000-02-12 01:47:56 +00:00
rickg@netscape.com
8ec7c86596
fixed 22340, 23749, 23931, 24419, 25522, 25630, 25845 and 25895; r=harishd
2000-02-11 12:11:29 +00:00
harishd@netscape.com
7acc16c3e5
Fix for Bugs
...
24112 - Fixed the orderding of THEAD, TBODY, and TFOOT
24673 - Fixed the crash my not letting P to contain TABLE ( per spec. )
18308 - Ignoring newlines above BODY
18928 - Fixed by forcing a BODY to open, irrespective of FRAMESET document, if
'text' is present in the document.
23791 - Made ; in entities optional.
24006 - Fixed by setting the alternate end-comment to be '>'.
24275 - Buffering newlines/whitespace only when it's absolutely necessary.
24462 - Fixed by making NOBR a block closure.
21917 - Being careful about ignoring newlines/whitespace for body content.
r=rickg
24204 - Fixed by opening up BODY for INPUT ( quirks )
Also did a minor change in CNavDTD::DidBuildModel();
r=pollmann
2000-01-27 02:27:58 +00:00
rickg@netscape.com
b2521a0f0d
Landing harish's fix to bug24190. r=rickg, a=chofmann
2000-01-19 02:38:33 +00:00
harishd@netscape.com
940860b148
Fix for bugs:
...
22485, 20799 ( SCRIPT content processing)
r=vidur,pollmann
Fix for bugs
22260 ( enabling userdifined tags ) - partial fix.
23765 ( handling misplaced newlines/whitespace).
r=rickg
2000-01-15 20:35:57 +00:00
bienvenu@netscape.com
cc49b517f1
backing out harishd 3:50PM checkin a=mcafee
2000-01-14 06:57:53 +00:00
harishd@netscape.com
98746dfe40
Fix for Bugs 22485, 20799 ( SCRIPT content processing ).
...
r=vidur,pollmann
Partial fix for bug 22260 ( enabling userdefined Tags ).
r=rickg
2000-01-13 23:50:41 +00:00
rickg@netscape.com
00db291d72
finally landing residual style handling code; r=harishd; other changes include warning removal and comment handling fix, r=buster. This fixes over 50 bugs.
1999-12-07 00:22:15 +00:00
rickg@netscape.com
2d7ce57d5a
fixed PDT+19121; r=kmcclusk
1999-12-03 00:30:29 +00:00
rickg@netscape.com
a4af500b5f
various bug fixes (PDT+ and other); removed warnings. r=syd
1999-12-02 10:14:42 +00:00
beard@netscape.com
ad2db5bf84
bug #19474 , r=ftang. fixes major memory leak of nsCharsetAlias2 object, which is (12) bytes but references a total of {52708} bytes.
1999-11-28 17:20:11 +00:00
harishd@netscape.com
227a53e050
Unblocking bug 18679.
...
[ scanner got into an infinte loop ]
1999-11-17 00:25:33 +00:00
rickg@netscape.com
197c796e93
2nd half of parser wip; lots of bugs; r=harishd
1999-11-14 06:23:11 +00:00
harishd@netscape.com
be2cc5a0e3
This checkin contains combined work of rickg and harishd
...
Harishd's Changes:
Fix for bugs
2749 - Tweaked strict comment handling, i.e., <!------> is now treated as an illegal comment in strict mode
16934 - Rectifed reporting of JS line error when a newline is found within a tag.
15204 - Made TEXTAREA content to reflect the source document.
11979, 16826 - Stoping the parser properly on receiving the stop-error message.
17594 - Added code to parse <!DOCTYPE> content correctly.
17496 - Building up the stack for orphaned OPTIONs
r=rickg
Rickg's Changes:
rickg will be posting comments on his changes by 11/12/99.
r=harishd
1999-11-13 03:53:11 +00:00
dmose@mozilla.org
20621227af
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
tbogard@aol.net
7efac0ac1a
Changed NS_ASSERTION to use NS_WARN_IF_FALSE. r=pavlov
1999-11-01 21:24:24 +00:00
harishd@netscape.com
a73350ce77
Bug fix 2749 - Tweaked comment handling in quirks mode.
...
Bug fix 15992 - Line breaks within script and style were not getting counted
Related to bug 15423 - Rectified a glitch in Nav. DTD code where a doctype tag
was opening up a body.
Userdefined tags are now treated as containers.
Added Kipp's Leaky Tool
r=pollmann.
1999-10-14 23:37:21 +00:00
harishd@netscape.com
c5b1b66fa0
In reference to bug # 12415
...
Added assertion ( per warrne's request ) to detect null char occasionally appearing in the input
stream provided by necko
R=pollmann
1999-10-07 01:30:56 +00:00
rickg@netscape.com
50724adea2
fixed bug 15290; eliminated a leak; r=kmcclusk
1999-10-05 04:54:53 +00:00
rickg@netscape.com
8ca3fde4d4
performance and bug fixes: r=buster a=chofmann
1999-09-30 04:04:53 +00:00
rickg@netscape.com
784523d2a3
removed a bunch of statically constructed objects
1999-09-19 16:51:08 +00:00
cata@netscape.com
546fd692fe
Method name change.
1999-09-02 19:16:16 +00:00
cata@netscape.com
be98023c60
Fixing build warnings. Step 2: switch to use new method from the interface.
1999-09-01 22:50:50 +00:00
ftang@netscape.com
a67a573850
1. detect BOM, 2. Implement XML 1.0 Appendex F, 3. move hack from nsParser.cpp to nsScanner.cpp so we won't damage UCS2 data
1999-08-30 22:25:17 +00:00
rickg@netscape.com
a30817a6cc
remove warnings, bug fixes, API enhancements
1999-07-25 17:23:24 +00:00