Commit Graph

762 Commits

Author SHA1 Message Date
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
tbogard%aol.net
124f772cd1 Adding support for retrieving the EditorShell from editor element. r=hyatt 1999-10-15 21:07:27 +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
ftang%netscape.com
850606d07a landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +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
saari%netscape.com
96ce14e798 Helping to fix M10 bug 14464 a: chofmann r: akkana Tested on Mac, Win, and Linux. 14464 requires other checkins to be fully fixed. 1999-09-29 00:49:11 +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
ff552aaad0 Make sure <keyset> tags are only hooked up when in the XUL namespace. Add an assertion if HTML element creation fails. 1999-09-22 01:22:42 +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
075228bc9f Ok, so hyatt has a better way to do his frame hack. whatever. 1999-09-20 07:33:25 +00:00
waterson%netscape.com
7cf03a4280 Increase utility of 'cannot load datasource' message; special-case skip 'rdf:null'. 1999-09-19 22:51:15 +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
3d51db0087 Whack out a bunch of dead code; add automatic 'id' attributes on html:frame and html:iframe tags (in preparation for some context menu magic by hyatt). 1999-09-16 04:19:46 +00:00
briano%netscape.com
49a9c60d81 General cleanup. 1999-09-15 23:36:43 +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
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
dc3011656b Add some commentary. 1999-09-14 02:01:33 +00:00
waterson%netscape.com
360dad7171 Fix comma at end of enumerator list. 1999-09-13 22:07:25 +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
saari%netscape.com
bceef857df Reworking of keybinding code for better efficiency, and fixed a few bugs too 1999-09-10 23:13:19 +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
waterson%netscape.com
ffbf1363d9 Fix hidden form element which I whacked out while being a bit over-zealous. 1999-09-08 08:28:14 +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
waterson%netscape.com
1d0ece4718 Gut the XUL builder. Build all XUL content up front. Remove 'id' attributes on anonymous nodes (except inside <template>s), remove 'lazycontent' attributes, 'xulcontentsgenerated' attributes. 1999-09-08 07:23:05 +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
waterson%netscape.com
22bff65eea Add nsIXULContentUtils. 1999-09-06 22:24:21 +00:00
waterson%netscape.com
22f68c9558 Move APIs to create 'anonymous' resources into the RDF service. Fix stuff that was using it. 1999-09-06 19:35:41 +00:00
beard%netscape.com
21a954a42e Temporary hack fix to keep native widgets working. 1999-09-05 17:21:33 +00:00
bruce%cybersight.com
4921b1d83b Use nsAllocator for char* data. 1999-09-04 13:59:52 +00:00
saari%netscape.com
5feefa7589 Adding support for full keyboard to XUL keybinds 1999-09-04 01:25:55 +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
ff4f3a9ad4 Stomach ill XUL that uses namespaces without declaring them. 1999-09-03 16:52:34 +00:00
waterson%netscape.com
68981b46fa Change to use xul:tag instead of rdf:type as the meta-attribute that gets an element's tag info thru the graph. This was clashing with other 'normal' uses of rdf:type, and was working because of, er, another bug which I fixed by centralizing the namespace/attribute munging code. 1999-09-03 08:59: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
waterson%netscape.com
6e82604958 Add another routine for munging a namespace/attribute pair to a resource. 1999-09-03 08:56:56 +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
waterson%netscape.com
a996d7fb19 Centralize the place from whence we whack namespace/attribute pairs into RDF properties. 1999-09-03 07:01:07 +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