1737 Commits

Author SHA1 Message Date
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
bzbarsky%mit.edu
4f51e5b41e use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@128743 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:23:22 +00:00
jfrancis%netscape.com
6cf80b2b8c fix for 159842: parser has no mechanism to allow parsing of incomplete html fragments. sr's from heikki, kin, bz
git-svn-id: svn://10.0.0.236/trunk@128445 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 08:17:41 +00:00
shanjian%netscape.com
5d1c227024 #162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.


git-svn-id: svn://10.0.0.236/trunk@128141 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:13:31 +00:00
smontagu%netscape.com
7cde0da736 Bug 110388: Enhancements and bugfixes to viewsource. r=bz, sr=rbs.
git-svn-id: svn://10.0.0.236/trunk@127708 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 17:29:16 +00:00
heikki%netscape.com
fbe40219c9 Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@127185 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 18:41:16 +00:00
gerv%gerv.net
5751d43faf Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@126985 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:39:43 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
seawood%netscape.com
ad53bb35ea Removing unused htmlparserSharedPrefix{,_debug}.h
Bug #125118 r=cls sr=bryner


git-svn-id: svn://10.0.0.236/trunk@126710 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 00:34:45 +00:00
seawood%netscape.com
5cf2509541 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls


git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
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
hwaara%chello.se
79c60ad859 #62157, "Document content is rendered even though version value is not '1.0'." Make us care about what version is specified and bail out on anything but "1.0".
r=bzbarsky, sr=heikki, a=asa


git-svn-id: svn://10.0.0.236/trunk@125527 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 01:18:52 +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