1748 Commits

Author SHA1 Message Date
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
cls%seawood.org
f4f0b8b7a6 Remove unneeded LOST_SYM_LIBS defines.
git-svn-id: svn://10.0.0.236/trunk@93441 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 01:13:22 +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
harishd%netscape.com
ccf1ed4977 fixing the bustage...
git-svn-id: svn://10.0.0.236/trunk@92886 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 22:57:22 +00:00
harishd%netscape.com
d2199013d8 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann


git-svn-id: svn://10.0.0.236/trunk@92885 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 22:22:15 +00:00
timeless%mac.com
75929d9555 fix Bugzilla Bug 75853 CR and LF are naked ifdefs
r=dveditz, sr=scc


git-svn-id: svn://10.0.0.236/trunk@92666 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 05:59:43 +00:00
pierre%netscape.com
b160c572c1 Removed nsHTMLContentStream.cpp. Checked in for harishd.
git-svn-id: svn://10.0.0.236/trunk@92607 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:49:10 +00:00
harishd%netscape.com
ebecf5a4cb 68790 - Remove nsHTMLContentSinkStream dependency. Not in use anymore
r=heikki
sr=jst


git-svn-id: svn://10.0.0.236/trunk@92594 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:23:33 +00:00
rbs%maths.uq.edu.au
45b99efaab Improve the speed of viewsource - Patch of Boris Zbarsky <bzbarsky@mit.edu> b=74486 r=rbs r=attinasi
git-svn-id: svn://10.0.0.236/trunk@92532 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 07:23:04 +00:00
nhotta%netscape.com
0bef4f6581 Changed to ignore encoding="UTF-16" in detectByteOrderMark(), bug 66807, r=ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@92133 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 23:57:18 +00:00