Commit Graph

1281 Commits

Author SHA1 Message Date
bbaetz%cs.mcgill.ca
bc59624bed merge from trunk, and fix resulting bustage.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@106386 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 20:34:27 +00:00
bbaetz%cs.mcgill.ca
983a3b270c Merge from trunk.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@106048 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 14:12:44 +00:00
bbaetz%cs.mcgill.ca
510e725ccd Merge from trunk.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@105389 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 14:11:00 +00:00
bbaetz%cs.mcgill.ca
df1c51102a Merge from trunk.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@105016 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 06:16:59 +00:00
bbaetz%cs.mcgill.ca
72d875ffe0 Add svg mimetype to the list of those parsable, so that .svg files work.
This meant having this file on the branch, too.


git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@104774 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 19:37:14 +00:00
bbaetz%cs.mcgill.ca
acde98368d Merge from trunk, and fix resulting bustage.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@104220 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 15:26:02 +00:00
alex.fritze%crocodile-clips.com
bd1db1af2b Merge from trunk.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@103841 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 15:56:50 +00:00
(no author)
20b4befce0 This commit was manufactured by cvs2svn to create branch
'SVG_20010721_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@103777 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:40:46 +00:00
bbaetz%cs.mcgill.ca
42825c482f Merge from trunk.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@103765 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:34:54 +00:00
alex.fritze%crocodile-clips.com
58df013662 Merge from trunk.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@102605 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 07:47:48 +00:00
alex.fritze%crocodile-clips.com
9f448791ba Merge from trunk
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@102299 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 16:02:27 +00:00
bbaetz%cs.mcgill.ca
2ad02d873f Merge from trunk. Probably won't build without other changes.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@101395 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 02:37:07 +00:00
bbaetz%cs.mcgill.ca
5d6294248e Merge from trunk.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@101091 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 07:20:27 +00:00
bbaetz%cs.mcgill.ca
51eda91852 Merge from trunk.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@101023 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 15:20:50 +00:00
bbaetz%cs.mcgill.ca
493702a133 Misc typo fixes. Make SVGdocuments work (really silly typo), and change
the tokenizer so that we can use the svg namespace when the dtd is
specified.


git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@100379 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 00:04:42 +00:00
bbaetz%cs.mcgill.ca
223cb5fc9c Merge from trunk.
git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@100352 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-04 09:55:37 +00:00
bbaetz%cs.mcgill.ca
457ef7da76 Initial checkin of new svg code onto the branch.
Patches mainly by alex.fritze@crocodile-clips.com, unix port + SVGDocument
stuff by me. This merge is from Alex's 8 June patch drop.


git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@99716 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-21 21:40:19 +00:00
(no author)
d8259f77d9 This commit was manufactured by cvs2svn to create branch
'SVG_20010721_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/SVG_20010721_BRANCH@99703 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-21 02:54:33 +00:00
harishd%netscape.com
5cc0b9b42c 91205 - Removed a debug flag that accidently got enabled.
r=nisheeth, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@99537 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 22:56:22 +00:00
harishd%netscape.com
e3a070393b 90379 - Added null check to avert a topcrash. Real problem unknown!
r=heikki,sr=blake


git-svn-id: svn://10.0.0.236/trunk@99432 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 20:46:17 +00:00
harishd%netscape.com
58688829ca 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


git-svn-id: svn://10.0.0.236/trunk@99195 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 18:21:23 +00:00
vidur%netscape.com
8426597d5f Fix for bugs 89177 and 89155. We now ignore bad charsets, ones that aren't recognized by the charset alias service and a fixed list of UTF-16 and UTF-32 charsets. r=yokoyama, sr=jst
git-svn-id: svn://10.0.0.236/trunk@99029 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 00:59:14 +00:00
vidur%netscape.com
a4676c8729 Fix for bugs 89169 and 89522. Reverting the priority of the cached charset to fix regressions. We now resniff the charset even on a cached load. r=yokoyama, sr=jst
git-svn-id: svn://10.0.0.236/trunk@99028 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 00:59:01 +00:00
harishd%netscape.com
b7dcadfafa Forgot to include this comment in my previous checkin.
88746 - Make sure to not update *end*. Also, skip quotes when the charset has no value. r=heikki sr=vidur.


git-svn-id: svn://10.0.0.236/trunk@98725 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 22:26:10 +00:00
harishd%netscape.com
eb02af6620 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


git-svn-id: svn://10.0.0.236/trunk@98721 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 22:20:34 +00:00
cls%seawood.org
1b859632f1 Landing static build changes for OS2
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #85283 r=mkaply r=waterson


