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

629 Коммитов

Автор SHA1 Сообщение Дата
jaggernaut%netscape.com 320c1d6319 NS_ENSURE_TRUE(rv, rv) -> NS_ENSURE_SUCCESS(rv, rv). sr=jst 2001-12-16 12:31:07 +00:00
jaggernaut%netscape.com 6ab111155d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
jst%netscape.com 6f472051d0 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 15aee81e59 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 4ce7fafe54 113562 - nsIContent needs HasAttr method, r=jag, sr=jst 2001-12-11 02:57:52 +00:00
heikki%netscape.com 61913ac950 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 99e99b9ff7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
axel%pike.org ed73265bbf 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 d8927fcc61 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jst%netscape.com 26aced2e47 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 0dce65ed23 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 7cb5af82cd 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 b10fc55a1e 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 2729ff6cff Fix whitespace handling in XBL. Bad regression. r=bryner, sr=jst 2001-11-02 09:29:33 +00:00
hyatt%netscape.com 3aa08fec1e 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 47f32d2efe 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 84c24158b4 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 2c8e09cceb 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 7f9eeaa84b 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 acf39ade53 Convert nsXMLProcessingInstruction::GetAttrValue to iterators. Bug
106163, r=jag, sr=jst
2001-10-23 15:32:52 +00:00
dougt%netscape.com 5fe12c09e7 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 b4e77889c5 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 20e2a6cf2d next part of bug 100214, add nsUnicharUtils to consumers of ToLowerCase/ToUpperCase 2001-10-19 21:00:02 +00:00
dougt%netscape.com da7e1268bd 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 005191ad8f Missed this part in my last checkin... 2001-10-16 06:01:48 +00:00
jst%netscape.com 8558620087 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 3dac3645cb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu 34fc404be7 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 dde83fbf7b #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 fdc4078bc4 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 99bd737981 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 2b0c9d0438 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu 687a4abbe8 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 504078297d 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 d17618ae24 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 7c86ba2445 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 75b8b24e46 Fire DOM event when title changes. r/sr=waterson,jst 2001-09-20 07:43:56 +00:00
jaggernaut%netscape.com e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com 3826eb9902 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 cf9912aa80 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 46e4f5d44d Not part of build. New tests. 2001-09-14 22:02:43 +00:00
jaggernaut%netscape.com efc8c209fb 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 e055a4a2a4 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 07d38b4b03 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 261f2d1a98 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 898cb5872f 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 a65f5e152d Not part of build. Test more stuff. 2001-09-07 22:09:06 +00:00
rjesup%wgate.com be7d4d271c 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 ac33036169 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 836da25092 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 5b59398348 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 d8d01abd1a Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
heikki%netscape.com 3affba97d4 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 2766427125 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 716f9f4695 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 f1f32fab65 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 faf5045fba 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 67f6aa83cb 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 da86524643 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 872f79900d 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 78e9f7f95f 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 c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com 4d73a251ab Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
jst%netscape.com 86ec54ba62 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 bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
jst%netscape.com 22d7f72715 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 9cb58cb0ee 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 833d877630 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 03ab87e4a1 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
jst%netscape.com 3e8ebac447 This change was left out by mistake when fixing bug 81290 last night, sr=vidur@netscape.com, r=harishd@netscape.com 2001-06-30 00:19:18 +00:00
vidur%netscape.com 59a48b8d8a Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson 2001-06-29 22:56:58 +00:00
jst%netscape.com 86a924e978 Fixing bug 84648. The parser blocking code had regressed to re-introduce a problem with document.write()'ing <link> elements from inline scripts. patch by vidur@netscape.com&jst@netscape.com, r=harishd@netscape.com, sr=jst&vidur 2001-06-29 09:59:45 +00:00
heikki%netscape.com a784b705ef Bug 75700, fixed bad internal namespace with xmlns=''. r=harishd,sr=jst. 2001-06-26 22:25:33 +00:00
mstoltz%netscape.com 0f456dda65 86019 - Change stack-walking code in caps to keep functions from inheriting privileges
from their caller. r=jesse@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org, PDT+

86982 - Add same-origin security check to XMLDocument::Load(). r,a=blizzard@mozilla.org,
sr=jst@netscape.com

