cmanske%netscape.com
89f6311468
Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
2000-03-21 06:04:02 +00:00
cmanske%netscape.com
ba3457173e
Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
2000-03-16 23:45:39 +00:00
jdunn%netscape.com
79a31a4d59
Fix problem with NS_IF_ADDREF on member variables inside of const
...
member functions. This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h
r=troy@netscape.com ,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
pinkerton%netscape.com
b12d6cf17a
removed obsolete (and ifdef'd out) d&d test code. r=saari.
2000-02-15 07:13:21 +00:00
vidur%netscape.com
306c814879
Fix for bug 9140. Area elements now have event fired for them. r=joki
2000-02-11 01:24:59 +00:00
mjudge%netscape.com
a27771d4f5
big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
2000-02-10 04:35:51 +00:00
dbaron%fas.harvard.edu
2d313e91ec
Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
...
r=joki
2000-02-03 02:49:58 +00:00
troy%netscape.com
eeed59e5ff
r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
...
so we can quickly tell whether the frame has an associated view
2000-02-03 00:51:37 +00:00
pp%ludusdesign.com
43d7ba4273
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
kmcclusk%netscape.com
dc23d344e1
Added support for widgetless viewmanager. Changed code pattern that assumed the root view
...
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
troy%netscape.com
73a3709284
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
brade%netscape.com
7ee5171309
use proper key for discontiguous selection on Mac (r=jfrancis)
2000-01-13 16:07:03 +00:00
mjudge%netscape.com
0015473d9a
small changes for 22752 ctrl left and right. r=cmanske
2000-01-12 21:39:36 +00:00
putterman%netscape.com
ff3328ee49
This should fix the build bustage.
2000-01-12 17:20:16 +00:00
nisheeth%netscape.com
409aee6ae9
r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
2000-01-12 08:28:24 +00:00
mjudge%netscape.com
45c4933f44
bug 15982 r=cmanske. needed more places to add checks for style turning off normal selection.
2000-01-11 19:44:59 +00:00
mjudge%netscape.com
eecd5e732f
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
2000-01-08 00:31:32 +00:00
troy%netscape.com
3c7966f705
Change to how overflow is handled for absolutely positioned elements.
...
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
hyatt%netscape.com
16a944a1e3
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
troy%netscape.com
a43233ea1a
Correctly this time
1999-12-01 04:13:19 +00:00
troy%netscape.com
cfcb675bb4
Removed some commented out dead code
1999-12-01 04:12:46 +00:00
pierre%netscape.com
c96bf41683
12520 "GFX select elements need to be able to turn off text". Fixing previous checkins in nsFrame::DisplaySelection(): mUserSelect is not a bit field.
1999-11-30 23:31:16 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
mjudge%netscape.com
a7cd9f0066
Fixing mac issue with selection dragging not working when above or below single line text. aka URL. mac has a different preference now. this may be done with look and feel object later. hyatt,cmanske(19191)
1999-11-24 01:10:22 +00:00
mjudge%netscape.com
22011f00ad
missed a |= instead of just a ==. The compared variable is a bitflag not just a number.
1999-11-23 22:49:44 +00:00
mjudge%netscape.com
59b8ea67f0
small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt?
1999-11-23 20:30:21 +00:00
pierre%netscape.com
c1abaa96a5
12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge.
1999-11-23 01:07:56 +00:00
troy%netscape.com
fe56995443
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
kin%netscape.com
655697a251
Fix for bug #17989 : Selection AutoScrolling broken when using GFX Scrollbars
...
layout/base/src/nsRangeList.cpp
- Added ConstrainFrameAndPointToAnchorSubtree() and various utility
methods.
- Modified HandleDrag() to call ConstrainFrameAndPointToAnchorSubtree().
layout/html/base/src/nsFrame.cpp
- Modified GetContentAndOffsetFromPoint() to skip over generated
and anonymous content frames.
layout/html/base/src/nsGfxScrollFrame.cpp
layout/html/base/src/nsGfxScrollFrame.h
- Override the default nsFrame::GetContentAndOffsetsFromPoint()
implementation with a version that calls
mInner->GetContentAndOffsetsFromPoint(). This prevents the
scrollbar frames from being included in the search.
view/src/nsScrollPortView.cpp
- Fixed bug where GetContainerSize() was returning the size of the
ScrollPortView instead of the ScrolledView.
r=evaughan@netscape.com
1999-11-18 19:40:52 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
mjudge%netscape.com
c4fafc566c
small fix from pierre on use of the style system. pierre reviewed.
1999-11-03 00:11:49 +00:00
troy%netscape.com
29fb654d25
Changed QueryInterface() to check for nsIFrameDebug
1999-11-02 05:49:11 +00:00
troy%netscape.com
04accb3de6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
troy%netscape.com
effb3aefb7
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
mjudge%netscape.com
17c9ff17c4
i cannot find the bug# it is for selecting inside forms. we need to turn off selection in certain frames based on the style. this sets up it to work once we figure out the style rule to set.
1999-10-29 23:07:07 +00:00
troy%netscape.com
e2dfeedb8d
Changed view to be stored as a frame property instead of a member data
...
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com
8b70d1eabe
Change to some assertions in debug mode
1999-10-27 00:53:15 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
dac6d1119c
Changed nsTextFrame to be derived from nsFrame instead of nsSplittableFrame.
...
nsTextFrame now has only a next-in-flow pointer and no prev-in-flow pointer.
Subclass nsContinuingTextFrame is used for continuing text frames; it has a
prev-in-flow pointer. This saves 4 bytes
1999-10-23 23:19:14 +00:00
troy%netscape.com
918255682c
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
kipp%netscape.com
705faaa709
Removed some more warnings
1999-10-22 14:51:41 +00:00
mjudge%netscape.com
3d3eb16f9a
massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me
1999-10-22 00:19:18 +00:00
peterl%netscape.com
757c0b5f01
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
mjudge%netscape.com
8ca2604934
bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling.
1999-10-13 01:15:26 +00:00
troy%netscape.com
6236da7013
b=15509, r=peterl@netscape.com
...
If the frame has visible content that extends outside its content area,
then the view needs to be marked as having transparent content
1999-10-13 01:02:53 +00:00
kipp%netscape.com
5d5bafb2c1
Port to new nsILineIterator api
1999-10-12 23:25:19 +00:00
kipp%netscape.com
3741d5254a
r=troy; Added in ctor/dtor counting
1999-10-05 14:51:12 +00:00
peterl%netscape.com
697873d57e
removing dead style change code
...
r=troy
1999-10-02 04:24:20 +00:00
kin%netscape.com
ff2c034123
First pass implementation of selection auto scrolling.
...
layout/base/public/nsIFrame.h
- Added GetContentAndOffsetsFromPoint() method. This
method will eventually replace GetPosition().
layout/base/public/nsIFrameSelection.h
- Added HandleDrag() and Start/StopAutoScrollTimer() methods.
layout/base/src/nsRangeList.cpp
- Added implementation for HandleDrag() and
Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsBRFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
layout/html/base/src/nsFrame.cpp
layout/html/base/src/nsFrame.h
- Added implementation for GetContentAndOffsetsFromPoint().
- Added GetClosestViewForFrame() utility method.
- Modified HandleEvent() to call HandleRelease() which now
stops the auto scrolling timers.
- Modified HandleDrag() to call nsIFrameSelection's HandleDrag()
and Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsTextFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
1999-09-29 20:04:05 +00:00
peterl%netscape.com
45ae24d59f
manage view visibility better, hide collapsed views and hidden views with widgets
1999-09-29 03:37:02 +00:00
troy%netscape.com
3b9c13faa9
Fixes for bug #2552 and bug #10961
1999-09-26 20:40:29 +00:00
mjudge%netscape.com
0bb65d1fc8
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
1999-09-25 23:33:02 +00:00
mjudge%netscape.com
247c5ac792
more tweaks for line boundaries. previous
1999-09-22 07:26:37 +00:00
mjudge%netscape.com
8e608e33df
tweaked word left and word right again. got double click working on edge cases! yeah
1999-09-22 07:09:41 +00:00
mjudge%netscape.com
f187d94247
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
mjudge%netscape.com
f4d520bbf9
approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping
1999-09-22 05:56:44 +00:00
mjudge%netscape.com
375e6fb76f
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
joki%netscape.com
de1d4abc32
Adding support for event.clickCount, obsoleting old dblclick event.
1999-09-22 02:29:33 +00:00
mjudge%netscape.com
208c00015a
fix for going to correct offset in selection with keyboard navigation
1999-09-22 01:19:04 +00:00
mjudge%netscape.com
f9f66c8c83
changes to selection code to stop a never ending loop
1999-09-21 22:58:14 +00:00
peterl%netscape.com
342937acdb
removed ReResolveStyleContext
...
added style tree verify flag
1999-09-21 07:51:52 +00:00
mjudge%netscape.com
790ac1c492
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
kipp%netscape.com
05070071b7
formatting sillyness
1999-09-15 20:38:42 +00:00
mjudge%netscape.com
3a9ca8d5ed
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
kipp%netscape.com
99de390ca1
Removed MoveInSpaceManager
1999-09-15 00:26:39 +00:00
sfraser%netscape.com
86b2202eba
Fix a warning.
1999-09-14 23:41:49 +00:00
mjudge%netscape.com
24a5d270fd
fixes for crasher in tree
1999-09-11 00:18:02 +00:00
mjudge%netscape.com
8a55b0d40e
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
c1fcb2b00d
added content state changed notification
1999-09-10 05:52:23 +00:00
mjudge%netscape.com
7b6345b29b
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
8a90ee7653
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
6c381d978e
added accessors to additional style contexts
1999-09-03 23:35:14 +00:00
mjudge%netscape.com
c9b2693769
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
dff5b76938
Updated SizeOf methods to not waste space when doing a non-debug build
1999-09-01 01:02:16 +00:00
kipp%netscape.com
fd426dec6a
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
1999-08-31 03:09:40 +00:00
kipp%netscape.com
175f8c7657
Added IsFrameTreeTooDeep method to support code handling bug #10310
1999-08-27 21:48:06 +00:00
mjudge%netscape.com
031762a187
added in selection of tables/images as blue borders for browser.
1999-08-25 22:19:23 +00:00
mjudge%netscape.com
1ca330a9f0
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
rods%netscape.com
64a561b6a4
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
troy%netscape.com
2a655ce368
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
troy%netscape.com
7478781693
Added VerifyDirtyBitSet() helper function
1999-07-24 02:37:06 +00:00
troy%netscape.com
ede5a246de
Added ReplaceFrame() member function to nsIFrame
1999-07-22 04:32:31 +00:00
troy%netscape.com
9fdbc7ced3
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
troy%netscape.com
b2994f2d65
Added NS_FRAME_IS_DIRTY flag to the frame state flags
1999-07-21 23:47:01 +00:00
troy%netscape.com
f48928d205
Removed IsTransparent() function from nsIFrame
1999-07-21 23:15:39 +00:00
mjudge%netscape.com
7ddf8fee55
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
troy%netscape.com
548827fdf5
Added NotifyDestroyingFrame() function to nsIPresShell
1999-07-16 23:25:15 +00:00
mjudge%netscape.com
a2f598637e
checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection
1999-07-15 18:19:03 +00:00
kipp%netscape.com
342e03b752
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
troy%netscape.com
6b4be3d824
Fix for bug #5762 . Changed DeleteFrame() to call CancelReflowCommand()
...
when a frame is destroyed
1999-06-25 04:22:15 +00:00
mcafee%netscape.com
47e22f078a
Better comment to describe the NORMAL_DRAG_HANDLING #define.
1999-06-21 23:24:33 +00:00
mcafee%netscape.com
bd158627db
Fixing drag test case, this is #if 0 by default.
1999-06-21 23:19:54 +00:00
mjudge%netscape.com
667fc51569
commenting out errant printf!
1999-06-21 20:31:30 +00:00
sspitzer%netscape.com
e744366a53
fix tree bustage.
1999-06-19 21:13:48 +00:00
mjudge%netscape.com
9eccad5750
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
mjudge%netscape.com
1e4bbda958
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
joki%netscape.com
6f1a265019
Adding new method to nsIDOMNSUIEvent to give event pos as range offset.
1999-06-08 02:19:26 +00:00
pinkerton%netscape.com
26fdcb06d3
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
peterl%netscape.com
ea2a67cdbd
fixed warnings
1999-06-03 02:09:03 +00:00
mjudge%netscape.com
51faf8cbdb
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