Граф коммитов

2246 Коммитов

Автор SHA1 Сообщение Дата
peterv%propagandism.org 68a7e5f818 Fix for bug 233907 (document.createElementNS() doesn't throw NAMESPACE_ERR when given a namespace-invalid name.). r/sr=jst. 2004-03-06 16:00:23 +00:00
darin%meer.net c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bzbarsky%mit.edu 641d08f619 Allow newlines to end unquoted attributes again. Bug 235171, r=choess, sr=jst 2004-02-24 23:56:41 +00:00
bzbarsky%mit.edu 4fd4ad47c2 Bug 137315. Further fixes to make the line numbers the HTML tokenizer reports
correct.  This should be the last of it.  r=choess, sr=jst
2004-02-20 00:26:16 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com 102f95c31c fix non-null terminated PRUnichar string constant. Bug 228688, r+sr+a=dbaron 2004-02-18 00:41:04 +00:00
dbaron%dbaron.org d1c0e28de0 Arguments to strcmp need to be null-terminated. b=228688 r+sr=jst a=chofmann 2004-02-18 00:15:49 +00:00
peterv%propagandism.org 700d38b243 No C++ comments in a C file. 2004-02-09 17:27:03 +00:00
peterv%propagandism.org b9b01d2d6d Use 0, not nsnull in expat. 2004-02-09 17:03:59 +00:00
peterv%propagandism.org 5deac3ddf5 Fix for bug 232591 (Expose name validation methods from the XML parser (expat)). r=Pike, sr=jst. 2004-02-09 14:15:57 +00:00
peterv%propagandism.org aae0654273 Fix for bug 232591 (Expose name validation methods from the XML parser (expat)). r=Pike, sr=jst. 2004-02-09 13:37:40 +00:00
hjtoi%comcast.net e7c77f7465 Bug 197114, less copying when loading external DTDs, r=alecf, sr=darin. 2004-02-07 21:23:34 +00:00
alex.fritze%crocodile-clips.com 5c676d4a47 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bzbarsky%mit.edu 9a0393e37d Preserve case of end tags in preserve targets (<textarea>, <xmp>, etc.). Bug
64799, r=choess, sr=jst
2004-01-27 04:50:56 +00:00
jst%mozilla.jstenback.com fc9f3d6ea3 Fixing bug 183373. Provide XPCOM methods for accessing a shared empty string object. r=bryner@brianryner.com, sr=dbaron@dbaron.org 2004-01-21 21:36:40 +00:00
caillon%returnzero.com 03937573d2 230953 - Remove traces of dtd-debug. r+sr=jst 2004-01-15 04:50:10 +00:00
timeless%mozdev.org ca639b334b Bug 211249 mozilla/htmlparser/src/nsParser.cpp line 1766 interuptted should be interrupted
r=heikki sr=heikki
2004-01-15 04:06:00 +00:00
bsmedberg%covad.net d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net 274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
peter%propagandism.org a173180fad Part of fix for bug 192139 (Intergrate latest Expat). r=Pike, sr=jst. 2003-12-23 18:04:56 +00:00
bryner%brianryner.com 1017625194 Add MOZ_ prefix to a few more symbols to avoid conflicts with system libexpat. Remove hashtable.c from build because it's unused. Bug 119934, r=darin, sr=dbaron, a=asa. 2003-12-05 20:17:03 +00:00
bzbarsky%mit.edu 13729d01dd Save the original tagname when viewing source to prevent case-folding. Bug
63137, r=choess, sr=heikki
2003-11-13 21:55:26 +00:00
timeless%mozdev.org 991dcbab82 Bug 211266 void nsHTMLEntities::AddRefTable doesn't check the return value of PL_DHashTableInit
r=axel sr=heikki
2003-11-05 22:11:55 +00:00
bryner%brianryner.com 78f1cb532a Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst. 2003-11-05 05:17:07 +00:00
sicking%bigfoot.com 697fa403a0 Bug 224727: Make IBM doctype trigger quirks mode rather then almost standards.
r=mkaply sr=dbaron
2003-11-04 23:50:18 +00:00
darin%meer.net 29ee417b00 bug 119934, change namespace for expat symbols to avoid conflicts with
system version (fixes static gtk+2 linux build) r=peterv sr=heikki
2003-10-31 03:49:49 +00:00
bzbarsky%mit.edu 229ee709e9 Make parsing super-large script/cdata/whatever blocks faster by using
size_forward as a lower-bound estimate for actual distance to end of string.
Bug 171124, r+sr=dbaron
2003-10-30 02:34:03 +00:00
bzbarsky%mit.edu 75c3e6a121 Make nsExpatDriver and nsIExpatSink be on the same wavelength as far as passing
attributes to HandleStartElement.  Update callees as needed.  Bug 223470,
r=sicking, sr=peterv
2003-10-30 02:17:50 +00:00
darin%meer.net 5316381ba3 fixes bug 221431 "crash: @nsHTMLDocument::ResolveName" patch=keeda@hotpop.com r=darin sr=bz 2003-10-07 18:20:58 +00:00
darin%meer.net 77642ae698 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
hpradhan%hotpop.com 45786f132b Bug 170985 : fix for gcc3.4 bustage 2003-09-24 07:30:16 +00:00
hpradhan%hotpop.com a163d2b594 Bug 170985 : bustage possible btek bustage fix 2003-09-24 07:15:34 +00:00
hpradhan%hotpop.com 0e053b8dd8 Bug 170985 : table-based content object creation r=peterv sr=jst 2003-09-24 06:16:52 +00:00
bsmedberg%covad.net 781187a4f0 bug 219355 (regression from bug 179834) - XML parsing errors (entity not found) - r=heikki sr=darin 2003-09-17 18:09:25 +00:00
bsmedberg%covad.net e74c2167e3 Bug 219389 - ViewSource highlighting broken (from bug 179834) r=pike sr=darin 2003-09-17 17:28:47 +00:00
bsmedberg%covad.net 0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
timeless%mozdev.org 5de7f01e9d Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=timeless sr=heikki
2003-09-11 03:18:50 +00:00
timeless%mozdev.org e8c8dcd5a8 Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=jst sr=jst
2003-09-11 03:18:49 +00:00
bryner%brianryner.com 7171f28ff4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:24:21 +00:00
cls%seawood.org 1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
cls%seawood.org b269896d2b #pragma is msvc specific, not win32 specific 2003-08-02 19:50:46 +00:00
timeless%mozdev.org 267497e472 Adding the ablity to disable view source.
patch by dougt r=bz,sr=darin,b=199335
2003-07-30 23:57:39 +00:00
timeless%mozdev.org 4e9aa03fa2 Bug 214445 View Page Source fails
Backing out:
Bug 199335 [minimo]make all viewsource stuff configurable
2003-07-30 17:02:52 +00:00
dougt%meer.net 0a335488c8 Adding the ablity to disable view source. r=bz,sr=darin,b=199335 2003-07-30 02:39:05 +00:00
dbaron%dbaron.org 47183725c7 Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com 817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
harishd%netscape.com 6e8656a57a Initialize userdefined element. b=176709, r=nisheeth@netscape.com, sr=jst@netscape.com 2003-07-01 22:21:20 +00:00
jkeiser%netscape.com 78ba276e17 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2003-06-26 06:10:03 +00:00
bzbarsky%mit.edu a60cd171ee Fix CDATA tokenization in view-source mode end the CDATA section on "]>", not
']' (as it needs to do for normal parsing mode).  Bug 209485, r=harishd, sr=jst
2003-06-25 01:29:21 +00:00
alecf%flett.org b7fa256d74 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
alecf%flett.org 2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
dbaron%dbaron.org f88fdaee47 P should not be allowed to contain TABLE in standards mode. Patch by Mats Palmgren <mats.palmgren@bredband.net>. r=harishd sr=dbaron b=91927 2003-06-11 04:24:25 +00:00
dbaron%dbaron.org 08724b5166 Make tag lists more maintainable by using sizeof to determine the array length. b=208846 r=harishd sr=jst 2003-06-10 22:12:28 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
heikki%netscape.com 5d9dd23bf0 Bug 207904, doctype with name only got destroyed by our doctype handling, r=harishd, sr=jst. 2003-06-03 17:47:10 +00:00
timeless%mozdev.org 412f76b934 Bug 203391 InPlaceConvertLineEndings(class nsAString &)' defined but not used
r=harishd sr=heikki
2003-05-30 22:36:47 +00:00
harishd%netscape.com 9dea772152 Preserve tokenizer state between document.writes. b=99467, r=heikki@netscape.com, sr=jst@netscape.com 2003-05-28 20:56:21 +00:00
bryner%netscape.com 9c595fffe0 Removing unused nsHTMLNullSink and SelfTest.cpp. Bug 207019, r=harishd, sr=jst. 2003-05-27 22:08:44 +00:00
dwitte%stanford.edu 270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
nisheeth%netscape.com e7bc557c1f Fix for bug 206027. r=harishd@netscape.com, sr=jst@netscape.com, a=mkaply@us.ibm.com. Make cut n paste from Powerpoint into Mozilla work properly. 2003-05-21 03:03:59 +00:00
dbaron%dbaron.org 2c5817a3a2 Fix unicode to entity conversion in case where we have duplicate names for a unicode codepoint to prefer the correct name. Partly based on patch by brade@netscape.com. b=205110 r=alecf sr=heikki a=brendan 2003-05-20 20:53:21 +00:00
bzbarsky%mit.edu fe536ead5e Put line number ids on all the <pre> blocks that we create; this should make it
easier to hook up a performant "go to line" UI.  Bug 104383, r+sr=rbs, a=asa
2003-05-17 16:15:30 +00:00
akkana%netscape.com 636be2b9df Add a missing semicolon 2003-05-16 20:59:20 +00:00
akkana%netscape.com 6ca136ed77 If the serializer test fails, print the url of some helpful doc. r=mcafee sr=alecf a=sspitzer 2003-05-16 18:19:44 +00:00
bryner%netscape.com bbddef3e3a Remove some obsolete code from htmlparser. Bug 205730, r=harishd, sr=jst, a=sspitzer. 2003-05-16 00:59:04 +00:00
pkw%us.ibm.com c0e3c52aa5 Bug 205812 - nsHTMLEntities.cpp fails to build in 64-bit mode on AIX.
r=harishd@netscape.com, sr=alecf@flett.org, a=asa@mozilla.org
2003-05-15 22:24:24 +00:00
harishd%netscape.com f0e0caefea Allow userdefined tags in the HEAD. b=167493, r=nisheeth@netscape.com, sr=jst@netscape.com, a=sspitzer 2003-05-02 20:57:52 +00:00
bzbarsky%mit.edu 97c2f70759 Make CreateContextualFragment know what document the fragment is destined for.
Fixes some issues with images and innerHTML.  Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
jshin%mailaps.org 57b5274f65 bug 68738 : UTF-16/32LE with BOM is always detected as UTF-16BE/32BE.
r=ftang, sr=heikki
2003-04-10 07:10:48 +00:00
timeless%mozdev.org ccd42d2e17 Bug 201271 Fix interface inconsistencies in parser
patch by choess@stwing.upenn.edu r=harishd sr=jst
2003-04-09 22:44:25 +00:00
timeless%mozdev.org f0f727bb67 Bug 63188 What is the aMode parameter in CToken::Consume?
patch by choess@stwing.upenn.edu r=jst sr=jst
2003-04-08 22:01:46 +00:00
timeless%mozdev.org 82fedfaf09 Bug 199200 Make Networking Tests XP friendly by using the eventqueueservice
sr=heikki
2003-04-08 22:01:40 +00:00
bzbarsky%mit.edu 31b73ec09c Some random code cleanup:
1)  Make SetContentSink and SetParserFilter not claim to return stuff
2)  Clean up nsIParser to use NS_IMETHOD_() where needed.  Sync up with nsParser
3)  Removed some never-used code

