1662 Commits

Author SHA1 Message Date
harishd%netscape.com
cba309a0c0 Make marquee tag a block level element. b=154173, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@124152 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 01:49:38 +00:00
dbaron%fas.harvard.edu
7e821aaa94 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu
7c4652cc16 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
kyle.yuan%sun.com
8057b841d9 Bug 133853 why always add <HTML> token into Tokenizer even there is an <HTML> token already?
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com)'s fix.


git-svn-id: svn://10.0.0.236/trunk@123490 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 02:06:29 +00:00
jfrancis%netscape.com
a65dcc4d82 bug 139466: paste can create nested headers. r=harish; sr=jst
git-svn-id: svn://10.0.0.236/trunk@123152 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 14:07:05 +00:00
stephend%netscape.com
a96a7ab047 Bug 150653. Fixing a comment for nsHTMLEntities::UnicodeToEntity(). Patch by alge@samsen.com. r=choess, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@123111 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 23:37:34 +00:00
harishd%netscape.com
a8c3e46cbb Fixed data loss of malformed table content. b=138577, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@123105 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 23:13:48 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
rbs%maths.uq.edu.au
908f88658d Add the DOCTYPE for the XHTML+MathML+SVG profile in the recognized catalog list, b=145810, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@122065 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 08:16:54 +00:00
harishd%netscape.com
eedcf9208e Preserve comment declaration for textarea and viewsource. b=133044, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@122037 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 23:51:30 +00:00
harishd%netscape.com
d043ec8b24 Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121993 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:46:16 +00:00
heikki%netscape.com
b0d8992492 Bug 142788, malformed comment end was not detected in quirks mode which caused the rest of the document to be treated as a comment. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@121816 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 01:08:50 +00:00
heikki%netscape.com
383d357977 Bug 137628, depending on network speed the contents of comments could appear on a page in strict mode. Treat unclosed comment in strict mode as text. Fix line numbers in case we need to wait for more content before parsing. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@121745 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 05:38:46 +00:00
rpotts%netscape.com
07329cd38e bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
git-svn-id: svn://10.0.0.236/trunk@121674 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:57:37 +00:00
pete.zha%sun.com
5894b69ba2 bug 143168:remove ilayer layer tag from mozilla code
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com)'s fix


git-svn-id: svn://10.0.0.236/trunk@121590 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:08:15 +00:00
harishd%netscape.com
6781fe20d2 Making sure that mCountRemaining also gets updated when data gets inserted into the scanner buffer. b=117441, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121548 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:20:55 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
jkeiser%netscape.com
4fd4a3d9c6 Treat NOLAYER like any undeclared tag (from Antonio Xu). Bug 61443, r=harishd@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121143 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 02:33:34 +00:00
harishd%netscape.com
884c73af13 No need to tokenize the input stream if the DTD ( NavDTD ) cannot create a content sink. b=138071, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121014 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:18:15 +00:00
sicking%bigfoot.com
f33f681c69 Bug 130439: Remove unused function in tokenizer. Patch by choess@stwing.upenn.edu
r=harishd sr=heikki


