4140 Commits

Author SHA1 Message Date
troy%netscape.com
947840fcba Finished cleanup of reflow command handling
git-svn-id: svn://10.0.0.236/trunk@41780 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 02:18:33 +00:00
troy%netscape.com
b015e5f569 Reflow command cleanup
git-svn-id: svn://10.0.0.236/trunk@41774 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 22:21:03 +00:00
troy%netscape.com
6287040813 Work-in-progress for table handling of reflow commands
git-svn-id: svn://10.0.0.236/trunk@41773 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 22:01:37 +00:00
cmanske%netscape.com
f92bc8ef26 Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted.
git-svn-id: svn://10.0.0.236/trunk@41766 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 18:26:45 +00:00
troy%netscape.com
2d2d09d1e8 Fixed incremental painting problem
git-svn-id: svn://10.0.0.236/trunk@41760 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 16:50:52 +00:00
cmanske%netscape.com
e5ae1ba132 Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods
git-svn-id: svn://10.0.0.236/trunk@41757 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 16:20:14 +00:00
cmanske%netscape.com
1061abe7b7 Added logic to find cells occupying the 'holes' in the cellmap where colspan and/or rowspan cell extend
git-svn-id: svn://10.0.0.236/trunk@41751 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 05:19:47 +00:00
cmanske%netscape.com
a963632e41 Added checking for trying to get cell data when index(es) are out of bounds
git-svn-id: svn://10.0.0.236/trunk@41746 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 23:05:11 +00:00
cmanske%netscape.com
6ea23b2d7b Adding interface for editor access to table layout data
git-svn-id: svn://10.0.0.236/trunk@41743 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 22:11:50 +00:00
cmanske%netscape.com
46df09e5da Adding interface for editor access to table layout data
git-svn-id: svn://10.0.0.236/trunk@41742 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 22:05:37 +00:00
hyatt%netscape.com
d41173d533 Phase 3. Enabling XP menus on the menu bar.
git-svn-id: svn://10.0.0.236/trunk@41710 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 11:29:03 +00:00
troy%netscape.com
f7adfe457d Added NULL pointer check in DisplayAltFeedback() to fix Necko related crash
where LoadIconImage() is succeeding but returning NULL for the icon


git-svn-id: svn://10.0.0.236/trunk@41683 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 05:59:12 +00:00
karnaze%netscape.com
e21f3ad4c8 bug 10809, incremental reflow of nested tables now reflows children.
git-svn-id: svn://10.0.0.236/trunk@41562 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 23:19:52 +00:00
mscott%netscape.com
8c31517e1b fix build breakage....include config.mak
git-svn-id: svn://10.0.0.236/trunk@41534 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 04:11:58 +00:00
briano%netscape.com
2087356d68 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@41509 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 01:18:12 +00:00
rods%netscape.com
417d4dd5ab Added generated content for optgroups, fixed option to be display:block
change optgroup inside of option


git-svn-id: svn://10.0.0.236/trunk@41490 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:43:43 +00:00
rods%netscape.com
e2a7ed2062 temporary fix for reentrancy bug in HandleEvent
git-svn-id: svn://10.0.0.236/trunk@41488 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:42:37 +00:00
peterl%netscape.com
4d6131b0ce fix setting empty attributes
approved cyeh


git-svn-id: svn://10.0.0.236/trunk@41487 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:41:16 +00:00
rods%netscape.com
6464e75057 Made many changes to fix several bugs
git-svn-id: svn://10.0.0.236/trunk@41485 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:38:08 +00:00
rods%netscape.com
606e276090 Added the setting of the clip rect before drawing the button text
git-svn-id: svn://10.0.0.236/trunk@41484 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:37:22 +00:00
rods%netscape.com
fd779c3778 Added NS_DEFINE_STATIC_IID_ACCESSOR
git-svn-id: svn://10.0.0.236/trunk@41483 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:35:55 +00:00
rods%netscape.com
a7021cc7c2 NS_DEFINE_STATIC_IID_ACCESSOR and removed the AboutToDropdown method
git-svn-id: svn://10.0.0.236/trunk@41482 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:35:28 +00:00
karnaze%netscape.com
b7f79a3328 fixes related to crash in AC_Wrapup on optimized builds.
git-svn-id: svn://10.0.0.236/trunk@41479 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 19:43:37 +00:00
shaver%netscape.com
d786ea88d0 zero out colInfo wehen allocated to avoid startup crash and other badness
git-svn-id: svn://10.0.0.236/trunk@41478 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 18:52:04 +00:00
karnaze%netscape.com
53bf90aac1 fix mac breakage, hopefully
git-svn-id: svn://10.0.0.236/trunk@41460 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 09:13:44 +00:00
warren%netscape.com
d9f0756d1e Attempt to fix the mac build.
git-svn-id: svn://10.0.0.236/trunk@41459 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:56:12 +00:00
hyatt%netscape.com
40f43dfde9 Fixing karnaze's bustage.
git-svn-id: svn://10.0.0.236/trunk@41458 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:55:41 +00:00
karnaze%netscape.com
382b9863de new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy


