Commit Graph

2222 Commits

Author SHA1 Message Date
troy%netscape.com
46f7140270 In CreateViewForFrame() removed code that was hiding view if the 'visibility'
property is 'hidden'
1999-09-15 04:54:00 +00:00
troy%netscape.com
5c8341b9f0 Removed code in CreateViewForFrame() that always forced relatively positioned
and absolutely positioned frames to have transparent views. It's not needed
now that bug #11637 is fixed
1999-09-15 04:16:31 +00:00
pollmann%netscape.com
73c3c9952a Bug 13058: Make global enum a public member. 1999-09-15 02:30:39 +00:00
mjudge%netscape.com
d71f4104da changes for bug fixes for dogfood. finding frames left and right should find the correct frame and not give up so easily. nsTextFrame needed to change getpositionslowly. 1999-09-15 01:57:50 +00:00
nisheeth%netscape.com
313baf741f Start of instrumentation of the presshell to calculate timing data for the reflow process. 1999-09-15 00:43:53 +00:00
kipp%netscape.com
6488f7b26e Fixed various incremental reflow bugs (1764,12890,1910,2222) and list bullet painting bug (10675,13599) 1999-09-15 00:28:10 +00:00
kipp%netscape.com
090878a3d5 Added kIAreaFrameIID 1999-09-15 00:27:20 +00:00
kipp%netscape.com
924f578517 Upgraded incremental reflow debugging support 1999-09-15 00:27:05 +00:00
kipp%netscape.com
c06ce86187 Added GetSpaceManager 1999-09-15 00:26:44 +00:00
kipp%netscape.com
d0e73c20e6 Removed MoveInSpaceManager 1999-09-15 00:26:39 +00:00
kipp%netscape.com
eee4794fda Disabled (obsolete?) usage of MoveInSpaceManager 1999-09-15 00:26:10 +00:00
kipp%netscape.com
bab712b6e1 Added some spacemanager debugging noise 1999-09-15 00:25:51 +00:00
kipp%netscape.com
999be9a0a1 Implement List method 1999-09-15 00:24:54 +00:00
sfraser%netscape.com
c0fa195473 Remove some redundant caret methods in the pres shell, and use my funky new stack-based caret hider class to manage caret visibility during difficult times. 1999-09-14 23:43:35 +00:00
sfraser%netscape.com
2ad5b8ffa2 Fix a warning. 1999-09-14 23:41:49 +00:00
mjudge%netscape.com
611e47bbd4 content iter not initing properly for reuse. text frame not selecting slowly properly, bad bounds checking :(. rangelist now traversing each node in a spaniter with a normal iter to make SURE we get all the children! 1999-09-14 23:16:22 +00:00
evaughan%netscape.com
d1525e5bd4 Fixed some bugs in splitter
added auto collapse.
1999-09-14 22:17:19 +00:00
troy%netscape.com
b80b7939b1 Fix for bug #13700. Removed a warning that's no longer needed 1999-09-14 04:43:16 +00:00
pollmann%netscape.com
ea3c61f2be Bug 13058: Tweaks to StatefulFrame interface - and not keeping state for anonymous content 1999-09-14 02:00:20 +00:00
briano%netscape.com
97faab6716 General cleanup. 1999-09-14 01:02:20 +00:00
mjudge%netscape.com
e2d1d73278 fixes for selection. up/down arrow behavior and also extending selection. all should be in peek offset ect. Also adding in a slight change to the hack (which should go away soon) that will stop the editor from scrolling when up/down left/right ect are clicked. when key events go in this code will be removed 1999-09-13 22:19:31 +00:00
troy%netscape.com
5c61cb8ef4 Added frame type for OBJECT frame 1999-09-13 21:26:05 +00:00
cls%seawood.org
762fca642e Fix my bustage using -D_BSD_SOURCE 1999-09-12 16:41:14 +00:00
mjudge%netscape.com
eaa78b424a fixes for crasher in tree 1999-09-11 00:18:02 +00:00
kipp%netscape.com
fb8c244c9f Fixed two incremental reflow bugs (12890) 1999-09-10 18:52:56 +00:00
kipp%netscape.com
c211a54bed Tweaked incremental reflow support logic 1999-09-10 18:49:23 +00:00
mjudge%netscape.com
046cdcb844 changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames. 1999-09-10 18:29:37 +00:00
peterl%netscape.com
fa95528749 added content state changed notification 1999-09-10 05:52:23 +00:00
briano%netscape.com
08af3df2e0 General cleanup. 1999-09-10 00:18:42 +00:00
kipp%netscape.com
ee216379ac Fixed refcnt crash bug with style-contexts (bad nscomptr usage -- whoops) 1999-09-09 21:54:20 +00:00
kipp%netscape.com
beadfcb37c Reworked to be more css compliant; factored compatability logic out of nsInlineFrame into here 1999-09-09 21:04:37 +00:00
kipp%netscape.com
606ea6edd9 Cleaned up 1999-09-09 21:04:00 +00:00
kipp%netscape.com
9f50793471 Added rendering context to CalcLineHeight API 1999-09-09 21:03:46 +00:00
kipp%netscape.com
e5499ef843 Reworked nsHTMLReflowState::CalcLineHeight (bug 6865) 1999-09-09 21:03:27 +00:00
kipp%netscape.com
056b8e9197 Fixed bug 10820 1999-09-09 21:02:02 +00:00
kipp%netscape.com
ed874d1439 Fixed infinite loop 12747 1999-09-09 20:53:32 +00:00
kipp%netscape.com
f73fad9197 Updated for revised line-layout algorithm 1999-09-09 20:53:18 +00:00
mjudge%netscape.com
ba4611bb7d addiung selectable BRFrames. but brframes arent like images ect. they give you a collapsed range, collapsed to just "before" themselves. this will help editing immensely. this should also fix some mail news issues 1999-09-08 19:43:17 +00:00
av%netscape.com
b6788ffcc5 Fixing bug 7509 1999-09-08 00:12:26 +00:00
mjudge%netscape.com
a5ac5b186c adding in begin line and end line enums for selection movement. this allows peeking to the start and end of and like given a content offset for any frame. 1999-09-07 23:40:17 +00:00
mjudge%netscape.com
591daffd24 Had a loop that did not reset one variable for "next" iteration. this will fix arrow up/down ya. 1999-09-07 18:47:01 +00:00
peterl%netscape.com
b5b37d859e added reparent style context 1999-09-03 23:35:41 +00:00
peterl%netscape.com
09ea141535 added accessors to additional style contexts 1999-09-03 23:35:14 +00:00
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
rods%netscape.com
e2e4220db7 Added NS_NewSelectsAreaFrame 1999-09-03 14:52:17 +00:00
rods%netscape.com
ec3b6092be Added nsSelectsAreaFrame.cpp to build 1999-09-03 14:38:26 +00:00
rods%netscape.com
9cfdd9cffd initial add (not in the build yet) 1999-09-03 14:25:15 +00:00
kipp%netscape.com
86e12ae621 Implement fix for bug #5821 as per dbaron's suggestion 1999-09-03 03:47:49 +00:00
bienvenu%netscape.com
f466ad1dda fix build bustage 1999-09-02 19:21:45 +00:00
joki%netscape.com
de39ff5831 Fix for bug 12226, allow reentrant events 1999-09-02 18:14:01 +00:00
kipp%netscape.com
1e904c8b7b Save some memory by not saving away useless text runs 1999-09-02 18:01:59 +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
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
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
8ca21e9d4e Fixed compiler warning 1999-09-01 04:32:45 +00:00
kipp%netscape.com
1ea958d508 Added missing #ifdef's 1999-09-01 02:03:50 +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
7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +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
kipp%netscape.com
9f71d4027a Tally up lineBox's and textRun's seperately 1999-08-31 04:32:13 +00:00
kipp%netscape.com
f808fbb193 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
nisheeth%netscape.com
a208673213 Added get/set document state API for use by session history. 1999-08-30 22:38:58 +00:00
evaughan%netscape.com
f19bc0e464 Numberous fixes 1999-08-30 22:32:25 +00:00
kin%netscape.com
5fb0f43078 Temporary fix for bug #9708 and #12438.
Modified Reflow() to set the scrollbar
dimensions to zero if the scrollbars are hidden.
1999-08-30 21:55:02 +00:00
kin%netscape.com
bfd4c1f102 Fix for bugs #7153, #10673, #12066, #12067, and #12793.
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h

  - Added code to scroll the selection into view
    after processing key events.
  - Commented out the hack that redraws the entire
    view when the focus is gained and lost. Replaced
    the hack code with calls to RepaintSelection().

layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
   - Added ScrollSelectionIntoView() and RepaintSelection() methods.

layout/base/src/nsRangeList.cpp
   - Added implementation for ScrollSelectionIntoView() and
     RepaintSelection().
   - Check for NULL primary frame in GetFocusNodeRect()
     to fix bug #12793.
1999-08-30 21:54:40 +00:00
troy%netscape.com
ea250c6886 Changed block frame code to cache the max element width. This enables
us to ask for the maxElementSize when doing an incremental reflow
1999-08-28 00:39:55 +00:00
kipp%netscape.com
0c8f598a12 Added hack code (for me) to allow for stack depth testing 1999-08-27 21:50:37 +00:00
kipp%netscape.com
bcb6fd2f40 Fixed computation of max-element-size for bug #12384; don't compute line-height in this class 1999-08-27 21:50:06 +00:00
kipp%netscape.com
07283caa5c Shrink down size of nsLineLayout object 1999-08-27 21:49:12 +00:00
kipp%netscape.com
06e81276ec Keep trakc of the depth of reflow to allow for limiting stack usage (bug #10310) 1999-08-27 21:48:54 +00:00
kipp%netscape.com
a990e6fdbf Don't paint frames that are unflowable 1999-08-27 21:48:21 +00:00
kipp%netscape.com
0131e47431 Added IsFrameTreeTooDeep method to support code handling bug #10310 1999-08-27 21:48:06 +00:00
kipp%netscape.com
5be7df2d3e Fixed bug 12451 - use list-style-type when image doesn't load or is loading 1999-08-27 21:47:39 +00:00
kipp%netscape.com
74746dee38 Cache computed width so that during placement of the block we can see if auto margins need recomputing (bug #1164) 1999-08-27 21:47:04 +00:00
kipp%netscape.com
e40963e370 Reduce stack size by allocating nsLineLayout objects from the heap when the frame tree depth gets too big (bug #10310) 1999-08-27 21:45:37 +00:00
kipp%netscape.com
424e55fe9d Reduced the default number of nsBandTrapezoids to reduce stack space used (bug #10310) 1999-08-27 21:44:10 +00:00
evaughan%netscape.com
f781250e40 Fixed to gfx scrollbar.
Fixed some blockers.
1999-08-27 06:06:39 +00:00
pinkerton%netscape.com
bb33f01d50 remove refs to nsIContentConnector 1999-08-27 04:30:48 +00:00
troy%netscape.com
8d4c41ad24 Fix for bug #12449. Changed UpdateImageFrame() so that if the content object
has a NULL document object (the case for generated content) we mark the image
frame dirty and generate a reflow command targeted at the parent frame
1999-08-25 23:55:57 +00:00
troy%netscape.com
a5ea47b596 Fix for bug #12444. Made sure that for a "StyleChanged" reflow command we
invalidate our entire bounds
1999-08-25 23:15:36 +00:00
mjudge%netscape.com
5272505f4a added in selection of tables/images as blue borders for browser. 1999-08-25 22:19:23 +00:00
karnaze%netscape.com
49bded7631 changed conditional NS_RELEASE to NS_IF_RELEASE to fix memory leak 1999-08-25 21:57:15 +00:00
karnaze%netscape.com
7dddc57925 bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol 1999-08-25 21:49:18 +00:00
jfrancis%netscape.com
9ea8122814 making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor 1999-08-25 10:51:55 +00:00
pinkerton%netscape.com
268234cadd IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter. 1999-08-25 08:35:06 +00:00
mjudge%netscape.com
5531d305c5 changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :) 1999-08-24 21:51:47 +00:00
troy%netscape.com
46415e1c34 Reworked ReparentFrameView() to make it more efficient 1999-08-24 19:26:03 +00:00
hyatt%netscape.com
183b86f662 Fix for editor typing bustage (part 2). 1999-08-24 10:20:35 +00:00
hyatt%netscape.com
cc520bff21 Patching an error in the key event handling. 1999-08-24 00:42:02 +00:00
troy%netscape.com
838e389ffd Changed diagnostic code to DEBUG_troy instead of NS_DEBUG so it doesn't
slow down all debug builds. Show be done with NSPR loggin instead...
1999-08-23 00:37:10 +00:00
jdunn%netscape.com
d74fdaa1f8 HP requires a newline 1999-08-20 22:42:36 +00:00
evaughan%netscape.com
d6b9c2a27f Fixed compile bug. 1999-08-19 23:33:38 +00:00
evaughan%netscape.com
28a83eea31 Fix for build error 1999-08-19 22:44:06 +00:00
vidur%netscape.com
189e9b728d Spaces now stripped from map name for client-side maps. Client-side and server-side imagemaps can now co-exist 1999-08-19 22:22:02 +00:00
evaughan%netscape.com
a12f942778 xpscrollbars 1999-08-19 22:16:23 +00:00
ducarroz%netscape.com
91e18f8021 Add constructor definition for autocomplete widget 1999-08-19 22:10:53 +00:00
ducarroz%netscape.com
04f9bf4079 add some autocomplete atoms 1999-08-19 22:10:45 +00:00
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
ftang%netscape.com
5a577f62d9 implement word jump for non Ascii 1999-08-19 06:06:57 +00:00
troy%netscape.com
f901be20dc Changed to table incremental reflow 1999-08-19 03:51:25 +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
av%netscape.com
e41767be1f Setting some default size to objects with unknown size, bug #8740 1999-08-09 23:41:55 +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
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
bc4ecda20c Fixed compiler warning 1999-08-06 17:21:57 +00:00
troy%netscape.com
ebad18a3c5 Cleanup 1999-08-06 14:34:32 +00:00
pierre%netscape.com
1394381abf breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
av%netscape.com
c2b8a3650e Removing old code 1999-08-05 22:55:05 +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
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
buster%netscape.com
4333816066 added GetCaretEnabled
cleaned up caret APIs according to coding convention
1999-08-04 20:46:16 +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
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
5e93e674c5 Fixed incremental painting problem 1999-08-01 16:50:52 +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
rods%netscape.com
6412a66059 temporary fix for reentrancy bug in HandleEvent 1999-07-28 21:42:37 +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
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
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
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
troy%netscape.com
bc9ccffd53 Added 'm' prefix to structs defined in nsISpaceManager 1999-07-25 19:01:13 +00:00
troy%netscape.com
a8d3d80ebc Cleanup of reflow command handling 1999-07-24 21:41:15 +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
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
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
pollmann%netscape.com
eaecd3f441 Bug 10301: Check base target for image maps 1999-07-22 18:47:23 +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
troy%netscape.com
93621b70eb Made sure to Invalidate() for the initial reflow, too 1999-07-21 04:39:24 +00:00
brade%netscape.com
0621f4050e Implement InvertRect on Mac. r sfraser 1999-07-20 23:38:55 +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
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
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
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
rickg%netscape.com
23b232d248 switch to faster string search API 1999-07-19 03:29:56 +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
9d026a4262 use preprocessor to generate atom code 1999-07-18 00:24:47 +00:00
peterl%netscape.com
c35106c852 fix reresolve style context to iterate all child lists 1999-07-18 00:18:45 +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
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
hangas%netscape.com
6eba8de450 Fix DEBUG Mac Build Bustage. Changed memset to nsCRT::memset 1999-07-16 19:11:43 +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
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
d281be8891 Fixed so it's correct C++ and it compiles on Solaris and AIX 1999-07-16 01:20:04 +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
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
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
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
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
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
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
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
sfraser%netscape.com
15611e693f First Checked In. 1999-07-09 01:14:45 +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
warren%netscape.com
9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
kipp%netscape.com
87e4c2d72f Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993) 1999-07-07 02:33:17 +00:00
peterl%netscape.com
6b109c6271 changed attribute mapping to use special attribute container 1999-07-07 01:22:38 +00:00
edburns%acm.org
16d14a952f Stanley Ho's REFLOW_MODS change. 1999-07-07 00:32:01 +00:00
andreas.otte%primus-online.de
001ff1afea NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
troy%netscape.com
9fc9b61b5c Changed GetPrimaryFrameFor() to use a hash table to improve performance 1999-07-06 03:52:33 +00:00
kipp%netscape.com
6546611600 Fixed bug #9282 - clip rect was computed wrong from style info and sign of right/bottom were inverted; eliminated many linux compiler warnings 1999-07-05 20:38:14 +00:00
kipp%netscape.com
bef3754263 Fixed margin calcs for block elements (and tables) so that when the object is wider than the avail width the object is pinned to the left/right edge as appropriate (bug #6155) 1999-07-05 18:45:12 +00:00
andreas.otte%primus-online.de
3b7dac23f8 NECKO only: fixing MakeAbsolute while loading images 1999-07-04 22:41:42 +00:00
andreas.otte%primus-online.de
029524c65d NECKO only: fixing MakeAbsolute when loading images, cleanup 1999-07-04 22:23:38 +00:00
hyatt%netscape.com
73b08a974d Checking in support for intrinsic sizing of chrome. 1999-07-04 04:09:54 +00:00
troy%netscape.com
689199ce89 General clean up and fixing of compiler warnings 1999-07-03 02:22:10 +00:00
troy%netscape.com
644201d6f0 Fix for bug #9073. Changed Init() to return NS_ERROR_OUT_OF_MEMORY if we fail
to allocate the space manager
1999-07-02 22:45:07 +00:00
kipp%netscape.com
fa08778e30 Support old-upper/lower-alpha/roman style constants 1999-07-02 22:27:03 +00:00
troy%netscape.com
306ed3a699 Minor cleanup 1999-07-01 04:37:07 +00:00
evaughan%netscape.com
54afa7f4f6 Added anonymous node support.
Added splitters
Added Grippies.
1999-06-30 22:17:43 +00:00
troy%netscape.com
bad8b44c27 Work-in-progress for having GetPrimaryFrameFor() use a hash table 1999-06-30 04:42:26 +00:00
troy%netscape.com
d0002c6559 Fix for bug #2062. When sizing the view, take into account child frames
that stick outside the right/bottom edges of the parent's frame
1999-06-29 03:41:58 +00:00
troy%netscape.com
063b6aaad3 Fix for bug #7656. Changed the root frame to size the document element's
frame so it covers the entire canvas
1999-06-27 02:39:09 +00:00
av%netscape.com
a9b3b8dc60 Enabling stuff checked in earlier 1999-06-27 00:05:05 +00:00
mcafee%netscape.com
327b3d366e Adding BeOS case. 1999-06-26 07:28:55 +00:00
warren%netscape.com
fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
troy%netscape.com
32acfc4441 Fix for bug #6630. Don't force the desired width to 0 for zero-height
frames, and don't have the document element frame shrink wrap
1999-06-26 03:21:49 +00:00
dcone%netscape.com
60d5261ed9 Fixed a bug that double prints 1999-06-25 14:48:37 +00:00
troy%netscape.com
72d8261683 Fix for bug #5762. Changed DeleteFrame() to call CancelReflowCommand()
when a frame is destroyed
1999-06-25 04:22:15 +00:00
troy%netscape.com
42235c8acd Fix for bug #6947. Changed PlaceBlock() to also check the combined area height
when checking for a zero-height frame
1999-06-25 03:17:04 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
av%netscape.com
4aabe84866 Fixing build problem 1999-06-24 21:34:37 +00:00
av%netscape.com
9a84b40ce1 fixes getting right hdc foe winless plugin painting, disabled yet 1999-06-24 20:55:33 +00:00
warren%netscape.com
15272e93b7 More necko changes. Changed nsIPluginTagInfo2::GetDocumentBase to copy string. 1999-06-23 19:55:21 +00:00
troy%netscape.com
25d924248a Fix for bug #6903: changed Reflow() to handle reflow commands of type
StyleChanged
1999-06-23 04:18:07 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
mcafee%netscape.com
8543e5cc12 Better comment to describe the NORMAL_DRAG_HANDLING #define. 1999-06-21 23:24:33 +00:00
mcafee%netscape.com
7f0efad603 Fixing drag test case, this is #if 0 by default. 1999-06-21 23:19:54 +00:00
kmcclusk%netscape.com
881c29d70e Numerous changes to support gfx-rendered form elements. 1999-06-21 20:41:56 +00:00
mjudge%netscape.com
6dc1cd08e9 commenting out errant printf! 1999-06-21 20:31:30 +00:00
sspitzer%netscape.com
4cc0c4c86d fix tree bustage. 1999-06-19 21:13:48 +00:00
mjudge%netscape.com
f98938bdfd up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect. 1999-06-19 20:36:44 +00:00
valeski%netscape.com
e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
beard%netscape.com
faf9928aef Bug #5677: Reenabled drawing images referenced by <OBJECT> tags, fixed a crashing bug on the Mac as a result. a=chofmann, r=pierre 1999-06-17 00:58:07 +00:00
sfraser%netscape.com
99112db1a1 Fix for bug 8317 -- leaked caret causes crash. r mjudge, a leaf. 1999-06-16 23:55:48 +00:00
peterl%netscape.com
61d4b9ed9f delete floaters before regular children 1999-06-15 06:16:29 +00:00
av%netscape.com
2808e253e4 Hooking up event passing to winless plugins 1999-06-15 05:28:23 +00:00
joki%netscape.com
2c742db83b Fixes for event going to frames which have changes as a result of other event handlers. (loosely bug 1283) 1999-06-15 03:14:28 +00:00
ftang%netscape.com
053016f7c4 fix bug 7544 1999-06-15 02:21:03 +00:00
av%netscape.com
ad244932bd Cleaning up 1999-06-14 22:35:46 +00:00
av%netscape.com
bec64804f6 *** empty log message *** 1999-06-13 06:18:35 +00:00
av%netscape.com
e3b6bd77c1 *** empty log message *** 1999-06-13 06:11:33 +00:00