Commit Graph

4758 Commits

Author SHA1 Message Date
harishd%netscape.com
32458c9067 Added support for setting DOCTYPE and DTD mode. 1999-09-15 17:57:16 +00:00
shaver%netscape.com
b6bfc17ba3 fix 12956, r,a=brade 1999-09-15 14:42:19 +00:00
pollmann%netscape.com
b4451b8526 Bug 13058: (Fixed Solaris bustage by removing Inherited typedef) 1999-09-15 05:31:31 +00:00
troy%netscape.com
46f7140270 In CreateViewForFrame() removed code that was hiding view if the 'visibility'
property is 'hidden'
1999-09-15 04:54:00 +00:00
troy%netscape.com
5c8341b9f0 Removed code in CreateViewForFrame() that always forced relatively positioned
and absolutely positioned frames to have transparent views. It's not needed
now that bug #11637 is fixed
1999-09-15 04:16:31 +00:00
troy%netscape.com
07cd658481 Fix for bug #13233. Changed CantRenderReplacedEledment() so it handles OBJECT
frames that are out-of-flow
1999-09-15 04:03:08 +00:00
karnaze%netscape.com
c21dec94c8 new regression tests 1999-09-15 03:54:43 +00:00
pollmann%netscape.com
73c3c9952a Bug 13058: Make global enum a public member. 1999-09-15 02:30:39 +00:00
ramiro%netscape.com
e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
mjudge%netscape.com
d71f4104da changes for bug fixes for dogfood. finding frames left and right should find the correct frame and not give up so easily. nsTextFrame needed to change getpositionslowly. 1999-09-15 01:57:50 +00:00
nisheeth%netscape.com
313baf741f Start of instrumentation of the presshell to calculate timing data for the reflow process. 1999-09-15 00:43:53 +00:00
nisheeth%netscape.com
b7d6bb7da6 The stopwatch macros got converted to macros that accept an argument. Changed all macro calls in the content sink to play with that change. 1999-09-15 00:39:41 +00:00
kipp%netscape.com
6488f7b26e Fixed various incremental reflow bugs (1764,12890,1910,2222) and list bullet painting bug (10675,13599) 1999-09-15 00:28:10 +00:00
kipp%netscape.com
090878a3d5 Added kIAreaFrameIID 1999-09-15 00:27:20 +00:00
kipp%netscape.com
924f578517 Upgraded incremental reflow debugging support 1999-09-15 00:27:05 +00:00
kipp%netscape.com
c06ce86187 Added GetSpaceManager 1999-09-15 00:26:44 +00:00
kipp%netscape.com
d0e73c20e6 Removed MoveInSpaceManager 1999-09-15 00:26:39 +00:00
kipp%netscape.com
eee4794fda Disabled (obsolete?) usage of MoveInSpaceManager 1999-09-15 00:26:10 +00:00
kipp%netscape.com
bab712b6e1 Added some spacemanager debugging noise 1999-09-15 00:25:51 +00:00
kipp%netscape.com
999be9a0a1 Implement List method 1999-09-15 00:24:54 +00:00
sfraser%netscape.com
c0fa195473 Remove some redundant caret methods in the pres shell, and use my funky new stack-based caret hider class to manage caret visibility during difficult times. 1999-09-14 23:43:35 +00:00
sfraser%netscape.com
2ad5b8ffa2 Fix a warning. 1999-09-14 23:41:49 +00:00
vidur%netscape.com
462a172866 removed incorrect addressof operator 1999-09-14 23:39:22 +00:00
mjudge%netscape.com
611e47bbd4 content iter not initing properly for reuse. text frame not selecting slowly properly, bad bounds checking :(. rangelist now traversing each node in a spaniter with a normal iter to make SURE we get all the children! 1999-09-14 23:16:22 +00:00
evaughan%netscape.com
d1525e5bd4 Fixed some bugs in splitter
added auto collapse.
1999-09-14 22:17:19 +00:00
briano%netscape.com
987374301c Fixed the stopwatch macro definitions and usage that was breaking some of the Unix native compiler builds. 1999-09-14 22:10:13 +00:00
dcone%netscape.com
1364fc8597 Added a Mac case for creating the popup widget.. The #ifdef will come out when all platforms support the PopUp_CID 1999-09-14 21:29:58 +00:00
pollmann%netscape.com
c6ea67797b Backing things out until I can get Solaris bustage figured out. 1999-09-14 20:42:26 +00:00
pollmann%netscape.com
f8609a0407 Bug 13058: Keep the cache in sync with the widget state for native selects. 1999-09-14 19:39:23 +00:00
pollmann%netscape.com
0e16a58334 Bug 13058: Update select control interface to include 'get option selection' 1999-09-14 19:37:51 +00:00
pollmann%netscape.com
8dd16c6263 Bug 13058: Implement nsIStatefulFrame for selects. Some memory leak fixes. Plus the usual plethora of bugfixes for native selects 1999-09-14 19:37:45 +00:00
pollmann%netscape.com
599b8f1a31 Bug 13058: Implement nsIStatefulFrame for file inputs, cache value until child textbox is created, and misc cleanups. 1999-09-14 19:28:45 +00:00
nisheeth%netscape.com
cd8a6da86e Added start/stop calls for the stopwatch in the nsIContentSink and nsIHTMLContentSink method implementations. Added printing of content creation time in DidBuildModel(). 1999-09-14 19:24:42 +00:00
pollmann%netscape.com
a6d7defe41 Bug 13058: Implement nsIStatefulFrame for text inputs and textareas 1999-09-14 19:19:55 +00:00
pollmann%netscape.com
ee4bc6347e Bug 13058: Handle SetTextControlState for native widgets even before the widget is created (cache the value). 1999-09-14 19:18:23 +00:00
pollmann%netscape.com
0d6b4a78b0 Bug 13058: Implement nsIStatefulFrame for radio buttons 1999-09-14 19:16:15 +00:00
pollmann%netscape.com
2cb62e9b2e Bug 13058: Implement nsIStatefulFrame for checkboxes 1999-09-14 19:12:08 +00:00
bienvenu%netscape.com
788aa269e4 fix release mode build bustage 1999-09-14 16:25:59 +00:00
slamm%netscape.com
51ec568ce4 Start defines in first column. 1999-09-14 16:17:55 +00:00
karnaze%netscape.com
b6999b9e06 new regression test 1999-09-14 15:00:48 +00:00
nisheeth%netscape.com
7ee3e87d55 First cut to start measuring content creation time in the content sink. Only enabled if MOZ_PERF is set to 1 in the environment at build time. 1999-09-14 14:38:52 +00:00
troy%netscape.com
b80b7939b1 Fix for bug #13700. Removed a warning that's no longer needed 1999-09-14 04:43:16 +00:00
vidur%netscape.com
ccf398a6f7 Fix for bug 13192. Document is parented by the global object of the container context, not the calling context. 1999-09-14 04:17:07 +00:00
pollmann%netscape.com
ea3c61f2be Bug 13058: Tweaks to StatefulFrame interface - and not keeping state for anonymous content 1999-09-14 02:00:20 +00:00
karnaze%netscape.com
d7814e1c8e bug 13135, removed unused code 1999-09-14 01:27:40 +00:00
pollmann%netscape.com
a364955418 Nuke some warnings. 1999-09-14 01:15:33 +00:00
briano%netscape.com
97faab6716 General cleanup. 1999-09-14 01:02:20 +00:00
troy%netscape.com
5c674a3adb Added back all of Peter's changes to ConstructRootFrame() to use the correct
pseudo element styles. Somehow evaughan commented out his code and reverted
to the old wrong code...
1999-09-14 00:40:16 +00:00
troy%netscape.com
b9c7f9eeb5 Changed ConstructRootFrame() to use the ":canvas" pseudo element style for
the root frame
1999-09-13 23:26:21 +00:00
rods%netscape.com
fea9cdf36b cleaned up some code
add method to get the absolute rect of the combobox frame for hit detectio
now drop downs drop down under the select
1999-09-13 23:20:50 +00:00
karnaze%netscape.com
0cad5c01e9 new regression test 1999-09-13 22:54:17 +00:00
karnaze%netscape.com
6fcbeab32d bug 13105 - removed code which set frames style to "all" 1999-09-13 22:51:10 +00:00
rods%netscape.com
264dc1237a changing options to have min-height of 1em
changing selct to have nowrap white-space
1999-09-13 22:32:52 +00:00
rods%netscape.com
6a26defabe Removing temporary fixes for option issues 1999-09-13 22:30:36 +00:00
pollmann%netscape.com
d2b192a16d Don't change the cursor to a pointer when over a disabled image input. 1999-09-13 22:25:45 +00:00
mjudge%netscape.com
e2d1d73278 fixes for selection. up/down arrow behavior and also extending selection. all should be in peek offset ect. Also adding in a slight change to the hack (which should go away soon) that will stop the editor from scrolling when up/down left/right ect are clicked. when key events go in this code will be removed 1999-09-13 22:19:31 +00:00
troy%netscape.com
97c0000d30 Added NULL pointer check 1999-09-13 22:07:15 +00:00
karnaze%netscape.com
e68d1186bc new regression test 1999-09-13 21:58:35 +00:00
karnaze%netscape.com
95e4bec1f7 removed border subtraction from out table frame and adjusted in layout strategy. 1999-09-13 21:45:58 +00:00
troy%netscape.com
5c61cb8ef4 Added frame type for OBJECT frame 1999-09-13 21:26:05 +00:00
troy%netscape.com
5ace2e44bc Fix for bug #13570. Changed ContentAppended() and ContentInserted() to check
for an "object" frame
1999-09-13 21:25:43 +00:00
kmcclusk%netscape.com
8f9cf9d3bc Removed nsGfxButtonControlFrame's MouseClick method. It uses it's base classes (nsHTMLButtonControlFrame)
MouseClick instead. Reworked nsHTMLButton::MouseClick factoring out code to get Reset and Submit button
types so MouseClick can be re-used by the nsGfxButtonControlFrame.
Fix for bug 13462. Set the nsHTMLButtonControlFrame's mForm in the initial reflow.
1999-09-13 20:40:59 +00:00
karnaze%netscape.com
c4410378e1 bug 7604 - limit colspan to max of 1000 1999-09-13 20:18:33 +00:00
karnaze%netscape.com
ed8a7c767c new regression tests 1999-09-13 20:16:33 +00:00
rods%netscape.com
dd5d7e6637 temporary fix for scrolling the dropdown until gfx scrollbars get in 1999-09-13 18:29:00 +00:00
karnaze%netscape.com
ee38b14e93 new regression test 1999-09-13 14:57:55 +00:00
karnaze%netscape.com
0dd9ac9049 bug 11776, stopped doing arithmetic on unconstrained sizes 1999-09-13 14:35:00 +00:00
troy%netscape.com
fa27198a6d Fix for bug #13497. Made sure to use NS_BLOCK_MARGIN_ROOT flag when creating
the area frame for a scrolled block element
1999-09-13 14:28:34 +00:00
pollmann%netscape.com
d8d1504d60 Fix for bug 10013 - Call the JS onclick event handlers when the DOM click method is invoked on an input element. 1999-09-13 06:22:40 +00:00
pollmann%netscape.com
13244b3237 Leak fix. 1999-09-13 06:18:09 +00:00
troy%netscape.com
0cb7fe2f83 Eliminated compiler warning 1999-09-13 04:45:43 +00:00
troy%netscape.com
19fc1e01af Added support for incremental table painting 1999-09-13 03:19:39 +00:00
buster%netscape.com
d94b3e63a0 fixed an uninitialized variabled error. the result code in Reflow is
now initialized to NS_OK, because it's not used in all reflow paths.
1999-09-13 03:15:23 +00:00
cls%seawood.org
762fca642e Fix my bustage using -D_BSD_SOURCE 1999-09-12 16:41:14 +00:00
peterl%netscape.com
240256290a even better li bullet positioning 1999-09-11 18:20:30 +00:00
rods%netscape.com
6c54a44b78 It now checks to see if option elements have a "\n" in them and it strips them out 1999-09-11 17:28:36 +00:00
rods%netscape.com
f6e0510a05 when <option></option> no text node gets created for the option element
it now checks and makes sure one gets created
1999-09-11 14:55:33 +00:00
mjudge%netscape.com
eaa78b424a fixes for crasher in tree 1999-09-11 00:18:02 +00:00
peterl%netscape.com
2c450d66f9 added first-node pseudo class (extension) 1999-09-11 00:08:30 +00:00
peterl%netscape.com
cd649c16bf fixed first boy child top margin better 1999-09-11 00:07:27 +00:00
peterl%netscape.com
08211a7951 better list style position
removed top margin from first body child
1999-09-10 23:31:15 +00:00
rods%netscape.com
9e8a1b6378 When asked for the selected item string it return first the value, then the label then the content in that order if any are empty 1999-09-10 22:56:23 +00:00
rods%netscape.com
593a8e8ba7 No retreievs item 0 when nothing is selected and return the proper value, or lable or content when item is selected 1999-09-10 22:54:24 +00:00
rods%netscape.com
b0233d1ada added generated content for option elements with label attrs 1999-09-10 22:53:09 +00:00
peterl%netscape.com
702aaf6524 tweaking margins on lists 1999-09-10 22:42:53 +00:00
peterl%netscape.com
c1fbee9392 fixed list style position rules to allow being overridden better 1999-09-10 21:56:03 +00:00
karnaze%netscape.com
591aa85865 new regression tests 1999-09-10 19:10:46 +00:00
karnaze%netscape.com
74246415d1 more regression tests 1999-09-10 18:56:10 +00:00
karnaze%netscape.com
4966ef6084 better handling of empty cell widths, especially involving colspans. support for bug 7121. 1999-09-10 18:55:46 +00:00
kipp%netscape.com
fb8c244c9f Fixed two incremental reflow bugs (12890) 1999-09-10 18:52:56 +00:00
kipp%netscape.com
c211a54bed Tweaked incremental reflow support logic 1999-09-10 18:49:23 +00:00
mjudge%netscape.com
046cdcb844 changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames. 1999-09-10 18:29:37 +00:00
karnaze%netscape.com
c3359c61d4 fixed bug in debug output for reflow 1999-09-10 13:03:32 +00:00
hyatt%netscape.com
fc32f1e04e Working on XP menus. 1999-09-10 08:47:12 +00:00
peterl%netscape.com
2a0c2b13f1 re-added last changes (in a mac safe way)
better font weight
system color handling
1999-09-10 05:56:19 +00:00
peterl%netscape.com
03b11a90a5 added system color parsing
fixed font weight parsing to be more strict
1999-09-10 05:55:36 +00:00
peterl%netscape.com
5559820b53 added system color support 1999-09-10 05:54:46 +00:00
peterl%netscape.com
aea3107630 added system colors 1999-09-10 05:54:23 +00:00
peterl%netscape.com
be9461f3e1 changed content state change notification rule to match attribute changed
made a seperate notification method
1999-09-10 05:54:00 +00:00
peterl%netscape.com
ed25a6b91e fixed font weight calculation 1999-09-10 05:52:45 +00:00
peterl%netscape.com
fa95528749 added content state changed notification 1999-09-10 05:52:23 +00:00
peterl%netscape.com
af1b7020f0 added constrain font weight 1999-09-10 05:51:44 +00:00
briano%netscape.com
08af3df2e0 General cleanup. 1999-09-10 00:18:42 +00:00
warren%netscape.com
40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
kipp%netscape.com
ee216379ac Fixed refcnt crash bug with style-contexts (bad nscomptr usage -- whoops) 1999-09-09 21:54:20 +00:00
kipp%netscape.com
0283a98cb6 Nit to make emacs happier 1999-09-09 21:05:32 +00:00
kipp%netscape.com
beadfcb37c Reworked to be more css compliant; factored compatability logic out of nsInlineFrame into here 1999-09-09 21:04:37 +00:00
kipp%netscape.com
606ea6edd9 Cleaned up 1999-09-09 21:04:00 +00:00
kipp%netscape.com
9f50793471 Added rendering context to CalcLineHeight API 1999-09-09 21:03:46 +00:00
kipp%netscape.com
e5499ef843 Reworked nsHTMLReflowState::CalcLineHeight (bug 6865) 1999-09-09 21:03:27 +00:00
kipp%netscape.com
056b8e9197 Fixed bug 10820 1999-09-09 21:02:02 +00:00
kipp%netscape.com
ed874d1439 Fixed infinite loop 12747 1999-09-09 20:53:32 +00:00
kipp%netscape.com
f73fad9197 Updated for revised line-layout algorithm 1999-09-09 20:53:18 +00:00
buster%netscape.com
408c05bfea workaround needed as a result of hyatt's change to frame construction code and attribute notification. 1999-09-09 19:45:32 +00:00
rods%netscape.com
af296e18b3 Better fix for option elements with no content in them 1999-09-09 19:37:23 +00:00
rods%netscape.com
d675fc86a1 changed a couple of select disable attributes 1999-09-09 14:14:20 +00:00
rods%netscape.com
fa6fb356e7 Temporary fix to for mail compose. 1999-09-09 13:17:35 +00:00
mscott%netscape.com
843b43fcfb Backing out peterl's changes to fix the mac depend build until we can figure out why it
causes an internal compiler error.
1999-09-09 01:49:51 +00:00
peterl%netscape.com
45956b1726 Added optimization in SetCoord to not set inherit value if value can be computed locally 1999-09-09 00:43:54 +00:00
peterl%netscape.com
e230741d8f removed non-necko code
fixed to not load alternate sheets after document drops reference
1999-09-09 00:42:53 +00:00
sfraser%netscape.com
69e203f45c #ifdef out a bunch of rods's printfs. 1999-09-09 00:23:40 +00:00
briano%netscape.com
6074b8b8a4 Removed the obsolete non-NECKO leftovers. 1999-09-09 00:11:48 +00:00
evaughan%netscape.com
c9e6d7dafa 1) Made some fixes to splitter frame.
2) Fixed a bug that caused scrollbars to disappear after visiting a xul page.
1999-09-08 23:51:02 +00:00
vidur%netscape.com
50eaf4ef31 Reporting better nsresults to DOM methods. 1999-09-08 23:18:27 +00:00
troy%netscape.com
c35856b144 Eliminated compiler warnings 1999-09-08 20:29:56 +00:00
rods%netscape.com
344f8d53df changed the way white space was being compress when getting the value
now a value of all spaces does get compressed to nothing
1999-09-08 19:57:24 +00:00
rods%netscape.com
d88c66a30a added rules for disabled options
changed nowrap to pre for processing of white space for options
1999-09-08 19:56:04 +00:00
rods%netscape.com
7c7bfd2eb5 Commented out space key event processing 1999-09-08 19:55:08 +00:00
rods%netscape.com
bf45e4b044 Fixed selection in lists 1999-09-08 19:54:30 +00:00
rods%netscape.com
9f1c0d0753 removed space and return key event processing 1999-09-08 19:53:30 +00:00
mjudge%netscape.com
ba4611bb7d addiung selectable BRFrames. but brframes arent like images ect. they give you a collapsed range, collapsed to just "before" themselves. this will help editing immensely. this should also fix some mail news issues 1999-09-08 19:43:17 +00:00
karnaze%netscape.com
1b13637027 bug 9043 - added nsTableCellCollection to handle multiple tags 1999-09-08 14:33:58 +00:00
karnaze%netscape.com
0cbaf0f694 new regression test 1999-09-08 14:32:53 +00:00
rods%netscape.com
bd89429f51 Added the proper event processing for disabled options
ListBoxes (as dropdowns) are now notified before the are about to be dropped down
1999-09-08 14:27:38 +00:00
hyatt%netscape.com
18be26df3e Landing AttributeChanged alteration. AttributeChanged now fires even when the
style hint is REFLOW or VISUAL (and not just CONTENT).
1999-09-08 03:51:41 +00:00
av%netscape.com
b6788ffcc5 Fixing bug 7509 1999-09-08 00:12:26 +00:00
mjudge%netscape.com
a5ac5b186c adding in begin line and end line enums for selection movement. this allows peeking to the start and end of and like given a content offset for any frame. 1999-09-07 23:40:17 +00:00
buster%netscape.com
0a6321f0ae made a small change to the way the file control interacts with the embedded gfx text control
now, it talks to it via nsIDOMHTMLInputElement interface, rather than assuming imlementation details
about what attributes to set.
1999-09-07 23:20:32 +00:00
mjudge%netscape.com
591daffd24 Had a loop that did not reset one variable for "next" iteration. this will fix arrow up/down ya. 1999-09-07 18:47:01 +00:00
pollmann%netscape.com
132adbd121 Removing some dead code. 1999-09-07 18:35:30 +00:00
troy%netscape.com
2eba2292ea Changed CreateGeneratedFrameFor() to set the parent object and the document
object of the generated content
1999-09-07 03:09:33 +00:00
troy%netscape.com
85d5eb8329 Fix for bug #13176. Changed CantRenderReplacedElement() to reset the
primary frame mapping for OBJECT elements
1999-09-07 02:42:00 +00:00
pollmann%netscape.com
cb70f00a3a Bug 12849: OnChange event.target is now the select instead of the option. 1999-09-07 02:16:23 +00:00
rods%netscape.com
925132c54e Fills in background color webshell gets centered and the size is large then the minium 1999-09-04 13:34:40 +00:00
pierre%netscape.com
9dab157a97 Fixed #6874 "Hover doesn't work for gfx-rendered buttons" 1999-09-04 00:15:43 +00:00
peterl%netscape.com
a8e65ff2a6 tracking UI & forms proposal changes 1999-09-03 23:40:35 +00:00
peterl%netscape.com
c6165d5393 fix warning 1999-09-03 23:40:22 +00:00
peterl%netscape.com
e9991bb140 remove error output for non-error conditions 1999-09-03 23:38:40 +00:00
peterl%netscape.com
1b015c684b use reparent style context 1999-09-03 23:37:37 +00:00
peterl%netscape.com
25d7829a4e added accessors for additional style contexts 1999-09-03 23:36:32 +00:00