Commit Graph

718 Commits

Author SHA1 Message Date
rjc%netscape.com
26f1eadc42 More cleanup on nsXULSortService (more nsCOMPtr usage, more C++ usage, etc.) Also, begin to add support for collation keys.
git-svn-id: svn://10.0.0.236/trunk@31421 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 08:25:12 +00:00
rjc%netscape.com
e8b58d3be9 Add support for any node attribute that wants to bind its value to RDF by looking it up in the graph.
git-svn-id: svn://10.0.0.236/trunk@31419 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 08:02:19 +00:00
warren%netscape.com
fe7d7e2e69 Fixed nsICollection (and Count in particular) to be xpidl friendly.
git-svn-id: svn://10.0.0.236/trunk@31413 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:56:04 +00:00
vidur%netscape.com
08d2fd838f Added GetContentType method to nsIDocument interface.
git-svn-id: svn://10.0.0.236/trunk@31129 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:22:52 +00:00
mcafee%netscape.com
a3948e9888 Renaming nsQuickSort to NS_QuickSort so it doesn't look like a class name. r=brendan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@30913 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 06:47:04 +00:00
rjc%netscape.com
3b7a54410b Yet another shot at fixing another Unix pedantic issue.
git-svn-id: svn://10.0.0.236/trunk@30853 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 21:47:49 +00:00
rjc%netscape.com
f43e3e4bc8 Try fixing another Unix pedantic issue.
git-svn-id: svn://10.0.0.236/trunk@30848 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 21:07:18 +00:00
rjc%netscape.com
3cf8a000fa Fix Unix pedantic issue. (hopefully)
git-svn-id: svn://10.0.0.236/trunk@30840 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 20:22:41 +00:00
rjc%netscape.com
76e7bc78ef 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!)
git-svn-id: svn://10.0.0.236/trunk@30815 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 10:29:24 +00:00
rjc%netscape.com
8294ed32ec Don't compare nsCOMPtrs against nsnull.
git-svn-id: svn://10.0.0.236/trunk@30764 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:24:09 +00:00
rjc%netscape.com
ca7523bd75 First cut at adding template and rule support for XUL builders.
git-svn-id: svn://10.0.0.236/trunk@30756 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:20:33 +00:00
briano%netscape.com
c6b465dd0b Converted 'true' to 'PR_TRUE' so it'll build on Unix.
git-svn-id: svn://10.0.0.236/trunk@30670 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:17:30 +00:00
kipp%netscape.com
f55848dfdd Use DOM api's instead of layout private api's
git-svn-id: svn://10.0.0.236/trunk@30565 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:28:22 +00:00
kipp%netscape.com
ce6a83b907 Use component manager to create a css parser
git-svn-id: svn://10.0.0.236/trunk@30564 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:28:09 +00:00
waterson%netscape.com
41cc6167ab Fix compiler warnings. Make -pedantic build again.
git-svn-id: svn://10.0.0.236/trunk@30520 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:34:07 +00:00
rjc%netscape.com
5cdb033229 Add some small NULL checks.
git-svn-id: svn://10.0.0.236/trunk@30472 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:38:54 +00:00
waterson%netscape.com
d506a5f16d Bug 5853. Fix vanishing bookmark titles problem: need to re-query graph on update.
git-svn-id: svn://10.0.0.236/trunk@30345 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:10:25 +00:00
waterson%netscape.com
d51715beba Factor interfaces into individual .idl files.
git-svn-id: svn://10.0.0.236/trunk@30344 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:09:50 +00:00
hyatt%netscape.com
3c8e3170b8 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.


