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 CIDs 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
sfraser%netscape.com
6f87b85c6b
Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
...
git-svn-id: svn://10.0.0.236/trunk@138693 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 05:47:36 +00:00
harishd%netscape.com
71d3d01506
Do not open head context if <script> is in the body context. b=194329, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@138631 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 22:26:00 +00:00
heikki%netscape.com
50db37beaa
Bug 193179, recognize XHTML Mobile Profile FPI in order to load XHTML entities, r=harishd, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@138568 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 00:39:07 +00:00
heikki%netscape.com
d6531661ff
Bug 184001, do not copy external DTDs into internal subset, r=harishd, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@137208 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 19:21:24 +00:00
nisheeth%netscape.com
fb4f428f15
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.
...
git-svn-id: svn://10.0.0.236/trunk@137172 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 00:58:41 +00:00
timeless%mozdev.org
7dfa954482
Bug 183355 Typo in parser UTF charset detection code
...
patch by alexey@ihug.com.au r=ftang sr=heikki
git-svn-id: svn://10.0.0.236/trunk@136613 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 00:52:04 +00:00
shanjian%netscape.com
18ebb2c0bc
#8275 Need routine to perform Unicode composition and decomposition
...
borrowed code from jpnic and created new interface.
r=nhotta, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@136548 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 23:30:01 +00:00
mkaply%us.ibm.com
39ae496632
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)
...
git-svn-id: svn://10.0.0.236/trunk@136441 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 21:35:18 +00:00
harishd%netscape.com
fa53826eab
Ignore noxxx content when copy pasting into a plain text editor. b=97687, r=peterv, sr=heikki
...
git-svn-id: svn://10.0.0.236/trunk@136430 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 20:24:03 +00:00
harishd%netscape.com
d2e0c6cd0d
Prevent a hang by consuming entity-look-alike ( &# ) as text. b=188278, r=heikki,sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@136261 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 22:05:52 +00:00
harishd%netscape.com
e7a19238c2
Close Head context before dealing with tags that belong in body/frameset. b=187790, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@136073 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 18:29:23 +00:00
dbaron%dbaron.org
9b5780673f
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136003 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:44:25 +00:00
caillon%returnzero.com
360f61e8a1
184257 - Updating pref callers. r=timeless sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@135983 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 08:40:41 +00:00
bryner%netscape.com
2f249a5562
Removing a long-dead file. Not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@135854 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 05:38:27 +00:00
harishd%netscape.com
ba933c6526
Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@135841 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 23:17:22 +00:00
harishd%netscape.com
1b51bff258
Convert CRLF or CR to LF when collecting skippedcontent. b=159615, r=glazman, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@135836 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 20:49:07 +00:00
harishd%netscape.com
21bb532f1a
Handle unclosed and malformed TITLE tag. b=42945, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@135830 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 19:21:20 +00:00
seawood%netscape.com
f8f86e7f05
Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
...
Bug #186241 r=dougt
git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
bratell%lysator.liu.se
020902a467
Bug 173388 - Take this you ugly orange tinderbox!
...
git-svn-id: svn://10.0.0.236/trunk@135493 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 07:18:17 +00:00
bratell%lysator.liu.se
d0cc23996e
Bug 173388 - Use TABs to seperate table cell when converting HTML -> Text (copying from a web page).
...
git-svn-id: svn://10.0.0.236/trunk@135486 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 06:22:55 +00:00
jkeiser%netscape.com
a18add6468
Make /applet close things inside applet tag (bug 129888), patch by adu@sparc.spb.su, r=harishd@netscape.com, sr=heikki@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@135376 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 01:28:16 +00:00
harishd%netscape.com
a2a40a39a6
Backing out my changes to see if it fixes the orangeness
...
git-svn-id: svn://10.0.0.236/trunk@135202 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 00:28:47 +00:00
harishd%netscape.com
b38cebbd49
Reduce the size of CStartToken. b=179523, r=heikki sr=jst.
...
Added a couple of testcases to the parser regression test suite
git-svn-id: svn://10.0.0.236/trunk@135185 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 22:38:40 +00:00
harishd%netscape.com
f03d0cf199
Backing out fix for bug 149887 because of bug 184029. a=asa
...
git-svn-id: svn://10.0.0.236/trunk@134995 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 19:30:10 +00:00