roc+%cs.cmu.edu
91b264f0f4
Bug 305239. Fix regression in text entry. r+sr=roc, patch by Uri Bernstein
2005-08-22 01:32:03 +00:00
roc+%cs.cmu.edu
624a9d18f5
Bug 16311. Instead of using geometric scanning to find the ends of lines, just look at the frame hierarchy. patch by uriber, r+sr=roc
2005-08-18 17:04:51 +00:00
mozilla.mano%sent.com
af46c469dd
Bug 301033 - Bidi: Caret placed in wrong position when arrowing over a single reverse-direction character. patch from Uri Bernstein <uriber@gmail.com>, r+sr=roc, a=asa.
2005-08-08 07:35:48 +00:00
rbs%maths.uq.edu.au
e51ed4fc21
Avoing crashing due to outdated text pointers by flushing pending reflows before finding out where to scroll the selection, b=252970, r+sr=bzbarsky, a=bsmedberg
2005-07-30 02:43:17 +00:00
cbiesinger%web.de
2adc064800
254278 assign to |result| in the loop, to terminate at the right place
...
r+sr=bz a=asa
2005-07-14 15:48:11 +00:00
jst%mozilla.jstenback.com
50de4a3e1d
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
2005-04-28 23:48:28 +00:00
timeless%mozdev.org
efa8155d22
Bug 217599 Minor tweaks to nsSelection
...
r=akk sr=rbs
2005-03-25 07:35:17 +00:00
bryner%brianryner.com
f575a675b2
Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc.
2005-01-31 23:47:26 +00:00
scott%scott-macgregor.org
203c40b9da
Bug #278312 --> layout and selection changes to support inline spell checking for Thunderbird
...
Includes changes to draw spell check selection as a red dotted line instead of a solid underline.
r/sr=dbaron
2005-01-31 17:57:35 +00:00
mats.palmgren%bredband.net
94497ed212
Move caret normally even if it collapses a selection. b=207623 r=aaronleventhal sr=bzbarsky
2005-01-25 22:38:37 +00:00
bmlk%gmx.de
d3197a9276
remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
2004-12-26 19:48:54 +00:00
dbaron%dbaron.org
4b47c345dd
Make page up and page down leave at most two lines in common between pages. b=175380 r+sr=roc
2004-11-24 22:05:36 +00:00
timeless%mozdev.org
fb483e6b15
Bug 106386 Correct misspellings in source code
...
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
bzbarsky%mit.edu
7fd8feb31d
Create an api for easily converting between the coordinate systems of two
...
frames or two views. Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API. Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
daniel%glazman.org
458fe99083
fixes inconsistent selection schemes in HTML tables; b=261385, r=Neil, sr=roc
2004-10-20 15:24:11 +00:00
bzbarsky%mit.edu
67e81a846a
Fix ComparePoints() to be faster (helps with things like innerHTML). Bug
...
262764, r+sr=peterv
2004-10-09 21:02:16 +00:00
dbaron%dbaron.org
feb3d9aee8
Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc
2004-09-21 04:41:08 +00:00
neil%parkwaycc.co.uk
6a4f37de6b
Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
2004-09-20 22:25:07 +00:00
roc+%cs.cmu.edu
44a2fd5b52
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
e14abad4f9
Restoring previous failure code, follow-up to bug 257596
2004-09-01 18:02:04 +00:00
bryner%brianryner.com
4c15468e7d
Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc).
2004-09-01 05:16:00 +00:00
mats.palmgren%bredband.net
2ec5e837c2
Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron
2004-08-06 15:55:17 +00:00
cbiesinger%web.de
9b72dd5b6f
Bug 254278 remove some *WithConversion in layout/content
...
r+sr=bz
2004-08-04 17:33:30 +00:00
bryner%brianryner.com
6a8c79a9b2
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
roc+%cs.cmu.edu
312f627f43
Bug 53966. Don't just capture to the nearest view when selecting with mouse; only capture to the nearest scrolling view. r+sr=dbaron
2004-07-20 00:02:43 +00:00
smontagu%smontagu.org
82d48e1672
DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
2004-06-01 06:20:16 +00:00
jst%mozilla.jstenback.com
77c4322ab2
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
2004-04-29 23:34:19 +00:00
gerv%gerv.net
9d2ee4928c
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
bryner%brianryner.com
0af1a79c51
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
2004-04-13 00:28:44 +00:00
sicking%bigfoot.com
fc084e0c73
Bug 236620: kill nsIContent::CanContainChildren
...
r/sr=jst
2004-03-06 00:22:03 +00:00
dbaron%dbaron.org
5b6ae6e571
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
4f69ec2c2e
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
ce1edc1dc9
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
2bddef83ba
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
e7f165c614
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
caillon%returnzero.com
319d92fa7d
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
dfe3513814
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
4183787fa9
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
605cc06382
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
5037b2a4a2
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
01782c41bc
#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
0b8cd870e1
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
2003-08-06 03:07:12 +00:00
bzbarsky%mit.edu
93aa1eeb86
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
2003-07-28 21:09:56 +00:00
jaggernaut%netscape.com
95899387f6
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
e6dbb06ce4
patch from mjudge to maintainselection; r/sr=dbaron, bug=56401
2003-07-21 19:51:34 +00:00
caillon%returnzero.com
4cc64cee34
Bug 209852. Remove |dont_QueryInterface|.
...
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
dbaron%dbaron.org
4afcaa0e69
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
2df173e9c8
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
a0b6278dce
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
653e5df5d2
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
75ff60c62f
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
d18e1ae342
attempting to fix irix bustage by removing ^M
2003-04-20 03:14:09 +00:00
leon.zhang%sun.com
526c0515e9
Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser
2003-04-20 01:03:40 +00:00
mjudge%netscape.com
0ca43371c9
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
a453fa004c
191498 r=danm sr=fraser fixes caret jumping around containers. also fixes 192167
2003-04-17 21:08:44 +00:00
sfraser%netscape.com
28c61bb42b
Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin.
2003-04-04 01:45:06 +00:00
sfraser%netscape.com
55a823d10e
Fix bug 192611: nsIFrameSelection has a data member. r/sr=dbaron
2003-04-03 22:32:50 +00:00
roc+%cs.cmu.edu
210e29411b
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
b7a5577747
remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
2003-01-17 12:09:23 +00:00
jst%netscape.com
53dbf78a7a
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
b384a46582
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
48544669f3
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
d96051a4a2
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
079a5898de
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
342abe6814
182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
...
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
sicking%bigfoot.com
8d87d5e285
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dougt%netscape.com
68faeb5241
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
fae89c4077
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
244a1b0f8d
Back out bidi visual selection. Bug 76190, r=mjudge, sr=kin, a=asa.
2002-09-05 00:56:25 +00:00
mjudge%netscape.com
6a091661e4
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
7b51b06214
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
a07cba5734
4302 r=jfrancis sr=kin. pageup/down bug with navigation.
2002-08-26 20:55:30 +00:00
henry.jia%sun.com
227be5af9c
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
ceb56bec79
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
d8a501e4c9
159207. HR is now selectable and navigatable. r=cmanske sr=kin
2002-08-06 23:56:50 +00:00
smontagu%netscape.com
471b7e7738
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
8996b9ec1c
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
9f82495160
fix for up down behavior after typing or selecting sr=kin a=scc r=jfrancis
2002-04-16 23:26:22 +00:00
kin%netscape.com
fb9b52b024
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
2002-04-16 13:30:28 +00:00
mjudge%netscape.com
b0f1fe2322
r= jfrancis sr= kin
2002-04-16 02:39:54 +00:00
mjudge%netscape.com
e03712c3fb
123033 a=asa r=blythe sr = kin. fix for selecting from inside a text field to outside
2002-03-25 23:44:46 +00:00
cmanske%netscape.com
9e19a12bad
Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
2002-03-22 15:26:18 +00:00
cmanske%netscape.com
426077e8ff
Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
2002-03-22 15:25:08 +00:00
jst%netscape.com
362692e337
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.
2001-12-16 06:59:31 +00:00
roc+%cs.cmu.edu
c88233916b
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
2001-12-01 14:31:45 +00:00
roc+%cs.cmu.edu
c26c9711f3
My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
2001-11-22 05:26:32 +00:00
timeless%mac.com
060425ec59
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
2001-11-19 06:45:00 +00:00
jaggernaut%netscape.com
cad0dc7095
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
2001-10-27 06:44:19 +00:00
bernd.mielke%snafu.de
27a1ee010b
bug 103443 remove the last two occurences of rv?rv:NS_ERROR_FAILURE
...
r=kin sr=attinasi
2001-10-24 04:50:37 +00:00
mkaply%us.ibm.com
72816bd6d4
#79798
...
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions
2001-09-30 20:35:55 +00:00
jaggernaut%netscape.com
ca6197295f
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
2001-09-29 08:28:41 +00:00
gerv%gerv.net
1968b7dad2
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
rjesup%wgate.com
f48461942b
Bug 96132. ~nsTypedSelection misuses arrays. r=dbaron,
...
sr=jst@netscape.com sr=kin@netscape.com
2001-08-21 18:38:20 +00:00
jaggernaut%netscape.com
e91f8a147e
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
b4ea38686f
Remove |#ifdef|s around |#include|s since they're a recipe for build bustage (see the portability guidelines). b=91237 r=jag sr=waterson
2001-07-25 05:16:32 +00:00
jst%netscape.com
88d48dc0c5
Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
2001-07-18 07:48:12 +00:00
dbaron%fas.harvard.edu
aa4fec2b67
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
simon%softel.co.il
71f6955270
Corrects the arguments in calls to GetBidiProperty. Bug 87610, r=mkaply, sr=kin.
2001-06-27 08:08:08 +00:00
ftang%netscape.com
3e782eb254
fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
...
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
mjudge%netscape.com
18f1ea4a52
82993,52868,79511,82101 a=asa sr=kin. bugs that cross files. stopped generated content entrys into frames with caret and mouse navigation. and table cell navigation.
2001-06-20 04:48:10 +00:00
dbaron%fas.harvard.edu
9d35ed31a4
Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
2001-06-20 03:27:48 +00:00
mjudge%netscape.com
9537d8b59b
82151 a=asa r=cmanske fix for hint setting only when successful move was made by caret
2001-06-13 00:00:55 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
mjudge%netscape.com
9499fd2df2
fixing bad check in tablecellselection. wouldnt work if only 1 char in a text node was selected. bug=68641 r=ftang, sr=hyatt. simple fix..
2001-05-18 23:07:54 +00:00
ftang%netscape.com
5938ccae19
fix bug 80552 r=ftang r/sr=jst
...
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
brade%netscape.com
50a1c5a282
rename GetScrollView to GetScrollableView to match Set; bug #65124
2001-05-11 13:25:38 +00:00
mjudge%netscape.com
6f570c3a64
46811 sr= kin r= cmanske
2001-05-11 08:01:40 +00:00
jst%netscape.com
f7460d0269
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 16:46:42 +00:00
mjudge%netscape.com
a326b58572
changing table cell selection to use borders. sr=waterson r= kin 26831
2001-05-03 23:59:55 +00:00
mjudge%netscape.com
bf9ef32d15
removing optimization unneeded for table selection to fix 60846sr= kin r= manske after making changes they requested
2001-04-17 23:31:34 +00:00
erik%netscape.com
e65d9dcf8c
bug 76311; author=simon@softel.co.il; r=mjudge; sr=erik; This fixes the bug
...
where we were running bidi selection code even on a non-bidi document. It
also fixes a problem in the bidi code where we were ignoring the return
values of a few calls.
2001-04-17 23:03:38 +00:00
erik%netscape.com
c5bd1e8ade
bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
...
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now
2001-03-21 01:16:22 +00:00
dbaron%fas.harvard.edu
8411695789
Remove static constructor for nsStyleColor. r=disttsc@bart.nl sr=brendan@mozilla.org b=67341
2001-02-20 13:44:43 +00:00
heikki%netscape.com
915749084a
Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
2001-02-19 12:55:42 +00:00
cmanske%netscape.com
3baa7b403e
Minor change to remove compile warning
2001-02-16 05:12:08 +00:00
cmanske%netscape.com
c7fb9e7600
Fixed table selection bug 68860. r=brade, sr=sfraser
2001-02-16 03:33:12 +00:00
brade%netscape.com
09d2420eb6
cleanup of FetchDesiredX; r=kin; sr=sfraser
2001-02-05 15:43:46 +00:00
cmanske%netscape.com
7db91fe68d
Fixed selecting multiple rows, columns. Bug 64093, r=mjudge, sr=kin,sfraser
2001-01-04 00:24:39 +00:00
cmanske%netscape.com
f731cf305a
Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
2000-12-20 22:13:54 +00:00
leaf%mozilla.org
c7984c2caa
backing out regression-causing changes to reopen tree
2000-12-20 18:09:53 +00:00
cmanske%netscape.com
b6319b5e1c
Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage)
2000-12-20 03:15:16 +00:00
cmanske%netscape.com
356492b2a7
Trying to fix speedracer build bustage
2000-12-20 02:56:17 +00:00
cmanske%netscape.com
3313e50daa
Table selection work (part of b=57863): Moved param for GetTableSelectionDate from .h to .idl, requiring change from PRUint32 to PRInt16 for all users. Table Cell ranges are now added in document order (location in table) when selecting multiple cells. Refactored table selection methods and fixed leaks. r=mjudge, sr=kin
2000-12-20 01:36:41 +00:00
mjudge%netscape.com
bb5be88f75
added in code to allow GetSelection() to work. r= mstoltz
2000-11-29 00:13:00 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
mjudge%netscape.com
1dd2be8f0d
r=kin a=buster. fix has to go to trunk first. bug 49772
2000-10-13 22:37:52 +00:00
jst%netscape.com
6ea631e28c
Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
...
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).
Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +00:00
mjudge%netscape.com
1ea0763f86
fixing sun/sparc i guess it didnt like the inline if/else statement. separating out.
2000-09-14 13:23:31 +00:00
mjudge%netscape.com
e2be918716
small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
2000-09-14 11:45:01 +00:00
rayw%netscape.com
0257791053
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
jdunn%netscape.com
e6f144c78e
Fix warning: return value is required from functions
...
r= brendan@mozilla.org scc@mozilla.org
#= 52254
2000-09-13 14:11:51 +00:00
anthonyd%netscape.com
408d1057ca
bug fix for mjudges bug #45387
...
r=anthonyd
2000-09-13 00:05:29 +00:00
heikki%netscape.com
5a54ae35f1
Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge.
2000-09-12 20:54:41 +00:00
kin%netscape.com
9cf7b833fb
Fix for bug #35899 (Page scrolls on selecting text in position:relative div)
...
- Rewrote the auto-scrolling code to handle the fact that events are now passed
directly to frames, even though the mouse is outside the window, and the frame
is not in the clip view. The old code assumed that the viewport frame always
caught and handled the event, which was the way it used to be.
- AutoScroll methods now give the option of scrolling parent scrollable views.
r=jfrancis@netscape.com
Fix for bug #49467 (Spell checking not working in composer or NS 6 IM )
- We no longer throw an error if we are trying to scroll the selection
into view, when the selection is in a view that has no parent scrollable
view ... we just return NS_OK and do nothing.
r=syd@netscape.com
2000-08-30 19:42:47 +00:00
jfrancis%netscape.com
299877ed6d
disabling fix for 46554 again, in order to fix smoketest blocker 50653 et al
2000-08-29 19:55:16 +00:00
jfrancis%netscape.com
995b111b30
restoring my original fix for 46554, with some additional tweaks to deal gracefully with generated content. To forgive, divine.
2000-08-29 06:37:12 +00:00
jfrancis%netscape.com
9726e994c4
i'm an idiot
2000-08-29 05:43:03 +00:00
jfrancis%netscape.com
7d5e6f0454
turns out that selection code is used even when outputing an entire document (beats me why); disabling my changes so that text field output will work again.
2000-08-29 03:09:54 +00:00
heikki%netscape.com
8e2f31db68
Fixed bug 46085. We were not firing the select event. This is the second half of the checkin... had some problems with CVS. jst is watching this checkin. r=mjudge.
2000-08-29 01:47:05 +00:00
jfrancis%netscape.com
0481832a07
fixing a warning
2000-08-29 00:31:53 +00:00
jfrancis%netscape.com
5c35225245
third time is the charm...
2000-08-29 00:07:32 +00:00
jfrancis%netscape.com
2d261bbe7d
the end of ubercopy
2000-08-28 23:54:45 +00:00
jfrancis%netscape.com
767a12d10c
fix for 46554: copy should grab parent nodes if all children selected; r=sfraser
2000-08-28 23:35:57 +00:00
anthonyd%netscape.com
e522671bc1
fix for bug# 43364
...
selection methods not returning meaningfull information
ie. getAnchorNode
r=mjudge
2000-08-26 21:23:25 +00:00
anthonyd%netscape.com
112b262913
fix for bug 48624 (hidden selection issues with plain text widgets)
...
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
jst%netscape.com
9abec73fbe
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
scc%mozilla.org
eb0aaea827
fixing code that relied on implicit string construction
2000-08-19 22:23:46 +00:00
anthonyd%netscape.com
9d506576cb
fix for bug#48472
...
apparently nsIContent::ChildAt can be successful
and not return a child. now checking fo that.
r: smfr
a: beppe
2000-08-11 19:55:39 +00:00
anthonyd%netscape.com
13c10a6478
fix for bug# 48472 (dogfood bug)
...
r: mjudge
a: beppe
2000-08-11 01:36:28 +00:00
mjudge%netscape.com
7e782cc7f4
use "=" not "==" my bad
2000-08-09 22:43:39 +00:00
mjudge%netscape.com
184bb65ca4
43533 table cell selection color fix. check for table cells/table being added to range and toggle flag to allow cells to draw correctly
2000-08-09 22:34:17 +00:00
sfraser%netscape.com
9aa82a567b
Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
2000-08-08 23:38:00 +00:00
mjudge%netscape.com
b9689a5d76
*** empty log message ***
2000-08-02 02:39:10 +00:00
cmanske%netscape.com
ca24e6aca4
Fixed crashing bug 42195: Added method to nsIFrameSelection so frame can get limiting content node for parent node searches in text edit fields. r=mjudge
2000-08-02 01:47:55 +00:00
danm%netscape.com
92d0a3a892
shut down a selection's autoscroll timer in the selection's destructor. bug 43470. r=saari@netscape.com
2000-07-28 03:48:26 +00:00
mjudge%netscape.com
0d4292f24e
r=hyatt bug36617, sfrasier bug. simple change for select all to work.
2000-06-29 05:25:01 +00:00
mjudge%netscape.com
b871d9eda7
r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput.
2000-06-28 04:00:12 +00:00
mjudge%netscape.com
b8ab3b74f2
too many copies for ender-lite. happening whenever people were setting selection progromatically. r=hyatt 34896
2000-06-09 05:14:19 +00:00
cmanske%netscape.com
d4cf823a1c
Finished table cell selection optimization bug 41045. r=mjudge, a=beppe
2000-06-06 23:14:42 +00:00
cmanske%netscape.com
18a9fcaca3
Fix for table selection performance problems. b=41045, r=mjudge, a=beppe
2000-06-02 23:05:06 +00:00
mjudge%netscape.com
66a4d02495
bug = 34896, r= hyatt. changing caret apis. this will demand that when a caret changes focus a call to setDOMSelection must be called to tell the caret what selection to listen to.
2000-06-01 02:37:40 +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
akkana%netscape.com
0e36c2f407
38713: Allow TakeFocus motion inside selection batching. r=mjudge, jfrancis; a=beppe
2000-05-31 00:02:12 +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
mjudge%netscape.com
c39baffac3
removing debug messages
2000-05-17 03:07:31 +00:00
pavlov%netscape.com
803190ad4b
changes all usages of NS_NewTimer to CreateInstance
2000-05-17 02:49:35 +00:00
mjudge%netscape.com
f56b42799d
fixing relative div position bug with autoscroll
2000-05-16 22:41:38 +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
6e60f28e28
fixing legal issues
2000-05-15 14:19:25 +00:00
mjudge%netscape.com
fa4088842d
fixing warnings and some redundant code
2000-05-13 20:47:42 +00:00
mjudge%netscape.com
481c5db0e2
fixing redundant calls to notify selection listeners
2000-05-13 09:10:16 +00:00
mjudge%netscape.com
a4c310645c
(ender-lite) forcing use of nsixifconverter rather than nsxifconverter. making tostring method take output type parameters.
2000-05-13 08:07:34 +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
mjudge%netscape.com
d30a3a5508
forgot to initialize this
2000-05-08 04:00:48 +00:00
dprice%netscape.com
a5c995336b
fix for 38253 r=mjudge
2000-05-05 05:37:27 +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
mjudge%netscape.com
dd57ceb32d
new api for limiter in selection
2000-05-02 03:44:17 +00:00
kin%netscape.com
65b72822ba
Fix for crasher bugs 37701 and 37728. r=mjudge@netscape.com
2000-05-01 18:21:30 +00:00
dbaron%fas.harvard.edu
6175b3560e
Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28).
2000-05-01 00:26:37 +00:00
jst%netscape.com
c29c060230
Make nsSelection::ToString(); do the right thing, now it uses the document encoder to create the string representation of the selection. r=mjudge&akkana (before I did a string API change).
2000-04-28 13:58:08 +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
akkana%netscape.com
df72d780bb
Backing out previous change -- wasn't ready. a=mjudge
2000-04-26 01:58:28 +00:00
akkana%netscape.com
5709d8739f
Change Save File APIs in layout and editor to eliminate the specific
...
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
scc%netscape.com
37d7f881c6
making string conversions explicit
2000-04-17 10:28:55 +00:00
scc%netscape.com
b4caf7e667
making string conversions explicit
2000-04-16 11:19:26 +00:00
mjudge%netscape.com
533234a976
fixing selection speed. only copying to clipboard on mouse up
2000-04-14 23:00:30 +00:00
mjudge%netscape.com
181b0aaa7e
touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api.
2000-04-14 11:21:19 +00:00
mjudge%netscape.com
5c4c46cd0d
table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture.
2000-04-13 20:21:32 +00:00
mjudge%netscape.com
8efaa31294
fixing 2 bugs. bug for notifications going out when we dont need them for selection changing. and for fixing some keyboard navigations around non-text frames
2000-04-12 10:34:19 +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
c5c503948f
making string conversions explicit
2000-04-03 11:20:35 +00:00
mjudge%netscape.com
ad7071118d
selecting generated content works now. subtree iterator and all. incredible... added new private method to nsTextFrame to factor out some things on getting correct offsets from generated frames. its a no-op almost for non generated frames
2000-04-02 05:05:31 +00:00
mjudge%netscape.com
a4bad11091
moving nsGeneratedContent stuff to new file nsGeneratedIterator. adding new bitflags for selection types for nsSelection
2000-03-31 07:17:22 +00:00
cmanske%netscape.com
175fed3e97
Optimized SelectBlockOfCells to select/unselect only those cells that really need to be. r=mjudge
2000-03-24 02:52:07 +00:00
cmanske%netscape.com
e7d0908c04
Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze.
2000-03-23 04:24:58 +00:00
cmanske%netscape.com
c5f9ea22d4
Cleaning up selection: changed 'RangeList' to 'Selection', thus changing implementation class of nsIDOMSelection and nsIFrameSelection to nsSelection. File nsRangeList.cpp replaced with new nsSelection.cpp
2000-03-21 23:58:02 +00:00