Commit Graph

4378 Commits

Author SHA1 Message Date
rods%netscape.com
b8e288a61f Added a check to see if an outline should drawn, if so, then the damagaed rect needs to be inflated so it gets drawn "outside" the frames area 1999-08-19 14:36:47 +00:00
rods%netscape.com
62ae1bfcf9 added PaintOutline to paint CSS outlines to paint method 1999-08-19 14:35:48 +00:00
rods%netscape.com
5bfe95c0f4 Added NS_NewAttributeContent method 1999-08-19 14:32:19 +00:00
rods%netscape.com
c684042890 For generated content that gets its value from an attribute, it now creates a new object nsIAttributeContent which goes and gets the current value when needed. 1999-08-19 14:29:55 +00:00
rods%netscape.com
ee537ba0ad Added method GetSelectedIndex 1999-08-19 14:26:38 +00:00
rods%netscape.com
300c700e00 Added a new method PaintOutline, and added a new parameter to PaintBorder to tell whether to get the style and color information from the border info or the outline info 1999-08-19 14:22:47 +00:00
rods%netscape.com
8c512a7a2f added nsAttributeContent.cpp 1999-08-19 14:17:28 +00:00
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