1474 Commits

Author SHA1 Message Date
rbs%maths.uq.edu.au
8cedb518ee Back-end to allow viewsource to toggle wrapping of long lines. b=22022 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@102241 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:02:58 +00:00
heikki%netscape.com
1a511b33d0 Mac project change for bug 93574, nsLoggingSink and nsHTMLNullSink should not be a part of the optimized build.
git-svn-id: svn://10.0.0.236/trunk@102099 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 21:24:07 +00:00
harishd%netscape.com
f4d6d67500 96031 - Made LI's parent model to be flow entity. This would allow inline elements, such as I,B,FONT, etc., to contain LI such that bullets / numbers would also inherit the parent properties.
93574 -  nsLoggingSink and nsHTMLNullSink  should not be a part of the optimized build. Wrapped 'em under MOZ_DEBUG flag.
r=heikki, sr=vidur, a=asa.


git-svn-id: svn://10.0.0.236/trunk@102098 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 21:22:16 +00:00
harishd%netscape.com
d5d2590d74 Parser regression test files.
** NOT PART OF THE BUILD **


git-svn-id: svn://10.0.0.236/trunk@101847 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 22:40:48 +00:00
rjesup%wgate.com
288182f644 Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.


git-svn-id: svn://10.0.0.236/trunk@101822 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 06:15:54 +00:00
harishd%netscape.com
b4cb458835 56245 - Misplaced /FONT was closing out TABLE. I've added logic such that if a residual style tag ( inline element ) cannot contain a tag ( block element ) then it
cannot close it either. Which implies that the end tag is misplaced. Also, made userdefined tags to act as inline elements.
r=heikki,sr=vidur,a=tor.


git-svn-id: svn://10.0.0.236/trunk@101661 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 23:43:43 +00:00
darin%netscape.com
c45df76363 fixes bug 90288 (part 2) "not honoring Pragma: no-cache from HTTP-EQUIV"
r=gagan, sr=dougt


git-svn-id: svn://10.0.0.236/trunk@101577 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 00:38:46 +00:00
harishd%netscape.com
41b05e57a0 96117 - Cache Observer service. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101523 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 18:46:46 +00:00
shanjian%netscape.com
c7216dd2df #95162 Auto-detect doesn't work on kinokuniya page
r=yokoyama sr=jst


git-svn-id: svn://10.0.0.236/trunk@101522 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 18:46:44 +00:00
dbaron%fas.harvard.edu
3485888237 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
dmose%netscape.com
e2fb9a8f10 Update REQUIRES line to fix MOZ_TRACK_MODULE_DEPS bustage; the dependency on 'widget' might conceivably be avoidable, however.
git-svn-id: svn://10.0.0.236/trunk@101377 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 00:39:53 +00:00
heikki%netscape.com
57ec326731 Bug 15089, make XML parser error messages localizable. r=harishd,ftang, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101364 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 23:27:20 +00:00
harishd%netscape.com
ea30cb8aec 93365 - Allow FONT to contain TABLE so that we can control what properties can and cannot propagate inside TABLE in layout. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@101256 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 01:20:47 +00:00
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