1748 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
ddfc778b27 Make text/plain view-source use the view-source parser. Bug 124753,
r=harishd, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@114692 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 15:51:02 +00:00
harishd%netscape.com
e951f0eacd 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
git-svn-id: svn://10.0.0.236/trunk@114636 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:36:50 +00:00
harishd%netscape.com
1a9e99d353 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
git-svn-id: svn://10.0.0.236/trunk@114540 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:45:20 +00:00
harishd%netscape.com
d4204329ee ** Patch provided by dougt ** Create parser-service category.b=107087, r=harishd, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114537 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:18:28 +00:00
alecf%netscape.com
83ac6a3dcc 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


git-svn-id: svn://10.0.0.236/trunk@114304 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:17:53 +00:00
heikki%netscape.com
c7242c0060 Bug 110464, don't load external entities for standalone documents (minor perf optimization). Patch from henris@clinet.fi. r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@114223 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:02:44 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104 Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
heikki%netscape.com
51cf66c5f5 Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@113450 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 22:28:55 +00:00
alecf%netscape.com
f7ee18f044 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


git-svn-id: svn://10.0.0.236/trunk@113390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 01:53:09 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
alecf%netscape.com
4331ed65d3 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


git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
cathleen%netscape.com
dd8ebc5bd1 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
dougt%netscape.com
011f9b10e5 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


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
alecf%netscape.com
9416759610 back out my accidental checkin
git-svn-id: svn://10.0.0.236/trunk@113018 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 02:47:30 +00:00
alecf%netscape.com
a3f49498a1 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst
git-svn-id: svn://10.0.0.236/trunk@113007 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 22:02:00 +00:00
heikki%netscape.com
d3fe0d3a87 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.
git-svn-id: svn://10.0.0.236/trunk@112898 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 23:19:23 +00:00
heikki%netscape.com
56fb7f80ee 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.
git-svn-id: svn://10.0.0.236/trunk@112779 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 00:07:45 +00:00
harishd%netscape.com
753b76b639 Removed mDoctypeText from nsExpatDriver. This |could| improve Ts/Txul time slightly. b=102345, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112743 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 22:15:58 +00:00
timeless%mac.com
85980b3c4a Bug 119310 preferences + open in new tab + clicking browser crashes @nsLoadGroup::RemoveRequest
assert instead of crashing if some load fails
r=darin sr=waterson


git-svn-id: svn://10.0.0.236/trunk@112243 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 00:16:51 +00:00
shanjian%netscape.com
8f796b42ef #118000 support unicode plane 1 characters
r=ftang, sr=attinasi
this part of checkin added support to NCR of non-BMP characters.


git-svn-id: svn://10.0.0.236/trunk@112233 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 00:00:50 +00:00
rbs%maths.uq.edu.au
3fad341d3d Fix bug 113400 - remapknown public IDs (such as that of XHTML+MathML or SVG) to local DTD files. r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112211 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:52:32 +00:00
harishd%netscape.com
d2bc486a83 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.
git-svn-id: svn://10.0.0.236/trunk@112152 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 03:03:54 +00:00
harishd%netscape.com
97b505b95b Putting back the change that I just backed outsince it doesn't affect xul window performance. a=sheriff
git-svn-id: svn://10.0.0.236/trunk@112125 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 00:35:11 +00:00
harishd%netscape.com
f1f8189502 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
git-svn-id: svn://10.0.0.236/trunk@112123 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 23:42:53 +00:00
harishd%netscape.com
6fa7148f5c Backing a part of my code to see if it improves xul window performance. a=sheriff
git-svn-id: svn://10.0.0.236/trunk@112120 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 23:34:37 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
harishd%netscape.com
aebb8f7c06 Reduce the size of tokens. b=113657, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111954 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:39:57 +00:00
harishd%netscape.com
8ca1a4cdc8 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
git-svn-id: svn://10.0.0.236/trunk@111949 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:33:31 +00:00
harishd%netscape.com
78612453d2 119038 - Make sure that WillResume() and WillInterrupt() get called on the sink. This should fix the fast loader assertion. r=heikki, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@111914 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 01:26:41 +00:00
alecf%netscape.com
26792f7cf9 removal lame nsFileSpec operators, bug 100676 r=ccarlen sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111730 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 21:31:19 +00:00
dbaron%fas.harvard.edu
7ad50ae058 Fix leak regression from harishd's changes yesterday. b=105137 r=harishd
git-svn-id: svn://10.0.0.236/trunk@111710 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 18:49:45 +00:00
dbaron%fas.harvard.edu
76c868f8dd Fix AIX and OS/2 bustage by using normal |const|-ness conventions. r=harishd
git-svn-id: svn://10.0.0.236/trunk@111708 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 18:15:36 +00:00
mkaply%us.ibm.com
4077dca276 This will be the next OS/2 bustage - I found it trying to verify dbarons stuff
git-svn-id: svn://10.0.0.236/trunk@111707 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 17:46:55 +00:00
beard%netscape.com
e595c7ba44 fixing mac bustage of access paths.
git-svn-id: svn://10.0.0.236/trunk@111644 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 03:55:44 +00:00
beard%netscape.com
1d97ff8571 bug #105137, fixing mac bustage.
git-svn-id: svn://10.0.0.236/trunk@111641 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 03:27:17 +00:00
harishd%netscape.com
476668ebbc 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111618 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:37:50 +00:00
harishd%netscape.com
e4e2a1571e 95487 - document.write shouldn't be interrupted. r=kmcclusk, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111313 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 21:25:33 +00:00
shanjian%netscape.com
3356940ad2 #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


git-svn-id: svn://10.0.0.236/trunk@111062 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 03:17:59 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
dbaron%fas.harvard.edu
1604f09dd2 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
git-svn-id: svn://10.0.0.236/trunk@110840 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 02:09:49 +00:00
dougt%netscape.com
c01e94cad7 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


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
seawood%netscape.com
0bd62df729 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


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com
c0807794b2 Fix Darwin bustage
git-svn-id: svn://10.0.0.236/trunk@110617 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 09:22:47 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
seawood%netscape.com
0fff265da2 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


git-svn-id: svn://10.0.0.236/trunk@110499 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:49:04 +00:00
bbaetz%cs.mcgill.ca
478af40f6f 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


git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
harishd%netscape.com
71e14adc53 103095 - Do not ignore '/', in short hand tags, in viewsource [ fixing regression ].
r=peterv, sr=jband.


git-svn-id: svn://10.0.0.236/trunk@110325 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 01:08:51 +00:00