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

528 Коммитов

Автор SHA1 Сообщение Дата
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
saari%netscape.com e35eca0fca Fixing Bug #8328, keybinding fix 1999-06-17 01:48:22 +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
saari%netscape.com 0a0a37a97c adding in a piece of keybinding I forgot 1999-06-15 23:33:21 +00:00
bruce%cybersight.com aab2a4cdc7 APPROVED BY leaf@mozilla.org
This fixes the use of 'false' instead of PR_FALSE.  This was killing the Solaris native compiler build.  (Probably would've killed others if they weren't so horrked that they don't get to this file.)

Also, it adds a linefeed at the end of the file for those same native unix compilers.

This won't mess up Mozilla any more than it already is this morning.
1999-06-15 18:07:58 +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
saari%netscape.com 7778cde62f Fixed some bugs in key listeners 1999-06-14 22:06:50 +00:00
saari%netscape.com fe5f851858 Adding nsXULKeyListener to the Win and GTK builds 1999-06-14 22:04:32 +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 5949af5126 Change GetElementRefResource() to use rdf_MakeAbsoluteURI() to resolve attribute names. This makes it work more like '<a href=...>', which seems right (and fixes some problems that will occur with sitemaps). Inline code in GetElementResource() that was previously shared between the two. 1999-06-12 21:21: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
waterson%netscape.com 6ad255a7dc Fix incorrect use of dont_QueryInterface() with dont_AddRef(). 1999-06-12 19:31:36 +00:00
saari%netscape.com d547e8ff2c exporting nsIXULKeyListener.h on Win and Linux builds 1999-06-11 21:08:38 +00:00
saari%netscape.com b2f0818d4c Adding more to nsXULKeyListener.cpp. About to be in the build system. 1999-06-11 20:36:14 +00:00
saari%netscape.com bc8223f4d3 Adding nsIXULKeyListener.h to Mac export 1999-06-11 20:35:26 +00:00
waterson%netscape.com 69398c0e51 Bug 7781, part deux. Be paranoid about checking the result from the zombie pool. 1999-06-11 03:15:40 +00:00
waterson%netscape.com b1b52652b0 Add a bit of documentation. 1999-06-10 23:46:30 +00:00
waterson%netscape.com 227ad35f13 Bug 7781. Don't add nodes without ID attributes to the zombie pool. Oh, per selmer's suggestion, improved some of the variable and method names ;-). 1999-06-10 23:29:41 +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 afbbe6b229 Tweaking interface for focus stuff. 1999-06-09 00:35:46 +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 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
saari%netscape.com cdea685c18 First Checked In. 1999-06-06 01:26:05 +00:00
saari%netscape.com 9f5727f9e5 adding files for keybinding. Not yet in the build 1999-06-06 01:25:40 +00:00
waterson%netscape.com 82a3466055 Obsolete. 1999-06-04 22:19:32 +00:00
hyatt%netscape.com 38639ff1bc Fixes for several bugs. 1999-06-04 22:05:47 +00:00
waterson%netscape.com 53e94d4ea4 Remove unnecessary LINCS now that all headers are pushed to the same directory. 1999-06-03 20:22:54 +00:00
waterson%netscape.com a65ad811c9 Fixes to get building on OpenVMS. Thanks to Colin R. Blake <colin@theblakes.com>. 1999-06-03 18:38:31 +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
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 871517966a Editing makefiles to add sources for the focus tracker. 1999-05-28 22:18:11 +00:00
hyatt%netscape.com 90a2640216 Adding source files for focus tracker. 1999-05-28 22:16:47 +00:00
hyatt%netscape.com 74b00dc01b Focus tracker stubbing. 1999-05-28 21:56:07 +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
saari%netscape.com 1da6437258 First Checked In. 1999-05-27 21:00:28 +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 4d0dad7ee7 For collation key sorting support, need to #include DIST area's "locale" directory. 1999-05-17 22:47:32 +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 a6cbb8eb21 Add extra checking to ensure that FindChildByTag() succeeds before using value. 1999-05-08 08:39:47 +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 ae3a97a715 Create an html element factory to use to create html content objects instead of requiring rdf to link with the html dll 1999-05-06 19:28:45 +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
waterson%netscape.com 0e6d8ebdba Bug 5679. Fix leak from XPConnect glue. 1999-05-04 03:32:12 +00:00
waterson%netscape.com fadbf6633e Bug 5741, part II. Need to be able to 'get the text' of a null node now, also. 1999-04-30 19:53:19 +00:00
waterson%netscape.com b20db9e2b0 Bug 5741. Always create a text content node so that subsequent calls to set the cell's value work. r=hyatt,a=choffman. 1999-04-30 18:47:43 +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