Commit Graph

987 Commits

Author SHA1 Message Date
waterson%netscape.com
be17379f6b What a dumbass! I should've 'cvs diff'-ed before checking that in. Landed some random local mods in my tree. Sorry! 1999-12-08 08:08:39 +00:00
waterson%netscape.com
bc16c6794e Bug 17680. Only need to add template builders on nodes that are more than -two- levels in from an overlay root. The first ply will be set up in nsXULDocument::OverlayForwardReference::Merge(). 1999-12-08 07:59:12 +00:00
waterson%netscape.com
a377d5e847 Bug 21033. Delete broadcast listeners in Slots dtor. thanks beard! 1999-12-08 07:18:59 +00:00
waterson%netscape.com
0e5acf581a Bug 20714. Use static names for roots. 1999-12-08 06:58:00 +00:00
hyatt%netscape.com
c026e8d315 Fixing bustage on wensleydale. 1999-12-08 06:04:10 +00:00
hyatt%netscape.com
f23566bf16 Massive rewrite of the key binding system and the command dispatcher. Key
bindings are now fully hierarchical.  In addition, DOM windows, input fields
and textareas can pull their key bindings from a separate XUL file.  This
allows configurable key bindings.

Massive rewrite of the command dispatcher system.  The command dispatcher now
deals with DOM windows in addition to DOM elements.  It now tracks both
successfully and works in conjunction with the new focus/blur architecture.

r=saari
1999-12-08 04:56:56 +00:00
brendan%mozilla.org
5eacb7f5c1 Add off-by-default metering, improve comments (r=waterson@netscape.com). 1999-12-07 02:06:10 +00:00
waterson%netscape.com
77a02a8fff Bug 16709. Set 'content ID' fields on elements as they are constructed from XUL. 1999-12-06 23:05:31 +00:00
waterson%netscape.com
c3688d7937 Bug 20897. Change flow-of-control; panic if we can't get from a presshell to a webshell and beyond. r=danm 1999-12-06 23:03:53 +00:00
waterson%netscape.com
2bca9671fc Bug 20785. Root event handlers for JavaScript GC. r=brendan@mozilla.org 1999-12-06 08:23:47 +00:00
waterson%netscape.com
38e938ebbc Bug 20470. Add weak reference from 'controllers' object back to command dispatcher. Miscellaneous cleanup. r=hyatt 1999-12-05 23:04:22 +00:00
waterson%netscape.com
82fb1998b7 Bug 18392. Use XUL document cache for retrieving master document. 1999-12-04 07:45:57 +00:00
waterson%netscape.com
e634ed06f2 Remove NS_ENSURE macros from my little empire. r=caesar 1999-12-04 07:41:07 +00:00
waterson%netscape.com
46ed13c843 Bug 20714. Sever link to prototype after faulting in as heavyweight. 1999-12-04 01:45:30 +00:00
vidur%netscape.com
1cf2db67a5 For bug 17325. Changed signature of css loader methods. R=nisheeth. 1999-12-04 01:29:18 +00:00
waterson%netscape.com
c8028526ce Fix latent bug exposed by recent script global changes; need to check owner, not rv. 1999-12-03 22:04:47 +00:00
tbogard%aol.net
317758d9f3 include of nsIScriptGlobalObject.h is now in nsXULDocument.h. 1999-12-03 19:29:23 +00:00
tbogard%aol.net
72218fe6d8 Moved the include over. This should fix wensleydale. 1999-12-03 19:26:23 +00:00
tbogard%aol.net
94a95754d7 Hoping this will help wensleydale. 1999-12-03 12:09:10 +00:00
tbogard%aol.net
eb96099e6d 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
brendan%mozilla.org
8c97186a42 Use .get() for comptr==rawptr comparisons, for weak-minded compilers. 1999-12-03 04:45:36 +00:00
brendan%mozilla.org
d44c35ee1b - Doc-comments for nsIScriptContext methods I added or modified.
- Rename nsIScriptContext::CompileFunction to CompileEventHandler, and add BindCompiledEventHandler, to reflect function name restrictions and help brutal sharing.
- Add adjunct-interface nsIScriptEventHandlerOwner to nsIScriptObjectOwner.h; this interface is queried for by nsEventListenerManger.cpp to test and fill the XUL prototype event handler "cache".
- PR_LOG JS warnings, and look in javascript.options.{strict,werror} for those options.  
- Implement nsIScriptEventHandlerOwner in nsXULElement, keeping pointers to pre-compiled event handlers in nsXULPrototypeAttribute.
 