git-svn-id: svn://10.0.0.236/trunk@120787 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 15:41:00 +00:00
jaggernaut%netscape.com
6f59cccadb Fix two typos on previous checkin for bug 139633. r=dmose, sr=mozbot (even though I couldn't reach him, I'm sure he would've given me sr= for this simple bustage fix)
git-svn-id: svn://10.0.0.236/trunk@120283 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 04:03:57 +00:00
alecf%netscape.com
61312b4eeb fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin


git-svn-id: svn://10.0.0.236/trunk@120220 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:29:54 +00:00
seawood%netscape.com
7e4c3987ab Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components


git-svn-id: svn://10.0.0.236/trunk@119809 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 02:52:44 +00:00
harishd%netscape.com
c996b9fb65 Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst
git-svn-id: svn://10.0.0.236/trunk@119320 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:11:17 +00:00
akkana%netscape.com
d59846a7f1 134439: revert to old tests, since the pref has reverted
git-svn-id: svn://10.0.0.236/trunk@119191 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:10:30 +00:00
akkana%netscape.com
10a8b2f996 134439: Fix dom-text conversion tests for our new handling of quoted text
git-svn-id: svn://10.0.0.236/trunk@119185 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:23:30 +00:00
harishd%netscape.com
b95d0f6708 Initialize token allocator, in the BuildModel() regardless of whether a sink is available or not. b=137644, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@119151 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:04:26 +00:00
bzbarsky%mit.edu
0fb5284569 Fix bug 135833 (view source not working right when it needs a repost).
r=rpotts, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@118905 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 02:23:52 +00:00
harishd%netscape.com
4737cceba4 Fixed a crash my making sure that the CNavDTD and HTMLContentSink stacks are synchronized when handling a FORM. b=133410, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@118812 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:50:44 +00:00
shanjian%netscape.com
da7d80f268 #128181 ncr between 128-159 does not work in html attribute value
Add a function called "AppendNCR" and use this function for all NCR parsing.
r=ftang, sr=jst,


git-svn-id: svn://10.0.0.236/trunk@118678 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 23:37:58 +00:00
harishd%netscape.com
a6dd951b3e Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann
git-svn-id: svn://10.0.0.236/trunk@118658 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:16:46 +00:00
harishd%netscape.com
6b93bed21c Backing out timeless's checkin. This wasn't supposed to happen until we branched
git-svn-id: svn://10.0.0.236/trunk@118508 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 00:43:00 +00:00
shanjian%netscape.com
5e71e472ff #135806 crashes [@ GetNextChar]
modified GetNextChar implementation to handle the fact that aEnd points to
one character beyond the end.
r=harishd, sr=jst, a=asa, adt


git-svn-id: svn://10.0.0.236/trunk@118503 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 00:28:49 +00:00
timeless%mac.com
195ad89ec0 Bug 111576 Incorrect line numbers in HTML files
patch by harishd, r=heikki, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@118494 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:52:12 +00:00
shanjian%netscape.com
9b0af40604 put my previous patch back in. This patch does not seem like cause any
regression in txul.


git-svn-id: svn://10.0.0.236/trunk@118074 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:43:17 +00:00
shanjian%netscape.com
56bb70d264 reverse my previous checkin to see if my checkin cause the txul regression.
git-svn-id: svn://10.0.0.236/trunk@118067 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 01:07:19 +00:00
shanjian%netscape.com
58fa1c3c9f #100849 Charset sniffing in parser could not find charset in some cases
rewrote meta charset detection in parser to be more tolerant to various
meta charset specification.
r=harishd, sr=jst, a=asa, adt


git-svn-id: svn://10.0.0.236/trunk@118041 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-03 22:34:27 +00:00
harishd%netscape.com
c48776120a With nested forms we used to match /FORM to its opening FORM ( though the inner FORM was ignored ). However, IE seems to close the outer FORM when it encounters /FORM. Replicating IE's behavior and also solves a serious form submission problem. b=128521, r=heikki, sr=jst a=dbaron
git-svn-id: svn://10.0.0.236/trunk@117523 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:08:30 +00:00
alecf%netscape.com
9f32fc6e9c fix for bug 132681
r=harishd, sr=jst, a=scc
performance fix - stop scanning files that are known to be XML for html-like text


git-svn-id: svn://10.0.0.236/trunk@117373 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 17:16:44 +00:00
dbaron%fas.harvard.edu
772b5b8c58 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117354 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:16:18 +00:00
heikki%netscape.com
e8ede28309 Bug 132238, add back support for SGML short comment and other junk even in strict comment parsing. r=harishd, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117282 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 02:10:38 +00:00
heikki%netscape.com
d6699c6c57 Bug 132785, regression in strict comment parsing. Although spec does not allow non-whitespace characters between last dash and greater than, there seem to be lots of pages out there that do this. Relax the code that detects comment end so this starts working again. r=harishd, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117272 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 01:18:52 +00:00
heikki%netscape.com
e3e39244d4 Bug 130045, make marked-section-like constructs close on greater than so that content generated by MS Word and some other tools works as expected. r=harishd, sr=vidur, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117241 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 22:58:36 +00:00
darin%netscape.com
fecce6498c fixes MOZ_SVG bustage, b=128508
git-svn-id: svn://10.0.0.236/trunk@117014 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 00:10:17 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
harishd%netscape.com
4c98adaf57 Do not truncate a legal attribute value when trying to ignore '/' in a short-hand-tag. b=125647, r=heikki, sr=jst, a=scc
git-svn-id: svn://10.0.0.236/trunk@116925 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 00:25:34 +00:00
harishd%netscape.com
d23954672d Should not support short-hand-tag notation in HTML. b=102515, r=heikki, sr=jst, a=scc
git-svn-id: svn://10.0.0.236/trunk@116923 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 00:24:00 +00:00
harishd%netscape.com
9d5cd54796 META tags enclosed in a comment should be ignored. b=124904, r=dp/heikki, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@116878 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 21:41:41 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
dbaron%fas.harvard.edu
a397ea7022 Remove unused (or used only if one of the magic enviroment variables ENABLE_STRICT or MOZ_VALIDATE_HTML was set) parser-related code, mostly associated with the strict DTD. b=130439 r=harishd sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@116720 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:34:43 +00:00