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

2745 Коммитов

Автор SHA1 Сообщение Дата
hyatt%netscape.com e710d64d06 Fixing redraw problems on initial show of window. 1999-07-07 22:34:10 +00:00
waterson%netscape.com a3fd49276e 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 62c5b9e788 Small insertion fix. 1999-07-07 06:34:18 +00:00
rjc%netscape.com 2224f3cb34 Now able to sort by dateLiterals and intLiterals too. <Whee> 1999-07-07 05:32:07 +00:00
waterson%netscape.com dd1a7d4110 Fix compiler warnings. 1999-07-07 04:26:24 +00:00
waterson%netscape.com 25d4abb1e7 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 39583487e8 fixed css quirk support in XUL
removed dead code
1999-07-07 01:17:21 +00:00
peterl%netscape.com c1cc052229 sync to styled content api change 1999-07-07 01:16:56 +00:00
hyatt%netscape.com 5101e52906 Trying to fix build bustage. 1999-07-06 18:53:41 +00:00
hyatt%netscape.com 29aef8ae97 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 73b08a974d Checking in support for intrinsic sizing of chrome. 1999-07-04 04:09:54 +00:00
waterson%netscape.com 62530d62af Implement OnChange() on the Generic and XUL builders. 1999-07-03 02:41:13 +00:00
hyatt%netscape.com a14d2e671e 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 fa48a0b102 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 cd99200170 don't include nsHTMLAtoms.h since it's bad, and not needed anyway. 1999-07-01 06:47:31 +00:00
pinkerton%netscape.com f57e5480a5 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 bc9d03d879 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 2bc96a3bce 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 2fb58822af 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 358bcc130a 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 6e140506a0 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 fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
rjc%netscape.com b71e65cc64 Only set natural order attribute on the containment element. 1999-06-25 09:32:43 +00:00
rjc%netscape.com 990539b30a Unset sortActive and sortDirection attributes if "natural order" is being used. 1999-06-25 09:19:29 +00:00
rjc%netscape.com d61393dde8 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 32d4f24430 Changed URLGroup to LoadGroup 1999-06-25 02:31:51 +00:00
warren%netscape.com 4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
waterson%netscape.com b6f0320775 Fix use of nsString with nsAutoString where appropriate. 1999-06-24 21:19:02 +00:00
waterson%netscape.com 4b1f9242e4 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 fc69b0751c Fix for 8735. 1999-06-23 07:21:11 +00:00
warren%netscape.com 1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
hyatt%netscape.com b66c3c67f2 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
rjc%netscape.com 2a4f942c9a Clean up. 1999-06-21 10:46:47 +00:00
rjc%netscape.com 2df2a78102 Turn on. 1999-06-21 09:22:17 +00:00
rjc%netscape.com 3937aff223 Conditionalize. 1999-06-21 09:12:35 +00:00
rjc%netscape.com c806f94639 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 a853570702 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 b1c1954e42 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 830f25fc05 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 e23b3c673c 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 082e6c8f04 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 6b6dc2a655 Bug 8221. Fix false positive on the leak grep radar. 1999-06-17 19:49:05 +00:00
waterson%netscape.com 533c62b3a8 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 dbf578a94e 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 ad1c86cebf 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 096ab07f71 Fix leak of tree element. 1999-06-14 21:15:29 +00:00
rjc%netscape.com 5853a4243b 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 df6128537a Remove crufty code that wasn't doing anything. Fix refcounting on the database. 1999-06-13 18:31:06 +00:00
waterson%netscape.com ea79d87ea4 Remove crufty code that wasn't doing anything. 1999-06-13 18:30:47 +00:00
waterson%netscape.com ee1c9aa7cc 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 6eb6f4542d Fix incorrect use of dont_QueryInterface() that was causing massive leakage. 1999-06-12 19:35:54 +00:00
waterson%netscape.com ae793413a5 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 3161197c50 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 784f0c9bee 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 431a8f8a69 Popups put the "grrrr!" in "swinger", baby! 1999-06-09 09:03:15 +00:00
hyatt%netscape.com 4837ef67be 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 3c9cbf513e Altering the args for createPopup. 1999-06-09 08:36:06 +00:00
waterson%netscape.com 1715e9d49e 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 fb60c4761f Updating popups to use screen coordinates instead of being hardcoded to (50,50). 1999-06-09 08:00:27 +00:00
hyatt%netscape.com 58cba873bf More content model tweaks. 1999-06-09 05:45:15 +00:00
hyatt%netscape.com ae05f65693 Changed event names to "create" and "destroy" 1999-06-09 01:11:39 +00:00
hyatt%netscape.com 68093a04cc 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 c8acfc6f08 Controller stuff. 1999-06-08 23:04:24 +00:00
hyatt%netscape.com 2ae117dc39 Woo woo. Focus implementation. 1999-06-08 21:58:55 +00:00
hyatt%netscape.com 45176e2d9e Adding new idl. 1999-06-08 21:58:32 +00:00
hyatt%netscape.com f0aed7d386 Adding a reminder comment to a file for future reference. 1999-06-08 05:24:06 +00:00
hyatt%netscape.com 2537f3bb24 Added support for "onconstruct" and "ondestruct" events for popups. 1999-06-08 05:08:16 +00:00
rjc%netscape.com 9638765196 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 38639ff1bc Fixes for several bugs. 1999-06-04 22:05:47 +00:00
alecf%netscape.com fb914c4e6d oops, forgot to make this native code for C++ 1999-06-03 20:47:09 +00:00
rjc%netscape.com 30efebddc1 XUL templates are now strong enough to support building menus and menuitems. 1999-06-03 07:16:18 +00:00
alecf%netscape.com a91815677d 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 2e2773036a 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 be0b2911a6 Checking in a workaround for bug #7437 until Rickg fixes that. 1999-06-02 00:01:23 +00:00
rjc%netscape.com 3d401b9151 Disable XUL templates for the moment. 1999-06-01 21:34:05 +00:00
rjc%netscape.com f86fec73d9 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 e95b75d902 Focus tracker actually tracks! 1999-05-28 22:55:10 +00:00
hyatt%netscape.com c9aa6a61c4 Oops. 1999-05-28 20:33:46 +00:00
hyatt%netscape.com cfd6d1f384 Adding the focus tracker to the XUL document. 1999-05-28 20:24:58 +00:00
waterson%netscape.com 246d4762ab 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 736192ee1b Implementing document and window capture in the XUL DOM. 1999-05-27 21:03:59 +00:00
peterl%netscape.com dc4edd9b35 sync to nsIStyledContent API change 1999-05-26 23:46:45 +00:00
peterl%netscape.com 7d7fd6b8dd tweaks to CSS loader usage 1999-05-26 23:42:29 +00:00
hyatt%netscape.com cec22bc0a9 Better fix for 6746. 1999-05-25 00:29:55 +00:00
waterson%netscape.com 6f5bf2a2cb More bug 6823. Add comments to keep this problem from happening again. 1999-05-21 21:23:04 +00:00
hyatt%netscape.com 602abf226d Fix for the regression described in bug 6823. 1999-05-21 19:27:02 +00:00
hyatt%netscape.com 5cca8d81b3 Fixes for bugs 6746 and 6747. Approved by chofmann@netscape.com. 1999-05-20 06:39:37 +00:00
rjc%netscape.com 5f33c29784 Fix Unix bustage on previous checking for bug # 6778. 1999-05-20 01:55:37 +00:00
rjc%netscape.com c03e43cdb3 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 95a6b34717 Fix for bug 5911. 1999-05-19 08:26:21 +00:00
rjc%netscape.com 457caa5821 Apply Scott Putterman's fix for XUL sorting. 1999-05-19 05:30:25 +00:00
waterson%netscape.com 80334ce89a Implement nsIDOMNSDocument properly. Factor logic for createElement & createElementWithNamespace. 1999-05-19 04:28:40 +00:00
peterl%netscape.com 9bc56b4862 fixed ambiguous cast for nsCOMPtr on linux 1999-05-19 00:05:40 +00:00
joki%netscape.com 71e96012a3 Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent. 1999-05-18 23:51:04 +00:00
peterl%netscape.com 3faa8b3b5c added css loader support
fixed document observer calls
1999-05-18 23:02:00 +00:00
hyatt%netscape.com 2ce85ee0fa 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 0b3f6c19ea Fixes. 1999-05-18 09:28:00 +00:00
hyatt%netscape.com 6c62cd6df5 Oh yeah, baby. 1999-05-18 09:03:53 +00:00
hyatt%netscape.com 02eabdf348 Popup listener knows how to be a blur listener. 1999-05-18 08:37:41 +00:00
hyatt%netscape.com f42e39e419 Typo. 1999-05-18 07:42:31 +00:00
hyatt%netscape.com 6810f55bd3 Working on popup documents. 1999-05-18 07:40:59 +00:00
rjc%netscape.com b0cf560690 Get rid of a few warnings. 1999-05-18 06:34:15 +00:00
rjc%netscape.com 70bf5173d4 More XUL template changes. Also re-enabling XUL_TEMPLATES. 1999-05-18 06:27:04 +00:00
rjc%netscape.com 83617f5b88 Even more support for collation keys. 1999-05-18 06:19:04 +00:00
hyatt%netscape.com 030f73ed26 Had the wrong integer value for the right mouse button. 1999-05-18 06:05:43 +00:00
rjc%netscape.com f6e8f86744 Checking in some additional collation key support. 1999-05-17 22:43:47 +00:00
hyatt%netscape.com 7d4f43e0f9 La la la. 1999-05-16 09:40:42 +00:00
hyatt%netscape.com d5f2bd61ce More popup work. 1999-05-16 09:09:00 +00:00
hyatt%netscape.com a48945c0a3 Fixing build bustage 1999-05-16 08:50:27 +00:00
hyatt%netscape.com 4c5b8bc7ed Added the method that will give me the new popup doc. 1999-05-16 08:05:32 +00:00
hyatt%netscape.com 19ffc42c57 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 d054927d19 Events weren't bubbling into the document. They do this now. 1999-05-16 06:58:56 +00:00
waterson%netscape.com ada5fed6e3 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 3bcdf2b219 DOn't need the printf any more. 1999-05-15 09:04:45 +00:00
hyatt%netscape.com d8868b63ca Not yet implemented. Sigh. I hate seeing "Not yet implemented." 1999-05-15 09:03:59 +00:00
hyatt%netscape.com e0323b8d8a 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 da3657824f Calling both createPopup and createAnchoredPopup now. 1999-05-14 21:51:57 +00:00
hyatt%netscape.com a9e9be3c9a Screen coords instead. 1999-05-14 19:22:52 +00:00
hyatt%netscape.com 903d87c645 Changes to actually call into the GlobalWindowImpl's createPopup method. 1999-05-14 19:10:01 +00:00
hyatt%netscape.com d7d64cb757 Popup listener. 1999-05-14 07:20:12 +00:00
hyatt%netscape.com 656d553c50 Committing the XUL popup listener implementation. 1999-05-14 05:37:20 +00:00
hyatt%netscape.com 96c61ccdcb Adding support for the popup content implementation. 1999-05-14 05:37:00 +00:00
hyatt%netscape.com ff8e79c925 Committing the popup listener interface. 1999-05-14 05:36:21 +00:00
waterson%netscape.com f5c0bb9854 Fixed missing release service. 1999-05-13 20:52:15 +00:00
waterson%netscape.com 6a7e4de78b Okay, let's try that fix again. 1999-05-13 17:27:51 +00:00
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 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 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
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
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 1291d03e17 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 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
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 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