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

510 Коммитов

Автор SHA1 Сообщение Дата
darin%netscape.com 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
alecf%netscape.com 451df7d6c3 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 2002-03-19 06:46:56 +00:00
rbs%maths.uq.edu.au 8f6916c2d9 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 2002-03-15 09:45:31 +00:00
heikki%netscape.com bf57164cba 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. 2002-03-12 22:17:18 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
alecf%netscape.com cd8f07f3e8 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
2002-03-04 23:18:21 +00:00
sicking%bigfoot.com 97d89e2a12 Bug 70882. Support embedded XSLT stylesheets. Also fixes 97621.
r=peterv sr=jst a=asa
2002-03-02 21:11:39 +00:00
alecf%netscape.com 66e767c7b8 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
2002-02-19 22:49:12 +00:00
radha%netscape.com 8563362d73 Fox for bug # 109485. Meta refresh works differently than otehr browsers. r=valeski. sr=jaggernaut. 2002-02-08 22:46:09 +00:00
heikki%netscape.com 0d8a8bd2cc 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. 2002-02-07 00:24:09 +00:00
heikki%netscape.com 3a6fb922c1 Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser. 2002-02-01 22:28:55 +00:00
alecf%netscape.com 5483b6f627 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
2002-02-01 01:53:09 +00:00
heikki%netscape.com 55a5667dd2 Bug 106053, remove unused XHTML namespace declarations, and fix incorrect namespace usages. r=harishd, sr=hewitt. 2002-01-31 22:12:36 +00:00
alecf%netscape.com 28b3772942 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
2002-01-30 06:04:29 +00:00
jst%netscape.com b7db5ae3bd 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. 2002-01-25 06:37:35 +00:00
heikki%netscape.com 633177c06d 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. 2002-01-25 00:07:45 +00:00
harishd%netscape.com d5fc3771e2 Removed mDoctypeText from nsExpatDriver. This |could| improve Ts/Txul time slightly. b=102345, r=heikki, sr=jst 2002-01-24 22:15:58 +00:00
peterv%netscape.com abdb2a1494 Fix for bug 96647 (Change the way output is constructed in Transformiix). r=sicking, Pike, sr=jst. 2002-01-24 13:38:51 +00:00
jst%netscape.com 0edee4ca42 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 2002-01-24 09:17:00 +00:00
bzbarsky%mit.edu ca547b257b Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
brade%netscape.com b065ecf7b8 remove unused static kIOServiceCID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:18:35 +00:00
brade%netscape.com 4808ff50a0 remove unused static kNameSpacemanagerCID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:10:58 +00:00
dbaron%fas.harvard.edu 9a039b7c3a Fix AIX and OS/2 bustage by using normal |const|-ness conventions. r=harishd 2002-01-09 18:15:36 +00:00
harishd%netscape.com 7c522efd05 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
heikki%netscape.com 7cc0fdc6b3 Bug 105319, reset title when going to XML page without XHTML title element. r=harishd, sr=jst. 2002-01-07 23:51:36 +00:00
shanjian%netscape.com bf85c86c6a #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
2001-12-26 03:17:59 +00:00
sicking%bigfoot.com 4c02c1d0fa Bug 17003. Give textareas a childnode and connect that childnode to .defaultValue. Also make textareas work properly for display: none;
r=jkeiser sr=jst
2001-12-23 16:06:13 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
heikki%netscape.com db89a9ce21 Bug 74800, implemented FIXptr. r=harishd, sr=vidur. 2001-12-20 05:15:52 +00:00
seawood%netscape.com 45bfbf0658 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
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com bbe387ce7f NS_ENSURE_TRUE(rv, rv) -> NS_ENSURE_SUCCESS(rv, rv). sr=jst 2001-12-16 12:31:07 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
jst%netscape.com 362692e337 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. 2001-12-16 06:59:31 +00:00
jst%netscape.com 70c3c11153 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 2001-12-11 09:03:38 +00:00
hewitt%netscape.com 19bd06047a 113562 - nsIContent needs HasAttr method, r=jag, sr=jst 2001-12-11 02:57:52 +00:00
heikki%netscape.com 33d9fc1bd7 Fixed Ctrl+click on XLinks and LINK elements. Fixed keyboard activation of XLinks (ENTER when focus on link). r=harishd, sr=jst. 2001-12-06 23:04:19 +00:00
leaf%mozilla.org 8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
axel%pike.org c49b6b3eb3 bug 111222, add security check for loading XSLT stylesheets, r=mstoltz, peterv, sr=jst 2001-11-27 09:03:10 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jst%netscape.com d154fa1201 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). 2001-11-17 05:32:30 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
hyatt%netscape.com 0d3a2fa6bf Fix for 80147, use XUL prototype elements in anonymous content of XBL. r=dbaron, sr=jst 2001-11-03 10:12:20 +00:00
peterv%netscape.com 76c07c5689 Fix for bug 106844 (XSLT stylesheet of type text/xml not recognized; type text/xsl is recognized). r=heikki, sr=jst. 2001-11-02 10:13:05 +00:00
hyatt%netscape.com 49753f55e1 Fix whitespace handling in XBL. Bad regression. r=bryner, sr=jst 2001-11-02 09:29:33 +00:00
hyatt%netscape.com 19490453c9 Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson 2001-11-02 01:53:13 +00:00
jaggernaut%netscape.com cad0dc7095 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 06:44:19 +00:00
jst%netscape.com 0c2c3d4fa4 Fixing bug 106769. Document.prototype was not on the prototype chain for XMLDocument objects. sr=jband@netscape.com, r=bzbarsky@mit.edu 2001-10-26 02:23:56 +00:00
jst%netscape.com 0c922db1b5 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 2001-10-25 04:08:29 +00:00
bzbarsky%mit.edu 27d3c2549e 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
2001-10-25 00:34:20 +00:00
bzbarsky%mit.edu 6df562cf48 Convert nsXMLProcessingInstruction::GetAttrValue to iterators. Bug
106163, r=jag, sr=jst
2001-10-23 15:32:52 +00:00
dougt%netscape.com b5ba390898 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
harishd%netscape.com d735efde04 105896 - CharsetAlias is a COMPtr and therefore no need for ReleaseService(). This isa regression caused by the fix to bug 88363. r=heikki, sr=waterson. 2001-10-22 21:09:20 +00:00
alecf%netscape.com 6606ee7e2f next part of bug 100214, add nsUnicharUtils to consumers of ToLowerCase/ToUpperCase 2001-10-19 21:00:02 +00:00
dougt%netscape.com d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
jst%netscape.com 935018dec9 Missed this part in my last checkin... 2001-10-16 06:01:48 +00:00
jst%netscape.com e9e039162f Fixing bug 102583. Fixing bad old string useage in nsXMLContentSink. r=peterv@netscape.com, sr=waterson@netscape.com 2001-10-16 05:55:04 +00:00
dbaron%fas.harvard.edu 5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
shanjian%netscape.com 42b9d62a79 #88363 Site with duplicate Content-Type loads with incorrect encoding
r=yokoyama sr=waterson
2001-10-10 23:37:18 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
harishd%netscape.com 6cf7e21d1f 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.
2001-09-28 23:08:17 +00:00
gerv%gerv.net 1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu 5b28996bde Add a document.contentType attribute to allow getting the MIME type of
the current document from JS.  The rest is moving around stuff to deal
with nsIDocument already declaring GetContentType.  bug 73847, r=peterv,
sr=jst
2001-09-24 22:43:23 +00:00
jst%netscape.com d3d8385e1a Fixing bug 100847. Removing nsIXMLDocument::SetTitle() since it's not needed any more. r=heikki@netscape.com, sr=hyatt@netscape.com 2001-09-21 03:55:50 +00:00
jst%netscape.com bb50d2d065 Tweaking core document classname to make my last patch actually do the right thin in all cases. 2001-09-21 03:23:33 +00:00
jst%netscape.com b444cadab0 Fixing bug 100795. Removign the method load() from HTML documents, implement it only on XML documents since the name 'load' blocks existing global functions named 'load' from being called from event handlers in the document (since document.load is found before window.load in the scope of event handlers). HTMLDocument.load and XULDocument.load were never implemented any way. r=heikki@netscape.com, sr=vidur@netscape.com 2001-09-21 01:07:53 +00:00
hyatt%netscape.com b51cf5caf3 Fire DOM event when title changes. r/sr=waterson,jst 2001-09-20 07:43:56 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com 62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
heikki%netscape.com 1664f5677a Not part of build. New tests. 2001-09-14 22:02:43 +00:00
jaggernaut%netscape.com 25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
jaggernaut%netscape.com 30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
peterv%netscape.com 55186ae666 Fix for bug 85708 (Should support "text/xml" MIME media type). Recognize text/xml and application/xml in the type attribute of a stylesheet PI. r=Pike, sr=jst. 2001-09-11 07:14:29 +00:00
vidur%netscape.com e44bd74c1c Fix for bug 98815. Implement DOM Level 3 namespace methods for prefix and URI lookup. The implementation of these may be changed later if we get rid of the nsINameSpace interface. r=heikki, sr=jst 2001-09-11 03:04:49 +00:00
alecf%netscape.com 298c713fa2 add REQUIRES support to layou, content, gfx, gfx2, widget and modules/libpr0n b=98371 r=cls 2001-09-10 20:46:52 +00:00
heikki%netscape.com 4785a81e58 Not part of build. Test more stuff. 2001-09-07 22:09:06 +00:00
rjesup%wgate.com 9192f1e9a5 Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
  r=hyatt r=pierre sr=jst
