harishd%netscape.com
420bd98c1a
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.
...
git-svn-id: svn://10.0.0.236/trunk@101230 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 21:19:33 +00:00
bratell%lysator.liu.se
d4bca51618
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
...
git-svn-id: svn://10.0.0.236/trunk@101192 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 05:24:17 +00:00
timeless%mac.com
0b4ad7127e
Bug 83301 improve error reporting for Mismatched Tag XML, eg data:text/xml,<foo></bar>
...
r=heikki sr=shaver
thanks to tingley@sundell.net and bz
git-svn-id: svn://10.0.0.236/trunk@101088 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 06:48:59 +00:00
cls%seawood.org
3b8b92a2e8
Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
...
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@101008 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 07:59:59 +00:00
harishd%netscape.com
5e7987302b
91051 - Look for '<' or '>' which ever comes first to end DOCTYPE consumption.
...
r=heikki sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@100835 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 22:38:37 +00:00
loadrunner%betak.net
af975c6740
bug 91696, Meta tag does not work, r=shanjian , sr=vidur
...
git-svn-id: svn://10.0.0.236/trunk@100723 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 02:15:41 +00:00
harishd%netscape.com
9b350e3b5d
94208 - When removing styles off the style stack ( residual style ) make sure that
...
the correct ones are getting removed. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100722 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 02:08:50 +00:00
harishd%netscape.com
50df06b8df
Oops my previous checkin has incorrect bug # and sr=. Backing out my preivous change to update the comments
...
git-svn-id: svn://10.0.0.236/trunk@100720 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 02:02:01 +00:00
harishd%netscape.com
3355a26300
94028 - Make sure that the correct style is removed off the style stack - residual style handling. r=heikki, sr=vidur
...
git-svn-id: svn://10.0.0.236/trunk@100714 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 01:44:30 +00:00
mkaply%us.ibm.com
5701ba1811
OS/2 breakage - PR_CALLBACK
...
git-svn-id: svn://10.0.0.236/trunk@100557 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-08 03:23:03 +00:00
harishd%netscape.com
065f184032
83119 - Added support for visibility in GetComputedStyle(). r=heikki,sr=jst.
...
84000 - Preserve NOFRAMES content - patch submitted by scoda@alias.it . r=me, sr=jst.
65467 - DT is an inline element. r=heikki, sr=jst.
88992 - OBJECT should be able to close unclosed block level elements within it. r=heikki, sr=vidur
84491 - IFRAME should be treated similar to NOFRAMES. r=pollmann, sr=vidur
92530 - FORM should behave as a container if the parent is TD or TH. r=heikki,sr=vidur
88243 - For percentage attribute value do not assume that '%' will always be the last character. r=heikki,sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@100508 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 19:05:21 +00:00
waterson%netscape.com
6de9a41f13
Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@100459 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 02:55:54 +00:00
heikki%netscape.com
e2196d3bad
DAMNIT!
...
git-svn-id: svn://10.0.0.236/trunk@100341 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-04 01:26:22 +00:00
heikki%netscape.com
af8fa6cdf9
Trying to fix Mac bustage by building stuff that should not need to be built. The real fix would probably be to turn on the environment variable MOZ_DISABLE_DTD_DEBUG but I do not know how.
...
git-svn-id: svn://10.0.0.236/trunk@100339 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-04 00:35:54 +00:00
dbaron%fas.harvard.edu
5521c3a7fe
Fix bustage by removing nsTokenHandler.cpp (it was already removed from makefile.win and cvs removed).
...
git-svn-id: svn://10.0.0.236/trunk@100329 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 22:25:56 +00:00
heikki%netscape.com
2e7aef048a
Fixing Mac bustage, MANIFEST is in public now.
...
git-svn-id: svn://10.0.0.236/trunk@100328 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 22:20:42 +00:00
harishd%netscape.com
9d8b8e6bcb
Forgot to cvs remove nsITokenhandler.h
...
git-svn-id: svn://10.0.0.236/trunk@100324 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 21:34:40 +00:00
heikki%netscape.com
08772e9ce3
Bug 91320 :
...
** MAC PROJECT CHANGE ** -- Patch from harishd
git-svn-id: svn://10.0.0.236/trunk@100323 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 21:21:35 +00:00
harishd%netscape.com
36086848b7
91320 - Removed unused files from htmlparser module and created a public directory.
...
r= heikki
sr=vidur
git-svn-id: svn://10.0.0.236/trunk@100322 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 21:15:15 +00:00
jaggernaut%netscape.com
2b3b3b2586
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
56ae52c17a
Bug 73353: clean up the REQUIRES lines in Makefiles.
...
git-svn-id: svn://10.0.0.236/trunk@99764 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 22:36:12 +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
945a976db7
Regression test files.
...
** NOT PART OF THE BUILD **
git-svn-id: svn://10.0.0.236/trunk@98735 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 23:16:43 +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
valeski%netscape.com
c93bb536ef
sr=rpotts. cookie/wallet r=morse, xmlTerm r=saravn@mozdev.org, mailnews r=mscott, activeX r=adamlock, everything else covered by the sr from rpotts. 15345. These changes remove nsIDocumentLoaderObserver.idl from the build, and all of it's implementations and registrations have been moved over to nsIWebProgressListener.idl and nsIWebProgress.idl respectively. there are two (78762, 78760) mailnews printing bugs that I overturned *before* landing this. I've run this code through the mail-news and browser smoketests among other tests outlined in the patch description attatched to the bug.
...
git-svn-id: svn://10.0.0.236/trunk@93943 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 20:15:38 +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