Commit Graph

718 Commits

Author SHA1 Message Date
waterson%netscape.com
f23241ce64 Fix use of nsString with nsAutoString where appropriate.
git-svn-id: svn://10.0.0.236/trunk@36728 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 21:19:02 +00:00
waterson%netscape.com
fc77a5b645 Land RDF_19990617_BRANCH. Add Change() and Move() methods to nsIRDFDataSource; add OnChange() and OnMove() methods to nsIRDFObserver. Factor nsIRDFDatasource::Init() and ::Flush() into nsIRDFRemoteDataSource. Change ownership model s.t. a datasource reference counts its observers.
git-svn-id: svn://10.0.0.236/trunk@36637 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 00:22:58 +00:00
hyatt%netscape.com
4ba95a1c30 Fix for 8735.
git-svn-id: svn://10.0.0.236/trunk@36529 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 07:21:11 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
hyatt%netscape.com
d6494b515f Landing the tree widget branch.
git-svn-id: svn://10.0.0.236/trunk@36435 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:02:21 +00:00
rjc%netscape.com
bd911642f5 Clean up.
git-svn-id: svn://10.0.0.236/trunk@36041 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 10:46:47 +00:00
rjc%netscape.com
d8c8aa4009 Turn on.
git-svn-id: svn://10.0.0.236/trunk@36037 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 09:22:17 +00:00
rjc%netscape.com
6211631fdc Conditionalize.
git-svn-id: svn://10.0.0.236/trunk@36036 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 09:12:35 +00:00
rjc%netscape.com
675ad43fc0 OnAssert() and OnUnassert() now understand if the contents were generated by a XUL template and, if so, try to do the right thing.
git-svn-id: svn://10.0.0.236/trunk@36035 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 08:59:14 +00:00
rjc%netscape.com
5d502799df When building a subtree from a template, nodes are now unique until we find one with the "uri='...'" attribute set.
git-svn-id: svn://10.0.0.236/trunk@35973 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-20 09:11:25 +00:00
rjc%netscape.com
04bb11a37a Fix bug #8465 by starting at the parent of the node which is about to be inserted when looking for the "ignore" attribute. Also, save the "id" of the template node used to create node... in preparation for getting onAssert() and onUnassert() working fully with templates.
git-svn-id: svn://10.0.0.236/trunk@35970 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-20 05:45:40 +00:00
waterson%netscape.com
2154dd2d78 Bugs 8453, 8401, 7222. DOM 'insertBefore()' was hopelessly broken, lots of bugs causing random things to happen in the zombie pool.
git-svn-id: svn://10.0.0.236/trunk@35955 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-20 00:22:33 +00:00
valeski%netscape.com
4fa4e2e84d NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
waterson%netscape.com
e3c8d71a01 Bug 3440. Annotate node on 'close' to ensure XUL builder re-runs when the node is opened again. r=rjc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@35823 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 22:08:21 +00:00
waterson%netscape.com
a1126bff88 Bug 8221. Fix false positive on the leak grep radar.
git-svn-id: svn://10.0.0.236/trunk@35813 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:49:05 +00:00
waterson%netscape.com
8bc32bab29 When destroying an RDFElement, call SetParent(nsnull) on each of its children so that there aren't any dangling reference back to us (should a child leak, or be referred to by somebody else).
git-svn-id: svn://10.0.0.236/trunk@35710 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:44:23 +00:00
waterson%netscape.com
dcf90fba85 Bug 6665. Hack to addref resources before doing the sort. This saves mailnews from having to recreate them.
git-svn-id: svn://10.0.0.236/trunk@35613 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:07:56 +00:00
waterson%netscape.com
e83567c0f1 Add REF into the element map so that the generic builder sees it in OnAssert() and OnUnassert(). Resolve it to an absolute URI before using so that ref='foo/bar.rdf#bing' works.
git-svn-id: svn://10.0.0.236/trunk@35329 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:21:20 +00:00
waterson%netscape.com
fec604c3ef Fix leak of tree element.
git-svn-id: svn://10.0.0.236/trunk@35181 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:15:29 +00:00
rjc%netscape.com
7a84203930 Unset column sorting attributes instead of setting them to false if they aren't active.
git-svn-id: svn://10.0.0.236/trunk@35130 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 08:20:35 +00:00
waterson%netscape.com
9929a02b24 Remove crufty code that wasn't doing anything. Fix refcounting on the database.
git-svn-id: svn://10.0.0.236/trunk@35084 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 18:31:06 +00:00
waterson%netscape.com
5e45b132b9 Remove crufty code that wasn't doing anything.
git-svn-id: svn://10.0.0.236/trunk@35083 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 18:30:47 +00:00
waterson%netscape.com
54296b02ac Fix incorrect usage of dont_QueryInterface(). Fix bogus refcounting cruft in the nsIContent manipulators that must've been left over from when mChildren was an nsVoidArray.
git-svn-id: svn://10.0.0.236/trunk@35026 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 19:39:11 +00:00
waterson%netscape.com
5b2039fa07 Fix incorrect use of dont_QueryInterface() that was causing massive leakage.
git-svn-id: svn://10.0.0.236/trunk@35025 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 19:35:54 +00:00
waterson%netscape.com
1c99019f97 Fix incorrect use of dont_QueryInterface() with dont_AddRef(). Use nsCOMPtr in broadcast hookup code.
git-svn-id: svn://10.0.0.236/trunk@35024 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 19:33:37 +00:00
rjc%netscape.com
de84938fce XUL templates now look for any attribute (other than "uri") which equals "..." and substitutes the URI of the attached node.
git-svn-id: svn://10.0.0.236/trunk@34614 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:44:59 +00:00
peterl%netscape.com
6d72b15356 added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)