(bug 13218, r=waterson@netscape.com,vidur@netscape.com)
1999-12-03 03:40:30 +00:00
waterson%netscape.com
bbccd5d47b Bug 20309. Use nsCAutoString. Kudos to buhr@stat.wisc.edu 1999-12-02 23:53:25 +00:00
rjc%netscape.com
23e994f315 Optimization: 99% of trees which use the containment and/or ignore attributes put those attributes on the root node,
so check there first before trying to recurse from the current node all the way up to the root node.
1999-12-02 10:07:44 +00:00
danm%netscape.com
d25d8e587a adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com 1999-12-01 22:35:33 +00:00
buster%netscape.com
fd31de07ac bug 2253. added controller to html text input
r = kmcclusk, norris
1999-12-01 15:11:33 +00:00
waterson%netscape.com
b226f5a42a Bug 16516. Doh! Fix use of NS_RELEASE()-ed pointer that was causing load handlers to not run on brutally shared docs. 1999-11-30 22:47:41 +00:00
ftang%netscape.com
f6e3351358 fix bug 20181. r=ftang a=beard 1999-11-30 22:24:16 +00:00
rjc%netscape.com
e63af9cb8c Create static trueStr and falseStr once instead of various "true" and "false" usage. 1999-11-30 12:08:54 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
waterson%netscape.com
947d490060 Fix RemoveStyleSheet() per pierre's comments. 1999-11-30 04:33:28 +00:00
hyatt%netscape.com
7ab98f7f26 Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson 1999-11-29 22:15:07 +00:00
waterson%netscape.com
7e03717d55 Bug 20147. Make sure to correctly scope 'parent' when creating script objects. XUL document's parent is the window; XUL element's parent is the document. r=brendan 1999-11-29 20:53:40 +00:00
hyatt%netscape.com
9d73ef65cc More skin work. r=pavlov 1999-11-29 06:51:24 +00:00
tbogard%aol.net
85b5334721 nsXULDocument now uses the nsIBaseWindow interface for windowing stuff on webshell instead of nsIWebShell. This paves the way for the new docshell object to move in. 1999-11-29 06:04:15 +00:00
vidur%netscape.com
2f89fad454 Changed signature of AddScriptEventListener. Event handlers that are attributes of XUL elements are now compiled only when first invoked. R=joki 1999-11-25 00:06:10 +00:00
waterson%netscape.com
dd7c188516 More random flailing to fix gcc-2.7.2.3 1999-11-24 23:39:34 +00:00
waterson%netscape.com
1260e2100c Random flailing to fix gcc-2.7.2.3 bustage. 1999-11-24 23:19:52 +00:00
waterson%netscape.com
1eb45f5c91 Expose nsIXULDocument and nsIXULPrototypeDocument as public interfaces. Properly implement nsIXULDocument::CreateFromPrototype(). 1999-11-24 22:46:09 +00:00
waterson%netscape.com
42f49b9da2 Add methods to individually flush prototypes and style sheets. 1999-11-24 22:44:52 +00:00
waterson%netscape.com
47352eeda1 Bug 20036. Fix style sheet ordering. 1999-11-24 22:43:45 +00:00
tbogard%aol.net
af1ce8d410 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
214c6f7a18 Enabled nsXULElement to implement the nsIChromeEventHandler interface. r=hyatt 1999-11-23 09:36:39 +00:00
rjc%netscape.com
7b8ef00a40 One less loop (figured out what was preventing this). 1999-11-23 05:37:33 +00:00
rjc%netscape.com
08110eb10f Get rid of a warning. 1999-11-23 04:47:38 +00:00
rjc%netscape.com
2cba0e8647 Get rid of another signed/unsigned warning. 1999-11-23 04:44:52 +00:00
rjc%netscape.com
8c4f250de4 Get rid of a signed/unsigned warning. 1999-11-23 04:43:01 +00:00
rjc%netscape.com
f2baa21b51 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
4fceaba909 When sorting, only set found="true" attribute if not a natural order sort. 1999-11-23 02:27:03 +00:00
rjc%netscape.com
895bfe63f8 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
eb971c4df2 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
12d6f261c0 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
dc4a206fff 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
f4acc98b16 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
5065e2a283 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
e291840c27 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
f64b7ae035 removed select initialization code r=dcone bug 18241 1999-11-19 15:42:06 +00:00
buster%netscape.com
fdbc16704a bug 12022, r=rickg 1999-11-19 08:26:56 +00:00
bienvenu%netscape.com
2d8cd89204 small performance tweak for null id xul elements r=waterson 1999-11-19 01:31:36 +00:00
waterson%netscape.com
3c3b7dbdca Clean up some timing printfs. 1999-11-18 05:47:51 +00:00
brendan%mozilla.org
4849241687 Brutal JS script sharing (15146, r=waterson@netscape.com). 1999-11-18 02:25:33 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
waterson%netscape.com
3af1eee9aa 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
b20b076a88 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
d4c8bb0b9c 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
6ba54713f1 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
5b4b0169aa * 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
8c8bbce9a7 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
4fffbc4bf8 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
7a6702f1b0 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
1cbaf268cf 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
10a6f091ce 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
7a34491281 Use get() instead of == 1999-11-11 01:22:59 +00:00
rjc%netscape.com
537f64c3da Add support for secondary key sort. Convert over to using nsCOMPtrs. Review: me 1999-11-10 23:50:34 +00:00
waterson%netscape.com
1d36d9329e 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
142ac52eaf 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
87b8e4a574 Bug 18058. Remove 'commandDispatcher' from interface; obsolete, and leaky. r=hyatt, a=chofmann 1999-11-05 05:31:15 +00:00
waterson%netscape.com
dfd9dd6eaa Bug 18058. Remove 'commandDispatcher' from interface; obsolete. r=hyatt, a=chofmann 1999-11-05 05:30:56 +00:00
waterson%netscape.com
f9b4723956 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
2728cb5577 Bug 17847. Fix 'commandupdater' hookup for master document. r=hyatt, a=chofmann 1999-11-04 18:37:58 +00:00
beard%netscape.com
932ec344f4 bug #17847, fix clobbering of mSlots->mAttributes in GetAttributes(). r=waterson, a=chofmann 1999-11-04 02:56:54 +00:00
hyatt%netscape.com
2da1dc5d17 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
a2dfa5b9b1 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
55489d1b93 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
1675be15e0 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
d2c5bedf2e 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
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
alecf%netscape.com
4033a6f681 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
332749d6fa 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
050ad45bf2 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
e78a953005 Fix for bad refcount tracing. r=buster,nisheeth 1999-11-02 05:37:04 +00:00
waterson%netscape.com
22be6e4c41 Fix manky nsCOMPtr asserts. 1999-11-02 02:02:27 +00:00
pinkerton%netscape.com
b235ede1ff 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
676716c335 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
f81d5969c6 (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
a12c3d6c5d 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
b672b00381 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
daab7b6c46 Fix SizeOf() operation. 1999-10-29 03:07:38 +00:00
waterson%netscape.com
ada7441247 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
b5b2656f52 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
e092fcee6b making the chrome registry work with dynamic overlays r=pavlov 1999-10-27 02:21:05 +00:00
dp%netscape.com
b17616fba6 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
15b4a60c84 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
6bf524bc9e Removed the last of gimpy's warnings. r=gimpy. 1999-10-19 08:03:11 +00:00
waterson%netscape.com
e6f547bf07 Move nsXULElement declaration into the header file. 1999-10-18 23:05:35 +00:00
waterson%netscape.com
5d36702c83 Rename nsRDFElement to nsXULElement; rename nsXULElement to nsXULAggregateElement. 1999-10-18 22:08:15 +00:00
warren%netscape.com
26fb3f9eba Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:21:53 +00:00
warren%netscape.com
3f9dc8b6a7 Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:06:21 +00:00
peterl%netscape.com
4a9e5d719e Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:06:04 +00:00
peterl%netscape.com
d168caadef 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
f863808cf7 Adding support for retrieving the EditorShell from editor element. r=hyatt 1999-10-15 21:21:10 +00:00
waterson%netscape.com
3d04c11522 Darnit. Didn't mean to FORCE_PR_LOG. Removing that #define. 1999-10-15 20:55:54 +00:00
waterson%netscape.com
6a8ada8d6c 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
ae28cd2568 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
a3b121502f 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
cca5e191f9 fix memory leak of nsIURI in Set and GetAttribute r=waterson 1999-10-15 02:59:37 +00:00
hyatt%netscape.com
b2a4325241 Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++) 1999-10-14 10:58:25 +00:00
waterson%netscape.com
01b01edb29 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
3ddd2b7390 Add PR_LOG() calls to aid debugging. 1999-10-13 08:00:45 +00:00
waterson%netscape.com
c076e2aac8 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
8241422540 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
9d26c76a5e Misc cleanup, r=hyatt 1999-10-08 07:26:39 +00:00
waterson%netscape.com
e66ef0e374 Add elements to element map by 'ref', as well. 1999-10-08 07:26:14 +00:00
waterson%netscape.com
c33474f2dd 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
c1b28ef30e 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
7324012292 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
b296404b6a 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
bb45ef1bde Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com 1999-10-07 01:51:30 +00:00
vidur%netscape.com
0e75a67fe1 Added document.width/document.height to nsIDOMNSDocument. Bug 961. R: troy 1999-10-06 20:33:58 +00:00
mgleeson1%netscape.com
2e5a2e52e1 r=waterson enums used in structs must be public members for HPUX 1999-10-06 18:56:03 +00:00
waterson%netscape.com
92d627b5e0 Fix incorrect use of CBufDescriptor that was causing persistence to flake. 1999-10-06 06:42:27 +00:00
waterson%netscape.com
cd0fab49cb Suppress assertions with context menus for now. 1999-10-06 06:40:06 +00:00
waterson%netscape.com
806774dd9d Fix dumb leak. 1999-10-06 01:02:11 +00:00
kipp%netscape.com
3eaba4f422 Support SizeOf methods 1999-10-05 23:47:46 +00:00
waterson%netscape.com
de8f3449d5 Fix crasher when loading XUL in viewer and no localstore is present. 1999-10-05 22:22:40 +00:00
waterson%netscape.com
14d8b9492e 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
716e97dd9c Fix 15458 "onLoadHandler does not work"
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
rjc%netscape.com
a8401f2c5c 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
f002a3fe71 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
61408ff762 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
7d31268f14 Bug 13908. Add code to hook up 'forward observer declarations'. r=hyatt. 1999-09-30 02:32:34 +00:00
waterson%netscape.com
e0218beabb 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
c3bd3a1e15 Fix mac build bustage. 1999-09-24 20:39:26 +00:00
waterson%netscape.com
8cda3dfecc 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
4cc8eb6bfe 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
d891a7b1ef 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
3880a61e9a 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
fabf00233c 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
cb935f51c7 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
452584594d The document LoadGroup is now a nsWeakPtr... 1999-09-21 06:44:56 +00:00
waterson%netscape.com
25694dc329 Fix bugs with computing containment. 1999-09-21 05:57:47 +00:00
waterson%netscape.com
49cd3cea4d Comment out 'element already in map' warning for now. 1999-09-19 22:42:55 +00:00
waterson%netscape.com
dce22b1ef1 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
f7a23e30ca Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:34:24 +00:00
slamm%netscape.com
35951bb528 Fix build warnings (rename 'tm' to 'value). 1999-09-18 02:15:00 +00:00
waterson%netscape.com
9ed3206e50 Bug 12649. Add support for 'parent' on <rule> tags. 1999-09-17 20:15:29 +00:00
waterson%netscape.com
d7bc730b0d Bug 13790. Okay, let's try that again, this time without the frills. 1999-09-17 04:29:53 +00:00
waterson%netscape.com
fe8d3ee23e Fix nsCOMPtr sloppiness. 1999-09-17 04:13:19 +00:00
waterson%netscape.com
6d9438412e Back out changes that will cause bustage on some compilers. 1999-09-17 04:12:08 +00:00
waterson%netscape.com
bd4a3e6792 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
9fe5928235 Fix HTML-rooted templates. 1999-09-15 20:08:37 +00:00
waterson%netscape.com
2927803d32 Use nsCOMPtr for the controller. 1999-09-15 20:06:32 +00:00
slamm%netscape.com
52e797192b Fix build warnings. 1999-09-15 18:14:02 +00:00
harishd%netscape.com
999afb72ec CreateXIF() and ToXIF() should return nsresult. 1999-09-15 17:57:55 +00:00
hyatt%netscape.com
04c56a701c Updating the nsIController interface. 1999-09-15 02:16:41 +00:00
hyatt%netscape.com
664a5ace95 Fixing minor bug in command dispatcher. 1999-09-15 02:12:50 +00:00
waterson%netscape.com
57e13eb1a7 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
3a2015c4e4 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
8b8a1c6f93 Strip some dead code. Re-enable sorting. 1999-09-14 02:07:46 +00:00
waterson%netscape.com
06ea3cca41 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
d3eb73be23 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
hyatt%netscape.com
2412623576 Popup work. 1999-09-10 08:49:32 +00:00
pinkerton%netscape.com
e5d030d873 correctly set target of dragenter/exit events. 1999-09-09 06:26:58 +00:00
rjc%netscape.com
37e13748c5 Add check for NS_RDF_NO_VALUE. 1999-09-09 00:58:08 +00:00
hyatt%netscape.com
17d71e1b13 Fixing an error in the handleDomEvent function. 1999-09-08 08:06:28 +00:00
waterson%netscape.com
43eca09bd8 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
ba85e5af78 Cache sort resource requests. 1999-09-08 03:04:45 +00:00
rjc%netscape.com
293b334687 Cache sort resources. 1999-09-07 07:27:49 +00:00
waterson%netscape.com
49ac7e179a 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
5eecd7bc1a 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
e75207446c Add nsXULContentUtils, eventually to replace nsRDFContentUtils. Not yet in the build though. 1999-09-06 22:25:45 +00:00
bruce%cybersight.com
4921b1d83b Use nsAllocator for char* data. 1999-09-04 13:59:52 +00:00
dougt%netscape.com
028f11d2bf 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
7a6584f998 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
f67b510aa5 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:53:26 +00:00
waterson%netscape.com
2239643aca Persistence, again. 1999-09-03 07:02:25 +00:00
hyatt%netscape.com
5c7402981c 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
bdda0f539f hookup the drag listener attributes. 1999-09-02 23:19:56 +00:00
waterson%netscape.com
fea6bb1b19 Changed ParseNumericValue's declaration to match its definition. 1999-09-02 21:37:30 +00:00
waterson%netscape.com
c82d0aba3a 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
07fe48827b 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
2d4a0bffa0 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
cc0fb78f13 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
721ee62325 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
7c07dc5b09 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
8a00f5b25e Fix for build bustage. 1999-09-02 02:09:21 +00:00
hyatt%netscape.com
c7a01f28f9 Adding support for proportional widths to tree columns. 1999-09-02 01:13:27 +00:00
putterman%netscape.com
702944dcc2 speedup building content. checkin for waterson. 1999-09-01 04:58:36 +00:00
nisheeth%netscape.com
a3d25a6149 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
c1ca0ebd36 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
58afb3537f Try again. 1999-08-30 10:28:37 +00:00
rjc%netscape.com
230b63671a Small fix. 1999-08-30 10:26:55 +00:00
rjc%netscape.com
658964332a Cleanup a bit, and fix bug # 11516. 1999-08-30 10:05:40 +00:00
waterson%netscape.com
c4bed8ca91 Clean up compiler warnings. 1999-08-30 03:18:06 +00:00
waterson%netscape.com
6e2ab0076d 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
d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
hyatt%netscape.com
de2f28c95a Fixes to enable the command dispatcher to properly instantiate. 1999-08-27 07:54:06 +00:00
rjc%netscape.com
2528124539 Add nsIXULSortService 1999-08-27 06:54:08 +00:00
rjc%netscape.com
9be4830f5d Add nsIXULSortService.idl 1999-08-27 06:52:34 +00:00
waterson%netscape.com
c4e7dd07c2 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
7b7f065d98 Bug 12470. Check for null pointer in SetParent(); occurs during teardown. 1999-08-26 04:28:47 +00:00
waterson%netscape.com
43b89f11ed Bug 12254. Fix templates that are built inside of or use nested HTML. 1999-08-25 07:56:52 +00:00
ramiro%netscape.com
f2b29e5760 NS_RELEASE -> NS_IF_RELEASE. 1999-08-25 04:04:51 +00:00
hyatt%netscape.com
49d00452b7 Changing focus tracker to be the command dispatcher. 1999-08-25 01:49:24 +00:00
harishd%netscape.com
8ef5e0bd42 Commenting out a pre-condition in EndLoad() method.
Approved by waterson.
1999-08-24 18:37:05 +00:00
sfraser%netscape.com
df04fe1c2d Make sure that mAttributeList is initialized to null. 1999-08-24 00:59:30 +00:00
hyatt%netscape.com
29b55c601b 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
83156768b1 HP requires a newline at the end of the file 1999-08-24 00:33:18 +00:00
hyatt%netscape.com
cf77b893a6 Implemented element-level capturing in the XUL DOM. 1999-08-23 07:26:57 +00:00
hyatt%netscape.com
64403860de Tweaking capturing. Still doesn't work for elements though. 1999-08-23 05:32:55 +00:00
hyatt%netscape.com
d5efaf0261 Teaching the RDF element about the concept of being focusable. 1999-08-23 05:20:14 +00:00
hyatt%netscape.com
b77644e753 Fix for several bugs (12299, 12289, 12295). 1999-08-23 01:13:29 +00:00
hyatt%netscape.com
97025b35ec Mmmm-hmmm. 1999-08-22 08:11:27 +00:00
hyatt%netscape.com
27156d3fe7 Making sure the onselect handler gets fired. 1999-08-22 08:01:13 +00:00
hyatt%netscape.com
576659f909 More selection work. 1999-08-22 06:53:01 +00:00
hyatt%netscape.com
46340eebe5 Checking in the selection implementation (with more functions added). 1999-08-22 06:31:00 +00:00
hyatt%netscape.com
b8cf1c5a5d 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
850b37e110 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
739aa6fc11 Tweaking comments. 1999-08-21 20:42:17 +00:00
hyatt%netscape.com
91a63df44f 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
0c1ba81710 Adding more to the tree's idl. 1999-08-21 20:23:56 +00:00
hyatt%netscape.com
7e7ed03bb4 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
2896ff9442 Fixing broadcasters. The hookup wasn't happening correctly. 1999-08-21 19:30:53 +00:00
hyatt%netscape.com
9bd7a20027 The bustage is mine. Fixing it now. 1999-08-21 10:05:02 +00:00
hyatt%netscape.com
0a4a95a2ea Fixing up the broadcaster stuff. 1999-08-21 09:13:14 +00:00
hyatt%netscape.com
7fcea47026 A complete rewrite of the broadcaster/observer system. Much improved. 1999-08-21 09:08:12 +00:00
dougt%netscape.com
32a9a77110 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
hyatt%netscape.com
d819a08a33 Renaming onaction to oncommand. 1999-08-20 22:58:32 +00:00
waterson%netscape.com
7d7045cbd4 Resurrect delegation of XULTreeElement interface to an aggregate object. 1999-08-18 05:45:40 +00:00
waterson%netscape.com
e796040451 Add verbage. 1999-08-18 04:25:24 +00:00
waterson%netscape.com
8c885f534e Re-added to support tree selection. Not yet in the build. 1999-08-18 03:21:26 +00:00
rjc%netscape.com
5ed11f9b0d Fix bug # 10352: date sorting. 1999-08-11 06:24:56 +00:00
jband%netscape.com
167d0af817 fix for bug 11510 1999-08-10 05:11:47 +00:00
joki%netscape.com
11585608e8 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
cls%seawood.org
3f1dcd11dc 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
43c0b70372 Fix build warning. 1999-08-06 20:34:55 +00:00
waterson%netscape.com
5e0dfa201e Fix --pedantic bustage. 1999-08-06 18:36:50 +00:00
waterson%netscape.com
b51825bc1d 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
0a6a7275b1 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
0035d5bbb3 Fix silent failure from JS on firstChild. Clean up other baby-eating methods. 1999-08-04 02:26:26 +00:00
rjc%netscape.com
3b08048ac8 Persist attributes via the content model only. 1999-08-01 03:24:18 +00:00
waterson%netscape.com
a0ea173e2f 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
931e33f799 Hook up persistent (via the localstore). 1999-07-30 23:42:41 +00:00
waterson%netscape.com
a5d129b99b 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
d9a7613550 Implement RemoveWidgetItem(). Whoops. 1999-07-28 02:53:49 +00:00
putterman%netscape.com
5638dcc255 GetResource first looks at ref. checkin for waterson. 1999-07-27 23:02:13 +00:00
waterson%netscape.com
952e4e3de7 Fix --pedantic bustage. 1999-07-27 18:04:55 +00:00
waterson%netscape.com
91a8ac09e7 Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism. 1999-07-27 17:20:28 +00:00
waterson%netscape.com
b30b439a4c Re-add. Wasn't meant to be deleted yet. 1999-07-27 03:03:25 +00:00
waterson%netscape.com
3e44429c51 Native builder exorcism. Long live templates. 1999-07-27 02:40:40 +00:00
hyatt%netscape.com
8e2cd2600e Adding the menu events to the event map. 1999-07-26 09:18:57 +00:00
hyatt%netscape.com
52037238fa 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
d1e0dbad12 Fix computation of empty containers. 1999-07-22 05:11:52 +00:00
rjc%netscape.com
0d632627c1 Set empty="false" attribute even if container is closed. 1999-07-22 00:49:50 +00:00
putterman%netscape.com
60f0c0a65e Messenger Copy/Move menus now show menuitems instead of all menus. 1999-07-22 00:26:00 +00:00
rjc%netscape.com
ce1364e264 Now update "empty" attribute as children count changes. 1999-07-21 23:10:07 +00:00
rjc%netscape.com
1ed51dd105 Ensure that we have a value. 1999-07-21 23:02:35 +00:00
troy%netscape.com
36264ba5ab 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
5ade5dfee3 checkin jefft's fix mailnews startup crash 1999-07-20 17:32:43 +00:00
rjc%netscape.com
c8406785e0 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
bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
rjc%netscape.com
0708ffd2ac 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
e236e64c7d 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
395b5ec7a8 Oops... PR_FALSE instead of just FALSE. 1999-07-20 03:14:34 +00:00
rjc%netscape.com
cbda70fa34 Add support for sorting RDF_Seqs when in natural order sort mode. 1999-07-20 03:13:15 +00:00
joki%netscape.com
d752334449 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
e55647074b 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
23b232d248 switch to faster string search API 1999-07-19 03:29:56 +00:00
rjc%netscape.com
c62018929a Fix a warning by tossing out some old debugging code. 1999-07-18 08:25:24 +00:00
mjudge%netscape.com
c0b1525970 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
3a3725dcca clean up some string usage 1999-07-18 00:01:21 +00:00
rjc%netscape.com
ba2f8f9be7 Use application locale when sorting with collation service; fix for bug #9968. 1999-07-17 21:36:17 +00:00
warren%netscape.com
84bd74a4fd 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
1146e0fe11 Initializing a member variable to nsnull. 1999-07-16 08:26:42 +00:00
hyatt%netscape.com
592408790f Continuing XUL overlay work. 1999-07-16 07:10:20 +00:00
waterson%netscape.com
e858075361 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
159456c774 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
5cea898d16 Add check for null. 1999-07-15 09:20:54 +00:00
waterson%netscape.com
fb0dd58baf 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
7cfab409c1 Use GetTextForNode() more, as well as use GetValueConst(). 1999-07-14 21:13:13 +00:00
waterson%netscape.com
a475eefcf3 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
99a3ebae55 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
e710d64d06 Fixing redraw problems on initial show of window. 1999-07-07 22:34:10 +00:00
waterson%netscape.com
a3fd49276e 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
62c5b9e788 Small insertion fix. 1999-07-07 06:34:18 +00:00
rjc%netscape.com
2224f3cb34 Now able to sort by dateLiterals and intLiterals too. <Whee> 1999-07-07 05:32:07 +00:00
waterson%netscape.com
dd1a7d4110 Fix compiler warnings. 1999-07-07 04:26:24 +00:00
waterson%netscape.com
25d4abb1e7 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
39583487e8 fixed css quirk support in XUL
removed dead code
1999-07-07 01:17:21 +00:00
peterl%netscape.com
c1cc052229 sync to styled content api change 1999-07-07 01:16:56 +00:00
hyatt%netscape.com
5101e52906 Trying to fix build bustage. 1999-07-06 18:53:41 +00:00
hyatt%netscape.com
29aef8ae97 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
73b08a974d Checking in support for intrinsic sizing of chrome. 1999-07-04 04:09:54 +00:00
waterson%netscape.com
62530d62af Implement OnChange() on the Generic and XUL builders. 1999-07-03 02:41:13 +00:00
hyatt%netscape.com
a14d2e671e 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
fa48a0b102 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
cd99200170 don't include nsHTMLAtoms.h since it's bad, and not needed anyway. 1999-07-01 06:47:31 +00:00
pinkerton%netscape.com
f57e5480a5 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
bc9d03d879 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
2bc96a3bce 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
2fb58822af 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
358bcc130a 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
6e140506a0 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
fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
rjc%netscape.com
b71e65cc64 Only set natural order attribute on the containment element. 1999-06-25 09:32:43 +00:00
rjc%netscape.com
990539b30a Unset sortActive and sortDirection attributes if "natural order" is being used. 1999-06-25 09:19:29 +00:00
rjc%netscape.com
d61393dde8 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
32d4f24430 Changed URLGroup to LoadGroup 1999-06-25 02:31:51 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
waterson%netscape.com
b6f0320775 Fix use of nsString with nsAutoString where appropriate. 1999-06-24 21:19:02 +00:00
waterson%netscape.com
4b1f9242e4 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
fc69b0751c Fix for 8735. 1999-06-23 07:21:11 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
hyatt%netscape.com
b66c3c67f2 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
rjc%netscape.com
2a4f942c9a Clean up. 1999-06-21 10:46:47 +00:00
rjc%netscape.com
2df2a78102 Turn on. 1999-06-21 09:22:17 +00:00
rjc%netscape.com
3937aff223 Conditionalize. 1999-06-21 09:12:35 +00:00
rjc%netscape.com
c806f94639 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
a853570702 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
b1c1954e42 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
830f25fc05 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
e23b3c673c 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
082e6c8f04 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
6b6dc2a655 Bug 8221. Fix false positive on the leak grep radar. 1999-06-17 19:49:05 +00:00
waterson%netscape.com
533c62b3a8 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
dbf578a94e 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
ad1c86cebf 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
096ab07f71 Fix leak of tree element. 1999-06-14 21:15:29 +00:00
rjc%netscape.com
5853a4243b 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
df6128537a Remove crufty code that wasn't doing anything. Fix refcounting on the database. 1999-06-13 18:31:06 +00:00
waterson%netscape.com
ea79d87ea4 Remove crufty code that wasn't doing anything. 1999-06-13 18:30:47 +00:00
waterson%netscape.com
ee1c9aa7cc 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
6eb6f4542d Fix incorrect use of dont_QueryInterface() that was causing massive leakage. 1999-06-12 19:35:54 +00:00
waterson%netscape.com
ae793413a5 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
3161197c50 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
784f0c9bee 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
431a8f8a69 Popups put the "grrrr!" in "swinger", baby! 1999-06-09 09:03:15 +00:00
hyatt%netscape.com
4837ef67be 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
3c9cbf513e Altering the args for createPopup. 1999-06-09 08:36:06 +00:00
waterson%netscape.com
1715e9d49e 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
fb60c4761f Updating popups to use screen coordinates instead of being hardcoded to (50,50). 1999-06-09 08:00:27 +00:00
hyatt%netscape.com
58cba873bf More content model tweaks. 1999-06-09 05:45:15 +00:00
hyatt%netscape.com
ae05f65693 Changed event names to "create" and "destroy" 1999-06-09 01:11:39 +00:00
hyatt%netscape.com
68093a04cc 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
c8acfc6f08 Controller stuff. 1999-06-08 23:04:24 +00:00
hyatt%netscape.com
2ae117dc39 Woo woo. Focus implementation. 1999-06-08 21:58:55 +00:00
hyatt%netscape.com
45176e2d9e Adding new idl. 1999-06-08 21:58:32 +00:00
hyatt%netscape.com
f0aed7d386 Adding a reminder comment to a file for future reference. 1999-06-08 05:24:06 +00:00
hyatt%netscape.com
2537f3bb24 Added support for "onconstruct" and "ondestruct" events for popups. 1999-06-08 05:08:16 +00:00
rjc%netscape.com
9638765196 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
38639ff1bc Fixes for several bugs. 1999-06-04 22:05:47 +00:00
alecf%netscape.com
fb914c4e6d oops, forgot to make this native code for C++ 1999-06-03 20:47:09 +00:00
rjc%netscape.com
30efebddc1 XUL templates are now strong enough to support building menus and menuitems. 1999-06-03 07:16:18 +00:00
alecf%netscape.com
a91815677d 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
2e2773036a 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
be0b2911a6 Checking in a workaround for bug #7437 until Rickg fixes that. 1999-06-02 00:01:23 +00:00
rjc%netscape.com
3d401b9151 Disable XUL templates for the moment. 1999-06-01 21:34:05 +00:00
rjc%netscape.com
f86fec73d9 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
e95b75d902 Focus tracker actually tracks! 1999-05-28 22:55:10 +00:00
hyatt%netscape.com
c9aa6a61c4 Oops. 1999-05-28 20:33:46 +00:00
hyatt%netscape.com
cfd6d1f384 Adding the focus tracker to the XUL document. 1999-05-28 20:24:58 +00:00
waterson%netscape.com
246d4762ab 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
736192ee1b Implementing document and window capture in the XUL DOM. 1999-05-27 21:03:59 +00:00
peterl%netscape.com
dc4edd9b35 sync to nsIStyledContent API change 1999-05-26 23:46:45 +00:00
peterl%netscape.com
7d7fd6b8dd tweaks to CSS loader usage 1999-05-26 23:42:29 +00:00
hyatt%netscape.com
cec22bc0a9 Better fix for 6746. 1999-05-25 00:29:55 +00:00
waterson%netscape.com
6f5bf2a2cb More bug 6823. Add comments to keep this problem from happening again. 1999-05-21 21:23:04 +00:00
hyatt%netscape.com
602abf226d Fix for the regression described in bug 6823. 1999-05-21 19:27:02 +00:00
hyatt%netscape.com
5cca8d81b3 Fixes for bugs 6746 and 6747. Approved by chofmann@netscape.com. 1999-05-20 06:39:37 +00:00
rjc%netscape.com
5f33c29784 Fix Unix bustage on previous checking for bug # 6778. 1999-05-20 01:55:37 +00:00
rjc%netscape.com
c03e43cdb3 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
95a6b34717 Fix for bug 5911. 1999-05-19 08:26:21 +00:00
rjc%netscape.com
457caa5821 Apply Scott Putterman's fix for XUL sorting. 1999-05-19 05:30:25 +00:00
waterson%netscape.com
80334ce89a Implement nsIDOMNSDocument properly. Factor logic for createElement & createElementWithNamespace. 1999-05-19 04:28:40 +00:00
peterl%netscape.com
9bc56b4862 fixed ambiguous cast for nsCOMPtr on linux 1999-05-19 00:05:40 +00:00
joki%netscape.com
71e96012a3 Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent. 1999-05-18 23:51:04 +00:00
peterl%netscape.com
3faa8b3b5c added css loader support
fixed document observer calls
1999-05-18 23:02:00 +00:00
hyatt%netscape.com
2ce85ee0fa 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
hyatt%netscape.com
0b3f6c19ea Fixes. 1999-05-18 09:28:00 +00:00
hyatt%netscape.com
6c62cd6df5 Oh yeah, baby. 1999-05-18 09:03:53 +00:00
hyatt%netscape.com
02eabdf348 Popup listener knows how to be a blur listener. 1999-05-18 08:37:41 +00:00
hyatt%netscape.com
f42e39e419 Typo. 1999-05-18 07:42:31 +00:00
hyatt%netscape.com
6810f55bd3 Working on popup documents. 1999-05-18 07:40:59 +00:00
rjc%netscape.com
b0cf560690 Get rid of a few warnings. 1999-05-18 06:34:15 +00:00
rjc%netscape.com
70bf5173d4 More XUL template changes. Also re-enabling XUL_TEMPLATES. 1999-05-18 06:27:04 +00:00
rjc%netscape.com
83617f5b88 Even more support for collation keys. 1999-05-18 06:19:04 +00:00
hyatt%netscape.com
030f73ed26 Had the wrong integer value for the right mouse button. 1999-05-18 06:05:43 +00:00
rjc%netscape.com
f6e8f86744 Checking in some additional collation key support. 1999-05-17 22:43:47 +00:00
hyatt%netscape.com
7d4f43e0f9 La la la. 1999-05-16 09:40:42 +00:00
hyatt%netscape.com
d5f2bd61ce More popup work. 1999-05-16 09:09:00 +00:00
hyatt%netscape.com
a48945c0a3 Fixing build bustage 1999-05-16 08:50:27 +00:00
hyatt%netscape.com
4c5b8bc7ed Added the method that will give me the new popup doc. 1999-05-16 08:05:32 +00:00
hyatt%netscape.com
19ffc42c57 Implementing HandleDOMEvent in nsXULDocument.cpp. Events now bubble to the
document and in turn will now bubble to the window.
1999-05-16 07:05:51 +00:00
hyatt%netscape.com
d054927d19 Events weren't bubbling into the document. They do this now. 1999-05-16 06:58:56 +00:00
waterson%netscape.com
ada5fed6e3 Bug 3367. Need to 1) treat ArcLabelsOut as returning an 'optimistic' list of arcs, that is, possible arcs out; 2) use GetTarget() to test the containment property, not just existence of the arc; 3) implement 'rdf:ignore' to skip properties that may require extensive computation. In the process, I had to #ifdef XUL_TEMPLATES some of the XUL template stuff. 1999-05-15 23:46:17 +00:00
hyatt%netscape.com
3bcdf2b219 DOn't need the printf any more. 1999-05-15 09:04:45 +00:00
hyatt%netscape.com
d8868b63ca Not yet implemented. Sigh. I hate seeing "Not yet implemented." 1999-05-15 09:03:59 +00:00
hyatt%netscape.com
e0323b8d8a Added support for document.popup, so that event handlers in popup content
can refer to the popup's originating element.
1999-05-15 08:46:14 +00:00
hyatt%netscape.com
da3657824f Calling both createPopup and createAnchoredPopup now. 1999-05-14 21:51:57 +00:00
hyatt%netscape.com
a9e9be3c9a Screen coords instead. 1999-05-14 19:22:52 +00:00
hyatt%netscape.com
903d87c645 Changes to actually call into the GlobalWindowImpl's createPopup method. 1999-05-14 19:10:01 +00:00
hyatt%netscape.com
d7d64cb757 Popup listener. 1999-05-14 07:20:12 +00:00
hyatt%netscape.com
656d553c50 Committing the XUL popup listener implementation. 1999-05-14 05:37:20 +00:00
hyatt%netscape.com
96c61ccdcb Adding support for the popup content implementation. 1999-05-14 05:37:00 +00:00
hyatt%netscape.com
ff8e79c925 Committing the popup listener interface. 1999-05-14 05:36:21 +00:00
waterson%netscape.com
f5c0bb9854 Fixed missing release service. 1999-05-13 20:52:15 +00:00
waterson%netscape.com
6a7e4de78b Okay, let's try that fix again. 1999-05-13 17:27:51 +00:00
waterson%netscape.com
e8e6b41913 Fix inappropriate use of member functions. 1999-05-13 16:57:59 +00:00
rjc%netscape.com
05ac669b96 Don't compare nsCOMPtrs against nsnull. 1999-05-13 08:29:56 +00:00
rjc%netscape.com
00a8fbfe13 More cleanup on nsXULSortService (more nsCOMPtr usage, more C++ usage, etc.) Also, begin to add support for collation keys. 1999-05-13 08:25:12 +00:00
rjc%netscape.com
e2802314c3 Add support for any node attribute that wants to bind its value to RDF by looking it up in the graph. 1999-05-13 08:02:19 +00:00
warren%netscape.com
87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
vidur%netscape.com
6d2292083f Added GetContentType method to nsIDocument interface. 1999-05-11 20:22:52 +00:00
mcafee%netscape.com
492b4cef0f Renaming nsQuickSort to NS_QuickSort so it doesn't look like a class name. r=brendan@netscape.com 1999-05-10 06:47:04 +00:00
rjc%netscape.com
5100f5eef5 Yet another shot at fixing another Unix pedantic issue. 1999-05-08 21:47:49 +00:00
rjc%netscape.com
f84a92af1e Try fixing another Unix pedantic issue. 1999-05-08 21:07:18 +00:00
rjc%netscape.com
f44baf6931 Fix Unix pedantic issue. (hopefully) 1999-05-08 20:22:41 +00:00
rjc%netscape.com
53b2c8b4e9 Add refcnt'ing support in Element map for content nodes. (Not 100% if this is the right thing to do, but it does fix a crashing bug where the nodes are freed too early!) 1999-05-08 10:29:24 +00:00
rjc%netscape.com
32b84dcc23 Don't compare nsCOMPtrs against nsnull. 1999-05-07 21:24:09 +00:00
rjc%netscape.com
4c3a89fd0b First cut at adding template and rule support for XUL builders. 1999-05-07 21:20:33 +00:00
briano%netscape.com
4eef4b871a Converted 'true' to 'PR_TRUE' so it'll build on Unix. 1999-05-07 05:17:30 +00:00
kipp%netscape.com
f85c7d58ee Use DOM api's instead of layout private api's 1999-05-06 19:28:22 +00:00
kipp%netscape.com
8e6fe3df91 Use component manager to create a css parser 1999-05-06 19:28:09 +00:00
waterson%netscape.com
fe7fe2c9cb Fix compiler warnings. Make -pedantic build again. 1999-05-06 06:34:07 +00:00
rjc%netscape.com
5a70431bf0 Add some small NULL checks. 1999-05-06 00:38:54 +00:00
waterson%netscape.com
4c9acf711d Bug 5853. Fix vanishing bookmark titles problem: need to re-query graph on update. 1999-05-05 03:10:25 +00:00
waterson%netscape.com
8d3ff0f53b Factor interfaces into individual .idl files. 1999-05-05 03:09:50 +00:00
hyatt%netscape.com
e4b0beec4c Switching over to nsIEventQueues. Adding support for onunload, onabort, and
onerror.  Adding support for event capturing through script.  Adding support
for robust error-checking in the chrome registry.
1999-05-04 23:32:25 +00:00
pinkerton%netscape.com
1680448437 pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come). 1999-04-30 09:04:36 +00:00
waterson%netscape.com
99ad51582d Bug 5490 et al. Don't include local store in XUL document composite datasource until we have XUL syntax for deciding what attributes and elements are shared. r=hyatt, a=chofmann 1999-04-28 20:46:53 +00:00
rjc%netscape.com
8315e6fde0 Add some more nsCOMPtrs to fix leakage. 1999-04-28 07:03:11 +00:00
waterson%netscape.com
db5ad72a02 Fix leak of composite datasource on each sort. 1999-04-28 06:23:21 +00:00
waterson%netscape.com
5808d55c70 Fixed the text of a debug log message. 1999-04-28 04:19:28 +00:00
ftang%netscape.com
2e97bf7dcc change S/GetDocumentCharacterSet method for nsIDocument interface. 1999-04-27 21:49:25 +00:00
waterson%netscape.com
b6bd7f337e Land RDF_19990426_BRANCH, which extracted some static C++ routines for manipulating RDF containers into bona fide interfaces. 1999-04-27 05:54:18 +00:00
waterson%netscape.com
3f3dced3eb Land RDF_19990426_BRANCH, which extracted some static C++ routines for manipulating RDF containers into bona fide interfaces. Also, fix a memory leak in the nsElementMap: be sure to hold a reference to the resource that is the key. 1999-04-27 05:53:53 +00:00
rjc%netscape.com
2f3ff86b87 Remove debugging crap. 1999-04-27 05:12:10 +00:00
rjc%netscape.com
38a75ee0a4 Added support for smart-sorting, whereby for example in bookmarks, when sorting on the name column, we'll sort in-between separators. 1999-04-27 02:28:12 +00:00
rjc%netscape.com
6fb51639ac More change for nsISupportsArray usage. 1999-04-27 01:48:37 +00:00
sfraser%netscape.com
634d0ee855 Fix out param typo. 1999-04-24 05:53:00 +00:00