Commit Graph

3804 Commits

Author SHA1 Message Date
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
hyatt%netscape.com
7cd05a8274 More shuffling and error-checking. 1999-06-28 10:47:52 +00:00
hyatt%netscape.com
d1ffe01e19 Shuffling some stuff around. 1999-06-28 10:38:06 +00:00
hyatt%netscape.com
c756114f03 Number Two: Mail/news performance continued to decline. We thought the
situation with the tree widget was hopeless.  And so we cloned it.  This
new tree widget is exactly like the original in every way... only
1/8 its size.

Dr. Evil: I shall call it... MINI-TREE.

(Translation: Backward scrolling now works in the lazy tree
widget.)
1999-06-28 08:35:10 +00:00
hyatt%netscape.com
6d36295e48 Throw me a frickin' bone here. 1999-06-26 02:45:36 +00:00
hyatt%netscape.com
f9b5c5b8d6 Fix for nsCOMPtr lameness. 1999-06-25 10:21:09 +00:00
hyatt%netscape.com
9f664b9643 Release the chain when done with it. 1999-06-25 10:07:45 +00:00
hyatt%netscape.com
f9b67b3fe0 Fixing my for scoping. 1999-06-25 10:03:37 +00:00
hyatt%netscape.com
1f6f2c1fc0 More scrolling fun. 1999-06-25 09:59:20 +00:00
hyatt%netscape.com
6a65cef875 Give me your baby! Ah want tuh eat yore baby! 1999-06-25 09:35:39 +00:00
hyatt%netscape.com
81055dcd22 The tree widgets will use its giant "laser beam" to conquer 1960s Earth. 1999-06-25 08:45:01 +00:00
hyatt%netscape.com
693aa48aa4 Tree views are the diet coke of evil. 1999-06-25 08:06:46 +00:00
hyatt%netscape.com
2a97404691 Do tree widgets make you feel horny, baby? Do they? 1999-06-25 01:48:40 +00:00
hyatt%netscape.com
2f9dfd24cf Fixes for scrolling. 1999-06-25 01:28:43 +00:00
briano%netscape.com
dbf66fa37f File was missing a newline at the end of file, which upsets some Unix compilers. 1999-06-24 03:20:47 +00:00
hyatt%netscape.com
5d793c4ca4 Fun with tree widget scrollbars. 1999-06-24 01:45:44 +00:00
hyatt%netscape.com
5ce75e1494 Fixing a bug in the scrollbar buttons that was causing them to call the
MouseClicked method twice on a left click event.
1999-06-23 23:18:29 +00:00
hyatt%netscape.com
bbac4a1a39 Hooking up the scrollbar so that I can listen to events. 1999-06-23 23:05:36 +00:00
hyatt%netscape.com
9370bd4198 Fix for bug #8778. 1999-06-23 20:23:11 +00:00
hyatt%netscape.com
325c09cea5 Tweaks to the scrollbar. 1999-06-23 17:00:17 +00:00
hyatt%netscape.com
a3353e6c72 Fun fun fun. 1999-06-23 09:26:50 +00:00
hyatt%netscape.com
4cedb744c8 More methods. 1999-06-23 09:24:26 +00:00
hyatt%netscape.com
c1f71e4aba Adding a scrollbar listener object, so I can be notified. 1999-06-23 09:15:48 +00:00
hyatt%netscape.com
37db4271b6 More savory tree widget goodness. 1999-06-23 09:07:59 +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
syd%netscape.com
e37332e97d Make sure pointer has a value before dereferencing it. 1999-06-23 02:36:04 +00:00
evaughan%netscape.com
45cd09c530 Images will now change on hover on titledbuttons. 1999-06-23 01:13:58 +00:00
peterl%netscape.com
8aed081b91 fixed re-resolve style contexts to handle local pseudo elements
and capture style change information
1999-06-16 06:17:21 +00:00
pinkerton%netscape.com
7a9c1afcd4 fix memory leaks (bug# 8221) 1999-06-15 23:26:32 +00:00
sfraser%netscape.com
eef37728c7 Fix the multiple reflow problem which makes page rendering very slow. r hyatt, a leaf. 1999-06-15 21:30:14 +00:00
sfraser%netscape.com
a6db1c955a Added nsScrollbarButtonFrame.cpp, and fix constness of MouseClicked param. 1999-06-15 04:10:27 +00:00
evaughan%netscape.com
e2255c4a64 Integrated a new XP scrollbar
Added tri state behavior to titled buttons.
1999-06-15 04:02:43 +00:00
waterson%netscape.com
c465715bba Back out Hyatt's changes to use DOM APIs. This is busting mailnews. Use content APIs until we figure out persistence story. 1999-06-10 19:51:35 +00:00
hyatt%netscape.com
c5c7fc45e1 Using DOM calls for setting/removing selection and hover attributes. 1999-06-10 05:53:01 +00:00
putterman%netscape.com
0e00237c23 Check in fix for hyatt. Don't crash when closing a window after onchange
has been called.
1999-06-08 21:04:02 +00:00
hyatt%netscape.com
bae84c1437 Fix for a crash in the onchange handler of tree views on exit. 1999-06-08 18:12:47 +00:00
hyatt%netscape.com
c952601231 Notification of a change in selection. 1999-06-07 20:57:34 +00:00
evaughan%netscape.com
4903f45e54 Reworked fieldsets to fix numerous bugs. 1999-06-01 21:52:11 +00:00
pinkerton%netscape.com
d4fed0341a fixes to get collapsed grippies to be the same size as the toolbar that was collapsed. It was my error that I caught earlier, but forgot to go back to it. Chris' code did the right thing. 1999-05-27 22:39:10 +00:00
pinkerton%netscape.com
230de83001 more toolbar expanding/collapsing work. Significant portions donated by Chris Lattner. Thanks, Chris! 1999-05-27 22:17:25 +00:00
bruce%cybersight.com
f2d3f915e0 should've been a forward declaration of nsIPresContext. This will remove 117 warnings. 1999-05-27 20:48:01 +00:00
kmcclusk%netscape.com
ab173b8e64 patch for #bug 6934. Checkin approved by Chris Hofmann.
Added check to nsTitledButtonFrame::DisplayAltFeedback to verify the icon returned from
LoadIconImage for is not null. This will prevent aRenderingContext.DrawImage from being
passed a null aImage parameter.
1999-05-25 19:37:16 +00:00
evaughan%netscape.com
a9d351ef30 Fixed some visibility bugs in order to make the tab widget work correctly. 1999-05-19 22:14:11 +00:00
hyatt%netscape.com
2123f69cb9 Fix for bug 6459. 1999-05-18 06:17:51 +00:00
evaughan%netscape.com
b15112cc42 Fixed box insertion removeal bug. 1999-05-18 04:06:52 +00:00
evaughan%netscape.com
bf31c42dde Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses. 1999-05-13 01:35:16 +00:00
kipp%netscape.com
4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
pinkerton%netscape.com
25bfdaeab6 pull out unused includes. 1999-05-10 23:38:06 +00:00
evaughan%netscape.com
4fd09ecce6 Fixed mac compile bug. 1999-05-09 22:18:09 +00:00
evaughan%netscape.com
75c2437e81 Fixed xul boxes to implement nsIBox interface. 1999-05-09 21:46:24 +00:00
pinkerton%netscape.com
0f3dc2e30c make <tristatecheckbox> now be <checkbox> 1999-05-06 00:53:22 +00:00
evaughan%netscape.com
ca8fc6447c Fixes some resizing bugs in box. 1999-04-28 00:13:44 +00:00
evaughan%netscape.com
90cd131003 Fixed some bugs in boxes. 1999-04-27 17:42:46 +00:00
sspitzer%netscape.com
d8fcae158f get rid of a warning on UNIX 1999-04-26 02:56:56 +00:00
evaughan%netscape.com
430288e8b8 Made tabs use visibility to hide and show views. 1999-04-25 20:07:45 +00:00
evaughan%netscape.com
859c6199e5 Fixed make build by not using itoa 1999-04-21 23:51:40 +00:00
evaughan%netscape.com
0bec328133 Added a tab control widget. 1999-04-21 22:46:15 +00:00
pinkerton%netscape.com
7b024c5f33 back out joki's click event fix because it doesn't totally work right. toolboxes now collapse (most of the time). 1999-04-21 21:49:44 +00:00
pinkerton%netscape.com
97279e29ba new atoms for slider, spinner, scrollbar, color and font pickers. 1999-04-20 21:50:11 +00:00
pinkerton%netscape.com
b77d6218ba adding slider, scrollbar, spinner, font and color pickers to build. 1999-04-20 21:45:35 +00:00
pinkerton%netscape.com
ca0f65130e make a slider, not a spinner. doh! 1999-04-20 21:43:09 +00:00
pinkerton%netscape.com
3aeac2fe48 First Checked In. 1999-04-20 21:39:52 +00:00
rickg%netscape.com
e1012f40b9 sync with nsString2 API 1999-04-20 07:20:21 +00:00
pinkerton%netscape.com
7aec829ec9 tri-state'ness works, click tracking works. now it should just be bug-fixin. should work enough to use now. 1999-04-16 22:13:50 +00:00
pinkerton%netscape.com
0b3fe5c061 fix bustage again. I am a complete and total moron. 1999-04-16 18:14:22 +00:00
pinkerton%netscape.com
a4d9155886 fix bustage 1999-04-16 18:07:51 +00:00
pinkerton%netscape.com
9f3f2746a7 No longer inherits from the form widget base class. Beginnings of starting to draw and handle clicks correctly. 1999-04-16 17:14:35 +00:00
pinkerton%netscape.com
2fa8eaddcf add tristatecheckbox to atom list. 1999-04-16 17:07:48 +00:00
bruce%cybersight.com
0b0fdc5d55 Add newline at end of file for native compilers. 1999-04-16 04:06:04 +00:00
pinkerton%netscape.com
1c5db57058 add tristate checkbox to win/unix builds. 1999-04-15 19:44:28 +00:00
pinkerton%netscape.com
cc9e69ded8 First Checked In. 1999-04-15 19:43:35 +00:00
pinkerton%netscape.com
06d3eda9c3 restore joki's fix for click events. 1999-04-15 19:42:44 +00:00
pinkerton%netscape.com
f9ab792d73 remove a stupid unwrapped debug printf and ifdef NS_DEBUG another. 1999-04-15 19:42:21 +00:00
mcafee%netscape.com
760408a82e Following the last null reference fix with another one I missed. This gets the sidebar not-crashing now. 1999-04-14 08:15:59 +00:00
mcafee%netscape.com
a416e50fae Protecting a null reference; probably should check GetParent() return value. 1999-04-14 08:04:35 +00:00
kipp%netscape.com
3a54f31c9a Whacked to use new image loading apis 1999-04-13 21:52:35 +00:00
pinkerton%netscape.com
3e7ca58360 fix child frame detection and prepare for drag and drop. 1999-04-13 18:56:22 +00:00
bruce%cybersight.com
5dad5e047e Fix for native compilers, adding a blank line to end of the file. 1999-04-13 01:18:02 +00:00
sfraser%netscape.com
e4b0d79daa Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
joki%netscape.com
e594bb9b7c Send Click events to frames as well as content. 1999-04-13 00:27:58 +00:00
evaughan%netscape.com
d4c9d53169 Fixed bug to allow boxes to have elements inserted and removed from them dynamically. 1999-04-12 21:48:21 +00:00
pinkerton%netscape.com
72d9aa697b better grippy/collapsed toolbar functionality after box conversion landing. Also more error message output in debug builds 1999-03-31 22:02:37 +00:00
evaughan%netscape.com
b5be496993 Moved navigator specific style information like .gif from xul.css and navigator.xul to a new file
called navigator.css this should hold all the basic navigator styles.
1999-03-31 08:04:37 +00:00
evaughan%netscape.com
9473fe120e Implemented incremental reflow for boxes. 1999-03-30 08:11:00 +00:00
evaughan%netscape.com
aa73de09b7 Reimplemented navigator.xul on top of the new box layout system. 1999-03-30 04:05:49 +00:00
evaughan%netscape.com
bee3c18802 Fixed Toolbox problems inside boxes. 1999-03-29 01:45:34 +00:00
evaughan%netscape.com
bbd2d96ce7 Fi 1999-03-27 02:15:31 +00:00
evaughan%netscape.com
fceaced518 Added box frame. 1999-03-27 01:35:55 +00:00
evaughan%netscape.com
43351bf5de Added XUL based layout manager. 1999-03-27 00:58:29 +00:00
pinkerton%netscape.com
1f1eca5c36 better handle borders and sizing when laying out children. 1999-03-26 23:51:05 +00:00
donm%netscape.com
0a6d95351a backing out evaughan's changes. tree closed. 1999-03-26 19:39:23 +00:00
evaughan%netscape.com
dc2fa174cc Added box layout system. 1999-03-26 18:51:08 +00:00
briano%netscape.com
29ed08771b Handle NO_STATIC_LIB being set, when all this file does is create a static library. 1999-03-25 21:21:47 +00:00
peterl%netscape.com
32d3372e42 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
pinkerton%netscape.com
252f262264 comment out the code that does its own painting. Just defer to the nsBlockFrame::Paint() for now, until we need to do some more at drag time. 1999-03-22 19:21:19 +00:00
mcafee%netscape.com
d7dc9e22af Adding default cases to switch statements. 1999-03-19 00:25:40 +00:00
hyatt%netscape.com
f015e3ae42 Fixes for the mouseover toolbar button problem. Approved by Chris. 1999-03-18 21:18:00 +00:00
evaughan%netscape.com
c6e1641fa7 Checkin is for bug #3853
Approved by don, hyatt
1999-03-17 06:07:07 +00:00
evaughan%netscape.com
792659b285 Fixed align bug. 1999-03-15 21:22:49 +00:00
evaughan%netscape.com
9e7459d1a4 Fixed Titled button bugs. 1999-03-13 01:51:49 +00:00
waterson%netscape.com
8eebc1a046 Fixed bug where button created without 'src=' would crash when 'src=' was set. 1999-03-12 08:11:54 +00:00
pinkerton%netscape.com
2d889e723a Fixes bug #3532 where incremental reflow was not being correctly handled. Also no longer re-resolves the style context at each reflow, but only once on inital reflow. 1999-03-12 04:33:24 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
pinkerton%netscape.com
bcd7b47eae Add debug code to point out a bug #3505 with display:none and frames. Fix bug #3451 with grippies not working when toolbars not at top of window. Not creating atoms every time we expand/collapse toolbars. 1999-03-09 01:36:11 +00:00
pinkerton%netscape.com
99b1b5d895 adding debug printf to see when toolbar frames are being deleted. I don't think they are when display is set to none. 1999-03-08 22:44:44 +00:00
pinkerton%netscape.com
ba5a646c57 fix bug where if I didn't check if the first child frame was null during reflow. 1999-03-08 22:43:48 +00:00
evaughan%netscape.com
204a6670eb 1) Implemented regular button and html4 button with a button renderer.
2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
   messed up the active, hover, and disabled states.