Bug 40149, r=harishd, sr=jst
2003-04-08 21:23:34 +00:00
alecf%netscape.com 30e2ba9ebb remove unused #include (no reviewer, its just not used) 2003-04-08 20:55:30 +00:00
alecf%netscape.com f69ebc1f6b fix for the first part of bug 200580, remove nsIDTD::ConvertEntityToUnicode, nobody is using it r=harishd, sr=jst 2003-04-08 20:54:56 +00:00
alecf%netscape.com c907f27c52 first part of fix for bug 200507 - get rid of nsAVLTree in favor of hashtables
r=harishd, sr=jag
2003-04-06 22:24:35 +00:00
hpradhan%hotpop.com ab79cda8b9 bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst 2003-04-05 07:19:09 +00:00
alecf%netscape.com ecb9202673 fix for bug 200330 - const the heck out of htmlparser!
sr=sfraser, r=jag
2003-04-02 22:59:51 +00:00
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
heikki%netscape.com 2fcfad024a Bug 169980, document.load should add its document to the parent document's loadgroup so that if we leave the current page the load will be aborted aotomatically, r=harishd, sr=darin. 2003-04-02 21:44:39 +00:00
alecf%netscape.com 3eda9ed635 re-land bug 200139, moving EntityNode into static space
sr=sfraser, r=harishd
removed constructors/destructors since these are no longer created on the heap
2003-04-02 04:39:12 +00:00
alecf%netscape.com e6ff3e6293 huh, back myself out for now, not sure if I'm causing the domtextconversion problem or not 2003-04-02 01:58:51 +00:00
alecf%netscape.com f1ff5d1436 fix for bug 200139 - nsHTMLEntities has way too many static tables - switch everying over to "const" and stop allocating copies of static data
r=harishd, sr=sfraser
(oh, and spelling update: Comparitor -> Comparator)
2003-04-02 01:16:29 +00:00
alecf%netscape.com 8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
timeless%mozdev.org 697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
alecf%netscape.com b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
timeless%mozdev.org dc49f0d7be Bug 198620 Make grabpage work on linux by adding an event loop
r=harishd
2003-03-21 19:52:02 +00:00
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
harishd%netscape.com 6c4d24109a Update expat buffer postion when the parser is about to get blocked. b=185325, r=heikki, sr=jst 2002-12-17 19:18:40 +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
hwaara%chello.se 52d72e9998 #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
2002-07-20 01:18:52 +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
jkeiser%netscape.com 8de1592240 Treat NOLAYER like any undeclared tag (from Antonio Xu). Bug 61443, r=harishd@netscape.com, sr=jst@netscape.com 2002-05-09 02:33:34 +00:00
harishd%netscape.com e0ad4815d7 No need to tokenize the input stream if the DTD ( NavDTD ) cannot create a content sink. b=138071, r=heikki, sr=jst 2002-05-07 23:18:15 +00:00
sicking%bigfoot.com 574469f3d4 Bug 130439: Remove unused function in tokenizer. Patch by choess@stwing.upenn.edu
r=harishd sr=heikki
2002-05-04 15:41:00 +00:00
jaggernaut%netscape.com 5cad11cc0a 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) 2002-04-30 04:03:57 +00:00
alecf%netscape.com 9348ce8ac8 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
2002-04-29 20:29:54 +00:00
seawood%netscape.com c0ec608df6 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
2002-04-25 02:52:44 +00:00
harishd%netscape.com d6971b20c1 Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst 2002-04-18 22:11:17 +00:00
akkana%netscape.com 8484a03df1 134439: revert to old tests, since the pref has reverted 2002-04-17 01:10:30 +00:00
akkana%netscape.com d893e8024c 134439: Fix dom-text conversion tests for our new handling of quoted text 2002-04-17 00:23:30 +00:00
harishd%netscape.com 85bb2bbae1 Initialize token allocator, in the BuildModel() regardless of whether a sink is available or not. b=137644, r=heikki, sr=jst 2002-04-16 22:04:26 +00:00
bzbarsky%mit.edu ce84061033 Fix bug 135833 (view source not working right when it needs a repost).
r=rpotts, sr=darin.
2002-04-13 02:23:52 +00:00
harishd%netscape.com cd7eee0829 Fixed a crash my making sure that the CNavDTD and HTMLContentSink stacks are synchronized when handling a FORM. b=133410, r=heikki, sr=jst 2002-04-11 23:50:44 +00:00
shanjian%netscape.com 1a4c177e1c #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,
2002-04-10 23:37:58 +00:00
harishd%netscape.com 7609e93846 Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann 2002-04-10 22:16:46 +00:00
harishd%netscape.com 8534ae1d76 Backing out timeless's checkin. This wasn't supposed to happen until we branched 2002-04-09 00:43:00 +00:00
shanjian%netscape.com f4935039c4 #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
2002-04-09 00:28:49 +00:00
timeless%mac.com cf65e75b10 Bug 111576 Incorrect line numbers in HTML files
patch by harishd, r=heikki, sr=jst, a=chofmann
2002-04-08 23:52:12 +00:00
shanjian%netscape.com d8d40a9bc8 put my previous patch back in. This patch does not seem like cause any
regression in txul.
2002-04-04 02:43:17 +00:00
shanjian%netscape.com 90bad4891c reverse my previous checkin to see if my checkin cause the txul regression. 2002-04-04 01:07:19 +00:00
shanjian%netscape.com 593ad31404 #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
2002-04-03 22:34:27 +00:00
harishd%netscape.com 9eb39faa72 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 2002-03-26 23:08:30 +00:00
alecf%netscape.com b9aae60cb7 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
2002-03-24 17:16:44 +00:00
dbaron%fas.harvard.edu 6cdcd7ef3a Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
heikki%netscape.com ff0b611455 Bug 132238, add back support for SGML short comment and other junk even in strict comment parsing. r=harishd, sr=jst, a=asa. 2002-03-23 02:10:38 +00:00
heikki%netscape.com 22aecc3d20 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. 2002-03-23 01:18:52 +00:00
heikki%netscape.com 3958edb4ee 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. 2002-03-22 22:58:36 +00:00
darin%netscape.com b8fe796007 fixes MOZ_SVG bustage, b=128508 2002-03-21 00:10:17 +00:00
darin%netscape.com 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
harishd%netscape.com a4e33ea18a Do not truncate a legal attribute value when trying to ignore '/' in a short-hand-tag. b=125647, r=heikki, sr=jst, a=scc 2002-03-20 00:25:34 +00:00
harishd%netscape.com 2a328274aa Should not support short-hand-tag notation in HTML. b=102515, r=heikki, sr=jst, a=scc 2002-03-20 00:24:00 +00:00
harishd%netscape.com 94856f71df META tags enclosed in a comment should be ignored. b=124904, r=dp/heikki, sr=darin, a=asa 2002-03-19 21:41:41 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
dbaron%fas.harvard.edu 0b816e3591 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 2002-03-16 15:34:43 +00:00
heikki%netscape.com 3116e5c047 Bug 110544, improving comment parsing by avioding string copies and other trickery. r=harishd, sr=jst, a=asa. 2002-03-16 03:03:45 +00:00
rbs%maths.uq.edu.au 8f6916c2d9 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa 2002-03-15 09:45:31 +00:00
heikki%netscape.com bf57164cba Bug 129608, moving XML parsererror into its own namespace along with the CSS rules so it won't mess up with web pages using parsererror and sourcetext tags. Clean up the content tree before parser error. Also removing dead files. r=harishd, sr=jst, a=roc+moz@cs.cmu.edu. 2002-03-12 22:17:18 +00:00
bzbarsky%mit.edu 3ed5ed84cd Take out fix of bug 40809, since it no longer seems necessary and hurts
performance.  Bug 129192, r=harishd, sr=jst, a=asa
2002-03-08 02:43:17 +00:00
dp%netscape.com db17994366 backing out previous change to figure out whats going on 2002-03-07 16:45:25 +00:00
dp%netscape.com 6164595e54 (again) bug 116023 Parser recycling buffers. Protects all cases of
usage of mCurrentPosition without checking mSlidingBuffer. r=harishd,
sr=sfraser, a=asa
2002-03-07 15:43:12 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
alecf%netscape.com cd8f07f3e8 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
mcafee%netscape.com cdb0c4c6b4 This checkin is making the DomToTextConversionTest hang on sleestack, comet. Backing this out. r=jrgm 2002-03-03 07:44:57 +00:00
dp%netscape.com 726bf1c6a9 bug 116023 Parser recycling buffers r=harishd, sr=sfraser, a=asa 2002-03-02 23:09:52 +00:00
bzbarsky%mit.edu 8ea594b9ba Make view-source a lot faster on bidi pages by breaking up the page into
multiple blocks.  Bug 86355, r=rbs, sr=jst, a=asa/shaver
2002-03-01 00:07:48 +00:00
harishd%netscape.com 88be35bf92 Regression - Make EXPECTED TAG error message localizable. b=126452, r=harishd, sr=jst. ** Patch provided by heikki@netscape.com ** 2002-02-20 03:16:14 +00:00
timeless%mac.com abdca2b41a Bug 114166 rewrite nsDeque
r=akkana sr=alecf
rs=alecf for TestDeque.cpp
2002-02-20 03:08:32 +00:00
harishd%netscape.com c1beb7218a Crasher - Expat parser's XML_ParseBuffer wasn't aware of the BLOCKING mechansim and hence failed to update the buffer position ( bufferPtr ). The fix would update bufferPtr such that when the expat parser gets upblocked we'd resume from the point we stopped. b=123475, r=rbs@maths.uq.edu.au, sr=jst 2002-02-19 02:01:18 +00:00
dbaron%fas.harvard.edu 59892aa65e Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
bzbarsky%mit.edu 6baa8a23f9 Make text/plain view-source use the view-source parser. Bug 124753,
r=harishd, sr=jst.
2002-02-16 15:51:02 +00:00
harishd%netscape.com 804e3adf1a Fixing hang - If misplaced table content turns out to be skipped content then we need to make sure that the rest of the table content belongs to the skipped content until we reach the matching end-skipped-content-tag. b=124788, r=heikki, sr=jst 2002-02-16 01:36:50 +00:00
harishd%netscape.com 8ddc75fad9 Make sure to flush the tokenizer stack after tokenizing SCRIPT content. Note: This checkin also includes code clean up. b=104856, r=heikki, sr=jst 2002-02-14 23:45:20 +00:00
harishd%netscape.com 45d4414905 ** Patch provided by dougt ** Create parser-service category.b=107087, r=harishd, sr=alecf 2002-02-14 23:18:28 +00:00
alecf%netscape.com 4f4d815566 progress towards fixing 123041 - stop making copies of entities names and values as we retrieve them out of various entity tables
also, a few uses of NS_LITERAL_STRING, removal of long-since-unused nsHTMLContentSinkStream
r/sr=sfraser, sr=jag, r=harishd
2002-02-12 21:17:53 +00:00
heikki%netscape.com 49d0a35f7d Bug 110464, don't load external entities for standalone documents (minor perf optimization). Patch from henris@clinet.fi. r=heikki, sr=jst. 2002-02-12 01:02:44 +00:00
bzbarsky%mit.edu 97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 98afc5ee0f Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu 40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
heikki%netscape.com 3a6fb922c1 Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser. 2002-02-01 22:28:55 +00:00
alecf%netscape.com 5483b6f627 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
2002-02-01 01:53:09 +00:00
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
alecf%netscape.com 28b3772942 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
cathleen%netscape.com 8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
dougt%netscape.com c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
alecf%netscape.com 171c4587c3 back out my accidental checkin 2002-01-28 02:47:30 +00:00
alecf%netscape.com bcd6a6fb94 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst 2002-01-27 22:02:00 +00:00
heikki%netscape.com 17ab5a619c Bug 35984, make an undefined entity always a fatal error; report errors while parsing external entities (regression) and a minor optimization in loading external entities. r=harishd, sr=jst. 2002-01-25 23:19:23 +00:00
heikki%netscape.com 633177c06d Bug 44458, enable XHTML entities when an XHTML doctype with public id is present in an XML document. r=rbs@maths.uq.edu.au, sr=jst. 2002-01-25 00:07:45 +00:00
harishd%netscape.com d5fc3771e2 Removed mDoctypeText from nsExpatDriver. This |could| improve Ts/Txul time slightly. b=102345, r=heikki, sr=jst 2002-01-24 22:15:58 +00:00
timeless%mac.com 7edbfb6b60 Bug 119310 preferences + open in new tab + clicking browser crashes @nsLoadGroup::RemoveRequest
assert instead of crashing if some load fails
r=darin sr=waterson
2002-01-16 00:16:51 +00:00
shanjian%netscape.com 135a83854c #118000 support unicode plane 1 characters
r=ftang, sr=attinasi
this part of checkin added support to NCR of non-BMP characters.
2002-01-16 00:00:50 +00:00
rbs%maths.uq.edu.au cb2675a64f Fix bug 113400 - remapknown public IDs (such as that of XHTML+MathML or SVG) to local DTD files. r=harishd, sr=jst 2002-01-15 22:52:32 +00:00
harishd%netscape.com 00d2f31d25 Fix ports bustage. Removing MOZ_SVG stuff for now since the code in nsExpatDriver is a bit different than nsExpatTokenizer. Will checkin a correct fix soon. 2002-01-15 03:03:54 +00:00
harishd%netscape.com 8e213c8aed Putting back the change that I just backed outsince it doesn't affect xul window performance. a=sheriff 2002-01-15 00:35:11 +00:00
harishd%netscape.com 974467d75c Fixing regressions: In order to update the expat buffer position correctly do not block after processing a start element. b=119399, r=heikki, sr=jst. Update the expat buffer position if we're blocked after processing the end element. b=119727, r=heikki, sr=jst 2002-01-14 23:42:53 +00:00
harishd%netscape.com 2a9444257b Backing a part of my code to see if it improves xul window performance. a=sheriff 2002-01-14 23:34:37 +00:00
cathleen%netscape.com 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
harishd%netscape.com 953e72274b Reduce the size of tokens. b=113657, r=heikki, sr=jst 2002-01-11 19:39:57 +00:00
harishd%netscape.com 9984cd8b61 Decrement mOpenFormCount only if there's an open form. b=115262, r=heikki, sr=jst.\n Counter related code should be DEBUG only. b=92618, r=heikki, sr=jst 2002-01-11 19:33:31 +00:00
harishd%netscape.com 641b5b1ca4 119038 - Make sure that WillResume() and WillInterrupt() get called on the sink. This should fix the fast loader assertion. r=heikki, sr=brendan 2002-01-11 01:26:41 +00:00
alecf%netscape.com 4bcb3fde51 removal lame nsFileSpec operators, bug 100676 r=ccarlen sr=waterson 2002-01-09 21:31:19 +00:00
dbaron%fas.harvard.edu 3ea07efb02 Fix leak regression from harishd's changes yesterday. b=105137 r=harishd 2002-01-09 18:49:45 +00:00
dbaron%fas.harvard.edu 9a039b7c3a Fix AIX and OS/2 bustage by using normal |const|-ness conventions. r=harishd 2002-01-09 18:15:36 +00:00
mkaply%us.ibm.com 7daa5c43e2 This will be the next OS/2 bustage - I found it trying to verify dbarons stuff 2002-01-09 17:46:55 +00:00
harishd%netscape.com c19bd46ce6 Replace C++ style comment with C style comment 2002-01-09 06:48:12 +00:00
beard%netscape.com 89c84455fe fixing mac bustage of access paths. 2002-01-09 03:55:44 +00:00
harishd%netscape.com f1fe71a17b Replaced C++ style comment with C comment 2002-01-09 03:32:56 +00:00
beard%netscape.com 1215960968 bug #105137, fixing mac bustage. 2002-01-09 03:27:17 +00:00
harishd%netscape.com 7c522efd05 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
harishd%netscape.com 23bbf73083 95487 - document.write shouldn't be interrupted. r=kmcclusk, sr=jst 2002-01-03 21:25:33 +00:00
mcafee%netscape.com e47b64c3d3 Ignore generated files. 2001-12-29 04:19:36 +00:00
shanjian%netscape.com bf85c86c6a #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
2001-12-26 03:17:59 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
dbaron%fas.harvard.edu 7a72f2d9f4 Remove the many forms of NS_SetupRegistry since the classes registered are all now part of proper components. r=dougt, jag sr=rpotts b=81527 2001-12-20 02:09:49 +00:00
dougt%netscape.com 849d297364 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com 1108828444 Fix Darwin bustage 2001-12-17 09:22:47 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
seawood%netscape.com 51fa852613 Make OS/2 use the win32 build changes and finish LIB_PREFIX substitution.
Thanks to Javier Pedemonte (pedemont@us.ibm.com) for the patch.
Bug #58981 r=cls
2001-12-14 23:49:04 +00:00
bbaetz%cs.mcgill.ca 5c8cc975a2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
harishd%netscape.com a133859bc0 103095 - Do not ignore '/', in short hand tags, in viewsource [ fixing regression ].
r=peterv, sr=jband.
2001-12-12 01:08:51 +00:00
ccarlen%netscape.com 993cd4c06f Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 04:54:47 +00:00
ccarlen%netscape.com baca6ece31 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 20:42:22 +00:00
dbaron%fas.harvard.edu 23c3efa195 Add two more IETF HTML 3 doctypes to the list of quirks-mode doctypes. b=109123 r=harishd sr=jst 2001-12-08 22:47:15 +00:00
harishd%netscape.com 9721eab3d0 106746 - Do not allow DD to contain DT and vice versa.
103095 - Ignore forward slash, in short hand tags, in html.
96861 - Ignore nested FORMS.
94269 - Do not allow P to contain FORM.
84592 - Ignore body after FRAMESET.

