Commit Graph

513 Commits

Author SHA1 Message Date
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
a6cbb8eb21 Add extra checking to ensure that FindChildByTag() succeeds before using value. 1999-05-08 08:39:47 +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
ae3a97a715 Create an html element factory to use to create html content objects instead of requiring rdf to link with the html dll 1999-05-06 19:28:45 +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
waterson%netscape.com
0e6d8ebdba Bug 5679. Fix leak from XPConnect glue. 1999-05-04 03:32:12 +00:00
waterson%netscape.com
fadbf6633e Bug 5741, part II. Need to be able to 'get the text' of a null node now, also. 1999-04-30 19:53:19 +00:00
waterson%netscape.com
b20db9e2b0 Bug 5741. Always create a text content node so that subsequent calls to set the cell's value work. r=hyatt,a=choffman. 1999-04-30 18:47:43 +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
rjc%netscape.com
789da023e2 Switch over to using nsISupportsArray instead of nsVoidArray to fix refcnt'ing issue with pulsing code. 1999-04-24 09:42:03 +00:00
sfraser%netscape.com
634d0ee855 Fix out param typo. 1999-04-24 05:53:00 +00:00
waterson%netscape.com
4dac3b7dc6 The Great Cursor Excorcism. Removed cursors in favor of enumerators. Misc updates to purge the xpidl stubs stuff in preparation for XPConnect. Details on RDF_19990422_BRANCH. 1999-04-24 02:41:02 +00:00
scc%netscape.com
9991958e76 s/false/0/ in my do-while 1999-04-23 19:03:01 +00:00
scc%netscape.com
5577a91851 added interfaces 1999-04-23 17:50:12 +00:00
akkana%netscape.com
a40feb09c3 Fixing linux build bustage 1999-04-23 17:15:58 +00:00
scc%netscape.com
47c014affa fixed type 1999-04-23 16:51:45 +00:00
scc%netscape.com
1291d03e17 added ability to create a XUL document from a stream; consequently factored some existing routines 1999-04-23 16:48:33 +00:00
scc%netscape.com
d9cf5c693d Adding new interfaces 1999-04-23 16:35:05 +00:00
scc%netscape.com
a2c61867c6 First Checked In. 1999-04-23 16:33:54 +00:00
rjc%netscape.com
857cea3cdf Checking in Scott Putterman's changes to use nsISupportsArray instead of a void array. 1999-04-23 08:32:42 +00:00
rickg%netscape.com
ad10a964e8 update to sync with nsString2 1999-04-22 06:06:17 +00:00
rjc%netscape.com
e125ca785d If a sort isn't initially imposed, just append new nodes onto end of container's child list. 1999-04-20 22:14:38 +00:00
rjc%netscape.com
617a5a1f40 When a sort order is imposed, try and insert new node(s) in the appropriate spot. 1999-04-20 20:26:13 +00:00
rickg%netscape.com
e1012f40b9 sync with nsString2 API 1999-04-20 07:20:21 +00:00
peterl%netscape.com
eaa19725ef sync to doc api change 1999-04-20 00:00:02 +00:00
waterson%netscape.com
4b759d3db0 Fixed null deref in nsXULAttribute::GetQualifiedName() -- handle the default namespace case. 1999-04-17 00:29:54 +00:00
waterson%netscape.com
40624a2fcc Bug 4614. Setting bookmark properties was asserting: removed benign assert and replaced with PR_LOG() message. 1999-04-17 00:23:28 +00:00
waterson%netscape.com
d8d4c56bd4 Bug 5182. Use whitespace instead of ## in NS_FORWARD macros. 1999-04-16 18:08:43 +00:00
waterson%netscape.com
2c542d876c Added .get()'s to fix Mac. 1999-04-16 08:44:47 +00:00
waterson%netscape.com
f490114e0d Implemented several new DOM methods, including document.createElement() and document.createTextNode(). Fixed some bugs in the XUL content model builder. Code re-organization and cleanup. 1999-04-16 08:38:17 +00:00
hyatt%netscape.com
2ff04a79a5 Oops. Not right fix. Backing out. 1999-04-16 07:41:35 +00:00
hyatt%netscape.com
c4deeea9f4 Fix for bug #5129. 1999-04-16 07:38:18 +00:00
waterson%netscape.com
cb7e7a95c4 Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to. 1999-04-14 23:06:22 +00:00
mcafee%netscape.com
b428da5338 PRBool-to-error-code double conversion. Conversion for AppendElement() happened in nsSupportsArray.h, we don't need to convert the usage here. 1999-04-14 07:15:11 +00:00
alecf%netscape.com
aeeb3e2d67 use the new nsQuickSort() function instead of the internal rdf_qsort 1999-04-14 03:28:49 +00:00
waterson%netscape.com
8874de1dc6 Fixed problem with HTML-nested-in-XUL-neseted-in-HTML. Removed unnecessary code that was #ifdef-ed out. 1999-04-12 20:16:32 +00:00
waterson%netscape.com
1bb2074567 Landed RDF_19990407_BRANCH, which includes changes to support the local store, support for namespace prefixes in DOM methods, and notifications. 1999-04-12 19:02:12 +00:00
rjc%netscape.com
e273cf26b6 Additional support for "live" containers. 1999-04-10 06:11:37 +00:00
hyatt%netscape.com
c4cd51ed9f Fixes for bugs 2620 and 3482. 1999-04-10 04:49:21 +00:00
waterson%netscape.com
540407e20f Bug 4618. Fix compilation problem on Solaris native compile. a=chofmann@netscape.com 1999-04-08 01:53:31 +00:00
waterson%netscape.com
5ccea15671 Modified to use NS_RDF_ASSERTION_ACCEPTED and NS_RDF_ASSERTION_REJECTED return codes (local store implementation). Added local store construction to each XUL hierarchical widget. 1999-04-07 06:29:14 +00:00
rjc%netscape.com
1d7232cb90 SetDocument(nsnull) is now valid, indicating document is going away. Timers are removed in this manner. 1999-04-07 00:27:40 +00:00
waterson%netscape.com
5b23e70508 Fixed incorrect use of nsCOMPtr. 1999-04-07 00:07:28 +00:00
rjc%netscape.com
bfe01b95a3 Timer changes. Preparation for timer to be destroyed when SetDocument(null). 1999-04-06 23:59:22 +00:00
waterson%netscape.com
407cd1df56 Use the 'real' local store. 1999-04-06 22:55:26 +00:00
waterson%netscape.com
cfa2d49dc8 Fixed a _big_ memory leak: circular reference between the document, content sink, and parser. Now the document releases the parser immediately after telling it to start parsing. 1999-04-06 07:48:21 +00:00
waterson%netscape.com
80fb2b4d81 Made nsXULAttribute implement nsIDOMAttr, and made nsXULAttributes implement nsIDOMNamedNodeMap. Updated the nsRDFElement accordingly, and implemented GetAttributes() and Set/GetAttributeNode(). 1999-04-06 06:40:31 +00:00
waterson%netscape.com
91118ec325 Added prtime to ensure PRTime gets defined. 1999-04-06 00:30:49 +00:00
rickg%netscape.com
da3cc3d299 update to new string api 1999-04-06 00:22:46 +00:00
rjc%netscape.com
763a1389bf Unset lastPulse attribute before updating it to the new value. 1999-04-06 00:20:58 +00:00
rjc%netscape.com
1a6315bd2c More fun with pulsing. Now check pulse interval and only pulse if interval has passed. 1999-04-06 00:14:53 +00:00
rjc%netscape.com
e7a9925a73 Small bug fix for non-debug builds. 1999-04-05 23:33:29 +00:00
rjc%netscape.com
0194c8fecc Add preliminary support for pulsing a container to see if its contents change. 1999-04-05 23:10:43 +00:00
hyatt%netscape.com
7a42fde013 key event support in handledomevent 1999-04-03 01:12:57 +00:00
waterson%netscape.com
84e1d1e012 Changed #ifdef DEBUG_waterson debug printfs to us PR_LOG(). Fixed a initialization-order warning on Unix. 1999-04-02 19:51:35 +00:00
waterson%netscape.com
4293358b74 Check to make sure that you have content in the doc before doing GetElementById(). (This was causing crash in SearchForNodeByID() -- thanks to law@netscape.com for the fix.) 1999-04-01 02:30:03 +00:00
vidur%netscape.com
60b09b8c97 Added epilog and prolog to document. 1999-03-31 20:49:42 +00:00
rjc%netscape.com
e16abf736b Fix crash when sorting on a column (due to change on how GetTarget() returns errors.) 1999-03-30 11:05:58 +00:00
waterson%netscape.com
99a0e395db Fixed GetTarget() to use new return codes. 1999-03-30 03:58:24 +00:00
waterson%netscape.com
95fe5b64f9 Changed RDF-specific errors to be success rather than error codes. 1999-03-30 02:30:16 +00:00
waterson%netscape.com
1675e0c378 Added code to initialize XPIDL JS stubs, added nsJSXULDocument into the build, temporarily added the rdf service as an attribute on the XUL document. 1999-03-30 00:38:16 +00:00
waterson%netscape.com
0cf17d4ce5 Landed RDF_19990326_BRANCH, scriptability changes. 1999-03-29 19:52:54 +00:00
joki%netscape.com
ef6d2b292d Removing assertion from HandleDOMEvent. New capture/bubble path passes through this func. 1999-03-29 02:29:43 +00:00
joki%netscape.com
e39e13cf18 Changing api uses in editor, rdf, and xpfe to match DOM2 api name/param changes. 1999-03-28 22:27:38 +00:00
ftang%netscape.com
9944eaeed5 add Set/GetWordBreaker to nsIDocument. reviewed and approved by waterson 1999-03-27 00:58:42 +00:00
ramiro%netscape.com
b07b79a055 Fix indiscriminate debug comment spewage. 1999-03-26 11:34:21 +00:00
briano%netscape.com
2f105ae044 Handle NO_STATIC_LIB being set, when all this file does is create a static library. 1999-03-25 21:10:22 +00:00
peterl%netscape.com
92aa94c345 set default attribute style hint to content 1999-03-25 06:32:09 +00:00
vidur%netscape.com
695fabe1b5 Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash. 1999-03-20 01:51:00 +00:00
rjc%netscape.com
dfbfd28db5 Remove const. 1999-03-19 01:56:21 +00:00
rjc%netscape.com
6bd92ecea0 When sorting (not natural order), first ask for a slightly modified target value. This allows a datasource to detect when a value is being asked for sorting purposes and can be smart... for example, a mail datasource could strip off the "Re:" on mail messages. 1999-03-19 01:52:18 +00:00
waterson%netscape.com
e1e2ae2c5e Bug 3978. Removed warning: it was silly. This happens all the time for HTML content in a XUL document. 1999-03-18 23:04:58 +00:00
hyatt%netscape.com
f015e3ae42 Fixes for the mouseover toolbar button problem. Approved by Chris. 1999-03-18 21:18:00 +00:00
waterson%netscape.com
4448c809b6 Fixed nsCOMPtr bustage. Friggin' windows compiler. 1999-03-18 21:03:01 +00:00
waterson%netscape.com
bd152bda2b Cleaned up code that mutates an element's ID, modulo bug 3971. 1999-03-18 20:46:02 +00:00
hyatt%netscape.com
d5989bccd6 Changes to fix the Bookmarks menu crashing problem. 1999-03-15 05:36:13 +00:00
hyatt%netscape.com
8a2617aabc Menus are much closer now. 1999-03-13 00:31:05 +00:00
hyatt%netscape.com
d3c5cc49f3 On the road to making the bookmarks menu work properly. 1999-03-13 00:08:25 +00:00
waterson%netscape.com
4666f0968a Bug 3529: re-rooting the tree. Added code in the generic content builder that notices changes to the 'id=' attribute and reconstructs the tree from a new resource when the object's identity is changed. Also, renamed the nsRDFGenericBuilder::IsWidgetElement() to IsFolderOrItem(), because that's what it's doing. 1999-03-12 22:20:34 +00:00
putterman%netscape.com
0cff9e55b8 comment out NS_ERROR in remove 1999-03-12 13:13:58 +00:00
waterson%netscape.com
fd6693c5a2 More nsCOMPtr bustage. !@$!%!@ Mac. 1999-03-12 10:29:11 +00:00
waterson%netscape.com
390be57079 Fixed nsCOMPtr bustage on Mac. 1999-03-12 10:24:42 +00:00
waterson%netscape.com
b258cdbea3 Added note on making fns virtual. 1999-03-12 10:09:51 +00:00
waterson%netscape.com
587c81faba Added precondition checks to DOM observer APIs. 1999-03-12 10:09:26 +00:00
waterson%netscape.com
2d87bf73bc Fixed bug with ambiguity that may occur in calls to RDFTreeBuilderImpl::RemoveWidgetItem(); implemented OnRemoveChild() DOM observer. 1999-03-12 10:09:07 +00:00
rjc%netscape.com
68ed3db323 Only set container='true' when something is really a container. 1999-03-12 08:49:26 +00:00
waterson%netscape.com
9948afecc3 Renamed IsWidgetProperty() to IsContainmentProperty(), added RemoveWidgetItem() call and hooked it up in the generic builder. 1999-03-12 08:13:14 +00:00
hyatt%netscape.com
816a74efd1 Changing the name of the include tag. 1999-03-12 05:22:19 +00:00
hyatt%netscape.com
eafe35fb02 XUL fragments live! 1999-03-12 05:21:25 +00:00
waterson%netscape.com
1289e9ff7b Use xul:titledbutton instead of xul:treeicon for now. 1999-03-11 23:59:26 +00:00
waterson%netscape.com
f55d2b7309 Fixed build: capitalization error. 1999-03-11 22:32:44 +00:00
hyatt%netscape.com
5fee22456d Adding in the new document info class and tweaking the builder so that
it knows how to use it.
1999-03-11 19:49:32 +00:00
hyatt%netscape.com
ae4febb7f6 Helper class for handling of XUL fragments. 1999-03-11 19:48:43 +00:00
rjc%netscape.com
b8e70b1743 Comment out NS_PRECONDITION on mDocument. 1999-03-11 12:07:49 +00:00
rjc%netscape.com
eb6bc84a7b Better, smarter sorting implementation. 1999-03-11 12:01:47 +00:00
hyatt%netscape.com
b2fa4f5976 Tweaks related to XUL fragments. 1999-03-10 23:31:26 +00:00
rjc%netscape.com
400bd8b309 Small sort fix. 1999-03-10 22:02:25 +00:00
waterson%netscape.com
814b4b5526 Added GetResource() to XULElement. 1999-03-10 20:20:52 +00:00
hyatt%netscape.com
dce8a87ab7 Working on XUL fragments. 1999-03-10 20:05:12 +00:00
waterson%netscape.com
c0948f0710 Added SetDataBase() implementation that'll set the database on the DOMXULNode. 1999-03-10 19:54:36 +00:00
mcafee%netscape.com
73bf3f79fd Solaris doesn't like the dangling semi-colon after NS_DECL_ISUPPORTS_INHERITED macro. 1999-03-10 10:52:50 +00:00
rjc%netscape.com
ee1810d07b Cast away! and changed a few .Equals() to now be .EqualsIgnoreCase() 1999-03-10 09:41:07 +00:00
waterson%netscape.com
6782447db0 Aggregate nsIDOMXULTreeElement interface onto nsRDFElement. Scriptability #ifdef-ed out. 1999-03-10 08:50:27 +00:00
waterson%netscape.com
306a085eb8 Added nsXULTreeBuilder to build. 1999-03-10 08:49:35 +00:00
waterson%netscape.com
a232bf2910 Added nsXULTreeElement to build. 1999-03-10 08:49:12 +00:00
waterson%netscape.com
82b8b77f3c Fix build bustage, not really sure what this is supposed to be doing. 1999-03-10 08:11:28 +00:00
waterson%netscape.com
118b7116cb Fixed header files to work outside the XPIDL world for now. 1999-03-10 07:12:42 +00:00
rjc%netscape.com
e4b04ae90f Small changes to sorting code to prepare for sorting on id attribute. 1999-03-10 07:07:10 +00:00
rjc%netscape.com
62c47142b8 Quick&dirty fix for natural position attribute hack. 1999-03-10 06:37:04 +00:00
waterson%netscape.com
8af4281695 Fixed my bad back-out. 1999-03-10 06:17:29 +00:00
waterson%netscape.com
040e629119 Landed on tip. 1999-03-10 05:37:31 +00:00
waterson%netscape.com
f40d38a0c6 Backed out addition of nsIDOMXULTreeElement: repository is horked. 1999-03-10 05:11:54 +00:00
waterson%netscape.com
e5be79299f Added nsIDOMXULTreeElement.g to exports. This is currently generated by a very special version of idlc. 1999-03-10 05:08:26 +00:00
waterson%netscape.com
65c794175c Added XULTreeElement to makefile, under !if. 1999-03-10 05:06:52 +00:00
waterson%netscape.com
828e9d1ad3 Added nsIStreamListener to #includes to try to fix gcc 2.7 bustage. 1999-03-10 05:05:27 +00:00
waterson%netscape.com
82f06c92a0 Initial revision. 1999-03-10 04:49:54 +00:00
hyatt%netscape.com
57b99a2554 Oops. Fixing build bustage. 1999-03-10 02:10:44 +00:00
hyatt%netscape.com
bf1ce3afd5 Landing the initial changes to support XUL fragments. 1999-03-10 01:37:31 +00:00
waterson%netscape.com
28ac6a50e7 Made sure to initialize rv to NS_OK. 1999-03-09 23:51:34 +00:00
hyatt%netscape.com
d5e32091fe Fixing a bug with selection in the tree view. 1999-03-09 21:58:06 +00:00
hyatt%netscape.com
b11125a802 Fixes to the broadcasters and observers. I made HTML elements work with
observes nodes, and I changed some SetAttribute calls to use the DOM
instead of the nsIContent APIs.
1999-03-09 19:30:41 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
waterson%netscape.com
e189c7d58b Fixed GetElementsByAttribute(): use the DOM APIs to be consistent with namespaces. 1999-03-09 08:10:50 +00:00
waterson%netscape.com
f13802c572 Made widget observer observe the composite data source. 1999-03-09 08:05:26 +00:00
waterson%netscape.com
3d2b42cfd9 Land Guha's history stuff, including some fixes for references in the file system data source, and modifications for literals: there's now nsIntLiteral and nsDateLiteral. 1999-03-09 04:01:56 +00:00
tague%netscape.com
0198976348 Fixed build bustage (lost const) 1999-03-08 21:02:35 +00:00
alecf%netscape.com
ac6500ef53 fix g++ -pedantic bustage 1999-03-08 20:18:53 +00:00
hyatt%netscape.com
a9089619ee Added the NS_NewRDFToolbarBuilder call to the header. 1999-03-07 23:21:18 +00:00
hyatt%netscape.com
96a3c5b43e Changes to the builder APIs to distinguish folder items from leaf
items (although we're not quite there yet).
1999-03-07 23:18:26 +00:00
hyatt%netscape.com
ce65cb0e92 Adding the toolbar builder to Windows and Linux makefiles. 1999-03-07 23:17:01 +00:00
hyatt%netscape.com
a64fcfbefe The RDF toolbar builder (for constructing RDF toolbars like the Personal Toolbar). 1999-03-07 23:16:37 +00:00
hyatt%netscape.com
a456660fc9 Changing the natural order pos name to match the function conventions. 1999-03-07 10:52:42 +00:00
hyatt%netscape.com
7d2660158d Again. 1999-03-07 10:49:26 +00:00
hyatt%netscape.com
ef5e2a36f7 Fixing build bustage. 1999-03-07 10:48:58 +00:00
hyatt%netscape.com
46ce115cef Declaring some classes so that the compilers are happy again. 1999-03-07 10:41:00 +00:00
hyatt%netscape.com
d07f18b7a8 The modified tree builder. 1999-03-07 10:30:42 +00:00
hyatt%netscape.com
e7388bbb7f Landing the menu builder for real. The bookmarks menu lives (well, sort of). 1999-03-07 10:28:42 +00:00
hyatt%netscape.com
1c6831d2b8 First stab at the menu builder. It doesn't know how to build popup menus
yet. We'll need to work on that one.
1999-03-07 10:00:13 +00:00
rjc%netscape.com
a23baf95a7 More support for column sorting. 1999-03-07 09:44:38 +00:00
hyatt%netscape.com
3dbf66b81d A base class for factoring out the common functionality that exists
among builders.  (To be used by the tree, toolbar, and menu builders
at the very least.)
1999-03-07 08:12:48 +00:00
warren%netscape.com
061e28870c Fixing someone's RDF breakage. 1999-03-06 04:12:56 +00:00
rjc%netscape.com
8f7b62e778 Its a good thing to compile nsXULSortService.cpp, isn't it? (cyeh is making the same change to Makefile.win after verifying the fix.) 1999-03-06 04:05:38 +00:00
hyatt%netscape.com
f2a3f53d00 onchange handler implemented for observes nodes. 1999-03-06 01:19:13 +00:00
rjc%netscape.com
b334a3cdd2 Small cleanup to nsXULSortService. 1999-03-06 00:11:14 +00:00
hyatt%netscape.com
97609c195b More tweaks to broadcasters. 1999-03-05 23:53:01 +00:00
rjc%netscape.com
3d90c3e2e4 First Checked In. 1999-03-05 23:51:41 +00:00
rjc%netscape.com
4a9419bdf8 nsXULSortService implementation: XUL sort functionality. 1999-03-05 23:51:13 +00:00
hyatt%netscape.com
2db952a359 Fixed a memory leak in the broadcasters. 1999-03-05 23:08:34 +00:00
hyatt%netscape.com
7753b2555c Changes to broadcasters. 1999-03-05 22:43:02 +00:00
hyatt%netscape.com
949a79c6f8 Changing the broadcaster methods to take DOM elements instead of DOM
nodes.
1999-03-05 22:37:24 +00:00
hyatt%netscape.com
0e55c2e4c9 Cleaning up some code. 1999-03-05 22:33:27 +00:00
hyatt%netscape.com
ba8e075863 Fixes to enable getElementById to work with HTML elements. 1999-03-05 20:30:13 +00:00
rjc%netscape.com
49735684c7 Changes to autoregister the file system datasource (broken due to Warren's earlier changes.) 1999-03-05 03:22:51 +00:00
hyatt%netscape.com
9ecbed5316 Fix for the Mac crash. 1999-03-05 00:20:10 +00:00
hyatt%netscape.com
4920fe00ea Regenerated the IDL for the XUlDocument. Changed getElementById to return
an element (and to have a lowercase d) for consistency with the HTML document
method of the same name.
1999-03-05 00:02:00 +00:00
hyatt%netscape.com
7eb40f9c2d Many bug fixes to the RDF content model including namespace changes and
style support.
1999-03-05 00:01:26 +00:00
hyatt%netscape.com
c7503b0018 Modified the makefiles to handle the new XUL attribute class. 1999-03-05 00:00:56 +00:00
hyatt%netscape.com
9e951476a4 Committing the new attribute class for the handling of XUL attributes. 1999-03-05 00:00:40 +00:00
hyatt%netscape.com
2ca7d30e03 generic attribute is going away in favor of a XUL-specific attribute class. 1999-03-04 23:59:57 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
waterson%netscape.com
509aec2de6 Cleaned up OnSetAttribute() and OnRemoveAttribute() to only listen on elements in the tree. Special-cased the 'open' attribute on a xul:treeitem to construct and destroy treechildren as its value is set and unset. 1999-03-03 08:10:20 +00:00
waterson%netscape.com
4d5513faaf Cleaned up OnSetAttribute() and OnRemoveAttribute() to only listen on elements in the XUL document. Renamed the 'contentsgenerated' attribute to 'xulcontentsgenerated' to differentiate from the tree builder's stuff. Made this actually work. 1999-03-03 08:09:21 +00:00
waterson%netscape.com
c9a1447694 Removed tree-specific open and close code. This is now in the nsRDFTreeBuilder, where it belongs. 1999-03-03 08:07:10 +00:00
hyatt%netscape.com
1d7617de7f More fixes to make sure the right attribute namespace is being used. 1999-03-03 01:38:32 +00:00
hyatt%netscape.com
1fec664a60 Fixes so that attributes are set correctly. 1999-03-03 01:26:33 +00:00
hyatt%netscape.com
8e035eada0 Fixes to attributes so that they are properly added in with a namespace of
NONE.
1999-03-03 01:17:29 +00:00
scc%netscape.com
b81fb21272 fixed for nsCOMPtr: no construction or assignment from raw COM interface pointers 1999-03-02 22:27:46 +00:00
waterson%netscape.com
b29d87820d Added code to spy on the xul:open attribute; we now force content construction when a node is opened and release the children when it is closed. 1999-03-02 07:34:32 +00:00
waterson%netscape.com
9277c3e7c6 Create cell children _before_ adding the tree row to the tree. Removed unnecessary calls to FindTreeElement() where just using mRoot would do. 1999-03-02 07:33:45 +00:00
rjc%netscape.com
f8b4395e6d ChildAt(0) can return NULL, so check for it! 1999-03-02 04:07:10 +00:00
rjc%netscape.com
67406839f2 Fix array offset. 1999-03-02 04:05:10 +00:00
rjc%netscape.com
fc48a280d7 Bug fix: Sort on all child nodes. 1999-03-02 02:17:16 +00:00
waterson%netscape.com
8e1cdfed42 Fixed sloppiness with nsCOMPtr's that Win32 compiler didn't pick up. 1999-03-02 01:47:18 +00:00
waterson%netscape.com
77ce2f7f0d Whoops. Fixed a misnamed header file that Unix case-sensitiveness busts on. 1999-03-02 01:40:41 +00:00
waterson%netscape.com
7e429d1398 Added DOM observer stubs. Modified tree property lookup (now called 'containment') to look up the tree for a special tag. Modified generation code to only produce children for 'open' nodes. 1999-03-02 01:37:10 +00:00
waterson%netscape.com
a1f983b736 Removed spurious comment. 1999-03-02 01:33:49 +00:00
peterl%netscape.com
006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
waterson%netscape.com
c1fa9721d0 Bug 3302. Fixed DOM calls to effect (more or less) the right change on the content model, modulo Bug 3275. This was causing asserts to fire whenever you called SetAttribute(). 1999-02-26 03:02:19 +00:00
waterson%netscape.com
7dc1429c56 Improved SplitAttribute() to return kNameSpaceID_None if it finds a tag but can't determine the namespace. 1999-02-26 02:09:48 +00:00
waterson%netscape.com
d5ca0e3c3b Added support for <xul:treebody xul:id=...> 1999-02-25 18:37:27 +00:00
waterson%netscape.com
ab8c628386 Improved tag matching so that it doesn't assume XUL namespace. Added nsIXMLContent methods in anticipation of someday getting real namespace scoping right. See http://bugzilla.mozilla.org/show_bug.cgi?id=3275 for more info. 1999-02-25 17:15:57 +00:00
brade%netscape.com
d8e044b8da remove extra comma to reduce compiler warnings on Macintosh 1999-02-25 15:39:50 +00:00
hyatt%netscape.com
15eef1e48f Fixes to getElementsByTagName to avoid returning nodes that aren't elements. 1999-02-25 02:58:11 +00:00
waterson%netscape.com
bc0bd2e68a Fixed some refcounting bugs with atoms. 1999-02-24 04:46:47 +00:00
kipp%netscape.com
08258b786c Fixed crash bug where unitialized index would sometimes crash; also increment index in loop so that it terminates 1999-02-24 04:34:54 +00:00
hyatt%netscape.com
790a8f48ef Fixing the case of the ID atom (it should have been lower case). 1999-02-24 02:58:47 +00:00
hyatt%netscape.com
9f0be779bd Fixing the multiple observer crash. 1999-02-24 02:18:35 +00:00
waterson%netscape.com
c60c67adc4 Made sure to add a named reference to the event handlers. a=sar%netscape.com for checkin during closed tree. 1999-02-24 00:01:26 +00:00
warren%netscape.com
01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
ftang%netscape.com
02b8de88ba add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson 1999-02-23 03:31:26 +00:00
hyatt%netscape.com
3ec6d9980a Touched the files auto-generatedb y the IDL. Also implemented getElementByAttribute
for documents and for elements.
1999-02-23 02:40:51 +00:00
hyatt%netscape.com
44b38bcc70 Touched the headers that are auto-generated from the IDL. 1999-02-23 02:40:26 +00:00
hyatt%netscape.com
0ab7a2cf6a Adding a getElementsByAttribute method. 1999-02-23 02:40:06 +00:00
hyatt%netscape.com
cce636c002 Re-enabling event handlers. 1999-02-22 19:05:30 +00:00
beard%netscape.com
0109305bc4 backed out build bustage change 1999-02-20 04:43:53 +00:00
hyatt%netscape.com
a1739b9b8a Implementing event handlers on XUL nodes. 1999-02-20 01:59:45 +00:00
mcafee%netscape.com
0bc7b91473 Solaris: Adding do_QueryInterface() wrapper to finish scc's nsCOMPtr carpool. 1999-02-19 03:46:06 +00:00
scc%netscape.com
b8df1ed8b0 updated for nsCOMPtr; owners should check my changes to see if they agree with my choices for |do_QueryInterface| vs |dont_QueryInterface| 1999-02-19 02:56:00 +00:00
rjc%netscape.com
d8662169f4 Remove nsComPtr usage (due to Unix). 1999-02-19 00:19:42 +00:00
rjc%netscape.com
efce1fd313 Now call rdf_qsort on all platforms. 1999-02-18 22:55:02 +00:00
rjc%netscape.com
56bf6d2a08 Needed to const strings. 1999-02-18 22:45:26 +00:00
rjc%netscape.com
5111af2d2a Comment out error while I investigate. 1999-02-18 22:34:25 +00:00
rjc%netscape.com
e5ce27d6da Add simple, preliminary way of doing sorting. (Note: using our own local version of qsort due to API changes.) 1999-02-18 22:29:16 +00:00
hyatt%netscape.com
d724898a78 Improvements to the broadcasting mechanism so that HTML nodes can properly
observe XUL broadcasters.
1999-02-18 21:45:06 +00:00
hyatt%netscape.com
4ee9124f11 Improvements to the document getElementByID method. 1999-02-18 05:03:20 +00:00
waterson%netscape.com
41ae4390f6 Implemented most of the rest of the DOM observer methods. 1999-02-18 02:02:48 +00:00
waterson%netscape.com
edc0ab7eab Fixed bug where we were generating HTML kids for each attribute that we iterated over. 1999-02-18 00:25:06 +00:00
hyatt%netscape.com
b75b92a353 Implemented more DOM methods to get apprunner working with XUL files. 1999-02-17 22:32:40 +00:00
hyatt%netscape.com
e104f8301f Finishing the broadcaster work (at least for now). 1999-02-17 19:35:53 +00:00
hyatt%netscape.com
d7af57a96b More tweaks to the broadcasting stuff. 1999-02-17 18:58:05 +00:00
hyatt%netscape.com
f98e5b9fdd Implemented brain-dead tree walk in GetElementByID. 1999-02-17 18:46:23 +00:00
hyatt%netscape.com
042038acc1 Checking in code that does the broadcaster hookup. 1999-02-17 18:33:33 +00:00
waterson%netscape.com
d05a1b9db3 Added nsIDOMElementObserver interface, implemented OnSetAttribute(). Fixed so that a shared namespace manager is held. 1999-02-17 11:57:57 +00:00
waterson%netscape.com
1f97c263f8 Implemented nsIDOMElement::GetAttribute(). 1999-02-17 11:56:44 +00:00
waterson%netscape.com
24b3945071 Added nsIDOMElementObserver interface to QI. 1999-02-17 11:56:15 +00:00
waterson%netscape.com
d69f284086 Landed RDF_19990217_BRANCH. This includes a bunch of changes to get XUL scriptability up and running; also, nsRDFResourceElement and nsRDFGenericElement have been collapsed into a single class, and most of the state has been turned into attributes on the class. 1999-02-17 11:09:57 +00:00
waterson%netscape.com
ca621b1215 Create RDF_19990217_BRANCH from RDF_DOM_19990216_BRANCH to pick up nsCOMPtr changes before doing major whackage. 1999-02-17 08:17:50 +00:00
scc%netscape.com
31db609cb4 changes for nsCOMPtr 1999-02-17 05:45:31 +00:00
mcafee%netscape.com
221280d06c Adding do_QueryInterface() wrapper for nsCOMPtr carpool 1999-02-17 02:31:01 +00:00
waterson%netscape.com
a42425658b Landed RDFDOM_19990215_BRANCH. Began implementing DOM-to-RDF functionality. 1999-02-16 19:30:04 +00:00
hyatt%netscape.com
c3913b0ae7 Added the sync-up when the broadcast listener first gets added. 1999-02-16 07:57:55 +00:00
troy%netscape.com
0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00