Commit Graph

350 Commits

Author SHA1 Message Date
rods%netscape.com
b38434e04d Added nsIListControlFrame.h and nsComboboxControlFrame.h 1999-01-22 15:41:05 +00:00
rods%netscape.com
64f5a23191 Factored out code for helper functions for determining size and for rendering 1999-01-22 15:32:57 +00:00
rods%netscape.com
fb3dd31b04 Added nsComboboxControlFrame nsListControlFrame 1999-01-22 15:32:34 +00:00
rpotts%netscape.com
3aad0278d5 Added support for setting the DISABLED attrivute via the DOM... 1999-01-21 09:51:28 +00:00
pollmann%netscape.com
04c59f0085 Bug 2279: Don't create widgets for hidden form elements. 1999-01-21 04:02:37 +00:00
pollmann%netscape.com
4ad4a7c1d6 Bug 1958: Fixing an apparent typo. 1999-01-21 03:09:25 +00:00
rods%netscape.com
99b3af960d Initial checkin 1999-01-18 15:14:00 +00:00
kipp%netscape.com
065905fa0b Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame* 1999-01-15 22:52:05 +00:00
troy%netscape.com
6d63084a70 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
peterl%netscape.com
5cc1370c12 better base url support
Checkin during red tree approved by sar
1999-01-15 02:07:46 +00:00
troy%netscape.com
036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
pollmann%netscape.com
fbbcce31c9 Bug 2234: Crash on JS Submit(). 1999-01-12 23:11:26 +00:00
kipp%netscape.com
cd76455b98 Use new flag defines 1999-01-12 16:42:03 +00:00
brade%netscape.com
7bc19df3f9 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:53:59 +00:00
brade%netscape.com
3e75d671d1 reduce Macintosh compiler warnings by making function static/private 1999-01-06 18:51:16 +00:00
brade%netscape.com
e061c6cf15 reduce Macintosh compiler warnings by making functions static/private 1999-01-06 18:45:28 +00:00
brade%netscape.com
8727d91f50 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:44:59 +00:00
brade%netscape.com
960bcd5cfd reduce Macintosh compiler warnings by making functions private 1999-01-06 18:43:18 +00:00
kmcclusk%netscape.com
6cc574b43f 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
4b3e1eebad Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
troy%netscape.com
4591f9d2ad Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
troy%netscape.com
583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com
7b5cc03059 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
rpotts%netscape.com
0786f8d0d7 Fire the OnSubmit event on the form not the input field... 1998-12-28 21:28:53 +00:00
pollmann%netscape.com
43512d12df Implemented onChange and selectedIndex for the HTMLSelectElement 1998-12-23 03:02:57 +00:00
brade%netscape.com
b7503c538b attempt to fix build bustage 1998-12-21 18:56:03 +00:00
rods%netscape.com
cccaeefc91 Changed constants to use LookAndFeel values. 1998-12-21 16:52:57 +00:00
troy%netscape.com
9619058141 Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
pierre%netscape.com
331f9386ca Fix forms: XP_MAC code was missing in GetHorizontalInsidePadding and GetVerticalInsidePadding 1998-12-20 13:18:10 +00:00
peterl%netscape.com
887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp%netscape.com
c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
kipp%netscape.com
45fc930a5a Partial whack at supporting more accurate max-element-size computations 1998-12-17 18:55:42 +00:00
kmcclusk%netscape.com
da64fb6ca2 Fix for Linux build 1998-12-16 18:39:48 +00:00
kmcclusk%netscape.com
3e16681c3f Moved most of the printer paint code to nsFormControlFrame. Added
autodoc compatible comments.
1998-12-16 18:12:55 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
kmcclusk%netscape.com
c3a046a88c Fix for the Mac. 1998-12-15 19:08:50 +00:00
rods%netscape.com
ba1b5dbf7c Added painting methods for printing 1998-12-15 19:03:36 +00:00
kmcclusk%netscape.com
95ba5239e1 Added code to render button using GFX for printing. 1998-12-15 18:50:21 +00:00
shaver%netscape.com
30635270f8 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
kmcclusk%netscape.com
e2fe7fcefb 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
rods%netscape.com
64c2b7f4c6 Added printing methods 1998-12-10 17:53:34 +00:00
kmcclusk%netscape.com
2c74221f9c 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
karnaze%netscape.com
4408592081 fixed bug 1806 1998-12-10 17:22:31 +00:00
harishd%netscape.com
17a3189fde No change 1998-12-07 19:00:45 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
kmcclusk%netscape.com
9868c9a0f9 Added Windows printing code for radio buttons. 1998-12-04 22:53:45 +00:00
kmcclusk%netscape.com
4f596b5059 Added some comments 1998-12-04 19:16:58 +00:00
kmcclusk%netscape.com
a67e6c1fe0 Fix for MAC build 1998-12-04 19:07:46 +00:00
kmcclusk%netscape.com
86a2bd4b85 Added code to GFX-render checkbox's under Windows when printing. 1998-12-04 18:33:34 +00:00
troy%netscape.com
ae7e0ae454 Removed explict call of base class constructor 1998-12-03 07:22:31 +00:00
troy%netscape.com
2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
kipp%netscape.com
1b3c96e6a4 Port to revised pres-context API 1998-11-26 18:14:41 +00:00
kipp%netscape.com
1ed8e1edae Fixed to not subtract out borders/padding when unconstrained height reflow is occuring 1998-11-26 18:14:17 +00:00
karnaze%netscape.com
0a820f9aa3 fixed bug 1504 (memory leak of select elements) 1998-11-24 18:54:26 +00:00
joki%netscape.com
e7f70ce9ce Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
rpotts%netscape.com
2ffc0ee62a Added a missing NS_RELEASE which was causing the URL and webshell to hang around... 1998-11-24 02:07:27 +00:00
troy%netscape.com
b8e18747a2 Added missing NS_RELEASE() to GetWidget() function 1998-11-23 04:41:51 +00:00
cyeh%netscape.com
65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
joki%netscape.com
b3039514cf Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug. 1998-11-21 00:19:36 +00:00
kipp%netscape.com
22b57f3531 Use new classname for base class; port to updated nsLeafFrame methods 1998-11-20 17:22:08 +00:00
kipp%netscape.com
64129e939e Port to updated nsLeafFrame methods 1998-11-20 17:21:49 +00:00
morse%netscape.com
856a1575fb fix for single signon 1998-11-20 05:01:32 +00:00
kipp%netscape.com
a6926809f0 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
joki%netscape.com
4c99ecc9ce Prevent multiple firings of DOM click events on buttons. 1998-11-19 00:42:38 +00:00
troy%netscape.com
60863f9b77 Fixed SetInitialChildList() so "frame" doesn't get reset after processing
the legend frame
1998-11-18 22:14:55 +00:00
joki%netscape.com
77fd9c2652 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
morse%netscape.com
cbcbe77b8a update for single signon 1998-11-18 04:38:13 +00:00
peterl%netscape.com
265c4ca8a7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
michaelp%netscape.com
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com
d5fc2aaaea Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
karnaze%netscape.com
cce53e947f bug 1226 for form control with native widgets. Other controls are still not working. 1998-11-13 23:13:42 +00:00
karnaze%netscape.com
581d6a571f bug 1357 involving a hidden control not getting submitted 1998-11-13 23:10:52 +00:00
cls%seawood.org
44b5869de6 Sync'd with Makefile. Thanks to Steve Morrison <smorrison@gte.com> for pointing this out. 1998-11-10 18:14:24 +00:00
troy%netscape.com
527ee073f8 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
aec75f892e 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
troy%netscape.com
081c78e696 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
troy%netscape.com
3006e7c7a3 Changed PostCreateWidget() code to use the "default value" when setting
the widget's initial value
1998-11-07 17:47:57 +00:00
troy%netscape.com
e7e6f42ffc Added a copy of the UpdateImageFrame() code from nsImageFrame, so that
when the image size arrives we get notified so we can kick off an
incremental reflow
1998-11-07 03:56:11 +00:00
michaelp%netscape.com
dff35cf838 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
cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
michaelp%netscape.com
d2b75b1ba9 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
fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
karnaze%netscape.com
94fb2992f1 initial support for opacity in html 4 button 1998-10-30 19:20:39 +00:00
karnaze%netscape.com
f50e55787a 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
kipp%netscape.com
4cd1d90fac Fixed bug #1154 - made fieldset frame aware of a constrained width on itself and pass that through to a child body 1998-10-28 04:11:14 +00:00
cls%seawood.org
411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
michaelp%netscape.com
15de205f12 changes for removal of zindex from nsIView::Init(). 1998-10-27 03:37:03 +00:00
karnaze%netscape.com
2a0c2366bb 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
620b8538a5 support for constrained width, height 1998-10-19 23:02:41 +00:00
karnaze%netscape.com
98eb658b89 fixed bugs 1130, 1132, 1133 1998-10-19 20:37:40 +00:00
karnaze%netscape.com
9fb22bd084 html 4 <BUTTON> basic functionality 1998-10-17 00:35:32 +00:00
karnaze%netscape.com
1ffe0ebea1 fixed combo box PostCreateWidget to size properly 1998-10-15 15:51:31 +00:00
karnaze%netscape.com
37f2d06fe4 generalized PostCreateWidget; better combo box rendering 1998-10-14 23:01:44 +00:00
karnaze%netscape.com
c82d985b8a 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
a77548baff Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
kipp%netscape.com
ea5a5735f5 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
troy%netscape.com
d25a9a35a2 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
karnaze%netscape.com
63f45a785b inline, shrinkwrap support for fieldsets, legneds 1998-10-08 19:04:57 +00:00
dcone%netscape.com
4c099da38f fixed some small declaration problems 1998-10-08 17:48:50 +00:00
karnaze%netscape.com
42797648cf fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
troy%netscape.com
7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com
9b82a28284 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
joki%netscape.com
02fa10b9f2 Adding new js window methods/props, moving js string evaluation to UC strings. 1998-10-01 22:23:48 +00:00
troy%netscape.com
ba3c7125c2 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
620875cfdf we no longer have a public font cache. 1998-09-30 19:01:46 +00:00
pinkerton%netscape.com
9fb7d341f7 better fix for iterator problem. 1998-09-28 22:34:44 +00:00
pinkerton%netscape.com
7ef6815b7a 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
649786e2e2 bugs 642, 643; also removed unused files. 1998-09-28 21:32:24 +00:00
kipp%netscape.com
bb57a6d08f Added callback to image loading api 1998-09-26 18:36:59 +00:00
kipp%netscape.com
a388e31cbd Fixed up includes to not depend on old content model classes 1998-09-24 21:37:45 +00:00
troy%netscape.com
f54279e62f Removed mChildCount from nsContainerFrame 1998-09-24 17:56:35 +00:00
karnaze%netscape.com
64c27c4711 forgot to add in last checkin 1998-09-23 17:44:33 +00:00
karnaze%netscape.com
fb883f1869 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00
troy%netscape.com
62b1375f69 Removed farme enumeration member functions for indexed access, last child,
and child count
1998-09-19 03:24:26 +00:00
troy%netscape.com
f80fdc69aa Removed CreateFrame() from nsIHTMLContent 1998-09-18 18:04:42 +00:00
kostello%netscape.com
3c1d6e4098 Fixed textfield problems from widget changes. 1998-09-17 20:07:15 +00:00
vidur%netscape.com
4e3024a5f9 Added constructors for DOM JS classes. nsIScriptObjectOwner::ResetScriptObject is now SetScriptObject. New factory for layout. New interface nsIDOMNativeObjectRegistry. 1998-09-17 01:53:52 +00:00
kipp%netscape.com
8f2807a027 Removed css/layout directory 1998-09-15 00:19:49 +00:00
kostello%netscape.com
334f544d61 Changes implementation to match the new Widget interfaces. This involves
many calls to QueryInterface because many of the instance members
no longer derive from nsIWidget.
Also, using helper functions in nsWidgetHelper for standard Create calls.
1998-09-14 20:46:42 +00:00
troy%netscape.com
e06f33e5d3 Changed Reflow() to directly create the child frames rather than use
CreateFrame() member function which is going away
1998-09-12 23:53:28 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
peterl%netscape.com
0fec5be8c0 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
peterl%netscape.com
4974e5e52a added content dir to includes 1998-09-05 03:58:05 +00:00
vidur%netscape.com
ab080b4586 New content code adjusts to getting script objects through a factory interface 1998-09-04 23:03:16 +00:00
peterl%netscape.com
746613f1b5 sync to attribute container api change 1998-09-02 02:08:14 +00:00
warren%netscape.com
b89e7efaca Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
troy%netscape.com
ad9a20da0b Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
troy%netscape.com
e524804caa Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00
troy%netscape.com
b242b51732 Changed nsIFontCache to conform to XPCOM standards 1998-08-28 05:16:41 +00:00
troy%netscape.com
c8e5750085 More API changes to nsIDeviceContext 1998-08-27 20:43:04 +00:00
troy%netscape.com
3c2ba03cf7 Made sure clipChildren member of widget init data is initialized 1998-08-21 23:06:01 +00:00
joki%netscape.com
46137420c0 Modifying nsIContent's AppendChild -> AppendChildTo to stop conflict with
DOM interfaces.
1998-08-21 21:38:26 +00:00
karnaze%netscape.com
360f6023d3 checked for null form manager & fixed memory leak in win95 hack code 1998-08-20 18:27:13 +00:00
scullin%netscape.com
9893a4e5b9 Fix hack incompatibility. 1998-08-20 00:33:26 +00:00
scullin%netscape.com
eea08fe2e2 Move form element hack from branch. 1998-08-20 00:24:29 +00:00
karnaze%netscape.com
3caa200a93 removed calls to DidReflow on browse button and text area 1998-08-19 21:43:46 +00:00
karnaze%netscape.com
40765150cf removed text field and browse button of <input type=text> from content model. 1998-08-17 17:46:08 +00:00
troy%netscape.com
fadc4d4beb Changed destructor to release reference to child form element, and
changed Release() to not check for external references to child form
elements
1998-08-14 21:03:16 +00:00
troy%netscape.com
98936027ef Changed NS_NewHTMLInputFile() to release reference to onput text and
input browse content objects
1998-08-14 20:36:36 +00:00
troy%netscape.com
c161f261c1 Added NS_RELEASE of list box widget interface pointer 1998-08-14 04:45:30 +00:00
troy%netscape.com
c804eb4ad1 Added NS_IF_RELEASE(mAttributes) to destructor 1998-08-14 03:32:39 +00:00
karnaze%netscape.com
73e4145994 fixed destructor problems causing www.goto.com to crash when hitting a link 1998-08-12 21:50:11 +00:00
rods%netscape.com
4d6426e924 Change the calculation of how big the dropdown list should be. The max size
is now 20.
1998-08-12 20:05:25 +00:00
kipp%netscape.com
7cfac8916c Use new forwarding macros 1998-08-12 18:00:04 +00:00
karnaze%netscape.com
4a849eba9d ref counting, destruction fixes 1998-08-12 02:04:41 +00:00
karnaze%netscape.com
4d747b5c56 put back previous sizing of text fields due to changes in fixed width font 1998-08-11 19:07:25 +00:00
karnaze%netscape.com
1c9c06291f added missing NS_RELEASE statements 1998-08-11 16:52:05 +00:00
karnaze%netscape.com
1e4f857439 fixed "return" submission on a single text field 1998-08-10 17:26:20 +00:00
karnaze%netscape.com
6837a9ba6b adjusted sizing for text controls; default control is text; assertion cleanup 1998-08-10 04:28:17 +00:00