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

435 Коммитов

Автор SHA1 Сообщение Дата
jdunn%netscape.com 6a80d6deff Need to specify base class type as public for Native compilers 1999-08-20 22:45:43 +00:00
ramiro%netscape.com 528c1001db Added public dir to the build to unbreak it. 1999-08-20 00:11:29 +00:00
evaughan%netscape.com a12f942778 xpscrollbars 1999-08-19 22:16:23 +00:00
hyatt%netscape.com 452311e2d9 Checking in a tweak to menu bar listener, and adding some popup set code. 1999-08-19 22:10:24 +00:00
hyatt%netscape.com 230f987244 Adding new public directory to xul/base for interfaces, etc. 1999-08-19 22:10:02 +00:00
karnaze%netscape.com 7bad0d49ba Added new incremental reflow methods.
CellData keeps track of row versus col spans.
nsColFrame keeps track of what cell contributed to constrained width.
nsCellMap::GetCellFrameAt replace with GetCellInfoAt
simplified nsTableCellFrame::RecalcLayoutData and removed FindLargestMargin, CalculateMargins, CalculateMargins
simplified nsTableFrame::RecalcLayoutData and removed AppendLayoutData
Added gsDebugReflow capability, remove all existing debug printf
1999-08-19 19:52:37 +00:00
pinkerton%netscape.com ddb14de9a3 rewrite to use the new drag gesture event rather than tracking mouse downs/moves. 1999-08-19 19:49:51 +00:00
waterson%netscape.com 458f62b47f Bug 11819. Create delegate object to implement drag listener events; frames CANNOT be refcounted like normal XPCOM objects. 1999-08-19 05:12:07 +00:00
troy%netscape.com f901be20dc Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
rods%netscape.com 8a6bb674ef removed warnings: rearranged initializers and removed unused variable "onChild" 1999-08-18 14:41:53 +00:00
hyatt%netscape.com 6135a530ee Fix for bugs 11858 and 10774. 1999-08-13 23:49:53 +00:00
hyatt%netscape.com 53a1619128 A minor addendum to the bug fix I checked in a few minutes ago. 1999-08-12 21:20:04 +00:00
pinkerton%netscape.com fca214cf9d temp tweak to turn off toolbar d&d for M9 because it's too sensitive. bug 11397. appr don. 1999-08-12 20:52:47 +00:00
hyatt%netscape.com 16963f5890 Fix for bug #11418 and #11506 (which are actually the
same bug).  Approved by chofmann.
1999-08-12 20:45:47 +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
bienvenu%netscape.com 4f40ad233e attempt to fix build bustage 1999-08-06 20:01:04 +00:00
hyatt%netscape.com 85211cd417 Adding the popup set atom to the XUL atom list. 1999-08-06 19:18:42 +00:00
hyatt%netscape.com 7c37a79647 Working on converting XUL popups to use the XP menu code. 1999-08-06 19:12:23 +00:00
pinkerton%netscape.com a972f5babf major major cleanup of toolbar drag and drop. fixes some bugs, some memory leaks, and problems with dragging to select text in the url bar. 1999-08-06 18:54:48 +00:00
hyatt%netscape.com f70ea07448 Adding code for popup set frames (which hold the absolutely positioned menu popups
that represent tooltips, popup menus, and context menus).  This code is not being
compiled yet, so it's a safe checkin.
1999-08-06 18:16:27 +00:00
evaughan%netscape.com cd20918536 Fixed divide by 0 bug in boxes. 1999-08-05 23:25:20 +00:00
hyatt%netscape.com 9cfbacbd6c Fix for bug 9923. 1999-08-05 01:43:14 +00:00
hyatt%netscape.com 171ed12851 Fixing three problems that prevented XP menus from working with RDF templates.
The Bookmarks menu and mail menus should work now.
1999-08-04 21:36:30 +00:00
pinkerton%netscape.com 3a87aa5e0c removing the TOOLBAR_DD #ifdef's. 1999-08-04 20:16:31 +00:00
hyatt%netscape.com 1780f2cc5d Removing my hard-coded check for letters A-Z. 1999-08-03 20:36:27 +00:00
hyatt%netscape.com 8a4f8c434b Fix for bug 11082. 1999-08-02 23:57:58 +00:00
mcafee%netscape.com b524429748 Fix null pointer crash for XP Menu case. 1999-08-02 08:21:40 +00:00
hyatt%netscape.com bd9b9bc524 More hacks..errr...tricks to speed up XP menus. 1999-08-02 08:15:30 +00:00
hyatt%netscape.com a51447d993 Speeding up XP menus. 1999-08-02 07:26:24 +00:00
hyatt%netscape.com b2d709aa56 Fixing morse's reported problem regarding the menus not dismissing upon execution. 1999-08-01 19:55:00 +00:00
briano%netscape.com 21df07a824 Added the missing newline that was upsetting Unix native compilers. 1999-07-31 18:39:47 +00:00
hyatt%netscape.com f080c0cae8 Phase 3. Enabling XP menus on the menu bar. 1999-07-31 11:29:03 +00:00
hyatt%netscape.com 00f89f8113 XP menus now know how to anonymously construct children, so that they are
now mostly compatible with the original menu syntax.  They also now
execute create, destroy, and action handlers.
1999-07-31 01:43:33 +00:00
karnaze%netscape.com a88b1a3f85 new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
evaughan%netscape.com fa358cdae6 Fixed some uninitialized memory bugs that caused dialogs to be too tall. 1999-07-27 19:06:44 +00:00
pavlov%netscape.com 96b4208fe4 window creation changes 1999-07-27 04:27:17 +00:00
evaughan%netscape.com fcb03d0b52 Reversed alignement. It now refers to alignment of the image not the text. 1999-07-26 20:23:50 +00:00
evaughan%netscape.com f2da19b4f7 Fixed bug in titledbutton for mail. 1999-07-26 19:44:20 +00:00
hyatt%netscape.com cd355a2efd Fixing more mouse/keyboard issues. I'm having to eat the mouse move windows
sends me when a window gets the focus.  What a righteous hack.
1999-07-26 06:29:48 +00:00
hyatt%netscape.com 932172fb0b Fixing more keyboard navigation glitches in XP menus. 1999-07-26 04:38:28 +00:00
hyatt%netscape.com e7047395d3 Focus issues are getting better. 1999-07-26 02:26:26 +00:00
hyatt%netscape.com 9df6522e54 Fixing an event handling glitch when mousing into a disabled item from an
enabled item on an XP menu.
1999-07-26 01:58:51 +00:00
hyatt%netscape.com 7206f84fb6 Adding support for disabled items to XP menus. 1999-07-26 01:35:39 +00:00
hyatt%netscape.com 1972b6d379 Using "accesskey" instead of "shortcut". 1999-07-26 01:19:49 +00:00
evaughan%netscape.com f97d9c4df1 1) added .gif for horizontal scrollbar
2) added cropping to titledbuttons
3) fixed bugs in navigator.xul and navigator.css
1999-07-25 01:15:14 +00:00
hyatt%netscape.com 00b9c6f64c Cascading menus now work! 1999-07-25 01:14:43 +00:00
hyatt%netscape.com 721f25aa88 Cleaning up keyboard navigation to work properly with cascading submenus. 1999-07-25 00:16:11 +00:00
hyatt%netscape.com 3b8e400ca1 Tweaks. 1999-07-24 22:51:50 +00:00
hyatt%netscape.com dc682a1780 Handling Enter key press in submenus. 1999-07-24 22:02:23 +00:00
hyatt%netscape.com ca1af77117 Menus know about the ENTER key to execute, and know how to dismiss themselves
on mouse clicks.
1999-07-24 01:59:32 +00:00
evaughan%netscape.com ded8baab17 Fixed some box problems. 1999-07-23 23:30:17 +00:00
hyatt%netscape.com 8539304992 Removing commented out code. Harmless. 1999-07-23 09:36:53 +00:00
hyatt%netscape.com 58fee918ef Making sure the first menu item gets selected as you keyboard navigate into new
menus.
1999-07-23 09:34:14 +00:00
hyatt%netscape.com c572a0aec2 Menu improvements. 1999-07-23 08:36:39 +00:00
hyatt%netscape.com a32734dbb9 Refining the ESC behavior and doing deeper shortcut work (on cascading menus). 1999-07-23 07:56:27 +00:00
hyatt%netscape.com b636708367 Teaching the menus about the ESC key (which will close up each level of menu
until you hit the menu bar).
1999-07-23 07:49:43 +00:00
hyatt%netscape.com 7a62bb78f1 The menu bar now supports shortcuts (e.g., ALT+f). Also repaired a minor problem
with keyboard navigation and mouse movement interoperability on the menus.
1999-07-23 07:39:16 +00:00
hyatt%netscape.com ab9f23cbd0 Ok, this is more like it. I did want GEtCharCode after all. 1999-07-23 06:01:03 +00:00
hyatt%netscape.com a2d3c67660 Wanted GetKeyCode, and not GetCharCode. Oops. 1999-07-23 05:52:51 +00:00
hyatt%netscape.com 82e91035de Working on shortcut navigation in XP menus (e.g., ALT+f, etc. etc.). 1999-07-23 05:47:43 +00:00
hyatt%netscape.com 9011b3f9fc PRUint32... not PRInt32 ... oops. 1999-07-23 05:17:08 +00:00
hyatt%netscape.com 807fd2cba6 Adding the capability to distinguish menus from menu items. 1999-07-23 05:10:57 +00:00
hyatt%netscape.com c1398e2384 Adding an xpmenuitem atom. 1999-07-23 05:09:17 +00:00
hyatt%netscape.com b28b7c444c Making XP menus work again after Eric's box checkin. They're fast and
smooth now!  YEAH!
1999-07-23 01:02:09 +00:00
scc%netscape.com b1c73fa7c7 Fixed boxes to only invalidate and redraw what has changed.
Made min and max sizes work
Made linux not suck!
1999-07-23 00:11:21 +00:00
hyatt%netscape.com 931c28f24a More fun with menus. 1999-07-22 09:49:35 +00:00
hyatt%netscape.com 2b5206a56e Removing my printf. 1999-07-22 09:04:10 +00:00
hyatt%netscape.com 298c5a685d XP menu changes. Full keyboard navigation now works. Next up: cascading. 1999-07-22 09:01:55 +00:00
troy%netscape.com 7a5e4dbdb5 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy%netscape.com c551fe3166 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
hyatt%netscape.com 1d19002a5c Enhancing the tracking so that I can get keyboard navigation to work in
the presence of cascading.
1999-07-22 01:59:09 +00:00
hyatt%netscape.com c0e3b7e818 Tracking my reflows. Boxes are generating way way way too many reflows. 1999-07-21 09:45:21 +00:00
hyatt%netscape.com f3160f1eb3 Removing some printfs. 1999-07-21 09:20:13 +00:00
hyatt%netscape.com 4fd2eb41cc Adding the capability to capture the mouse events. 1999-07-21 08:51:41 +00:00
hyatt%netscape.com 8dbfaab703 Forgot to remove some obsolete bubbling registration on menus. 1999-07-21 07:45:46 +00:00
hyatt%netscape.com e8be21ec36 Adding the new nsIMenuParent interface. 1999-07-21 07:43:19 +00:00
hyatt%netscape.com dda6f80134 Adding the open atom. 1999-07-21 07:42:31 +00:00
hyatt%netscape.com 672f3b4f62 Improvements to XP menus. 1999-07-21 07:42:16 +00:00
hyatt%netscape.com 6ae6fc4be9 Making menus boxes. 1999-07-21 02:56:23 +00:00
pinkerton%netscape.com 0afab0b433 add the "immediate" flag to the UpdateView() call in ForceDrawFrame() so that drop feedback always draws on macOS. 1999-07-21 00:59:17 +00:00
hyatt%netscape.com 810ebf5fa4 Fixing the scrollbar problem in trees (where it gets created and destroyed over
and over and over and over and over and...)
1999-07-20 23:25:58 +00:00
hyatt%netscape.com 8e62e4618a I can now show a menu (and it looks halfway decent). 1999-07-20 10:35:24 +00:00
ramiro%netscape.com 87a8905643 Fix reflow state member names. Fixes broken build. 1999-07-20 10:13:43 +00:00
hyatt%netscape.com 1d4bd582b7 Getting closer... 1999-07-20 09:50:48 +00:00
hyatt%netscape.com adff7832c3 I have a menu coming up, but boy does it look bad. 1999-07-20 09:35:35 +00:00
hyatt%netscape.com 155f10f03d Ok, I have the appropriate maximum Z-index borderless view being created
for menus.  Now I just have to figure out how to show it.
1999-07-20 08:37:03 +00:00
hyatt%netscape.com 5233e40e03 Still screwing around with menus. 1999-07-20 08:19:47 +00:00
hyatt%netscape.com 3671ea10d4 More tweaks. 1999-07-20 07:34:50 +00:00
hyatt%netscape.com c100c5b819 Menu popups init themselves with a view. 1999-07-20 07:28:39 +00:00
hyatt%netscape.com 6ecedfdec8 Adding a pseudo atom for XP menu visibility state.
s
1999-07-20 07:12:48 +00:00
troy%netscape.com 155ed6816a Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +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
hyatt%netscape.com 66d44dce92 Fixing Linux bustage. 1999-07-19 09:57:23 +00:00
hyatt%netscape.com d455d19533 Making sure the left and right arrow navigation only fires when the menu bar
is active.
1999-07-19 09:36:24 +00:00
hyatt%netscape.com 6239477090 Making sure the mouse over behavior is right. 1999-07-19 09:18:24 +00:00
hyatt%netscape.com 572b6f3567 Adding some comments. 1999-07-19 09:09:36 +00:00
hyatt%netscape.com a532ac5652 Making sure I consume events when the menu bar is active. 1999-07-19 08:52:42 +00:00
hyatt%netscape.com ba35684f00 You can now keyboard navigate through the menu bar... moving to the left or
right after hitting ALT.
1999-07-19 08:47:02 +00:00
hyatt%netscape.com b7a4382dfa Teaching the menu bar how to highlight the first item when the ALT key
is pressed.
1999-07-19 08:09:30 +00:00
hyatt%netscape.com 8444ebacd4 Adding a notion of being "active" to the menu bar. This will let it know
when it should be taking control of key events (like arrow keys).
1999-07-19 02:29:11 +00:00
hyatt%netscape.com 2901511264 Hooking up the key and mouse listeners for the menu bar. 1999-07-19 02:26:39 +00:00
hyatt%netscape.com 7669f9c4c9 Instantiating the menu bar listener. 1999-07-19 02:02:38 +00:00
hyatt%netscape.com 74084836c1 The menu frame can be an area frame. In fact that makes more sense. It
should be thought of as an HTML container and not as a funky box.
1999-07-18 08:18:58 +00:00
hyatt%netscape.com 8fe8ccd149 Oops. Had a redundant case. 1999-07-18 07:37:26 +00:00
hyatt%netscape.com a1eb0b0b29 Adding the listener that will observe key and mouse events on the menu bar
(in order to properly pop up menus and to allow the user to move between
menus).
1999-07-18 07:27:02 +00:00
hyatt%netscape.com 124721301b Adding the menu bar frame. 1999-07-18 07:07:55 +00:00
hyatt%netscape.com 68583ab57a Making sure that the popup frames get deleted when the menu gets deleted. 1999-07-18 06:52:06 +00:00
hyatt%netscape.com 97b3b296fb Another method added to the menu frame. 1999-07-18 06:48:03 +00:00
hyatt%netscape.com 18083a388f Continuing the menu frame's education regarding its separate popup list. 1999-07-18 06:44:03 +00:00
hyatt%netscape.com 336f91c812 Teaching the menu frame that menu children aren't really part of its flow (like
the dropdown combo box does).
1999-07-18 06:41:41 +00:00
hyatt%netscape.com a92ef1a85c Adding the menu frame files. 1999-07-18 06:36:37 +00:00
hyatt%netscape.com 8e2263303c Committing the popup .h file. 1999-07-18 06:35:03 +00:00
hyatt%netscape.com 1602e29911 Stubbing a menu popup frame for XP menus. 1999-07-18 06:23:45 +00:00
hyatt%netscape.com 8b79ce996e Turning on XP menus. 1999-07-18 03:16:58 +00:00
peterl%netscape.com 96e0cff2d6 use preprocessor to generate atom code 1999-07-18 00:35:21 +00:00
rods%netscape.com 47c4a999ca Using nsCOMTypeInfo instead of /class/::GetID
added comments, added code to reset the active state after the drop
fixed a selection bug in native text fields because the events weren't being
propagated correctly.
1999-07-16 13:02:01 +00:00
kipp%netscape.com 9bd5c53136 Refix the problem with maxElementSize pointing below the stack 1999-07-16 03:12:56 +00:00
mcafee%netscape.com eb0a9b76b3 removing unused variable. 1999-07-15 02:02:56 +00:00
mcafee%netscape.com d178ccc1b4 Moved inclusion of nsIStyleContext.h into nsToolbarFrame.h, this fixes Solaris bustage. 1999-07-14 19:40:03 +00:00
mcafee%netscape.com 49def2a8f5 Fixing Solaris bustage for TOOLBAR_DD ifdef. 1999-07-14 19:35:22 +00:00
kipp%netscape.com 8e14dafaf7 Added GetFrameName 1999-07-14 17:32:56 +00:00
kipp%netscape.com bfeb95abce Added GetFrameName method to improve List's; fix a purify BSR by stubbing out maxElementSize; left in some debug noise (disabled) 1999-07-14 17:32:43 +00:00
hyatt%netscape.com bd33391b05 Fix for bug 9566. 1999-07-10 08:20:09 +00:00
hyatt%netscape.com 9af43ac043 Batching removal and making sure I get notified (in an attempt to fix some
of the out of sync problems the tree widget is having).
1999-07-10 01:10:40 +00:00
hyatt%netscape.com 6830e1839d Fix for bug 9503. 1999-07-10 00:51:35 +00:00
hyatt%netscape.com 4e29132a5d Changes to the tree widget to prevent memory whackage that's causing
crashes.  This should fix several of the mailnews bugs.  It's hard to
say exactly which of them will be fixed by this, since some of them
are caused by memory whackage and others are real bugs in the widget
itself.