git-svn-id: svn://10.0.0.236/trunk@34560 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:18:46 +00:00
hyatt%netscape.com
c25770fedd Popups put the "grrrr!" in "swinger", baby!
git-svn-id: svn://10.0.0.236/trunk@34393 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:03:15 +00:00
hyatt%netscape.com
a7f06431d9 Ok, everything's peachy on the RDF end. Time to work on the front end.
git-svn-id: svn://10.0.0.236/trunk@34390 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:39:10 +00:00
hyatt%netscape.com
5b2065032e Altering the args for createPopup.
git-svn-id: svn://10.0.0.236/trunk@34389 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:36:06 +00:00
waterson%netscape.com
a7e3640191 Don't rely on rdf_PossiblyMake[Relative|Absolute](); rather, use XUL-specific functions to do it.
git-svn-id: svn://10.0.0.236/trunk@34386 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:30:47 +00:00
hyatt%netscape.com
de91f5ae9b Updating popups to use screen coordinates instead of being hardcoded to (50,50).
git-svn-id: svn://10.0.0.236/trunk@34380 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:00:27 +00:00
hyatt%netscape.com
a056c0dfa5 More content model tweaks.
git-svn-id: svn://10.0.0.236/trunk@34373 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 05:45:15 +00:00
hyatt%netscape.com
b92179cf5c Changed event names to "create" and "destroy"
git-svn-id: svn://10.0.0.236/trunk@34341 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:11:39 +00:00
hyatt%netscape.com
0f2b50816a Fix that makes the blur handler ultra-paranoid. It sanity checks its target before
closing the window.  (I'm having to do this since focus/blur events bubble. @#$@#$%#)


git-svn-id: svn://10.0.0.236/trunk@34339 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:07:31 +00:00
hyatt%netscape.com
d3cca3c5db Controller stuff.
git-svn-id: svn://10.0.0.236/trunk@34300 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:04:24 +00:00
hyatt%netscape.com
587bb51013 Woo woo. Focus implementation.
git-svn-id: svn://10.0.0.236/trunk@34289 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:58:55 +00:00
hyatt%netscape.com
d83c36dd0f Adding new idl.
git-svn-id: svn://10.0.0.236/trunk@34288 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:58:32 +00:00
hyatt%netscape.com
75642372a6 Adding a reminder comment to a file for future reference.
git-svn-id: svn://10.0.0.236/trunk@34181 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:24:06 +00:00
hyatt%netscape.com
47f5078a7b Added support for "onconstruct" and "ondestruct" events for popups.
git-svn-id: svn://10.0.0.236/trunk@34174 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:08:16 +00:00
rjc%netscape.com
2431059cb7 Get context popup menus work on Mac by checking if the CTRL key is down (just like how the Mac's Finder works).
git-svn-id: svn://10.0.0.236/trunk@33974 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 05:43:09 +00:00
hyatt%netscape.com
d7c82da11f Fixes for several bugs.
git-svn-id: svn://10.0.0.236/trunk@33794 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:05:47 +00:00
alecf%netscape.com
a46402dd58 oops, forgot to make this native code for C++
git-svn-id: svn://10.0.0.236/trunk@33575 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:47:09 +00:00
rjc%netscape.com
fe40de5eb5 XUL templates are now strong enough to support building menus and menuitems.
git-svn-id: svn://10.0.0.236/trunk@33515 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 07:16:18 +00:00
alecf%netscape.com
a767dfee83 add XPIDL stubs for these DOM objects so that we can access them from XPConnect
git-svn-id: svn://10.0.0.236/trunk@33503 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 04:39:14 +00:00
waterson%netscape.com
2a6140c0ed Bug 4045. Make GenericBuilder and its kin look at the 'ref=' attribute first, so that it's possible to have two elements in the same document tree that refer to the same RDF resource.
git-svn-id: svn://10.0.0.236/trunk@33480 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:23:50 +00:00
rjc%netscape.com
f3b2ee2aaf Checking in a workaround for bug #7437 until Rickg fixes that.
git-svn-id: svn://10.0.0.236/trunk@33362 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:01:23 +00:00
rjc%netscape.com
31b01cce79 Disable XUL templates for the moment.
git-svn-id: svn://10.0.0.236/trunk@33335 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:34:05 +00:00
rjc%netscape.com
3f9b90736d Fix some bugs with template rules. Added some needed styles for bookmarks window. Fixed a bug with sorting in bookmarks window (don't add RDFCore into list, as its unnecessary.) Bookmarks panel in sidebar is now using template rules.
git-svn-id: svn://10.0.0.236/trunk@33198 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 00:17:32 +00:00
hyatt%netscape.com
fe7fca2d88 Focus tracker actually tracks!
git-svn-id: svn://10.0.0.236/trunk@33185 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:55:10 +00:00