pavlov%netscape.com
d4589174f7
remove the non-needed push/pop states r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@59722 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 03:03:08 +00:00
pp%ludusdesign.com
a2927ce43e
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
...
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
michael.lowe%bigfoot.com
6856aa06f0
Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
kin%netscape.com
a18087d551
Fix for bug #21029 : Caret get's wrong offset when parent not a text node
...
mozilla/layout/base/public/nsIFrameSelection.h
- Added aReturnOffset arg to GetFrameForNodeOffset().
mozilla/layout/base/src/nsCaret.cpp
- mLastContentOffset now gets it's value from the offset
returned by GetFrameForNodeOffset().
mozilla/layout/base/src/nsRangeList.cpp
- GetFrameForNodeOffset() now returns an offset to be used
with the result frame.
r=mjudge@netscape.com ,jfrancis@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57280 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 15:32:42 +00:00
ftang%netscape.com
cfa1a18207
partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56377 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 07:56:40 +00:00
mjudge%netscape.com
43a63010d1
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?
...
git-svn-id: svn://10.0.0.236/trunk@54299 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 20:30:21 +00:00
ftang%netscape.com
acade41cee
Change the GetRelativedWindowCoordinate to return the botton of the cursor, instead of the top of the cursor. We need this to make Mac IME candidcate window popup in a more reasonable place. author=sfraser. r=ftang
...
git-svn-id: svn://10.0.0.236/trunk@53099 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:47:56 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kin%netscape.com
5fae6982e3
Fix for bug #16176 : [DOGFOOD] need to annotate line frames with whitespace trim
...
layout/base/src/nsCaret.cpp
- Modified DrawCaretWithContext so that we only
adjust the caret position if we are within the
frame's bounds.
layout/html/base/src/nsTextFrame.cpp
- Modified GetPointFromOffset() to add the width
of a space if the offset is after a trailing space
and it was trimmed off the frame.
r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@52206 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 13:43:11 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
kipp%netscape.com
2ed3a3fc6a
Removed some more warnings
...
git-svn-id: svn://10.0.0.236/trunk@51530 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 14:51:41 +00:00
mjudge%netscape.com
64c9150aab
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
...
git-svn-id: svn://10.0.0.236/trunk@51467 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 00:19:18 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
kin%netscape.com
698d1ed095
Fix for bug #12195 : [DOGFOOD] caret cruft left after a backspace at end of line
...
Added code to DrawCaretWithContext() that makes sure that the caret
doesn't hang outiside the left edge of a frame.
r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@49572 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 13:16:30 +00:00
sfraser%netscape.com
f4a7576460
Super duper new caret
...
git-svn-id: svn://10.0.0.236/trunk@47455 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:41:19 +00:00
pavlov%netscape.com
2bcaf45758
make the caret draw on linux - fix for 13487
...
git-svn-id: svn://10.0.0.236/trunk@47133 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 18:24:48 +00:00
alecf%netscape.com
0f02d87111
bulletproof to prevent crashing
...
(asserts will still go off)
git-svn-id: svn://10.0.0.236/trunk@46964 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:11:53 +00:00
sfraser%netscape.com
7f7842f5b0
Fix one cause of GFX text widget crashes. If you're going to mess with my code, Mike, at least get the return values right.
...
git-svn-id: svn://10.0.0.236/trunk@46937 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 06:00:00 +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
sfraser%netscape.com
838b14eeb3
Make the caret use InvetRect for drawing.
...
git-svn-id: svn://10.0.0.236/trunk@42779 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 19:14:43 +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
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
sfraser%netscape.com
fdcb802f6e
Removal of nsCaretProperties
...
git-svn-id: svn://10.0.0.236/trunk@39412 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:18:29 +00:00
sfraser%netscape.com
530e15d1a9
Fix for 9361, comment out bogus assert in the caret code. a chofmann
...
git-svn-id: svn://10.0.0.236/trunk@38755 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 01:24:52 +00:00
sfraser%netscape.com
f1135f5a99
Fix the uber caret problem, where the caret would draw incorrectly when the selection pointed to child nodes of a parent node. Now, it points to the start of the indexed child node in this situation.
...
git-svn-id: svn://10.0.0.236/trunk@38530 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:11:49 +00:00
sfraser%netscape.com
8258d8059c
Fix GetViewForRendering() in the window coordinates case.
...
git-svn-id: svn://10.0.0.236/trunk@35548 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:54:26 +00:00
sfraser%netscape.com
752634424b
Implement nsCaret::GetWindowRelativeCoordinates for IME
...
git-svn-id: svn://10.0.0.236/trunk@32115 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:24:55 +00:00
sfraser%netscape.com
67ddcd0311
WIP to get caret position in window coordinates for IME
...
git-svn-id: svn://10.0.0.236/trunk@29534 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 21:59:18 +00:00
sfraser%netscape.com
9258c252c1
Adapt to fixed selection interfaces.
...
git-svn-id: svn://10.0.0.236/trunk@27659 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:19:34 +00:00
sfraser%netscape.com
0711dcf727
Fix a problem where the caret could be using a stale offset, after a node
...
has been split.
git-svn-id: svn://10.0.0.236/trunk@27269 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:13:00 +00:00
sfraser%netscape.com
b8ae43ec5b
Caret changes to enable the caret to erase itself, and fix a bunch of caret problems.
...
git-svn-id: svn://10.0.0.236/trunk@25953 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:57:35 +00:00
mjudge%netscape.com
e60f9b40c5
hack to get caret to draw on empty line.
...
git-svn-id: svn://10.0.0.236/trunk@24079 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 21:33:01 +00:00
sfraser%netscape.com
740e25376c
Fix warning reported by warren (bracket was in wrong place).
...
git-svn-id: svn://10.0.0.236/trunk@23071 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:19:52 +00:00
scc%netscape.com
817f56596f
rename |IID()| --> |GetIID()|
...
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
akkana%netscape.com
08d2fe9b17
Fix Unix crash: comment out an assert
...
git-svn-id: svn://10.0.0.236/trunk@22647 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:11:28 +00:00
sfraser%netscape.com
8eb1658e33
Fix the caret so that it draws on Windows (and UNIX, hopefully), and turn on the #define so that the caret gets created in the pres shell. It gets shown in editor mode.
...
git-svn-id: svn://10.0.0.236/trunk@22523 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:26:49 +00:00
warren%netscape.com
cb10d9f3a0
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
...
git-svn-id: svn://10.0.0.236/trunk@21585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:10:24 +00:00
sfraser%netscape.com
5e58b8a2af
Part of the great nsCOMPtr carpool. Approved by those in power.
...
git-svn-id: svn://10.0.0.236/trunk@20852 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:08:01 +00:00
mcafee%netscape.com
8e4341cd89
Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar
...
git-svn-id: svn://10.0.0.236/trunk@20851 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:08:00 +00:00
sfraser%netscape.com
17e456ea85
Added RefreshMethod, and tweaked code for the UNIX no-blinking case.
...
git-svn-id: svn://10.0.0.236/trunk@20657 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 04:47:45 +00:00
kipp%netscape.com
2e10d1c4d8
Eliminate some linux compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@20582 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:24:53 +00:00
pinkerton%netscape.com
0f0937d520
fixes for changes to nsIPresShell api's
...
git-svn-id: svn://10.0.0.236/trunk@20576 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:18:01 +00:00
sfraser%netscape.com
b1bfc6b9cf
Fix after akkana's changes: nsISelection -> nsIDOMSelection
...
git-svn-id: svn://10.0.0.236/trunk@20480 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:55:46 +00:00
sfraser%netscape.com
cdd9b46762
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@20462 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:49:08 +00:00