bryner@brianryner.com
5ddc9f91a1
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
2004-04-13 00:28:44 +00:00
sicking@bigfoot.com
96c819c9b1
Bug 236620: kill nsIContent::CanContainChildren
...
r/sr=jst
2004-03-06 00:22:03 +00:00
dbaron@dbaron.org
f4264ddfc8
Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
2004-02-20 21:38:31 +00:00
bryner@brianryner.com
58ce615aa2
Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
2004-02-02 22:17:21 +00:00
jst@mozilla.jstenback.com
a4ceb4251c
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
2004-01-24 00:46:17 +00:00
bryner@brianryner.com
7255062ea4
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
2004-01-12 08:25:18 +00:00
roc+@cs.cmu.edu
d8fd3d5bb4
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
caillon@returnzero.com
c4decd1c27
Bug 226375
...
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers. Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
bryner@brianryner.com
640685cbe9
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
jst@mozilla.jstenback.com
d47517f6dc
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
bryner@brianryner.com
1f9609e30b
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
jst@mozilla.jstenback.com
c11c6bf27e
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
mkaply@us.ibm.com
bccb87353d
#219573
...
r=peterv, sr=bzbarsky
Fix from Josh Aas - remove unused variables in nsSelection.cpp
2003-09-18 18:58:14 +00:00
roc+@cs.cmu.edu
0857c645b4
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
2003-08-06 03:07:12 +00:00
bzbarsky@mit.edu
d50c24024f
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
2003-07-28 21:09:56 +00:00
jaggernaut@netscape.com
ee1d5a8446
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
brade@netscape.com
c4c3d2315b
patch from mjudge to maintainselection; r/sr=dbaron, bug=56401
2003-07-21 19:51:34 +00:00
caillon@returnzero.com
863f9e1027
Bug 209852. Remove |dont_QueryInterface|.
...
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
dbaron@dbaron.org
384f320c3a
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
caillon@returnzero.com
c8a200d763
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
2003-06-13 20:10:01 +00:00
leon.zhang@sun.com
243a20e858
Bug 207936:[trunk] JA IME: cursor position is off before and after text is committed
...
r=sfraser sr=kin
2003-06-11 03:29:59 +00:00
aaronl@netscape.com
aa38f97f46
Bug 185846. Create ISimpleDOMText for accessibility API support of pieces of text smaller than a node. r=bolian, sr=alecf, a=asa
2003-05-17 09:00:57 +00:00
dbaron@dbaron.org
f98e358469
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
2003-05-15 03:42:21 +00:00
bryner@netscape.com
948edc5728
attempting to fix irix bustage by removing ^M
2003-04-20 03:14:09 +00:00
leon.zhang@sun.com
f8f5a0037e
Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser
2003-04-20 01:03:40 +00:00
mjudge@netscape.com
bbf9bb7e42
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.
2003-04-17 21:25:03 +00:00
mjudge@netscape.com
8b4cdbf8cb
191498 r=danm sr=fraser fixes caret jumping around containers. also fixes 192167
2003-04-17 21:08:44 +00:00
sfraser@netscape.com
3e10f1c49c
Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin.
2003-04-04 01:45:06 +00:00
sfraser@netscape.com
1d3c3c1bfc
Fix bug 192611: nsIFrameSelection has a data member. r/sr=dbaron
2003-04-03 22:32:50 +00:00
roc+@cs.cmu.edu
913e581e2e
Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
2003-03-12 03:22:11 +00:00
cbiesinger@web.de
21333134c5
remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
2003-01-17 12:09:23 +00:00
jst@netscape.com
1506a225b8
Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com
2003-01-14 23:05:52 +00:00
aaronl@netscape.com
4d7c6b14ce
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
2003-01-09 20:56:53 +00:00
dbaron@dbaron.org
47922f2a26
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
2003-01-08 19:24:38 +00:00
peterv@netscape.com
a286b2a9ae
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
bzbarsky@mit.edu
fdd90e780c
Remove some nsISupportsArray usage in nsSelection in favor of nsCOMArray. Bug
...
184022, r=timeless, sr=peterv
2002-12-11 00:02:49 +00:00
caillon@returnzero.com
99c6f58f8d
182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
...
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
sicking@bigfoot.com
4b50c34806
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dougt@netscape.com
46ce738546
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
dougt@netscape.com
aa5e4b8b34
Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 05:38:16 +00:00
smontagu@netscape.com
1f3b5903b7
Back out bidi visual selection. Bug 76190, r=mjudge, sr=kin, a=asa.
2002-09-05 00:56:25 +00:00
mjudge@netscape.com
373e597ffe
23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse
2002-08-30 01:32:11 +00:00
smontagu@netscape.com
4f1013bfb8
Bug 82352: Can't select multiline right-to-left text. r=mjudge, sr=bz.
2002-08-28 00:05:54 +00:00
mjudge@netscape.com
79cf729b94
4302 r=jfrancis sr=kin. pageup/down bug with navigation.
2002-08-26 20:55:30 +00:00
henry.jia@sun.com
3c7210b15a
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
2002-08-19 04:29:58 +00:00
mjudge@netscape.com
042b729bdb
crasher fix: forgot {} around an indented block of code. this will fix 161444 and 161512. r=brade sr= smfr
2002-08-07 17:47:28 +00:00
mjudge@netscape.com
8f2de035fc
159207. HR is now selectable and navigatable. r=cmanske sr=kin
2002-08-06 23:56:50 +00:00
smontagu@netscape.com
30954fde31
Fix crash on adding images to right-to-left mail messages. Bug 155096, r=mjudge, sr=kin
2002-07-02 21:53:18 +00:00
kin@netscape.com
66662cc35b
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
2002-06-13 20:43:32 +00:00
mjudge@netscape.com
1d11fff07c
fix for up down behavior after typing or selecting sr=kin a=scc r=jfrancis
2002-04-16 23:26:22 +00:00