Commit Graph

3364 Commits

Author SHA1 Message Date
mjudge%netscape.com
db58635679 Must allow for the fact that content may be nsnull in ALL cases. 1999-01-27 02:15:38 +00:00
pinkerton%netscape.com
2549f2d4dd Got reflow working so that it lays out its children one right after the other, leaving room for a grippy to be drawn. 1999-01-27 02:11:07 +00:00
kmcclusk%netscape.com
a92dfe581a Modified GetDefaultChecked and SetDefaultChecked to get and set the checked
attribute.
1999-01-27 01:35:30 +00:00
waterson%netscape.com
98efa72355 Exposed EventListenerManager. 1999-01-27 00:58:49 +00:00
kmcclusk%netscape.com
88326ce269 Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
the nsCheckboxControlFrame and nsRadioControlFrame.cpp
1999-01-27 00:51:46 +00:00
pollmann%netscape.com
2e602c76d7 Bug 1958: Submit x, y coords for unnamed image elements. Submit coords only once. 1999-01-27 00:25:40 +00:00
vidur%netscape.com
995b47b08a First pass implementation of document.implementation 1999-01-27 00:12:33 +00:00
mjudge%netscape.com
82a538fe8c Fixing rangelist to look at frame content not the frame hierarchy do decide if you clicked on the background frame. 1999-01-26 23:49:17 +00:00
kmcclusk%netscape.com
e342fc0ca1 Added GetPrimaryFrame utility method. 1999-01-26 23:43:52 +00:00
pollmann%netscape.com
34845beb96 Bug 2279: Don't create widgets for hidden form elements. 1999-01-26 22:11:59 +00:00
troy%netscape.com
2fb9c64835 Fixed a problem in CalculateLeftRightMargin() 1999-01-26 16:34:08 +00:00
rpotts%netscape.com
f1724f97b9 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
troy%netscape.com
fa93923bcf Fixed a problem in ConstructFrameByTag() where absolutely positioned elements
weren't handled properly
1999-01-26 06:00:30 +00:00
troy%netscape.com
9ae6259485 Fixed some problem in ConstructFrameByDisplayType() where in now cases
(e.g. floaters and relatively positioned blocks) the newly constructed
frame wasn't getting added to aFrameItems
1999-01-26 05:46:04 +00:00
troy%netscape.com
85b271d4dd Fixed a problem with placeholder frame's clearing the child list and
causing the previous frames to disappear
1999-01-26 05:05:19 +00:00
troy%netscape.com
2fa2920b29 Removed "tab" chars 1999-01-26 01:47:01 +00:00
rickg%netscape.com
e53c0df266 missed this API change 1999-01-26 01:45:40 +00:00
troy%netscape.com
5198f513b4 Hooked up print-preview to work again 1999-01-26 01:39:08 +00:00
rickg%netscape.com
aed1baa2e5 made javascript happier 1999-01-26 01:25:37 +00:00
hyatt%netscape.com
0259257541 Adding support for tree indentation. nsTreeIndentation.cpp 1999-01-26 01:20:28 +00:00
hyatt%netscape.com
2ce7b53770 Added support for tree indentation. 1999-01-26 01:12:51 +00:00
mjudge%netscape.com
91be934323 oops ifdef 0 is bad should be if 0 1999-01-26 01:01:56 +00:00
mjudge%netscape.com
bec224216c turning off printf debug statements in debug to speed up resizing 1999-01-26 00:40:39 +00:00
troy%netscape.com
ff3d3b60b5 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com
1462f685fc fixing build bustage for someone 1999-01-25 23:55:59 +00:00
mjudge%netscape.com
9bb5d8a906 changing paintunicodestring and paintasciistring to map from content coordinates to painttext coordinatres. in get position, i am now mapping from paint coordinates to content coordinates. also, the frames themselves now set the focus and anchor for a nsIFocusTracker passed in object. 1999-01-25 23:29:53 +00:00
mjudge%netscape.com
16720c497b keeping the selection code pure by not knowing anything about the graphic representation of the selection. just offset to offset. adding code to reselect the anchor and focus frame in the nsIFocusTracker by passing it to the nsIFrame setselectedcontent method. 1999-01-25 23:28:59 +00:00
mjudge%netscape.com
5ac012630e adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow 1999-01-25 23:28:23 +00:00
hyatt%netscape.com
abd68f001f Tweaks to enable XUL frame construction to prevent the construction based on
display type.
1999-01-25 23:07:17 +00:00
vidur%netscape.com
8bab99aac5 Implemented nsIDOMElement::Normalize 1999-01-25 22:17:15 +00:00
kmcclusk%netscape.com
4f72556760 Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
implementations for all classes that derive from nsIFormControlFrame
1999-01-25 22:16:27 +00:00
hyatt%netscape.com
6d67538c8d Altered the way frame construction works. ConstructFrame can now potentially
build up a list of sibling frame subtrees.  This allows for the creation of
multiple frames from a single content node, and for easy merging of two different
lists of subtrees during frame construction.
1999-01-25 22:13:03 +00:00
ftang%netscape.com
3759b987f5 change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
amusil%netscape.com
43c91b3dff *** empty log message *** 1999-01-25 10:10:29 +00:00
sudu%netscape.com
c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
mjudge%netscape.com
110a084f10 adding same code to paintAscii as i did to paintUnicode 1999-01-25 01:53:40 +00:00
mjudge%netscape.com
55f9005e7a ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace? 1999-01-25 01:48:01 +00:00
mjudge%netscape.com
58db313754 Focus tracker needs to send the tracker to the implementation of selection so that it can update the tracker as to which frame(s) should be considered the focus frames ect. This is not yet working fully. Everything I am checking in will stay, I simply have a decision to make as to exactly what to do next. RangeList also had some modifications to better selection 1999-01-25 01:42:34 +00:00
pierre%netscape.com
0c1e5ae10f added nsViewportFrame.cpp for Troy 1999-01-24 22:01:58 +00:00
troy%netscape.com
b3714ebc19 Initial check-in 1999-01-24 20:36:46 +00:00
mjudge%netscape.com
cb811b7c69 This checkin will stop the double addref to the incomming ranges. The problem was that the changing of the old array of voids and the nsVoidPtr array do NOT addref whereas the nsISupportsArray DOES! I suspected as much. I have removed the offending code and I believe this should make selection much cleaner. 1999-01-23 20:43:13 +00:00
peterl%netscape.com
37624b3834 fixed a leak of an input stream 1999-01-23 19:28:09 +00:00
peterl%netscape.com
9937b38698 cleaned up style sheet ordering 1999-01-23 07:09:06 +00:00
peterl%netscape.com
3e1e2ce68d allow reconstruct frames to work on all documents 1999-01-23 07:08:38 +00:00
peterl%netscape.com
870cd4ed7f made media case insensitive (for now) 1999-01-23 07:08:11 +00:00
peterl%netscape.com
c23d28c907 added insert style sheet 1999-01-23 07:07:32 +00:00
peterl%netscape.com
bbbe75c6c2 cleaned up style sheet ordering
support for selecting alternate style sheets
1999-01-23 07:07:09 +00:00
peterl%netscape.com
ec711cef0c added meta tag http-equiv support
fixed selection of default style sheets
made style sheet loading not block parser
added support for several http headers
1999-01-23 07:05:49 +00:00
peterl%netscape.com
c5492c1e93 only parse style attributes if doc style language is text/css 1999-01-23 07:04:28 +00:00
peterl%netscape.com
62bc285367 added helper methods for selecting & querying alternate style sheets 1999-01-23 07:03:46 +00:00
peterl%netscape.com
1d4db24d11 added HTTP header atoms 1999-01-23 07:02:56 +00:00
peterl%netscape.com
7597321ac7 fixed case of media atoms 1999-01-23 07:02:10 +00:00
peterl%netscape.com
6adda0ee50 set now manages order of doc style sheets 1999-01-23 07:01:57 +00:00
peterl%netscape.com
119785d7c2 added header data accessors
cleaned up style sheet ordering
1999-01-23 07:01:40 +00:00
peterl%netscape.com
0a224a2382 simplified setting doc style sheets (set now manages ordering) 1999-01-23 07:01:02 +00:00
peterl%netscape.com
50635cc188 added accessors to get & set alternate style sheets 1999-01-23 07:00:39 +00:00
peterl%netscape.com
b8cf627e7d added header data accesors 1999-01-23 07:00:10 +00:00
troy%netscape.com
b8e3d41dab Part of the fix for bug #2502. For the time being mark relative/absolute positioned
views as having transparent content
1999-01-23 05:47:55 +00:00
troy%netscape.com
0a2d359c38 Added check for unconstrained width/height of the containing block when
computing 'offsets'
1999-01-23 04:49:15 +00:00
troy%netscape.com
efc7c95a53 Added XXX comment indicating that the #if 0 code in Init() is causing
a memory leak...
1999-01-23 02:38:16 +00:00
akkana%netscape.com
581ab7e058 remove some verbose debugging messages 1999-01-23 00:38:54 +00:00
troy%netscape.com
3cca5e2907 Turned off debug message that was outputing to the console 1999-01-23 00:20:58 +00:00
vidur%netscape.com
f7657749c8 Implemented splitText for text nodes 1999-01-23 00:10:08 +00:00
akkana%netscape.com
56752ba2ed 2028: Get selection highlighting working on Linux 1999-01-23 00:00:46 +00:00
troy%netscape.com
ff22a7c1f6 Fixed ReflowTemp() so it's doing a legal incremental reflow, and changed
Reflow() so it does a minimally acceptable job of handling incremental reflow
commands...
1999-01-22 23:10:02 +00:00
troy%netscape.com
eab0e22fa7 Changed Reflow() to make sure we remove the reflow command for
incremental reflow commands passing through us
1999-01-22 23:08:42 +00:00
troy%netscape.com
626cdf9ca8 Changed ContentChanged() to generate a reflow command 1999-01-22 23:07:09 +00:00
vidur%netscape.com
ae6e5a8019 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00
harishd%netscape.com
eb58eec877 StyleContext passed onto PaintBorder() 1999-01-22 22:38:34 +00:00
harishd%netscape.com
123e7f3a4c StyleContext passed onto PaintBorder()/PaintArrow() 1999-01-22 22:35:12 +00:00
harishd%netscape.com
baf7b197c8 StyleContext passed onto PaintArrow() 1999-01-22 22:34:28 +00:00
harishd%netscape.com
2d6c909024 styleContext is passed onto PaintBorder()/PaintArrow() 1999-01-22 22:31:15 +00:00
harishd%netscape.com
c53ae7e35c StyleContext info. is passed on into PaintBorder() 1999-01-22 22:30:02 +00:00
harishd%netscape.com
86da618186 Stylecontext is passed to PaintBorder() 1999-01-22 22:28:12 +00:00
harishd%netscape.com
11e90148bb PaintBorder() method has stylecontext info. 1999-01-22 22:27:19 +00:00
harishd%netscape.com
d913194001 PaintBorder() modified to accept styleContext 1999-01-22 22:26:29 +00:00
harishd%netscape.com
7daec328c6 Passing styleContext info. to PaintBorder(). 1999-01-22 22:25:58 +00:00
harishd%netscape.com
317d0d7c4e Passing stylecontext into Paintborder() 1999-01-22 22:25:00 +00:00
harishd%netscape.com
abbf50e310 Got stylecontext info into PaintBorder() for displaying
CSS borders.
1999-01-22 22:24:05 +00:00
harishd%netscape.com
69aa3480e6 Modified the PaintBorder(), MakeBevelColor(), DrawSide(),
PaintBorderEdge() methods.
1999-01-22 22:22:26 +00:00
kmcclusk%netscape.com
eb492feecc Removed code which set the defaultchecked from the checked attribute. 1999-01-22 22:14:58 +00:00
mjudge%netscape.com
ee295b609b selection rocks ass 1999-01-22 22:04:54 +00:00
kmcclusk%netscape.com
a10ae5d40d Removed nsIFormControLFrame.h since it now lives in public 1999-01-22 19:22:37 +00:00
kmcclusk%netscape.com
53cd03fe10 Added missing methods to nsIFormControlFrame.h 1999-01-22 19:10:10 +00:00
mjudge%netscape.com
769d4b5a86 chagnes for selection to work 1999-01-22 18:58:14 +00:00
troy%netscape.com
3bd7fc220f Added XXX comment for ReResolveStyleContext() 1999-01-22 18:23:06 +00:00
kmcclusk%netscape.com
5c1dc21ebc Added export of nsIFormControlFrame.h for the MAC build 1999-01-22 18:21:39 +00:00
kmcclusk%netscape.com
138bea4c6e Modified Linux and Mac to export nsIFormControlFrame.h 1999-01-22 18:19:12 +00:00
kmcclusk%netscape.com
d5fa03d72d Added nsIFormControlFrame to the set of files to export 1999-01-22 18:14:23 +00:00
dcone%netscape.com
0a32664a87 nsFormcontrolHelper.cpp nsListControlFrame.cpp nsCombboxcontrolframe.cpp 1999-01-22 16:08:52 +00:00
dcone%netscape.com
313f995cc4 First Checked In. 1999-01-22 16:04:08 +00:00
rods%netscape.com
5d1dc74549 Ifdef'ed out the Pluggable event code 1999-01-22 15:56:21 +00:00
rods%netscape.com
dc02794a78 Initial checkin factored code from nsFormControlFrame 1999-01-22 15:47:33 +00:00
rods%netscape.com
43d1411897 initial checkin 1999-01-22 15:41:28 +00:00
rods%netscape.com
b38434e04d Added nsIListControlFrame.h and nsComboboxControlFrame.h 1999-01-22 15:41:05 +00:00
rods%netscape.com
1edca9201b Added methods for creating ListControlFrame and ComboxControlFrames 1999-01-22 15:34:13 +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
rods%netscape.com
34e9cde15c Factored out the Initialization code for the ScrollFrame into a separate method
Added code to hide and show view when applied to the whole tree
Added a method for Creating the proper frames for the SELECT tag
1999-01-22 15:27:54 +00:00
rods%netscape.com
b7e36c8bcd Added some additional attoms for the Combobox Frame Control 1999-01-22 15:25:12 +00:00