Also adding in support for Troy's primary frame hashtable, thus ensuring
that when the tree widget dynamically deletes frames that the mappings
in the hashtable are removed (so that deleted frames won't accidentally
be retrieved).
1999-07-09 20:58:16 +00:00
hyatt%netscape.com 69ea86f29b Nailed this repainting/disappearing bug to the WALL! 1999-07-08 00:43:17 +00:00
mcafee%netscape.com 181ddbfac5 Adding nsToolbarItemFrame.cpp to the build, this gets used when TOOLBAR_DD=1, ie. --enable-toolbar-dd. a=cyeh 1999-07-07 22:55:47 +00:00
kipp%netscape.com 87e4c2d72f Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993) 1999-07-07 02:33:17 +00:00
kipp%netscape.com f967462f7d Cleaned up ctor initializer order to quite down compiler warnings 1999-07-05 18:42:51 +00:00
mcafee%netscape.com d74d50a8d0 Adding nsToolbarDragListener.cpp 1999-07-02 23:58:32 +00:00
rods%netscape.com a4d74a301c Change returns codes for proper bubbling of events
made non toolbaritem and titlebuttons non-draggable
1999-07-02 20:20:49 +00:00
hyatt%netscape.com 9b9522ae73 Landing changes to wrap XUL windows in a box frame so that we can support
intrinsic sizing of windows.  (Unlike HTML and XML, we are no longer wrapped
in an area frame. We are instead wrapped in a box frame.)

