Commit Graph
501 Commits
Author SHA1 Message Date
joki@netscape.com 29600305de Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
buster@netscape.com bac8136765 style now gets propogated from text control frame to embedded webshell more correctly 1999-08-07 05:42:13 +00:00
rods@netscape.com 2746f589b3 ifdef'ed out the ambigous compiler error for Linux, this code isn't being used at the moment 1999-08-06 14:42:00 +00:00
rods@netscape.com 4863582789 Started to add code to better handle resizing when there are no elements. 1999-08-06 14:14:38 +00:00
rods@netscape.com 0660d021db Made the Combobox a nsIDOMFocusListener, so it can set the focus on the "display"
content when focus goes to the button or the combobox itself
1999-08-06 14:13:20 +00:00
ramiro@netscape.com bca5f7054f Backout my last changes to fix the mac and window builds. 1999-08-06 08:21:41 +00:00
ramiro@netscape.com 4e36b706ef Get the Inherited superclasses right. Suggested and reviewed by pierre. 1999-08-06 07:40:26 +00:00
ramiro@netscape.com a632421767 Fix gcc 2.7 bustage. It smells a lot like a bug in gcc. It was having
trouble dealing with the Inherited typedef in the class declaration.
I replaced |Inherited| with the real thing Inherited was aliasing and all is
ok.  Pierre code reviewed.
1999-08-06 07:14:43 +00:00
pierre@netscape.com c3f5d6cfe4 Removed a duplicate entry. A similar error in Makefile.in broke the build on Unix; this one was ok on Win32. 1999-08-06 05:49:12 +00:00
ramiro@netscape.com 860b77cadd Fix bustage on unix. Removed duplicate source entry. 1999-08-06 05:39:24 +00:00
pierre@netscape.com 5a42fc933d First Checked In. 1999-08-06 05:13:07 +00:00
pierre@netscape.com 9e5067f4cd breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
evaughan@netscape.com e49e0a0bc9 Fixed fieldset padding bug. 1999-08-06 00:48:26 +00:00
gagan@netscape.com e2cbe1d832 Added a temporary hack to get Referer fields with POST requests. This should/will/must go away... 1999-08-04 15:06:14 +00:00
mcafee@netscape.com 0b9f5c8bfb Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +00:00
buster@netscape.com 6c71f3d6a0 events are now propogated from the editor out to the containing document, as per Javascript/DOM spec.
onSelect doesn't work yet, I'm not sending the right event message yet.
1999-08-02 14:00:41 +00:00
rods@netscape.com b4681eab62 Made many changes to fix several bugs 1999-07-28 21:38:08 +00:00
rods@netscape.com ce2ca16eba Added the setting of the clip rect before drawing the button text 1999-07-28 21:37:22 +00:00
rods@netscape.com eca3652585 Added NS_DEFINE_STATIC_IID_ACCESSOR 1999-07-28 21:35:55 +00:00
rods@netscape.com 1d292f43db NS_DEFINE_STATIC_IID_ACCESSOR and removed the AboutToDropdown method 1999-07-28 21:35:28 +00:00
troy@netscape.com 99ae5771db Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
kmcclusk@netscape.com 003825881c bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
pavlov@netscape.com a39e5b237e window creation changes 1999-07-27 04:27:17 +00:00
joki@netscape.com 39b685f44a Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
rickg@netscape.com 9e8c855244 replaced calls to deprecated nsString API 1999-07-26 00:37:24 +00:00
buster@netscape.com 64b3f9db09 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
morse@netscape.com 42c990a692 Remove wallet from layout 1999-07-24 01:39:58 +00:00
scc@netscape.com 01af8d6640 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 414ee295f1 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 fedbce2269 Forms can now be container content. 1999-07-22 23:28:16 +00:00
pollmann@netscape.com 47c267cb29 Bug 5403: Release services properly 1999-07-22 18:10:10 +00:00
scc@netscape.com e2ea20873d 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
troy@netscape.com 8c10dec5d9 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy@netscape.com d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
kmcclusk@netscape.com 1e6157fdaf 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
troy@netscape.com 346eaed537 Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
mjudge@netscape.com 8e4c13fcd1 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
pollmann@netscape.com 7d4c13f450 Bug 10024: Check base target for form submission 1999-07-16 21:01:13 +00:00
rods@netscape.com 53aecda5e4 changed Invalidate calls to have a FLASE repaint flag 1999-07-16 14:24:51 +00:00
rods@netscape.com dcce08f959 commented out repaint for focus 1999-07-16 14:23:48 +00:00
warren@netscape.com 61a33642b8 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
jdunn@netscape.com e1fa871b37 Adding newline at end... HP requires it 1999-07-16 00:26:47 +00:00
mjudge@netscape.com 3a1fd2bce3 checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection 1999-07-15 18:19:03 +00:00
beard@netscape.com 84d2cd153a Fixing bustage 1999-07-14 23:23:47 +00:00
kmcclusk@netscape.com 0bdaefde4e fixed bugs #6303, #6753, #6756, #6759
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
1999-07-14 22:00:24 +00:00
pollmann@netscape.com d0ea7d32e0 Bug 9847: Check for null returned from new. 1999-07-14 19:32:22 +00:00
akkana@netscape.com 3fd1dc7c68 Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.
1999-07-14 18:54:29 +00:00
kin@netscape.com e49a1b06aa Call NS_IF_RELEASE instead of NS_RELEASE for handler, because it could be NULL.
Fixes crash that occurs when pressing the submit button in a for displayed in
the editor.
1999-07-14 18:33:24 +00:00
andreas.otte@primus-online.de 152adcbe71 NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
warren@netscape.com 489c1d2df9 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00