Commit Graph
481 Commits
Author SHA1 Message Date
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
kipp@netscape.com 88769694a3 Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993) 1999-07-07 02:33:17 +00:00
andreas.otte@primus-online.de b7a7d8272b NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
sspitzer@netscape.com 11bed91e89 fix warning 1999-07-06 22:40:54 +00:00
warren@netscape.com 1496c3eec1 Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
evaughan@netscape.com da24d01f00 Added anonymous node support.
Added splitters
Added Grippies.
1999-06-30 22:17:43 +00:00
pollmann@netscape.com af2f7e6d24 Bug 8227 and warning cleanups. 1999-06-29 22:01:55 +00:00
scc@netscape.com 676ac58c19 Added |GetIID()| 1999-06-29 20:28:56 +00:00
tague@netscape.com 8655b81c8f Fixed up UNIX build warnings 1999-06-29 20:14:59 +00:00
sfraser@netscape.com e701e1d6e0 Call the Output routines with a new param for selection only. 1999-06-29 20:14:58 +00:00
pnunn@netscape.com f1c3d045e3 changed image format list. pnunn. 1999-06-28 21:51:26 +00:00
buster@netscape.com c9e8e1f094 GFX text controls now hanlde max length, and max length set via DOM
GFX text controls now handle readonly and disabled states set via DOM
1999-06-28 13:48:38 +00:00
warren@netscape.com 6e21b88cd3 More necko changes. 1999-06-25 01:53:22 +00:00
pollmann@netscape.com 609ad72e25 Getting cursor from style system: Insert paranoia^H^H^H^H^H^H^H^H^H stability code here. 1999-06-25 01:17:18 +00:00
pollmann@netscape.com e7535fc324 Use the style system to get the mouse pointer for an image input element. 1999-06-25 00:19:44 +00:00
buster@netscape.com b8f4e5ea21 fixed build bustage, forgo using nsCOMPtr on views, they can't be ref counted! 1999-06-24 23:49:03 +00:00
buster@netscape.com c19b1ddc21 attempt to fix mac build 1999-06-24 23:32:03 +00:00
buster@netscape.com c8f5676645 fixed problem that scrollbars would appear on single-line text controls
fixed API masking problem, thanks Simon!
1999-06-24 22:42:50 +00:00
pollmann@netscape.com e11d13e3c6 Notify form submit observers on... well... form submission. 1999-06-24 00:45:23 +00:00
pollmann@netscape.com 76b6c5ed9a Adding form submit observer interface for Wallet and Single Signon 1999-06-24 00:07:34 +00:00
kmcclusk@netscape.com fd0c89e7b0 Modified gfx-rendered widget styles to more closely match styles
in http://www.mozilla.org/xpfe/nsGFXWidgets.html.
Added check for null mHitFrame in nsListControlFrame::MultipleSelection and
nsListControlFrame::SingleSelection.
1999-06-23 21:50:56 +00:00