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

629 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com 0035d5bbb3 Fix silent failure from JS on firstChild. Clean up other baby-eating methods. 1999-08-04 02:26:26 +00:00
rjc%netscape.com 3b08048ac8 Persist attributes via the content model only. 1999-08-01 03:24:18 +00:00
waterson%netscape.com e13ecb674a Allow datasources= attribute on _any_ XUL content. 1999-07-31 00:05:03 +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 bf5f87de9b Fix bug #10751: use short date format. 1999-07-30 23:54:56 +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
putterman%netscape.com 5638dcc255 GetResource first looks at ref. checkin for waterson. 1999-07-27 23:02:13 +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 b30b439a4c Re-add. Wasn't meant to be deleted yet. 1999-07-27 03:03:25 +00:00
waterson%netscape.com 5b63567221 XULTreeElement.idl 1999-07-27 02:58:39 +00:00
waterson%netscape.com 3e44429c51 Native builder exorcism. Long live templates. 1999-07-27 02:40:40 +00:00
sspitzer%netscape.com f8f082ef18 remove my temporary code. 1999-07-27 00:50:07 +00:00
hyatt%netscape.com 8e2cd2600e Adding the menu events to the event map. 1999-07-26 09:18:57 +00:00
rickg%netscape.com 65fcb776bb replaced call to deprecated nsString API 1999-07-26 00:47:36 +00:00
sspitzer%netscape.com f2c02f64c5 temporary changes to use a pref to switch between localized date code and non-localized date code, so QA can test my fix for #10412 in a release build. also, some nsCOMPtr changes 1999-07-26 00:15:22 +00:00
hyatt%netscape.com ae72792dee Form needs to be explicitly inserted, since I need the frame to be made. 1999-07-25 06:55:22 +00:00
hyatt%netscape.com 52037238fa Fixing the problem where a blank space appears at the top of every XUL file. 1999-07-25 04:38:57 +00:00
sspitzer%netscape.com 8faee4daf2 go back to PR_FormatTime() until #10412 is fixed. 1999-07-24 01:47:59 +00:00
rjc%netscape.com d2b3aa039b Now use FormatPRTime(). 1999-07-23 00:17:39 +00:00
waterson%netscape.com a890d21e96 Fix for menuitems being incorrectly marked as menus. 1999-07-22 06:06:23 +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
troy%netscape.com 36264ba5ab 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
sspitzer%netscape.com 444500b100 fix warnings 1999-07-20 20:32:33 +00:00
mcafee%netscape.com eb59f22789 Fixing warnings 1999-07-20 20:22:23 +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
warren%netscape.com bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +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 eecea8a53d Comment out annoying assertion (bug # 9930) for the short term... the code needs to be rewritten in general. 1999-07-20 04:24:18 +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
joki%netscape.com d752334449 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 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
rickg%netscape.com 23b232d248 switch to faster string search API 1999-07-19 03:29:56 +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 72766aebbd Clear up a couple of warnings. 1999-07-18 08:22:06 +00:00
mjudge%netscape.com c0b1525970 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
saari%netscape.com fb53300e61 Use GetKeyCode instead of GetCharCode for windows and linux 1999-07-18 00:07:10 +00:00
peterl%netscape.com 3a3725dcca clean up some string usage 1999-07-18 00:01:21 +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
mcafee%netscape.com 778e0ee800 Fixing unused variable warnings 1999-07-17 03:06:14 +00:00
warren%netscape.com 84bd74a4fd 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 da6df5d1d9 Making sure I refcount some things i wasn't. 1999-07-16 08:37:11 +00:00
hyatt%netscape.com 1146e0fe11 Initializing a member variable to nsnull. 1999-07-16 08:26:42 +00:00
hyatt%netscape.com 0e9263261c Fixing build bustage 1999-07-16 07:47:37 +00:00
hyatt%netscape.com 3ad2b21bfe Removing the obsolete XUL fragment code. It's incompatible with the new XUL overlay code. 1999-07-16 07:33:52 +00:00
hyatt%netscape.com 592408790f Continuing XUL overlay work. 1999-07-16 07:10:20 +00:00
waterson%netscape.com e858075361 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 159456c774 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 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
rjc%netscape.com bef87d8e18 Added a comment. 1999-07-14 21:12:09 +00:00
brade%netscape.com 348c5ee97d keybinding fix 1999-07-14 17:29:15 +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 bff23da9f1 Bug 9365. Fix tree builder [Un]SetWidgetAttribute() for new content model. r=hyatt 1999-07-09 21:17:25 +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
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
saari%netscape.com 117933cfcd Fix for bug #8439, keybinding doesn't execute onkeyup and onkeydown 1999-07-07 03:40:22 +00:00
saari%netscape.com e77cbbf768 make keybinding consume events 1999-07-07 03:15:31 +00:00
rjc%netscape.com 7e541b5118 Add support for dateLiterals and intLiterals. 1999-07-07 03:14:58 +00:00
saari%netscape.com 0ff93b5771 making keybinding conform to the spec, and switching to event capturing instead of bubbling 1999-07-07 02:28:21 +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
saari%netscape.com 9c4389def2 Error checking on QI call prevents crash with multiple DOM nodes of the same ID 1999-07-01 20:57:28 +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
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