84191 - Fixing regression in Open URL dialog by not calling CheckLoadURI when it isn't
needed. r=cmanske@netscape.com, sr=sfraser@netscape.com, a=asa@mozilla.org
2001-06-22 02:08:10 +00:00
dbaron%fas.harvard.edu 688519fb0c Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
cls%seawood.org 80f526179f Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
peterv%netscape.com bc79bd9d38 Fix for bug 83612 (Correct/cleanup style loading code in content). r=heikki, sr=jst, a=asa. 2001-06-14 12:33:38 +00:00
peterv%netscape.com 4a89cb5715 Fix for bug 84299 (we negate the alternate pseudo-attribute in <?xml-stylesheet alternate="yes"?>). Patch by Hixie, r=dbaron/peterv, sr=attinasi, a=asa@mozilla.org. 2001-06-13 13:20:43 +00:00
peterv%netscape.com a959d297d9 Fix for bug 82955 (XML unable to load stylesheets without type="text/css" attribute). r=scc, sr=jst, a=asa. 2001-06-05 19:21:32 +00:00
jst%netscape.com 7ce0aabd95 Removing unnecessary forward declaration of nsIScriptObjectOwner. 2001-05-21 03:29:19 +00:00
jst%netscape.com aabe6d5306 Fixing bug 81115 that causes the identity of event receivers and event targets to be incorrect in the case where the target/reveiver is an nsGenericElement or a nsGenericDOMDataNode. The problem was the those classes use the event listener manager as a tearoff but QI'ing that tearoff to nsISupports returns the event listener manager and not the element/node, this causes XPConnect to create different wrappers for the same element/node when the event listener tearoff is wrapped in stead of directly wrapping the element/node. This causes problems with event.target in JS, among other things. The solution for this problem was to create a separate tearoff that works correctly and leave the event listener manager alone since it can not be used as a tearoff in all cases. r=pollmann@netscape.com, sr=vidur@netscape.com 2001-05-19 07:02:50 +00:00
peterv%netscape.com 899061aa64 Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst. 2001-05-19 02:59:15 +00:00
vidur%netscape.com 0e7720e206 Fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst 2001-05-17 05:54:16 +00:00
shanjian%netscape.com 7dc8b52206 #72299 User could not override charset from http server
r=nhotta, sr=jst
2001-05-15 03:42:33 +00:00
nisheeth%netscape.com 4dffad8bd0 Fix OS/2 build bustage from fix to bug 29171. 2001-05-12 07:12:33 +00:00
nisheeth%netscape.com 545241bba3 r=heikki. sr=jst. Fix for bug 29171. Create HTML unknown element for non-lowercased elements that are in the XHTML namespace. 2001-05-12 05:10:48 +00:00
darin%netscape.com c18fe7ef56 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
dbaron%fas.harvard.edu 1326c82680 Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage by adding new header file dependencies from XPCDOM landing to REQUIRES. 2001-05-08 19:19:03 +00:00
jst%netscape.com adf1d8320a Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 16:46:42 +00:00
heikki%netscape.com de729c41c3 Bugs 67887, 67893, 67882, 68185, 73160, 77923. Added support for XHTML base href and target attributes, meta http-equiv and link href. Fixed the blank page bug when xml-stylesheet PI did not contain href attribute. Fixed getElementById() to not match XHTML name attribute. This fix also includes some minor cleanup. r=nisheeth, sr=vidur. 2001-04-30 23:35:09 +00:00
rpotts%netscape.com f56f8cf05b fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski) 2001-04-27 21:05:52 +00:00
peterv%netscape.com 0739fff5e4 Fix for bug 45377 (document base is not set right in nsXMLDocument::Load). Code by heikki, r=me, sr=jst. 2001-04-17 09:46:29 +00:00
peterv%netscape.com 2bffd30547 Fix for 75724 (duplicate data in inline stylesheets). r=glazman, sr=attinasi. 2001-04-13 10:35:40 +00:00
darin%netscape.com 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
hyatt%netscape.com 3ad84a8ecb Missed the XML bit of my mutation patch. 2001-04-04 07:07:33 +00:00
glazman%netscape.com 93d965c462 Default namespace in html:style was HTML by default; b=72302, r=peterv, sr=attinasi 2001-04-02 13:56:22 +00:00
pollmann%netscape.com 19b315986e Bug 65609: (DOM) Allow form elements inside a subtree to find their parent when the subtree is appended/inserted. r=nisheeth@netscape.com, sr=jst@netscape.com 2001-04-02 00:45:52 +00:00
disttsc%bart.nl 96f5f6cf31 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna) 2001-03-30 10:39:06 +00:00
heikki%netscape.com 2f7d5496ae Bug 72522, implemented DOM Level 3 baseURI property (node interface). r=harishd, sr=jst. 2001-03-30 02:15:21 +00:00
cls%seawood.org 703015f4d7 Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
Bug #68381 r=jag
2001-03-26 23:40:28 +00:00
disttsc%bart.nl 6e48266508 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
mstoltz%netscape.com b26a1f0451 Bugs 55069, 70951 - JS-blocking APIs for mailnews and embedding. r=mscott, sr=attinasi.
Bug 54237 - fix for event-capture bug, r=heikki, sr=jband.
2001-03-23 04:22:56 +00:00
heikki%netscape.com 9937a3debe Bug 72675, document.load() can cause crash if loading HTML document. r=harishd,sr=vidur. 2001-03-23 02:27:10 +00:00
heikki%netscape.com 791f7ca17b Didn't notice tree was closed, backing out to wait for open. 2001-03-21 23:35:22 +00:00
heikki%netscape.com 3591d2b504 Bug 72675, document.load() can cause crash if loading HTML document. r=harishd,sr=vidur. 2001-03-21 23:20:12 +00:00
pollmann%netscape.com 9e856ccf92 Bug 72288: Don't turn off scrollbars on all XML documents, r=heikki@netscape.com, sr=blizzard@mozilla.org 2001-03-21 03:00:18 +00:00
heikki%netscape.com 857b6fe925 Removed unused variable. NS_PAGE_LOAD is nsEvent, not nsMouseEvent. r=harishd. 2001-03-20 00:19:48 +00:00
heikki%netscape.com 5915519f29 Not part of build. Added tests for document.load() (a DOM extension used to load XML documents asynchronloysly as data). 2001-03-20 00:05:05 +00:00
pollmann%netscape.com 3e1347b623 Bug 68010: Make XML/XHTML documents obey scrolling attribute on containing frames/iframes, remove unused variable, r=heikki@netscape.com, sr=jst@netscape.com 2001-03-14 07:35:40 +00:00
Peter.VanderBeken%pandora.be c9f797564b Expose Reset from nsIDocument. r=jag, sr=jst. 2001-03-12 06:39:27 +00:00
Peter.VanderBeken%pandora.be 858d8acf66 Expose Reset from nsIDocument. Implement CreateAttributeNS for XML documents. r=jag, sr=jst. 2001-03-12 06:36:20 +00:00
Peter.VanderBeken%pandora.be a7046351fd Add LoadComplete call for result of an XSLT transform, switch source document and result document before the transform, fix crash when transform fails (bug 67066). r=jag, sr=jst. 2001-03-12 06:34:40 +00:00
Peter.VanderBeken%pandora.be ede8756d78 Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
disttsc%bart.nl aebc676048 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
heikki%netscape.com 6e4f158401 Bug 36790, support XHTML style element. Also fix CDATA section handling for title and textarea elements. r=harishd, sr=jst. 2001-02-28 23:51:35 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
waterson%netscape.com 2cd62f503b Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
disttsc%bart.nl 7eabeaefd1 Fix senna bustage (and bustage to be), update REQUIRES for dougt's channel changes and scc's string lib changes. r=cls 2001-02-21 22:35:36 +00:00
dougt%netscape.com eab041f43f Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
heikki%netscape.com ae23767cdd Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet. 2001-02-19 12:55:42 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
disttsc%bart.nl 35ab17c7e4 From Small Gods, by Terry Pratchett:
The light was brilliant, crystalline, in a black sky filled with stars.
'Ah. There really is a desert. Does everyone get this?' said Brutha.
WHO KNOWS?
'And what is at the end of the desert?'
JUDGEMENT.
Brutha considered this.
'Which end?'
Death grinned and stepped aside.
What Brutha had thought was a rock in the sand was a hunched figure, sitting clutching its knees. It looked paralysed with fear.
He stared.
'Vorbis?' he said.
He looked at Death.
'But Vobis died a hundred years ago!'
YES. HE HAD TO WALK IT ALL ALONE. ALL ALONE WITH HIMSELF. IF HE DARED.
'He's been here fore a hundred years?'
POSSIBLY NOT. TIME IS DIFFERENT HERE. IT IS . . . MORE PERSONAL.
'Ah. You mean a hundred years can pass like a few seconds?'
A HUNDRED YEARS CAN PASS LIKE INFINITY.
The black-on-black eyes stared imploringly at Brutha, who reached out automatically, without thinking . . . and then hesitated.
HE WAS A MURDERER, said Death. AND A CREATOR OF MURDERERS. A TORTURER. WITHOUT PASSION. CRUEL. CALLOUS. COMPASSIONLESS.
'Yes. I know. He's Vorbis,' said Brutha. Vorbis changed people. Sometimes he changed them into dead people. But he always changed them. That was his triumph.
He sighed.
'But I'm me,' he said.
Vobis stood up, uncertainly, and followed Brutha across the desert.
Death watched them walk away.