git-svn-id: svn://10.0.0.236/trunk@41454 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:09:02 +00:00
nisheeth%netscape.com
4aa16e828e Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
git-svn-id: svn://10.0.0.236/trunk@41447 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 06:56:05 +00:00
vidur%netscape.com
3c5bfb7cde Added form searching for form controls that are newly created and added to the tree.
git-svn-id: svn://10.0.0.236/trunk@41432 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 05:26:55 +00:00
troy%netscape.com
08b0ac1ce2 Added failure check for call to nsStyleData::GetBorder()
git-svn-id: svn://10.0.0.236/trunk@41422 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:48:34 +00:00
troy%netscape.com
296ff668fa Added support for "box-sizing" style property
git-svn-id: svn://10.0.0.236/trunk@41416 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 03:51:37 +00:00
harishd%netscape.com
6fd9346db6 EnableParse() returns nsresult.
git-svn-id: svn://10.0.0.236/trunk@41357 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:33:16 +00:00
kmcclusk%netscape.com
4da058a9e8 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.


git-svn-id: svn://10.0.0.236/trunk@41353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:26:36 +00:00
ftang%netscape.com
8b4d6e129c 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.
git-svn-id: svn://10.0.0.236/trunk@41292 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:47:24 +00:00
troy%netscape.com
dd72d8029f Changed root frame class over to new reflow command handling
git-svn-id: svn://10.0.0.236/trunk@41287 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:15:42 +00:00
troy%netscape.com
177b8110fa 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


git-svn-id: svn://10.0.0.236/trunk@41286 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:13:09 +00:00
dcone%netscape.com
1bc77a488a Fixed background rendering
git-svn-id: svn://10.0.0.236/trunk@41258 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 06:41:34 +00:00
pavlov%netscape.com
947d846be6 window creation changes
git-svn-id: svn://10.0.0.236/trunk@41241 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:27:17 +00:00
karnaze%netscape.com
36aa58a4f4 more test cases
git-svn-id: svn://10.0.0.236/trunk@41212 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 02:00:01 +00:00
av%netscape.com
48b8cdd78f fixing bug #8290
git-svn-id: svn://10.0.0.236/trunk@41205 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 01:35:30 +00:00
troy%netscape.com
6b27e8cd0c 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


git-svn-id: svn://10.0.0.236/trunk@41181 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 00:48:47 +00:00
karnaze%netscape.com
9330f3cc8b new regression tests
git-svn-id: svn://10.0.0.236/trunk@41143 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 16:18:49 +00:00
joki%netscape.com
73627c01e7 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
git-svn-id: svn://10.0.0.236/trunk@41139 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 15:02:19 +00:00
nisheeth%netscape.com
0069328861 - 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.


git-svn-id: svn://10.0.0.236/trunk@41106 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 05:40:25 +00:00
rickg%netscape.com
ba693215ad replaced calls to deprecated nsString API
git-svn-id: svn://10.0.0.236/trunk@41075 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 00:37:24 +00:00
troy%netscape.com
ed06c35f34 Added 'm' prefix to structs defined in nsISpaceManager
git-svn-id: svn://10.0.0.236/trunk@41059 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 19:01:13 +00:00
buster%netscape.com
e7c1159441 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.


git-svn-id: svn://10.0.0.236/trunk@41055 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 18:04:51 +00:00
troy%netscape.com
e5d671b720 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


git-svn-id: svn://10.0.0.236/trunk@41023 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 23:08:34 +00:00
troy%netscape.com
fca2c43f1f Cleanup of reflow command handling
git-svn-id: svn://10.0.0.236/trunk@41005 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 21:41:15 +00:00