2001-09-06 19:16:03 +00:00
valeski%netscape.com 93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
jst%netscape.com 7e2f925135 Fixing bug 91241. Don't use the service manager to get the element factory everty time it's needed, cache it per namespace id, we spent about 0.9% of startup getting the element factory service. r=dp@netscape.com, sr=rpotts@netscape.com 2001-09-05 04:20:54 +00:00
dbaron%fas.harvard.edu be938a64b6 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all. 2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu 5434e861aa Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
heikki%netscape.com 441896a2b3 Bug 96459, bug 96307 and Bugscape 8288. Implement readyState and onreadystatechange members to enable progress indicators for download. Make it possible to call send() again in onload without crashing. Send load event only after everything done (was sent too early if XML errors). Make some functions throw error if called at the wrong time (match IE). Make it possible to build SOAP again (patch from peterv, r=heikki). r=harishd, sr=vidur, a=asa. 2001-08-31 00:59:19 +00:00
rpotts%netscape.com 9e2f57a942 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously. 2001-08-30 21:47:45 +00:00
dbaron%fas.harvard.edu 113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
harishd%netscape.com 6f84b07fc3 94903 - Don't forgot to resume parsing if loading external js fails.
r=heikki,sr=jst
2001-08-17 22:24:39 +00:00
heikki%netscape.com 77b5de2ec7 Bug 85554, xml-stylesheet PI should work only in prolog. r=peterv, sr=jst. 2001-08-17 22:19:37 +00:00
bryner%netscape.com 422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
heikki%netscape.com 458e51fea6 Bug 75234, XHTML style element's contents appeared twice in the content model. r=peterv, sr=jst. 2001-08-17 00:07:17 +00:00
harishd%netscape.com a51389e84f 91320 - Removed unused files from htmlparser module and created a public directory.
r= heikki
sr=vidur
2001-08-03 21:15:15 +00:00
heikki%netscape.com c13e800871 Bug 86975, synchronise ScrollToRef() code between HTML and XML content sinks. r=harishd, sr=jst. 2001-08-01 23:04:32 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
jst%netscape.com 88d48dc0c5 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-07-18 07:48:12 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
jst%netscape.com 7ad971a08f Fixing bug 83433, exposing DOM constructors and prototypes to JS. r/sr=rpotts@netcape.com, vidur@netscape.com, dbradley@netscape.com 2001-07-11 09:09:30 +00:00
harishd%netscape.com 7ef87f6bbd 40072 - (patch provided by pollmann) Do not process METAs after FRAMESET. r=harishd sr=vidur
58809 - Handle numeric & hexadecimal entities correctly r=heikki sr=vidur
72249 - Per SGML endtag can contain whitespace between generic identifier and tagc. r=heikki sr=vidur
82971 - if the last character was a CR make sure to not lose that information. r=heikki sr=vidur
2001-07-05 22:20:34 +00:00
heikki%netscape.com 84d06bd271 Bug 88354, XML processing instruction without type pseudo-attribute stopped XML layout. r=peterv,harishd, sr=jst. 2001-07-04 19:35:23 +00:00
jaggernaut%netscape.com 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00