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

849 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com 062b2d5a6f Expose nsIXULDocument and nsIXULPrototypeDocument as public interfaces. Properly implement nsIXULDocument::CreateFromPrototype(). 1999-11-24 22:46:09 +00:00
waterson%netscape.com 20db57f648 Add methods to individually flush prototypes and style sheets. 1999-11-24 22:44:52 +00:00
waterson%netscape.com 725a3b67cd Bug 20036. Fix style sheet ordering. 1999-11-24 22:43:45 +00:00
tbogard%aol.net a0640b60c4 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
tbogard%aol.net d32c6dfc9c Enabled nsXULElement to implement the nsIChromeEventHandler interface. r=hyatt 1999-11-23 09:36:39 +00:00
rjc%netscape.com 47c7e1b6e6 One less loop (figured out what was preventing this). 1999-11-23 05:37:33 +00:00
rjc%netscape.com 29c08f34ab Get rid of a warning. 1999-11-23 04:47:38 +00:00
rjc%netscape.com 8d87ea18f6 Get rid of another signed/unsigned warning. 1999-11-23 04:44:52 +00:00
rjc%netscape.com 4d89b5ea58 Get rid of a signed/unsigned warning. 1999-11-23 04:43:01 +00:00
rjc%netscape.com 33404d8a24 Speed up sorting by reducing the # of times we loop over the list of nodes. Now, we loop over once to build up a flat array of nodes [qsort needs a flat array] and remove them from the content model, then we sort, then we loop again to re-add the now-sorted nodes, and finally we loop to check if any of the nodes is a container with children such that we need to recursively sort on it. [Note: I tried to combine the final two loops but the tree widget didn't like that. Oh well... its still a lot better than before.] 1999-11-23 04:39:29 +00:00
rjc%netscape.com 84e2b4c550 When sorting, only set found="true" attribute if not a natural order sort. 1999-11-23 02:27:03 +00:00
rjc%netscape.com fddf5943ca Set some sorting hints on the root of the tree (allows for faster insertion sort, due to not having to look around for treecol tags; also makes it pretty easy for drag&drop code to determine if a sort is currently being imposed.) 1999-11-23 01:51:46 +00:00
waterson%netscape.com f664dd64c8 Bug 19421. Brendan's fixes for brutal sharing of script, plus a 'placeholder channel' that ensures we don't fire the EndDocumentLoad() before the prototype walk completes. r=brendan 1999-11-23 01:44:51 +00:00
rjc%netscape.com 3f3e3b8f3a Better handling of natural order calculation on RDF sequences; add support for sorting in-between separators. 1999-11-23 01:02:55 +00:00
rjc%netscape.com ec7ad9543d Better handling of natural order calculate on RDF sequences. Makes drag&drop work fairly well in natural order. 1999-11-20 08:46:22 +00:00
waterson%netscape.com 0116ab78df Bug 12734. Make check for duplicate insertions debug-only. Thanks to zee@northrock.bm 1999-11-20 07:13:25 +00:00
sfraser%netscape.com 78aa804bcf Workaround for bug 19421 -- no menus on mac. This is a problem with brutal sharing of overlays that waterson needs to fix. For now, turn off brutal sharing of scripts. r=brendan, saari. 1999-11-20 06:42:24 +00:00
brendan%mozilla.org 7289c9d1cb Followup to my last checkin: get list-unlink vs. ResumeWalk order right (r=waterson@netscape.com) 1999-11-20 03:10:42 +00:00
rods%netscape.com 74e45c0e2a removed select initialization code r=dcone bug 18241 1999-11-19 15:42:06 +00:00
buster%netscape.com 4cbe3e3538 bug 12022, r=rickg 1999-11-19 08:26:56 +00:00
bienvenu%netscape.com 8737dce8ab small performance tweak for null id xul elements r=waterson 1999-11-19 01:31:36 +00:00
waterson%netscape.com aaf9e7f9c7 Clean up some timing printfs. 1999-11-18 05:47:51 +00:00
brendan%mozilla.org 098299e271 Brutal JS script sharing (15146, r=waterson@netscape.com). 1999-11-18 02:25:33 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
waterson%netscape.com 52d85162a9 Fix build bustage: disambiguate nsXULDocument::State from nsForwardReference::State by renaming to nsForwardReference::Phase. 1999-11-17 03:20:03 +00:00
waterson%netscape.com 2d34222855 Bug 13378. Make sure that we hook up any broadcasters that arrive in overlay subtrees. r=hyatt 1999-11-17 02:45:46 +00:00
rjc%netscape.com 22d78384e5 Trim out some crufty/old unused code, and speed up sorting a bit by reducing the number of string copies. Review: me 1999-11-17 02:03:46 +00:00
waterson%netscape.com a4c33e24fa Bug 10469. Remove 'natural order position' stuff. Make sure that nsXULSortService::InsertContainerNode() does the right thing when presented with an unsorted tree. r=rjc 1999-11-16 05:34:13 +00:00
norris%netscape.com 411aade911 * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
tbogard%aol.net 50379d48b1 Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
tbogard%aol.net 23832caf58 Changed interfaces to take nsISupports for the container instead of nsIContentViewerContainer. nsXULDocument was for some reason holding on to this interface (as a weak reference) but was never using it. I have therefore gotten rid of this member variable. r=dp 1999-11-15 22:14:37 +00:00
putterman%netscape.com 97fca30909 Partial fix for 10208. When adding items to a container, update the empty attribute. reviewed by
waterson.
1999-11-15 20:58:39 +00:00
rods%netscape.com d6847ac0e2 added the call DoneAddingContent for the select after it has been created.
r=dcone,bug 18784,16821
1999-11-15 15:11:33 +00:00
rjc%netscape.com a6dd3f11da XUL templates can now be specified via attribute instead of a child node of the root. Also, sorting info can now be specified on the root node, so now any RDF-generated content can be sorted (not just trees). Review: me 1999-11-14 11:10:34 +00:00
putterman%netscape.com 14b976d5b4 Use get() instead of == 1999-11-11 01:22:59 +00:00
rjc%netscape.com 35b6bda704 Add support for secondary key sort. Convert over to using nsCOMPtrs. Review: me 1999-11-10 23:50:34 +00:00
waterson%netscape.com 0f802e0c50 Bug 18102. Consolidate element map, command dispatcher, and broadcaster hookup into AddSubtreeToDocument(). Fixes over-eager hookup of broadcast listeners into unresolved overlay elements, which left a dangling pointer. r=saari, a=chofmann 1999-11-08 19:07:13 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
waterson%netscape.com 50ad3f2022 Bug 18058. Remove 'commandDispatcher' from interface; obsolete, and leaky. r=hyatt, a=chofmann 1999-11-05 05:31:15 +00:00
waterson%netscape.com 5a74bdd9ff Bug 18058. Remove 'commandDispatcher' from interface; obsolete. r=hyatt, a=chofmann 1999-11-05 05:30:56 +00:00
waterson%netscape.com 1d630564b4 Bug 17955. Don't unnecessarily add script event listeners to temporary nodes used for overlay hookup. r=hyatt, a=chofmann 1999-11-04 19:43:43 +00:00
waterson%netscape.com 1604985632 Bug 17847. Fix 'commandupdater' hookup for master document. r=hyatt, a=chofmann 1999-11-04 18:37:58 +00:00
beard%netscape.com ba1a567cb2 bug #17847, fix clobbering of mSlots->mAttributes in GetAttributes(). r=waterson, a=chofmann 1999-11-04 02:56:54 +00:00
hyatt%netscape.com 0eea38f731 Partial fix for 17848. Part 1 of 2. 2nd part will be checked in by hangas. r=hangas, a=brendan 1999-11-04 01:59:04 +00:00
waterson%netscape.com 52ce5fde68 Bug 17024. Fix mClassList leak; add bloaty stats for nsClassList. r=hyatt a=chofmann 1999-11-04 01:50:47 +00:00
waterson%netscape.com 6cb382251f Bug 15146. Don't eagerly create a <xul:menu>'s contents. r=hyatt a=brendan 1999-11-04 01:49:34 +00:00
joki%netscape.com d5c05ea133 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
waterson%netscape.com a68d61b330 Bug 13252. Build content for current template before recursing to build content for children. r=alecf. 1999-11-03 06:59:49 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
alecf%netscape.com b0da944f95 fix for #12703 - don't hold onto XULElements after they have been removed from the tree - don't bother checking mDocument because it will be null when the content has been removed from the document
r=hyatt
1999-11-02 23:30:33 +00:00
warren%netscape.com 2a827fc8c2 Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre 1999-11-02 06:49:44 +00:00
waterson%netscape.com 6552d7ba4d remove CTOR and DTOR counters, because the descendant classes will all
account for this space. r=warren
1999-11-02 06:21:07 +00:00
warren%netscape.com 21c3c164cd Fix for bad refcount tracing. r=buster,nisheeth 1999-11-02 05:37:04 +00:00
waterson%netscape.com cc4295c551 Fix manky nsCOMPtr asserts. 1999-11-02 02:02:27 +00:00
pinkerton%netscape.com 5beb600570 fix for bug 17381 where leaving the frame before a drag gesture was began caused the event target to be set incorrectly. (r=saari). 1999-11-02 01:34:16 +00:00
waterson%netscape.com 981af88aa4 Bug 15146. Brutal sharing, Phase III. Turn on protoype, script, and style sheet caching. r=hyatt 1999-11-02 01:14:07 +00:00
brendan%mozilla.org fe51b61664 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
troy%netscape.com effb3aefb7 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
waterson%netscape.com 389d9233e7 Pull script object and event listener list out of slots and into delegate to avoid faulting a heavyweight element. Fix EnsureSlots() to _not_ do a bunch of extra work that is already being done when we create an element from its prototype. Use nsCOMPtr's in nsXULAttributes to avoid leak of nsIStyleRule. r=hyatt 1999-10-29 22:09:20 +00:00
waterson%netscape.com 05904342f7 Fix SizeOf() operation. 1999-10-29 03:07:38 +00:00
waterson%netscape.com 59a9169ad9 Bug 15146. Brutal content model sharing, Phase II. XUL content sink now constructs prototype documents; 'real' content model constructed from walking prototype. Landed XUL_SHARING_19991027_BRANCH (derived from XUL_SHARING_19991022_BRANCH). See branch comments for details. r=hyatt. 1999-10-29 01:21:15 +00:00
pepper%netscape.com eb9c85f96d Added a newline to the end of file so that AIX and HP compilers are happy.
r=mgleeson
1999-10-28 22:17:43 +00:00
hyatt%netscape.com deace1a2e2 making the chrome registry work with dynamic overlays r=pavlov 1999-10-27 02:21:05 +00:00
dp%netscape.com 94d79e100e bug#16742 Fixing delete on nsISupports. Thanks for patch from <heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing operating on refcnt directly. r=dp 1999-10-24 04:41:17 +00:00
waterson%netscape.com a20e5bc21b Bug 15146. Factor nsXULElement's members into prototype and optional 'slots' for heavyweight elements. r=hyatt. 1999-10-20 18:55:32 +00:00
tbogard%aol.net 7c498dda21 Removed the last of gimpy's warnings. r=gimpy. 1999-10-19 08:03:11 +00:00
waterson%netscape.com 3a7da7d02f Move nsXULElement declaration into the header file. 1999-10-18 23:05:35 +00:00
waterson%netscape.com b668580ada Rename nsRDFElement to nsXULElement; rename nsXULElement to nsXULAggregateElement. 1999-10-18 22:08:15 +00:00
warren%netscape.com 2dceb727af Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:21:53 +00:00
warren%netscape.com edf3235d43 Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:06:21 +00:00
peterl%netscape.com c94fbefb6e Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:06:04 +00:00
peterl%netscape.com 527516876e Added namespace ID to the AttributeChanged notification
Part of the fix for Bug 15153
r=troy
1999-10-15 23:17:53 +00:00
tbogard%aol.net c8335260db Adding support for retrieving the EditorShell from editor element. r=hyatt 1999-10-15 21:21:10 +00:00
waterson%netscape.com 583670b716 Darnit. Didn't mean to FORCE_PR_LOG. Removing that #define. 1999-10-15 20:55:54 +00:00
waterson%netscape.com 47b4f27357 Bug 9764. Fix HTML templates to ensure that attribute adding is namespace-agnostic. Add local variable for isUnique so that BuildContentFromTemplate will work if resource- and non-resource elements are siblings in a template. Add logging capability for debug. r=rjc. 1999-10-15 20:47:19 +00:00
rjc%netscape.com 63f18c6cb3 Fix leak in nsXULSortService (found by Boehm GC). Also, remove CTOR_COUNT stuff. Review: waterson@netscape.com 1999-10-15 06:27:02 +00:00
waterson%netscape.com 8457e8ceee Unclutter stuff by using nsCOMPtr in the nsElementMap::ContentListItem. Add leakenmacros to ContentListItem. Fix a leak in the the internal enumerator routine. Comment the internal enumerator routine since it's kinda funky. Add 'tag name' to the log messages. 1999-10-15 04:45:43 +00:00
bienvenu%netscape.com 97a4d06a76 fix memory leak of nsIURI in Set and GetAttribute r=waterson 1999-10-15 02:59:37 +00:00
hyatt%netscape.com b2564031fe Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++) 1999-10-14 10:58:25 +00:00
waterson%netscape.com fa01dc07d1 Add check-for-null-pointer to FireOnSelectHandler() to avoid crashing in the case where a select handler fires on an 'orphaned' node with no document. This can happen if a document is being destroyed and random scripts and events are still filtering through the system. 1999-10-13 08:02:02 +00:00
waterson%netscape.com a793e85d4b Add PR_LOG() calls to aid debugging. 1999-10-13 08:00:45 +00:00
waterson%netscape.com 24bc946a88 Fix 'commandupdater' nodes; make sure that they are hooked up correctly from the XUL content sink; factor code to appropriately deal with being called from two places. r=hyatt. 1999-10-13 00:43:46 +00:00
waterson%netscape.com ab20f5e245 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
waterson%netscape.com 776523083a Misc cleanup, r=hyatt 1999-10-08 07:26:39 +00:00
waterson%netscape.com 181da7c5c9 Add elements to element map by 'ref', as well. 1999-10-08 07:26:14 +00:00
waterson%netscape.com cf46eeb0d6 Bug 15687. Make sure to test whether CreateTemplateBuilder() succeeded before dereferencing the builder we get back. r=rjc 1999-10-07 23:07:00 +00:00
waterson%netscape.com d9be66d476 Bug 15683. Hack to get the tree open. Don't SetParent(nsnull), <option> elements do funky stuff when the <option> is inside a <xul:template>. r=kmcclusk 1999-10-07 19:32:39 +00:00
waterson%netscape.com aeb760ef42 Bug 13910. Make sure to update element map for XUL (as well as HTML) elements when changing 'id' or 'ref' attributes. 1999-10-07 10:09:17 +00:00
waterson%netscape.com 77c0ea78ed Bug 13910. Make sure to add elements to the map by 'ref' attribute, as well. 1999-10-07 10:08:14 +00:00
rjc%netscape.com 3fc9b096de Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com 1999-10-07 01:51:30 +00:00
vidur%netscape.com 5886af2ed2 Added document.width/document.height to nsIDOMNSDocument. Bug 961. R: troy 1999-10-06 20:33:58 +00:00
mgleeson1%netscape.com 4bab7f6ed0 r=waterson enums used in structs must be public members for HPUX 1999-10-06 18:56:03 +00:00
waterson%netscape.com c2e1281888 Fix incorrect use of CBufDescriptor that was causing persistence to flake. 1999-10-06 06:42:27 +00:00
waterson%netscape.com c68f1d3348 Suppress assertions with context menus for now. 1999-10-06 06:40:06 +00:00
waterson%netscape.com 90a7941440 Fix dumb leak. 1999-10-06 01:02:11 +00:00
kipp%netscape.com 2738c38f7f Support SizeOf methods 1999-10-05 23:47:46 +00:00
waterson%netscape.com 24d0a86133 Fix crasher when loading XUL in viewer and no localstore is present. 1999-10-05 22:22:40 +00:00
waterson%netscape.com 119e47a761 Bug 15301. Remove RDF graph from XUL content model construction. Landed XUL_19991005_BRANCH; see branch comments for detailed checkin information. r=shaver,hyatt. 1999-10-05 21:13:55 +00:00
norris%netscape.com 9c950a3a20 Fix 15458 "onLoadHandler does not work"
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
rjc%netscape.com 5fea9b5df9 Fix bug # 15222: The composite datasource has a few operations which are somewhat "expensive". Have these behaviors on by default, but expose a method on the composite datasources so that they can be selectively turned off [for Mail/News, for example] if the capability is not needed/used (such as negative assertions). Review: waterson@netscape.com. Additional Mail/News Testing: putterman@netscape.com 1999-10-01 04:07:55 +00:00
waterson%netscape.com 3f8b996770 Fuck. These went in onto the tip and were supposed to be on the branch. Backing out. 1999-10-01 03:04:08 +00:00
waterson%netscape.com 5fe7965076 Initial checkin on XUL_19990930_BRANCH, the RDF-ectomy. Single XUL documents hobbling along. 1999-10-01 03:01:22 +00:00
waterson%netscape.com 031302a480 Bug 13908. Add code to hook up 'forward observer declarations'. r=hyatt. 1999-09-30 02:32:34 +00:00
waterson%netscape.com 7cf756f47e Bug 14911. Revert sloppy checkin. The 'DocumentWillBeDestroyed' stuff was never meant to get checked in. It piggy-backed onto another bug fix; I wasn't careful. 1999-09-25 16:29:22 +00:00
waterson%netscape.com 1ffd4337ba Fix mac build bustage. 1999-09-24 20:39:26 +00:00
waterson%netscape.com 0f1bc3914b Bug 14754. Support '.database' attribute on HTML elements. Fix ref='...' support for HTML templates. r=rjc, a=chofmann 1999-09-24 19:49:15 +00:00
waterson%netscape.com 5636df21fa Bug 14752. Support '.database' attribute on HTML elements. Fix ref='...' support for HTML templates. r=rjc, a=chofmann 1999-09-24 19:49:12 +00:00
saari%netscape.com 113c961c8f A better fix for blocker #14464. Reviewed by Hyatt w. permission from leaf/choffman 1999-09-23 02:31:37 +00:00
law%netscape.com be924c200c Fixes for context menus; a=hyatt (I just pressed the keys he told me to :-) 1999-09-22 06:27:28 +00:00
waterson%netscape.com fae395b32c Bug 14273. We weren't recursively creating 'container' contents for HTML elements. Fixed that. 1999-09-22 00:54:05 +00:00
saari%netscape.com 6df67e6af3 Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange. 1999-09-21 23:02:35 +00:00
rpotts%netscape.com 83ade485d7 The document LoadGroup is now a nsWeakPtr... 1999-09-21 06:44:56 +00:00
waterson%netscape.com 4312c7deef Fix bugs with computing containment. 1999-09-21 05:57:47 +00:00
waterson%netscape.com 3a0a7fb408 Comment out 'element already in map' warning for now. 1999-09-19 22:42:55 +00:00
waterson%netscape.com 84b3af503f Fix GetContentSink() to addref pointer on the way out thru XPCOM boundary. Hyatt: that's 20 XPCOM Hail Mary's for you. 1999-09-19 19:58:04 +00:00
rpotts%netscape.com dd7e4f99f6 Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:34:24 +00:00
slamm%netscape.com 46a00d3389 Fix build warnings (rename 'tm' to 'value). 1999-09-18 02:15:00 +00:00
waterson%netscape.com c35f0fdac7 Bug 12649. Add support for 'parent' on <rule> tags. 1999-09-17 20:15:29 +00:00
waterson%netscape.com 0b2f0dfe51 Bug 13790. Okay, let's try that again, this time without the frills. 1999-09-17 04:29:53 +00:00
waterson%netscape.com ca364c4a84 Fix nsCOMPtr sloppiness. 1999-09-17 04:13:19 +00:00
waterson%netscape.com 18082a7be6 Back out changes that will cause bustage on some compilers. 1999-09-17 04:12:08 +00:00
waterson%netscape.com 2e319c75dd Bug 13970. Implement 'commandupdater=' attribute to hook up command udpater nodes to the XUL document's command dispatcher. Make API modifications to support command filtering. Some improvements to XUL document to factor out iteration code. 1999-09-17 04:01:46 +00:00
waterson%netscape.com ba1c80cb84 Fix HTML-rooted templates. 1999-09-15 20:08:37 +00:00
waterson%netscape.com 9871711569 Use nsCOMPtr for the controller. 1999-09-15 20:06:32 +00:00
slamm%netscape.com 500604046f Fix build warnings. 1999-09-15 18:14:02 +00:00
harishd%netscape.com f929f5b42a CreateXIF() and ToXIF() should return nsresult. 1999-09-15 17:57:55 +00:00
hyatt%netscape.com 8ae5cdcbe5 Updating the nsIController interface. 1999-09-15 02:16:41 +00:00
hyatt%netscape.com 83740bbcf6 Fixing minor bug in command dispatcher. 1999-09-15 02:12:50 +00:00
waterson%netscape.com cca84203b0 Bug 13121. Deal with XUL documents that are created _before_ local store is available (e.g., because they come up before a profile has been selected). 1999-09-14 22:36:55 +00:00
waterson%netscape.com 5d44397356 Partial fix for bug 13768. Be sure to set eChildrenMustBeRebuilt flag _before_ appending child to content model; appending child to content model will cause layout to recur and possibly build up more content. 1999-09-14 22:34:05 +00:00
waterson%netscape.com 1ffd2a18f0 Strip some dead code. Re-enable sorting. 1999-09-14 02:07:46 +00:00
waterson%netscape.com 18159223f1 Performance improvements. Make use of CBufDescriptor's where appropriate; replace attribute-based lazy bookkeeping with a private interface (non-XUL content can't be lazy, _anyway_). 1999-09-13 22:06:17 +00:00
warren%netscape.com fec02a32a9 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
hyatt%netscape.com 6eb6140c5f Popup work. 1999-09-10 08:49:32 +00:00
pinkerton%netscape.com 1ced9c9c7a correctly set target of dragenter/exit events. 1999-09-09 06:26:58 +00:00
rjc%netscape.com d95498c492 Add check for NS_RDF_NO_VALUE. 1999-09-09 00:58:08 +00:00
hyatt%netscape.com d0684b97b9 Fixing an error in the handleDomEvent function. 1999-09-08 08:06:28 +00:00
waterson%netscape.com 8b4c7b3b9d Remove SearchForNodeByID(). It's not necessary anymore now that all XUL content is build up-front. 1999-09-08 07:23:45 +00:00
rjc%netscape.com f2fbe41f4d Cache sort resource requests. 1999-09-08 03:04:45 +00:00
rjc%netscape.com 97371bc9eb Cache sort resources. 1999-09-07 07:27:49 +00:00
waterson%netscape.com 10c7210fc8 Replace nsRDFContentUtils with nsXULContentUtils, which can be acquired as a service. This allows it to keep cached member variables to other frequently-accessed services. 1999-09-07 02:51:13 +00:00
waterson%netscape.com 20bb759eb1 Re-write GetTextForNode() to be a bit more efficient; broke out data format. Bug 13137, fix broken use of CBufDescriptor. Add CBufDescriptors where appropriate. 1999-09-07 02:47:56 +00:00
waterson%netscape.com a4826d1767 Add nsXULContentUtils, eventually to replace nsRDFContentUtils. Not yet in the build though. 1999-09-06 22:25:45 +00:00
bruce%cybersight.com 75c1745097 Use nsAllocator for char* data. 1999-09-04 13:59:52 +00:00
dougt%netscape.com dd5c903d9e Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
waterson%netscape.com f26391e8ba Put the local store _first_, so that any persisted changes are picked up before default content. 1999-09-03 08:57:42 +00:00
bruce%cybersight.com d602e5d399 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:53:26 +00:00
waterson%netscape.com cdc5abdb40 Persistence, again. 1999-09-03 07:02:25 +00:00
hyatt%netscape.com 875857039a Changing reflow hint for the width attribute of tree cols so that we can get a reflow on a resize. 1999-09-03 03:25:11 +00:00
pinkerton%netscape.com 0d2e26c6f6 hookup the drag listener attributes. 1999-09-02 23:19:56 +00:00
waterson%netscape.com 9ed37acff5 Changed ParseNumericValue's declaration to match its definition. 1999-09-02 21:37:30 +00:00
waterson%netscape.com 76e6f7760c Fix bug that was causing insertion sort to _never_ run. Also, fix code that was looking for ID attribute during RDF:Seq detection. 1999-09-02 21:34:57 +00:00
waterson%netscape.com 16613c3e10 Use nsAutoString() to avoid heap allocation during automatic coercion of 'const char*' to nsStrings. 1999-09-02 21:34:17 +00:00
waterson%netscape.com fb11c273f1 Replace calls to nsRDFContentUtils::MakeElementURI() with MakeElementResource(), which is what we wanted anyway. Tweak SplitProperty to use GetValueConst(). 1999-09-02 21:33:53 +00:00
waterson%netscape.com 6b9f4e070d Use nsAutoString() to avoid heap allocation during automatic coercion of 'const char*' to nsStrings; get rid of dead code that was causing a call to SplitProperty. 1999-09-02 21:32:23 +00:00
waterson%netscape.com 1e71e7d09f Get rid of silly code that was converting a nsString to a naked unicode, which required automatic coercion _back_ to an nsString, this time using a copy on the heap :-/. 1999-09-02 21:31:22 +00:00
cls%seawood.org d2eaec27b2 Fix for gcc2.95 bustage. ANSI C++ forbids declaration of function with no type. 1999-09-02 21:06:34 +00:00
hyatt%netscape.com fc570b8b36 Fix for build bustage. 1999-09-02 02:09:21 +00:00
hyatt%netscape.com 9746e22b3e Adding support for proportional widths to tree columns. 1999-09-02 01:13:27 +00:00
putterman%netscape.com 798a890537 speedup building content. checkin for waterson. 1999-09-01 04:58:36 +00:00
nisheeth%netscape.com 5c883a4105 Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state. 1999-08-31 10:06:17 +00:00
waterson%netscape.com 4195d84e46 Bug 12811. Fix frame system notifications s.t. as _few_ as possible get forwarded through to layout. Temporarily remove timer hacks from tree widget. 1999-08-31 06:40:41 +00:00
rjc%netscape.com c664827637 Try again. 1999-08-30 10:28:37 +00:00
rjc%netscape.com 91329d2955 Small fix. 1999-08-30 10:26:55 +00:00
rjc%netscape.com dbc5b02975 Cleanup a bit, and fix bug # 11516. 1999-08-30 10:05:40 +00:00
waterson%netscape.com 3ca426bfd7 Clean up compiler warnings. 1999-08-30 03:18:06 +00:00
waterson%netscape.com b5d72a52b3 Content model whackage. Remove all code that tried to keep the graph in sync with DOM changes. Regenerate JS from newer idlc compiler. Fix bug 12177. Fix miscellaneous breakage with templates. 1999-08-30 02:45:54 +00:00
norris%netscape.com 59b4dc8374 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
hyatt%netscape.com d2735ea3fd Fixes to enable the command dispatcher to properly instantiate. 1999-08-27 07:54:06 +00:00
rjc%netscape.com ab2b716fe6 Add nsIXULSortService 1999-08-27 06:54:08 +00:00
rjc%netscape.com 9a4fd376f9 Add nsIXULSortService.idl 1999-08-27 06:52:34 +00:00
waterson%netscape.com 380e4ad580 Bug 12270. XUL builder was ok. Fixed generic builder to do the right thing. 1999-08-26 04:29:15 +00:00
waterson%netscape.com ca87983bb7 Bug 12470. Check for null pointer in SetParent(); occurs during teardown. 1999-08-26 04:28:47 +00:00
waterson%netscape.com 922480639c Bug 12254. Fix templates that are built inside of or use nested HTML. 1999-08-25 07:56:52 +00:00
ramiro%netscape.com 6733919d32 NS_RELEASE -> NS_IF_RELEASE. 1999-08-25 04:04:51 +00:00
hyatt%netscape.com 05440effd3 Changing focus tracker to be the command dispatcher. 1999-08-25 01:49:24 +00:00
harishd%netscape.com 62e2939247 Commenting out a pre-condition in EndLoad() method.
Approved by waterson.
1999-08-24 18:37:05 +00:00
sfraser%netscape.com 914daa6543 Make sure that mAttributeList is initialized to null. 1999-08-24 00:59:30 +00:00
hyatt%netscape.com 5d54ec2d3a Fixing the focusable content method so that only trees (and not tree cells)
are focusable.
1999-08-24 00:43:03 +00:00
jdunn%netscape.com 7f8e9d0c59 HP requires a newline at the end of the file 1999-08-24 00:33:18 +00:00
hyatt%netscape.com 5356344529 Implemented element-level capturing in the XUL DOM. 1999-08-23 07:26:57 +00:00
hyatt%netscape.com a3b6196856 Tweaking capturing. Still doesn't work for elements though. 1999-08-23 05:32:55 +00:00
hyatt%netscape.com 337b1d9e9a Teaching the RDF element about the concept of being focusable. 1999-08-23 05:20:14 +00:00
hyatt%netscape.com 6830cb457a Fix for several bugs (12299, 12289, 12295). 1999-08-23 01:13:29 +00:00
hyatt%netscape.com 3bd9a5eb42 Mmmm-hmmm. 1999-08-22 08:11:27 +00:00
hyatt%netscape.com 802e31543f Making sure the onselect handler gets fired. 1999-08-22 08:01:13 +00:00
hyatt%netscape.com 7513b7afc1 More selection work. 1999-08-22 06:53:01 +00:00
hyatt%netscape.com a8d6a9115c Checking in the selection implementation (with more functions added). 1999-08-22 06:31:00 +00:00
hyatt%netscape.com a11ff9fcc3 Implemented all of the tree widget selection APIs but ranged selection (which will
be fun and nasty).
1999-08-22 06:17:16 +00:00
hyatt%netscape.com c28227eb81 Defining the selection API for the tree widget. Stubbed all of the functions.
Now I just have to implement them all.
1999-08-22 06:01:52 +00:00
hyatt%netscape.com a69c890a1f Tweaking comments. 1999-08-21 20:42:17 +00:00
hyatt%netscape.com 88e31243a6 Stubbing out the selection implementation. Need to fill in the empty if
statements next.
1999-08-21 20:39:29 +00:00
hyatt%netscape.com 7f859a0884 Adding more to the tree's idl. 1999-08-21 20:23:56 +00:00
hyatt%netscape.com 7a65851a9f Checking in changes that teach the tree element how to have its own
array of selected items and cells.
1999-08-21 19:53:39 +00:00
hyatt%netscape.com b95fc68375 Fixing broadcasters. The hookup wasn't happening correctly. 1999-08-21 19:30:53 +00:00
hyatt%netscape.com b61a7c9cfe The bustage is mine. Fixing it now. 1999-08-21 10:05:02 +00:00
hyatt%netscape.com 48fadb35cd Fixing up the broadcaster stuff. 1999-08-21 09:13:14 +00:00
hyatt%netscape.com ee88f3c3fc A complete rewrite of the broadcaster/observer system. Much improved. 1999-08-21 09:08:12 +00:00
dougt%netscape.com 8cf9b81629 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
hyatt%netscape.com f1252f912a Renaming onaction to oncommand. 1999-08-20 22:58:32 +00:00
waterson%netscape.com b56418cf48 Resurrect delegation of XULTreeElement interface to an aggregate object. 1999-08-18 05:45:40 +00:00
waterson%netscape.com 123594ff91 Add verbage. 1999-08-18 04:25:24 +00:00
waterson%netscape.com f8108e0596 Re-added to support tree selection. Not yet in the build. 1999-08-18 03:21:26 +00:00
rjc%netscape.com d56514ca81 Fix bug # 10352: date sorting. 1999-08-11 06:24:56 +00:00
jband%netscape.com 8f1eb40f3d fix for bug 11510 1999-08-10 05:11:47 +00:00
joki%netscape.com da36d40b61 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
cls%seawood.org 9eea17be39 Various fixes to let the tree compile with gcc 2.95:
String constants are now (const char *)s and must be explicitly cast to (char *).
operator new is expected to be empty or throw an expection instead of returning null. (ifdef'd for gcc 2.95+)
Stricter checks on register clobbering in embedded asm. (at least I think that's what it is)
Expects the main function to return int, not something similiar to it like PRInt32.

Still requires a tweak to remove -mno-486 from NSPR's *.mk files.
1999-08-07 06:01:31 +00:00
waterson%netscape.com 76ed7c1834 Fix build warning. 1999-08-06 20:34:55 +00:00
waterson%netscape.com b7e275631c Fix --pedantic bustage. 1999-08-06 18:36:50 +00:00
waterson%netscape.com ed78bedd41 Bug 8159. Fix circularity between content model builder and composite datas source (via 'observer' which now refcounts). Destruction of a XULDocumentImpl now forces builder to do out-of-band release on composite datasource. 1999-08-06 17:59:05 +00:00
waterson%netscape.com 08f4f00374 Bug 9474. Use NodeList script object, _not_ HTMLCollection. Gutted code that was aggregating HTMLCollection. 1999-08-04 05:45:09 +00:00
waterson%netscape.com fa329653f5 Fix silent failure from JS on firstChild. Clean up other baby-eating methods. 1999-08-04 02:26:26 +00:00
rjc%netscape.com 3a2f1bb201 Persist attributes via the content model only. 1999-08-01 03:24:18 +00:00
waterson%netscape.com f5fc9df22d Bugs 10640, 10689. Fix assertions when opening a folder. Crude performance improvement for asynchronously generated content in tree controls. 1999-07-31 00:03:45 +00:00
rjc%netscape.com 4566ac87d8 Hook up persistent (via the localstore). 1999-07-30 23:42:41 +00:00
waterson%netscape.com 50c29e871d Bug 10617. Get folder performance back. We now _do not_ tell layout about individual content that gets appended during CreateContainerContents(), and instead wait until we've constructed all child nodes to do a ContentChanged() notification. 1999-07-28 05:21:22 +00:00
waterson%netscape.com 1f3fd39a62 Implement RemoveWidgetItem(). Whoops. 1999-07-28 02:53:49 +00:00
putterman%netscape.com 7715c6e903 GetResource first looks at ref. checkin for waterson. 1999-07-27 23:02:13 +00:00
waterson%netscape.com b7d93726f9 Fix --pedantic bustage. 1999-07-27 18:04:55 +00:00
waterson%netscape.com f6b84db71a Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism. 1999-07-27 17:20:28 +00:00
waterson%netscape.com 914b2cade7 Re-add. Wasn't meant to be deleted yet. 1999-07-27 03:03:25 +00:00
waterson%netscape.com cc5179bcc8 Native builder exorcism. Long live templates. 1999-07-27 02:40:40 +00:00
hyatt%netscape.com e9860f134e Adding the menu events to the event map. 1999-07-26 09:18:57 +00:00
hyatt%netscape.com 108265b89a Fixing the problem where a blank space appears at the top of every XUL file. 1999-07-25 04:38:57 +00:00
waterson%netscape.com cf7d82295b Fix computation of empty containers. 1999-07-22 05:11:52 +00:00
rjc%netscape.com dbcf779b24 Set empty="false" attribute even if container is closed. 1999-07-22 00:49:50 +00:00
putterman%netscape.com 1133b9f963 Messenger Copy/Move menus now show menuitems instead of all menus. 1999-07-22 00:26:00 +00:00
rjc%netscape.com c1dfe525b3 Now update "empty" attribute as children count changes. 1999-07-21 23:10:07 +00:00
rjc%netscape.com a8e701fe56 Ensure that we have a value. 1999-07-21 23:02:35 +00:00
troy%netscape.com bf547dbb98 Change to StartLayout(): moved call to EnableRefresh() to before the InitialReflow()
call to work around a bug in the compositor
1999-07-21 04:47:15 +00:00
bienvenu%netscape.com d9ce494617 checkin jefft's fix mailnews startup crash 1999-07-20 17:32:43 +00:00
rjc%netscape.com c48f89b97f Work harder at getting the REAL parent container when determining if the parent container is a RDF_Seq during a natural order sort. 1999-07-20 09:04:24 +00:00
warren%netscape.com 7bcb94a320 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
rjc%netscape.com 39a2594cb5 Only support sorting on RDF Seqs if container is actually a RDF_Seq itself. 1999-07-20 05:20:32 +00:00
rjc%netscape.com d14b0d2ccd Fix for bug #9899: set "empty" attribute on containers if they appear to be empty. 1999-07-20 04:21:24 +00:00
rjc%netscape.com e8321b93a9 Oops... PR_FALSE instead of just FALSE. 1999-07-20 03:14:34 +00:00
rjc%netscape.com 3be70e4d68 Add support for sorting RDF_Seqs when in natural order sort mode. 1999-07-20 03:13:15 +00:00
joki%netscape.com 0af283b8e2 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
waterson%netscape.com 2a499473be Bug 6873. Performance improvements to the generic builder. The template builder now instantiates template content 'lazily' when the frame system asks for it. 1999-07-19 19:18:10 +00:00
rickg%netscape.com 844a7e45ef switch to faster string search API 1999-07-19 03:29:56 +00:00
rjc%netscape.com 528bf67d11 Fix a warning by tossing out some old debugging code. 1999-07-18 08:25:24 +00:00
mjudge%netscape.com 7ddf8fee55 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
peterl%netscape.com e3019ad978 clean up some string usage 1999-07-18 00:01:21 +00:00
rjc%netscape.com dbce229d7e Use application locale when sorting with collation service; fix for bug #9968. 1999-07-17 21:36:17 +00:00
warren%netscape.com c5684bf4d7 Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
hyatt%netscape.com d604820879 Initializing a member variable to nsnull. 1999-07-16 08:26:42 +00:00
hyatt%netscape.com 415eb6c18e Continuing XUL overlay work. 1999-07-16 07:10:20 +00:00
waterson%netscape.com a985e3ea72 Performance tweaks to SetAttribute(): minimize string compares by using atoms to set up event listeners; silly fixes to broadcaster push code. 1999-07-16 04:05:53 +00:00
waterson%netscape.com 7da3370e9e Don't set up the composite datasource and XUL builder until immediately before we start to layout the document; this avoids a bunch of useless OnAssert()'s getting propogated and dropped. 1999-07-16 04:03:52 +00:00
rjc%netscape.com c86f115ad1 Add check for null. 1999-07-15 09:20:54 +00:00
waterson%netscape.com 6289662141 Bug 8514. Add support s.t. 'ref=' changes will re-root a tree control (or other RDF-generated content). 1999-07-15 01:22:59 +00:00
rjc%netscape.com 1dd1f92ca4 Use GetTextForNode() more, as well as use GetValueConst(). 1999-07-14 21:13:13 +00:00
waterson%netscape.com 33029e9741 Bug 8318. Don't include rdf:local-store in the generic builder until we have all of the persistence issues sorted out. 1999-07-12 18:24:26 +00:00
waterson%netscape.com 9c59e96e78 Bug 8854. Fix CloseWidgetItem() to play nice with mixture of XUL and RDF content. 1999-07-09 20:41:41 +00:00
hyatt%netscape.com 1e0ad088a5 Fixing redraw problems on initial show of window. 1999-07-07 22:34:10 +00:00
waterson%netscape.com 6cc2813bb1 Bug 7722. PR_LOG instead of assert when an attempt is made to create element with a bogus namespace. 1999-07-07 06:52:21 +00:00
rjc%netscape.com 14f7295a00 Small insertion fix. 1999-07-07 06:34:18 +00:00
rjc%netscape.com 329d022fe0 Now able to sort by dateLiterals and intLiterals too. <Whee> 1999-07-07 05:32:07 +00:00
waterson%netscape.com fe8c4b1447 Fix compiler warnings. 1999-07-07 04:26:24 +00:00
waterson%netscape.com 0932e2a021 Remove XUL_TEMPLATES and XUL_TEMPLATE_ASSERTIONS #ifdefs. Add FALLBACK_BUILDERS #ifdef that (when removed) will turn off the C++ builders for constructing content. 1999-07-07 01:31:00 +00:00
peterl%netscape.com 4c033f784b fixed css quirk support in XUL
removed dead code
1999-07-07 01:17:21 +00:00
peterl%netscape.com 15b6eb2237 sync to styled content api change 1999-07-07 01:16:56 +00:00
hyatt%netscape.com 3c3b608aa5 Trying to fix build bustage. 1999-07-06 18:53:41 +00:00
hyatt%netscape.com b24efa6d6c Will do intrinsic sizing when the window is really small (doesn't have to be
0, since Linux barfs on that).
1999-07-05 16:54:14 +00:00
hyatt%netscape.com 2af7a6b407 Checking in support for intrinsic sizing of chrome. 1999-07-04 04:09:54 +00:00
waterson%netscape.com b8f59c3ea4 Implement OnChange() on the Generic and XUL builders. 1999-07-03 02:41:13 +00:00
hyatt%netscape.com 79160f00df Making sure the default scrolling behavior for a webshell in XUL is
OVERFLOW_HIDDEN always.  Scrolling behavior set on the box itself
can be used to enable scrolling.
1999-07-02 05:29:18 +00:00
hyatt%netscape.com 4c1801f8f1 Fixing StartLayout so that it asserts and leaves the function if no root
content is available.
1999-07-01 07:34:19 +00:00
pinkerton%netscape.com 153b97e659 don't include nsHTMLAtoms.h since it's bad, and not needed anyway. 1999-07-01 06:47:31 +00:00
pinkerton%netscape.com dd5492d2d6 don't show tooltip when node is disabled, use both the global and local coordinates when showing a tooltip so alignment will work. added some debug stuff to track down why mac isn't doing screen coords correctly. 1999-07-01 06:27:42 +00:00
rjc%netscape.com 4c8f84b2d3 Use a binary insertion sort. (Note: there is a conditional near the top of the file that can turn off the binary insertion sort and revert back to the older, slower code, in case of any weird bugs I haven't caught.) For the moment, its turned ON as I haven't seen any problems with it. 1999-07-01 01:55:09 +00:00
waterson%netscape.com 7c6e3e8c47 Bug 9098. Remove NS_PRECONDITION, as this can happen normally as part of teardown. 1999-07-01 01:21:14 +00:00
pinkerton%netscape.com f8cb1c33e6 go back to using static define instead of GetIID for one part of QI because of win32 compiler. i hate it, but until i can talk to scc.... 1999-07-01 00:54:46 +00:00
pinkerton%netscape.com 3a463448b6 Changing CreatePopup to return the popup. Adding a bunch of stuff for tooltips to the popup code. Fixing some bugs in webshell with loading malformed popups. Renamed "popup" to "popupElement" in the document and added "tooltipElement" as well. 1999-07-01 00:07:41 +00:00
nisheeth%netscape.com 863dcf6860 Adding the architecture for an external transformation engine to hook into Raptor's layout process. One way this architecture can be used is for doing XSL transforms using a 3rd party component that implements the XSL processor. More details will be posted in mozilla.layout.
Currently enabled on windows only.  Set MOZ_XSL to 1 in your environment and build mozilla/layout.
1999-06-28 14:12:07 +00:00
warren%netscape.com f6b9d3a028 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
rjc%netscape.com 7e4a5a8b81 Only set natural order attribute on the containment element. 1999-06-25 09:32:43 +00:00
rjc%netscape.com 8c9d9fb833 Unset sortActive and sortDirection attributes if "natural order" is being used. 1999-06-25 09:19:29 +00:00
rjc%netscape.com b6daf9c497 Get sorting working with new tree structure. Basically, just look for treechildren instead of treebody when walking down from the root of the tree. 1999-06-25 06:47:28 +00:00
warren%netscape.com 41b5fcddad Changed URLGroup to LoadGroup 1999-06-25 02:31:51 +00:00
warren%netscape.com 2f5289766d Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
waterson%netscape.com 4fa567f534 Fix use of nsString with nsAutoString where appropriate. 1999-06-24 21:19:02 +00:00
waterson%netscape.com f008503b2f Land RDF_19990617_BRANCH. Add Change() and Move() methods to nsIRDFDataSource; add OnChange() and OnMove() methods to nsIRDFObserver. Factor nsIRDFDatasource::Init() and ::Flush() into nsIRDFRemoteDataSource. Change ownership model s.t. a datasource reference counts its observers. 1999-06-24 00:22:58 +00:00
hyatt%netscape.com bd8221f129 Fix for 8735. 1999-06-23 07:21:11 +00:00
warren%netscape.com 23864df5e3 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
hyatt%netscape.com f90cda96d6 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
rjc%netscape.com 4b62390cc1 Clean up. 1999-06-21 10:46:47 +00:00
rjc%netscape.com 6444965ed6 Turn on. 1999-06-21 09:22:17 +00:00
rjc%netscape.com 5be32c35cc Conditionalize. 1999-06-21 09:12:35 +00:00
rjc%netscape.com 6affb83a79 OnAssert() and OnUnassert() now understand if the contents were generated by a XUL template and, if so, try to do the right thing. 1999-06-21 08:59:14 +00:00
rjc%netscape.com ab02b90827 When building a subtree from a template, nodes are now unique until we find one with the "uri='...'" attribute set. 1999-06-20 09:11:25 +00:00
rjc%netscape.com 030d5988d2 Fix bug #8465 by starting at the parent of the node which is about to be inserted when looking for the "ignore" attribute. Also, save the "id" of the template node used to create node... in preparation for getting onAssert() and onUnassert() working fully with templates. 1999-06-20 05:45:40 +00:00
waterson%netscape.com 930d505f3a Bugs 8453, 8401, 7222. DOM 'insertBefore()' was hopelessly broken, lots of bugs causing random things to happen in the zombie pool. 1999-06-20 00:22:33 +00:00
valeski%netscape.com 487d9ea921 NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
waterson%netscape.com 8d68e0816a Bug 3440. Annotate node on 'close' to ensure XUL builder re-runs when the node is opened again. r=rjc, a=chofmann 1999-06-17 22:08:21 +00:00
waterson%netscape.com cf0908b3de Bug 8221. Fix false positive on the leak grep radar. 1999-06-17 19:49:05 +00:00
waterson%netscape.com d5c13bb733 When destroying an RDFElement, call SetParent(nsnull) on each of its children so that there aren't any dangling reference back to us (should a child leak, or be referred to by somebody else). 1999-06-16 06:44:23 +00:00
waterson%netscape.com 8a37a5afc1 Bug 6665. Hack to addref resources before doing the sort. This saves mailnews from having to recreate them. 1999-06-16 02:07:56 +00:00
waterson%netscape.com cc450f9b38 Add REF into the element map so that the generic builder sees it in OnAssert() and OnUnassert(). Resolve it to an absolute URI before using so that ref='foo/bar.rdf#bing' works. 1999-06-15 03:21:20 +00:00
waterson%netscape.com 54e949daf7 Fix leak of tree element. 1999-06-14 21:15:29 +00:00
rjc%netscape.com 7f5d322554 Unset column sorting attributes instead of setting them to false if they aren't active. 1999-06-14 08:20:35 +00:00
waterson%netscape.com 9625f1893e Remove crufty code that wasn't doing anything. Fix refcounting on the database. 1999-06-13 18:31:06 +00:00
waterson%netscape.com bb9e9fbb6c Remove crufty code that wasn't doing anything. 1999-06-13 18:30:47 +00:00
waterson%netscape.com 9cfa93d5d4 Fix incorrect usage of dont_QueryInterface(). Fix bogus refcounting cruft in the nsIContent manipulators that must've been left over from when mChildren was an nsVoidArray. 1999-06-12 19:39:11 +00:00
waterson%netscape.com 2b49ff9e6a Fix incorrect use of dont_QueryInterface() that was causing massive leakage. 1999-06-12 19:35:54 +00:00
waterson%netscape.com 15ae9a7ff7 Fix incorrect use of dont_QueryInterface() with dont_AddRef(). Use nsCOMPtr in broadcast hookup code. 1999-06-12 19:33:37 +00:00
rjc%netscape.com b7397b6a24 XUL templates now look for any attribute (other than "uri") which equals "..." and substitutes the URI of the attached node. 1999-06-10 19:44:59 +00:00
peterl%netscape.com e4693f9f9a added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)
1999-06-10 05:18:46 +00:00
hyatt%netscape.com 6fa1ec0fda Popups put the "grrrr!" in "swinger", baby! 1999-06-09 09:03:15 +00:00
hyatt%netscape.com 1e0428adbc Ok, everything's peachy on the RDF end. Time to work on the front end. 1999-06-09 08:39:10 +00:00
hyatt%netscape.com b84d2f62d5 Altering the args for createPopup. 1999-06-09 08:36:06 +00:00
waterson%netscape.com 9e5fbf10b8 Don't rely on rdf_PossiblyMake[Relative|Absolute](); rather, use XUL-specific functions to do it. 1999-06-09 08:30:47 +00:00
hyatt%netscape.com 33a14549b5 Updating popups to use screen coordinates instead of being hardcoded to (50,50). 1999-06-09 08:00:27 +00:00
hyatt%netscape.com f0a8287f24 More content model tweaks. 1999-06-09 05:45:15 +00:00
hyatt%netscape.com 760d88b161 Changed event names to "create" and "destroy" 1999-06-09 01:11:39 +00:00
hyatt%netscape.com 0a0e9a7b5f Fix that makes the blur handler ultra-paranoid. It sanity checks its target before
closing the window.  (I'm having to do this since focus/blur events bubble. @#$@#$%#)
1999-06-09 01:07:31 +00:00
hyatt%netscape.com 8446c68b7b Controller stuff. 1999-06-08 23:04:24 +00:00
hyatt%netscape.com c66a64c8ab Woo woo. Focus implementation. 1999-06-08 21:58:55 +00:00
hyatt%netscape.com 417208484f Adding new idl. 1999-06-08 21:58:32 +00:00
hyatt%netscape.com ddf205e4ee Adding a reminder comment to a file for future reference. 1999-06-08 05:24:06 +00:00
hyatt%netscape.com 3d792e2735 Added support for "onconstruct" and "ondestruct" events for popups. 1999-06-08 05:08:16 +00:00
rjc%netscape.com 90d2520633 Get context popup menus work on Mac by checking if the CTRL key is down (just like how the Mac's Finder works). 1999-06-07 05:43:09 +00:00
hyatt%netscape.com 5da36a6d57 Fixes for several bugs. 1999-06-04 22:05:47 +00:00
alecf%netscape.com 0f549d4c5c oops, forgot to make this native code for C++ 1999-06-03 20:47:09 +00:00
rjc%netscape.com afcbaf44b1 XUL templates are now strong enough to support building menus and menuitems. 1999-06-03 07:16:18 +00:00
alecf%netscape.com 38220df50f add XPIDL stubs for these DOM objects so that we can access them from XPConnect 1999-06-03 04:39:14 +00:00
waterson%netscape.com 533357a060 Bug 4045. Make GenericBuilder and its kin look at the 'ref=' attribute first, so that it's possible to have two elements in the same document tree that refer to the same RDF resource. 1999-06-03 02:23:50 +00:00
rjc%netscape.com 725acacbb9 Checking in a workaround for bug #7437 until Rickg fixes that. 1999-06-02 00:01:23 +00:00
rjc%netscape.com 79eed1d6fc Disable XUL templates for the moment. 1999-06-01 21:34:05 +00:00
rjc%netscape.com 3a6f8aedb4 Fix some bugs with template rules. Added some needed styles for bookmarks window. Fixed a bug with sorting in bookmarks window (don't add RDFCore into list, as its unnecessary.) Bookmarks panel in sidebar is now using template rules. 1999-05-29 00:17:32 +00:00
hyatt%netscape.com 0d62207d4d Focus tracker actually tracks! 1999-05-28 22:55:10 +00:00
hyatt%netscape.com 1a462db603 Oops. 1999-05-28 20:33:46 +00:00
hyatt%netscape.com ef9e57ca33 Adding the focus tracker to the XUL document. 1999-05-28 20:24:58 +00:00
waterson%netscape.com ed2ab323c4 Bug 6895. Create HTML elements (not XUL elements) when the tag is in the HTML namespace. Minor performance enhancements to reduce number of calls to layout during content model construction. 1999-05-28 11:30:59 +00:00
hyatt%netscape.com 989a98a5b9 Implementing document and window capture in the XUL DOM. 1999-05-27 21:03:59 +00:00
peterl%netscape.com 3437a3de76 sync to nsIStyledContent API change 1999-05-26 23:46:45 +00:00
peterl%netscape.com ebc7230baf tweaks to CSS loader usage 1999-05-26 23:42:29 +00:00
hyatt%netscape.com 69152a76fd Better fix for 6746. 1999-05-25 00:29:55 +00:00
waterson%netscape.com 06a6123e40 More bug 6823. Add comments to keep this problem from happening again. 1999-05-21 21:23:04 +00:00
hyatt%netscape.com 8fb2c9835b Fix for the regression described in bug 6823. 1999-05-21 19:27:02 +00:00
hyatt%netscape.com dddc71fea8 Fixes for bugs 6746 and 6747. Approved by chofmann@netscape.com. 1999-05-20 06:39:37 +00:00
rjc%netscape.com d4b3602019 Fix Unix bustage on previous checking for bug # 6778. 1999-05-20 01:55:37 +00:00
rjc%netscape.com c2db68fd3f Fix bug # 6778. Reviewed by sdagley, approved by chofmann. The fix consists of checking the proper default namespace on attributes (instead of using the XUL namespace), and adding a XUL template in for the bookmarks panel in the sidebar. 1999-05-20 01:21:20 +00:00
hyatt%netscape.com bb16cb3c2e Fix for bug 5911. 1999-05-19 08:26:21 +00:00
rjc%netscape.com 881680ba79 Apply Scott Putterman's fix for XUL sorting. 1999-05-19 05:30:25 +00:00
waterson%netscape.com 1ba85a5766 Implement nsIDOMNSDocument properly. Factor logic for createElement & createElementWithNamespace. 1999-05-19 04:28:40 +00:00
peterl%netscape.com 8a384ed0b8 fixed ambiguous cast for nsCOMPtr on linux 1999-05-19 00:05:40 +00:00
joki%netscape.com 022a0e65af Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent. 1999-05-18 23:51:04 +00:00
peterl%netscape.com b53a143f17 added css loader support
fixed document observer calls
1999-05-18 23:02:00 +00:00
hyatt%netscape.com c31f58efe7 Disabling the cloned style sheets. This is causing trouble. Will probably have
to force them to be reparsed.
1999-05-18 10:21:11 +00:00