git-svn-id: svn://10.0.0.236/trunk@30282 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:32:25 +00:00
pinkerton%netscape.com
03c53644f7 pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come).
git-svn-id: svn://10.0.0.236/trunk@29831 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 09:04:36 +00:00
waterson%netscape.com
e4f74333e1 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
git-svn-id: svn://10.0.0.236/trunk@29748 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:46:53 +00:00
rjc%netscape.com
5693ac5bf8 Add some more nsCOMPtrs to fix leakage.
git-svn-id: svn://10.0.0.236/trunk@29732 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 07:03:11 +00:00
waterson%netscape.com
63f53e5f92 Fix leak of composite datasource on each sort.
git-svn-id: svn://10.0.0.236/trunk@29717 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:23:21 +00:00
waterson%netscape.com
5210d5029d Fixed the text of a debug log message.
git-svn-id: svn://10.0.0.236/trunk@29674 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:19:28 +00:00
ftang%netscape.com
93bada68b4 change S/GetDocumentCharacterSet method for nsIDocument interface.
git-svn-id: svn://10.0.0.236/trunk@29531 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 21:49:25 +00:00
waterson%netscape.com
7eedc74b98 Land RDF_19990426_BRANCH, which extracted some static C++ routines for manipulating RDF containers into bona fide interfaces.
git-svn-id: svn://10.0.0.236/trunk@29401 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 05:54:18 +00:00
waterson%netscape.com
16abbc02b8 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.
git-svn-id: svn://10.0.0.236/trunk@29400 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 05:53:53 +00:00
rjc%netscape.com
4823d3169a Remove debugging crap.
git-svn-id: svn://10.0.0.236/trunk@29392 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 05:12:10 +00:00
rjc%netscape.com
d791876237 Added support for smart-sorting, whereby for example in bookmarks, when sorting on the name column, we'll sort in-between separators.
git-svn-id: svn://10.0.0.236/trunk@29340 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 02:28:12 +00:00
rjc%netscape.com
6713b7d13b More change for nsISupportsArray usage.
git-svn-id: svn://10.0.0.236/trunk@29329 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 01:48:37 +00:00
sfraser%netscape.com
2b4d2451e5 Fix out param typo.
git-svn-id: svn://10.0.0.236/trunk@29039 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 05:53:00 +00:00
waterson%netscape.com
af8c84cb7c 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.
git-svn-id: svn://10.0.0.236/trunk@29017 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:41:02 +00:00
scc%netscape.com
b2e4dd6105 s/false/0/ in my do-while
git-svn-id: svn://10.0.0.236/trunk@28904 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:03:01 +00:00
scc%netscape.com
da825a470c added ability to create a XUL document from a stream; consequently factored some existing routines
git-svn-id: svn://10.0.0.236/trunk@28862 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:48:33 +00:00
rjc%netscape.com
4cc70a8b0d Checking in Scott Putterman's changes to use nsISupportsArray instead of a void array.
git-svn-id: svn://10.0.0.236/trunk@28824 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 08:32:42 +00:00
rickg%netscape.com
a44ce26f8d update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28673 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:06:17 +00:00
rjc%netscape.com
beaab15218 If a sort isn't initially imposed, just append new nodes onto end of container's child list.
git-svn-id: svn://10.0.0.236/trunk@28334 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:14:38 +00:00
rjc%netscape.com
b2d072c3d3 When a sort order is imposed, try and insert new node(s) in the appropriate spot.
git-svn-id: svn://10.0.0.236/trunk@28302 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:26:13 +00:00
peterl%netscape.com
9a77dd80f1 sync to doc api change
git-svn-id: svn://10.0.0.236/trunk@28161 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:00:02 +00:00
waterson%netscape.com
6f1b18f9c7 Fixed null deref in nsXULAttribute::GetQualifiedName() -- handle the default namespace case.
git-svn-id: svn://10.0.0.236/trunk@27962 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:29:54 +00:00
waterson%netscape.com
47e61d5870 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.
git-svn-id: svn://10.0.0.236/trunk@27838 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:38:17 +00:00
waterson%netscape.com
78230e652c Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to.
git-svn-id: svn://10.0.0.236/trunk@27474 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 23:06:22 +00:00
mcafee%netscape.com
a523819f28 PRBool-to-error-code double conversion. Conversion for AppendElement() happened in nsSupportsArray.h, we don't need to convert the usage here.
git-svn-id: svn://10.0.0.236/trunk@27453 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 07:15:11 +00:00
alecf%netscape.com
7bb1a9841d use the new nsQuickSort() function instead of the internal rdf_qsort
git-svn-id: svn://10.0.0.236/trunk@27445 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 03:28:49 +00:00
waterson%netscape.com
78d80b85dd Landed RDF_19990407_BRANCH, which includes changes to support the local store, support for namespace prefixes in DOM methods, and notifications.
git-svn-id: svn://10.0.0.236/trunk@27169 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 19:02:12 +00:00
hyatt%netscape.com
ef3e70d2a4 Fixes for bugs 2620 and 3482.
git-svn-id: svn://10.0.0.236/trunk@26965 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 04:49:21 +00:00
waterson%netscape.com
83b256efb0 Bug 4618. Fix compilation problem on Solaris native compile. a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@26776 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 01:53:31 +00:00
waterson%netscape.com
f13f05f02e 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.
git-svn-id: svn://10.0.0.236/trunk@26716 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:29:14 +00:00
rjc%netscape.com
573cc8216d SetDocument(nsnull) is now valid, indicating document is going away. Timers are removed in this manner.
git-svn-id: svn://10.0.0.236/trunk@26625 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:27:40 +00:00
waterson%netscape.com
b2589547a3 Fixed incorrect use of nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@26613 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:07:28 +00:00