Commit Graph

530 Commits

Author SHA1 Message Date
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
kin@netscape.com
36539abdf6 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
1969225b2c r= jfrancis sr= kin 2002-04-16 02:39:54 +00:00
mjudge@netscape.com
6a4943d6c2 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
71872116ef 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
61341db4c0 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
e4e3326d2c 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
5b7457dc0e 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
2196e347f9 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
644b8cfc16 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
timeless@mac.com
74848c768e 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
5c8ab4acf0 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
59591e78fc 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
3e8e9e62af #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
a29a08f141 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
5ba3ff1a0d License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
rjesup@wgate.com
cddb37f0af 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
c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
dbaron@fas.harvard.edu
63ca8a324a 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
d6e999f56b 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
a9aa77073f Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
simon@softel.co.il
e1ecb7a879 Corrects the arguments in calls to GetBidiProperty. Bug 87610, r=mkaply, sr=kin. 2001-06-27 08:08:08 +00:00
ftang@netscape.com
a40c513f65 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
7b19132c34 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
20d7bc6052 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
df4f704a3b 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
dfdfa14592 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
mjudge@netscape.com
d074d0c12f 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
2c9616ef62 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
b6720965fb rename GetScrollView to GetScrollableView to match Set; bug #65124 2001-05-11 13:25:38 +00:00
mjudge@netscape.com
1c4d66e125 46811 sr= kin r= cmanske 2001-05-11 08:01:40 +00:00
jst@netscape.com
650643b391 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
4161e389b9 changing table cell selection to use borders. sr=waterson r= kin 26831 2001-05-03 23:59:55 +00:00
mjudge@netscape.com
629722a315 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
69b23b1d57 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
5120dafcce 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
338bebf4b6 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
25edbb9354 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
5386071b63 Minor change to remove compile warning 2001-02-16 05:12:08 +00:00
cmanske@netscape.com
8668045ec7 Fixed table selection bug 68860. r=brade, sr=sfraser 2001-02-16 03:33:12 +00:00
brade@netscape.com
ebd626123d cleanup of FetchDesiredX; r=kin; sr=sfraser 2001-02-05 15:43:46 +00:00
cmanske@netscape.com
1ccc01e5a4 Fixed selecting multiple rows, columns. Bug 64093, r=mjudge, sr=kin,sfraser 2001-01-04 00:24:39 +00:00
cmanske@netscape.com
4a6b38c309 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
ce1389acc6 backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
cmanske@netscape.com
2493911a31 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
674f20fe4a Trying to fix speedracer build bustage 2000-12-20 02:56:17 +00:00
cmanske@netscape.com
9e1ac4fb94 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
975dd0c66e added in code to allow GetSelection() to work. r= mstoltz 2000-11-29 00:13:00 +00:00