Граф коммитов

561 Коммитов

Автор SHA1 Сообщение Дата
hyatt%netscape.com a11ff9fcc3 Implemented all of the tree widget selection APIs but ranged selection (which will
be fun and nasty).
1999-08-22 06:17:16 +00:00
hyatt%netscape.com c28227eb81 Defining the selection API for the tree widget. Stubbed all of the functions.
Now I just have to implement them all.
1999-08-22 06:01:52 +00:00
hyatt%netscape.com a69c890a1f Tweaking comments. 1999-08-21 20:42:17 +00:00
hyatt%netscape.com 88e31243a6 Stubbing out the selection implementation. Need to fill in the empty if
statements next.
1999-08-21 20:39:29 +00:00
hyatt%netscape.com 7f859a0884 Adding more to the tree's idl. 1999-08-21 20:23:56 +00:00
hyatt%netscape.com 7a65851a9f Checking in changes that teach the tree element how to have its own
array of selected items and cells.
1999-08-21 19:53:39 +00:00
hyatt%netscape.com b95fc68375 Fixing broadcasters. The hookup wasn't happening correctly. 1999-08-21 19:30:53 +00:00
hyatt%netscape.com b61a7c9cfe The bustage is mine. Fixing it now. 1999-08-21 10:05:02 +00:00
hyatt%netscape.com 48fadb35cd Fixing up the broadcaster stuff. 1999-08-21 09:13:14 +00:00
hyatt%netscape.com ee88f3c3fc A complete rewrite of the broadcaster/observer system. Much improved. 1999-08-21 09:08:12 +00:00
dougt%netscape.com 8cf9b81629 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
hyatt%netscape.com f1252f912a Renaming onaction to oncommand. 1999-08-20 22:58:32 +00:00
waterson%netscape.com b56418cf48 Resurrect delegation of XULTreeElement interface to an aggregate object. 1999-08-18 05:45:40 +00:00
waterson%netscape.com 123594ff91 Add verbage. 1999-08-18 04:25:24 +00:00
waterson%netscape.com f8108e0596 Re-added to support tree selection. Not yet in the build. 1999-08-18 03:21:26 +00:00
rjc%netscape.com d56514ca81 Fix bug # 10352: date sorting. 1999-08-11 06:24:56 +00:00
jband%netscape.com 8f1eb40f3d fix for bug 11510 1999-08-10 05:11:47 +00:00
joki%netscape.com da36d40b61 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
cls%seawood.org 9eea17be39 Various fixes to let the tree compile with gcc 2.95:
String constants are now (const char *)s and must be explicitly cast to (char *).
operator new is expected to be empty or throw an expection instead of returning null. (ifdef'd for gcc 2.95+)
Stricter checks on register clobbering in embedded asm. (at least I think that's what it is)
Expects the main function to return int, not something similiar to it like PRInt32.

Still requires a tweak to remove -mno-486 from NSPR's *.mk files.
1999-08-07 06:01:31 +00:00
waterson%netscape.com 76ed7c1834 Fix build warning. 1999-08-06 20:34:55 +00:00
waterson%netscape.com b7e275631c Fix --pedantic bustage. 1999-08-06 18:36:50 +00:00
waterson%netscape.com ed78bedd41 Bug 8159. Fix circularity between content model builder and composite datas source (via 'observer' which now refcounts). Destruction of a XULDocumentImpl now forces builder to do out-of-band release on composite datasource. 1999-08-06 17:59:05 +00:00
waterson%netscape.com 08f4f00374 Bug 9474. Use NodeList script object, _not_ HTMLCollection. Gutted code that was aggregating HTMLCollection. 1999-08-04 05:45:09 +00:00
waterson%netscape.com fa329653f5 Fix silent failure from JS on firstChild. Clean up other baby-eating methods. 1999-08-04 02:26:26 +00:00
rjc%netscape.com 3a2f1bb201 Persist attributes via the content model only. 1999-08-01 03:24:18 +00:00
waterson%netscape.com f5fc9df22d Bugs 10640, 10689. Fix assertions when opening a folder. Crude performance improvement for asynchronously generated content in tree controls. 1999-07-31 00:03:45 +00:00
rjc%netscape.com 4566ac87d8 Hook up persistent (via the localstore). 1999-07-30 23:42:41 +00:00
waterson%netscape.com 50c29e871d Bug 10617. Get folder performance back. We now _do not_ tell layout about individual content that gets appended during CreateContainerContents(), and instead wait until we've constructed all child nodes to do a ContentChanged() notification. 1999-07-28 05:21:22 +00:00
waterson%netscape.com 1f3fd39a62 Implement RemoveWidgetItem(). Whoops. 1999-07-28 02:53:49 +00:00
putterman%netscape.com 7715c6e903 GetResource first looks at ref. checkin for waterson. 1999-07-27 23:02:13 +00:00
waterson%netscape.com b7d93726f9 Fix --pedantic bustage. 1999-07-27 18:04:55 +00:00
waterson%netscape.com f6b84db71a Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism. 1999-07-27 17:20:28 +00:00
waterson%netscape.com 914b2cade7 Re-add. Wasn't meant to be deleted yet. 1999-07-27 03:03:25 +00:00
waterson%netscape.com cc5179bcc8 Native builder exorcism. Long live templates. 1999-07-27 02:40:40 +00:00
hyatt%netscape.com e9860f134e Adding the menu events to the event map. 1999-07-26 09:18:57 +00:00
hyatt%netscape.com 108265b89a Fixing the problem where a blank space appears at the top of every XUL file. 1999-07-25 04:38:57 +00:00
waterson%netscape.com cf7d82295b Fix computation of empty containers. 1999-07-22 05:11:52 +00:00
rjc%netscape.com dbcf779b24 Set empty="false" attribute even if container is closed. 1999-07-22 00:49:50 +00:00
putterman%netscape.com 1133b9f963 Messenger Copy/Move menus now show menuitems instead of all menus. 1999-07-22 00:26:00 +00:00
rjc%netscape.com c1dfe525b3 Now update "empty" attribute as children count changes. 1999-07-21 23:10:07 +00:00
rjc%netscape.com a8e701fe56 Ensure that we have a value. 1999-07-21 23:02:35 +00:00
troy%netscape.com bf547dbb98 Change to StartLayout(): moved call to EnableRefresh() to before the InitialReflow()
call to work around a bug in the compositor
1999-07-21 04:47:15 +00:00
bienvenu%netscape.com d9ce494617 checkin jefft's fix mailnews startup crash 1999-07-20 17:32:43 +00:00
rjc%netscape.com c48f89b97f Work harder at getting the REAL parent container when determining if the parent container is a RDF_Seq during a natural order sort. 1999-07-20 09:04:24 +00:00
warren%netscape.com 7bcb94a320 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
rjc%netscape.com 39a2594cb5 Only support sorting on RDF Seqs if container is actually a RDF_Seq itself. 1999-07-20 05:20:32 +00:00
rjc%netscape.com d14b0d2ccd Fix for bug #9899: set "empty" attribute on containers if they appear to be empty. 1999-07-20 04:21:24 +00:00
rjc%netscape.com e8321b93a9 Oops... PR_FALSE instead of just FALSE. 1999-07-20 03:14:34 +00:00
rjc%netscape.com 3be70e4d68 Add support for sorting RDF_Seqs when in natural order sort mode. 1999-07-20 03:13:15 +00:00
joki%netscape.com 0af283b8e2 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
waterson%netscape.com 2a499473be Bug 6873. Performance improvements to the generic builder. The template builder now instantiates template content 'lazily' when the frame system asks for it. 1999-07-19 19:18:10 +00:00
rickg%netscape.com 844a7e45ef switch to faster string search API 1999-07-19 03:29:56 +00:00
rjc%netscape.com 528bf67d11 Fix a warning by tossing out some old debugging code. 1999-07-18 08:25:24 +00:00
mjudge%netscape.com 7ddf8fee55 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
peterl%netscape.com e3019ad978 clean up some string usage 1999-07-18 00:01:21 +00:00
rjc%netscape.com dbce229d7e Use application locale when sorting with collation service; fix for bug #9968. 1999-07-17 21:36:17 +00:00
warren%netscape.com c5684bf4d7 Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
hyatt%netscape.com d604820879 Initializing a member variable to nsnull. 1999-07-16 08:26:42 +00:00
hyatt%netscape.com 415eb6c18e Continuing XUL overlay work. 1999-07-16 07:10:20 +00:00
waterson%netscape.com a985e3ea72 Performance tweaks to SetAttribute(): minimize string compares by using atoms to set up event listeners; silly fixes to broadcaster push code. 1999-07-16 04:05:53 +00:00
waterson%netscape.com 7da3370e9e Don't set up the composite datasource and XUL builder until immediately before we start to layout the document; this avoids a bunch of useless OnAssert()'s getting propogated and dropped. 1999-07-16 04:03:52 +00:00
rjc%netscape.com c86f115ad1 Add check for null. 1999-07-15 09:20:54 +00:00
waterson%netscape.com 6289662141 Bug 8514. Add support s.t. 'ref=' changes will re-root a tree control (or other RDF-generated content). 1999-07-15 01:22:59 +00:00
rjc%netscape.com 1dd1f92ca4 Use GetTextForNode() more, as well as use GetValueConst(). 1999-07-14 21:13:13 +00:00
waterson%netscape.com 33029e9741 Bug 8318. Don't include rdf:local-store in the generic builder until we have all of the persistence issues sorted out. 1999-07-12 18:24:26 +00:00
waterson%netscape.com 9c59e96e78 Bug 8854. Fix CloseWidgetItem() to play nice with mixture of XUL and RDF content. 1999-07-09 20:41:41 +00:00
hyatt%netscape.com 1e0ad088a5 Fixing redraw problems on initial show of window. 1999-07-07 22:34:10 +00:00
waterson%netscape.com 6cc2813bb1 Bug 7722. PR_LOG instead of assert when an attempt is made to create element with a bogus namespace. 1999-07-07 06:52:21 +00:00
rjc%netscape.com 14f7295a00 Small insertion fix. 1999-07-07 06:34:18 +00:00
rjc%netscape.com 329d022fe0 Now able to sort by dateLiterals and intLiterals too. <Whee> 1999-07-07 05:32:07 +00:00
waterson%netscape.com fe8c4b1447 Fix compiler warnings. 1999-07-07 04:26:24 +00:00
waterson%netscape.com 0932e2a021 Remove XUL_TEMPLATES and XUL_TEMPLATE_ASSERTIONS #ifdefs. Add FALLBACK_BUILDERS #ifdef that (when removed) will turn off the C++ builders for constructing content. 1999-07-07 01:31:00 +00:00
peterl%netscape.com 4c033f784b fixed css quirk support in XUL
removed dead code
1999-07-07 01:17:21 +00:00
peterl%netscape.com 15b6eb2237 sync to styled content api change 1999-07-07 01:16:56 +00:00
hyatt%netscape.com 3c3b608aa5 Trying to fix build bustage. 1999-07-06 18:53:41 +00:00
hyatt%netscape.com b24efa6d6c Will do intrinsic sizing when the window is really small (doesn't have to be
0, since Linux barfs on that).
1999-07-05 16:54:14 +00:00
hyatt%netscape.com 2af7a6b407 Checking in support for intrinsic sizing of chrome. 1999-07-04 04:09:54 +00:00
waterson%netscape.com b8f59c3ea4 Implement OnChange() on the Generic and XUL builders. 1999-07-03 02:41:13 +00:00
hyatt%netscape.com 79160f00df Making sure the default scrolling behavior for a webshell in XUL is
OVERFLOW_HIDDEN always.  Scrolling behavior set on the box itself
can be used to enable scrolling.
1999-07-02 05:29:18 +00:00
hyatt%netscape.com 4c1801f8f1 Fixing StartLayout so that it asserts and leaves the function if no root
content is available.
1999-07-01 07:34:19 +00:00
pinkerton%netscape.com 153b97e659 don't include nsHTMLAtoms.h since it's bad, and not needed anyway. 1999-07-01 06:47:31 +00:00
pinkerton%netscape.com dd5492d2d6 don't show tooltip when node is disabled, use both the global and local coordinates when showing a tooltip so alignment will work. added some debug stuff to track down why mac isn't doing screen coords correctly. 1999-07-01 06:27:42 +00:00
rjc%netscape.com 4c8f84b2d3 Use a binary insertion sort. (Note: there is a conditional near the top of the file that can turn off the binary insertion sort and revert back to the older, slower code, in case of any weird bugs I haven't caught.) For the moment, its turned ON as I haven't seen any problems with it. 1999-07-01 01:55:09 +00:00
waterson%netscape.com 7c6e3e8c47 Bug 9098. Remove NS_PRECONDITION, as this can happen normally as part of teardown. 1999-07-01 01:21:14 +00:00
pinkerton%netscape.com f8cb1c33e6 go back to using static define instead of GetIID for one part of QI because of win32 compiler. i hate it, but until i can talk to scc.... 1999-07-01 00:54:46 +00:00
pinkerton%netscape.com 3a463448b6 Changing CreatePopup to return the popup. Adding a bunch of stuff for tooltips to the popup code. Fixing some bugs in webshell with loading malformed popups. Renamed "popup" to "popupElement" in the document and added "tooltipElement" as well. 1999-07-01 00:07:41 +00:00
nisheeth%netscape.com 863dcf6860 Adding the architecture for an external transformation engine to hook into Raptor's layout process. One way this architecture can be used is for doing XSL transforms using a 3rd party component that implements the XSL processor. More details will be posted in mozilla.layout.
Currently enabled on windows only.  Set MOZ_XSL to 1 in your environment and build mozilla/layout.
1999-06-28 14:12:07 +00:00
warren%netscape.com f6b9d3a028 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
rjc%netscape.com 7e4a5a8b81 Only set natural order attribute on the containment element. 1999-06-25 09:32:43 +00:00
rjc%netscape.com 8c9d9fb833 Unset sortActive and sortDirection attributes if "natural order" is being used. 1999-06-25 09:19:29 +00:00
rjc%netscape.com b6daf9c497 Get sorting working with new tree structure. Basically, just look for treechildren instead of treebody when walking down from the root of the tree. 1999-06-25 06:47:28 +00:00
warren%netscape.com 41b5fcddad Changed URLGroup to LoadGroup 1999-06-25 02:31:51 +00:00
warren%netscape.com 2f5289766d Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
waterson%netscape.com 4fa567f534 Fix use of nsString with nsAutoString where appropriate. 1999-06-24 21:19:02 +00:00
waterson%netscape.com f008503b2f 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. 1999-06-24 00:22:58 +00:00
hyatt%netscape.com bd8221f129 Fix for 8735. 1999-06-23 07:21:11 +00:00
warren%netscape.com 23864df5e3 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
hyatt%netscape.com f90cda96d6 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
rjc%netscape.com 4b62390cc1 Clean up. 1999-06-21 10:46:47 +00:00
rjc%netscape.com 6444965ed6 Turn on. 1999-06-21 09:22:17 +00:00
rjc%netscape.com 5be32c35cc Conditionalize. 1999-06-21 09:12:35 +00:00
rjc%netscape.com 6affb83a79 OnAssert() and OnUnassert() now understand if the contents were generated by a XUL template and, if so, try to do the right thing. 1999-06-21 08:59:14 +00:00
rjc%netscape.com ab02b90827 When building a subtree from a template, nodes are now unique until we find one with the "uri='...'" attribute set. 1999-06-20 09:11:25 +00:00
rjc%netscape.com 030d5988d2 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. 1999-06-20 05:45:40 +00:00
waterson%netscape.com 930d505f3a Bugs 8453, 8401, 7222. DOM 'insertBefore()' was hopelessly broken, lots of bugs causing random things to happen in the zombie pool. 1999-06-20 00:22:33 +00:00
valeski%netscape.com 487d9ea921 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. 1999-06-18 17:34:08 +00:00
waterson%netscape.com 8d68e0816a Bug 3440. Annotate node on 'close' to ensure XUL builder re-runs when the node is opened again. r=rjc, a=chofmann 1999-06-17 22:08:21 +00:00
waterson%netscape.com cf0908b3de Bug 8221. Fix false positive on the leak grep radar. 1999-06-17 19:49:05 +00:00
waterson%netscape.com d5c13bb733 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). 1999-06-16 06:44:23 +00:00
waterson%netscape.com 8a37a5afc1 Bug 6665. Hack to addref resources before doing the sort. This saves mailnews from having to recreate them. 1999-06-16 02:07:56 +00:00
waterson%netscape.com cc450f9b38 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. 1999-06-15 03:21:20 +00:00
waterson%netscape.com 54e949daf7 Fix leak of tree element. 1999-06-14 21:15:29 +00:00
rjc%netscape.com 7f5d322554 Unset column sorting attributes instead of setting them to false if they aren't active. 1999-06-14 08:20:35 +00:00
waterson%netscape.com 9625f1893e Remove crufty code that wasn't doing anything. Fix refcounting on the database. 1999-06-13 18:31:06 +00:00
waterson%netscape.com bb9e9fbb6c Remove crufty code that wasn't doing anything. 1999-06-13 18:30:47 +00:00
waterson%netscape.com 9cfa93d5d4 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. 1999-06-12 19:39:11 +00:00
waterson%netscape.com 2b49ff9e6a Fix incorrect use of dont_QueryInterface() that was causing massive leakage. 1999-06-12 19:35:54 +00:00
waterson%netscape.com 15ae9a7ff7 Fix incorrect use of dont_QueryInterface() with dont_AddRef(). Use nsCOMPtr in broadcast hookup code. 1999-06-12 19:33:37 +00:00
rjc%netscape.com b7397b6a24 XUL templates now look for any attribute (other than "uri") which equals "..." and substitutes the URI of the attached node. 1999-06-10 19:44:59 +00:00
peterl%netscape.com e4693f9f9a added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)
1999-06-10 05:18:46 +00:00
hyatt%netscape.com 6fa1ec0fda Popups put the "grrrr!" in "swinger", baby! 1999-06-09 09:03:15 +00:00
hyatt%netscape.com 1e0428adbc Ok, everything's peachy on the RDF end. Time to work on the front end. 1999-06-09 08:39:10 +00:00
hyatt%netscape.com b84d2f62d5 Altering the args for createPopup. 1999-06-09 08:36:06 +00:00
waterson%netscape.com 9e5fbf10b8 Don't rely on rdf_PossiblyMake[Relative|Absolute](); rather, use XUL-specific functions to do it. 1999-06-09 08:30:47 +00:00
hyatt%netscape.com 33a14549b5 Updating popups to use screen coordinates instead of being hardcoded to (50,50). 1999-06-09 08:00:27 +00:00
hyatt%netscape.com f0a8287f24 More content model tweaks. 1999-06-09 05:45:15 +00:00
hyatt%netscape.com 760d88b161 Changed event names to "create" and "destroy" 1999-06-09 01:11:39 +00:00
hyatt%netscape.com 0a0e9a7b5f 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. @#$@#$%#)
1999-06-09 01:07:31 +00:00
hyatt%netscape.com 8446c68b7b Controller stuff. 1999-06-08 23:04:24 +00:00
hyatt%netscape.com c66a64c8ab Woo woo. Focus implementation. 1999-06-08 21:58:55 +00:00
hyatt%netscape.com 417208484f Adding new idl. 1999-06-08 21:58:32 +00:00
hyatt%netscape.com ddf205e4ee Adding a reminder comment to a file for future reference. 1999-06-08 05:24:06 +00:00
hyatt%netscape.com 3d792e2735 Added support for "onconstruct" and "ondestruct" events for popups. 1999-06-08 05:08:16 +00:00
rjc%netscape.com 90d2520633 Get context popup menus work on Mac by checking if the CTRL key is down (just like how the Mac's Finder works). 1999-06-07 05:43:09 +00:00
hyatt%netscape.com 5da36a6d57 Fixes for several bugs. 1999-06-04 22:05:47 +00:00
alecf%netscape.com 0f549d4c5c oops, forgot to make this native code for C++ 1999-06-03 20:47:09 +00:00
rjc%netscape.com afcbaf44b1 XUL templates are now strong enough to support building menus and menuitems. 1999-06-03 07:16:18 +00:00
alecf%netscape.com 38220df50f add XPIDL stubs for these DOM objects so that we can access them from XPConnect 1999-06-03 04:39:14 +00:00
waterson%netscape.com 533357a060 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. 1999-06-03 02:23:50 +00:00
rjc%netscape.com 725acacbb9 Checking in a workaround for bug #7437 until Rickg fixes that. 1999-06-02 00:01:23 +00:00
rjc%netscape.com 79eed1d6fc Disable XUL templates for the moment. 1999-06-01 21:34:05 +00:00
rjc%netscape.com 3a6f8aedb4 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. 1999-05-29 00:17:32 +00:00
hyatt%netscape.com 0d62207d4d Focus tracker actually tracks! 1999-05-28 22:55:10 +00:00
hyatt%netscape.com 1a462db603 Oops. 1999-05-28 20:33:46 +00:00
hyatt%netscape.com ef9e57ca33 Adding the focus tracker to the XUL document. 1999-05-28 20:24:58 +00:00
waterson%netscape.com ed2ab323c4 Bug 6895. Create HTML elements (not XUL elements) when the tag is in the HTML namespace. Minor performance enhancements to reduce number of calls to layout during content model construction. 1999-05-28 11:30:59 +00:00
hyatt%netscape.com 989a98a5b9 Implementing document and window capture in the XUL DOM. 1999-05-27 21:03:59 +00:00
peterl%netscape.com 3437a3de76 sync to nsIStyledContent API change 1999-05-26 23:46:45 +00:00
peterl%netscape.com ebc7230baf tweaks to CSS loader usage 1999-05-26 23:42:29 +00:00
hyatt%netscape.com 69152a76fd Better fix for 6746. 1999-05-25 00:29:55 +00:00
waterson%netscape.com 06a6123e40 More bug 6823. Add comments to keep this problem from happening again. 1999-05-21 21:23:04 +00:00
hyatt%netscape.com 8fb2c9835b Fix for the regression described in bug 6823. 1999-05-21 19:27:02 +00:00
hyatt%netscape.com dddc71fea8 Fixes for bugs 6746 and 6747. Approved by chofmann@netscape.com. 1999-05-20 06:39:37 +00:00
rjc%netscape.com d4b3602019 Fix Unix bustage on previous checking for bug # 6778. 1999-05-20 01:55:37 +00:00
rjc%netscape.com c2db68fd3f Fix bug # 6778. Reviewed by sdagley, approved by chofmann. The fix consists of checking the proper default namespace on attributes (instead of using the XUL namespace), and adding a XUL template in for the bookmarks panel in the sidebar. 1999-05-20 01:21:20 +00:00
hyatt%netscape.com bb16cb3c2e Fix for bug 5911. 1999-05-19 08:26:21 +00:00
rjc%netscape.com 881680ba79 Apply Scott Putterman's fix for XUL sorting. 1999-05-19 05:30:25 +00:00
waterson%netscape.com 1ba85a5766 Implement nsIDOMNSDocument properly. Factor logic for createElement & createElementWithNamespace. 1999-05-19 04:28:40 +00:00
peterl%netscape.com 8a384ed0b8 fixed ambiguous cast for nsCOMPtr on linux 1999-05-19 00:05:40 +00:00
joki%netscape.com 022a0e65af Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent. 1999-05-18 23:51:04 +00:00
peterl%netscape.com b53a143f17 added css loader support
fixed document observer calls
1999-05-18 23:02:00 +00:00
hyatt%netscape.com c31f58efe7 Disabling the cloned style sheets. This is causing trouble. Will probably have
to force them to be reparsed.
1999-05-18 10:21:11 +00:00
hyatt%netscape.com dda0797e17 Fixes. 1999-05-18 09:28:00 +00:00
hyatt%netscape.com 7d751fe7c5 Oh yeah, baby. 1999-05-18 09:03:53 +00:00
hyatt%netscape.com e16abec745 Popup listener knows how to be a blur listener. 1999-05-18 08:37:41 +00:00
hyatt%netscape.com ebfa702013 Typo. 1999-05-18 07:42:31 +00:00
hyatt%netscape.com fc6b4cd8be Working on popup documents. 1999-05-18 07:40:59 +00:00
rjc%netscape.com 1e8eed4c51 Get rid of a few warnings. 1999-05-18 06:34:15 +00:00
rjc%netscape.com ccb4bd97b8 More XUL template changes. Also re-enabling XUL_TEMPLATES. 1999-05-18 06:27:04 +00:00
rjc%netscape.com 4dda861004 Even more support for collation keys. 1999-05-18 06:19:04 +00:00
hyatt%netscape.com cd8b5dada5 Had the wrong integer value for the right mouse button. 1999-05-18 06:05:43 +00:00
rjc%netscape.com 06d01ef3ff Checking in some additional collation key support. 1999-05-17 22:43:47 +00:00
hyatt%netscape.com eade061743 La la la. 1999-05-16 09:40:42 +00:00
hyatt%netscape.com 7eb10f9474 More popup work. 1999-05-16 09:09:00 +00:00
hyatt%netscape.com e1b918d6dd Fixing build bustage 1999-05-16 08:50:27 +00:00
hyatt%netscape.com eac829cd24 Added the method that will give me the new popup doc. 1999-05-16 08:05:32 +00:00
hyatt%netscape.com 46e652edde Implementing HandleDOMEvent in nsXULDocument.cpp. Events now bubble to the
document and in turn will now bubble to the window.
1999-05-16 07:05:51 +00:00
hyatt%netscape.com 1e13404fbb Events weren't bubbling into the document. They do this now. 1999-05-16 06:58:56 +00:00
waterson%netscape.com 1afa8c1325 Bug 3367. Need to 1) treat ArcLabelsOut as returning an 'optimistic' list of arcs, that is, possible arcs out; 2) use GetTarget() to test the containment property, not just existence of the arc; 3) implement 'rdf:ignore' to skip properties that may require extensive computation. In the process, I had to #ifdef XUL_TEMPLATES some of the XUL template stuff. 1999-05-15 23:46:17 +00:00
hyatt%netscape.com 44c4e25ff4 DOn't need the printf any more. 1999-05-15 09:04:45 +00:00
hyatt%netscape.com b29bcf0a02 Not yet implemented. Sigh. I hate seeing "Not yet implemented." 1999-05-15 09:03:59 +00:00
hyatt%netscape.com e79a5b7f9e Added support for document.popup, so that event handlers in popup content
can refer to the popup's originating element.
1999-05-15 08:46:14 +00:00
hyatt%netscape.com d6cdb51453 Calling both createPopup and createAnchoredPopup now. 1999-05-14 21:51:57 +00:00
hyatt%netscape.com bba1b15b6b Screen coords instead. 1999-05-14 19:22:52 +00:00
hyatt%netscape.com 880d8ac152 Changes to actually call into the GlobalWindowImpl's createPopup method. 1999-05-14 19:10:01 +00:00
hyatt%netscape.com 68699b75c3 Popup listener. 1999-05-14 07:20:12 +00:00
hyatt%netscape.com c30b21f261 Committing the XUL popup listener implementation. 1999-05-14 05:37:20 +00:00
hyatt%netscape.com 70323053b9 Adding support for the popup content implementation. 1999-05-14 05:37:00 +00:00
hyatt%netscape.com 55a0657c63 Committing the popup listener interface. 1999-05-14 05:36:21 +00:00
waterson%netscape.com f83f501684 Fixed missing release service. 1999-05-13 20:52:15 +00:00
waterson%netscape.com 24b66c0162 Okay, let's try that fix again. 1999-05-13 17:27:51 +00:00
waterson%netscape.com ce8fbc0b9b Fix inappropriate use of member functions. 1999-05-13 16:57:59 +00:00
rjc%netscape.com 0c22e91413 Don't compare nsCOMPtrs against nsnull. 1999-05-13 08:29:56 +00:00
rjc%netscape.com b89173be36 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 917d465fad 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 7a41ef7d73 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
vidur%netscape.com 6ec312397a Added GetContentType method to nsIDocument interface. 1999-05-11 20:22:52 +00:00
mcafee%netscape.com fabaa074ad 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 3ba3f65dfd Yet another shot at fixing another Unix pedantic issue. 1999-05-08 21:47:49 +00:00
rjc%netscape.com ba8b13a8f1 Try fixing another Unix pedantic issue. 1999-05-08 21:07:18 +00:00
rjc%netscape.com 01d01c4c33 Fix Unix pedantic issue. (hopefully) 1999-05-08 20:22:41 +00:00
rjc%netscape.com 94610fd457 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 867574c7f2 Don't compare nsCOMPtrs against nsnull. 1999-05-07 21:24:09 +00:00
rjc%netscape.com eb3e56f574 First cut at adding template and rule support for XUL builders. 1999-05-07 21:20:33 +00:00
briano%netscape.com e6ae7948e3 Converted 'true' to 'PR_TRUE' so it'll build on Unix. 1999-05-07 05:17:30 +00:00
kipp%netscape.com 72cafa3e1b Use DOM api's instead of layout private api's 1999-05-06 19:28:22 +00:00
kipp%netscape.com baa6c6f038 Use component manager to create a css parser 1999-05-06 19:28:09 +00:00
waterson%netscape.com a2c461d17b Fix compiler warnings. Make -pedantic build again. 1999-05-06 06:34:07 +00:00
rjc%netscape.com b214f946d9 Add some small NULL checks. 1999-05-06 00:38:54 +00:00
waterson%netscape.com 3eeea9bb53 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 20620485c8 Factor interfaces into individual .idl files. 1999-05-05 03:09:50 +00:00
hyatt%netscape.com 64aad9318d 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
pinkerton%netscape.com 013355114c 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 9e0e4e0326 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 46490fecf7 Add some more nsCOMPtrs to fix leakage. 1999-04-28 07:03:11 +00:00
waterson%netscape.com 1b01322e00 Fix leak of composite datasource on each sort. 1999-04-28 06:23:21 +00:00
waterson%netscape.com 931fe08b46 Fixed the text of a debug log message. 1999-04-28 04:19:28 +00:00
ftang%netscape.com 1301749405 change S/GetDocumentCharacterSet method for nsIDocument interface. 1999-04-27 21:49:25 +00:00
waterson%netscape.com 43590208f7 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 11bf2f6522 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 98f5e0ce4b Remove debugging crap. 1999-04-27 05:12:10 +00:00
rjc%netscape.com 564fb25410 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 7344fa63a8 More change for nsISupportsArray usage. 1999-04-27 01:48:37 +00:00
sfraser%netscape.com 1c3d808c1d Fix out param typo. 1999-04-24 05:53:00 +00:00
waterson%netscape.com e545139879 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 ff6d3ed60a s/false/0/ in my do-while 1999-04-23 19:03:01 +00:00
scc%netscape.com bcf4f88b58 added ability to create a XUL document from a stream; consequently factored some existing routines 1999-04-23 16:48:33 +00:00
rjc%netscape.com c7b6bca33d 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 18579812d9 update to sync with nsString2 1999-04-22 06:06:17 +00:00
rjc%netscape.com d51ded93c9 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 2db5c4e95a When a sort order is imposed, try and insert new node(s) in the appropriate spot. 1999-04-20 20:26:13 +00:00
peterl%netscape.com e9a6e6fe61 sync to doc api change 1999-04-20 00:00:02 +00:00
waterson%netscape.com 22cdec43c7 Fixed null deref in nsXULAttribute::GetQualifiedName() -- handle the default namespace case. 1999-04-17 00:29:54 +00:00
waterson%netscape.com 378debf61b 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 295796c6fd 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 abb76ec525 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 dc31513165 use the new nsQuickSort() function instead of the internal rdf_qsort 1999-04-14 03:28:49 +00:00
waterson%netscape.com 98e0d29dc4 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 803c07716e Fixes for bugs 2620 and 3482. 1999-04-10 04:49:21 +00:00
waterson%netscape.com d52058c17f Bug 4618. Fix compilation problem on Solaris native compile. a=chofmann@netscape.com 1999-04-08 01:53:31 +00:00
waterson%netscape.com b79bc8fad4 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 33e8c6759c 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 8fe9ea5db2 Fixed incorrect use of nsCOMPtr. 1999-04-07 00:07:28 +00:00
rjc%netscape.com d51852dddd Timer changes. Preparation for timer to be destroyed when SetDocument(null). 1999-04-06 23:59:22 +00:00
waterson%netscape.com e901808d4d Use the 'real' local store. 1999-04-06 22:55:26 +00:00
waterson%netscape.com 9dc10cd2bf 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 e463eee79f 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 e1c7da8d9f update to new string api 1999-04-06 00:22:46 +00:00
rjc%netscape.com 6a1d2a4010 Add preliminary support for pulsing a container to see if its contents change. 1999-04-05 23:10:43 +00:00
hyatt%netscape.com 48e4ccfaa9 key event support in handledomevent 1999-04-03 01:12:57 +00:00