1727 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
ef444a9b4f Bug 124870. PRBool -> PRPackedBool in lots of places. Patch by
dann@godzilla.ics.uci.edu, r=heikki, sr=jst


git-svn-id: svn://10.0.0.236/trunk@126401 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:22:59 +00:00
alecf%netscape.com
7e8aa74093 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:31:10 +00:00
kyle.yuan%sun.com
185d879123 Bug 157865 </HTML> at the beginning of the page followed by <HEAD> or <BODY> causes Mozilla to freeze
r=choess, sr=bzbarsky, a=asa
Check in for Jerry's fix.


git-svn-id: svn://10.0.0.236/trunk@125594 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 02:00:48 +00:00
dougt%netscape.com
ecdd8ab65f Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@125444 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:09:10 +00:00
harishd%netscape.com
f3d30a54d4 ** DEBUG ONLY **
Initialize local variables ( were causing problems running parser regression tests )


git-svn-id: svn://10.0.0.236/trunk@124884 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 21:32:56 +00:00
harishd%netscape.com
663d861d36 ** NOT PART OF THE BUILD **
Adding more testcases to the regression test suite


git-svn-id: svn://10.0.0.236/trunk@124880 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 21:19:20 +00:00
bryner%netscape.com
d63c986f4d Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@124756 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-08 07:56:50 +00:00
timeless%mac.com
585baa0803 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk


git-svn-id: svn://10.0.0.236/trunk@124683 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 14:29:25 +00:00
harishd%netscape.com
6147487ae6 ** NOT PART OF THE BUILD **
Removing unncessary files pertaining to parser tests


git-svn-id: svn://10.0.0.236/trunk@124622 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 20:25:29 +00:00
harishd%netscape.com
6453edb2dd ** NOT PART OF THE BUILD **
Removing unnecessary files


git-svn-id: svn://10.0.0.236/trunk@124620 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 20:18:53 +00:00
harishd%netscape.com
d496989f33 ** NOT PART OF THE BUILD ** | Moving parser test cases from logparse dir. to html dir.
git-svn-id: svn://10.0.0.236/trunk@124618 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 20:12:28 +00:00
harishd%netscape.com
dc7a145d57 ** NOT PART OF THE BUILD **
Pertaining to parser regerssion testing


git-svn-id: svn://10.0.0.236/trunk@124568 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 00:47:07 +00:00
harishd%netscape.com
46d322f36a ** NOT PART OF THE BUILD **
Removing unnecessary files


git-svn-id: svn://10.0.0.236/trunk@124540 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 22:01:04 +00:00
harishd%netscape.com
dca861bd0b ** NOT PART OF THE BUILD **Restoring parser regression testing
git-svn-id: svn://10.0.0.236/trunk@124538 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 21:51:42 +00:00
seawood%netscape.com
a7c7e77b8b Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc


git-svn-id: svn://10.0.0.236/trunk@124526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:25:30 +00:00
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