146 Commits

Author SHA1 Message Date
mjudge%netscape.com
124711cde1 changes to selection code to stop a never ending loop
git-svn-id: svn://10.0.0.236/trunk@48665 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 22:58:14 +00:00
peterl%netscape.com
5e304ecf23 removed ReResolveStyleContext
added style tree verify flag


git-svn-id: svn://10.0.0.236/trunk@48549 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 07:51:52 +00:00
mjudge%netscape.com
179e58ff5f checking in fixes for selection around nodes where get primary frame will not lead to the discovery of all frames
git-svn-id: svn://10.0.0.236/trunk@48406 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 21:47:37 +00:00
kipp%netscape.com
9383047642 formatting sillyness
git-svn-id: svn://10.0.0.236/trunk@47643 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:38:42 +00:00
mjudge%netscape.com
f48fd77b70 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.
git-svn-id: svn://10.0.0.236/trunk@47495 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 01:57:50 +00:00
kipp%netscape.com
1f521f4dc8 Removed MoveInSpaceManager
git-svn-id: svn://10.0.0.236/trunk@47475 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:26:39 +00:00
sfraser%netscape.com
35a5e1d106 Fix a warning.
git-svn-id: svn://10.0.0.236/trunk@47456 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:41:49 +00:00
mjudge%netscape.com
ad8dd5373b fixes for crasher in tree
git-svn-id: svn://10.0.0.236/trunk@46898 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 00:18:02 +00:00
mjudge%netscape.com
a29a744b14 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.
git-svn-id: svn://10.0.0.236/trunk@46783 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 18:29:37 +00:00
peterl%netscape.com
23a88bfb49 added content state changed notification
git-svn-id: svn://10.0.0.236/trunk@46723 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 05:52:23 +00:00
mjudge%netscape.com
3a2b08f57b 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.
git-svn-id: svn://10.0.0.236/trunk@46251 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 23:40:17 +00:00
mjudge%netscape.com
a0c73b5f81 Had a loop that did not reset one variable for "next" iteration. this will fix arrow up/down ya.
git-svn-id: svn://10.0.0.236/trunk@46191 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 18:47:01 +00:00
peterl%netscape.com
b5634c8488 added accessors to additional style contexts
git-svn-id: svn://10.0.0.236/trunk@45964 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:35:14 +00:00
mjudge%netscape.com
d9a3b1a319 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.
git-svn-id: svn://10.0.0.236/trunk@45529 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:40:16 +00:00
kipp%netscape.com
eea3ab916a Updated SizeOf methods to not waste space when doing a non-debug build
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
kipp%netscape.com
c9002f20df Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
kipp%netscape.com
4a17fe8915 Added IsFrameTreeTooDeep method to support code handling bug #10310
git-svn-id: svn://10.0.0.236/trunk@44924 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:06 +00:00
mjudge%netscape.com
437cbbc0b4 added in selection of tables/images as blue borders for browser.
git-svn-id: svn://10.0.0.236/trunk@44545 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 22:19:23 +00:00
mjudge%netscape.com
72808fb95e 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 :)
git-svn-id: svn://10.0.0.236/trunk@44364 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:51:47 +00:00
rods%netscape.com
591fdc2050 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
git-svn-id: svn://10.0.0.236/trunk@43620 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:36:47 +00:00
troy%netscape.com
8a85938908 Changed to table incremental reflow
git-svn-id: svn://10.0.0.236/trunk@43548 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 03:51:25 +00:00
troy%netscape.com
59f067c692 Added VerifyDirtyBitSet() helper function
git-svn-id: svn://10.0.0.236/trunk@40954 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:37:06 +00:00
troy%netscape.com
73690aa1c5 Added ReplaceFrame() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@40599 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:32:31 +00:00
troy%netscape.com
947927e816 Renamed DeleteFrame() to Destroy()
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
troy%netscape.com
afd55b77d6 Added NS_FRAME_IS_DIRTY flag to the frame state flags
git-svn-id: svn://10.0.0.236/trunk@40547 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 23:47:01 +00:00
troy%netscape.com
25df555ae8 Removed IsTransparent() function from nsIFrame
git-svn-id: svn://10.0.0.236/trunk@40539 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 23:15:39 +00:00
mjudge%netscape.com
329d39ba11 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.
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
troy%netscape.com
3be19d2ceb Added NotifyDestroyingFrame() function to nsIPresShell
git-svn-id: svn://10.0.0.236/trunk@39784 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 23:25:15 +00:00
mjudge%netscape.com
f9575d1f61 checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection
git-svn-id: svn://10.0.0.236/trunk@39541 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 18:19:03 +00:00
kipp%netscape.com
782de5df04 Fixed bug #9282 - clip rect was computed wrong from style info and sign of right/bottom were inverted; eliminated many linux compiler warnings
git-svn-id: svn://10.0.0.236/trunk@38370 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-05 20:38:14 +00:00
troy%netscape.com
ee7e3babb8 Fix for bug #5762. Changed DeleteFrame() to call CancelReflowCommand()
when a frame is destroyed


