1788 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
harishd%netscape.com
2b78aa4072 Initialize userdefined element. b=176709, r=nisheeth@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@144360 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 22:21:20 +00:00
jkeiser%netscape.com
64ac997a95 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@144183 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 06:10:03 +00:00
bzbarsky%mit.edu
e11bc6808c 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


git-svn-id: svn://10.0.0.236/trunk@144130 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 01:29:21 +00:00
alecf%flett.org
71e5d724e5 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


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
alecf%flett.org
1c89787dc0 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


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
dbaron%dbaron.org
bb5ffac79b 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
git-svn-id: svn://10.0.0.236/trunk@143569 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 04:24:25 +00:00
dbaron%dbaron.org
bbaafe049d Make tag lists more maintainable by using sizeof to determine the array length. b=208846 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@143538 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 22:12:28 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
seawood%netscape.com
9e4caeaa92 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143522 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 20:12:33 +00:00
heikki%netscape.com
b136e1d893 Bug 207904, doctype with name only got destroyed by our doctype handling, r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@143236 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-03 17:47:10 +00:00
timeless%mozdev.org
8d5c2543d8 Bug 203391 InPlaceConvertLineEndings(class nsAString &)' defined but not used
r=harishd sr=heikki


git-svn-id: svn://10.0.0.236/trunk@143122 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 22:36:47 +00:00
harishd%netscape.com
6eb39613d1 Preserve tokenizer state between document.writes. b=99467, r=heikki@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@142987 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-28 20:56:21 +00:00
bryner%netscape.com
3cb1beb39b Removing unused nsHTMLNullSink and SelfTest.cpp. Bug 207019, r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@142958 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 22:08:44 +00:00
dwitte%stanford.edu
dc7e857400 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.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
nisheeth%netscape.com
73bcd9dd60 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.
git-svn-id: svn://10.0.0.236/trunk@142686 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 03:03:59 +00:00
dbaron%dbaron.org
30b14d5880 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
git-svn-id: svn://10.0.0.236/trunk@142664 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-20 20:53:21 +00:00
bzbarsky%mit.edu
4077674504 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


git-svn-id: svn://10.0.0.236/trunk@142588 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-17 16:15:30 +00:00
akkana%netscape.com
b31897b6b3 Add a missing semicolon
git-svn-id: svn://10.0.0.236/trunk@142559 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 20:59:20 +00:00
akkana%netscape.com
8fdf606c82 If the serializer test fails, print the url of some helpful doc. r=mcafee sr=alecf a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142547 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 18:19:44 +00:00
bryner%netscape.com
9bf807ce6a Remove some obsolete code from htmlparser. Bug 205730, r=harishd, sr=jst, a=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@142525 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 00:59:04 +00:00
pkw%us.ibm.com
0253841ac1 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


git-svn-id: svn://10.0.0.236/trunk@142516 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 22:24:24 +00:00
harishd%netscape.com
f692653e6e Allow userdefined tags in the HEAD. b=167493, r=nisheeth@netscape.com, sr=jst@netscape.com, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142067 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 20:57:52 +00:00
bzbarsky%mit.edu
99037d7097 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


git-svn-id: svn://10.0.0.236/trunk@141144 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 01:09:09 +00:00
jshin%mailaps.org
30c7db1a35 bug 68738 : UTF-16/32LE with BOM is always detected as UTF-16BE/32BE.
r=ftang, sr=heikki


git-svn-id: svn://10.0.0.236/trunk@140966 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 07:10:48 +00:00
timeless%mozdev.org
55b1cade1d Bug 201271 Fix interface inconsistencies in parser
patch by choess@stwing.upenn.edu r=harishd sr=jst


git-svn-id: svn://10.0.0.236/trunk@140945 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 22:44:25 +00:00
timeless%mozdev.org
9872a1a597 Bug 63188 What is the aMode parameter in CToken::Consume?
patch by choess@stwing.upenn.edu r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@140872 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 22:01:46 +00:00
timeless%mozdev.org
f28221f7fc Bug 199200 Make Networking Tests XP friendly by using the eventqueueservice
sr=heikki


git-svn-id: svn://10.0.0.236/trunk@140870 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 22:01:40 +00:00
bzbarsky%mit.edu
7812a1f039 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


git-svn-id: svn://10.0.0.236/trunk@140868 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 21:23:34 +00:00
alecf%netscape.com
5ad510ef08 remove unused #include (no reviewer, its just not used)
git-svn-id: svn://10.0.0.236/trunk@140863 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:55:30 +00:00
alecf%netscape.com
3554f2edec fix for the first part of bug 200580, remove nsIDTD::ConvertEntityToUnicode, nobody is using it r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@140862 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:54:56 +00:00
alecf%netscape.com
96392373a4 first part of fix for bug 200507 - get rid of nsAVLTree in favor of hashtables
r=harishd, sr=jag


git-svn-id: svn://10.0.0.236/trunk@140776 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 22:24:35 +00:00
hpradhan%hotpop.com
12f1dc7f84 bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@140742 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 07:19:09 +00:00
alecf%netscape.com
a06219c70d fix for bug 200330 - const the heck out of htmlparser!
sr=sfraser, r=jag


git-svn-id: svn://10.0.0.236/trunk@140605 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:59:51 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
heikki%netscape.com
32f4994ba0 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.
git-svn-id: svn://10.0.0.236/trunk@140600 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 21:44:39 +00:00
alecf%netscape.com
26a61f7dcb 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


git-svn-id: svn://10.0.0.236/trunk@140554 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 04:39:12 +00:00
alecf%netscape.com
58d26dac23 huh, back myself out for now, not sure if I'm causing the domtextconversion problem or not
git-svn-id: svn://10.0.0.236/trunk@140535 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 01:58:51 +00:00
alecf%netscape.com
f9eaf965bc 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)


git-svn-id: svn://10.0.0.236/trunk@140530 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 01:16:29 +00:00
alecf%netscape.com
f24ccb3da0 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


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
alecf%netscape.com
2a83f1b2d9 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262


git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
timeless%mozdev.org
ea34701b65 Bug 198620 Make grabpage work on linux by adding an event loop
r=harishd


git-svn-id: svn://10.0.0.236/trunk@139961 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:52:02 +00:00
alecf%netscape.com
59c2bfe187 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.


git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
dougt%netscape.com
d88c33625a fixing bustage. AppendRelativeNativePath only can be used when appending "native paths". r=saspitzer, b=197520
git-svn-id: svn://10.0.0.236/trunk@139611 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 20:14:39 +00:00
dougt%netscape.com
fed2927b2c 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.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
timeless%mozdev.org
96d9177b06 Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
r=harishd sr=heikki


git-svn-id: svn://10.0.0.236/trunk@139429 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 04:03:09 +00:00
heikki%netscape.com
913669048f 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.
git-svn-id: svn://10.0.0.236/trunk@139121 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 23:40:51 +00:00
alecf%netscape.com
326b7425d7 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


git-svn-id: svn://10.0.0.236/trunk@139039 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:54:51 +00:00