1748 Commits

Author SHA1 Message Date
harishd%netscape.com
ea7a7325e9 Fixing warning
git-svn-id: svn://10.0.0.236/trunk@134117 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 19:25:47 +00:00
harishd%netscape.com
1eb8cce6ae Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134114 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 18:29:35 +00:00
timeless%mozdev.org
3ab2090501 Bug 180286 cvs remove mozilla/htmlparser/tests/windows/Selftest.cpp
r=harishd, sr=heikki


git-svn-id: svn://10.0.0.236/trunk@133990 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 02:22:49 +00:00
timeless%mozdev.org
098d60ad27 not part of the build
Makefile.in changes should make this build on platforms (at least windows)
grabpage.cpp suffered from serious API rot.


git-svn-id: svn://10.0.0.236/trunk@133899 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 12:22:58 +00:00
harishd%netscape.com
2a2e596447 bug 167493 - Backing out the patch based on the bug report
git-svn-id: svn://10.0.0.236/trunk@133792 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 00:38:53 +00:00
bzbarsky%mit.edu
02536b8319 DD should be allowed to contain DL. Bug 179071 and company, r=harishd, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@133773 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 21:55:36 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
cbiesinger%web.de
f8cd5c4215 bug 170219 patch originally by jani.lehtinen@oulu.fi brought to patch form by ajschult@eos.ncsu.edu r=biesi sr=bzbarsky
misspelled #define name


git-svn-id: svn://10.0.0.236/trunk@130243 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 16:36:51 +00:00
rjesup%wgate.com
ef4232374c Bug 167493: userdefined tags should be allowed in <head>. r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@129403 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 20:04:43 +00:00
alecf%netscape.com
f222dfaf57 fix bug 124182 - move nsAVLTree into htmlparser, since it is the only consumer
r=harishd, sr=jst


git-svn-id: svn://10.0.0.236/trunk@129311 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 04:52:01 +00:00
bzbarsky%mit.edu
ce60597567 Fix debug-only build bustage on GCC 3.2. Don't pass objects through "...".
git-svn-id: svn://10.0.0.236/trunk@129296 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 03:44:37 +00:00
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
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