459 Commits

Author SHA1 Message Date
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
alecf%netscape.com
f4ad21ae3a a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
git-svn-id: svn://10.0.0.236/trunk@116842 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 06:46:56 +00:00
rbs%maths.uq.edu.au
84d6bd5d71 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
git-svn-id: svn://10.0.0.236/trunk@116637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 09:45:31 +00:00
heikki%netscape.com
2583fca360 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.
git-svn-id: svn://10.0.0.236/trunk@116432 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:17:18 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
alecf%netscape.com
8755908f04 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


git-svn-id: svn://10.0.0.236/trunk@115750 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:18:21 +00:00
sicking%bigfoot.com
60ce101e44 Bug 70882. Support embedded XSLT stylesheets. Also fixes 97621.
r=peterv sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@115654 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 21:11:39 +00:00
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
radha%netscape.com
2bd74e926a Fox for bug # 109485. Meta refresh works differently than otehr browsers. r=valeski. sr=jaggernaut.
git-svn-id: svn://10.0.0.236/trunk@114073 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:46:09 +00:00
heikki%netscape.com
e015e1f82d Bug 98788, document.load() needs to do better reset on the document before starting to load new content. Also fixed a couple of bogus comments and unneeded document reset in document creation. r=mstoltz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@113849 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:24:09 +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
heikki%netscape.com
10484cc5cc Bug 106053, remove unused XHTML namespace declarations, and fix incorrect namespace usages. r=harishd, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@113369 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 22:12:36 +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
jst%netscape.com
6b1260a9e6 Fixing bug 118933. Speeding up the id and name hash tables in nsHTMLDocument by changing them over from nsHashtable/nsStirngKey to pldhash. Also combining the hashes to optimize performance and memory useage. r=heikki@netscape.com, sr=jband@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@112844 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 06:37:35 +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
peterv%netscape.com
627640cc69 Fix for bug 96647 (Change the way output is constructed in Transformiix). r=sicking, Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@112688 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 13:38:51 +00:00
jst%netscape.com
7af4c8d1f2 Fixing bug 120504. Make QI's on DOM elements only call into the binding manager only if the element itself doesn't implement the interface that the element is being QI'ed to. r=hyatt@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@112677 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:17:00 +00:00
bzbarsky%mit.edu
ad1fb22926 Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst


git-svn-id: svn://10.0.0.236/trunk@112623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:03:19 +00:00
brade%netscape.com
a682227c6c remove unused static kIOServiceCID for gain of 16 bytes (bug 117927; r/sr=jst,darin)
git-svn-id: svn://10.0.0.236/trunk@111827 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:18:35 +00:00
brade%netscape.com
10bfde9604 remove unused static kNameSpacemanagerCID for gain of 16 bytes (bug 117927; r/sr=jst,darin)
git-svn-id: svn://10.0.0.236/trunk@111818 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:10:58 +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
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
heikki%netscape.com
e62ed2cbd9 Bug 105319, reset title when going to XML page without XHTML title element. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@111512 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:51:36 +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
sicking%bigfoot.com
de73bb35c1 Bug 17003. Give textareas a childnode and connect that childnode to .defaultValue. Also make textareas work properly for display: none;
r=jkeiser sr=jst


git-svn-id: svn://10.0.0.236/trunk@111045 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 16:06:13 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
heikki%netscape.com
647802449c Bug 74800, implemented FIXptr. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@110858 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 05:15:52 +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
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
9666a2189b NS_ENSURE_TRUE(rv, rv) -> NS_ENSURE_SUCCESS(rv, rv). sr=jst
git-svn-id: svn://10.0.0.236/trunk@110581 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 12:31:07 +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
jst%netscape.com
a2a2c99ca8 Fixing bug 114539. Getting rid of mInner in all our 'data' nodes and making those classes inherit nsGenericDOMDataNode in stead. Also remove mContentID from nsTextNode and push mRangeList and mListenerManager into hashtables since they are used so rarely. This results in a size reduction of nsTextNode from 44 bytes to 28 bytes (~36%). r=peterv@netscape.com, sr=hyatt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@110565 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 06:59:31 +00:00
jst%netscape.com
c5768c0dba We don't pass references to 'interfaces' in general, so let's not do it here either. r=bryner@netscape.com. sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@110248 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 09:03:38 +00:00
hewitt%netscape.com
c5ba8bd720 113562 - nsIContent needs HasAttr method, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110204 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 02:57:52 +00:00
heikki%netscape.com
85ff6e56d5 Fixed Ctrl+click on XLinks and LINK elements. Fixed keyboard activation of XLinks (ENTER when focus on link). r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@109891 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 23:04:19 +00:00
leaf%mozilla.org
516776e606 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron
git-svn-id: svn://10.0.0.236/trunk@109714 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:43:29 +00:00
axel%pike.org
b18568c928 bug 111222, add security check for loading XSLT stylesheets, r=mstoltz, peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@108993 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 09:03:10 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
jst%netscape.com
643238fef2 Checking in Alex Fritze's (alex.fritze@crocodile-clips.com) changes to make xmldoc.createElementNS() create the correct type of element. r=hidday@geocities.com, sr=me (and slight modifications done by me).
git-svn-id: svn://10.0.0.236/trunk@108354 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 05:32:30 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
hyatt%netscape.com
8caf8522c8 Fix for 80147, use XUL prototype elements in anonymous content of XBL. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@107243 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 10:12:20 +00:00
peterv%netscape.com
7248b4eb16 Fix for bug 106844 (XSLT stylesheet of type text/xml not recognized; type text/xsl is recognized). r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@107097 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 10:13:05 +00:00
hyatt%netscape.com
f5c44e45af Fix whitespace handling in XBL. Bad regression. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@107094 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 09:29:33 +00:00
hyatt%netscape.com
3646e122c1 Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107033 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 01:53:13 +00:00
jaggernaut%netscape.com
9e8f600926 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:44:19 +00:00
jst%netscape.com
3cd16cc0ad Fixing bug 106769. Document.prototype was not on the prototype chain for XMLDocument objects. sr=jband@netscape.com, r=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@106307 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:23:56 +00:00
jst%netscape.com
450353a0af Fixing bug 106571. We can live w/o storing a nsINameSpace pointer in our XUL and XML elements (which saves us 4 bytes for every XML (read XBL) element and for the XUL slots), also remove the accessors from the interface nsIXMLContent, and remove some unused code in nsXULContentUtils. r=dbaron@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106244 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 04:08:29 +00:00
bzbarsky%mit.edu
c180e28886 Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106217 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:34:20 +00:00