Commit Graph

1279 Commits

Author SHA1 Message Date
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
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
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
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
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
rickg%netscape.com
da3cc3d299 update to new string api 1999-04-06 00:22:46 +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
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
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
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
b258cdbea3 Added note on making fns virtual. 1999-03-12 10:09:51 +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
eafe35fb02 XUL fragments live! 1999-03-12 05:21:25 +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
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
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
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
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
waterson%netscape.com
040e629119 Landed on tip. 1999-03-10 05:37:31 +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
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
e7388bbb7f Landing the menu builder for real. The bookmarks menu lives (well, sort of). 1999-03-07 10:28:42 +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
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
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
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
9e951476a4 Committing the new attribute class for the handling of XUL attributes. 1999-03-05 00:00:40 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +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
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
rjc%netscape.com
f8b4395e6d ChildAt(0) can return NULL, so check for it! 1999-03-02 04:07:10 +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
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
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
a1739b9b8a Implementing event handlers on XUL nodes. 1999-02-20 01:59:45 +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
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
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
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
a42425658b Landed RDFDOM_19990215_BRANCH. Began implementing DOM-to-RDF functionality. 1999-02-16 19:30:04 +00:00
troy%netscape.com
0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl%netscape.com
7f04fb00e6 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
akkana%netscape.com
7982a421d6 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
waterson%netscape.com
8e47728941 Fixed nsISelection bustage. 1999-02-10 19:39:29 +00:00
waterson%netscape.com
18f49c102e Whacked to get RDF/XUL working right, with local content mderged in. 1999-02-09 03:15:41 +00:00
waterson%netscape.com
6644cf58c5 Obsoleted. 1999-01-12 19:42:36 +00:00
vidur%netscape.com
d63e315360 Added new namespace/attribute parsing methods to nsIContent 1999-01-12 16:38:28 +00:00
waterson%netscape.com
086f25dbe1 Initial revision. (Not yet in the build.) 1999-01-12 05:32:30 +00:00
waterson%netscape.com
379ac6d48b Added LXR comments. 1999-01-05 21:57:59 +00:00
waterson%netscape.com
78fa98a324 Landed RDF_122898_BRANCH onto the trunk. 1999-01-05 03:53:15 +00:00
waterson%netscape.com
374a53ba9d Fixed CID header file. 1998-12-24 06:33:16 +00:00
waterson%netscape.com
6a227c1d03 Initial revision. Separated from mozilla/rdf/include. Not yet in the build. 1998-12-24 05:07:14 +00:00