mjudge%netscape.com
57b5f5c79b
adding scrolling depending on selection modification. either by key event, or outside event.
...
git-svn-id: svn://10.0.0.236/trunk@21431 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 03:49:32 +00:00
mjudge%netscape.com
46b7661e5e
Extra parameter in nsIFrameSeleciton HandleKeyEvent not necessary. nsRangeList mod now allows SHIFT-Key selection. currently bound directly to VK_LEFT,RIGHT should be changed eventually to something more internationaly friendly
...
git-svn-id: svn://10.0.0.236/trunk@21416 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 23:52:05 +00:00
buster%netscape.com
8a7091809c
the pres shell now respects NS_PRESSHELL_SCROLL_ANYWHERE for vertical scrolling.
...
this is a hack implementation, to be recoded by the layout team
git-svn-id: svn://10.0.0.236/trunk@21407 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 21:27:28 +00:00
mjudge%netscape.com
b52264a83e
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)
...
git-svn-id: svn://10.0.0.236/trunk@21359 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:47:36 +00:00
buster%netscape.com
adcc22143f
work-in-progress for scrolling frames into view. Not called anywhere in layout yet.
...
git-svn-id: svn://10.0.0.236/trunk@21357 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:43:41 +00:00
buster%netscape.com
f92429b874
added nsPresShell::ScrollFrameIntoView(), which forces the given frame to be visible in the current view.
...
git-svn-id: svn://10.0.0.236/trunk@21222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:52:21 +00:00
troy%netscape.com
e0e1a0be11
Added code to set/get the view manager's root scrollable view
...
git-svn-id: svn://10.0.0.236/trunk@20764 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 04:41:15 +00:00
kipp%netscape.com
777c2af1fe
Use correct IID when doing QueryInterface to avoid using incorrect vtable (bug #2782 )
...
git-svn-id: svn://10.0.0.236/trunk@20663 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 17:49:42 +00:00
sfraser%netscape.com
1e8e639c11
Add an accessor for the caret, RefreshCaret, and a couple of other private caret methods in nsPresShell.
...
git-svn-id: svn://10.0.0.236/trunk@20655 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 04:45:44 +00:00
troy%netscape.com
176116b148
Fixed some errors related to switch to using nsCOMPtr
...
git-svn-id: svn://10.0.0.236/trunk@20585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:41:26 +00:00
kipp%netscape.com
9b917419dc
COMized nsIPresShell and nsIPresContext
...
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
troy%netscape.com
946499d8d7
Added GoToAnchor()
...
git-svn-id: svn://10.0.0.236/trunk@20531 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:39:33 +00:00
sfraser%netscape.com
9b636c9328
Fix selection bustage, which was a post-merge error on my part.
...
git-svn-id: svn://10.0.0.236/trunk@20478 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:27:44 +00:00
sfraser%netscape.com
7b5c0a5490
Add code to show a caret (#ifdeffed out for now)
...
git-svn-id: svn://10.0.0.236/trunk@20473 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:02:56 +00:00
akkana%netscape.com
0ebe0a4652
Rename nsISelection to nsIFrameSelection
...
git-svn-id: svn://10.0.0.236/trunk@20457 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:12:28 +00:00
buster%netscape.com
f303703535
added GetLayoutObjectFor for getting a layout object as an nsISupports
...
while not exposing nsIFrame.
git-svn-id: svn://10.0.0.236/trunk@20304 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 23:21:22 +00:00
mjudge%netscape.com
2a9e445535
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
...
git-svn-id: svn://10.0.0.236/trunk@20274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:55:25 +00:00
troy%netscape.com
bd78450e96
Changed GetNextSibling() to use a pointer argument instead of a reference
...
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
339afcce8a
Changed a bunch more nsIFrame member functions to be pointer arguments
...
instead of references
git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00
troy%netscape.com
3635a7c72c
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
troy%netscape.com
2af2ec249b
Changed GetParent() to use ** instead of *&
...
git-svn-id: svn://10.0.0.236/trunk@20205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:36:30 +00:00
troy%netscape.com
8934624982
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
troy%netscape.com
fae2e7b855
Fixed ContentRemoved() to also remove the shell's mapping from absolutely
...
positioned element to its placeholder
git-svn-id: svn://10.0.0.236/trunk@19924 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 17:10:42 +00:00
troy%netscape.com
07105200e3
Fixed a bad #ifdef
...
git-svn-id: svn://10.0.0.236/trunk@19919 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 04:26:30 +00:00
troy%netscape.com
4a04416d1c
#ifdef CantRenderReplacedElement() to be _WIN32 for the time being until
...
the Mac problems with the thread event queue are straightened out
git-svn-id: svn://10.0.0.236/trunk@19910 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:41:14 +00:00
troy%netscape.com
155dd50f2c
Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
...
code to use it
git-svn-id: svn://10.0.0.236/trunk@19860 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 18:25:29 +00:00
vidur%netscape.com
1349b5dad4
Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work
...
git-svn-id: svn://10.0.0.236/trunk@19537 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:38:16 +00:00
mjudge%netscape.com
1b0340eba8
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.
...
git-svn-id: svn://10.0.0.236/trunk@19246 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:23:40 +00:00
akkana%netscape.com
52b18e6064
Implement a new interface, nsIDOMSelection, intended to become the
...
external interface for selection (to be IDL-ified later).
Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
git-svn-id: svn://10.0.0.236/trunk@19029 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:57:56 +00:00
troy%netscape.com
d0406126ba
Changed scrolling so it happens on the viewport instead of the HTML
...
element
git-svn-id: svn://10.0.0.236/trunk@18539 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:05:21 +00:00
mjudge%netscape.com
58d3c27e3c
ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace?
...
git-svn-id: svn://10.0.0.236/trunk@18462 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 01:48:01 +00:00
peterl%netscape.com
dd89cd1401
added helper methods for selecting & querying alternate style sheets
...
git-svn-id: svn://10.0.0.236/trunk@18426 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:03:46 +00:00
troy%netscape.com
1128cee41a
Added XXX comment indicating that the #if 0 code in Init() is causing
...
a memory leak...
git-svn-id: svn://10.0.0.236/trunk@18399 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:38:16 +00:00
akkana%netscape.com
579c399f12
2028: Get selection highlighting working on Linux
...
git-svn-id: svn://10.0.0.236/trunk@18373 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:00:46 +00:00
mjudge%netscape.com
06c5902e82
chagnes for selection to work
...
git-svn-id: svn://10.0.0.236/trunk@18322 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 18:58:14 +00:00
mjudge%netscape.com
2434c90ca2
selection should work now more or less
...
git-svn-id: svn://10.0.0.236/trunk@18003 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 06:42:39 +00:00
mjudge%netscape.com
9251454eba
Files for selection across frames.
...
git-svn-id: svn://10.0.0.236/trunk@17971 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 22:57:12 +00:00
kipp%netscape.com
4e355995e6
Spanked away SizeOf methods and nsIListFilter
...
git-svn-id: svn://10.0.0.236/trunk@17895 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:00:50 +00:00
troy%netscape.com
bb626b6036
Re-committing my fucking changes...
...
git-svn-id: svn://10.0.0.236/trunk@17632 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 00:38:29 +00:00
cltbld%netscape.com
cd62100e23
backing out changes made against a red tree
...
git-svn-id: svn://10.0.0.236/trunk@17628 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 00:00:57 +00:00
troy%netscape.com
b2b5d3f972
Moved a NS_RELEASE to a different point so we're less likely to have a non-local exit
...
miss the release
git-svn-id: svn://10.0.0.236/trunk@17623 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 23:17:20 +00:00
troy%netscape.com
0e2a9c299a
Fixed FindFrameWithContent() to do a better job of recognizing placeholder
...
frames and skipping them
git-svn-id: svn://10.0.0.236/trunk@17302 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 04:47:43 +00:00
troy%netscape.com
38a8b5ecdb
Changed some of the member functions to conform to XP-COM conventions for
...
returning a nsresult
git-svn-id: svn://10.0.0.236/trunk@16928 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 04:56:31 +00:00
troy%netscape.com
43b0f05bb3
Renamed FindFrameWithContent() to GetPrimaryFrameFor()
...
git-svn-id: svn://10.0.0.236/trunk@16927 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 04:45:18 +00:00
troy%netscape.com
9a7f94d20b
Moved logic that deals with moving absolutely positioned frames out of the
...
flow to the frame construction code
git-svn-id: svn://10.0.0.236/trunk@16924 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 03:38:16 +00:00
kipp%netscape.com
eaee82d4b3
Revised frame Paint API
...
git-svn-id: svn://10.0.0.236/trunk@16666 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 15:54:23 +00:00
mjudge%netscape.com
e19079121c
adding in selection
...
git-svn-id: svn://10.0.0.236/trunk@16347 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:34:14 +00:00
kipp%netscape.com
21b1837275
When verify-reflow-all is enabled, update the display after each reflow and pause for a while
...
git-svn-id: svn://10.0.0.236/trunk@16323 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:21:05 +00:00
mjudge%netscape.com
03ace6e2d1
chagnes to selection
...
git-svn-id: svn://10.0.0.236/trunk@15977 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:26:06 +00:00
troy%netscape.com
a2f34c611a
Added support for printing multiple pages
...
git-svn-id: svn://10.0.0.236/trunk@15901 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:43:02 +00:00