Commit Graph

1804 Commits

Author SHA1 Message Date
alecf%netscape.com
ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
dougt%netscape.com
df7b588e25 fixing bustage. AppendRelativeNativePath only can be used when appending "native paths". r=saspitzer, b=197520 2003-03-17 20:14:39 +00:00
dougt%netscape.com
0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
timeless%mozdev.org
6e5cc519a5 Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
r=harishd sr=heikki
2003-03-14 04:03:09 +00:00
heikki%netscape.com
dadc4b1160 Bug 191327, make internalSubset not include delimiting brackets (was not defined in DOM 2 but is now defined in DOM 3 drafts). Also fix bug 191482, external entity definitions should be included in internal subset. r=harishd, jst, sr=peterv. 2003-03-07 23:40:51 +00:00
alecf%netscape.com
5b7536c806 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
sfraser%netscape.com
395413772f Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2003-02-28 05:47:36 +00:00
harishd%netscape.com
52d6a3bcf1 Do not open head context if <script> is in the body context. b=194329, r=heikki, sr=jst 2003-02-27 22:26:00 +00:00
heikki%netscape.com
7a6fcb12fb Bug 193179, recognize XHTML Mobile Profile FPI in order to load XHTML entities, r=harishd, sr=jst. 2003-02-27 00:39:07 +00:00
heikki%netscape.com
b68801109e Bug 184001, do not copy external DTDs into internal subset, r=harishd, sr=jst, a=asa. 2003-01-31 19:21:24 +00:00
nisheeth%netscape.com
21ceecdd77 Fix for bug 182067. r=harishd, sr=jst, a=asa. Fixes the crash/hang on Linux when a data: url with a null data segment is typed into the url bar. 2003-01-31 00:58:41 +00:00
timeless%mozdev.org
ffbe76ec56 Bug 183355 Typo in parser UTF charset detection code
patch by alexey@ihug.com.au r=ftang sr=heikki
2003-01-19 00:52:04 +00:00
shanjian%netscape.com
ca221e3ed9 #8275 Need routine to perform Unicode composition and decomposition
borrowed code from jpnic and created new interface.
r=nhotta, sr=alecf.
2003-01-17 23:30:01 +00:00
mkaply%us.ibm.com
9f457e2bdb No bug - OS/2 only - test - put OS/2 code into test (originally used XP_PC and broke OS/2 - didn't write the OS/2 code at that time) 2003-01-16 21:35:18 +00:00
harishd%netscape.com
ce8790d388 Ignore noxxx content when copy pasting into a plain text editor. b=97687, r=peterv, sr=heikki 2003-01-16 20:24:03 +00:00
harishd%netscape.com
f0c4a3bf92 Prevent a hang by consuming entity-look-alike ( &# ) as text. b=188278, r=heikki,sr=jst 2003-01-13 22:05:52 +00:00
harishd%netscape.com
f0ba8a82d3 Close Head context before dealing with tags that belong in body/frameset. b=187790, r=heikki, sr=jst 2003-01-09 18:29:23 +00:00
dbaron%dbaron.org
e373ada193 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 20:44:25 +00:00
caillon%returnzero.com
6d92f9bd32 184257 - Updating pref callers. r=timeless sr=bzbarsky 2003-01-08 08:40:41 +00:00
bryner%netscape.com
c6b2b6ea72 Removing a long-dead file. Not part of the build. 2003-01-05 05:38:27 +00:00
harishd%netscape.com
6d74664081 Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst 2003-01-03 23:17:22 +00:00
harishd%netscape.com
bd25dd7868 Convert CRLF or CR to LF when collecting skippedcontent. b=159615, r=glazman, sr=peterv 2003-01-03 20:49:07 +00:00
harishd%netscape.com
20f01eafe4 Handle unclosed and malformed TITLE tag. b=42945, r=heikki, sr=jst 2003-01-03 19:21:20 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
bratell%lysator.liu.se
d7f0632d43 Bug 173388 - Take this you ugly orange tinderbox! 2002-12-19 07:18:17 +00:00
bratell%lysator.liu.se
304c608514 Bug 173388 - Use TABs to seperate table cell when converting HTML -> Text (copying from a web page). 2002-12-19 06:22:55 +00:00
jkeiser%netscape.com
857a7b0ffe Make /applet close things inside applet tag (bug 129888), patch by adu@sparc.spb.su, r=harishd@netscape.com, sr=heikki@netscape.com 2002-12-17 01:28:16 +00:00
harishd%netscape.com
6b2eccc420 Backing out my changes to see if it fixes the orangeness 2002-12-13 00:28:47 +00:00
harishd%netscape.com
01c72c5364 Reduce the size of CStartToken. b=179523, r=heikki sr=jst.
Added a couple of testcases to the parser regression test suite
2002-12-12 22:38:40 +00:00
harishd%netscape.com
edc17b39c3 Backing out fix for bug 149887 because of bug 184029. a=asa 2002-12-09 19:30:10 +00:00
harishd%netscape.com
e81d7b47ff Backing out the fix for bug 142965 inorder to fix an important issue raised in bug 183711. a=asa 2002-12-07 01:48:25 +00:00
harishd%netscape.com
27d146c600 Make sure to catch error messages returned by nsCompontentManagerImpl::CreateInstance when creating a dtd ( CNavDTD ). This fixes a shutdown crash. r=timeless, sr=heikki, a=asa 2002-12-06 01:54:39 +00:00
mkaply%us.ibm.com
90c35eaf2d OS/2 bustage - XP_PC does NOT equal XP_WIN 2002-12-04 17:25:44 +00:00
timeless%mozdev.org
cbb1698848 whoops 2002-12-04 09:47:50 +00:00
timeless%mozdev.org
21e8a1cd6a build bustage: adding local include 2002-12-04 09:09:49 +00:00
timeless%mozdev.org
50f284f1dd fixing logparse bustage sr=jst 2002-12-04 08:20:46 +00:00
timeless%mozdev.org
e81924d866 logparse has include issues, temporarily removing 2002-12-04 08:02:12 +00:00
timeless%mozdev.org
73602ad8f7 Bug 180336 Add parser tests: grabpage logparse html
r=harishd sr=heikki
2002-12-04 07:27:06 +00:00
timeless%mozdev.org
c437e11811 reindent per heikki@netscape.com 2002-12-04 07:22:26 +00:00
harishd%netscape.com
71f3292d48 ** NOT PART OF THE BUILD **
Adding testcases to parser regression test suite
2002-12-03 22:52:02 +00:00
harishd%netscape.com
6f9d106c0c Prevent content inside IFRAME from evaluating ( specifically SCRIPT ). b=149887, r=heikki, sr=jst 2002-12-03 22:31:38 +00:00
harishd%netscape.com
b661f6e269 Make sure to collect FORM attributes if the FORM was found along with misplaced content inside TABLE. b=142965, r=heikki, sr=jst. Added -/W3C/DTD HTML 4.0 Transitional/EN to the quirks list. b=146274, r=heikki, sr=dbaron 2002-12-03 19:55:19 +00:00
dbaron%fas.harvard.edu
de5585e5e7 Remove unused parser-related code. b=130439 r=harishd sr=jst 2002-11-28 19:43:51 +00:00
jfrancis%netscape.com
0c756dc3b3 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin 2002-11-22 03:30:59 +00:00
timeless%mozdev.org
85bf194d68 not part of the build. these directories are probably going to be removed shortly. 2002-11-20 04:06:57 +00:00
darin%netscape.com
51f2223c79 fixing linux bustage: make |nsCParserNode::operator delete| protected
instead of private.  also fixes some warnings.
2002-11-19 19:42:46 +00:00
harishd%netscape.com
6ef160454d Fixing warning 2002-11-19 19:25:47 +00:00
harishd%netscape.com
3b23a2feca 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 2002-11-19 18:29:35 +00:00
timeless%mozdev.org
488cbd738a Bug 180286 cvs remove mozilla/htmlparser/tests/windows/Selftest.cpp
r=harishd, sr=heikki
2002-11-17 02:22:49 +00:00
timeless%mozdev.org
f01b367346 not part of the build
Makefile.in changes should make this build on platforms (at least windows)
grabpage.cpp suffered from serious API rot.
2002-11-15 12:22:58 +00:00
harishd%netscape.com
eae046a5d5 bug 167493 - Backing out the patch based on the bug report 2002-11-14 00:38:53 +00:00
bzbarsky%mit.edu
be8786baf7 DD should be allowed to contain DL. Bug 179071 and company, r=harishd, sr=heikki 2002-11-13 21:55:36 +00:00
seawood%netscape.com
57e08a3f3a 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
2002-10-17 06:47:01 +00:00
cbiesinger%web.de
8fb4915706 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
2002-09-23 16:36:51 +00:00
rjesup%wgate.com
0eef19f8e5 Bug 167493: userdefined tags should be allowed in <head>. r=harishd, sr=jst 2002-09-12 20:04:43 +00:00
alecf%netscape.com
1a88abe55c fix bug 124182 - move nsAVLTree into htmlparser, since it is the only consumer
r=harishd, sr=jst
2002-09-12 04:52:01 +00:00
bzbarsky%mit.edu
1d1f4c702f Fix debug-only build bustage on GCC 3.2. Don't pass objects through "...". 2002-09-12 03:44:37 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
bzbarsky%mit.edu
530b8b7db6 use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst 2002-09-03 22:23:22 +00:00
jfrancis%netscape.com
308ab1fe69 fix for 159842: parser has no mechanism to allow parsing of incomplete html fragments. sr's from heikki, kin, bz 2002-08-29 08:17:41 +00:00
shanjian%netscape.com
fd1c7b2e6c #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.
2002-08-26 20:13:31 +00:00
bryner%netscape.com
b366f360b3 Ignore generated Makefiles. 2002-08-23 10:30:06 +00:00
smontagu%netscape.com
fb85304487 Bug 110388: Enhancements and bugfixes to viewsource. r=bz, sr=rbs. 2002-08-20 17:29:16 +00:00
heikki%netscape.com
3c4832e229 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. 2002-08-13 18:41:16 +00:00
gerv%gerv.net
a6d4accdea Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com
20081c7ad2 Removing unused htmlparserSharedPrefix{,_debug}.h
Bug #125118 r=cls sr=bryner
2002-08-08 00:34:45 +00:00
seawood%netscape.com
301b1a4ca8 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
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu
2b05ed9368 Bug 124870. PRBool -> PRPackedBool in lots of places. Patch by
dann@godzilla.ics.uci.edu, r=heikki, sr=jst
2002-08-06 01:22:59 +00:00
alecf%netscape.com
e9e1a39573 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
2002-07-25 18:31:10 +00:00
kyle.yuan%sun.com
b4f60adb92 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.
2002-07-23 02:00:48 +00:00
dougt%netscape.com
c2ec17237f 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
2002-07-18 05:09:10 +00:00
harishd%netscape.com
7c70fd1d12 ** DEBUG ONLY **
Initialize local variables ( were causing problems running parser regression tests )
2002-07-09 21:32:56 +00:00
harishd%netscape.com
e738cb58da ** NOT PART OF THE BUILD **
Adding more testcases to the regression test suite
2002-07-09 21:19:20 +00:00
bryner%netscape.com
90a2f7dfb7 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2002-07-08 07:56:50 +00:00
timeless%mac.com
651ae14d30 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
harishd%netscape.com
ee87f663a2 ** NOT PART OF THE BUILD **
Removing unncessary files pertaining to parser tests
2002-07-03 20:25:29 +00:00
harishd%netscape.com
961a52299c ** NOT PART OF THE BUILD **
Removing unnecessary files
2002-07-03 20:18:53 +00:00
harishd%netscape.com
dce1c9383b ** NOT PART OF THE BUILD ** | Moving parser test cases from logparse dir. to html dir. 2002-07-03 20:12:28 +00:00
harishd%netscape.com
a059ad4074 ** NOT PART OF THE BUILD **
Pertaining to parser regerssion testing
2002-07-03 00:47:07 +00:00
harishd%netscape.com
5dcb086aa6 ** NOT PART OF THE BUILD **
Removing unnecessary files
2002-07-02 22:01:04 +00:00
harishd%netscape.com
777934d370 ** NOT PART OF THE BUILD **Restoring parser regression testing 2002-07-02 21:51:42 +00:00
seawood%netscape.com
03ace271f0 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
2002-07-02 20:25:30 +00:00
harishd%netscape.com
b8ad324d2e Make marquee tag a block level element. b=154173, r=heikki, sr=jst 2002-06-27 01:49:38 +00:00
dbaron%fas.harvard.edu
6d2263f19b 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 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu
e63a11c0e8 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 2002-06-25 21:16:17 +00:00
kyle.yuan%sun.com
30ad18391d 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.
2002-06-18 02:06:29 +00:00
jfrancis%netscape.com
1324dd0b92 bug 139466: paste can create nested headers. r=harish; sr=jst 2002-06-12 14:07:05 +00:00
stephend%netscape.com
5c3c0171ee Bug 150653. Fixing a comment for nsHTMLEntities::UnicodeToEntity(). Patch by alge@samsen.com. r=choess, sr=vidur 2002-06-11 23:37:34 +00:00
harishd%netscape.com
453b4a4bb9 Fixed data loss of malformed table content. b=138577, r=heikki, sr=jst 2002-06-11 23:13:48 +00:00
alecf%netscape.com
bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
rbs%maths.uq.edu.au
b997cf4c0f Add the DOCTYPE for the XHTML+MathML+SVG profile in the recognized catalog list, b=145810, r=heikki, sr=jst 2002-05-23 08:16:54 +00:00
harishd%netscape.com
59be36d323 Preserve comment declaration for textarea and viewsource. b=133044, r=heikki, sr=jst 2002-05-22 23:51:30 +00:00
harishd%netscape.com
1e4585c9ba Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst 2002-05-22 00:46:16 +00:00
heikki%netscape.com
9c64fe0ca0 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. 2002-05-18 01:08:50 +00:00
heikki%netscape.com
6a0d31cce8 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. 2002-05-17 05:38:46 +00:00
rpotts%netscape.com
73de225b01 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener) 2002-05-16 20:57:37 +00:00
pete.zha%sun.com
b6994b2435 bug 143168:remove ilayer layer tag from mozilla code
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com)'s fix
2002-05-16 03:08:15 +00:00
harishd%netscape.com
87cecdb92d Making sure that mCountRemaining also gets updated when data gets inserted into the scanner buffer. b=117441, r=heikki, sr=jst 2002-05-15 20:20:55 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00