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

5728 Коммитов

Автор SHA1 Сообщение Дата
hyatt%netscape.com 9dce294318 Adding support for disabled items to XP menus. 1999-07-26 01:35:39 +00:00
hyatt%netscape.com 359b48f608 Using "accesskey" instead of "shortcut". 1999-07-26 01:19:49 +00:00
rickg%netscape.com d9a2f8c4dd replaced calls to deprecated nsString API 1999-07-26 00:37:24 +00:00
troy%netscape.com d07cd82e4e Added 'm' prefix to structs defined in nsISpaceManager 1999-07-25 19:01:13 +00:00
buster%netscape.com d40d356cd3 With this checkin, ender-based gfx rendered text controls now work properly both as HTML text controls and XUL text fields.
GFX text controls are not enabled by default.  The primary goal of the next few days is to stabilize the tree, so I thought it would be inappropriate to enable the new
feature by default. But you can still set your nglayout.widget.mode pref to enable them.

Here's what I did:
1) backed out a small part of Simon & Kin's fix to nsGFXTextControlFrame that was mistakenly setting up the text control's webshell as a frame.  It still (correctly)
isn't doing that, but it does not set the webshell's prefs from the outer webshell.
2) for output, I now ask for format="text/plain" rather than "text/html", since (for now) these are all plain text edit controls.  Soon, this will depend on the type of
edit control
3) fixed some ownership issues between the frame, the editor, and the subdocument being edited.  This fixes an assertion on dialog destruction if the dialog included
a GFX-rendered text widget, and some memory leaks.
4) set up DOM key listeners on the editor to propogate events from the editor to the parent document, so things like form submission on Enter, and onKeyUp
handlers work.  More work is needed here for other kinds of events.
1999-07-25 18:04:51 +00:00
jfrancis%netscape.com 9e1ee621c1 fix for bug 9842 (aka 8227) plus some thread safety improvements 1999-07-25 08:41:42 +00:00
jfrancis%netscape.com f24652eee8 fix for bug 9935 1999-07-25 05:31:05 +00:00
jfrancis%netscape.com 4eefa4452e fix for bug: subtree iterator had bug in init code that could cause iter to be empty. 1999-07-25 05:30:15 +00:00
evaughan%netscape.com 35fc2d8159 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 48ba444344 Cascading menus now work! 1999-07-25 01:14:43 +00:00
hyatt%netscape.com d3bd7dc93e Cleaning up keyboard navigation to work properly with cascading submenus. 1999-07-25 00:16:11 +00:00
troy%netscape.com adfb6db800 Fix for bug #10268. I used '&&' when I really meant to use '||' and that caused us
to create the wrong type of frame for relatively positioned H1 elements
1999-07-24 23:08:34 +00:00
hyatt%netscape.com 198d23b3e8 Tweaks. 1999-07-24 22:51:50 +00:00
hyatt%netscape.com 0e2798a61d Handling Enter key press in submenus. 1999-07-24 22:02:23 +00:00
troy%netscape.com 0fbde9c198 Cleanup of reflow command handling 1999-07-24 21:41:15 +00:00
peterl%netscape.com cfe146337b Cleaned up attribute parsing so that illegal values are preserved as strings 1999-07-24 19:55:35 +00:00
peterl%netscape.com 90452cde1a fixed warnings 1999-07-24 19:05:17 +00:00
peterl%netscape.com 7319d1bdca added experimental CSS3 properties 1999-07-24 19:04:42 +00:00
peterl%netscape.com 9eb750015c added debug code for netlib weirdage 1999-07-24 19:04:22 +00:00
peterl%netscape.com 15eb214e0e added basic support for inline-block 1999-07-24 19:01:43 +00:00
peterl%netscape.com a0d36c263d added char unit output support 1999-07-24 19:00:42 +00:00
peterl%netscape.com 195fa109e9 added some experimental CSS3 properties
fixed style context impact reporting
1999-07-24 18:59:43 +00:00
sspitzer%netscape.com d2e834a16e fix for Solaris bustage. Following mcafee's earlier fixes. 1999-07-24 15:53:19 +00:00
troy%netscape.com c06a058608 Moved code that repaints after a resize or initial reflow to the viewport 1999-07-24 15:18:24 +00:00
troy%netscape.com 13778e63f7 Changed to use the new reflow command handling 1999-07-24 03:59:47 +00:00
troy%netscape.com cbf519418d Fixed a problem in ContentRemoved() where for fixed position frames the
wrong child list name was being used
1999-07-24 03:58:35 +00:00
troy%netscape.com 2089c2f612 Renamed a member function to more accurately reflect its purpose 1999-07-24 02:46:08 +00:00
troy%netscape.com 35e404886c Changed area frame code over to new reflow command handling 1999-07-24 02:37:45 +00:00
troy%netscape.com 7478781693 Added VerifyDirtyBitSet() helper function 1999-07-24 02:37:06 +00:00
troy%netscape.com 19eecb088b Defined it so that the NS_FRAME_IS_DIRTY flag is set for newly added frames in
SetInitialChildlist(), AppendFrames(), InsertFrames(), and ReplaceFrame()
1999-07-24 02:33:07 +00:00
hyatt%netscape.com 8a36e3432f 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
morse%netscape.com 16b516ce0e Remove wallet from layout 1999-07-24 01:39:58 +00:00
hyatt%netscape.com 47afcf5681 oops. crazy_width only defined for debug builds. Changing this. 1999-07-24 00:32:21 +00:00
hyatt%netscape.com ca9519fb92 Getting rid of all the printfs and complaints that fire in mailnews by making
the fixed table layout algorithm smarter about unconstrained width reflow.
1999-07-23 23:41:05 +00:00
evaughan%netscape.com 07fdb05f24 Fixed some box problems. 1999-07-23 23:30:17 +00:00
sfraser%netscape.com 1b4961ffaa Fix Mac startup crash: nil check for prefs. 1999-07-23 22:23:13 +00:00
hyatt%netscape.com 428843662d Fix for assertions being thrown when fixed layout tables are flowed at an
unconstrained width.  Instead of asserting, intrinsic first row cell widths will be
used to determine the widths of columns with percentage-specified sizes.
1999-07-23 20:32:18 +00:00
hyatt%netscape.com 0fc93e4ff5 Removing commented out code. Harmless. 1999-07-23 09:36:53 +00:00
hyatt%netscape.com cab23331fc 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 dafe020a98 Menu improvements. 1999-07-23 08:36:39 +00:00
hyatt%netscape.com 3ccd649d12 Refining the ESC behavior and doing deeper shortcut work (on cascading menus). 1999-07-23 07:56:27 +00:00
hyatt%netscape.com 54d5392e5a 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 9345f2523d 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 ed25fb2501 Ok, this is more like it. I did want GEtCharCode after all. 1999-07-23 06:01:03 +00:00
hyatt%netscape.com 827524b04f Wanted GetKeyCode, and not GetCharCode. Oops. 1999-07-23 05:52:51 +00:00
hyatt%netscape.com 766619b9a2 Working on shortcut navigation in XP menus (e.g., ALT+f, etc. etc.). 1999-07-23 05:47:43 +00:00
hyatt%netscape.com 55f75b28d2 PRUint32... not PRInt32 ... oops. 1999-07-23 05:17:08 +00:00
hyatt%netscape.com ab18610fcf Adding the capability to distinguish menus and menu items. 1999-07-23 05:11:49 +00:00
hyatt%netscape.com 3affd1e3d7 Adding the capability to distinguish menus from menu items. 1999-07-23 05:10:57 +00:00
hyatt%netscape.com 592552ad8d Adding an xpmenuitem atom. 1999-07-23 05:09:17 +00:00
rods%netscape.com 8daf2696a1 Sending wrong length when putting data on the clipboards,
double byte chars need twice the space. Wrongly assummed nsString.Length()
return bytes instead of length in chars doubel or single.
1999-07-23 02:25:17 +00:00
hyatt%netscape.com 4e85850a81 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 d7df82e345 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
sfraser%netscape.com fdaf1a49b4 Fix for GFX ender text widgets; don't parent nsIWebShells that the text widget creates, because you don't want them to interfere with window.frames[]. 1999-07-22 23:48:48 +00:00
vidur%netscape.com 24261b3c9f Forms can now be container content. 1999-07-22 23:28:16 +00:00
nisheeth%netscape.com 6053670fe6 Fix for bug 10028. We handle mixed case mailto urls properly now. 1999-07-22 22:34:28 +00:00
akkana%netscape.com bc31ea8a3b Fix selection bustage from yesterday 1999-07-22 19:42:21 +00:00
pollmann%netscape.com 957539592a Bug 10301: Check base target for image maps 1999-07-22 18:47:23 +00:00
pollmann%netscape.com ae96759a57 Bug 5403: Release services properly 1999-07-22 18:32:49 +00:00
pollmann%netscape.com 423ac3ad3b Bug 5403: Release services properly 1999-07-22 18:10:10 +00:00
hyatt%netscape.com 98428dd226 Fixing my while loops. They could crash under rare circumstances. 1999-07-22 10:06:38 +00:00
hyatt%netscape.com efe3a93b89 More fun with menus. 1999-07-22 09:49:35 +00:00
hyatt%netscape.com ea4b539117 Removing my printf. 1999-07-22 09:04:10 +00:00
hyatt%netscape.com 9faabd64b8 XP menu changes. Full keyboard navigation now works. Next up: cascading. 1999-07-22 09:01:55 +00:00
scc%netscape.com 12c243677f explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs 1999-07-22 05:25:17 +00:00
vidur%netscape.com 5d9b49edf0 Deal with multiple BODY elements passed by the parser by ignoring all but the first 1999-07-22 04:46:57 +00:00
troy%netscape.com ede5a246de Added ReplaceFrame() member function to nsIFrame 1999-07-22 04:32:31 +00:00
troy%netscape.com 537d74d82c Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy%netscape.com 9fdbc7ced3 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
hyatt%netscape.com d50be34a2c 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
troy%netscape.com b2994f2d65 Added NS_FRAME_IS_DIRTY flag to the frame state flags 1999-07-21 23:47:01 +00:00
troy%netscape.com f48928d205 Removed IsTransparent() function from nsIFrame 1999-07-21 23:15:39 +00:00
kmcclusk%netscape.com 8dce081912 Enable PartialGfx rendering as the default widget rendering mode. 1999-07-21 23:12:23 +00:00
bienvenu%netscape.com 1cb321cce3 fix windows build bustage for Akkana 1999-07-21 22:17:20 +00:00
akkana%netscape.com 6f89727dfa Add a working implementation for nsDOMSelection::ContainsNode, and use it in nsDocument::IsInSelection for XIF conversion 1999-07-21 21:29:29 +00:00
jj%netscape.com 6203f89530 changed optimized target linker settings to generate a symbol file 1999-07-21 18:37:52 +00:00
hyatt%netscape.com 0801bc2192 Tracking my reflows. Boxes are generating way way way too many reflows. 1999-07-21 09:45:21 +00:00
hyatt%netscape.com 96f7a426d8 Removing some printfs. 1999-07-21 09:20:13 +00:00
hyatt%netscape.com 12c4edbf5f Adding the capability to capture the mouse events. 1999-07-21 08:51:41 +00:00
hyatt%netscape.com 98d91149c9 Forgot to remove some obsolete bubbling registration on menus. 1999-07-21 07:45:46 +00:00
hyatt%netscape.com bf09e527bc Adding the new nsIMenuParent interface. 1999-07-21 07:43:19 +00:00
hyatt%netscape.com ac2df8ab1d Adding the open atom. 1999-07-21 07:42:31 +00:00
hyatt%netscape.com c993598be9 Improvements to XP menus. 1999-07-21 07:42:16 +00:00
troy%netscape.com 8f6ca33b27 Made sure to Invalidate() for the initial reflow, too 1999-07-21 04:39:24 +00:00
hyatt%netscape.com c0b6e62e18 Making menus boxes. 1999-07-21 02:56:23 +00:00
pinkerton%netscape.com 5a1b310149 moved ungrouped files added by Camelot into their correct groups. No new files added or removed. 1999-07-21 01:01:36 +00:00
pinkerton%netscape.com 0b39a5629f 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 2757e6bce5 Crash without these null checks. 1999-07-21 00:17:39 +00:00
akkana%netscape.com fcc5b35d37 Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h 1999-07-21 00:12:23 +00:00
hyatt%netscape.com 8e00083f92 Introduced an infinite loop (sigh). Fixing the problem. 1999-07-21 00:11:23 +00:00
mscott%netscape.com 10605b7823 Necko Only!! Yuck. something was pretty bogus here...whenever we were parsing a url we'd create an empty
base url then try to turn the empty url into an absolute url which was returning an error. Looks like ParseURL would
never work.
1999-07-20 23:53:03 +00:00
brade%netscape.com 870a1d47c6 Implement InvertRect on Mac. r sfraser 1999-07-20 23:38:55 +00:00
hyatt%netscape.com cbefe761c2 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 df0e1b1c02 Had messed up tree widget code on removal, insertion, and append. Fixed now. 1999-07-20 23:24:10 +00:00
akkana%netscape.com 1b40874d73 Add new ContainsNode method to nsIDOMSelection 1999-07-20 23:08:22 +00:00
kmcclusk%netscape.com 41ed34acb6 nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
mcafee%netscape.com 2e93a85b8b minor warning fix 1999-07-20 20:24:28 +00:00
warren%netscape.com 4011e9619e Added missing addref. 1999-07-20 20:03:11 +00:00
hyatt%netscape.com 202bc876e1 I can now show a menu (and it looks halfway decent). 1999-07-20 10:35:24 +00:00
ramiro%netscape.com fab6557955 Fix reflow state member names. Fixes broken build. 1999-07-20 10:13:43 +00:00
mcafee%netscape.com a08a1270ea GNU-class compilers are complaining about unhandled cases in all these switch statements, adding some default cases. 1999-07-20 10:10:12 +00:00
hyatt%netscape.com 3cdd761943 Getting closer... 1999-07-20 09:50:48 +00:00
hyatt%netscape.com 647bb30e38 I have a menu coming up, but boy does it look bad. 1999-07-20 09:35:35 +00:00
warren%netscape.com 7bcb94a320 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
hyatt%netscape.com 1351247151 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 869159019e Still screwing around with menus. 1999-07-20 08:19:47 +00:00
hyatt%netscape.com 3df6c4ca77 More tweaks. 1999-07-20 07:34:50 +00:00
hyatt%netscape.com ccfa6f2a93 Forget the scrolling frame on menus. I don't need it to make this work. 1999-07-20 07:29:22 +00:00
hyatt%netscape.com 94cda994ed Menu popups init themselves with a view. 1999-07-20 07:28:39 +00:00
ramiro%netscape.com 89f257f698 Adding support for XOR selection. Updated nsIRenderingContext interface
to support InvertRect() for the XOR-ing of rectangles.  Makes selection
work as expected on windows and unix as opposed to the rectangle hack.
Stubs added for all other platforms.
1999-07-20 07:26:09 +00:00
hyatt%netscape.com d892c40a0a Making sure the pseudo stuff gets handled for the XP menu object. 1999-07-20 07:19:22 +00:00
hyatt%netscape.com 4b3a53c44a Adding a pseudo atom for XP menu visibility state.
s
1999-07-20 07:12:48 +00:00
hyatt%netscape.com 90816ffbd8 Making sure some of the XUL frames get properly wrapped in scroll frames. 1999-07-20 07:03:16 +00:00
troy%netscape.com 9cf5f77dfc Fix for bug #10176: changed ConstructFrameByDisplayType() to be smarter
when handling relatively positioned elements
1999-07-20 04:16:56 +00:00
troy%netscape.com 06f806dfd8 Added 'm' prefix to a couple more data members of nsHTMLReflowState struct 1999-07-20 03:51:46 +00:00
troy%netscape.com a6aae963a7 Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
troy%netscape.com 4435ef91a1 Fix for bug #9611: now handles absolutely positioned replaced elements 1999-07-20 02:48:18 +00:00
akkana%netscape.com 91291df7d4 Try to fix windows build bustage 1999-07-20 00:24:11 +00:00
akkana%netscape.com fac197e8ec Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication 1999-07-19 22:41:49 +00:00
putterman%netscape.com cde09810f4 Commented out warning. 1999-07-19 21:37:04 +00:00
joki%netscape.com f53129fd19 Checking in fix for tab navigation submitted by alex@cendio.se 1999-07-19 21:23:57 +00:00
joki%netscape.com 0af283b8e2 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
troy%netscape.com 775db5b2c9 Minor cleanup 1999-07-19 18:38:51 +00:00
troy%netscape.com 6f15d6d746 Changed ScrollFrameIntoView() to also do horizontal scrolling if necessary 1999-07-19 18:38:33 +00:00
troy%netscape.com e6987ce4a0 Changed semantics for ScrollFrameIntoView() 1999-07-19 18:38:02 +00:00
mjudge%netscape.com 1433aa6f88 fix for javascript calls to selection bad QI 1999-07-19 18:36:28 +00:00
mjudge%netscape.com 58eeee17ca cant query interface from frame selection to dom selection since we now have more than one type of dom selection implementations. you must ask for ANY dom selection then remove yourself as a listener or whatever you want to do. MJ 1999-07-19 18:04:35 +00:00
dcone%netscape.com 3ecfa6e7ee fixed background tile clipping bug. 1999-07-19 14:37:36 +00:00
hyatt%netscape.com 76ec8675ca Fixing Linux bustage. 1999-07-19 09:57:23 +00:00
hyatt%netscape.com 013af7626e 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 5b24759131 Making sure the mouse over behavior is right. 1999-07-19 09:18:24 +00:00
hyatt%netscape.com a736f44a5e Adding some comments. 1999-07-19 09:09:36 +00:00
hyatt%netscape.com b66bc8ab1c Making sure I consume events when the menu bar is active. 1999-07-19 08:52:42 +00:00
hyatt%netscape.com 3bba4d1d06 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 b35d1e3ffc Teaching the menu bar how to highlight the first item when the ALT key
is pressed.
1999-07-19 08:09:30 +00:00
rickg%netscape.com 844a7e45ef switch to faster string search API 1999-07-19 03:29:56 +00:00
hyatt%netscape.com bb6c2a0a7c 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 033c220fd1 Hooking up the key and mouse listeners for the menu bar. 1999-07-19 02:26:39 +00:00
hyatt%netscape.com 3f40810ede Instantiating the menu bar listener. 1999-07-19 02:02:38 +00:00
hyatt%netscape.com e8a3475999 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 1b28cd8918 Oops. Had a redundant case. 1999-07-18 07:37:26 +00:00
hyatt%netscape.com 1d2187a862 added files: mozilla/layout/xul/base/src/nsMenuBarListener.cpp 1999-07-18 07:27:45 +00:00
hyatt%netscape.com afb51b5811 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 fa5982aa5c added files: mozilla/layout/xul/base/src/nsMenuBarFrame.cpp 1999-07-18 07:08:12 +00:00
hyatt%netscape.com 422e5c0df7 Adding the menu bar frame. 1999-07-18 07:07:55 +00:00
hyatt%netscape.com a700f26ea2 Making sure that the popup frames get deleted when the menu gets deleted. 1999-07-18 06:52:06 +00:00
hyatt%netscape.com 8a45d4e347 Another method added to the menu frame. 1999-07-18 06:48:03 +00:00
hyatt%netscape.com 25daf11eae Continuing the menu frame's education regarding its separate popup list. 1999-07-18 06:44:03 +00:00
hyatt%netscape.com 5978ed3159 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 3c851355b7 added files: mozilla/layout/xul/base/src/nsMenuFrame.cpp 1999-07-18 06:37:50 +00:00