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

487 Коммитов

Автор SHA1 Сообщение Дата
rjc%netscape.com 10a6f091ce XUL templates can now be specified via attribute instead of a child node of the root. Also, sorting info can now be specified on the root node, so now any RDF-generated content can be sorted (not just trees). Review: me 1999-11-14 11:10:34 +00:00
putterman%netscape.com 7a34491281 Use get() instead of == 1999-11-11 01:22:59 +00:00
rjc%netscape.com 537f64c3da Add support for secondary key sort. Convert over to using nsCOMPtrs. Review: me 1999-11-10 23:50:34 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
waterson%netscape.com 55489d1b93 Bug 15146. Don't eagerly create a <xul:menu>'s contents. r=hyatt a=brendan 1999-11-04 01:49:34 +00:00
waterson%netscape.com d2c5bedf2e Bug 13252. Build content for current template before recursing to build content for children. r=alecf. 1999-11-03 06:59:49 +00:00
waterson%netscape.com 676716c335 Bug 15146. Brutal sharing, Phase III. Turn on protoype, script, and style sheet caching. r=hyatt 1999-11-02 01:14:07 +00:00
waterson%netscape.com ada7441247 Bug 15146. Brutal content model sharing, Phase II. XUL content sink now constructs prototype documents; 'real' content model constructed from walking prototype. Landed XUL_SHARING_19991027_BRANCH (derived from XUL_SHARING_19991022_BRANCH). See branch comments for details. r=hyatt. 1999-10-29 01:21:15 +00:00
waterson%netscape.com 15b4a60c84 Bug 15146. Factor nsXULElement's members into prototype and optional 'slots' for heavyweight elements. r=hyatt. 1999-10-20 18:55:32 +00:00
warren%netscape.com 26fb3f9eba Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:21:53 +00:00
waterson%netscape.com 3d04c11522 Darnit. Didn't mean to FORCE_PR_LOG. Removing that #define. 1999-10-15 20:55:54 +00:00
waterson%netscape.com 6a8ada8d6c Bug 9764. Fix HTML templates to ensure that attribute adding is namespace-agnostic. Add local variable for isUnique so that BuildContentFromTemplate will work if resource- and non-resource elements are siblings in a template. Add logging capability for debug. r=rjc. 1999-10-15 20:47:19 +00:00
rjc%netscape.com ae28cd2568 Fix leak in nsXULSortService (found by Boehm GC). Also, remove CTOR_COUNT stuff. Review: waterson@netscape.com 1999-10-15 06:27:02 +00:00
waterson%netscape.com 3ddd2b7390 Add PR_LOG() calls to aid debugging. 1999-10-13 08:00:45 +00:00
waterson%netscape.com c076e2aac8 Fix 'commandupdater' nodes; make sure that they are hooked up correctly from the XUL content sink; factor code to appropriately deal with being called from two places. r=hyatt. 1999-10-13 00:43:46 +00:00
waterson%netscape.com 9d26c76a5e Misc cleanup, r=hyatt 1999-10-08 07:26:39 +00:00
rjc%netscape.com bb45ef1bde Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com 1999-10-07 01:51:30 +00:00
waterson%netscape.com 14d8b9492e Bug 15301. Remove RDF graph from XUL content model construction. Landed XUL_19991005_BRANCH; see branch comments for detailed checkin information. r=shaver,hyatt. 1999-10-05 21:13:55 +00:00
waterson%netscape.com f002a3fe71 Fuck. These went in onto the tip and were supposed to be on the branch. Backing out. 1999-10-01 03:04:08 +00:00
waterson%netscape.com 61408ff762 Initial checkin on XUL_19990930_BRANCH, the RDF-ectomy. Single XUL documents hobbling along. 1999-10-01 03:01:22 +00:00
waterson%netscape.com c3bd3a1e15 Fix mac build bustage. 1999-09-24 20:39:26 +00:00
waterson%netscape.com 4cc8eb6bfe Bug 14752. Support '.database' attribute on HTML elements. Fix ref='...' support for HTML templates. r=rjc, a=chofmann 1999-09-24 19:49:12 +00:00
waterson%netscape.com fabf00233c Bug 14273. We weren't recursively creating 'container' contents for HTML elements. Fixed that. 1999-09-22 00:54:05 +00:00
waterson%netscape.com 25694dc329 Fix bugs with computing containment. 1999-09-21 05:57:47 +00:00
slamm%netscape.com 35951bb528 Fix build warnings (rename 'tm' to 'value). 1999-09-18 02:15:00 +00:00
waterson%netscape.com 9ed3206e50 Bug 12649. Add support for 'parent' on <rule> tags. 1999-09-17 20:15:29 +00:00
waterson%netscape.com 9fe5928235 Fix HTML-rooted templates. 1999-09-15 20:08:37 +00:00
waterson%netscape.com 3a2015c4e4 Partial fix for bug 13768. Be sure to set eChildrenMustBeRebuilt flag _before_ appending child to content model; appending child to content model will cause layout to recur and possibly build up more content. 1999-09-14 22:34:05 +00:00
waterson%netscape.com 8b8a1c6f93 Strip some dead code. Re-enable sorting. 1999-09-14 02:07:46 +00:00
waterson%netscape.com 06ea3cca41 Performance improvements. Make use of CBufDescriptor's where appropriate; replace attribute-based lazy bookkeeping with a private interface (non-XUL content can't be lazy, _anyway_). 1999-09-13 22:06:17 +00:00
rjc%netscape.com 37e13748c5 Add check for NS_RDF_NO_VALUE. 1999-09-09 00:58:08 +00:00
rjc%netscape.com ba85e5af78 Cache sort resource requests. 1999-09-08 03:04:45 +00:00
rjc%netscape.com 293b334687 Cache sort resources. 1999-09-07 07:27:49 +00:00
waterson%netscape.com 49ac7e179a Replace nsRDFContentUtils with nsXULContentUtils, which can be acquired as a service. This allows it to keep cached member variables to other frequently-accessed services. 1999-09-07 02:51:13 +00:00
waterson%netscape.com 5eecd7bc1a Re-write GetTextForNode() to be a bit more efficient; broke out data format. Bug 13137, fix broken use of CBufDescriptor. Add CBufDescriptors where appropriate. 1999-09-07 02:47:56 +00:00
waterson%netscape.com e75207446c Add nsXULContentUtils, eventually to replace nsRDFContentUtils. Not yet in the build though. 1999-09-06 22:25:45 +00:00
bruce%cybersight.com 4921b1d83b Use nsAllocator for char* data. 1999-09-04 13:59:52 +00:00
dougt%netscape.com 028f11d2bf Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
bruce%cybersight.com f67b510aa5 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:53:26 +00:00
waterson%netscape.com 2239643aca Persistence, again. 1999-09-03 07:02:25 +00:00
waterson%netscape.com c82d0aba3a Fix bug that was causing insertion sort to _never_ run. Also, fix code that was looking for ID attribute during RDF:Seq detection. 1999-09-02 21:34:57 +00:00
waterson%netscape.com cc0fb78f13 Use nsAutoString() to avoid heap allocation during automatic coercion of 'const char*' to nsStrings; get rid of dead code that was causing a call to SplitProperty. 1999-09-02 21:32:23 +00:00
putterman%netscape.com 702944dcc2 speedup building content. checkin for waterson. 1999-09-01 04:58:36 +00:00
waterson%netscape.com c1ca0ebd36 Bug 12811. Fix frame system notifications s.t. as _few_ as possible get forwarded through to layout. Temporarily remove timer hacks from tree widget. 1999-08-31 06:40:41 +00:00
rjc%netscape.com 58afb3537f Try again. 1999-08-30 10:28:37 +00:00
rjc%netscape.com 230b63671a Small fix. 1999-08-30 10:26:55 +00:00
rjc%netscape.com 658964332a Cleanup a bit, and fix bug # 11516. 1999-08-30 10:05:40 +00:00
waterson%netscape.com 6e2ab0076d Content model whackage. Remove all code that tried to keep the graph in sync with DOM changes. Regenerate JS from newer idlc compiler. Fix bug 12177. Fix miscellaneous breakage with templates. 1999-08-30 02:45:54 +00:00
rjc%netscape.com 2528124539 Add nsIXULSortService 1999-08-27 06:54:08 +00:00
rjc%netscape.com 9be4830f5d Add nsIXULSortService.idl 1999-08-27 06:52:34 +00:00
waterson%netscape.com c4e7dd07c2 Bug 12270. XUL builder was ok. Fixed generic builder to do the right thing. 1999-08-26 04:29:15 +00:00
waterson%netscape.com 43b89f11ed Bug 12254. Fix templates that are built inside of or use nested HTML. 1999-08-25 07:56:52 +00:00
dougt%netscape.com 32a9a77110 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
rjc%netscape.com 5ed11f9b0d Fix bug # 10352: date sorting. 1999-08-11 06:24:56 +00:00
cls%seawood.org 3f1dcd11dc 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 5e0dfa201e Fix --pedantic bustage. 1999-08-06 18:36:50 +00:00
waterson%netscape.com b51825bc1d 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
rjc%netscape.com 3b08048ac8 Persist attributes via the content model only. 1999-08-01 03:24:18 +00:00
waterson%netscape.com a0ea173e2f 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 931e33f799 Hook up persistent (via the localstore). 1999-07-30 23:42:41 +00:00
waterson%netscape.com a5d129b99b 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 d9a7613550 Implement RemoveWidgetItem(). Whoops. 1999-07-28 02:53:49 +00:00
waterson%netscape.com 952e4e3de7 Fix --pedantic bustage. 1999-07-27 18:04:55 +00:00
waterson%netscape.com 91a8ac09e7 Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism. 1999-07-27 17:20:28 +00:00
waterson%netscape.com d1e0dbad12 Fix computation of empty containers. 1999-07-22 05:11:52 +00:00
rjc%netscape.com 0d632627c1 Set empty="false" attribute even if container is closed. 1999-07-22 00:49:50 +00:00
putterman%netscape.com 60f0c0a65e Messenger Copy/Move menus now show menuitems instead of all menus. 1999-07-22 00:26:00 +00:00
rjc%netscape.com ce1364e264 Now update "empty" attribute as children count changes. 1999-07-21 23:10:07 +00:00
rjc%netscape.com 1ed51dd105 Ensure that we have a value. 1999-07-21 23:02:35 +00:00
bienvenu%netscape.com 5ade5dfee3 checkin jefft's fix mailnews startup crash 1999-07-20 17:32:43 +00:00
rjc%netscape.com c8406785e0 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
rjc%netscape.com 0708ffd2ac 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 e236e64c7d 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 395b5ec7a8 Oops... PR_FALSE instead of just FALSE. 1999-07-20 03:14:34 +00:00
rjc%netscape.com cbda70fa34 Add support for sorting RDF_Seqs when in natural order sort mode. 1999-07-20 03:13:15 +00:00
waterson%netscape.com e55647074b 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
rjc%netscape.com c62018929a Fix a warning by tossing out some old debugging code. 1999-07-18 08:25:24 +00:00
rjc%netscape.com ba2f8f9be7 Use application locale when sorting with collation service; fix for bug #9968. 1999-07-17 21:36:17 +00:00
rjc%netscape.com 5cea898d16 Add check for null. 1999-07-15 09:20:54 +00:00
waterson%netscape.com fb0dd58baf 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 7cfab409c1 Use GetTextForNode() more, as well as use GetValueConst(). 1999-07-14 21:13:13 +00:00
waterson%netscape.com a475eefcf3 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 99a3ebae55 Bug 8854. Fix CloseWidgetItem() to play nice with mixture of XUL and RDF content. 1999-07-09 20:41:41 +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 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
waterson%netscape.com 62530d62af Implement OnChange() on the Generic and XUL builders. 1999-07-03 02:41:13 +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
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
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
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 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 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 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 6eb6f4542d Fix incorrect use of dont_QueryInterface() that was causing massive leakage. 1999-06-12 19:35:54 +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
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
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
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
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
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
rjc%netscape.com f6e8f86744 Checking in some additional collation key support. 1999-05-17 22:43:47 +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
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
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 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
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
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 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
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
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
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
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
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
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 bfe01b95a3 Timer changes. Preparation for timer to be destroyed when SetDocument(null). 1999-04-06 23:59:22 +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
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 0cf17d4ce5 Landed RDF_19990326_BRANCH, scriptability changes. 1999-03-29 19:52:54 +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 bd152bda2b Cleaned up code that mutates an element's ID, modulo bug 3971. 1999-03-18 20:46:02 +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
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
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
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 82b8b77f3c Fix build bustage, not really sure what this is supposed to be doing. 1999-03-10 08:11:28 +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
warren%netscape.com 4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +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
rjc%netscape.com b334a3cdd2 Small cleanup to nsXULSortService. 1999-03-06 00:11:14 +00:00
rjc%netscape.com 3d90c3e2e4 First Checked In. 1999-03-05 23:51:41 +00:00