Commit Graph

4223 Commits

Author SHA1 Message Date
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