git-svn-id: svn://10.0.0.236/trunk@36833 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 04:22:15 +00:00
mcafee%netscape.com
e36209606b Better comment to describe the NORMAL_DRAG_HANDLING #define.
git-svn-id: svn://10.0.0.236/trunk@36151 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 23:24:33 +00:00
mcafee%netscape.com
b34de1697e Fixing drag test case, this is #if 0 by default.
git-svn-id: svn://10.0.0.236/trunk@36142 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 23:19:54 +00:00
mjudge%netscape.com
749ca99b34 commenting out errant printf!
git-svn-id: svn://10.0.0.236/trunk@36073 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 20:31:30 +00:00
sspitzer%netscape.com
ef987358f3 fix tree bustage.
git-svn-id: svn://10.0.0.236/trunk@35911 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 21:13:48 +00:00
mjudge%netscape.com
571f2a1a16 up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect.
git-svn-id: svn://10.0.0.236/trunk@35903 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 20:36:44 +00:00
mjudge%netscape.com
21a15def92 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ


git-svn-id: svn://10.0.0.236/trunk@34640 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:08:17 +00:00
joki%netscape.com
ee7a67a711 Adding new method to nsIDOMNSUIEvent to give event pos as range offset.
git-svn-id: svn://10.0.0.236/trunk@34162 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:19:26 +00:00
pinkerton%netscape.com
2c58808b6f changes so that transferable no longer takes ownership of dataflavor string, but correctly copies it. fix some memory leaks as well.
git-svn-id: svn://10.0.0.236/trunk@34060 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:43:23 +00:00
peterl%netscape.com
dce2798cf1 fixed warnings
git-svn-id: svn://10.0.0.236/trunk@33478 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:09:03 +00:00
mjudge%netscape.com
45583c2b3d new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers.
git-svn-id: svn://10.0.0.236/trunk@33352 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:04:13 +00:00
pinkerton%netscape.com
651d8eb4ff new multiple-item drag and drop apis.
git-svn-id: svn://10.0.0.236/trunk@32705 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:08:14 +00:00
mjudge%netscape.com
85ff7d2a69 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply
git-svn-id: svn://10.0.0.236/trunk@32354 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 00:52:00 +00:00
mjudge%netscape.com
ff933f4f73 adding in selection of non text frames in editor only
git-svn-id: svn://10.0.0.236/trunk@31872 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 00:21:18 +00:00
mjudge%netscape.com
3a865d8325 adding back in keyboard navigation. removing const from peekoffset to stop the const creep. changing peekoffset to do the right thing for content based peeking...
git-svn-id: svn://10.0.0.236/trunk@31348 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:44:23 +00:00
kipp%netscape.com
de60169b67 Reworked frame factory methods; fixed bug 4519
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
mjudge%netscape.com
e5dca2de32 2 more checkins to follow previous ones
git-svn-id: svn://10.0.0.236/trunk@30751 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:19:04 +00:00
mjudge%netscape.com
644a9e449d massive checkin for selection modifications and removing static state variables for selection in nsFrame.h.
git-svn-id: svn://10.0.0.236/trunk@30744 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:12:59 +00:00
cyeh%netscape.com
3392afd90c backout mjudge checkin against closed tree. it also breaks mac as well, so
mjudge will try again when tree reopens


git-svn-id: svn://10.0.0.236/trunk@30428 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:05:41 +00:00
mjudge%netscape.com
80f19e636c removing static variables from nsFrame for selection. storing state in nsIFrameSelection Implementation.
git-svn-id: svn://10.0.0.236/trunk@30421 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:27:57 +00:00