Also included is a patch for the table code, since it crashes inside boxes
because of a bug in its incremental reflow code.

nsISpaceManager was touched to give it a GetIID method so that it could be
used with nsCOMPtrs.
1999-07-02 05:28:32 +00:00
sfraser%netscape.com 05fadab393 Fix for crash on startup -- don't use nsCOMPtr on frame-derived things, becaue they are not refcounted, and this causes nsCOMPtr to delete the frame on destructions. 1999-07-02 04:02:48 +00:00
rods%netscape.com 5cb9323f07 Fixed a couple of more small compile time issues 1999-07-01 22:27:43 +00:00
rods%netscape.com 4288d0bbde Added a newline at the end of file 1999-07-01 22:25:54 +00:00
rods%netscape.com 27570d89da changed the hard-coded twips value of 15 to a calculated value. 1999-07-01 22:24:57 +00:00
rods%netscape.com 0571fee60e changes nscoord.h to nsCoord.h 1999-07-01 22:19:16 +00:00
rods%netscape.com 2d90c10c9e Added D&D to toolbars and toolboxes 1999-07-01 21:12:43 +00:00
sspitzer%netscape.com 9979327268 add new line to end of file 1999-07-01 06:11:16 +00:00
hyatt%netscape.com 0dd84590e4 Adding some atoms. 1999-07-01 05:06:11 +00:00
pinkerton%netscape.com 98dffbe943 add include for linux to fix build bustage. 1999-07-01 00:12:54 +00:00
evaughan%netscape.com 54afa7f4f6 Added anonymous node support.
Added splitters
Added Grippies.
1999-06-30 22:17:43 +00:00
tague%netscape.com 094a0276c3 Fixed (hopefully) linux build bustage by re-writing the expression w/ a temp variable 1999-06-29 22:46:20 +00:00
hyatt%netscape.com 58cda7a8d0 Turning on the lazy mode in the tree widget. It is now the default. Let
the bug filing begin. :(
1999-06-29 20:20:40 +00:00
rods%netscape.com 47869fd688 Initial checkin 1999-06-29 14:24:10 +00:00
rods%netscape.com 53b1ce1076 Added toolbaritem 1999-06-29 14:21:14 +00:00
jdunn%netscape.com d7604beee6 declare class as public... since some compilers assume private 1999-06-29 02:25:08 +00:00
jdunn%netscape.com e73fe072c3 MUST have a newline at end of file 1999-06-28 21:01:36 +00:00
evaughan%netscape.com 294fcf4040 Fixed offset bug in the scrollbar 1999-06-28 19:57:28 +00:00