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

1932 Коммитов

Автор SHA1 Сообщение Дата
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