Commit Graph

6255 Commits

Author SHA1 Message Date
ftang%netscape.com
31de89ab0f fix bug 13063 12881 1999-09-03 22:46:16 +00:00
danm%netscape.com
e68f60f671 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
radha%netscape.com
62e13990a1 Dummy checkin to provide log information for the previous commit.
Basically in the previous commit, added a dictionary to the history
state object and made AddState() and get() use the dictionary
1999-09-03 22:19:03 +00:00
radha%netscape.com
e6d7dbf9ab *** empty log message *** 1999-09-03 22:10:57 +00:00
rods%netscape.com
4b5adf6a1f ListControlFrame now use the nsSelectsAreaFrame to get the correct frame
when clicking in a list
removed NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN on list frames the events get routed correctly
1999-09-03 14:57:47 +00:00
rods%netscape.com
e2e4220db7 Added NS_NewSelectsAreaFrame 1999-09-03 14:52:17 +00:00
rods%netscape.com
b093deaeeb it now does its own reflow in Quirks mode and paint its own border in Quirks mode
(the size of the native border from look and feel)
1999-09-03 14:50:23 +00:00
rods%netscape.com
59740457c4 when in standard mode and calculating desired size it removes the width of the native border
because it is implicitly added during the calculation
1999-09-03 14:48:26 +00:00
rods%netscape.com
2341d6fb93 during reflow it now should only reflow once for GFX widgets 1999-09-03 14:44:53 +00:00
rods%netscape.com
449c577cc0 added files: mozilla/layout/html/base/src/nsSelectsAreaFrame.cpp 1999-09-03 14:41:37 +00:00
rods%netscape.com
ec3b6092be Added nsSelectsAreaFrame.cpp to build 1999-09-03 14:38:26 +00:00
rods%netscape.com
330aa86411 added family and font size to type text and textarea 1999-09-03 14:35:17 +00:00
rods%netscape.com
9cfdd9cffd initial add (not in the build yet) 1999-09-03 14:25:15 +00:00
rods%netscape.com
a4d98e6a57 Added extra parameters so PaintBorder can be used to draw borders with a size that
is passed in instead of get the size from style.
1999-09-03 14:12:09 +00:00
sspitzer%netscape.com
b494799f9e add newline to end of file to please certain UNIX compilers. 1999-09-03 10:43:00 +00:00
hyatt%netscape.com
cbc2b0c2ce Fixing column resizing bugs. 1999-09-03 08:49:15 +00:00
hyatt%netscape.com
963ee4f0de Column resizing works, and boy is it slow. 1999-09-03 07:59:01 +00:00
bruce%cybersight.com
443ae40b6e Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:42:41 +00:00
bruce%cybersight.com
4fc6b7833c Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:26:10 +00:00
bruce%cybersight.com
17430c7c3c Replace delete[] for char* data with nsCRT::free(). 1999-09-03 07:20:03 +00:00
hyatt%netscape.com
99b35b6acf More column resizing fun. 1999-09-03 05:12:10 +00:00
karnaze%netscape.com
cd3dbc4f8d bug 1163 - implemented bordercolor attribute on table 1999-09-03 05:06:08 +00:00
kipp%netscape.com
86e12ae621 Implement fix for bug #5821 as per dbaron's suggestion 1999-09-03 03:47:49 +00:00
kipp%netscape.com
b2b92bb835 Eliminate some useless string malloc/free's 1999-09-03 03:47:06 +00:00
kipp%netscape.com
3072eef9ea Eliminate a uselss string copy 1999-09-03 03:45:44 +00:00
hyatt%netscape.com
7da189847c Column resizing. Not quite ready yet. Very soon now. 1999-09-03 03:21:56 +00:00
pinkerton%netscape.com
c302e0ade3 personal toolbar d&d now in JavaScript. 1999-09-02 23:16:37 +00:00
kin%netscape.com
e7fa038c87 Added support for scrolling SELECTION_ANCHOR_REGION into view.
Renamed GetFocusNodeRect() to GetSelectionRegionRect().
Made code in GetPrimaryFrameForFocusNode() more generic and put it
in a method called GetPrimaryFrameForRangeEndpoint().
GetPrimaryFrameFor{Anchor,Focus}Node() now call GetPrimaryFrameForRangeEndpoint().
1999-09-02 21:59:51 +00:00
buster%netscape.com
27032c0f32 just a comment about a possible bug I saw going through this code 1999-09-02 20:47:20 +00:00
buster%netscape.com
a85b0c659f fixed wrapping issues. dogfood bug 8984 1999-09-02 20:46:53 +00:00
buster%netscape.com
f73226e81f added PRInt32 GetWidthInCharacters() const; 1999-09-02 20:45:50 +00:00
buster%netscape.com
cad140c93a replaced #define DEFAULT_PIXEL_WIDTH with nsTextControlFrame::GetDefaultColumnWidth() 1999-09-02 20:45:21 +00:00
buster%netscape.com
096cf35713 added GetDefaultColumnWidth(), replacing a hardcoded #define 1999-09-02 20:44:17 +00:00
bienvenu%netscape.com
f466ad1dda fix build bustage 1999-09-02 19:21:45 +00:00
scc%netscape.com
d9c3a15ac9 get rid of some slamm warnings 1999-09-02 19:04:36 +00:00
karnaze%netscape.com
fa024d2268 I forgot to check this in last night with the other changes. 1999-09-02 18:39:10 +00:00
karnaze%netscape.com
fed4bd6496 I forgot to check this is last night with fixes for table borders. 1999-09-02 18:20:43 +00:00
joki%netscape.com
de39ff5831 Fix for bug 12226, allow reentrant events 1999-09-02 18:14:01 +00:00
kipp%netscape.com
ca2b2003c6 Fixed an nsString usage oopsie 1999-09-02 18:02:52 +00:00
kipp%netscape.com
b1ed8de092 Moved atom init to factory where it should have been 1999-09-02 18:02:21 +00:00
kipp%netscape.com
1e904c8b7b Save some memory by not saving away useless text runs 1999-09-02 18:01:59 +00:00
kipp%netscape.com
fb369c9dbe Setup html and xul atoms too 1999-09-02 18:01:32 +00:00
kipp%netscape.com
57543b73ec Add xul/content directory to includes 1999-09-02 18:01:14 +00:00
rods%netscape.com
4b2f3e78ca commented out some unused variables to remove warnings 1999-09-02 13:51:12 +00:00
sspitzer%netscape.com
56873de822 bulletproofing to prevent the crash I reported in bug #13007. assert is better than a crash any day. 1999-09-02 07:22:47 +00:00
pinkerton%netscape.com
6ef6ed8924 removed all of the drag gesture code. it should now be written in javascript. 1999-09-02 06:51:53 +00:00
pinkerton%netscape.com
543644ab9f fix crasher on drop and how we free the data. 1999-09-02 06:47:14 +00:00
troy%netscape.com
60ea03d2ca Fix for bug #12997 1999-09-02 05:21:39 +00:00
karnaze%netscape.com
56ddbd02ab regression tests 1999-09-02 04:30:44 +00:00
pinkerton%netscape.com
e58a5c3434 exposing drag and drop events to JS. 1999-09-02 03:51:03 +00:00
karnaze%netscape.com
d52908a587 regression tests 1999-09-02 03:46:43 +00:00
ramiro%netscape.com
89026e1e4a quiet debug noise 1999-09-02 03:34:21 +00:00
hyatt%netscape.com
47259d4d45 Must fix build bustage. I have to have access to members of this object without
being forced to call member functions (since my content nodes are in a separate
DLL from layout).
1999-09-02 02:09:07 +00:00
mjudge%netscape.com
6cce4df61f new tweak for selecting from disparate ranges to narrow ones in tables. works great now. 1999-09-02 01:36:49 +00:00
mjudge%netscape.com
bcbb9f3512 new fix for table selection into and out. works great. 1999-09-02 00:48:15 +00:00
akkana%netscape.com
5afa8c3b70 12496: Fix XIF content comments 1999-09-02 00:29:03 +00:00
karnaze%netscape.com
5b0679f4bf bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption. 1999-09-02 00:07:14 +00:00
karnaze%netscape.com
cde37cbb23 changed default for nsStyleTable.mRules to NS_STYLE_TABLE_RULES_ALL 1999-09-02 00:06:35 +00:00
mjudge%netscape.com
3b3c9f8b30 oops infinite loop. need to break out if no frame is found. 1999-09-02 00:04:56 +00:00
mjudge%netscape.com
92b707ec13 fixes for optimizing selection 1999-09-01 23:32:55 +00:00
kmcclusk%netscape.com
cf4f73e939 Bug#12729 Modified SinkContext::DemoteContainer to cache the child's mForm before
Removing it. After removing it the child's mForm is reset to the cached value.
1999-09-01 21:57:01 +00:00
mjudge%netscape.com
fa5d3c3459 new selection code for dead areas. this is much better, trust me. the block frame now will look at its best line and look for a spot to select. if it finds another block frame now, it will continue the process in a while loop. each time looking for best x and y area. this reuses the code located in GetNextPrevLine. 1999-09-01 21:40:16 +00:00
mjudge%netscape.com
9c8fd6ae78 getting rid of build warnings 1999-09-01 21:37:32 +00:00
karnaze%netscape.com
8bad55df9a new regression tests 1999-09-01 21:20:44 +00:00
kipp%netscape.com
433a754f0b Remove a warning 1999-09-01 20:59:13 +00:00
kipp%netscape.com
2489cbb7b8 Revised img linking/usemap rules as per suggestion in bug #8027 which fixes #8027 1999-09-01 20:58:59 +00:00
kipp%netscape.com
ae12f6c7e5 Added in support for IE specific area types 1999-09-01 20:58:17 +00:00
kipp%netscape.com
510e253e0f Create floating frame properly (bug #2751) 1999-09-01 20:57:58 +00:00
kipp%netscape.com
121e487001 Fixed to account for the overflow hidden value when computing the combined area (bug #2751) 1999-09-01 20:57:37 +00:00
troy%netscape.com
e47c2b4fe6 Optimized IR_TargetIsChild() so in the simple case where the row frame
has no cells that span into or across the row we don't call CalculateRowHeights()
1999-09-01 05:16:12 +00:00
troy%netscape.com
7492fe49f2 Added definition for RowHasSpanningCells() 1999-09-01 04:36:47 +00:00
troy%netscape.com
8ca21e9d4e Fixed compiler warning 1999-09-01 04:32:45 +00:00
mscott%netscape.com
d3ffd930a4 check in for rod spears. Fix the small text edit fields for dynamic to in the compose window
and password dialogs
1999-09-01 04:11:17 +00:00
kipp%netscape.com
1ea958d508 Added missing #ifdef's 1999-09-01 02:03:50 +00:00
cyeh%netscape.com
34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
troy%netscape.com
3688b0a7ce Fix for bug #12864. Changed CreateViewForFrame() so it respects the z-index
of relatively positioned elements
1999-09-01 01:10:24 +00:00
kipp%netscape.com
c906edcfd3 Added another debug atom 1999-09-01 01:10:02 +00:00
kipp%netscape.com
7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp%netscape.com
d8a5ed19de Removed GetRC code 1999-09-01 01:00:59 +00:00
kipp%netscape.com
30b60e57f2 Disable empty text frame removal; tweaked a few lines to be more compiler friendly 1999-09-01 01:00:25 +00:00
jdunn%netscape.com
050bb424b2 HP requires newline 1999-09-01 00:53:21 +00:00
briano%netscape.com
45f9b17d23 General cleanup. 1999-09-01 00:47:39 +00:00
pavlov%netscape.com
537d1af8c7 fix a crash in the color picker and add a grayscale palette.
fix xpmenus to work as popups without a menubar
1999-09-01 00:39:12 +00:00
nisheeth%netscape.com
dfd7b5d559 - Added setter for history state to nsIPresShell
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters  in nsIStateful frame
  so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.
1999-08-31 14:35:50 +00:00
rods%netscape.com
e826861c50 option (dropdown) fonts now match the select 1999-08-31 14:22:56 +00:00
rods%netscape.com
88b7272f14 added box-sizing property for form control, now width/height refer to outside border and padding edge instead of content edge 1999-08-31 14:16:02 +00:00
rods%netscape.com
7545b1a8cf Added AbsolutelyPositionDropDown 1999-08-31 13:23:15 +00:00
rods%netscape.com
c4464e6ebc Removed ref counting changed the the popup is positioned
removing dom listeners on descruction
1999-08-31 13:22:50 +00:00
rods%netscape.com
0706193578 Added SynViewWithFrame 1999-08-31 13:22:45 +00:00
rods%netscape.com
0fd6268956 removing dom listeners on descruction
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView
1999-08-31 13:22:40 +00:00
rods%netscape.com
3bca354587 uses the new factored code for calculating size it helps for calculating suggested size
(see nsGfxButtonControlFrame.cpp)
1999-08-31 13:05:31 +00:00
rods%netscape.com
596cd15f00 Changed the way the button calculates it's size with respect to suggested size.
I factored out the part where border and padding is added in so it can be overridden.
1999-08-31 13:03:38 +00:00
rods%netscape.com
c3ade2023a removed some warnings and made gfx text control ignore the extra padding from nsILookAndFeel which is for native wdiegst 1999-08-31 12:59:09 +00:00
nisheeth%netscape.com
d3eaaedcfb The HTML Content sink now generates content IDs for each of the content objects it creates. The IDs start at NS_CONTENT_ID_COUNTER_BASE, defined in nsIContentSink.h, and increase monotonically as content objects get created. 1999-08-31 11:17:26 +00:00
nisheeth%netscape.com
a3d25a6149 Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state. 1999-08-31 10:06:17 +00:00
pavlov%netscape.com
bf161edf7d fix some warnings on windows 1999-08-31 07:26:53 +00:00
waterson%netscape.com
64c56ebd1f Fix nsCOMPtr --pedantic bustage. 1999-08-31 07:14:54 +00:00
troy%netscape.com
33c2ac2603 Changed ReflowMappedChildren() to reset max element size to 0 for an
incremental reflow
1999-08-31 05:55:33 +00:00
kipp%netscape.com
9f71d4027a Tally up lineBox's and textRun's seperately 1999-08-31 04:32:13 +00:00
kipp%netscape.com
00b8021645 Added new atoms 1999-08-31 04:31:39 +00:00