156 Commits

Author SHA1 Message Date
peterl%netscape.com
12c3349911 manage view visibility better, hide collapsed views and hidden views with widgets
git-svn-id: svn://10.0.0.236/trunk@49293 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 03:37:02 +00:00
troy%netscape.com
e5689ac462 Fixes for bug #2552 and bug #10961
git-svn-id: svn://10.0.0.236/trunk@49106 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 20:40:29 +00:00
mjudge%netscape.com
12908f2dd0 fixes for M11 a=shaver r=cmanske. this will add 1 enumerator value to en enum in nsIFrame so dont be scared. this is for tweaking selection should not affect anyone outside of selection/editor
git-svn-id: svn://10.0.0.236/trunk@49076 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 23:33:02 +00:00
mjudge%netscape.com
7971bfb7e6 more tweaks for line boundaries. previous
git-svn-id: svn://10.0.0.236/trunk@48833 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 07:26:37 +00:00
mjudge%netscape.com
b8eaf7bac4 tweaked word left and word right again. got double click working on edge cases! yeah
git-svn-id: svn://10.0.0.236/trunk@48829 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 07:09:41 +00:00
mjudge%netscape.com
6b1af498fe 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.
git-svn-id: svn://10.0.0.236/trunk@48812 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 06:12:44 +00:00
mjudge%netscape.com
e27650740e approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping
git-svn-id: svn://10.0.0.236/trunk@48797 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 05:56:44 +00:00
mjudge%netscape.com
807d5be104 fixes for line/frame traversal. now we use more common code inside nsFrame rather than nsTextFrame specific code all the time.
git-svn-id: svn://10.0.0.236/trunk@48778 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 04:12:23 +00:00
joki%netscape.com
1042dd0a3f Adding support for event.clickCount, obsoleting old dblclick event.
git-svn-id: svn://10.0.0.236/trunk@48743 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 02:29:33 +00:00
mjudge%netscape.com
8558ff33bb fix for going to correct offset in selection with keyboard navigation
git-svn-id: svn://10.0.0.236/trunk@48708 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 01:19:04 +00:00
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