Commit Graph

718 Commits

Author SHA1 Message Date
waterson%netscape.com
aa390e05d8 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.
git-svn-id: svn://10.0.0.236/trunk@50527 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:43:46 +00:00
waterson%netscape.com
e20da712ec 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
git-svn-id: svn://10.0.0.236/trunk@50413 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:10:08 +00:00
waterson%netscape.com
199c8166c7 Misc cleanup, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@50214 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 07:26:39 +00:00
waterson%netscape.com
fbecb0f668 Add elements to element map by 'ref', as well.
git-svn-id: svn://10.0.0.236/trunk@50213 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 07:26:14 +00:00
waterson%netscape.com
2064c545e9 Bug 15687. Make sure to test whether CreateTemplateBuilder() succeeded before dereferencing the builder we get back. r=rjc
git-svn-id: svn://10.0.0.236/trunk@50164 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:07:00 +00:00
waterson%netscape.com
76ea87ea04 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
git-svn-id: svn://10.0.0.236/trunk@50114 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 19:32:39 +00:00
waterson%netscape.com
f958803974 Bug 13910. Make sure to update element map for XUL (as well as HTML) elements when changing 'id' or 'ref' attributes.
git-svn-id: svn://10.0.0.236/trunk@50099 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 10:09:17 +00:00
waterson%netscape.com
4bac26a215 Bug 13910. Make sure to add elements to the map by 'ref' attribute, as well.
git-svn-id: svn://10.0.0.236/trunk@50098 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 10:08:14 +00:00
rjc%netscape.com
1978802be8 Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50076 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 01:51:30 +00:00
vidur%netscape.com
f614c92aba Added document.width/document.height to nsIDOMNSDocument. Bug 961. R: troy
git-svn-id: svn://10.0.0.236/trunk@50007 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 20:33:58 +00:00
mgleeson1%netscape.com
210400fa8f r=waterson enums used in structs must be public members for HPUX
git-svn-id: svn://10.0.0.236/trunk@49986 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 18:56:03 +00:00
waterson%netscape.com
c4175bcb0e Fix incorrect use of CBufDescriptor that was causing persistence to flake.
git-svn-id: svn://10.0.0.236/trunk@49960 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 06:42:27 +00:00
waterson%netscape.com
58cd4c0ef8 Suppress assertions with context menus for now.
git-svn-id: svn://10.0.0.236/trunk@49959 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 06:40:06 +00:00
waterson%netscape.com
d48f50c349 Fix dumb leak.
git-svn-id: svn://10.0.0.236/trunk@49913 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 01:02:11 +00:00
kipp%netscape.com
53b538cfc8 Support SizeOf methods
git-svn-id: svn://10.0.0.236/trunk@49891 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:47:46 +00:00
waterson%netscape.com
495ac5394c Fix crasher when loading XUL in viewer and no localstore is present.
git-svn-id: svn://10.0.0.236/trunk@49876 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 22:22:40 +00:00
waterson%netscape.com
b4e6b84fea Bug 15301. Remove RDF graph from XUL content model construction. Landed XUL_19991005_BRANCH; see branch comments for detailed checkin information. r=shaver,hyatt.
git-svn-id: svn://10.0.0.236/trunk@49863 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 21:13:55 +00:00
norris%netscape.com
3c9599e418 Fix 15458 "onLoadHandler does not work"
Reviewed by mstoltz.