The End.
2001-02-12 03:12:57 +00:00
dbaron%fas.harvard.edu 4be56da985 Update REQUIRES to fix senna bustage. 2001-02-10 03:06:49 +00:00
dougt%netscape.com 69415757ab Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
harishd%netscape.com 7bc76a76cc 68008 - After evaluating the external JS content make sure to that the parser is not blocked before resumeparsing.
r=jst sr=vidur a=blizzard
68160 - Set stream listener state to eOnStop only on the final context.
r=nisheeth sr=vidur a=blizzard.
2001-02-09 22:36:23 +00:00
harishd%netscape.com 539e2f64ec Use resumeParsing instead of EnableParse().
r=jst
sr=vidur
2001-02-06 23:31:17 +00:00
heikki%netscape.com 0d215946ad Bugs 53615 and 51815. XHTML title element did not change window title, and textarea did not have default text. r=harishd, sr=vidur. 2001-02-03 01:16:20 +00:00
dbaron%fas.harvard.edu 0335ffa9ce Add lwbrk to REQUIRES to fix MOZ_TRACK_MODULE_DEPS bustage. 2001-01-30 01:27:47 +00:00
dbaron%fas.harvard.edu ec5e79e673 Change the way nsDocument stores its children by replacing separate nsVoidArrays for prolog and epilog with a single nsISupportsArray that also holds the root element. Using this change, simplify many of the child handling methods in nsDocument (and fix some bugs in them). Since nsDocument no longer uses prolog and epilog, remove AppendToProlog and AppendToEpilog from nsIDocument. b=47850 r=jst@netscape.com sr=vidur@netscape.com 2001-01-25 14:19:38 +00:00
jst%netscape.com 30fe037979 Fixing bug 47733. Making document.implementation.createDocument() set up the root element in the document correctly so that it's parent and owner document is the document that it's in. r=heikki@netscape.com, sr=rpotts@netscape.com 2001-01-23 07:42:20 +00:00
vidur%netscape.com 99ec8cdc30 Fix for bug 63081. We remove carriage returns passed to us by the parser in the copy from the sink buffer to the content model. r=jst 2001-01-22 23:11:02 +00:00
jst%netscape.com 97b81c6c34 Removing declaration of a function that is no longer in mozilla. 2001-01-09 05:26:22 +00:00
jst%netscape.com 7dd56fa57e Removing duplicated code from layout, nsDOMDocumentType does the same things nsXMLDocumentType does and the former is the one that is used. 2001-01-09 05:13:10 +00:00
heikki%netscape.com 8705bdcd9d Bug 45420, createCDATASection should check for input ']]>' and some null pointer checks. Removed a bogus comment. Original patch from Taras Tielkes, needed to modify a little because we are now using nsAReadableStrings. r=jst, a=vidur. 2001-01-05 00:35:20 +00:00
rods%netscape.com c81b2c3b26 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
heikki%netscape.com 48c2612011 Bug 63560, XML content sink was not adding script element contents to the content model. Includes also minor optimizations and fixes 2 compiler warnings. r=harishd, a=vidur. 2001-01-04 00:30:11 +00:00
dbaron%fas.harvard.edu 9430a92e06 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
jst%netscape.com bc0f424999 Fixing nsINameSpace leak introduced in my last checkin. 2000-12-23 12:14:41 +00:00
jst%netscape.com 9e2b7ade05 Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com. 2000-12-23 10:56:31 +00:00
jst%netscape.com 218e8f3e4c Backing out my last change here, this change didn't do what it was supposed to do, not even close. 2000-12-14 06:16:39 +00:00
jst%netscape.com cfb13da69c Checking in fix for annoying asserts on startup caused by a doctype token problem in the parser that was introduced yesterday, casting char * to PRUnichar * just aint a good idea (although that was only part of the problem). Fix done mostly by heikki@netscape.com, r=heikki, harishd, sr=me. 2000-12-14 02:30:12 +00:00
vidur%netscape.com 01bf191f42 Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
heikki%netscape.com 48d290bed2 Bug 51218, problems with DOCTYPE handling. r=harishd, a=vidur. 2000-12-11 22:21:06 +00:00
jst%netscape.com 8bc62e934b Fixing bug 57466. XML documents need to do principal fixup on redirect. sr=vidur, r=mstolts, r=pollmann. 2000-12-09 02:04:36 +00:00
heikki%netscape.com 95fbe00809 Bug 59675, fixing uninitialized variables. r=jst, a=waterson. 2000-11-27 23:23:28 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
jst%netscape.com bb2f7b009b Making the method NS_NewXMLEntity() match its prototype, no bug. Problem found by Sorin Banu <sbanu@softwin.ro>. r=pollmann, sr=rpotts 2000-11-11 23:54:44 +00:00
heikki%netscape.com da42f8f899 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur. 2000-11-08 00:42:42 +00:00
jst%netscape.com 44900ed58e Fixing bug 58888. The content sink was incorrectly releasing the stream loader in its OnStreamComplete() method, this caused a crash when mozilla was running in off-line mode since OnStreamComplete() was called without the sink having a string reference to the stream loader so the incorrect release call in the sink caused a crash later on in necko. sr=rpotts, r=gagan,heikki 2000-11-06 23:22:44 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
heikki%netscape.com 46a983ab34 Bug 57437, copied the implementation from HTML. r=adamlock, a=vidur. 2000-10-24 01:03:31 +00:00
mstoltz%netscape.com 99a2b79580 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
jst%netscape.com b3d9cbac12 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +00:00
jst%netscape.com 50cb267dc7 Redoing how 'replaceable' properties on DOM objects are resolved to be compatible with 4.x, with this change named frames in framesets override 'replaceable' properties so that window.toolbar (or any replaceable property) in a frameset document with a frame named 'toolbar' actually resolves to the frame, and not the native toolbar. r/a=brendan, r=rpotts&scc 2000-09-22 10:18:07 +00:00
mstoltz%netscape.com 90e1c56068 Fixing leak in nsXMLDocument to get the tree reopened. r=mccabe, brendan 2000-09-21 19:48:11 +00:00
mstoltz%netscape.com 940c5078d1 Fixing 52497, security problem in document.implementation, r=jst a=brendan 2000-09-20 23:38:28 +00:00
Peter.VanderBeken%pandora.be f019ffd8cf Enabling XSLT hooks in layout in default build. Bug #42228. r=axel@pike.org, a=waterson@mozilla.org. 2000-09-16 20:53:08 +00:00
nisheeth%netscape.com 6b8c045390 r=jst. Fix for nsbeta3+ bug 49579: Leak of a char * fixed in StartDocumentLoad(). 2000-09-14 06:43:08 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
nisheeth%netscape.com 9d0e97540d Followup to fix for nsbeta3+ bug 10292. Return default values from GetMappedAttributeImpact and GetContentStyleRules(). 2000-09-12 21:02:02 +00:00
jst%netscape.com 5ba0e96269 Fixing nsbeta3+ bug 51562. Don't leak nsXMLProcessingInstructions... r=beard&dbaron 2000-09-12 01:51:02 +00:00
jst%netscape.com 585c9cdc89 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com 2000-09-09 05:46:14 +00:00
ftang%netscape.com 8ab1d76a0b fix bug 50654. r=nhotta take care " in the charset 2000-09-06 20:41:12 +00:00
disttsc%bart.nl 16d9ea1ee3 Make nsXULElement inherit directly from nsXMLElement and remove dead internal code ((Get|Set)NameSpacePrefix from nsIXMLContent.h, nsIXULContent.h, nsXMLElement.h, nsGenericXMLElement.(h|cpp) and nsXULElement.(h|cpp). Hints & tips by jst (thanks!), r=jst, a=brendan. 2000-09-06 20:39:29 +00:00
Peter.VanderBeken%pandora.be f08647d35b Correct string usage in XSLT hooks. Not part of default build (ifdef'ed). r=nisheeth. 2000-09-04 05:55:00 +00:00
Peter.VanderBeken%pandora.be ec2cf7fc4a Fix XSLT hooks (Preparation for bug #42228). r=jst@netscape.com, a=waterson@netscape.com. 2000-09-02 15:35:19 +00:00
Peter.VanderBeken%pandora.be 8a0b6d43a9 Fix XSLT hooks (Preparation for bug #42228). Remove GetAttributeValueAt (Fixes bug #47454). Clean up code. r=jst@netscape.com, a=waterson@netscape.com. 2000-09-02 15:34:07 +00:00
nisheeth%netscape.com e5752be50d r=jst. Fixing refcounting of ID attribute atoms. Additional work to earlier checkin for fixing bug 10292. Also, added support for getElementByID() in XML documents. 2000-09-01 02:21:06 +00:00
jst%netscape.com ef147e7941 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com 2000-08-31 00:36:31 +00:00
nisheeth%netscape.com 2b93b30dd8 - Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
authors to use ID selectors to target elements in an XML document.

- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com)
2000-08-30 00:35:43 +00:00
jst%netscape.com 6a57d18fbe Fixing memory leaks (bug 49665), found by dbaron. r=pollmann@netscape.com 2000-08-29 05:32:15 +00:00
jst%netscape.com b3a4ade60d DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
scc%mozilla.org 301746a559 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
ftang%netscape.com 600d7b5dfb *** empty log message *** 2000-08-18 00:47:03 +00:00
hyatt%netscape.com 6c68a00e3d Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan 2000-08-12 06:28:02 +00:00
heikki%netscape.com 906502293e Bugs 38399, 40889, 44211. Also fix two compiler warnings (mismatched signed/unsigned). r=jst (bug 44211 r=harishd). 2000-07-28 21:48:08 +00:00
cls%seawood.org 33938e6100 Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
cls%seawood.org e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
nisheeth%netscape.com 73099106b6 Fix for bug 43019. Does not affect current build. Fixes a unix compile problem for XSL hooks in mozilla. 2000-06-27 01:12:44 +00:00
jst%netscape.com 192aa0c82e Fixing nsbeta2+ bug 33477, completing (more or less) the DOM Level 2 NamedNodeMap implementation, this includes modifying the XML content sink to properly pass attribute prefixes to the content objects. r=vidur@netscape.com 2000-06-23 00:21:32 +00:00
vidur%netscape.com d690a7d2b9 Fix for bug 38349. Implemented nsIDOMNode::CloneNode() and ImportNode() for XML and HTML documents as part of finishing out our DOM1 and DOM2 implementations. Cleanup of DOMImplementation::createDocument. r=jst 2000-06-21 23:56:52 +00:00
vidur%netscape.com 19aa4a879d Fix for bug 9392. document.plugins now aliases to window.navigator.plugins. r=nisheeth 2000-06-21 00:53:26 +00:00
vidur%netscape.com b384cc0abf Fix for bug 15118. XML content sink now processes the DOCTYPE. r=jst,nisheeth 2000-06-17 01:49:19 +00:00
vidur%netscape.com 32f78655cb Work for bug 33475 - completion of Document-related DOM Level 2 support. Null-checks for the empty document case. The documentElement can now be replaced. Load() no longer takes extra unused argument. r=jst,nisheeth 2000-06-17 01:46:58 +00:00
nisheeth%netscape.com 4cf21823d4 Checking in patch from Andreas to fix Mozilla's XSL hooks (bug 36038). Does not affect the default mozilla build. 2000-06-16 23:29:19 +00:00
Peter.VanderBeken%pandora.be 4b0e0526fc Reenable creation of HTML elements in XML documents. r=nisheeth, r=kin, a=waterson. 2000-06-15 17:48:19 +00:00
rbs%maths.uq.edu.au 29f1b6960b Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com 2000-06-15 09:54:41 +00:00
dbaron%fas.harvard.edu fb16edb4b4 Fix bug 38766 (JS errors given wrong for linked scripts in XML documents), nsbeta2+. r=harishd@netscape.com 2000-06-15 02:33:22 +00:00
dbaron%fas.harvard.edu 7bdf9700b5 Fix bug 38766 (JS errors given wrong for linked scripts in XML documents), nsbeta2+. r=harishd@netscape.com 2000-06-15 02:22:09 +00:00
axel%pike.org 49a4f2644d Code cleanup, XSL->MOZ_XSL, r=nisheeth, a=waterson 2000-06-14 07:35:26 +00:00
mjudge%netscape.com 08db683df0 fixing leaks! r=scc bug=34896 2000-06-09 04:16:50 +00:00
mkaply%us.ibm.com 726d1674a0 # 37239
r = rickg, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (PR_CALLBACK)
2000-05-31 14:09:34 +00:00
harishd%netscape.com b07b148bf5 Yet another try to fix the orangeness. 2000-05-26 21:42:05 +00:00
harishd%netscape.com 2db8a41f86 Added DumpContent() for parser regression test. 2000-05-26 19:45:54 +00:00
jst%netscape.com 46cd84fa38 Checking in temporary code that lets a user turn on the new DOM Level 2 behavior by setting the 'temp.DOMLevel2update.enabled' preference to true, this is to help with the general DOM update, and it's part of the fix needed for bug 33474. r=vidur@netscape.com, a=pdt@netscape.com 2000-05-25 23:48:45 +00:00
heikki%citec.fi 635ba23253 Bug 39715. a=waterson, r=jst. 2000-05-25 13:50:41 +00:00
heikki%citec.fi 75db23b24d Bug 29818 (debug demo #15). Not part of build. Permission from vidur (original author) to add MozPL licenses. I will also update www.mozilla.org copies. a=leaf, r=jst. 2000-05-19 05:26:11 +00:00
hyatt%netscape.com 5bed7dc4bd fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
jst%netscape.com 89e52a1e3a Add null pointer check. 2000-05-17 05:38:57 +00:00
jst%netscape.com b22cf9671a Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
joki%netscape.com b2e873d830 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
jst%netscape.com 8e1109a431 Implementing getElementsByTagNameNS() for XML and HTML documents. 2000-05-16 00:55:05 +00:00
jst%netscape.com 35f9b347a8 Implementing createElementNS(). 2000-05-14 23:55:04 +00:00
scc%netscape.com bf980f52c7 string fixes 2000-05-14 08:10:00 +00:00
jst%netscape.com e9e0ee8ec5 Make processing instructions implement nsIDOMLinkStyle, also did some general cleaning up. 2000-05-14 02:11:44 +00:00
mjudge%netscape.com 8c2692938e nsXifConverter to nsIXIFConverter 2000-05-13 08:13:05 +00:00
jst%netscape.com c7e3c310d9 Add GetNodeInfo() to nsIContent. 2000-05-12 14:09:28 +00:00
jst%netscape.com ff00e8645b Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter. 2000-05-12 13:46:59 +00:00
nisheeth%netscape.com df419864ce Removing include of windows.h in and ifdef XSL section of the code. Does not affect mozilla build. 2000-05-12 04:40:55 +00:00
jdunn%netscape.com 587ac2dd37 backing out previous change, since axel backed out his autoconf.mk.in change
r= jgaunt@netscape.com
2000-05-12 03:42:02 +00:00
jdunn%netscape.com f4638295be fixing hpux 11.00 build and autobahn's commercial build
I mentioned this to Axel but he was going to bed...
r= jgaunt@netscape.com
2000-05-12 02:42:54 +00:00
axel%pike.org 90a5509aab Get XSLT going for unix, patch by andreas.otte@primus-online.de,
r=jst@netscape.com
2000-05-11 22:45:24 +00:00
jst%netscape.com 50499cc037 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com. 2000-05-10 13:13:39 +00:00
hyatt%netscape.com fbac03f025 XBL now works with HTML, XUL, SVG, MathML, and XML! 2000-05-09 21:42:40 +00:00
heikki%citec.fi 3ab4622e1d Test files for simple XLink. Not part of build. 2000-05-09 08:26:55 +00:00
heikki%citec.fi bc9eec293a Implemented actuate=onLoad for simple XLinks. r=nisheeth. 2000-05-09 07:30:21 +00:00
andreas.otte%primus-online.de 17a703b6c6 working on bug 37616, Retire SetRelativePath, removing last usage of SetRelativePath, r=warren@netscape.com, a=buster@netscape.com 2000-05-07 10:35:40 +00:00
nisheeth%netscape.com fa1d77063b 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
mjudge%netscape.com 6622635cab making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
joki%netscape.com 3851e31b9f fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
scc%netscape.com 8624ce5d67 making string conversions explicit 2000-04-16 11:19:26 +00:00
scc%netscape.com c446bce30d attempting to fix build bustage 2000-04-15 21:48:04 +00:00
scc%netscape.com 4aafab053d attempting to fix build bustage 2000-04-15 21:46:25 +00:00
scc%netscape.com c38395df69 making string conversions explicit 2000-04-15 21:18:29 +00:00
jst%netscape.com 2c4d540f7a Update the DOM interface to DOM Level 2, only stubs so far. 2000-04-13 21:21:02 +00:00
heikki%citec.fi 0467df615b Missing QI entry for an interface we inherit from. Found by ddediu@usa.net, thanks. r=me. 2000-04-13 12:19:50 +00:00
heikki%citec.fi 00f214e868 Test files for XML Base. **Sicking testing cvs admin** 2000-04-13 06:40:18 +00:00
heikki%citec.fi 1b1b94ee79 Test files for XML Base. Not part of build. 2000-04-13 06:40:17 +00:00
heikki%citec.fi 53d076ca4b Implemented XML Base (http://www.w3.org/TR/xmlbase). Still some issues with escaping illegal chars in URLs etc. Bug 32842. 2000-04-13 06:38:31 +00:00
hyatt%netscape.com 537541b987 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +00:00
jst%netscape.com 09556dd1c8 Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now. 2000-04-02 17:46:30 +00:00
nisheeth%netscape.com db554bcdd5 Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches. 2000-04-01 00:39:15 +00:00
nisheeth%netscape.com 8c9cf79c1b r=pollmann. Fix for bug 29395. XML error messages now show up in the content area for XML, RDF, and XUL files. Earlier, they would only show up for XML files.
- Generate tokens in the expat tokenizer to display an XML error message.
- Process those tokens in the XML DTD
- Add a SetStringValue() method to CToken that accepts an nsString parameter.
- Removed code in the XML content sink's NotifyError() method to create error message content.
2000-03-30 01:41:48 +00:00
norris%netscape.com b1bac05243 Fix bug 7264 All JavaScript running with correct principals
r=mstoltz
2000-03-28 03:59:46 +00:00
nisheeth%netscape.com ff93a050e1 r=pollmann. Fix for bug 17643.
- Rewrote GetQuotedAttributeValue() so that it handles whitespace and attribute names inside attribute values.
- The xml stylesheet PI now only needs a href attribute to work right.  Other attributes like title, media, alternate, default to null.  The type attribute defaults to "text/css".
2000-03-28 00:18:13 +00:00
scc%netscape.com 9c2f6dad62 small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
norris%netscape.com c7afcfb732 Fix
32088 Circumventing Same Origin security policy using javascript: URLs
        32040 about: can't be link
Also remove deprecated method
r=mstoltz
2000-03-24 22:15:37 +00:00
jst%netscape.com fb0a85bfac Update DOMImplementation, DocumentType and DOM Error codes to match the current DOM Level 2 recommendation, also make HTML documents have a DocumentType if one is given in the file. r=joki@netscape.com 2000-03-22 22:16:14 +00:00
jst%netscape.com 053a38dec3 Reducing the size of text nodes by 4 bytes per node. r=troy 2000-03-22 01:23:42 +00:00
nisheeth%netscape.com e90cbb686f r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document. 2000-03-21 03:25:16 +00:00
jst%netscape.com b768001187 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
jdunn%netscape.com 119f5cc180 just adding 'newlines' UGH! 2000-03-14 03:01:38 +00:00
rickg%netscape.com e750a8bcc4 remove calls to deprecated string methods 2000-03-12 10:02:40 +00:00
rickg%netscape.com 4791ab3e8f removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
hyatt%netscape.com c30fb1bab0 Improving XBL support. 2000-03-11 10:38:36 +00:00
tbogard%aol.net 8fa1a60914 Get the contentViewer from the docShell APIs rather than the webShell ones. 2000-03-11 00:29:47 +00:00
tbogard%aol.net 5ba6095a17 Converted a number of places to use the docShell APIs instead of the webShell ones. 2000-03-11 00:28:44 +00:00
cata%netscape.com 16558c54a6 Backing out fix for #7886 to fix regression #30299 2000-03-04 21:44:58 +00:00
cata%netscape.com 736559f0ba last bit in activating charset override 2000-03-03 02:21:24 +00:00