bzbarsky%mit.edu
0147d8d4a6
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
jaggernaut%netscape.com
df747d0621
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
brade%netscape.com
a6ecc06d75
patch from mjudge to maintainselection; r/sr=dbaron, bug=56401
...
git-svn-id: svn://10.0.0.236/trunk@145030 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 19:51:34 +00:00
caillon%returnzero.com
1c1e0c7bb4
Bug 209852. Remove |dont_QueryInterface|.
...
r=dbaron, sr=jag
git-svn-id: svn://10.0.0.236/trunk@144011 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:15:41 +00:00
dbaron%dbaron.org
519cf3b3d3
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
caillon%returnzero.com
0a6d1ae509
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
leon.zhang%sun.com
fb5047f80e
Bug 207936:[trunk] JA IME: cursor position is off before and after text is committed
...
r=sfraser sr=kin
git-svn-id: svn://10.0.0.236/trunk@143568 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 03:29:59 +00:00
aaronl%netscape.com
b953d5678e
Bug 185846. Create ISimpleDOMText for accessibility API support of pieces of text smaller than a node. r=bolian, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142582 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-17 09:00:57 +00:00
dbaron%dbaron.org
69da9d4a19
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bryner%netscape.com
18e2476790
attempting to fix irix bustage by removing ^M
...
git-svn-id: svn://10.0.0.236/trunk@141466 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-20 03:14:09 +00:00
leon.zhang%sun.com
d7f40ef4bd
Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@141464 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-20 01:03:40 +00:00
mjudge%netscape.com
c9cb3501f0
163235 if we are collapsing selection to the beginning of the extended selection, set the "hint" to the right as a tie breaker. the opposite is true for collapsing forwards in the document. r=jfrancis sr=fraser.
...
git-svn-id: svn://10.0.0.236/trunk@141340 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 21:25:03 +00:00
mjudge%netscape.com
6c52e68d5d
191498 r=danm sr=fraser fixes caret jumping around containers. also fixes 192167
...
git-svn-id: svn://10.0.0.236/trunk@141338 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 21:08:44 +00:00
sfraser%netscape.com
3bb2704dcc
Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin.
...
git-svn-id: svn://10.0.0.236/trunk@140665 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 01:45:06 +00:00
sfraser%netscape.com
65533b323d
Fix bug 192611: nsIFrameSelection has a data member. r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@140657 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 22:32:50 +00:00
roc+%cs.cmu.edu
071d5592f4
Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139310 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 03:22:11 +00:00
cbiesinger%web.de
8b51a21663
remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
...
git-svn-id: svn://10.0.0.236/trunk@136507 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 12:09:23 +00:00
jst%netscape.com
1b18cf1dd9
Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@136338 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 23:05:52 +00:00
aaronl%netscape.com
ee27cb1b5c
Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@136088 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 20:56:53 +00:00
dbaron%dbaron.org
30879d2c9e
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
peterv%netscape.com
3a3c75b9f7
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
3cfea6bce3
Remove some nsISupportsArray usage in nsSelection in favor of nsCOMArray. Bug
...
184022, r=timeless, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135077 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 00:02:49 +00:00
caillon%returnzero.com
8eb8abf86c
182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
...
r=sicking sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135071 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:44:03 +00:00
sicking%bigfoot.com
6f8753e832
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
db8cc9c7ec
Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
smontagu%netscape.com
4712aa758d
Back out bidi visual selection. Bug 76190, r=mjudge, sr=kin, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@128852 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-05 00:56:25 +00:00
mjudge%netscape.com
24b6c23cc2
23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse
...
git-svn-id: svn://10.0.0.236/trunk@128516 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 01:32:11 +00:00
smontagu%netscape.com
9eef7fc6ca
Bug 82352: Can't select multiline right-to-left text. r=mjudge, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@128313 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 00:05:54 +00:00
mjudge%netscape.com
2f5c006a1d
4302 r=jfrancis sr=kin. pageup/down bug with navigation.
...
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
henry.jia%sun.com
d4a65691fd
Fix bug 159889: replace the hardcode of "@mozilla.org/preferences;1" with NS_PREF_CONTRACTID
...
Patch by leon.zhang@sun.com
r=Henry, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@127594 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 04:29:58 +00:00
mjudge%netscape.com
62be4351bb
crasher fix: forgot {} around an indented block of code. this will fix 161444 and 161512. r=brade sr= smfr
...
git-svn-id: svn://10.0.0.236/trunk@126675 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 17:47:28 +00:00
mjudge%netscape.com
7ce727c759
159207. HR is now selectable and navigatable. r=cmanske sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@126554 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:56:50 +00:00
smontagu%netscape.com
2d3ec44ee8
Fix crash on adding images to right-to-left mail messages. Bug 155096, r=mjudge, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@124539 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 21:53:18 +00:00
kin%netscape.com
3016bcf312
Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
...
mozilla/content/base/public/nsISelectionController.idl
mozilla/content/base/src/nsSelection.cpp
mozilla/editor/composer/src/nsEditorShell.cpp
mozilla/editor/idl/nsIPlaintextEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/nsEditor.h
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
mozilla/editor/ui/dialogs/content/EdTableProps.js
mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
mozilla/layout/base/public/nsIFrameSelection.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
mozilla/mailnews/compose/src/nsMsgCompose.cpp
mozilla/xpfe/browser/resources/content/viewPartialSource.js
- Added aIsSynchronous arg to the ScrollSelectionIntoView()
method of nsISelectionController and nsIFrameSelection.
Updated all callers to pass new arg.
- Modified selection to post a plevent to call which does the
call to ScrollIntoView() in the async ScrollIntoView() case.
- Edits in text widgets now use asynchronous reflow, paint,
and scroll processing full time.
- Removed redundant ScrollSelectionIntoView() calls in the
editor event listeners.
- Editor IME code now forced to flush reflows and paints before
getting caret coordinates.
r=jfrancis@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123237 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:43:32 +00:00
mjudge%netscape.com
e9cb2b63a8
fix for up down behavior after typing or selecting sr=kin a=scc r=jfrancis
...
git-svn-id: svn://10.0.0.236/trunk@119176 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:26:22 +00:00
kin%netscape.com
fd00e605c9
Fix for bug 68331 (Moving caret in TEXTAREA to start of line can cause page to scroll horizontally)
...
- Modified GetSelectionRegionRectAndScrollableView() to clip
aRect so that it is completely within the bounds of the
scrolledView. This insures that other scrolled views in
the parent hierarchy will not scroll more than they have to.
r=brade@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119101 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 13:30:28 +00:00
mjudge%netscape.com
7c514c7a2d
r= jfrancis sr= kin
...
git-svn-id: svn://10.0.0.236/trunk@119054 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:39:54 +00:00
mjudge%netscape.com
64ab4404a1
123033 a=asa r=blythe sr = kin. fix for selecting from inside a text field to outside
...
git-svn-id: svn://10.0.0.236/trunk@117429 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 23:44:46 +00:00
cmanske%netscape.com
0f10a83af9
Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117184 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:26:18 +00:00
cmanske%netscape.com
0b6789dd9e
Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117183 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:25:08 +00:00
jst%netscape.com
a2a2c99ca8
Fixing bug 114539. Getting rid of mInner in all our 'data' nodes and making those classes inherit nsGenericDOMDataNode in stead. Also remove mContentID from nsTextNode and push mRangeList and mListenerManager into hashtables since they are used so rarely. This results in a size reduction of nsTextNode from 44 bytes to 28 bytes (~36%). r=peterv@netscape.com, sr=hyatt@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@110565 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 06:59:31 +00:00
roc+%cs.cmu.edu
35e1d479ea
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
roc+%cs.cmu.edu
fce7355cf6
My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
...
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
5d13b4f0c5
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
timeless%mac.com
7b921259da
Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
...
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
jaggernaut%netscape.com
9e8f600926
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@106460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:44:19 +00:00
bernd.mielke%snafu.de
f7141b99f6
bug 103443 remove the last two occurences of rv?rv:NS_ERROR_FAILURE
...
r=kin sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106132 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 04:50:37 +00:00
mkaply%us.ibm.com
5c53d0b96c
#79798
...
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions
git-svn-id: svn://10.0.0.236/trunk@104268 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 20:35:55 +00:00
jaggernaut%netscape.com
51e0dc7a6c
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00