tbogard%aol.net
67a365111c
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
...
git-svn-id: svn://10.0.0.236/trunk@53553 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 22:17:54 +00:00
tbogard%aol.net
9e4e911de1
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
...
git-svn-id: svn://10.0.0.236/trunk@53550 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 22:14:37 +00:00
rods%netscape.com
0fd71cf8f9
added the call DoneAddingContent for the select after it has been created.
...
r=dcone,bug 18784,16821
git-svn-id: svn://10.0.0.236/trunk@53508 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 15:11:33 +00:00
waterson%netscape.com
4f269a8b55
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
...
git-svn-id: svn://10.0.0.236/trunk@52948 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-08 19:07:13 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
waterson%netscape.com
3aed471de6
Bug 18058. Remove 'commandDispatcher' from interface; obsolete, and leaky. r=hyatt, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@52844 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 05:31:15 +00:00
waterson%netscape.com
ca247c028b
Bug 18058. Remove 'commandDispatcher' from interface; obsolete. r=hyatt, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@52843 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 05:30:56 +00:00
waterson%netscape.com
9530e8d060
Bug 17955. Don't unnecessarily add script event listeners to temporary nodes used for overlay hookup. r=hyatt, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@52793 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 19:43:43 +00:00
waterson%netscape.com
143a89ffc8
Bug 17847. Fix 'commandupdater' hookup for master document. r=hyatt, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@52790 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 18:37:58 +00:00
hyatt%netscape.com
4353fd2505
Partial fix for 17848. Part 1 of 2. 2nd part will be checked in by hangas. r=hangas, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@52766 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 01:59:04 +00:00
cls%seawood.org
3e1a9ca95a
Removed unused NECKO ifdefs.
...
a=leaf
git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
warren%netscape.com
1d1448afe5
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
...
git-svn-id: svn://10.0.0.236/trunk@52529 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 06:49:44 +00:00
waterson%netscape.com
df32caa941
Fix manky nsCOMPtr asserts.
...
git-svn-id: svn://10.0.0.236/trunk@52485 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 02:02:27 +00:00
waterson%netscape.com
9ba00de102
Bug 15146. Brutal sharing, Phase III. Turn on protoype, script, and style sheet caching. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@52453 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 01:14:07 +00:00
brendan%mozilla.org
f980be0221
(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.
git-svn-id: svn://10.0.0.236/trunk@52347 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-31 00:43:30 +00:00
troy%netscape.com
88c4d96e2c
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
git-svn-id: svn://10.0.0.236/trunk@52309 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 02:52:11 +00:00
waterson%netscape.com
6d0e00cdd4
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.
...
git-svn-id: svn://10.0.0.236/trunk@52160 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 01:21:15 +00:00
pepper%netscape.com
856f1ee86f
Added a newline to the end of file so that AIX and HP compilers are happy.
...
r=mgleeson
git-svn-id: svn://10.0.0.236/trunk@52134 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 22:17:43 +00:00
hyatt%netscape.com
4639154a7f
making the chrome registry work with dynamic overlays r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@51931 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 02:21:05 +00:00
waterson%netscape.com
95123cee1f
Bug 15146. Factor nsXULElement's members into prototype and optional 'slots' for heavyweight elements. r=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@51270 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 18:55:32 +00:00
tbogard%aol.net
b70777ae81
Removed the last of gimpy's warnings. r=gimpy.
...
git-svn-id: svn://10.0.0.236/trunk@51124 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 08:03:11 +00:00
warren%netscape.com
91a872ec09
Took out redundant MOZ_COUNT_CTOR/DTOR calls.
...
git-svn-id: svn://10.0.0.236/trunk@51007 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 19:21:53 +00:00
peterl%netscape.com
e8a5d2e937
Added namespace ID to the AttributeChanged notification
...
Part of the fix for Bug 15153
r=troy
git-svn-id: svn://10.0.0.236/trunk@50889 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:17:53 +00:00
rjc%netscape.com
9621ab20bf
Fix leak in nsXULSortService (found by Boehm GC). Also, remove CTOR_COUNT stuff. Review: waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@50798 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 06:27:02 +00:00
waterson%netscape.com
daa650308d
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.
...
git-svn-id: svn://10.0.0.236/trunk@50789 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 04:45:43 +00:00
hyatt%netscape.com
9259952dca
Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++)
...
git-svn-id: svn://10.0.0.236/trunk@50672 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 10:58:25 +00:00
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
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
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
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
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
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
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