akkana%netscape.com
481b7a5c02
38232 (nsbeta2+): Make line break character configurable in the
...
output system, and use \n (the DOM linebreak character) when getting
output from text controls. Also fix some warnings. r=kin.
2000-07-10 19:46:59 +00:00
anthonyd%netscape.com
b752b18c25
bug fix for #40742
...
crasher in DrillDownToEndOfLine()
r:mjudge a:beppe precheckin test done
2000-06-22 00:41:42 +00:00
anthonyd%netscape.com
2ba178903c
warning fixes for linux. r: mjudge a: beppe
2000-06-16 22:28:10 +00:00
kin%netscape.com
1739a10bbd
Part2 of fix for bug #39821 : Drag and Drop interferes with selection
...
Made GetSelectionController() a public method on the nsIFrame interface,
so that nsEventStateManager::GenerateDragGesture() has access to it. This
prevents D&D from interfering with selection in Ender-Lite.
layout/base/public/nsIFrame.h
layout/events/src/nsEventStateManager.cpp
layout/html/base/src/nsFrame.h
layout/html/base/src/nsFrame.cpp
r=buster@netscape.com ,brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com
2000-05-31 03:20:02 +00:00
cmanske%netscape.com
c28f13972f
Added row/column selection in tables: Bug 26833. r=kin, a=beppe
2000-05-31 00:07:58 +00:00
evaughan%netscape.com
55816643f1
fix for [beta2] bugs:
...
37835
39085
32920
-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
kin%netscape.com
108b7677fd
Part 1 of fix for bug #39821 : Drag and Drop interferes with selection.
...
layout/base/public/nsIFrameSelection.h
layout/base/src/nsSelection.cpp
layout/events/src/nsEventStateManager.cpp
layout/html/base/src/nsFrame.cpp
layout/html/forms/src/nsGfxTextControlFrame2.cpp
xpfe/browser/resources/content/navigatorDD.js
r=brade@netscape.com ,cmanske@netscape.com a=beppe@netscape.com ,waterson@netscape.com
2000-05-25 20:04:02 +00:00
akkana%netscape.com
d39b10a680
Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection.
2000-05-16 22:48:28 +00:00
kin%netscape.com
e56254aabb
- First pass checkin for a Drag and Drop friendlier selection. (Bug #38527 ) Code is ifdef'd out with DRAG_AND_DROP_FRIENDLY_SELECTION.
...
- Replaced tabs with spaces.
2000-05-16 22:16:05 +00:00
mjudge%netscape.com
5237a6fe65
changes for setcapture.
2000-05-16 13:52:28 +00:00
anthonyd%netscape.com
7ab436fd88
avoiding confusion between line iterator between layout and navigation.
...
if you want a line iterator for navigation you must explicitly ask for one.
2000-05-16 08:11:14 +00:00
cmanske%netscape.com
acad8adcca
Select table column and row support (20973). r=mjudge
2000-05-16 03:03:13 +00:00
mjudge%netscape.com
d12e670ad8
updating capture code
2000-05-14 03:41:25 +00:00
anthonyd%netscape.com
8bbcc675f6
more changes to make table navigation in editor
...
work correctly and not crash.
2000-05-14 00:10:25 +00:00
mjudge%netscape.com
fa4088842d
fixing warnings and some redundant code
2000-05-13 20:47:42 +00:00
mjudge%netscape.com
4d87ea0999
fixing up some of the calls for frameselection to setting mousedown state
2000-05-13 08:09:03 +00:00
mjudge%netscape.com
55912eddb8
changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
2000-05-11 04:25:43 +00:00
anthonyd%netscape.com
e8ceb8ee1b
r:mjudge
...
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
mjudge%netscape.com
9fc3ea7f15
adjusting how we get nsIFrameSelection. maybe we can QI from SelectionController
2000-05-08 03:59:53 +00:00
mjudge%netscape.com
450040c157
bad infiniteloop fix
2000-05-05 02:38:03 +00:00
mjudge%netscape.com
24e9fbcab6
stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out.
2000-05-04 08:35:42 +00:00
anthonyd%netscape.com
9a23850613
r: mjudge
...
table bacgrounds now sleected properly with disabled selection
(grey selection)
2000-04-30 18:56:26 +00:00
mjudge%netscape.com
7e5a6b3cd7
change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument
2000-04-28 06:21:31 +00:00
mjudge%netscape.com
2c0953e1be
ender lite checkin.
2000-04-27 07:37:12 +00:00
troy%netscape.com
6b04c3b5fa
Reinstated clipping code which had been backed out because it caused
...
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com
42e26161e8
Backing out troy's changes to fix various UI blocker bugs.
2000-04-24 22:15:55 +00:00
troy%netscape.com
9b393faa48
Changes to bring clipping inline with upcoming CSS2 errata
2000-04-23 00:56:16 +00:00
rods%netscape.com
21de9f3e8a
Add ifdef'ed Performance Reflow Counting code
2000-04-21 14:59:47 +00:00
anthonyd%netscape.com
815b66f915
drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge
2000-04-20 23:11:41 +00:00
mjudge%netscape.com
7caea63ed1
a=gramps. smoketest fix for 35590
2000-04-13 00:15:02 +00:00
mjudge%netscape.com
ac8d5b837a
dangit
2000-04-12 05:48:03 +00:00
mjudge%netscape.com
6536f6d6d7
left out static in prototype. mac compiler...grumble
2000-04-12 05:43:42 +00:00
morse%netscape.com
90e57a8f70
attempt to fix mac bustage
2000-04-12 05:20:49 +00:00
mjudge%netscape.com
c6128bbf01
dangit forgot this one
2000-04-12 03:35:27 +00:00
mjudge%netscape.com
f0c0beb50c
fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view.
2000-04-12 03:04:11 +00:00
scc%netscape.com
e37740acdb
making string conversions explicit
2000-04-03 11:39:09 +00:00
jim_nance%yahoo.com
dc0e139673
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
2000-03-30 03:21:26 +00:00
mjudge%netscape.com
9c968a3902
small change to stop selection from being notified of clicks on non selecteable sytle content
2000-03-25 01:14:39 +00:00
dbaron%fas.harvard.edu
87e19c9cef
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
2000-03-22 02:43:08 +00:00
cmanske%netscape.com
01933d5726
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
2824049212
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
080142580c
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
15c85ef5ee
removed obsolete (and ifdef'd out) d&d test code. r=saari.
2000-02-15 07:13:21 +00:00
vidur%netscape.com
d4b67b3219
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
b32999a1de
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
bf2b8a41ed
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
792c9c1053
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
58065dda04
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
kmcclusk%netscape.com
eeeb109f4c
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
8a78d916a5
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
ef62b4b778
use proper key for discontiguous selection on Mac (r=jfrancis)
2000-01-13 16:07:03 +00:00
mjudge%netscape.com
118e690267
small changes for 22752 ctrl left and right. r=cmanske
2000-01-12 21:39:36 +00:00
putterman%netscape.com
7650e4cd34
This should fix the build bustage.
2000-01-12 17:20:16 +00:00
nisheeth%netscape.com
56525e3574
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
3ec359f588
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
dcbf3266bd
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
2000-01-08 00:31:32 +00:00
troy%netscape.com
85012ab550
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
de2eaede42
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
01dc596189
Correctly this time
1999-12-01 04:13:19 +00:00
troy%netscape.com
6c92be92a0
Removed some commented out dead code
1999-12-01 04:12:46 +00:00
pierre%netscape.com
046ba35285
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
af1ce8d410
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
d1b5f823f1
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
e5cc293e99
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
d7fbad6cea
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
096c23050e
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
597b5f236b
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
kin%netscape.com
9ce2f08c0b
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
5312eacf8c
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
cb31827195
small fix from pierre on use of the style system. pierre reviewed.
1999-11-03 00:11:49 +00:00
troy%netscape.com
614cbe4d17
Changed QueryInterface() to check for nsIFrameDebug
1999-11-02 05:49:11 +00:00
troy%netscape.com
1585a751fb
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
troy%netscape.com
a12c3d6c5d
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
21ff71f017
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
2ea886f3be
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
2e4ab18e9c
Change to some assertions in debug mode
1999-10-27 00:53:15 +00:00
troy%netscape.com
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
29963d8875
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
f5ba346bdc
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
kipp%netscape.com
8f4ae7163a
Removed some more warnings
1999-10-22 14:51:41 +00:00
mjudge%netscape.com
7d0e807931
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
a6adfea707
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
fc71fb36d1
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
e592be8776
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
5a9e69f0c8
Port to new nsILineIterator api
1999-10-12 23:25:19 +00:00
kipp%netscape.com
a2f1c7cf5a
r=troy; Added in ctor/dtor counting
1999-10-05 14:51:12 +00:00
peterl%netscape.com
724aca8163
removing dead style change code
...
r=troy
1999-10-02 04:24:20 +00:00
kin%netscape.com
ca92ac282c
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
cd5a8a17d1
manage view visibility better, hide collapsed views and hidden views with widgets
1999-09-29 03:37:02 +00:00
troy%netscape.com
9430750742
Fixes for bug #2552 and bug #10961
1999-09-26 20:40:29 +00:00
mjudge%netscape.com
2c78141fa6
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
c6fd49197c
more tweaks for line boundaries. previous
1999-09-22 07:26:37 +00:00
mjudge%netscape.com
e989c3be45
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
6976c807dc
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
99dadf07b9
approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping
1999-09-22 05:56:44 +00:00
mjudge%netscape.com
88c407b158
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
4016178c5d
Adding support for event.clickCount, obsoleting old dblclick event.
1999-09-22 02:29:33 +00:00
mjudge%netscape.com
dfcf0208d4
fix for going to correct offset in selection with keyboard navigation
1999-09-22 01:19:04 +00:00
mjudge%netscape.com
1e48363fd7
changes to selection code to stop a never ending loop
1999-09-21 22:58:14 +00:00
peterl%netscape.com
ecb4bd83d0
removed ReResolveStyleContext
...
added style tree verify flag
1999-09-21 07:51:52 +00:00
mjudge%netscape.com
3c9065ac80
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
bbea57fc6b
formatting sillyness
1999-09-15 20:38:42 +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
kipp%netscape.com
d0e73c20e6
Removed MoveInSpaceManager
1999-09-15 00:26:39 +00:00
sfraser%netscape.com
2ad5b8ffa2
Fix a warning.
1999-09-14 23:41:49 +00:00
mjudge%netscape.com
eaa78b424a
fixes for crasher in tree
1999-09-11 00:18:02 +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
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
09ea141535
added accessors to additional style contexts
1999-09-03 23:35:14 +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
7fe2679e86
Updated SizeOf methods to not waste space when doing a non-debug build
1999-09-01 01:02:16 +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
kipp%netscape.com
0131e47431
Added IsFrameTreeTooDeep method to support code handling bug #10310
1999-08-27 21:48:06 +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
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
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
troy%netscape.com
f901be20dc
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
troy%netscape.com
17838b7952
Added VerifyDirtyBitSet() helper function
1999-07-24 02:37:06 +00:00
troy%netscape.com
1df4c2d244
Added ReplaceFrame() member function to nsIFrame
1999-07-22 04:32:31 +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
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
troy%netscape.com
f9d48b07a9
Added NotifyDestroyingFrame() function to nsIPresShell
1999-07-16 23:25:15 +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
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
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
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
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
mjudge%netscape.com
225111bf33
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
7e2352ba3a
Adding new method to nsIDOMNSUIEvent to give event pos as range offset.
1999-06-08 02:19:26 +00:00
pinkerton%netscape.com
1e3b08c682
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
cdd55f947d
fixed warnings
1999-06-03 02:09:03 +00:00
mjudge%netscape.com
864e061209
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
pinkerton%netscape.com
be6f4e4d75
new multiple-item drag and drop apis.
1999-05-26 21:08:14 +00:00
mjudge%netscape.com
4bff71e096
reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply
1999-05-20 00:52:00 +00:00
mjudge%netscape.com
a15e7eb5ac
adding in selection of non text frames in editor only
1999-05-17 00:21:18 +00:00
mjudge%netscape.com
c0ad47dc75
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
kipp%netscape.com
4846f41f1f
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
mjudge%netscape.com
47ffef477b
2 more checkins to follow previous ones
1999-05-07 21:19:04 +00:00
mjudge%netscape.com
884bb4bb82
massive checkin for selection modifications and removing static state variables for selection in nsFrame.h.
1999-05-07 21:12:59 +00:00
cyeh%netscape.com
8a1db8783c
backout mjudge checkin against closed tree. it also breaks mac as well, so
...
mjudge will try again when tree reopens
1999-05-05 23:05:41 +00:00
mjudge%netscape.com
f70863f3eb
removing static variables from nsFrame for selection. storing state in nsIFrameSelection Implementation.
1999-05-05 22:27:57 +00:00
kipp%netscape.com
b2a0219c52
Removed a compiler warning
1999-05-03 20:51:30 +00:00
mjudge%netscape.com
391dd39d84
m5 BUGS Choffman approved. simon reviewed. removing possible memory leak and getting anchor and focus frame to use the proper range instead of addreffing a node each! tested this afternoon
1999-04-29 20:24:21 +00:00
kipp%netscape.com
39c56cdb27
Removed compiler warnings
1999-04-27 22:14:17 +00:00
kin%netscape.com
86a3f435a4
Fix from mjudge@netscape.com for bug #5505 (Crash clicking on throbber in apprunner)
1999-04-26 19:38:22 +00:00
mjudge%netscape.com
f302ca2537
selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order.
1999-04-26 04:02:04 +00:00
rickg%netscape.com
e1012f40b9
sync with nsString2 API
1999-04-20 07:20:21 +00:00
kipp%netscape.com
85d4c50b17
Updated to new nsIHTMLReflow method signatures
1999-04-20 00:26:32 +00:00
kipp%netscape.com
fa95252534
Use revised image loading api
1999-04-13 21:51:00 +00:00
joki%netscape.com
b6f2484b5b
New api's into nsEventStateManager for content state change (hover,focus,active)
1999-04-12 21:24:07 +00:00
kipp%netscape.com
c3502c77a3
Added SetClipRect helper method
1999-04-10 17:32:22 +00:00
kipp%netscape.com
60f52440cb
Whacked paint methods to use new constants
1999-03-26 00:39:35 +00:00
peterl%netscape.com
32d3372e42
augmented ReResolveStyleContext to capture style change information
1999-03-25 06:43:38 +00:00
kipp%netscape.com
c9067260be
Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278 , #1990 , #3527 , #1670 , etc.
1999-03-18 21:03:25 +00:00
mjudge%netscape.com
c7ce92e475
I am "unfixing" something. This was something I introduced to prevent an M3 bug with a hack, it is not necessary anymore. reviewd by sfrasier. several people have verified this.
1999-03-16 00:08:38 +00:00
mjudge%netscape.com
dbe82d4fb3
fix hack for getting selection to "Really" update the frame
1999-03-14 01:18:47 +00:00
mjudge%netscape.com
f2625f7693
needed to get caret to draw at end of line and on an empty text element
1999-03-13 21:33:34 +00:00
mjudge%netscape.com
26d8cc3a13
fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins
1999-03-12 00:17:14 +00:00
kipp%netscape.com
119ced3c4c
Removed dead code; output rects naturally
1999-03-05 04:22:54 +00:00
mjudge%netscape.com
cba888fc69
updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal
1999-03-03 01:51:21 +00:00
kipp%netscape.com
960bc34221
fixed up operator new usage
1999-02-26 20:02:06 +00:00
kipp%netscape.com
760dc4af42
Fixed remaining issues with operator new/delete
1999-02-26 19:26:29 +00:00
kipp%netscape.com
c7fde5e17e
Implement operator delete; get rid of static constructor
1999-02-26 17:05:20 +00:00
troy%netscape.com
3bdf672129
Removed nsIFrame::CreateContinuingFrame()
1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
troy%netscape.com
03c5c1f520
Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
...
not references
1999-02-24 04:48:08 +00:00
kipp%netscape.com
6359d0f8d4
Revised the signature of the VerticalAlignFrames method
1999-02-23 19:32:20 +00:00
warren%netscape.com
01dd4f0ed6
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
1999-02-23 08:10:24 +00:00
mjudge%netscape.com
b13e4da265
Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words.
1999-02-22 04:59:52 +00:00
mjudge%netscape.com
cee2723326
Shift click to continue selection
1999-02-21 01:23:40 +00:00
mjudge%netscape.com
fb3a597e8a
nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp)
1999-02-19 23:47:36 +00:00
kipp%netscape.com
7c15c2fc1d
Removed GetAutoMarginSize; added VerticalAlignFrames
1999-02-18 03:25:23 +00:00
mjudge%netscape.com
90ade6856e
fixing some things for selection to allow keyboard navigation. not hooked up to caret yet. also removed some not used calls in nsFrame for the "old" selection model.
1999-02-16 02:42:08 +00:00
troy%netscape.com
0debd6f0d1
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
sfraser%netscape.com
9ab69a922e
Add two new methods needed for caret support (and other things): GetPointFromOffset, to get frame-relative coordinates of a given content offset, and GetChildFrameContainingOffset, to find the child frame that really contains the given content offset
1999-02-12 00:02:31 +00:00
akkana%netscape.com
7982a421d6
Rename nsISelection to nsIFrameSelection
1999-02-11 23:12:28 +00:00
troy%netscape.com
902190112d
API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
1999-02-11 15:56:23 +00:00
mjudge%netscape.com
d6da223dbd
Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661
1999-02-10 18:55:25 +00:00
troy%netscape.com
034aa56b83
Changed GetNextSibling() to use a pointer argument instead of a reference
1999-02-10 06:13:38 +00:00
troy%netscape.com
9d570499cf
Changed a bunch more nsIFrame member functions to be pointer arguments
...
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
e9bbeeaa9b
Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
...
references
1999-02-10 04:17:06 +00:00
troy%netscape.com
2ac7b86865
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com
c85f9efd2a
Changed GetParent() to use ** instead of *&
1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
troy%netscape.com
9c158de393
Added GetFrameType() member function
1999-02-09 05:44:13 +00:00
kipp%netscape.com
d83b6d14ee
Revamp regression data dumping
1999-02-08 17:56:00 +00:00
peterl%netscape.com
28a6de7ff5
added assertion for switching style contexts during reflow
1999-02-05 03:58:27 +00:00
kipp%netscape.com
752de3f766
tweak so font-lock in emacs works better
1999-02-04 16:28:36 +00:00
kipp%netscape.com
67741b5e3c
Removed a couple of warnings
1999-02-03 19:10:03 +00:00
mjudge%netscape.com
cd2d3d137c
keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now.
1999-02-02 00:23:40 +00:00
kipp%netscape.com
0887e5eedf
Removed ReplaceFrame; tweaked frame updates impls
1999-02-01 17:31:10 +00:00
mjudge%netscape.com
5ac012630e
adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow
1999-01-25 23:28:23 +00:00
troy%netscape.com
626cdf9ca8
Changed ContentChanged() to generate a reflow command
1999-01-22 23:07:09 +00:00
vidur%netscape.com
ae6e5a8019
Comments added to content model. Comments and text content now have a special tagname
1999-01-22 22:48:00 +00:00
mjudge%netscape.com
ee295b609b
selection rocks ass
1999-01-22 22:04:54 +00:00
mjudge%netscape.com
769d4b5a86
chagnes for selection to work
1999-01-22 18:58:14 +00:00
mjudge%netscape.com
dd0328320e
selection should work now more or less
1999-01-19 06:42:39 +00:00
kipp%netscape.com
7f96144059
Spanked away SizeOf methods and nsIListFilter
1999-01-16 00:00:50 +00:00
kipp%netscape.com
a1c6f729a4
Implement temporary versions of AppendFrames/InsertFrames/RemoveFrame; stub out ReplaceFrame
1999-01-15 01:29:15 +00:00
troy%netscape.com
036e6852f2
Removed the content-parent frame pointer. Now we just have the one geometric
...
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
5c75ea66f0
Fix for bug #2276 , and some initial support for 'right' and 'bottom'
...
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
troy%netscape.com
583682a5c1
Renamed FindFrameWithContent() to GetPrimaryFrameFor()
1998-12-29 04:45:18 +00:00
troy%netscape.com
7b5cc03059
Moved logic that deals with moving absolutely positioned frames out of the
...
flow to the frame construction code
1998-12-29 03:38:16 +00:00
akkana%netscape.com
c3905a8204
Attempt to patch mac build error
1998-12-18 21:04:33 +00:00
kipp%netscape.com
40c2cfef07
Fixed numerous compiler warnings (hopefully) from the mac build
1998-12-18 17:34:34 +00:00
kipp%netscape.com
c29e5116c7
Revised frame Paint API
1998-12-18 15:54:23 +00:00
mjudge%netscape.com
2f5ca67ece
adding in selection
1998-12-14 18:34:14 +00:00
kipp%netscape.com
398462eb7a
Moved a #if 0 to get rid of a compiler warning
1998-12-12 19:19:48 +00:00
mjudge%netscape.com
948d2e6638
chagnes to selection
1998-12-08 18:26:06 +00:00
mjudge%netscape.com
2d6a42cd38
new use of enumerator class changed IsDone to return NS_COMFALSE if not done
1998-12-03 21:44:54 +00:00
troy%netscape.com
2a4b2c503f
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
joki%netscape.com
e7f70ce9ce
Add click event support for every element and initial keypress event support
1998-11-24 07:46:58 +00:00
kipp%netscape.com
7ce43732e5
Walk up the content-parent so that style is applied appropriately for cursor selection
1998-11-23 22:20:50 +00:00
kipp%netscape.com
9582e9f3ec
Improved the regression dump data somewhat
1998-11-19 18:51:53 +00:00
kipp%netscape.com
50e5afb598
Added XMLQuote to quote special characters; changed MakeFrameName to avoid needing quoting
1998-11-19 17:55:22 +00:00
kipp%netscape.com
a6926809f0
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
joki%netscape.com
65520ba928
Modify event flow to avoid walking into trashed frames.
1998-11-19 00:43:36 +00:00
joki%netscape.com
77fd9c2652
Reworking internal event code to use nsIFrame::GetFrameForPoint
...
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
peterl%netscape.com
265c4ca8a7
cleaned up cursor style handling
1998-11-18 02:11:54 +00:00
kipp%netscape.com
973c0a528c
Eliminated NewFrame
1998-11-14 19:28:34 +00:00
troy%netscape.com
532ccd2885
Cleaned up the way construction of the root frame happens for XML documents.
...
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
kipp%netscape.com
366b13adac
Removed GetReflowMetrics
1998-11-10 18:03:42 +00:00
troy%netscape.com
527ee073f8
Renamed Init() to SetInitialChildList() and added an additional parameter
...
for the name of the child list
1998-11-10 06:05:32 +00:00
troy%netscape.com
9d8145f033
Added GetAdditionalChildListName() as a way to discover additional
...
named child lists at runtime
1998-11-09 19:59:33 +00:00
troy%netscape.com
081c78e696
First of a few changes to allow frames to have multiple child lists.
...
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
peterl%netscape.com
ed14dc36b1
made parent context no longer be optional on re-resolve style context method
1998-11-03 21:29:14 +00:00
peterl%netscape.com
e046b13589
sync to style resolution api changes
...
added reresolve support
1998-11-03 20:23:15 +00:00
kipp%netscape.com
915d9bece5
Added MoveInSpaceManager stub
1998-10-30 22:11:47 +00:00
kipp%netscape.com
a6731c54fe
Added methods to support justification
1998-10-27 16:51:21 +00:00
troy%netscape.com
6be0630937
Added new state flag NS_FRAME_SYNC_FRAME_AND_VIEW for controlling
...
whether the view is automatically positioned and sized to stay in
sync with the frame
1998-10-16 20:09:32 +00:00
kipp%netscape.com
c6db34691b
Removed skid marks; implement FindTextRuns again
1998-10-09 23:46:02 +00:00
troy%netscape.com
d25a9a35a2
Removed GetContentIndex() from nsIFrame
1998-10-08 20:35:16 +00:00
troy%netscape.com
7aceb4270d
Eliminated nsIRunaround interface, and folded space manager parameter into
...
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com
9b82a28284
modified for new fontmetrics/renderingcontext.
1998-10-02 01:12:39 +00:00
troy%netscape.com
ba3c7125c2
Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
...
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
troy%netscape.com
0b5728618a
Moved some files around
1998-09-30 21:01:11 +00:00