Commit Graph
151 Commits
Author SHA1 Message Date
[email protected] 4d9d482ba6 recursion failing finding the same frame we started with sometimes with generated content from style. simple 2 line check to avoind this. dagley said ok to check in red tree since not hurting anyone. 1999-09-22 06:12:44 +00:00
[email protected] 5a3d54af61 approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping 1999-09-22 05:56:44 +00:00
[email protected] e02f754b09 fixes for line/frame traversal. now we use more common code inside nsFrame rather than nsTextFrame specific code all the time. 1999-09-22 04:12:23 +00:00
[email protected] abcca8d091 Adding support for event.clickCount, obsoleting old dblclick event. 1999-09-22 02:29:33 +00:00
[email protected] 04dce4da11 fix for going to correct offset in selection with keyboard navigation 1999-09-22 01:19:04 +00:00
[email protected] 95d94af406 changes to selection code to stop a never ending loop 1999-09-21 22:58:14 +00:00
[email protected] bac2a6f830 removed ReResolveStyleContext
added style tree verify flag
1999-09-21 07:51:52 +00:00
[email protected] 10e7579f15 checking in fixes for selection around nodes where get primary frame will not lead to the discovery of all frames 1999-09-20 21:47:37 +00:00
[email protected] 72a2746733 formatting sillyness 1999-09-15 20:38:42 +00:00
[email protected] b3cf7fa0a2 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
[email protected] ac9a3703d7 Removed MoveInSpaceManager 1999-09-15 00:26:39 +00:00
[email protected] 9ae06d487f Fix a warning. 1999-09-14 23:41:49 +00:00
[email protected] c59f7fd9c7 fixes for crasher in tree 1999-09-11 00:18:02 +00:00
[email protected] 86e3b61de7 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
[email protected] 9e5290fa61 added content state changed notification 1999-09-10 05:52:23 +00:00
[email protected] d3912a1766 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
[email protected] 948e023c76 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
[email protected] e5cede04c9 added accessors to additional style contexts 1999-09-03 23:35:14 +00:00
[email protected] a2c791d899 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
[email protected] 0d0c583aac Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
[email protected] 3dbd670c62 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
[email protected] d8e2481d99 Added IsFrameTreeTooDeep method to support code handling bug #10310 1999-08-27 21:48:06 +00:00
[email protected] 60fbbf750c added in selection of tables/images as blue borders for browser. 1999-08-25 22:19:23 +00:00
[email protected] 399f8a6195 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
[email protected] 10437b3f87 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
[email protected] 454b06e71e Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
[email protected] 98c8e85c2b Added VerifyDirtyBitSet() helper function 1999-07-24 02:37:06 +00:00
[email protected] 3dd72d0e69 Added ReplaceFrame() member function to nsIFrame 1999-07-22 04:32:31 +00:00
[email protected] d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
[email protected] 0c1d0440da Added NS_FRAME_IS_DIRTY flag to the frame state flags 1999-07-21 23:47:01 +00:00
[email protected] 68b53a1be4 Removed IsTransparent() function from nsIFrame 1999-07-21 23:15:39 +00:00
[email protected] 8e4c13fcd1 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
[email protected] e0a7b14080 Added NotifyDestroyingFrame() function to nsIPresShell 1999-07-16 23:25:15 +00:00
[email protected] 3a1fd2bce3 checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection 1999-07-15 18:19:03 +00:00
[email protected] 3ec120981b 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
[email protected] 6f15c1c10a Fix for bug #5762. Changed DeleteFrame() to call CancelReflowCommand()
when a frame is destroyed
1999-06-25 04:22:15 +00:00
[email protected] fd9e73540d Better comment to describe the NORMAL_DRAG_HANDLING #define. 1999-06-21 23:24:33 +00:00
[email protected] 7e395c1cd9 Fixing drag test case, this is #if 0 by default. 1999-06-21 23:19:54 +00:00
[email protected] 48657cb684 commenting out errant printf! 1999-06-21 20:31:30 +00:00
[email protected] 58d7d53759 fix tree bustage. 1999-06-19 21:13:48 +00:00
[email protected] e9e5ebf31b 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
[email protected] d36c31368a 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
1999-06-10 21:08:17 +00:00
[email protected] 477422b696 Adding new method to nsIDOMNSUIEvent to give event pos as range offset. 1999-06-08 02:19:26 +00:00
[email protected] 44682d4cbb changes so that transferable no longer takes ownership of dataflavor string, but correctly copies it. fix some memory leaks as well. 1999-06-07 20:43:23 +00:00
[email protected] 496943c89a fixed warnings 1999-06-03 02:09:03 +00:00
[email protected] 255745201b 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. 1999-06-01 23:04:13 +00:00
[email protected] 86e67940d8 new multiple-item drag and drop apis. 1999-05-26 21:08:14 +00:00
[email protected] 2c77f1b613 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply 1999-05-20 00:52:00 +00:00
[email protected] d1520ed3dc adding in selection of non text frames in editor only 1999-05-17 00:21:18 +00:00
[email protected] 147dc75104 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... 1999-05-13 00:44:23 +00:00