harishd%netscape.com
8ed69b648d
62754 - Fix meta charset that was getting ignored.
...
63234 - Fix up an infinite looping caused by embedded null chars.
r=ftang
sr=vidur
git-svn-id: svn://10.0.0.236/trunk@83950 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 20:46:00 +00:00
vidur%netscape.com
0e19ac99ad
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
...
git-svn-id: svn://10.0.0.236/trunk@83796 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 20:44:10 +00:00
vidur%netscape.com
3e62b3f9f3
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
...
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
jst%netscape.com
7e0575bfee
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
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
mjudge%netscape.com
3cd9a051da
making string conversions explicit. scc
...
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
scc%netscape.com
dd2b4f8ffb
making string conversions explict
...
git-svn-id: svn://10.0.0.236/trunk@65023 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:09:23 +00:00
rickg%netscape.com
fc42d987f5
removed warnings; r=none
...
git-svn-id: svn://10.0.0.236/trunk@64107 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 05:38:11 +00:00
rickg%netscape.com
bea8b36d30
fixed bug 28825, 30780, 31723 plus wip for travis; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@64098 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:35:50 +00:00
rickg%netscape.com
1bd57cb94b
removed calls to deprecated string methods
...
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
rickg%netscape.com
d72b633f03
removed warnings and fixed bug 27483; r=rods and akkana (for portions)
...
git-svn-id: svn://10.0.0.236/trunk@60562 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 01:47:56 +00:00
rickg%netscape.com
0ab79b600b
fixed 22340, 23749, 23931, 24419, 25522, 25630, 25845 and 25895; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@60478 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 12:11:29 +00:00
harishd%netscape.com
d400676ed4
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
git-svn-id: svn://10.0.0.236/trunk@58870 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:27:58 +00:00
rickg%netscape.com
bf3697323c
Landing harish's fix to bug24190. r=rickg, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@58207 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 02:38:33 +00:00
harishd%netscape.com
f0e1788e4b
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
git-svn-id: svn://10.0.0.236/trunk@57953 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 20:35:57 +00:00
bienvenu%netscape.com
a871f40ff8
backing out harishd 3:50PM checkin a=mcafee
...
git-svn-id: svn://10.0.0.236/trunk@57791 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 06:57:53 +00:00
harishd%netscape.com
3c64c50dcb
Fix for Bugs 22485, 20799 ( SCRIPT content processing ).
...
r=vidur,pollmann
Partial fix for bug 22260 ( enabling userdefined Tags ).
r=rickg
git-svn-id: svn://10.0.0.236/trunk@57737 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:50:41 +00:00
rickg%netscape.com
51c4bb8682
finally landing residual style handling code; r=harishd; other changes include warning removal and comment handling fix, r=buster. This fixes over 50 bugs.
...
git-svn-id: svn://10.0.0.236/trunk@55489 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 00:22:15 +00:00
rickg%netscape.com
6d81d0e4d1
fixed PDT+19121; r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@55130 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:30:29 +00:00
rickg%netscape.com
0a160eb0a8
various bug fixes (PDT+ and other); removed warnings. r=syd
...
git-svn-id: svn://10.0.0.236/trunk@55067 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 10:14:42 +00:00
beard%netscape.com
134197fc4f
bug #19474 , r=ftang. fixes major memory leak of nsCharsetAlias2 object, which is (12) bytes but references a total of {52708} bytes.
...
git-svn-id: svn://10.0.0.236/trunk@54537 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 17:20:11 +00:00
harishd%netscape.com
1f8ab9e606
Unblocking bug 18679.
...
[ scanner got into an infinte loop ]
git-svn-id: svn://10.0.0.236/trunk@53711 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 00:25:33 +00:00
rickg%netscape.com
a01e50e17f
2nd half of parser wip; lots of bugs; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@53451 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 06:23:11 +00:00
harishd%netscape.com
1e6fe5a7f5
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
git-svn-id: svn://10.0.0.236/trunk@53402 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 03:53:11 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
tbogard%aol.net
87358978bd
Changed NS_ASSERTION to use NS_WARN_IF_FALSE. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@52412 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 21:24:24 +00:00
harishd%netscape.com
1cd0327569
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.
git-svn-id: svn://10.0.0.236/trunk@50722 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:37:21 +00:00
harishd%netscape.com
946d742a4d
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
git-svn-id: svn://10.0.0.236/trunk@50073 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 01:30:56 +00:00
rickg%netscape.com
685d8d596e
fixed bug 15290; eliminated a leak; r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@49805 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:54:53 +00:00
rickg%netscape.com
447e168990
performance and bug fixes: r=buster a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@49400 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 04:04:53 +00:00
rickg%netscape.com
207d88ebf9
removed a bunch of statically constructed objects
...
git-svn-id: svn://10.0.0.236/trunk@48258 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 16:51:08 +00:00
cata%netscape.com
5d1d26e022
Method name change.
...
git-svn-id: svn://10.0.0.236/trunk@45714 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 19:16:16 +00:00
cata%netscape.com
82b73ce0cc
Fixing build warnings. Step 2: switch to use new method from the interface.
...
git-svn-id: svn://10.0.0.236/trunk@45546 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 22:50:50 +00:00
ftang%netscape.com
83734eae50
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
...
git-svn-id: svn://10.0.0.236/trunk@45206 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:25:17 +00:00
rickg%netscape.com
aed2a73b26
remove warnings, bug fixes, API enhancements
...
git-svn-id: svn://10.0.0.236/trunk@41054 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 17:23:24 +00:00
scc%netscape.com
b498e2909d
explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs
...
git-svn-id: svn://10.0.0.236/trunk@40614 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 05:25:17 +00:00
rickg%netscape.com
75d0feca26
fixed stupidity in scanner. Sorry folks
...
git-svn-id: svn://10.0.0.236/trunk@40087 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 08:06:24 +00:00
rickg%netscape.com
0db543897b
fix bug 10109
...
git-svn-id: svn://10.0.0.236/trunk@40077 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 05:30:49 +00:00
rickg%netscape.com
94ea0e1b16
switching to faster string APIs
...
git-svn-id: svn://10.0.0.236/trunk@40069 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 03:09:16 +00:00
rickg%netscape.com
20e21e266e
post-process fix to unicode library error
...
git-svn-id: svn://10.0.0.236/trunk@40052 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 23:43:52 +00:00
rickg%netscape.com
1958024e3d
bug fixes, warning removal, perf. improvements
...
git-svn-id: svn://10.0.0.236/trunk@39702 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:31:38 +00:00
mcafee%netscape.com
16cfc2fcf3
Spelling error
...
git-svn-id: svn://10.0.0.236/trunk@35152 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:08:13 +00:00
ftang%netscape.com
eb2533ba2d
fix signed/unsigned problem, call Reset function when error occur
...
git-svn-id: svn://10.0.0.236/trunk@30449 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:53:49 +00:00
ftang%netscape.com
70dca6cd03
better error handling in append method
...
git-svn-id: svn://10.0.0.236/trunk@30170 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:01:55 +00:00
rickg%netscape.com
c1a9c636d1
sync with new nsString2 API
...
git-svn-id: svn://10.0.0.236/trunk@28426 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:02:14 +00:00
scc%netscape.com
1506788f7e
generalize fstreams to our own input streams, this is the first part of a change to allow XUL from streams
...
git-svn-id: svn://10.0.0.236/trunk@26522 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:39:11 +00:00
rickg%netscape.com
716929551b
major rev to parsing engine
...
git-svn-id: svn://10.0.0.236/trunk@26286 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 06:55:49 +00:00
alecf%netscape.com
d5ce998bd6
purify fixes from bruce@cybersight.com
...
git-svn-id: svn://10.0.0.236/trunk@23786 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:58:25 +00:00
ftang%netscape.com
768862e631
reviewed by rickg. Pick up meta tag and change converter
...
git-svn-id: svn://10.0.0.236/trunk@23190 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 20:00:23 +00:00
rickg%netscape.com
0608af3478
fixed recently introduced i18n bugs
...
git-svn-id: svn://10.0.0.236/trunk@23117 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 19:23:28 +00:00
ftang%netscape.com
2b67a2ec3f
add comment, remove InitUnicodeDecoder method
...
git-svn-id: svn://10.0.0.236/trunk@20797 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:32:02 +00:00