Commit Graph

4378 Commits

Author SHA1 Message Date
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
peterl%netscape.com
72465e27a5 added char support
update to new property and keyword enums and apis
removed warnings
1999-07-18 00:28:43 +00:00
peterl%netscape.com
64ca5956b4 removed warnings
update to api changes
1999-07-18 00:27:40 +00:00
peterl%netscape.com
17f883524a added char unit support
removed warnings
update to color api change
1999-07-18 00:27:02 +00:00
peterl%netscape.com
3df2d71720 remove warnings 1999-07-18 00:26:14 +00:00
peterl%netscape.com
3a0563e743 fix atom api 1999-07-18 00:25:54 +00:00
peterl%netscape.com
ec7b92b816 update to new property and keyword enums and apis 1999-07-18 00:25:28 +00:00
peterl%netscape.com
9d026a4262 use preprocessor to generate atom code 1999-07-18 00:24:47 +00:00
peterl%netscape.com
e6667a928a removed old include 1999-07-18 00:23:08 +00:00
peterl%netscape.com
26a3081cd1 update to new entity lookup api 1999-07-18 00:22:49 +00:00
peterl%netscape.com
07a86b4145 fix color parsing
update to new tag lookup api
1999-07-18 00:22:29 +00:00
peterl%netscape.com
7a4bc5e7cd update to new tag and entity lookup apis 1999-07-18 00:21:41 +00:00
peterl%netscape.com
9aea959a8c fix color handling 1999-07-18 00:20:27 +00:00
peterl%netscape.com
c35106c852 fix reresolve style context to iterate all child lists 1999-07-18 00:18:45 +00:00
ramiro%netscape.com
ba8ba82cc6 Landing timer move on windows. 1999-07-17 15:52:01 +00:00
ramiro%netscape.com
a09ea8b7ca Landing timer move on unix. 1999-07-17 14:22:51 +00:00
beard%netscape.com
06085c800b added <iostream.h> 1999-07-17 01:58:38 +00:00
jdunn%netscape.com
f6e6aeea41 Must pre-delcare the structs friends so that they can access each other since they are private 1999-07-17 01:11:00 +00:00
troy%netscape.com
17db1371eb Clean up in InitializeScrollFrame() to make sure floated and positioned elements
have their parent frame pointer set correctly
1999-07-17 00:49:54 +00:00
troy%netscape.com
37e8c3a392 Added code to make sure that posted events are removed when the frame they
refer to is destroyed
1999-07-16 23:27:46 +00:00
troy%netscape.com
f9d48b07a9 Added NotifyDestroyingFrame() function to nsIPresShell 1999-07-16 23:25:15 +00:00
troy%netscape.com
f49a234635 Fix for bug #3605. The problem was that when creating table caption and table cell
frames we weren't pushing a new float context. That meant floated images had an
incorrect parent frame pointer
1999-07-16 23:04:27 +00:00
pollmann%netscape.com
9c82b52178 Bug 10024: Check base target for form submission 1999-07-16 21:01:13 +00:00
hangas%netscape.com
6eba8de450 Fix DEBUG Mac Build Bustage. Changed memset to nsCRT::memset 1999-07-16 19:11:43 +00:00
bienvenu%netscape.com
d26f3537ab more build bustage 1999-07-16 19:08:44 +00:00
troy%netscape.com
3058394af3 Minor cleanup 1999-07-16 18:17:14 +00:00
kipp%netscape.com
dd6cf0e923 Removed a compiler warning 1999-07-16 17:40:39 +00:00
rods%netscape.com
0cdcf017b5 changed Invalidate calls to have a FLASE repaint flag 1999-07-16 14:24:51 +00:00
rods%netscape.com
d1b9dafb97 commented out repaint for focus 1999-07-16 14:23:48 +00:00
rods%netscape.com
07dc39f2d3 XIF is now being put into the transferable as double byte 1999-07-16 14:20:59 +00:00
warren%netscape.com
84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
troy%netscape.com
7b9d24e898 Turned on the use of the digital search tree code 1999-07-16 03:32:09 +00:00
troy%netscape.com
b9d0bec0ea Fix for bug #9891: added NULL pointer check in ContentInserted() 1999-07-16 02:14:26 +00:00
troy%netscape.com
d281be8891 Fixed so it's correct C++ and it compiles on Solaris and AIX 1999-07-16 01:20:04 +00:00
jdunn%netscape.com
3367dc04d6 Adding newline at end... HP requires it 1999-07-16 00:26:47 +00:00
sfraser%netscape.com
14f2e71bab Don't cast a char* to a PRUnichar* array when calling PaintTextDecorations. 1999-07-15 23:11:35 +00:00
mjudge%netscape.com
f447570414 checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection 1999-07-15 18:19:03 +00:00
dcone%netscape.com
56e7a48d52 Fixed printing to make sure all URL's are loaded before print.
Fixed the background tile render'er to save and restore clip.
1999-07-15 14:23:40 +00:00
kmcclusk%netscape.com
94b33ed178 Added arrow.gif to Makefile.in 1999-07-14 23:39:38 +00:00
beard%netscape.com
5fe9b75694 Fixing bustage 1999-07-14 23:23:47 +00:00
kmcclusk%netscape.com
844e26a5b2 Added missing arrow.gif 1999-07-14 22:45:58 +00:00
sfraser%netscape.com
eeb1dfbdf1 Removal of nsCaretProperties 1999-07-14 22:18:29 +00:00
kmcclusk%netscape.com
d42e178f95 fixed bugs #6303, #6753, #6756, #6759
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
1999-07-14 22:00:24 +00:00
kipp%netscape.com
a427d96f8c Disabled my debug noise (whoops) 1999-07-14 20:40:23 +00:00
pollmann%netscape.com
8158d059de Bug 9847: Check for null returned from new. 1999-07-14 19:32:22 +00:00
hyatt%netscape.com
b8dc5bac12 Fix for bugs 9601 and 9698. 1999-07-14 19:21:27 +00:00
jdunn%netscape.com
08acd09a73 anonymous unions CAN'T define any new types, so the struct's definition has
to be outside of the union... plus since the union is protected (and can't
be declared a friend - since it is anonymous, the struct's def must be public.
1999-07-14 19:09:42 +00:00
akkana%netscape.com
a3fb11b98f Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.
1999-07-14 18:54:29 +00:00
kin%netscape.com
7a1d6040f4 Call NS_IF_RELEASE instead of NS_RELEASE for handler, because it could be NULL.
Fixes crash that occurs when pressing the submit button in a for displayed in
the editor.
1999-07-14 18:33:24 +00:00
nisheeth%netscape.com
de96f69ead Fix for bug 8314. The block frame takes the bullet's position and area into account when it sets the combined area of the frame during reflow. 1999-07-14 18:02:14 +00:00
kipp%netscape.com
d476034c45 Tweaked an improper if then else code from troy 1999-07-14 17:31:43 +00:00
kipp%netscape.com
06163d8177 Tweaked nested dl handling; added counter-reset property for better list numbering handling 1999-07-14 17:31:17 +00:00
kipp%netscape.com
23518e9968 Removed compiler warnings 1999-07-14 17:30:22 +00:00
kipp%netscape.com
6c7e923344 nop 1999-07-14 17:30:07 +00:00
kipp%netscape.com
0bfd6a27a3 Removed some compiler warnings 1999-07-14 17:29:45 +00:00
kipp%netscape.com
b32c6678b7 Removed some compiler warnings; fix subtlety with handling empty inline frames and whitespace compression for bug #5999 1999-07-14 17:29:32 +00:00
kipp%netscape.com
f7c32cc440 Clean up warnings 1999-07-14 17:28:45 +00:00
kipp%netscape.com
4326cd790d Cleaned up warnings for bug 8947 1999-07-14 17:28:22 +00:00
kipp%netscape.com
de21952346 Eliminate a warning 1999-07-14 17:28:00 +00:00
kipp%netscape.com
5ffc2904c6 Check for another bad reflow child behavior 1999-07-14 17:27:48 +00:00
kipp%netscape.com
f288f50964 Cleaned up some warnings; use some com-ptrs 1999-07-14 17:27:24 +00:00
kipp%netscape.com
02571dde05 Various and sundry bug fixes 1999-07-14 17:26:20 +00:00
kipp%netscape.com
9687a61f7a Tweaked area frame shrink wrapping for bug #5999 1999-07-14 17:26:12 +00:00
jevering%netscape.com
4984bea6a5 Building w/Necko. For some reason prmem.h is not being included on the
NECKO=1 build.  Added include.
1999-07-14 17:13:05 +00:00
ftang%netscape.com
f233a69669 hook charset detection for html document 1999-07-14 15:33:48 +00:00
troy%netscape.com
190597c08b As step #1 in incremental painting I changed Reflow() to invalidate the
entire bounds after an incremental reflow. The table should be smarter about
how much it invalidates, but this is necessary for the time being because the
area frame no longer invalidates everything
1999-07-14 15:21:52 +00:00
troy%netscape.com
84cc1d3e34 Changed Reflow() to invalidate bounds for an incremental reflow 1999-07-14 15:20:01 +00:00
troy%netscape.com
8f58dbdf93 Added #define of NS_AUTOMARGIN 1999-07-14 15:17:33 +00:00
troy%netscape.com
ee38ccd817 Changed Reflow() and ReflowDirtyLines() to invalidate the damaged areas
after an incremental reflow
1999-07-14 15:16:56 +00:00
troy%netscape.com
533748cd90 Area frame no longer invalidates its entire bounds after an incremental reflow,
and instead it's up to the individual frames to invalidate their damaged areas
1999-07-14 15:15:01 +00:00
troy%netscape.com
3423003ece Fix for bug #9733. Changed CantRenderReplacedElement() so it resets the primary
frame mapping for the image
1999-07-14 15:11:37 +00:00
troy%netscape.com
89b7456d30 Fixed a problem in ConstructFrameByTag() where the parent frame was wrong
for floated elements
1999-07-14 15:10:10 +00:00
troy%netscape.com
22dfdde09f Added nsDST.cpp to Unix builds 1999-07-14 15:08:32 +00:00
troy%netscape.com
ba77a74c57 Improved the tree verification function so it's more thorough 1999-07-14 15:07:46 +00:00
troy%netscape.com
67730aaef2 Added file nsDST.cpp 1999-07-13 03:54:00 +00:00
troy%netscape.com
32d96e8d86 Initial check-in 1999-07-13 03:53:48 +00:00
sspitzer%netscape.com
be863ba56e fix for #9698. check pointer before dereferencing. 1999-07-12 19:41:03 +00:00
andreas.otte%primus-online.de
838f5a972b NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
hyatt%netscape.com
9af43ac043 Batching removal and making sure I get notified (in an attempt to fix some
of the out of sync problems the tree widget is having).
1999-07-10 01:10:40 +00:00
hyatt%netscape.com
6830e1839d Fix for bug 9503. 1999-07-10 00:51:35 +00:00
briano%netscape.com
94f24d2436 Fix for AIX. Redundant -I's were making the compile lines too long. 1999-07-09 23:50:28 +00:00
warren%netscape.com
61c8d73b43 Necko stuff for dealing with load groups when opening URLs. 1999-07-09 21:18:47 +00:00
hyatt%netscape.com
4e29132a5d Changes to the tree widget to prevent memory whackage that's causing
crashes.  This should fix several of the mailnews bugs.  It's hard to
say exactly which of them will be fixed by this, since some of them
are caused by memory whackage and others are real bugs in the widget
itself.

Also adding in support for Troy's primary frame hashtable, thus ensuring
that when the tree widget dynamically deletes frames that the mappings
in the hashtable are removed (so that deleted frames won't accidentally
be retrieved).
1999-07-09 20:58:16 +00:00
sfraser%netscape.com
15611e693f First Checked In. 1999-07-09 01:14:45 +00:00
vidur%netscape.com
e7366c4bc8 Cut-and-paste error. GetVLinkColor was calling the body's GetLink method. Fix approved by chofmann, reviewed by nisheeth. 1999-07-08 19:55:47 +00:00
kipp%netscape.com
457c3003fb Fixed bug 6574 - the problem was that the current color was being reset when the text decoration, in this case an underline, was being drawn so that the next chunk of text rendered in the smallcaps font was drawn in the wrong color 1999-07-08 19:52:57 +00:00
kipp%netscape.com
baaf56e24a Only pass on url to server side image map when we end up with a valid url 1999-07-08 19:44:42 +00:00
kipp%netscape.com
869bb26059 Fix bug #652 - made server side image maps find the proper href to base the url on by looking up the content tree of an nsIDOMHTMLAnchorElement 1999-07-08 19:38:08 +00:00
hyatt%netscape.com
d6584e757a Fixing problems with redraw on initial show of window. 1999-07-07 22:34:31 +00:00
troy%netscape.com
5dcc0ba4f3 Fix for bug #9354, crash when typing into an empty document 1999-07-07 20:33:07 +00:00
warren%netscape.com
9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
nisheeth%netscape.com
8759b44d5c Removed an extra space from the string displayed in the title bar. 1999-07-07 07:45:48 +00:00
nisheeth%netscape.com
9a9455daeb Partial fix for bug 5707. We now set the title of the image to "Image: width x height pixels", where width and height are the dimensions of the image being displayed. This title is set from nsImageDocument::EndLayout() a newly added method that gets called from nsImageListener::StopRequest(). 1999-07-07 07:31:24 +00:00
vidur%netscape.com
97f3a5f03b Added a HTMLDocumentColor special-case rule for the HTML element. This is set when either the bgColor or fgColor is set on a HTML document. 1999-07-07 04:53:36 +00:00