Commit Graph

4471 Commits

Author SHA1 Message Date
rods%netscape.com
6b10cc3ee9 Removed some old code, fixed some ref counting, added nsIAttributeContent interface 1999-08-19 14:13:46 +00:00
rods%netscape.com
0764b680ff Now uses the button for the display area and uses the new selected index methods from the ListControlFrame 1999-08-19 14:11:59 +00:00
rods%netscape.com
0362529f13 Renamed some methods and changed the selected item to be able to pass the currently selected index instead of just being able to get the currently selected item 1999-08-19 14:11:28 +00:00
rods%netscape.com
5a242d756d Now takes into account suggested size in the size calculation 1999-08-19 14:07:05 +00:00
rods%netscape.com
7c354c9540 Now, check to see if it is disabled or whether the control it cantains is disabled and then does the right thinik with the events 1999-08-19 14:05:36 +00:00
rods%netscape.com
1e1d514c05 It now loks at the "disabled" property when initialized and looks for an attribute changed notification to disable itself 1999-08-19 14:03:53 +00:00
rods%netscape.com
654caf2688 It now takes into account the suggested size in the calculation 1999-08-19 14:02:20 +00:00
rods%netscape.com
3dc1aa04e6 The button was being sized wrong, so the computed border padding needed to be removed beforehand and then is added back in later by layout 1999-08-19 14:00:09 +00:00
buster%netscape.com
f0f929a02a added the ability to set content in a readonly or disabled control via DOM.
fixed some error checking
1999-08-19 13:43:33 +00:00
ftang%netscape.com
5a577f62d9 implement word jump for non Ascii 1999-08-19 06:06:57 +00:00
ducarroz%netscape.com
533a11182e First Checked In. 1999-08-19 05:49:48 +00:00
troy%netscape.com
f901be20dc Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
rods%netscape.com
354afa6be1 added nsAttributeContent.cpp 1999-08-18 14:52:32 +00:00
rods%netscape.com
3b190aaac2 initial add 1999-08-18 14:51:56 +00:00
waterson%netscape.com
d520bcc2ff Bug 11016. Clean up GetSourceDocumentURL() return paths s.t. sourceURL is null and/or error code is set if do_QueryInterface() fails. 1999-08-18 08:48:33 +00:00
ramiro%netscape.com
6eeeaf7730 Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com
ee33c47ded Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com
04349cdd68 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
valeski%netscape.com
08b22b266e chofmann approved. fix for 11461, refresh for some meta refresh urls was happening irregularly. 1999-08-13 23:50:29 +00:00
kmcclusk%netscape.com
e38d06108e 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.
1999-08-12 22:06:09 +00:00
pinkerton%netscape.com
5589138ab3 cleaning up and simplifying checkbox. Adding tri-state checkbox behavior keyed off of the presence of an attribute. 1999-08-11 04:45:49 +00:00
pollmann%netscape.com
9e851343f5 Bug 10939: Make image input element transparent 1999-08-11 03:49:31 +00:00
pollmann%netscape.com
6c21361d9f Bug 10939: Make image input element transparent 1999-08-11 03:30:25 +00:00
kmcclusk%netscape.com
12f49894e4 Changed default label for submit buttons to Submit Query from (submit)
Changed default label for reset buttons to Reset from (reset)
1999-08-10 22:17:08 +00:00
rods%netscape.com
a6c50ddfdb added an extra check to make sure we have a valid child frame. childFrame could be null when native widgets are turned on 1999-08-10 21:28:06 +00:00
rods%netscape.com
8f5b13ed87 Added "disabled" rules for form controls 1999-08-10 19:35:13 +00:00
rods%netscape.com
ba4a0485e1 Added check to see if it was disabled so it would ignore events 1999-08-10 19:26:10 +00:00
rods%netscape.com
0701d68531 Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code. 1999-08-10 19:25:22 +00:00
rods%netscape.com
c91922076b Fixed Reset to work properly, removed InitializeFromContent method, changed where the list was adding itself to FormControlFrame 1999-08-10 19:22:51 +00:00
kmcclusk%netscape.com
61e361b49e Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.
1999-08-10 19:13:57 +00:00
karnaze%netscape.com
3b25c74d17 new regression tests 1999-08-10 18:30:04 +00:00
karnaze%netscape.com
c3c7c48b80 For crash in bug 10296 - Removed assertion that nsTableFrame::GetColumnFrame must find a non null frame.
Added check for null when calling it in a situation where it can return null.
1999-08-10 18:15:46 +00:00
harishd%netscape.com
9db5447de6 Changing the order in which borders are painted for compatibility.
Used to be TOP,LEFT,BOTTOM,RIGHT, and now it's
BOTTOM,LEFT,TOP,RIGHT.  Fix for bug#11022
1999-08-10 18:13:50 +00:00
troy%netscape.com
8bf0fbd4a8 Fixed a place I had missed when converting over to the new reflow command
handling
1999-08-10 14:28:27 +00:00
ftang%netscape.com
b71a536920 tune performance by elimate unnecessary reference to nsIWordBreaker in nsTexTransformer. Add NS_PRECONDITION code into nsTextTransformer to make code better 1999-08-10 07:23:56 +00:00
troy%netscape.com
cf9667f8f9 Converted outer table frame code over to new reflow command handling 1999-08-10 03:52:15 +00:00
buster%netscape.com
e98b412b9a 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.
1999-08-10 02:58:07 +00:00
karnaze%netscape.com
c598fc57e3 added constructor to nsTableColGroupFrame, fixed a few places where
nsColGroupFrame assummed its children were nsColGroupFrames.
1999-08-10 02:45:18 +00:00
karnaze%netscape.com
b71e1b0379 commented out print statements when passing a row,col outside of cell map,
since the test case in bug 9024 can cause this condition.
1999-08-10 02:43:45 +00:00
karnaze%netscape.com
fe4c862ec2 more test cases 1999-08-10 02:39:55 +00:00
karnaze%netscape.com
ab2df8841f removed some unneeded comments 1999-08-10 01:14:24 +00:00
karnaze%netscape.com
34acf6b5b6 new test case 1999-08-10 01:02:36 +00:00
karnaze%netscape.com
dbce38c94b bug 3517.
Always get border-collapse from nsTableFrame::GetBorderCollapseStyle.
Added several null checks for border edges.
Added check in nsTableFrame::DidComputeHorizontal to replace null edges with trival ones.
1999-08-10 00:49:10 +00:00
av%netscape.com
e41767be1f Setting some default size to objects with unknown size, bug #8740 1999-08-09 23:41:55 +00:00
buster%netscape.com
7a04009a6b enabled onSelect notifications 1999-08-09 20:10:59 +00:00
rods%netscape.com
b24ae7ff24 Fixed GetFrameForPoint so it passes back the corrct frame for event for form controls (Bug #11467) 1999-08-09 19:59:48 +00:00
buster%netscape.com
a9693b1b69 trivial fix to make sure we're storing an nsIHTMLEditor result in an
nsCOMPtr<nsIHTMLEditor> variable.
1999-08-09 19:37:18 +00:00
sfraser%netscape.com
0166147f3c Optimization so that moving a collapsed selection does not cause the frame to redraw. 1999-08-09 19:15:04 +00:00
vidur%netscape.com
66a87fc882 Implemented document.lastModified 1999-08-09 19:10:24 +00:00
buster%netscape.com
fde9da42d0 brought init code up to date with recent editor API changes. 1999-08-09 17:41:55 +00:00
sfraser%netscape.com
afb9b207c0 Synch up with editor API changes. 1999-08-09 01:43:00 +00:00
morse%netscape.com
79ba7c62b3 avoid an uninitialized memory access 1999-08-08 19:16:09 +00:00
morse%netscape.com
14fb9dbd1f fix a crash in cookie viewer 1999-08-08 18:10:19 +00:00
peterl%netscape.com
ce07abf873 cleaned up viewport pseudo elements 1999-08-08 01:23:22 +00:00
peterl%netscape.com
e29c26df10 moved scrolled content pseudo atom to layout atoms 1999-08-08 01:19:36 +00:00
peterl%netscape.com
2bb5dc6312 made relative font sizes round off to next point size 1999-08-08 01:19:09 +00:00
peterl%netscape.com
e0d10cc8d9 added != operator 1999-08-08 01:18:40 +00:00
peterl%netscape.com
6edd662900 added :root pseudo class 1999-08-08 01:17:58 +00:00
peterl%netscape.com
f12ab5112a made change hint smarter 1999-08-08 01:17:29 +00:00
peterl%netscape.com
2526ca11c3 cleaned up style contexts of viewport and friends 1999-08-08 01:16:50 +00:00
peterl%netscape.com
18b05c194a moved dummy option pseudo to layout atoms
added root pseudo
1999-08-08 01:16:07 +00:00
peterl%netscape.com
7bf06a962e moved scrolled content pseudo to layout atoms 1999-08-08 01:15:30 +00:00
joki%netscape.com
11585608e8 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
beard%netscape.com
b07fa8c481 fixes a crasher triggered by test case of bug #5194. 1999-08-07 20:43:47 +00:00
troy%netscape.com
6b325a5196 Made sure that column cache is invalidated if necessary when appending rows
frames and cell frames
1999-08-07 15:12:50 +00:00
buster%netscape.com
4b9157edbb style now gets propogated from text control frame to embedded webshell more correctly 1999-08-07 05:42:13 +00:00
buster%netscape.com
334db030c0 fixed a memory leak, and a null pointer dereference, having to do with collapsing borders 1999-08-07 05:40:09 +00:00
buster%netscape.com
c1f02ff5b3 fixed BodyFixupRule::MapStyleInto to respect background color properly
code-reviewed by Peter Linss
1999-08-07 05:38:28 +00:00
buster%netscape.com
9fc632198d added disabled style to text areas 1999-08-07 05:37:06 +00:00
arielb%netscape.com
347e4bb633 fix bustage on worms 1999-08-07 01:43:36 +00:00
troy%netscape.com
309e9a0b12 Fix for bug #11393 1999-08-07 00:31:02 +00:00
karnaze%netscape.com
9d4fc0d82c new regression tests 1999-08-06 23:05:21 +00:00
rods%netscape.com
40289849e0 Fixed build breakage, passing in wrong variable, and it was uninitialized. 1999-08-06 21:45:14 +00:00
bienvenu%netscape.com
38516f87ef fix build bustage for rods 1999-08-06 21:43:33 +00:00
rods%netscape.com
c28f09b2b4 Added RemoveDummyFrameFromSelect method for removing the dummy frame when the select is empty, finished adding the code to completely handle the creating and removing of the dummy frame. 1999-08-06 21:14:45 +00:00
hyatt%netscape.com
d3b0cc678f Popup set frames can be created. 1999-08-06 19:20:56 +00:00
troy%netscape.com
bc4ecda20c Fixed compiler warning 1999-08-06 17:21:57 +00:00
rods%netscape.com
e5db62821d Added select:-moz-dummy-option 1999-08-06 14:43:46 +00:00
rods%netscape.com
7f0fa96163 ifdef'ed out the ambigous compiler error for Linux, this code isn't being used at the moment 1999-08-06 14:42:00 +00:00
troy%netscape.com
35e2410e44 Changed reflow command handling over to the new approach 1999-08-06 14:34:56 +00:00
troy%netscape.com
ebad18a3c5 Cleanup 1999-08-06 14:34:32 +00:00
rods%netscape.com
9778ff0812 Started to add code to better handle resizing when there are no elements. 1999-08-06 14:14:38 +00:00
rods%netscape.com
faa5568c70 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
1999-08-06 14:13:20 +00:00
rods%netscape.com
5dbf31e9b9 Added code to create and remove the generated content and frame when the select has no options. This necessary for correct sizing of the select when empty. 1999-08-06 14:11:14 +00:00
rods%netscape.com
2a25a355f4 Added :-moz-dummy-option is used for empty select tags 1999-08-06 14:00:54 +00:00
ramiro%netscape.com
0276378be3 Backout my last changes to fix the mac and window builds. 1999-08-06 08:21:41 +00:00
ramiro%netscape.com
b1484ea0ab Get the Inherited superclasses right. Suggested and reviewed by pierre. 1999-08-06 07:40:26 +00:00
ramiro%netscape.com
acd040bfa4 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.
1999-08-06 07:14:43 +00:00
pierre%netscape.com
4ecdd8e9e9 Removed a duplicate entry. A similar error in Makefile.in broke the build on Unix; this one was ok on Win32. 1999-08-06 05:49:12 +00:00
ramiro%netscape.com
f0e4da8f77 Fix bustage on unix. Removed duplicate source entry. 1999-08-06 05:39:24 +00:00
pierre%netscape.com
9337fc0223 First Checked In. 1999-08-06 05:13:07 +00:00
pierre%netscape.com
1394381abf breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
evaughan%netscape.com
b93c8ed4f4 Fixed fieldset padding bug. 1999-08-06 00:48:26 +00:00
av%netscape.com
c2b8a3650e Removing old code 1999-08-05 22:55:05 +00:00
karnaze%netscape.com
e8658c956a new regression tests 1999-08-05 22:15:23 +00:00
mcafee%netscape.com
732c840456 Trying to fix mac bustage. 1999-08-05 21:33:06 +00:00
troy%netscape.com
0489aa0c60 Moved cantrenderreplacedelememt code over to the frame manager 1999-08-05 20:17:44 +00:00
troy%netscape.com
cd21f5ea9d Added NULL pointer check for frame manager in DeletingFrameSubtree() 1999-08-05 03:30:09 +00:00
troy%netscape.com
b80876174d Added NULL pointer checks in GetPrimaryFrameFor() and GetPlaceholderFrameFor() 1999-08-05 03:23:39 +00:00
troy%netscape.com
71d5c08256 Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
karnaze%netscape.com
f94829f5da additonal test cases, changed file:// to file:/// in file lists 1999-08-05 00:08:33 +00:00
valeski%netscape.com
05a902140c we now handle the URL attribute in a http-equiv refresh tag 1999-08-04 21:19:22 +00:00
buster%netscape.com
4333816066 added GetCaretEnabled
cleaned up caret APIs according to coding convention
1999-08-04 20:46:16 +00:00
pinkerton%netscape.com
3a87aa5e0c removing the TOOLBAR_DD #ifdef's. 1999-08-04 20:16:31 +00:00
karnaze%netscape.com
b7aef851ae new regression tests 1999-08-04 19:34:46 +00:00
vidur%netscape.com
1249b3dd0d Get rid of circular reference between sink and parser. Fix for bug 8975. 1999-08-04 18:25:23 +00:00
gagan%netscape.com
a8bd69174a Added a temporary hack to get Referer fields with POST requests. This should/will/must go away... 1999-08-04 15:06:14 +00:00
peterl%netscape.com
915640813a route CSS declaration parsing through the CSSLoader's parsers 1999-08-04 05:09:01 +00:00
peterl%netscape.com
d0aa6adf45 fix uninitialized variable 1999-08-04 05:08:27 +00:00
peterl%netscape.com
c5b1c60850 route declaration parsing through subclasses 1999-08-04 05:08:04 +00:00
peterl%netscape.com
8efdd17690 route declaration parsing through the CSSLoader's parsers 1999-08-04 05:07:10 +00:00
peterl%netscape.com
7e3bd063e3 removed assert 1999-08-04 05:06:19 +00:00
troy%netscape.com
efd8280343 Now uses frame manager 1999-08-04 04:02:40 +00:00
troy%netscape.com
02c969450e Added nsFrameManager.cpp to build 1999-08-04 03:39:54 +00:00
troy%netscape.com
886f6583d3 Initial check-in 1999-08-04 03:39:34 +00:00
cmanske%netscape.com
cb1417e9fa Added method to nsITableCellLayout. Fixed QI bug 1999-08-04 02:04:45 +00:00
valeski%netscape.com
6fc14bc32a we were refreshing _every_ url _every_ second. not anymore 1999-08-04 01:27:22 +00:00
karnaze%netscape.com
639f283b06 Always reflow's children for pass1 when reflowed with NS_UNCONSTRAINEDSIZE 1999-08-03 23:20:06 +00:00
karnaze%netscape.com
e54229d3c1 replace assertions with printf statements until bug 10911 gets resolved 1999-08-03 23:17:50 +00:00
karnaze%netscape.com
0767a5bbcd figuring a col's adj min width from a colspan uses adj min width 1999-08-03 23:16:43 +00:00
karnaze%netscape.com
ed1321471c new test cases 1999-08-03 23:13:39 +00:00
valeski%netscape.com
0edfda477b 10720 fix - we now do meta tag refreshes 1999-08-03 21:48:40 +00:00
mcafee%netscape.com
6da92dc13c Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +00:00
rods%netscape.com
c0ba35bb79 Added the style context to the CreateInputFrame method, the pseudoContext
was not being created with it's parent and needed to be. Fixes Bug #10716
1999-08-03 14:41:48 +00:00
troy%netscape.com
d336a71fd6 Changed NeedsReflow() to take into account whether we need a pass-1 reflow
and whether the cached column info and cell map are valid when deciding
whether we need a full reflow
1999-08-03 14:26:00 +00:00
beard%netscape.com
53b68810ba reverting GetDocumentBase() to be consistent with other accessors. If we decide to change this, let's change ALL of them. 1999-08-03 02:51:39 +00:00
troy%netscape.com
c166a9097c Changed to new command reflow handling 1999-08-03 02:41:27 +00:00
buster%netscape.com
ee55b2ba44 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.
1999-08-02 14:00:41 +00:00
troy%netscape.com
e27245025b Finished cleanup of reflow command handling 1999-08-02 02:18:33 +00:00
troy%netscape.com
7c6dd3bfcb Reflow command cleanup 1999-08-01 22:21:03 +00:00
troy%netscape.com
67534a54ff Work-in-progress for table handling of reflow commands 1999-08-01 22:01:37 +00:00
cmanske%netscape.com
982414f786 Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted. 1999-08-01 18:26:45 +00:00
troy%netscape.com
5e93e674c5 Fixed incremental painting problem 1999-08-01 16:50:52 +00:00
cmanske%netscape.com
5a6781c3b8 Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods 1999-08-01 16:20:14 +00:00
cmanske%netscape.com
ea35220527 Added logic to find cells occupying the 'holes' in the cellmap where colspan and/or rowspan cell extend 1999-08-01 05:19:47 +00:00
cmanske%netscape.com
84818eab63 Added checking for trying to get cell data when index(es) are out of bounds 1999-07-31 23:05:11 +00:00
cmanske%netscape.com
2781d6d9a2 Adding interface for editor access to table layout data 1999-07-31 22:11:50 +00:00
cmanske%netscape.com
a790b9d1e2 Adding interface for editor access to table layout data 1999-07-31 22:05:37 +00:00
hyatt%netscape.com
f080c0cae8 Phase 3. Enabling XP menus on the menu bar. 1999-07-31 11:29:03 +00:00
troy%netscape.com
3ee376f002 Added NULL pointer check in DisplayAltFeedback() to fix Necko related crash
where LoadIconImage() is succeeding but returning NULL for the icon
1999-07-31 05:59:12 +00:00
karnaze%netscape.com
a7c118ae48 bug 10809, incremental reflow of nested tables now reflows children. 1999-07-29 23:19:52 +00:00
mscott%netscape.com
de0f6ba0f7 fix build breakage....include config.mak 1999-07-29 04:11:58 +00:00
briano%netscape.com
5ca4aa0b87 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
rods%netscape.com
3cfe429d81 Added generated content for optgroups, fixed option to be display:block
change optgroup inside of option
1999-07-28 21:43:43 +00:00
rods%netscape.com
6412a66059 temporary fix for reentrancy bug in HandleEvent 1999-07-28 21:42:37 +00:00
peterl%netscape.com
5a5e4bee42 fix setting empty attributes
approved cyeh
1999-07-28 21:41:16 +00:00
rods%netscape.com
8d5807e765 Made many changes to fix several bugs 1999-07-28 21:38:08 +00:00
rods%netscape.com
34a3503e8b Added the setting of the clip rect before drawing the button text 1999-07-28 21:37:22 +00:00
rods%netscape.com
d8f155ad0c Added NS_DEFINE_STATIC_IID_ACCESSOR 1999-07-28 21:35:55 +00:00
rods%netscape.com
0cdd475f4c NS_DEFINE_STATIC_IID_ACCESSOR and removed the AboutToDropdown method 1999-07-28 21:35:28 +00:00
karnaze%netscape.com
d3d33fec48 fixes related to crash in AC_Wrapup on optimized builds. 1999-07-28 19:43:37 +00:00
shaver%netscape.com
2eb68e6135 zero out colInfo wehen allocated to avoid startup crash and other badness 1999-07-28 18:52:04 +00:00
karnaze%netscape.com
605c48e134 fix mac breakage, hopefully 1999-07-28 09:13:44 +00:00
warren%netscape.com
661fc2e7ea Attempt to fix the mac build. 1999-07-28 08:56:12 +00:00
hyatt%netscape.com
db8e45c216 Fixing karnaze's bustage. 1999-07-28 08:55:41 +00:00
karnaze%netscape.com
a88b1a3f85 new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
nisheeth%netscape.com
88a7a3eadb Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl. 1999-07-28 06:56:05 +00:00
vidur%netscape.com
d60aeaab2e Added form searching for form controls that are newly created and added to the tree. 1999-07-28 05:26:55 +00:00
troy%netscape.com
2ba05e9bf2 Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
troy%netscape.com
3ee32d5915 Added support for "box-sizing" style property 1999-07-28 03:51:37 +00:00
harishd%netscape.com
49e2f26016 EnableParse() returns nsresult. 1999-07-27 23:33:16 +00:00
kmcclusk%netscape.com
f9b64e775c 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.
1999-07-27 23:26:36 +00:00
ftang%netscape.com
67c7d1e316 fix bug 4240,5532,5529,7899 pass in current word buffer to ComputeWordWidth functions so we have the whole text that we can pass to line breaker. 1999-07-27 14:47:24 +00:00
troy%netscape.com
05fb1d7f25 Changed root frame class over to new reflow command handling 1999-07-27 14:15:42 +00:00
troy%netscape.com
2564e77725 Fix for bug #10563 where we were triggering a post condition assertion. Changed
ComputeBackgroundAnchorPoint() to correctly calculate tile offset that is a
multiple of the tile
1999-07-27 14:13:09 +00:00
dcone%netscape.com
cf87ffff0a Fixed background rendering 1999-07-27 06:41:34 +00:00
pavlov%netscape.com
96b4208fe4 window creation changes 1999-07-27 04:27:17 +00:00
karnaze%netscape.com
ef46e54edf more test cases 1999-07-27 02:00:01 +00:00
av%netscape.com
375bb0259f fixing bug #8290 1999-07-27 01:35:30 +00:00
troy%netscape.com
a6e974261c Fix for bug #10395. Now we recalculate margins when we use the minimum or
maximum value for the computed width/height. This applies to positioned
elements only
1999-07-27 00:48:47 +00:00
karnaze%netscape.com
1efbc9ec54 new regression tests 1999-07-26 16:18:49 +00:00
joki%netscape.com
f1c8421c61 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
nisheeth%netscape.com
cbf9fde516 - Move AddDocTypeDecl method from nsIXMLContentSink to nsIContentSink.
- Fix bug 8607 by passing the XML decl and the doctype decl from the expat tokenizer to the XML DTD.
1999-07-26 05:40:25 +00:00
rickg%netscape.com
f4902b78bc replaced calls to deprecated nsString API 1999-07-26 00:37:24 +00:00
troy%netscape.com
bc9ccffd53 Added 'm' prefix to structs defined in nsISpaceManager 1999-07-25 19:01:13 +00:00
buster%netscape.com
cc193da91f 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.
1999-07-25 18:04:51 +00:00
troy%netscape.com
1c38807112 Fix for bug #10268. I used '&&' when I really meant to use '||' and that caused us
to create the wrong type of frame for relatively positioned H1 elements
1999-07-24 23:08:34 +00:00
troy%netscape.com
a8d3d80ebc Cleanup of reflow command handling 1999-07-24 21:41:15 +00:00
peterl%netscape.com
bfef8a3300 Cleaned up attribute parsing so that illegal values are preserved as strings 1999-07-24 19:55:35 +00:00
peterl%netscape.com
cfe1600630 fixed warnings 1999-07-24 19:05:17 +00:00
peterl%netscape.com
3bf8f6b907 added experimental CSS3 properties 1999-07-24 19:04:42 +00:00
peterl%netscape.com
4d52afc607 added debug code for netlib weirdage 1999-07-24 19:04:22 +00:00
peterl%netscape.com
600dc2854c added basic support for inline-block 1999-07-24 19:01:43 +00:00
peterl%netscape.com
c27894263d added char unit output support 1999-07-24 19:00:42 +00:00
sspitzer%netscape.com
9daa861fa0 fix for Solaris bustage. Following mcafee's earlier fixes. 1999-07-24 15:53:19 +00:00
troy%netscape.com
7ffa0d8a63 Moved code that repaints after a resize or initial reflow to the viewport 1999-07-24 15:18:24 +00:00
troy%netscape.com
38a6357a79 Changed to use the new reflow command handling 1999-07-24 03:59:47 +00:00
troy%netscape.com
e337ad496d Fixed a problem in ContentRemoved() where for fixed position frames the
wrong child list name was being used
1999-07-24 03:58:35 +00:00
troy%netscape.com
6717db9454 Renamed a member function to more accurately reflect its purpose 1999-07-24 02:46:08 +00:00
troy%netscape.com
1f924dade3 Changed area frame code over to new reflow command handling 1999-07-24 02:37:45 +00:00
troy%netscape.com
17838b7952 Added VerifyDirtyBitSet() helper function 1999-07-24 02:37:06 +00:00
morse%netscape.com
e24534d85b Remove wallet from layout 1999-07-24 01:39:58 +00:00
hyatt%netscape.com
584576e632 oops. crazy_width only defined for debug builds. Changing this. 1999-07-24 00:32:21 +00:00
hyatt%netscape.com
40caba6ac9 Getting rid of all the printfs and complaints that fire in mailnews by making
the fixed table layout algorithm smarter about unconstrained width reflow.
1999-07-23 23:41:05 +00:00
sfraser%netscape.com
9fba7e67ed Fix Mac startup crash: nil check for prefs. 1999-07-23 22:23:13 +00:00
hyatt%netscape.com
fe2af9709a Fix for assertions being thrown when fixed layout tables are flowed at an
unconstrained width.  Instead of asserting, intrinsic first row cell widths will be
used to determine the widths of columns with percentage-specified sizes.
1999-07-23 20:32:18 +00:00
hyatt%netscape.com
ac8f0fd89d Adding the capability to distinguish menus and menu items. 1999-07-23 05:11:49 +00:00
rods%netscape.com
022dd79bc6 Sending wrong length when putting data on the clipboards,
double byte chars need twice the space. Wrongly assummed nsString.Length()
return bytes instead of length in chars doubel or single.
1999-07-23 02:25:17 +00:00
scc%netscape.com
b1c73fa7c7 Fixed boxes to only invalidate and redraw what has changed.
Made min and max sizes work
Made linux not suck!
1999-07-23 00:11:21 +00:00
sfraser%netscape.com
165a975859 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[]. 1999-07-22 23:48:48 +00:00
vidur%netscape.com
0ebbf485db Forms can now be container content. 1999-07-22 23:28:16 +00:00
pollmann%netscape.com
eaecd3f441 Bug 10301: Check base target for image maps 1999-07-22 18:47:23 +00:00
pollmann%netscape.com
ba36807db2 Bug 5403: Release services properly 1999-07-22 18:32:49 +00:00
pollmann%netscape.com
c009be2a77 Bug 5403: Release services properly 1999-07-22 18:10:10 +00:00
hyatt%netscape.com
759f5ce3da Fixing my while loops. They could crash under rare circumstances. 1999-07-22 10:06:38 +00:00
scc%netscape.com
16e2ba6a23 explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs 1999-07-22 05:25:17 +00:00
vidur%netscape.com
26ade9c4cc Deal with multiple BODY elements passed by the parser by ignoring all but the first 1999-07-22 04:46:57 +00:00
troy%netscape.com
1df4c2d244 Added ReplaceFrame() member function to nsIFrame 1999-07-22 04:32:31 +00:00
troy%netscape.com
7a5e4dbdb5 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy%netscape.com
c551fe3166 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
troy%netscape.com
f02d9ef8b9 Added NS_FRAME_IS_DIRTY flag to the frame state flags 1999-07-21 23:47:01 +00:00
troy%netscape.com
19ed07723e Removed IsTransparent() function from nsIFrame 1999-07-21 23:15:39 +00:00
akkana%netscape.com
65aa229045 Add a working implementation for nsDOMSelection::ContainsNode, and use it in nsDocument::IsInSelection for XIF conversion 1999-07-21 21:29:29 +00:00
troy%netscape.com
93621b70eb Made sure to Invalidate() for the initial reflow, too 1999-07-21 04:39:24 +00:00
hyatt%netscape.com
1675dae7c2 Crash without these null checks. 1999-07-21 00:17:39 +00:00
hyatt%netscape.com
b817087e8e Introduced an infinite loop (sigh). Fixing the problem. 1999-07-21 00:11:23 +00:00
mscott%netscape.com
8392da15eb Necko Only!! Yuck. something was pretty bogus here...whenever we were parsing a url we'd create an empty
base url then try to turn the empty url into an absolute url which was returning an error. Looks like ParseURL would
never work.
1999-07-20 23:53:03 +00:00
brade%netscape.com
0621f4050e Implement InvertRect on Mac. r sfraser 1999-07-20 23:38:55 +00:00
hyatt%netscape.com
e2158e63d7 Had messed up tree widget code on removal, insertion, and append. Fixed now. 1999-07-20 23:24:10 +00:00
kmcclusk%netscape.com
af9e15b5e3 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
mcafee%netscape.com
784b45d3ce minor warning fix 1999-07-20 20:24:28 +00:00
mcafee%netscape.com
94450aece7 GNU-class compilers are complaining about unhandled cases in all these switch statements, adding some default cases. 1999-07-20 10:10:12 +00:00
warren%netscape.com
bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
hyatt%netscape.com
9a563d8a9f Forget the scrolling frame on menus. I don't need it to make this work. 1999-07-20 07:29:22 +00:00
ramiro%netscape.com
12f5c30340 Adding support for XOR selection. Updated nsIRenderingContext interface
to support InvertRect() for the XOR-ing of rectangles.  Makes selection
work as expected on windows and unix as opposed to the rectangle hack.
Stubs added for all other platforms.
1999-07-20 07:26:09 +00:00
hyatt%netscape.com
28558f35bc Making sure the pseudo stuff gets handled for the XP menu object. 1999-07-20 07:19:22 +00:00
hyatt%netscape.com
a293d3e54b Making sure some of the XUL frames get properly wrapped in scroll frames. 1999-07-20 07:03:16 +00:00
troy%netscape.com
8ee82be61f Fix for bug #10176: changed ConstructFrameByDisplayType() to be smarter
when handling relatively positioned elements
1999-07-20 04:16:56 +00:00
troy%netscape.com
c3e32b0b65 Added 'm' prefix to a couple more data members of nsHTMLReflowState struct 1999-07-20 03:51:46 +00:00
troy%netscape.com
155ed6816a Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
troy%netscape.com
2207888d69 Fix for bug #9611: now handles absolutely positioned replaced elements 1999-07-20 02:48:18 +00:00
putterman%netscape.com
73ffe8e2c7 Commented out warning. 1999-07-19 21:37:04 +00:00
troy%netscape.com
b7a34ec182 Minor cleanup 1999-07-19 18:38:51 +00:00
troy%netscape.com
99e5e0a462 Changed ScrollFrameIntoView() to also do horizontal scrolling if necessary 1999-07-19 18:38:33 +00:00
mjudge%netscape.com
516c093f8b cant query interface from frame selection to dom selection since we now have more than one type of dom selection implementations. you must ask for ANY dom selection then remove yourself as a listener or whatever you want to do. MJ 1999-07-19 18:04:35 +00:00
dcone%netscape.com
5e3ed1564c fixed background tile clipping bug. 1999-07-19 14:37:36 +00:00
rickg%netscape.com
23b232d248 switch to faster string search API 1999-07-19 03:29:56 +00:00
hyatt%netscape.com
124721301b Adding the menu bar frame. 1999-07-18 07:07:55 +00:00
hyatt%netscape.com
45a2846e5d Adding the menu frame instantiation code for XP menus. 1999-07-18 06:37:06 +00:00
rickg%netscape.com
e94128a661 fixed bug 9845 1999-07-18 06:35:52 +00:00
hyatt%netscape.com
cbbb8072e7 Working on making the menu popup frame for XP menus. 1999-07-18 06:29:43 +00:00
hyatt%netscape.com
8b79ce996e Turning on XP menus. 1999-07-18 03:16:58 +00:00
mjudge%netscape.com
c0b1525970 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. 1999-07-18 02:27:19 +00:00
peterl%netscape.com
49e887a855 update to new property and keyword enums and apis 1999-07-18 00:33:53 +00:00
peterl%netscape.com
a47e2611ce nuked 1999-07-18 00:33:27 +00:00
peterl%netscape.com
18bb385451 switch to preprocessor for code generation 1999-07-18 00:32:32 +00:00
peterl%netscape.com
6de833e76e update to new property and keyword enums and apis
added 'ch' unit support
1999-07-18 00:31:37 +00:00
peterl%netscape.com
3eacc5f5d8 sync to color api change 1999-07-18 00:30:30 +00:00
peterl%netscape.com
6d237f7fdc cleanups 1999-07-18 00:30:11 +00:00
peterl%netscape.com
9ab505b75a removed warnings 1999-07-18 00:29:39 +00:00