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

625 Коммитов

Автор SHA1 Сообщение Дата
valeski%netscape.com a8e9bc5bd5 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +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 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
mkaply%us.ibm.com 80976649ba #70961
r=jst, sr=erik
DOM changes to implement the dir attribute (document.dir) needed for Bidi
2001-03-10 00:50:54 +00:00
brendan%mozilla.org ceac8904de Recognize application/x-javascript (70439, r=timeless, sr=waterson). 2001-03-09 00:53:26 +00:00
hyatt%netscape.com 4a16cd01f6 Fix for 68478. r=blake, sr=alecf 2001-03-05 23:28:07 +00:00
jst%netscape.com 35a2ad68f0 Fixing bug 69840. Implementing XULDocument.createProcessingInstruction(). r=jag, sr=ben@netscape.com 2001-02-25 00:00:52 +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
mkaply%us.ibm.com 825b986a4e OS/2 TB break
Need PR_STATIC_CALLBACK
2001-02-22 04:47:26 +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
waterson%netscape.com 4b594dfe63 First checked in; not yet part of the build. 2001-02-21 01:13:03 +00:00
waterson%netscape.com 0c9ae9b94a Bug 39054, redux. Hack around problem (?) with XBL child nodes: we'll just query for the list of real kids up front. Also, need to break 'AddSubtreeToDocument()' into pre- and post-order steps. r=hyatt, sr=brendan 2001-02-20 01:05:34 +00:00
heikki%netscape.com fa72c631ce Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com 2001-02-19 21:50:04 +00:00
waterson%netscape.com e3455f87dc Backing out changes for 39054, which caused several template regressions. 2001-02-13 19:22:56 +00:00
waterson%netscape.com bf8a4eb521 Bug 39054. Make XUL templates work properly inside XBL. r=hyatt,alecf; sr=ben 2001-02-13 07:04:55 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +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
hyatt%netscape.com 8d353f7cfa Fix for 67435. sr=ben 2001-02-07 07:45:36 +00:00
pollmann%netscape.com acc42b588c Bug 42892: Split FlushPendingNotifications in to content and content+frames cases (speed up content list access), r=jst@netscape.com, sr=vidur@netscape.com 2001-02-06 05:46:46 +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
hyatt%netscape.com 90b8800096 Fix for 55292, r=ben, sr=brendan 2001-02-02 00:54:47 +00:00
gagan%netscape.com cded3e2f30 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
hyatt%netscape.com 086bf919ba Impl getAnonymousElementByAttr, r=jst, sr=ben 2001-01-27 00:43:54 +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
darin%netscape.com 6bfaf3912c Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
ben%netscape.com 4c4aa35276 bug 56719, support deep merging for XUL overlays; 57108, remove the hidden form
from all XUL documents and remove the document.controls collection that
referenced hidden form's elements collection. r=waterson@netscape.com,
a=hyatt@netscape.com
2001-01-10 01:08:23 +00:00
dbaron%fas.harvard.edu 12d46e3f6a Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=brendan@mozilla.org 2000-12-17 16:02:58 +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
hyatt%netscape.com da4450ca46 Fixing linux build bustage 2000-12-10 09:47:05 +00:00
hyatt%netscape.com 3bf852974a Adding support for box objects to XML and HTML. Reduced size of XUL content nodes by
4 bytes. r=jst@netscape.com, a=ben@netscape.com
2000-12-10 09:18:57 +00:00
alecf%netscape.com deff2e336c #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz
2000-11-17 20:54:21 +00:00
disttsc%bart.nl 5371547095 Moving nsIContentViewer over from webshell to docshell, converting from .h to .idl. Needed for bug 46200, r=moa=adam@netscape.com, a=alecf 2000-11-09 20:30:35 +00:00
alecf%netscape.com 03014b4ce6 fix for #58103 - implement nsXULDocument::CreateRange()
sr=waterson
2000-11-09 00:32:27 +00:00
heikki%netscape.com da42f8f899 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur. 2000-11-08 00:42:42 +00:00
hyatt%netscape.com e0c292d77e Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +00:00
waterson%netscape.com 375ed41613 Bug 56713. Rework bulletproofing that sspitzer and I put in aeons ago: text nodes can wind up at the top level in an overlay. In this case we'll just ignore them instead of completely bailing, which'd put us into a bad state the next time around. r=hyatt, sr=brendan 2000-10-29 17:58:21 +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
waterson%netscape.com 82b4ab1f0d Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt 2000-10-09 03:08:41 +00:00
jst%netscape.com d8314c08e0 Forgot these files in my last checkin. 2000-10-07 11:56:09 +00:00
hyatt%netscape.com 6bff3e832f Attempting to plug the leak. I assume I'm allowed to check in leak fixes. 2000-09-27 23:27:13 +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
hyatt%netscape.com 957c151659 48758. r=ben,saari, a=waterson 2000-09-22 05:02:20 +00:00
kandrot%netscape.com db0b0031f0 Fix for 370k of bloat.
r=waterson
2000-09-15 06:52:17 +00:00
hyatt%netscape.com b13684d2e9 Fix for bad contractid. r=rayw 2000-09-15 06:39:29 +00:00
saari%netscape.com 9e1940cb6f fix for 49975. r=pinkerton and hyatt 2000-09-15 06:28:26 +00:00
rayw%netscape.com d39d9e6d59 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
waterson%netscape.com f7f68ebaf4 Tune arena sizes, per news://news.mozilla.org/39BEC105.5090206%40netscape.com. 2000-09-14 23:11:40 +00:00
mjudge%netscape.com a2fa9edcb5 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
jst%netscape.com 0031679c0b Fixing nsbeta3+ bug 52572. Updating the DOM intefaces in mozilla to match the current DOM Level 2 PR. r=kandrot@netscape.com 2000-09-14 05:19:00 +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
scc%mozilla.org a48ea31a0c if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 04:50:55 +00:00
pinkerton%netscape.com 1cf18fcdf2 use NS_LITERAL_STRING 2000-09-07 23:18:38 +00:00
dveditz%netscape.com 05d632dff6 Turning on JS strict option in debug builds, a/r=brendan, bug 50645 2000-09-07 10:51:59 +00:00
hyatt%netscape.com e40ff5451b Fix for 51263. r=ben 2000-09-07 08:26:03 +00:00
hyatt%netscape.com 98a7a1f1b4 loadBindingdoc, r=ben 2000-09-05 07:29:01 +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
vidur%netscape.com 4a41eee18d Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +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
waterson%netscape.com 4142dd5c93 Bug 50499. Fix FMM that was caused by DOM string changes. r=bruce 2000-08-30 04:21:06 +00:00
vidur%netscape.com b96c318a90 Fix for bug 43902. The DOM glue now streamlines the Get/SetProperty methods for the window class. Window.location and title and document.title are now part of the idlc interfaces, rather than special-cased. r=jst@netscape.com 2000-08-29 00:14:23 +00:00
beard%netscape.com d82bda6a5b GetElementAt(), QueryInterface() -> QueryElementAt(). r=waterson 2000-08-26 05:30:45 +00:00
hyatt%netscape.com ab26aa6249 Fix for 50044, 47861, 47471, r=ben 2000-08-25 07:01:53 +00:00
cltbld%netscape.com 66688455a5 Fixing solaris, AGAIN. jst,mcafee 2000-08-23 22:26:35 +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
hyatt%netscape.com 072ffea226 Fix for 49150, r=ben 2000-08-23 07:18:58 +00:00
hyatt%netscape.com c73e081e36 fix for 49835, r=danm 2000-08-22 22:53:46 +00:00
warren%netscape.com 1c8511e78c Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
mstoltz%netscape.com 88846ce93b Fixing 41876 r=hyatt, also 48724, 49768, and crasher in nsBasePrincipal.cpp, r=jtaylor 2000-08-22 02:06:52 +00:00
hyatt%netscape.com a00ee62e70 49012 fix, r=danm 2000-08-21 22:23:15 +00:00
warren%netscape.com 64a99efec0 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
scc%mozilla.org 50902d01b6 fixing code that relied on implicit string construction 2000-08-19 22:46:00 +00:00
hyatt%netscape.com 3f0db1da77 Fix for 48187, r=danm 2000-08-17 22:44:01 +00:00
hyatt%netscape.com c60a2f7d07 First-stage fix for dogfood bug 49012. r=ben 2000-08-17 08:11:11 +00:00
waterson%netscape.com dd700db4af Bug 44480. Demote 'width' and 'height' attributes from NSDocument to NSHTMLDocument and XULDocument; make nsHTMLDocument's implementation use the <body> element's frame (instead of the <html> element's frame) to determine metrics. r=jst 2000-08-16 01:04:52 +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
warren%netscape.com 4af572e4c1 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
hyatt%netscape.com 592cd5eaac Plug leak in cache for XBL docs. 2000-08-06 04:57:24 +00:00
heikki%netscape.com 92966bfe9e Bugs 38399, 40889. r=jst. 2000-07-28 21:49:42 +00:00
hyatt%netscape.com 1436977acc Fix for 46129. r=waterson,attinasi,pierre 2000-07-28 09:36:14 +00:00
sfraser%netscape.com 3e016210e2 Fix for nsbeta2+ bug 31134 -- paste in edit menu not enabled correctly. Add a new command set for clipboard-related menu items, and fire it on Copy. Also ensure that UpdateCommands("focus") gets called on window activation, and when unfocussing a wiget in page. r=hyatt, saari 2000-07-14 22:06:31 +00:00
waterson%netscape.com ad2c431234 Fix silly leak that dbaron found with leaksoup. r=jack,a=lumpy. 2000-07-06 04:27:10 +00:00
BlakeR1234%aol.com 81543e9ee7 Fix for 42204, a=trudelle 2000-06-29 03:15:05 +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
ben%netscape.com a62dc4a525 fix for 41657, r=waterson, hyatt 2000-06-20 05:43:52 +00:00
vidur%netscape.com 07473b6e07 Work for bug 33475 - completion of Document related DOM Level 2 support. Load() no longer takes extra unused argument. r=jst,nisheeth 2000-06-17 01:47:02 +00:00
axel%pike.org 49a4f2644d Code cleanup, XSL->MOZ_XSL, r=nisheeth, a=waterson 2000-06-14 07:35:26 +00:00
scc%mozilla.org 55650a35b3 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms 2000-06-12 23:52:31 +00:00
rginda%netscape.com c17389789e implement document.height/width for xul documents (copy/paste from nsDocument.cpp) for bug 41638
r=danm
2000-06-08 00:51:13 +00:00
inaky.gonzalez%intel.com 2b549b6f09 Fixed nsSupportsHashtable behaviour and API to fix leaks in
nsDirectoryService. Fixes bugs #38606 and #39859.

a=waterson; r=rayw,brendan,warren
2000-06-06 22:06:56 +00:00
warren%netscape.com ddce19c8d3 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433 2000-06-02 23:41:43 +00:00
hyatt%netscape.com e891a5ba9c Tree/grid foundation work. 2000-06-02 08:13:29 +00:00
erik%netscape.com a258aa2914 bug 32206; add notifiers for charset changes; r=buster; a=ftang 2000-06-01 23:10:44 +00:00
bryner%uiuc.edu dc815cf23f Enable the caching of XBL documents in the XUL cache. Not yet
used.  r=hyatt.
2000-05-28 07:30:48 +00:00
hyatt%netscape.com e0cfd827ae Fix mac bustage. 2000-05-27 22:40:40 +00:00
hyatt%netscape.com 8b528f224c Fixing bugs in skin switching. 2000-05-27 20:03:14 +00:00
hyatt%netscape.com 3064160cb5 Adding anonymous content getter. r=waterson, a=waterson 2000-05-26 22:45:26 +00:00
ruslan%netscape.com 68b998a06d Make res/chrome handlers implement threadsafe_isupports 2000-05-26 21:00:18 +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
waterson%netscape.com f36668c374 Bug 39037. Feeble attempt to fix: if for some reason we never got a parser, or the SetParser(nsnull) is called before calling DidBuildModel(). 2000-05-25 06:58:34 +00:00
hyatt%netscape.com 5bed7dc4bd fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
hyatt%netscape.com f7e1915f69 fix for chrome registry bugs. r=danm,waterson, a=waterson 2000-05-18 20:27:37 +00:00
waterson%netscape.com e44d72df38 Flush miscellaneous comment changes. 2000-05-17 05:59:10 +00:00
jst%netscape.com d0ef19a152 Store XUL attribute names as nsINodeInfos. 2000-05-17 04:53:16 +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 a29b0b6f25 Checking in DOM Level 2 version of the DOM interface Element. 2000-05-15 20:31:55 +00:00
jst%netscape.com acf1d8d069 Fixing build bustage if PR_LOGGING was defined. 2000-05-15 19:15:14 +00:00
jst%netscape.com ba15afe1a0 Adding support for document.createElementNS() for XUL documents. 2000-05-15 19:02:30 +00:00
dbaron%fas.harvard.edu 1b3f6ef567 Fix leak of namespace manager. r=waterson@netscape.com 2000-05-15 13:11:06 +00:00
jst%netscape.com 9b81553504 Support wildcard ('*') for namespaceURI in getElementsByTagNameNS(). 2000-05-14 19:37:40 +00:00
jst%netscape.com a294cac2fd Implementing getElementsByTagNameNS() in the XUL document. 2000-05-14 18:14:30 +00:00
mjudge%netscape.com 41eeb41b1b removing warning 2000-05-13 22:59:43 +00:00
mjudge%netscape.com 68a5f190e0 xuldocument now will output xif/text also changing references from nsXifconverter to nsIXIFConverter 2000-05-13 08:13:54 +00:00
saari%netscape.com b8aa8a1761 more for 29800 2000-05-11 22:43:32 +00:00
nisheeth%netscape.com 6346ccc595 Add support for loading an XML document from script within a XUL document also. 2000-05-10 23:02:32 +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 0166bfad1b XBL now works with HTML, SVG, MathML, XML, and XUL. 2000-05-09 21:41:01 +00:00
sfraser%netscape.com 03cdcb6495 Print to the console when loading a JS file fails. This cause us to print a message when a JS file included by XUL is missing. 2000-05-03 22:47:48 +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
sfraser%netscape.com 14f40c1c2a Add an UpdateCommandState method to the command maanger. 2000-05-01 01:33:22 +00:00
mjudge%netscape.com 19d29307eb small change to the way you get selection 2000-04-28 06:22:07 +00:00
waterson%netscape.com 2259db6f0c Fix memory churn caused by implicit nsString ctor. 2000-04-27 06:44:13 +00:00
waterson%netscape.com 93ec532eed Fix memory churn caused by implicit nsString ctor. 2000-04-27 05:53:36 +00:00
waterson%netscape.com 161096afb1 Move template builder 'release' to SetScriptGlobalObject() so that we'll always release the template builders regardless of whether someone else leaks the nsXULDocument object. 2000-04-27 00:32:02 +00:00
jst%netscape.com 3625709458 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
sfraser%netscape.com 704a8ccc4a Implemented new calls on the command manager which are callthroughs from the controller, with a context parameter. 2000-04-26 06:15:40 +00:00
sfraser%netscape.com 1fbb40753c Lots of new comments, added interface for nsIStateUpdatingControllerCommand, and added calls on the command manager which are callthroughs from the controller, with a context parameter. 2000-04-26 06:15:23 +00:00
waterson%netscape.com 974535ba6a Remove XIF assertions. akk and mjudge say this is ok. 2000-04-26 03:47:15 +00:00
mjudge%netscape.com 6622635cab making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
sfraser%netscape.com 37dbaee080 Add some null checks to prevent crashes if calling GetControllerAt with an index that is too large. 2000-04-26 00:58:14 +00:00
waterson%netscape.com ea8dbfd673 Use fixed size arena allocator for element map. 2000-04-25 01:21:57 +00:00
anthonyd%netscape.com 05840e5f32 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
waterson%netscape.com ccac31827b Fix build bustage. 2000-04-17 17:51:01 +00:00
scc%netscape.com 7e868737a5 making string conversions explicit 2000-04-17 14:30:23 +00:00
mccabe%netscape.com 4537a69b81 Modify nsIScriptGlobalObjectOwner::ReportScriptError to take an nsIScriptError interface, rather than separate message, file, line arguments.
Fix implementations and their callers, and restore error printing to stderr even when the error is successfully logged to the console service, to make life easier for people who go to the trouble to invoke Mozilla with -console.
2000-04-15 01:56:47 +00:00
sspitzer%netscape.com 00f16e8d17 bulletproofing fix for bug #35568. r=waterson. 2000-04-12 07:38:17 +00:00
tbogard%aol.net 353de7b69c Changed to use the enumeration rather than the string based parameter to the parser loading mode. 2000-04-11 23:48:37 +00:00
waterson%netscape.com 6ae5675fa2 Bug 29507. Clean up PresShell refcounting. r=troy 2000-04-05 05:17:36 +00:00
mkaply%us.ibm.com 4e00b5fa33 # 34082
r= waterson@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
2000-04-05 02:39:51 +00:00
waterson%netscape.com c4f3739d2a Bug 26402, try number two. Do event handler recompilation and 'style' attribute fixup in nsXULElement::SetDocument(). Fix uninitialized out params in nsXULElement::GetAttribute() and nsXULElement::GetClasses(). 2000-04-03 05:36:17 +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
jst%netscape.com 5fdb266f31 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far. 2000-04-01 13:31:23 +00:00
waterson%netscape.com a47543a7de Bug 26402. Compile event handlers when content is inserted into the document. r=hyatt 2000-03-31 04:03:25 +00:00
jim_nance%yahoo.com 005e33f06e Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
warren%netscape.com d60b12b153 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
rickg%netscape.com a74c225e7d removed reference to nsString2 2000-03-26 23:17:01 +00:00
scc%netscape.com 33cfc64fc1 small changes to clients of string converting APIs 2000-03-26 10:52:00 +00:00
rickg%netscape.com a486e52b05 changed Parser(stream) to accept mimetype 2000-03-25 03:32:55 +00:00
jim_nance%yahoo.com 5723bcda31 Fix bug 33019. Compiler warnings.
Reviewed and approved by:
law, mscott, radha, brade, shaver, & dveditz
2000-03-24 22:11:55 +00:00
mstoltz%netscape.com d63fb120a5 Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris 2000-03-23 04:53:16 +00:00
hyatt%netscape.com bfab0ad6da Giving XUL a <script> tag. r=danm 2000-03-23 01:17:08 +00:00
hyatt%netscape.com 46c66102f4 Marking my territory. ;) 2000-03-21 13:15:24 +00:00
norris%netscape.com 3ea8eb578d added updatePrincipal function to nsDocument. r=norris (this is mstoltz's checkin) 2000-03-21 04:20:04 +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
dougt%netscape.com d9cdcd13d3 adding GetSecurityInfo to the nsIChannel. bug 29646 r= warren. 2000-03-17 22:07:37 +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
dbaron%fas.harvard.edu e3a2013a7e Fix bug 28570, leak of nsXULPrototypeDocument and nsJSContext (and things they owned). r=waterson@netscape.com 2000-03-16 01:11:02 +00:00
beard%netscape.com 762854d1ab uncovered leak exposes a crasher, this fixes it. r=waterson 2000-03-15 23:58:01 +00:00
rickg%netscape.com c617e3f2e9 removed calls to deprecated nsString methods 2000-03-12 11:06:57 +00:00
rickg%netscape.com 4791ab3e8f removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
tbogard%aol.net 3900ffa7ca Use the docShell APIs instead of the webShell ones where possible. 2000-03-11 00:22:48 +00:00
waterson%netscape.com 2dcbc147e5 Bug 27222. Add a parser observer, so we're always guaranteed to be notified when an overlay completes (even if the overlay wasn't there). Keeps us from 'hanging' when an overlay file is missing. r=harishd, a=jevering 2000-03-07 02:33:44 +00:00
waterson%netscape.com 0c4fe6e173 Bug 29148. Don't abort in the case where an invalid stylesheet reference has somehow made it into the prototype document, but the stylesheet was never put into the cache (an empty CSS file will cause this to happen). Instead, just keep on truckin'. r=rjc, a=jar 2000-03-03 23:14:09 +00:00
pollmann%netscape.com 4b87b2a468 Bug 28670: Move XUL scrollbar removal to nsCSSFrameConstructor r=travis a=rickg 2000-02-29 06:51:05 +00:00
jdunn%netscape.com dd92dc94a0 adding newline 2000-02-28 20:50:38 +00:00
saari%netscape.com c269e9fc4d fix for 28467, a=jar, r=hyatt 2000-02-26 00:59:41 +00:00
law%netscape.com ec8f5ef788 Fix from Chris Waterson to suppress bogus assertion failure when adding overlays to personal toolbar; this is a prerequisite to other changes for bug #11871; r=waterson@netscape.com, a=jevering@netscape.com 2000-02-25 02:28:45 +00:00
danm%netscape.com 4d10745e96 stop up small but profuse leak on NT; probably a runtime lib bug. r=waterson a=jevering 2000-02-22 04:13:24 +00:00
pollmann%netscape.com e4b702b6ca Bug 14827: Naughty XUL documents no longer steal scrollbars r=harishd a=rickg 2000-02-19 02:41:48 +00:00
waterson%netscape.com b20c0204e0 Bugs 27271, 27947. Re-order menu creation so that RDF-generated menus are created simultaneously with XUL content. Use style rather than content tree crawling to avoid over-eager creation of menu content. r=hyatt,danm a=jevering. 2000-02-19 00:56:13 +00:00
waterson%netscape.com bb633f3257 Bug 27925. Check document's principal before loading RDF datasources; if principal == system principal, let it do whatever it wants, otherwise check each datasource's URL to ensure that it comes from the same origin as the document. Prevents, for example, untrusted XUL content from loading bookmarks. r=norris, a=chofmann 2000-02-17 21:05:52 +00:00
waterson%netscape.com 29406017a6 Revert fix for 26947, 27271 due to bad interaction with the 'find' datasource that causes crash-on-exit. a=chofmann. 2000-02-16 22:44:15 +00:00
waterson%netscape.com 2b8e5dab5f Bugs 27947, 27271. Re-order content-model-to-layout notification to avoid an incremental reflow. This ensures that 1) all menus will be completely created before they are displayed, and 2) the 'oncreate' handler runs after RDF content has been generated. r=hyatt 2000-02-16 07:36:35 +00:00
joki%netscape.com 4596efac68 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
sspitzer%netscape.com 490c789bf3 case sensitivity problem. r=sfraser 2000-02-15 09:42:41 +00:00
sfraser%netscape.com 9eb276a5da First Checked In. 2000-02-15 08:42:25 +00:00
hyatt%netscape.com 32608cd06a Fix for bug #25675. More focus memory framework being checked in for the
command dispatcher as well.
2000-02-11 00:59:32 +00:00
kmcclusk%netscape.com 4d12d19a42 Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
hyatt%netscape.com 9b90d855b2 Fixing command dispatcher horkage. r=saari 2000-02-09 03:14:03 +00:00
dp%netscape.com 906610dcf7 Fixing build bustage. 2000-02-09 02:43:48 +00:00
hyatt%netscape.com 28745243d6 Command dispatcher fix for PDT+ focus issues on Linux. r=saari 2000-02-09 01:32:42 +00:00
tbogard%aol.net f5d81c3e9c GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
joki%netscape.com b7846d75d9 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
waterson%netscape.com 932a5780a9 Tweak MOZ_COUNT_[CTOR|DTOR] macros. 2000-02-06 02:56:06 +00:00
alecf%netscape.com 6e7aa4512f hook up this object to the globalobjectowner so that we can report errors
r=waterson
2000-02-04 01:42:05 +00:00
waterson%netscape.com ec7c4582cb Bug 25333. Implement nsIScriptGlobalObjectOwner so we can report compilation errors. r=scc 2000-02-03 08:51:49 +00:00
waterson%netscape.com 0b53792184 Bug 20677, 23905, attempt number 2. This time, in the DOM methods, we make sure to do a 'deep' set on mDocument *before* calling to their nsIContent brethren. This ensures that any code in layout that wants to access the document gets the right value. r=scc 2000-02-03 07:55:34 +00:00
valeski%netscape.com ba35ff22b6 r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
waterson%netscape.com f2c4bf1e4b Revert changes that cause mail sort to crash. 2000-02-02 19:46:03 +00:00
waterson%netscape.com c02a1bd063 Bugs 20677, 23905. Change nsXULElement to implement nsIContent like nsGenericElement and nsGenericHTMLElement. Specifically, do 'shallow' SetDocument() calls in AppendChildTo(), InsertChildAt() and ReplaceChildAt() methods. Change nsXULDocument to leave newly create element's mDocument as null (so 'null mDocument' means 'this element is not currently in the document'. Fix callers to ensure that a deep SetDocument() is made where necessary. r=hyatt 2000-02-01 22:57:36 +00:00
vidur%netscape.com fa580e6551 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-28 23:43:12 +00:00
hyatt%netscape.com ab1edf20c4 Making the XUL key listener a bubbler. Removing its capability to handle
textareas and inputs.
2000-01-27 09:43:19 +00:00
sspitzer%netscape.com f2bd52d7b4 change PR_ASSERT to NS_ASSERTION. on linux, PR_ASSERT calls abort, and
I was getting getting to the PR_ASSERT when copying text in a quoted mail message.  r=akkana, a=leaf
2000-01-26 20:39:28 +00:00
norris%netscape.com e7f484f030 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
waterson%netscape.com 7adc8ab9ce Minor code cleanup from review with brendan: use shared finalizer in nsJSUtils. 2000-01-26 01:56:56 +00:00
waterson%netscape.com 6b57e35cbf Use NS_REINTERPRET_CAST instead of including private header files. 2000-01-26 01:55:59 +00:00
putterman%netscape.com 4c53f418ec r=waterson. Necessary for 24768. Put nsIDOMXULDocument into this. 2000-01-25 05:09:23 +00:00
nisheeth%netscape.com 71218baaf6 Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00