pp%ludusdesign.com
43d7ba4273
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
rods%netscape.com
7335d90bfb
changed signature of GetFont b=905 r=dcone
2000-01-25 15:25:46 +00:00
rods%netscape.com
2af5f256f9
Added unconstrainted reflow optimization methods
...
r=kmcclusk bug=12653
2000-01-08 15:53:48 +00:00
rods%netscape.com
a25e7644fc
backed out all changes from today (1/5/2000)
2000-01-05 16:42:47 +00:00
rods%netscape.com
e63ecd85ed
turning off reflow optimization until further XUL testing can be done.
...
r=self
2000-01-05 15:47:16 +00:00
rods%netscape.com
543b271ef5
Added unconstrainted reflow optimization methods
...
r=kmcclusk bug=12653
2000-01-05 15:15:22 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
rods%netscape.com
8c8f362920
removing extra box sizing code that is not needed.
...
computed border and padding is always added for Standard and only for explicit w/h for NavQuirks.
r=dcone bug=18448
1999-11-18 15:15:07 +00:00
rods%netscape.com
48470623cf
temporarily adding box sizing utility methods to help forms calculate their size
...
appropriately for box sizing.
r=kmcllsuk, bug 18448
1999-11-15 15:16:28 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
pollmann%netscape.com
5ba410cabf
Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman
1999-11-04 23:16:47 +00:00
pollmann%netscape.com
ce61901fde
Removing null code. No bug number. r=nisheeth
1999-11-02 01:50:15 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com
b1b3a6e5c3
Changed getVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
1999-09-30 11:30:04 +00:00
peterl%netscape.com
0ee00122a0
manage view visibility better
1999-09-29 03:36:16 +00:00
rods%netscape.com
2408822d86
Commented out space key event processing
1999-09-08 19:55:08 +00:00
rods%netscape.com
e6ba3a3633
during reflow it now should only reflow once for GFX widgets
1999-09-03 14:44:53 +00:00
rods%netscape.com
37c64d3417
Changed Reflow to check for whether it is native mode or not. InGFX mode it now call the base class' (nsLeafFrame)
...
Reflow so it does a better job of laying out.
1999-08-27 14:38:54 +00:00
pollmann%netscape.com
b18052f3d5
Bug 3256: Add ScrollIntoView() method to form frame objects.
1999-08-21 00:09:24 +00:00
pierre%netscape.com
ad77864095
breaking up gfx & native widgets
1999-08-06 05:11:39 +00:00
joki%netscape.com
deb676cd44
Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
1999-07-26 15:02:19 +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
troy%netscape.com
a6aae963a7
Added 'm' prefix to some of the nsHTMLReflowState data members
1999-07-20 03:41:03 +00:00
kmcclusk%netscape.com
f052dc2f0d
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
pinkerton%netscape.com
850bab971a
unpatch leaf's hack in 1.73 since form submission now works correctly. Mac now once again submits the form when return is pressed.
1999-06-03 18:05:40 +00:00
pollmann%netscape.com
4ba580c20a
Bug 3322: NS_CONTROL_CHANGE events call ControlChanged on the form frame.
1999-05-28 01:05:19 +00:00
leaf%mozilla.org
d9cb231ace
Filtering out form submission in all cases, to get location bar working
...
for mac. This will be fixed RSN.
1999-05-25 23:25:19 +00:00
evaughan%netscape.com
2b76d2dc93
Fixed some visibility bugs in order to make the tab widget work correctly.
1999-05-19 22:14:11 +00:00
kmcclusk%netscape.com
bdce020a9a
bug #5993 . Removed references to nsIWidget in form HTML content elements. the form elements
...
now go through the nsFormControlFrame interface instead. This removes the dependency between
form element content and nsIWidget.
1999-05-13 23:45:40 +00:00
evaughan%netscape.com
522e0f5680
Fixed form submission.
1999-05-13 21:29:57 +00:00
evaughan%netscape.com
7223c9bfe4
Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses.
1999-05-13 01:35:16 +00:00
evaughan%netscape.com
eefc2545c2
Fixed xul boxes to implement nsIBox interface.
1999-05-09 21:46:24 +00:00
karnaze%netscape.com
00e49d0539
bug 4143; bug 2467; removed frame caching in nsFormFrame.
1999-04-27 00:06:03 +00:00
karnaze%netscape.com
258a6b644a
bug 4141 - space activating a button
1999-03-31 06:02:12 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
kipp%netscape.com
6bfa1f9e70
Removed dead include
1999-03-05 19:23:09 +00:00
kmcclusk%netscape.com
52afc44421
gfx vs native widget rendering can now be specified in the viewer at run-time.
...
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
karnaze%netscape.com
b4549051c8
correctly set max element size on checkbox, radio. Other cleanup.
1999-02-27 03:59:19 +00:00
karnaze%netscape.com
3cf25b042c
better sizing of form controls, especially percentage based sizes and max element sizes
1999-02-23 03:48:01 +00:00
troy%netscape.com
7b2012fca2
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
kipp%netscape.com
5a554d526e
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
kmcclusk%netscape.com
b9f6f92462
Fixed border rendering during printing for Select and text, and text areas.
...
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.
1999-02-11 01:13:28 +00:00
troy%netscape.com
5c3d1395f3
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
c9c1fa187e
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
kmcclusk%netscape.com
c9f82ebd33
Added support to gfx-render radio buttons. Both checkboxes and radio buttons
...
now use CSS style to get colors for rendering. Checkboxes also use the CSS border rendering
code. Added New utility methods to nsFormControlFrame to PaintCircular backgrounds and
borders. Set compiler directive to gfx-render radiobuttons and checkboxes both for printing
and on-screen display.
1999-02-09 18:25:40 +00:00
kmcclusk%netscape.com
64f5bd4ee5
Added code to gfx-render checkboxes using CSS style.
...
Removed commented out code in nsFormControlFrame and nsFormControlHelper
1999-02-05 19:48:18 +00:00
kmcclusk%netscape.com
8b616336f2
Renamed GetSize(PRInt32* aSize) to GetSizeFromContent to remove conflict with
...
nsFrame GetSize(nsSize& aSize).
Added check for null mWidget in nsFormControlFrame::HandleEvent
1999-02-03 22:56:50 +00:00
kmcclusk%netscape.com
7d3824f0d6
Added support to allow form elements to be either GFX-rendered or use widgets.
...
Work in progress for getting check boxes and radio buttons gfx-rendered.
1999-02-03 17:25:25 +00:00
michaelp%netscape.com
3bfa7f5cd6
modified for new DrawString()/GetWidth() APIs.
1999-01-28 05:03:58 +00:00
pollmann%netscape.com
cb1dd8e685
Bug 2279: Don't create widgets for hidden form elements.
1999-01-26 22:11:59 +00:00
rpotts%netscape.com
0cba5f98c9
The AttributeChanged(...) method of all form controls now call their base class AttributeChanged() method. Also implemented the disabled attribute in the base class...
1999-01-26 07:57:54 +00:00
kmcclusk%netscape.com
3c7d93524c
Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
...
implementations for all classes that derive from nsIFormControlFrame
1999-01-25 22:16:27 +00:00
harishd%netscape.com
e9692979e2
StyleContext passed onto PaintBorder()/PaintArrow()
1999-01-22 22:35:12 +00:00
rods%netscape.com
f196893cce
Factored out code for helper functions for determining size and for rendering
1999-01-22 15:32:57 +00:00
rpotts%netscape.com
9217bf329b
Added support for setting the DISABLED attrivute via the DOM...
1999-01-21 09:51:28 +00:00
pollmann%netscape.com
436830bb28
Bug 2279: Don't create widgets for hidden form elements.
1999-01-21 04:02:37 +00:00
troy%netscape.com
5284506712
Fix for bug #1998 . Now we render the background image over the padding area and not over the border area
1999-01-15 18:25:58 +00:00
pollmann%netscape.com
4de68d4b7e
Bug 2234: Crash on JS Submit().
1999-01-12 23:11:26 +00:00
kmcclusk%netscape.com
d844648421
Defaultchecked attribute is set to match the checked attribute just after
...
the radio button or checkbox element is created. Checkboxes and Radio buttons
maintain their current state using the checked attribute stored in the
content model. They no longer use the nsIWidget to maintain their current setting.
Checkboxes and Radio buttons now print correctly. (i.e checked/unchecked state matches the
screen.)
1999-01-06 00:02:27 +00:00
troy%netscape.com
781a43ae69
Changed width/height constraints in nsHTMLReflowState struct
1998-12-30 17:50:00 +00:00
peterl%netscape.com
e75a76898d
sync to new attribute api
1998-12-20 01:21:23 +00:00
kipp%netscape.com
27f0cfe8cc
Revised frame Paint API
1998-12-18 15:54:23 +00:00
kipp%netscape.com
a23c574ecf
Partial whack at supporting more accurate max-element-size computations
1998-12-17 18:55:42 +00:00
kmcclusk%netscape.com
1a6566b05c
Moved most of the printer paint code to nsFormControlFrame. Added
...
autodoc compatible comments.
1998-12-16 18:12:55 +00:00
rods%netscape.com
c0357eb5fc
Added painting methods for printing
1998-12-15 19:03:36 +00:00
kmcclusk%netscape.com
1cdd3b08f2
Removed temporary ReflowWithNoWidget method from nsFormControlFrame.
...
Reflow without a widget is now handled by the standard Reflow method.
1998-12-10 18:47:02 +00:00
kmcclusk%netscape.com
8b5a776c9f
Changes to actually print checkbox's and radiobuttons under Windows.
...
No longer need special offset's during printing. nsFormControlFrame now detects
when to gfx render the widgets.
1998-12-10 17:29:13 +00:00
kmcclusk%netscape.com
58226efe67
Added Windows printing code for radio buttons.
1998-12-04 22:53:45 +00:00
kmcclusk%netscape.com
23aeb8e080
Added code to GFX-render checkbox's under Windows when printing.
1998-12-04 18:33:34 +00:00
troy%netscape.com
d97a31f115
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
kipp%netscape.com
d04dbf19bd
Port to revised pres-context API
1998-11-26 18:14:41 +00:00
joki%netscape.com
09cd62b18e
Add click event support for every element and initial keypress event support
1998-11-24 07:46:58 +00:00
troy%netscape.com
0ec7a0d910
Added missing NS_RELEASE() to GetWidget() function
1998-11-23 04:41:51 +00:00
joki%netscape.com
7716dc91e8
Reworking internal event code to use nsIFrame::GetFrameForPoint
...
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
michaelp%netscape.com
f186598ef5
changes for pixel scaling/printing.
1998-11-14 01:52:27 +00:00
karnaze%netscape.com
4966c30661
bug 1226 for form control with native widgets. Other controls are still not working.
1998-11-13 23:13:42 +00:00
troy%netscape.com
fd34820203
Renamed Init() to SetInitialChildList() and added an additional parameter
...
for the name of the child list
1998-11-10 06:05:32 +00:00
karnaze%netscape.com
44b5b9e670
form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
...
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
michaelp%netscape.com
6f7deed7e4
removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
...
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
peterl%netscape.com
776a2683ef
sync to style resolution api changes
1998-11-03 20:33:43 +00:00
michaelp%netscape.com
a5066c14af
changed nsIView::Init() so that it no longer takes an opacity value. this
...
allows the view manager to maintain global state re: opacity.
1998-11-03 06:36:36 +00:00
troy%netscape.com
10c06c1b72
Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
...
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
karnaze%netscape.com
347f6d6e7a
nsIFormControlFrames initiate insertion into nsFormFrame's list;
...
turned off url encoding of '.' and '_" to match Nav
fixed bug where non clicked buttons submitted data;
fixed bug where <select>s with initial values were not submitting that value;
1998-10-30 18:05:29 +00:00
michaelp%netscape.com
ee34220382
changes for removal of zindex from nsIView::Init().
1998-10-27 03:37:03 +00:00
karnaze%netscape.com
1610cecf5a
implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls.
1998-10-22 23:00:37 +00:00
karnaze%netscape.com
4c91c0fff1
generalized PostCreateWidget; better combo box rendering
1998-10-14 23:01:44 +00:00
karnaze%netscape.com
6dce0be4e1
fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress.
1998-10-13 21:31:26 +00:00
kipp%netscape.com
e3998954e5
Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state
1998-10-12 17:00:32 +00:00
troy%netscape.com
cc44601bb8
Removed GetContentIndex() from nsIFrame
1998-10-08 20:35:16 +00:00
karnaze%netscape.com
580dde94fe
fieldset, legend support. fixed bug #987
1998-10-08 04:38:41 +00:00
troy%netscape.com
f095846367
Eliminated nsIRunaround interface, and folded space manager parameter into
...
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com
7b7efc8d89
modified for new fontmetrics/renderingcontext.
1998-10-02 01:12:39 +00:00
troy%netscape.com
8b034f4950
Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
...
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
michaelp%netscape.com
28f5a9e492
we no longer have a public font cache.
1998-09-30 19:01:46 +00:00
pinkerton%netscape.com
246174f6c7
better fix for iterator problem.
1998-09-28 22:34:44 +00:00
pinkerton%netscape.com
4cfe36c732
Fix mac build bustage. Variables declared in the init section of a loop are not valid beyond the scope of the loop (regardless of what VC++ says).
1998-09-28 22:33:47 +00:00
karnaze%netscape.com
0732290ed0
bugs 642, 643; also removed unused files.
1998-09-28 21:32:24 +00:00
kipp%netscape.com
01b8c34dc8
Fixed up includes to not depend on old content model classes
1998-09-24 21:37:45 +00:00
karnaze%netscape.com
5238a3dfac
forgot to add in last checkin
1998-09-23 17:44:33 +00:00