kmcclusk%netscape.com
be14e9d88a
Fix for bug #11717 . Check in Ok'ed by cyeh@netscape.com
...
Don't do the super class'es IsSuccessful because it always returns PR_FALSE
because the (this) pointer is not equal to the submitter.
git-svn-id: svn://10.0.0.236/trunk@43258 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 22:06:09 +00:00
pinkerton%netscape.com
d334cb1ecb
cleaning up and simplifying checkbox. Adding tri-state checkbox behavior keyed off of the presence of an attribute.
...
git-svn-id: svn://10.0.0.236/trunk@43158 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 04:45:49 +00:00
pollmann%netscape.com
08d99078d0
Bug 10939: Make image input element transparent
...
git-svn-id: svn://10.0.0.236/trunk@43138 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 03:30:25 +00:00
rods%netscape.com
cb7533e8f4
Added check to see if it was disabled so it would ignore events
...
git-svn-id: svn://10.0.0.236/trunk@43006 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:26:10 +00:00
rods%netscape.com
9cea7df2aa
Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code.
...
git-svn-id: svn://10.0.0.236/trunk@43004 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:25:22 +00:00
rods%netscape.com
ab28d9a6f9
Fixed Reset to work properly, removed InitializeFromContent method, changed where the list was adding itself to FormControlFrame
...
git-svn-id: svn://10.0.0.236/trunk@43002 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:22:51 +00:00
kmcclusk%netscape.com
9e4c341c69
Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
...
Added style rules to set submit, reset, and browse buttons default labels.
git-svn-id: svn://10.0.0.236/trunk@42998 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:13:57 +00:00
buster%netscape.com
d74b7462e5
added KeyPress event propogation. This makes the editor image dialog work much better.
...
as part of this, I moved when I install event propogation listeners in the gfx text control frame. nobody will notice
the difference, except keyPress notifications will work correctly.
git-svn-id: svn://10.0.0.236/trunk@42899 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 02:58:07 +00:00
buster%netscape.com
4a03d700c6
enabled onSelect notifications
...
git-svn-id: svn://10.0.0.236/trunk@42795 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 20:10:59 +00:00
rods%netscape.com
7a25e14e0a
Fixed GetFrameForPoint so it passes back the corrct frame for event for form controls (Bug #11467 )
...
git-svn-id: svn://10.0.0.236/trunk@42791 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 19:59:48 +00:00
buster%netscape.com
89f5e5cec1
trivial fix to make sure we're storing an nsIHTMLEditor result in an
...
nsCOMPtr<nsIHTMLEditor> variable.
git-svn-id: svn://10.0.0.236/trunk@42785 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 19:37:18 +00:00
buster%netscape.com
38375a8918
brought init code up to date with recent editor API changes.
...
git-svn-id: svn://10.0.0.236/trunk@42761 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 17:41:55 +00:00
sfraser%netscape.com
22f74dda79
Synch up with editor API changes.
...
git-svn-id: svn://10.0.0.236/trunk@42727 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 01:43:00 +00:00
joki%netscape.com
25eb777ec4
Adding new onselect event. Also slight modification to ender text widget focus behavior
...
git-svn-id: svn://10.0.0.236/trunk@42676 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 23:18:35 +00:00
buster%netscape.com
76b2185c50
style now gets propogated from text control frame to embedded webshell more correctly
...
git-svn-id: svn://10.0.0.236/trunk@42645 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 05:42:13 +00:00
rods%netscape.com
59bd3253ba
ifdef'ed out the ambigous compiler error for Linux, this code isn't being used at the moment
...
git-svn-id: svn://10.0.0.236/trunk@42455 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:42:00 +00:00
rods%netscape.com
33ecbde954
Started to add code to better handle resizing when there are no elements.
...
git-svn-id: svn://10.0.0.236/trunk@42450 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:14:38 +00:00
rods%netscape.com
56159e3427
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
git-svn-id: svn://10.0.0.236/trunk@42449 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:13:20 +00:00
ramiro%netscape.com
070499ff84
Backout my last changes to fix the mac and window builds.
...
git-svn-id: svn://10.0.0.236/trunk@42426 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 08:21:41 +00:00
ramiro%netscape.com
5e908b8af2
Get the Inherited superclasses right. Suggested and reviewed by pierre.
...
git-svn-id: svn://10.0.0.236/trunk@42415 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 07:40:26 +00:00
ramiro%netscape.com
6537159c2b
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.
git-svn-id: svn://10.0.0.236/trunk@42413 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 07:14:43 +00:00
pierre%netscape.com
73e5a69d49
Removed a duplicate entry. A similar error in Makefile.in broke the build on Unix; this one was ok on Win32.
...
git-svn-id: svn://10.0.0.236/trunk@42410 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:49:12 +00:00
ramiro%netscape.com
6c697ee915
Fix bustage on unix. Removed duplicate source entry.
...
git-svn-id: svn://10.0.0.236/trunk@42409 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:39:24 +00:00
pierre%netscape.com
36f4cf1552
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@42405 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:13:07 +00:00
pierre%netscape.com
6a1d462764
breaking up gfx & native widgets
...
git-svn-id: svn://10.0.0.236/trunk@42404 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:11:39 +00:00
evaughan%netscape.com
be9613f0eb
Fixed fieldset padding bug.
...
git-svn-id: svn://10.0.0.236/trunk@42389 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 00:48:26 +00:00
gagan%netscape.com
f0901ed303
Added a temporary hack to get Referer fields with POST requests. This should/will/must go away...
...
git-svn-id: svn://10.0.0.236/trunk@42133 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 15:06:14 +00:00
mcafee%netscape.com
7ff5fdfced
Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren
...
git-svn-id: svn://10.0.0.236/trunk@42013 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 20:51:41 +00:00
buster%netscape.com
feecb3623b
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.
git-svn-id: svn://10.0.0.236/trunk@41822 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 14:00:41 +00:00
rods%netscape.com
6464e75057
Made many changes to fix several bugs
...
git-svn-id: svn://10.0.0.236/trunk@41485 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:38:08 +00:00
rods%netscape.com
606e276090
Added the setting of the clip rect before drawing the button text
...
git-svn-id: svn://10.0.0.236/trunk@41484 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:37:22 +00:00
rods%netscape.com
fd779c3778
Added NS_DEFINE_STATIC_IID_ACCESSOR
...
git-svn-id: svn://10.0.0.236/trunk@41483 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:35:55 +00:00
rods%netscape.com
a7021cc7c2
NS_DEFINE_STATIC_IID_ACCESSOR and removed the AboutToDropdown method
...
git-svn-id: svn://10.0.0.236/trunk@41482 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:35:28 +00:00
troy%netscape.com
08b0ac1ce2
Added failure check for call to nsStyleData::GetBorder()
...
git-svn-id: svn://10.0.0.236/trunk@41422 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:48:34 +00:00
kmcclusk%netscape.com
4da058a9e8
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.
git-svn-id: svn://10.0.0.236/trunk@41353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:26:36 +00:00
pavlov%netscape.com
947d846be6
window creation changes
...
git-svn-id: svn://10.0.0.236/trunk@41241 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:27:17 +00:00
joki%netscape.com
73627c01e7
Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
...
git-svn-id: svn://10.0.0.236/trunk@41139 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 15:02:19 +00:00
rickg%netscape.com
ba693215ad
replaced calls to deprecated nsString API
...
git-svn-id: svn://10.0.0.236/trunk@41075 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 00:37:24 +00:00
buster%netscape.com
e7c1159441
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.
git-svn-id: svn://10.0.0.236/trunk@41055 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 18:04:51 +00:00
morse%netscape.com
05e0844b4a
Remove wallet from layout
...
git-svn-id: svn://10.0.0.236/trunk@40944 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 01:39:58 +00:00
scc%netscape.com
ed86a6a75d
Fixed boxes to only invalidate and redraw what has changed.
...
Made min and max sizes work
Made linux not suck!
git-svn-id: svn://10.0.0.236/trunk@40749 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 00:11:21 +00:00
sfraser%netscape.com
1e6d3a3340
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[].
...
git-svn-id: svn://10.0.0.236/trunk@40743 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:48:48 +00:00
vidur%netscape.com
ec6663824d
Forms can now be container content.
...
git-svn-id: svn://10.0.0.236/trunk@40735 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:28:16 +00:00
pollmann%netscape.com
464c15169e
Bug 5403: Release services properly
...
git-svn-id: svn://10.0.0.236/trunk@40670 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 18:10:10 +00:00
scc%netscape.com
b498e2909d
explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs
...
git-svn-id: svn://10.0.0.236/trunk@40614 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 05:25:17 +00:00
troy%netscape.com
a314bc3877
Renamed some nsFrameList member functions
...
git-svn-id: svn://10.0.0.236/trunk@40595 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:00:57 +00:00
troy%netscape.com
947927e816
Renamed DeleteFrame() to Destroy()
...
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
kmcclusk%netscape.com
d08711ed3a
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.
git-svn-id: svn://10.0.0.236/trunk@40339 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 22:32:41 +00:00
troy%netscape.com
a89529386f
Added 'm' prefix to some of the nsHTMLReflowState data members
...
git-svn-id: svn://10.0.0.236/trunk@40215 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:41:03 +00:00
mjudge%netscape.com
329d39ba11
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.
...
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00