1999-03-06 19:43:13 +00:00
hyatt%netscape.com
c979fedb3a Changing the name of a function. It was hiding another function in a base class. 1999-03-06 01:43:33 +00:00
kipp%netscape.com
9ddafbd9f8 use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
pinkerton%netscape.com
ec51c34509 don't look in xul namespace for "src" attribute. Images show up again. permission to checkin to closed tree by sar. 1999-03-03 17:28:27 +00:00
waterson%netscape.com
28ca9cc805 Modified tree double-click handler to use DOM APIs instead of nsIContent. 1999-03-03 08:05:32 +00:00
evaughan%netscape.com
2292d10dc5 Fixed mac event bug.
Fixed alignment bug.
1999-03-03 04:04:48 +00:00
evaughan%netscape.com
c021740cb1 Made the image accessible from CSS via list-style-image. 1999-03-02 05:00:51 +00:00
hyatt%netscape.com
ae0fa30bb0 Changing the GetAttribute and SetAttribute calls to properly use the namespace
of NONE (instead of XUL).
1999-03-02 02:04:45 +00:00
evaughan%netscape.com
31d9bf023a Fixed button to respond to the list-style-image property on CSS 1999-03-02 01:25:33 +00:00
evaughan%netscape.com
7f143f5337 Removed state info from button renderer. 1999-02-26 08:48:24 +00:00
evaughan%netscape.com
5fe142b7e4 Fixed up titled button so hover, focus, active, states work. 1999-02-26 06:41:10 +00:00
hyatt%netscape.com
01db84daa0 Preparing expand/collapse so that it works the right way. 1999-02-26 02:50:21 +00:00
hyatt%netscape.com
0dca02cb79 Implemented rollover feedback. 1999-02-25 09:37:17 +00:00
troy%netscape.com
da4193eab6 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
hyatt%netscape.com
f9fc243939 Backing out the onItemClick code. I don't think we should be using it,
since event bubbling appears to be working.
1999-02-24 11:15:43 +00:00
hyatt%netscape.com
df9c54ab16 Landing support for the special onItemClick default event handler that can be
placed on tree views (and executed in the context of tree items).
1999-02-24 10:38:56 +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
hyatt%netscape.com
d6fb7c48ab Changing selection in the tree. 1999-02-23 02:39:44 +00:00
evaughan%netscape.com
4aeb615bb6 Fixed out of scope compile bug. 1999-02-19 20:12:08 +00:00
evaughan%netscape.com
91eb54570b Added a new XUL TitledButtonFrame 1999-02-19 18:23:02 +00:00
mcafee%netscape.com
616489d75c Switching over to PRBool, PR_TRUE, and PR_FALSE. Keeps us honest, and Solaris happy. a=pinkerton 1999-02-19 02:54:53 +00:00
scc%netscape.com
5f8d7aa381 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef| 1999-02-18 23:55:10 +00:00
pinkerton%netscape.com
e691506671 fix types and remember to initialize the grippy last highlight to none at creation. Fixes a problem where the first grippy in the toolbar was being drawn highlighted at create time. 1999-02-18 19:28:00 +00:00
cyeh%netscape.com
af4818f5e3 Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +00:00
danm%netscape.com
8a3666cbb7 changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool. 1999-02-17 04:39:22 +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
buster%netscape.com
5fcfaafa90 changed table cell getters to be XP_COM-like, with out-params instead of return values.
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout
1999-02-11 01:17:19 +00:00
hyatt%netscape.com
ab9af77492 Adding support for tree columns. 1999-02-10 19:51:29 +00:00
waterson%netscape.com
7d8e414463 Take _address_ of mTreeFrame. 1999-02-10 19:08:58 +00:00
troy%netscape.com
034aa56b83 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy%netscape.com
9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
pinkerton%netscape.com
d17884edcd Rewrote reflow to handle collapsed/hidden toolbars correctly (but still not operational because of layout bugs). 1999-02-09 00:07:49 +00:00
warren%netscape.com
af4892e337 Fixed unsigned problems. 1999-02-06 04:02:02 +00:00
pinkerton%netscape.com
4fc165016c using clause doesn't work on linux. commenting out 1999-02-04 19:15:57 +00:00
pinkerton%netscape.com
c57cac8517 fix warning about hiding inherited virtual function MoveTo 1999-02-04 18:30:20 +00:00
waterson%netscape.com
8e485f26aa Add to Win32 build and include class decls for lame Win32 compiler. 1999-02-04 11:28:44 +00:00
mcafee%netscape.com
57c11026ea removing unused parts of this makefile. 1999-02-04 10:41:48 +00:00
mcafee%netscape.com
3645c562bd Adding forward declaration for nsIStyleContext to try and fix windows bustage 1999-02-04 10:40:42 +00:00
saari%netscape.com
bdeea7f930 Trying to fix windows. Removing nsProgressMeter.cpp (added earlier today) from the windows build. 1999-02-04 09:35:21 +00:00
mcafee%netscape.com
96017853f0 Adding nsProgressMeterFrame.cpp to the build 1999-02-04 09:22:46 +00:00
hyatt%netscape.com
baef55e771 Started laying the foundation for keyboard navigation. 1999-02-04 02:10:25 +00:00
hyatt%netscape.com
b3ae193767 Fix to CTRL-based multiple selection. 1999-02-04 01:39:38 +00:00
evaughan%netscape.com
403cc14a84 Added the XUL progress meter widget. 1999-02-04 01:34:15 +00:00
hyatt%netscape.com
aae093350d Altered the tree structure so that the treerow tag is now obsolete. 1999-02-04 00:28:25 +00:00
pinkerton%netscape.com
5df9b7f208 Check for a valid rendering context before we actually start drawing. Use a new stack-based class for saving rendering context state. Hopefully, it won't live here forever, but will be ok for everyone to use. 1999-02-04 00:10:28 +00:00
hyatt%netscape.com
060de2b50e Implemented multiple selection (using SHIFT and CTRL) in the tree view. 1999-02-03 22:35:30 +00:00
pinkerton%netscape.com
1edf8614dc use nsCOMPtr 1999-02-03 16:19:09 +00:00
pinkerton%netscape.com
aeca994050 Don't hardcode twip size. 1999-01-29 02:01:16 +00:00
hyatt%netscape.com
447fcbbc12 Using the attribute selector instead. 1999-01-29 00:58:01 +00:00
pinkerton%netscape.com
e4838d11c4 Grippies now handle rollover and respect css styles. 1999-01-28 23:58:18 +00:00
pinkerton%netscape.com
5e4fa9e2d6 make toolbars a little wider in their parent frame. 1999-01-27 19:15:01 +00:00
hyatt%netscape.com
902e7c0207 Making events for arbitrary HTML still work in tree cells. 1999-01-27 12:42:21 +00:00
hyatt%netscape.com
9eef28cab4 Improvements to the tree widget to implement expanding and collapsing
nodes.
1999-01-27 12:17:35 +00:00
hyatt%netscape.com
104e6beaba Implemented selection in the tree view. 1999-01-27 10:10:37 +00:00
hyatt%netscape.com
2608a14608 Adding tree cell frame. 1999-01-27 07:31:14 +00:00
pinkerton%netscape.com
2549f2d4dd Got reflow working so that it lays out its children one right after the other, leaving room for a grippy to be drawn. 1999-01-27 02:11:07 +00:00
hyatt%netscape.com
2ce7b53770 Added support for tree indentation. 1999-01-26 01:12:51 +00:00
harishd%netscape.com
eb58eec877 StyleContext passed onto PaintBorder() 1999-01-22 22:38:34 +00:00
ramiro%netscape.com
127039e271 Ignore generated files. 1999-01-22 06:33:54 +00:00
ramiro%netscape.com
0dc7352944 Add -I flags to pick up the right style and html base headers. 1999-01-22 06:00:21 +00:00
ramiro%netscape.com
a49bd4ab11 Add base to DIRS. 1999-01-22 05:59:42 +00:00
hyatt%netscape.com
cc7ccabaff Adding the tree frame class. 1999-01-22 03:28:29 +00:00
hyatt%netscape.com
7c65ced2f3 Added atoms for the tree widget. Modified the makefile to make sure
that nsTreeView.cpp builds.
1999-01-22 03:27:35 +00:00
pinkerton%netscape.com
8f02167e41 Work to get these instantiated. 1999-01-22 01:10:28 +00:00
pinkerton%netscape.com
49074672b7 remove file that shouldn't be there. mea culpa. 1999-01-21 19:25:25 +00:00
pinkerton%netscape.com
630671555e not building the base dir for now. 1999-01-21 18:56:49 +00:00
pinkerton%netscape.com
866e236afb change lib name 1999-01-21 18:44:19 +00:00
pinkerton%netscape.com
96cfc09c71 start building the base directory 1999-01-21 18:36:33 +00:00
pinkerton%netscape.com
124c208005 get compiling 1999-01-21 18:31:48 +00:00
pinkerton%netscape.com
f5582fcc95 First Checked In. 1999-01-21 18:31:39 +00:00
pinkerton%netscape.com
9112196e08 First Checked In. 1999-01-21 16:11:40 +00:00
pinkerton%netscape.com
a7255be50d Moving to base/src to mimic rest of layout. 1999-01-21 16:10:03 +00:00
hyatt%netscape.com
4672f50061 Fixing bugs related to the widget atom. 1999-01-21 09:25:40 +00:00
pinkerton%netscape.com
9ead608102 adding toolbox to collection of xul atoms 1999-01-21 05:54:38 +00:00
pinkerton%netscape.com
31d98fe667 First Checked In. 1999-01-21 05:49:24 +00:00
danm%netscape.com
57ae1e3dd3 new xul directory 1999-01-21 01:56:05 +00:00