git-svn-id: svn://10.0.0.236/trunk@98398 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-01 12:11:13 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
jaggernaut%netscape.com
dd73f368d4 Fix senna bustage (REQUIRES += nkcache)
git-svn-id: svn://10.0.0.236/trunk@98354 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 04:48:11 +00:00
vidur%netscape.com
599c0d0fe9 Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@98320 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:56:58 +00:00
heikki%netscape.com
465af56961 Bug 84002, remove unused code (expat DTD etc.). r=rbs@maths.uq.edu.au, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@98088 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 23:10:09 +00:00
jaggernaut%netscape.com
179eedd115 Bug 78458: ``Remove our broken text/rtf support'', patch by Boris Zbarsky <bzbarsky@mit.edu>, r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@97928 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 05:22:23 +00:00
kmcclusk%netscape.com
1823eaba29 Added code to interrupt the parser's processing of tokens if a threshold is exceeded to improve interactivity during long page loads. Turned OFF by default. Can be enabled through a pref. bug 76722 r=harishd@netscape.com,rickg@netscape.com sr=vidur@netscape.com,attinasi@netscape.com a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@97651 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 02:06:23 +00:00
waterson%netscape.com
18986ada3f Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs.
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +00:00
dbaron%fas.harvard.edu
c203792c3d 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
git-svn-id: svn://10.0.0.236/trunk@97460 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:38:45 +00:00
harishd%netscape.com
51d81a9901 82500 - Make sure that DidBuildModel gets called only once per document.
79492 - In collecting skipped content make sure that entity-like-markup is not mistaken for an entity.
80009 - PRE should be treated as a block-level element - per spec.
82498 - Do not process script content in a frameset document.
82544 - Beginning/ending quotes in attribute values are now removed by the parser.
77145 - Fix off-by-one error.

r=heikki
sr=vidur
a=asa


git-svn-id: svn://10.0.0.236/trunk@97352 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 21:18:37 +00:00
dbaron%fas.harvard.edu
be5fd03419 Reduce the size of EntityNode from 92 bytes to 8 bytes (on 32-bit platforms) by holding a pointer to the string in the text segment or string owned by the creator instead of copying that string into an nsCAutoString. b=81746 r=harishd@netscape.com sr=vidur@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@96375 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:39:38 +00:00
rbs%maths.uq.edu.au
cb5f0dd43c Fix crasher bug 82332 - Avoid relying on the scanner because it can be set to null while the tokenizer isn't yet done. Use a pointer cached in the parser to retrieve the filename needed for error reporting. r=harishd sr=jst a=blizzard
git-svn-id: svn://10.0.0.236/trunk@96233 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 09:10:00 +00:00
jst%netscape.com
535c86019d 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.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
rbs%maths.uq.edu.au
829a60bdeb Report the name of the faulty file when there is an XML parsing error. Useful for popup windows or XUL files. b=47416 r=heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@95093 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 02:49:24 +00:00
harishd%netscape.com
8e7bf84767 75641 - Fixing MLK caused by unclosed FONT tags ( penguin.html )
r=heikki sr=waterson
77352 - Making sure that the heading tags' size takes precedence over
residual style tags' size info.
r=pollmann sr=attinasi
57248 - Moved attribute entity parsing to the parser land.
r=heikki sr=jst.


git-svn-id: svn://10.0.0.236/trunk@95062 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:32:26 +00:00
ftang%netscape.com
936a64c40e fix 76689. r=harishd sr=blizzard
fix non-ASCII xml element name display in the end tag at xml view source


git-svn-id: svn://10.0.0.236/trunk@94658 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 14:39:17 +00:00
harishd%netscape.com
79bb25c122 77746 - Remove style from the style stack on encountering the appropritate end tag.
78202 - Added text-decoration property for GetComputedStyle.
26347 - Anchor ( special element ) should be able to close phrasel elements
78140 - Putting back list-style-image support for getComputedStyle that got removed accidently.

r=heikki
sr=jst


git-svn-id: svn://10.0.0.236/trunk@94319 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 03:29:09 +00:00
jst%netscape.com
3b31ece558 Checking in patch from sbanu@softwin.ro that enables view-source of text/sgml in mozilla, fixes bug 76671. r=harishd@netscape.com, sr=me.
git-svn-id: svn://10.0.0.236/trunk@93923 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 10:13:25 +00:00
timeless%mac.com
bb6fa05909 Bugzilla Bug 77080 Show application/x-javascript in browser window instead of trying to download
fix by bzbarsky@mit.edu, r=harishd, sr=jst


git-svn-id: svn://10.0.0.236/trunk@93852 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 22:28:44 +00:00
rbs%maths.uq.edu.au
5aab9ce2eb Fix bug 76567 (load viewsource.css on demand rather than at startup) and bug 60892 (show title on the viewsource window). Patch mostly by bzbarsky@mit.edu r=harishd,brendan sr=jst
git-svn-id: svn://10.0.0.236/trunk@93620 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 04:55:30 +00:00
cls%seawood.org
cfeb5eff5b Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775
git-svn-id: svn://10.0.0.236/trunk@93397 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 19:48:12 +00:00
dbaron%fas.harvard.edu
c040285e00 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
git-svn-id: svn://10.0.0.236/trunk@93346 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 02:03:18 +00:00
shanjian%netscape.com
8c2e5edb63 #43529 Propagate charset override in frames
r = ftang sr=erik
Charset from parent frame should take precedence of charset from cache.


git-svn-id: svn://10.0.0.236/trunk@93312 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:47:14 +00:00
heikki%netscape.com
425ae2f19f Forgot a file, fix bustage.
git-svn-id: svn://10.0.0.236/trunk@93178 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 20:46:17 +00:00
heikki%netscape.com
466eb9093d Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@93171 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 19:33:12 +00:00