r=heikki, sr=jst
2001-12-07 21:33:12 +00:00
leaf%mozilla.org 8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
alecf%netscape.com 917e1454a4 fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter 2001-12-04 01:10:43 +00:00
rpotts%netscape.com 1f0cc6e6b9 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2001-11-30 22:35:33 +00:00
dbaron%fas.harvard.edu 09f3c18b0e Fix OS/2 PR_CALLBACK bustage. 2001-11-28 08:43:30 +00:00
jst%netscape.com 1aa597b139 Adding missing #include that's needed for debug builds. 2001-11-28 07:18:35 +00:00
jst%netscape.com f54b1ef763 Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. r=harishd@netscape.com, rs=vidur@netscape.com 2001-11-28 06:13:11 +00:00
alecf%netscape.com 8e1f300899 first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake 2001-11-27 21:13:53 +00:00
bzbarsky%mit.edu edfb3b268f Use <> for system headers, not "". This should help prevent Sun WSU2
compiler bustage.  Bug 111574, patch from Roland Mainz
(<Roland.Mainz@informatik.med.uni-giessen.de>), r=bzbarsky, sr=bienvenu
2001-11-23 22:36:54 +00:00
rpotts%netscape.com b1e18f1c1d Removing dead, wrong, evil, dangerous code from the parser!! 2001-11-22 05:50:04 +00:00
rpotts%netscape.com 857328b715 bug #102737 (r=harishd@netscape.com, sr=jst@netscape.com) one more time! only emit an empty HTML document when the content type is *not* text/plain 2001-11-22 04:37:39 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
seawood%netscape.com 55fe97bff7 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
timeless%mac.com 060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
bzbarsky%mit.edu 72df08441d Make SetInnerHTML use the right parser mode (ie strict for strict
documents instead of always quirks).  Bug 106565, r=harishd, sr=jst
2001-11-16 04:48:30 +00:00
jaggernaut%netscape.com ee4f787321 Clean up REQUIRES lines. r/sr=alecf 2001-11-16 01:54:59 +00:00
alecf%netscape.com d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
jaggernaut%netscape.com 0ecf7cce91 Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf 2001-11-14 12:35:52 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
dbaron%fas.harvard.edu 8cd8d91750 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
dbaron%fas.harvard.edu bfb2f49916 Add assertions that users of nsDependentC?String meet the requirements of nsAFlatC?String. Add nsDependentSingleFragmentC?Substring for users that don't. Additional cleanup after bug 100214. b=104651 r=jag sr=scc 2001-11-07 04:12:20 +00:00
kmcclusk%netscape.com de636441d9 Fix leak of parser objects when page load is interrupted by calling nsParser::CancelParsingEvents inside nsParser::Terminate; bug 108049 (patch from aaronr@us.ibm.com) r=harishd sr=attinasi 2001-11-07 01:02:56 +00:00
harishd%netscape.com 50a1cda073 106746 - DD/DT should not contain each other. r=heikki, sr=attinasi.
99388 - Avoid PR_GetEnv(). sr=attinasi.
2001-11-06 00:48:11 +00:00
seawood%netscape.com be10c3b1a8 Backing out fix for remote mach-o builds as it left mach-o builds fragile.
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
2001-11-03 03:29:05 +00:00
harishd%netscape.com cef966fac2 107994 - Backing out rpotts change ( bug 102737 ) to fix the smoketest blocker. 2001-11-01 19:40:48 +00:00
seawood%netscape.com 8a2a775382 Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
Bug #107696 r=mozbot
2001-11-01 00:54:48 +00:00
rpotts%netscape.com 290b24fd42 bug #102737 (r=harishd@netscape.com, sr=jst@netscape.com) do not emit <html> ... </html> for empty text/plain documents. 2001-10-31 23:15:57 +00:00
mkaply%us.ibm.com 929cffecf8 More reordering crap 2001-10-30 12:59:00 +00:00
sfraser%netscape.com 72ca9383ae Clean up static linkage with unichar utils (bug 100214) for alecf. r=fm, sr=alecf 2001-10-26 23:34:53 +00:00
alecf%netscape.com 491fe6b2bd Added files: mozilla/intl/unicharutils/util/nsUnicharUtils.cpp 2001-10-26 03:37:38 +00:00
jaggernaut%netscape.com cb1d127071 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-25 07:45:52 +00:00
dougt%netscape.com b5ba390898 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
harishd%netscape.com 90a960756e Backing out fix for bug 100397 since it caused the relow numbers and the page load time to shoot up. 2001-10-22 20:51:09 +00:00
alecf%netscape.com c8469b7ac5 bug 100214 - add libunicharutil_s to all unix projects that require it, r=cls 2001-10-22 20:44:02 +00:00
alecf%netscape.com 6606ee7e2f next part of bug 100214, add nsUnicharUtils to consumers of ToLowerCase/ToUpperCase 2001-10-19 21:00:02 +00:00
ftang%netscape.com 3e050f711f fix bug 93343 so we can display UTF-16 and UTF-32.
r=harishd sr=vidur.
2001-10-19 20:58:22 +00:00
harishd%netscape.com c7140326c2 97769 - Replace nsITagStack with a simple nsVoidArray. Also, nuked nsITagStack since it is not of a big help.r=heikki, sr=jst.
99282  - Make sure only HEAD attributes get added to the attribute list in ::OpenHead(). r=heikki, sr=jst.
100466 - Stop DT from containing DL.r=heikki,sr=jst.
102370 - DT should not close DD and vice versa.r=heikki,sr=jst.
100397 - In order for residual style to kick in...disable the check for wellformedness in quirks mode.r=alexandru,sr=attinasi.
102376 - Release nsIRequest in nsParser::DidBuildModel() since nsIRequest is not required past DidBuildModel.r=heikki,sr=darin.
2001-10-19 20:48:18 +00:00
dbaron%fas.harvard.edu 5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
jst%netscape.com a0b52cf92d Fixing bug 104031. Bad string code in nsHTMLDocument::WriteCommon(). r=bzbarsky@mit.edu, sr=vidur@netscape.com 2001-10-16 01:31:49 +00:00
jaggernaut%netscape.com b9f4fd8c36 Remove dead nsString::GetBuffer() code usage. r=dbaron, rs=scc. 2001-10-14 04:57:59 +00:00
heikki%netscape.com 70147bca9e Bug 98214, minor performance improvements and cleanup. r=harishd, sr=vidur. 2001-10-12 22:01:19 +00:00
dbaron%fas.harvard.edu eabe89951e Parser still depends on cache. Fixing bustage. b=100895 2001-10-10 04:42:51 +00:00
alecf%netscape.com a90bbda826 fix for bug 100895, contributed by jonsmirl@mediaone.net
r=harishd, sr=alecf
slam dunk those dependencies!
2001-10-10 04:13:16 +00:00
heikki%netscape.com b784bee4d7 Bugscape bug 9924, fix perceived hang by improving comment parsing performance in strict mode. Patch from harishd, r=heikki, sr=vidur. 2001-10-03 06:54:31 +00:00
dbaron%fas.harvard.edu d458055d16 Make HoTMetaL 4 doctype trigger quirks mode. b=102442 r=harishd sr=waterson 2001-10-02 02:40:28 +00:00
harishd%netscape.com 16eab6ee3b 102376 - Make sure that the channel exists for the life time of the parser.
r=dp sr=rpotts.
2001-10-01 05:14:03 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
seawood%netscape.com 69a62e2955 Files must end with a newline.
Fixing tinderbox bustage
2001-09-29 03:55:30 +00:00
gerv%gerv.net a276cfdb53 License changes Round 2. Expat. Updating licensing to be consistent with latest version of expat (MIT/X); relicensing NS-contributed code under expat's license (except the build system, which is tri-licensed.) Removing outdated licensing information and adding new COPYING file. This has been checked with James Clark. Bug 98089. 2001-09-29 00:10:42 +00:00
heikki%netscape.com fff5fa7c0c Bug 96364, Mac project changes. 2001-09-28 23:11:46 +00:00
harishd%netscape.com 329ccb52d0 96364 - New files should go along with my previous checkin. 2001-09-28 23:09:51 +00:00
harishd%netscape.com 6cf7e21d1f 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.
2001-09-28 23:08:17 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
gerv%gerv.net 1c6c9ed7c8 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2001-09-26 00:40:45 +00:00
alecf%netscape.com 68c098cad5 bug 101562 - dont' use necko to unnecessarily create URIs just to load a string bundle. r=harishd, sr=attinasi 2001-09-26 00:36:45 +00:00
bzbarsky%mit.edu adb705f2fd Making view source load its stylesheet even when highlighting is off --
it's needed for wrap and the like.  bug 22022, r=rbs,doron sr=alecf
2001-09-24 22:34:47 +00:00
dbaron%fas.harvard.edu 75939573f0 Fix crash due to unsigned integer underflow. b=100451 r=jag, harishd sr=waterson 2001-09-20 02:15:21 +00:00
gerv%gerv.net 1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
gerv%gerv.net 180f529086 More license whackage. We are relicensing the expat makefiles to be compatible with the LGPL and GPL but making it clear that expat itself is under James Clakrk's MIT/X license. Bug 98089. 2001-09-19 21:50:17 +00:00
harishd%netscape.com 9150f70d13 98187 - Make sure that the end tag, inline element, does not close tags in the root tag list. r=heikki,sr-vidur 2001-09-19 00:01:42 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com 62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
harishd%netscape.com 1936f6c0d2 91744 - Avoid stack overflow by replacing recursion with a simple do-while. Removed unwanted assertions. r=heikki,sr=vidur 2001-09-14 20:48:25 +00:00
harishd%netscape.com 1f8f8d5c07 98261 - Instead of throwing away the current tag close it's parent such that the stack level does not go beyond the reflow depth limit. This would allow leaf tags, that follow the current tag, to find the correct node. r=heikki, sr=attinasi. 2001-09-14 20:45:16 +00:00
jaggernaut%netscape.com 4020cbaca9 Fix debug build bustage on Windows by changing |for (PRUint32 i=0; ..; ..) {} for (PRUint32 i=0; ..; ..) {}| to |PRUint32 i; for (i=0; ..; ..) {} for (i=0; ..; ..) {}| 2001-09-14 09:27:57 +00:00
dbaron%fas.harvard.edu 21949d3f1b Make public identifier matching case-insensitive to expand the set of public identifiers triggering quirks mode since some existing pages use FPIs with incorrect case. Add two additional FPIs to the list. b=98977 r=harishd sr=waterson 2001-09-14 04:18:59 +00:00
alecf%netscape.com 1e0e7dd033 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
jaggernaut%netscape.com 30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
mkaply%us.ibm.com b5a07aa4fe #76856
Night of the Living Dead CVS files - rekilling files that got changes made after they were killed
2001-09-11 03:22:16 +00:00
harishd%netscape.com 456f1e61a5 98645 - Added SELECT to the set of tags that cannot be crossed over when an end tag ( block-level ) tries to close it's matching open tag on the stack. r=heikki, sr=vidur 2001-09-10 21:29:27 +00:00
dbaron%fas.harvard.edu 390e04a7df Make forward-compatible the DOCTYPE handling for determining whether to be in quirks mode or strict mode: properly parse the DOCTYPE declaration and use a list of known public identifiers that should trigger quirks. Remove some remnants of modes that no longer exist. b=55264 r=harishd sr=vidur 2001-09-08 18:37:19 +00:00
valeski%netscape.com 93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
rbs%maths.uq.edu.au 675465a9c2 Back-end to allow viewsource to toggle wrapping of long lines. b=22022 r=bzbarsky sr=jst 2001-09-05 01:02:58 +00:00
heikki%netscape.com d2851c3c06 Mac project change for bug 93574, nsLoggingSink and nsHTMLNullSink should not be a part of the optimized build. 2001-08-31 21:24:07 +00:00
harishd%netscape.com 3a9db9a4cb 96031 - Made LI's parent model to be flow entity. This would allow inline elements, such as I,B,FONT, etc., to contain LI such that bullets / numbers would also inherit the parent properties.
93574 -  nsLoggingSink and nsHTMLNullSink  should not be a part of the optimized build. Wrapped 'em under MOZ_DEBUG flag.
r=heikki, sr=vidur, a=asa.
2001-08-31 21:22:16 +00:00
harishd%netscape.com 426accf47a Parser regression test files.
** NOT PART OF THE BUILD **
2001-08-27 22:40:48 +00:00
rjesup%wgate.com 6f3e4115eb Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
harishd%netscape.com 430336c866 56245 - Misplaced /FONT was closing out TABLE. I've added logic such that if a residual style tag ( inline element ) cannot contain a tag ( block element ) then it
cannot close it either. Which implies that the end tag is misplaced. Also, made userdefined tags to act as inline elements.
r=heikki,sr=vidur,a=tor.
2001-08-22 23:43:43 +00:00
darin%netscape.com f15b47c6af fixes bug 90288 (part 2) "not honoring Pragma: no-cache from HTTP-EQUIV"
r=gagan, sr=dougt
2001-08-22 00:38:46 +00:00
harishd%netscape.com 28d9dc0a0d 96117 - Cache Observer service. r=dp, sr=waterson 2001-08-21 18:46:46 +00:00
shanjian%netscape.com a765b24b69 #95162 Auto-detect doesn't work on kinokuniya page
r=yokoyama sr=jst
2001-08-21 18:46:44 +00:00
dbaron%fas.harvard.edu 113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
dmose%netscape.com 34c8885db6 Update REQUIRES line to fix MOZ_TRACK_MODULE_DEPS bustage; the dependency on 'widget' might conceivably be avoidable, however. 2001-08-18 00:39:53 +00:00
heikki%netscape.com 44fcf3f455 Bug 15089, make XML parser error messages localizable. r=harishd,ftang, sr=jst. 2001-08-17 23:27:20 +00:00
harishd%netscape.com da30c22212 93365 - Allow FONT to contain TABLE so that we can control what properties can and cannot propagate inside TABLE in layout. r=heikki, sr=jst 2001-08-17 01:20:47 +00:00
harishd%netscape.com 01d9f40398 95614 - Initialized an iterator and replaced NS_ENSURE_SUCCESS ( which asserts), since the result code from nsScanner::Peek() does not indicate an exceptional condition, with equivalent code. r=heikki, sr=waterson. 2001-08-16 21:19:33 +00:00
bratell%lysator.liu.se 0fbd73004d Bug91437 - Speeding up the tokenizer slightly by using a smarter scan algorithm and avoiding trying to skip whitespace when there are none. r=harishd sr=jst 2001-08-16 05:24:17 +00:00
timeless%mac.com 826adde04b Bug 83301 improve error reporting for Mismatched Tag XML, eg data:text/xml,<foo></bar>
r=heikki sr=shaver
thanks to tingley@sundell.net and bz
2001-08-15 06:48:59 +00:00
cls%seawood.org a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
harishd%netscape.com 8327fe362c 91051 - Look for '<' or '>' which ever comes first to end DOCTYPE consumption.
r=heikki sr=vidur.
2001-08-10 22:38:37 +00:00
loadrunner%betak.net 41bf2e10fe bug 91696, Meta tag does not work, r=shanjian , sr=vidur 2001-08-10 02:15:41 +00:00
harishd%netscape.com 8d64a0247b 94208 - When removing styles off the style stack ( residual style ) make sure that
the correct ones are getting removed. r=heikki, sr=jst
2001-08-10 02:08:50 +00:00
harishd%netscape.com 6ced79efdb Oops my previous checkin has incorrect bug # and sr=. Backing out my preivous change to update the comments 2001-08-10 02:02:01 +00:00
harishd%netscape.com 260413769d 94028 - Make sure that the correct style is removed off the style stack - residual style handling. r=heikki, sr=vidur 2001-08-10 01:44:30 +00:00
mkaply%us.ibm.com d9ff17dfd0 OS/2 breakage - PR_CALLBACK 2001-08-08 03:23:03 +00:00
harishd%netscape.com fcbaffa391 83119 - Added support for visibility in GetComputedStyle(). r=heikki,sr=jst.
84000 - Preserve NOFRAMES content - patch submitted by scoda@alias.it. r=me, sr=jst.
65467 - DT is an inline element. r=heikki, sr=jst.
88992 - OBJECT should be able to close unclosed block level elements within it. r=heikki, sr=vidur
84491 - IFRAME should be treated similar to NOFRAMES. r=pollmann, sr=vidur
92530 - FORM should behave as a container if the parent is TD or TH. r=heikki,sr=vidur
88243 - For percentage attribute value do not assume that '%' will always be the last character. r=heikki,sr=vidur.
2001-08-07 19:05:21 +00:00
waterson%netscape.com 9abf7984af Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan 2001-08-07 02:55:54 +00:00
heikki%netscape.com ebe59ae777 DAMNIT! 2001-08-04 01:26:22 +00:00
heikki%netscape.com b874eedb80 Trying to fix Mac bustage by building stuff that should not need to be built. The real fix would probably be to turn on the environment variable MOZ_DISABLE_DTD_DEBUG but I do not know how. 2001-08-04 00:35:54 +00:00
dbaron%fas.harvard.edu e95f98b0b7 Fix bustage by removing nsTokenHandler.cpp (it was already removed from makefile.win and cvs removed). 2001-08-03 22:25:56 +00:00
heikki%netscape.com c81cb2a269 Fixing Mac bustage, MANIFEST is in public now. 2001-08-03 22:20:42 +00:00