git-svn-id: svn://10.0.0.236/trunk@49796 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:08:14 +00:00
rjc%netscape.com
aa8041f54e 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
git-svn-id: svn://10.0.0.236/trunk@49541 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 04:07:55 +00:00
waterson%netscape.com
c795664edf Fuck. These went in onto the tip and were supposed to be on the branch. Backing out.
git-svn-id: svn://10.0.0.236/trunk@49532 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 03:04:08 +00:00
waterson%netscape.com
871f9e7535 Initial checkin on XUL_19990930_BRANCH, the RDF-ectomy. Single XUL documents hobbling along.
git-svn-id: svn://10.0.0.236/trunk@49530 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 03:01:22 +00:00
waterson%netscape.com
216fd4e10b Bug 13908. Add code to hook up 'forward observer declarations'. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@49393 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 02:32:34 +00:00
waterson%netscape.com
66b5b9d17e 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.
git-svn-id: svn://10.0.0.236/trunk@49046 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 16:29:22 +00:00
waterson%netscape.com
adfca74bf9 Fix mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@49001 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 20:39:26 +00:00
waterson%netscape.com
ce199baf45 Bug 14754. Support '.database' attribute on HTML elements. Fix ref='...' support for HTML templates. r=rjc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@48994 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 19:49:15 +00:00
waterson%netscape.com
898dd42e07 Bug 14752. Support '.database' attribute on HTML elements. Fix ref='...' support for HTML templates. r=rjc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@48993 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 19:49:12 +00:00
saari%netscape.com
ffd3eb70d8 A better fix for blocker #14464. Reviewed by Hyatt w. permission from leaf/choffman
git-svn-id: svn://10.0.0.236/trunk@48889 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 02:31:37 +00:00
law%netscape.com
95488ac240 Fixes for context menus; a=hyatt (I just pressed the keys he told me to :-)
git-svn-id: svn://10.0.0.236/trunk@48820 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 06:27:28 +00:00
waterson%netscape.com
1a717135f0 Bug 14273. We weren't recursively creating 'container' contents for HTML elements. Fixed that.
git-svn-id: svn://10.0.0.236/trunk@48700 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 00:54:05 +00:00
saari%netscape.com
ca9d9659f4 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.
git-svn-id: svn://10.0.0.236/trunk@48667 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 23:02:35 +00:00
rpotts%netscape.com
2ea714e45c The document LoadGroup is now a nsWeakPtr...
git-svn-id: svn://10.0.0.236/trunk@48532 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 06:44:56 +00:00
waterson%netscape.com
6f12e75e49 Fix bugs with computing containment.
git-svn-id: svn://10.0.0.236/trunk@48519 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 05:57:47 +00:00
waterson%netscape.com
00ee8f5c2a Comment out 'element already in map' warning for now.
git-svn-id: svn://10.0.0.236/trunk@48277 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 22:42:55 +00:00
waterson%netscape.com
a1dc65f736 Fix GetContentSink() to addref pointer on the way out thru XPCOM boundary. Hyatt: that's 20 XPCOM Hail Mary's for you.
git-svn-id: svn://10.0.0.236/trunk@48266 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 19:58:04 +00:00
rpotts%netscape.com
22e6b8be31 Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs.
git-svn-id: svn://10.0.0.236/trunk@48177 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 06:34:24 +00:00
slamm%netscape.com
27a7a15c77 Fix build warnings (rename 'tm' to 'value).
git-svn-id: svn://10.0.0.236/trunk@48157 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:15:00 +00:00
waterson%netscape.com
177de3d541 Bug 12649. Add support for 'parent' on <rule> tags.
git-svn-id: svn://10.0.0.236/trunk@48000 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:15:29 +00:00
waterson%netscape.com
d768a81fb7 Bug 13790. Okay, let's try that again, this time without the frills.
git-svn-id: svn://10.0.0.236/trunk@47913 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 04:29:53 +00:00
waterson%netscape.com
4a234d12a7 Fix nsCOMPtr sloppiness.
git-svn-id: svn://10.0.0.236/trunk@47910 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 04:13:19 +00:00
waterson%netscape.com
987fdb3e81 Back out changes that will cause bustage on some compilers.
git-svn-id: svn://10.0.0.236/trunk@47909 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 04:12:08 +00:00
waterson%netscape.com
fd4e9f3a20 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.
git-svn-id: svn://10.0.0.236/trunk@47904 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 04:01:46 +00:00
waterson%netscape.com
16632ee9c4 Fix HTML-rooted templates.
git-svn-id: svn://10.0.0.236/trunk@47628 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:08:37 +00:00
waterson%netscape.com
f0f6384861 Use nsCOMPtr for the controller.
git-svn-id: svn://10.0.0.236/trunk@47627 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:06:32 +00:00
slamm%netscape.com
2c9892e6c9 Fix build warnings.
git-svn-id: svn://10.0.0.236/trunk@47601 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 18:14:02 +00:00
harishd%netscape.com
73300f214c CreateXIF() and ToXIF() should return nsresult.
git-svn-id: svn://10.0.0.236/trunk@47598 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 17:57:55 +00:00
hyatt%netscape.com
ffb49d2988 Updating the nsIController interface.
git-svn-id: svn://10.0.0.236/trunk@47503 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 02:16:41 +00:00
hyatt%netscape.com
0f06e36bcb Fixing minor bug in command dispatcher.
git-svn-id: svn://10.0.0.236/trunk@47497 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 02:12:50 +00:00
waterson%netscape.com
c99d820bdb 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).
git-svn-id: svn://10.0.0.236/trunk@47420 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 22:36:55 +00:00
waterson%netscape.com
c03aa4aa67 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.
git-svn-id: svn://10.0.0.236/trunk@47419 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 22:34:05 +00:00
waterson%netscape.com
15fd08e6c5 Strip some dead code. Re-enable sorting.
git-svn-id: svn://10.0.0.236/trunk@47259 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 02:07:46 +00:00