213 Commits

Author SHA1 Message Date
masayuki%d-toybox.com
8f1dc6a83b Bug 417315 Cannot use IME menus during IME transaction #2 r=peterv+enndeakin, sr=peterv, a1.9=beltzner
git-svn-id: svn://10.0.0.236/trunk@246046 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 07:18:53 +00:00
reed%reedloden.com
14d0f68a13 Bug 356466 - Rev nsIEditor IID and documentation due to ownership model changes [p=roc r=Neil sr=bzbarsky a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238948 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:02:57 +00:00
bzbarsky%mit.edu
43d165c801 Avoid doing some work when initializing textfields. Bug 221150, patch by
peterv and a little bit me, r=me, sr=roc


git-svn-id: svn://10.0.0.236/trunk@230820 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 00:11:23 +00:00
peterv%propagandism.org
9e04fca5dd Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00
peterv%propagandism.org
857e346b36 Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
asqueella%gmail.com
82cc2200b9 bug 362695 - Change nsIEditor to remove readonly on transactionManager
patch by Alex Vincent <ajvincent@gmail.com>
r=neil, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@219527 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 22:24:12 +00:00
timeless%mozdev.org
387b9b3478 Bug 331023 Cleanup of IDL files; fixing type inconsistencies
r=neil sr=bz
change nsIXULTemplateBuilder and nsIEditor to reference nsIContent as an interface


git-svn-id: svn://10.0.0.236/trunk@217916 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-07 11:01:35 +00:00
pkasting%google.com
de59c13c66 Bug 339127: Spellcheck attribute, followup. Change nsIEditor UUID since
I changed the IDL file to add more methods in my original patch.


git-svn-id: svn://10.0.0.236/trunk@205110 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:57:42 +00:00
pkasting%google.com
0f0eee34d2 Bug 339127: Add "spellcheck" attribute to control spellchecking.
r=brettw
sr=sicking


git-svn-id: svn://10.0.0.236/trunk@205107 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:04:40 +00:00
brettw%gmail.com
713d05d4b4 Bug 335607 r=bryner,sr=mscott
dquote> Make dictionary selection persistent


git-svn-id: svn://10.0.0.236/trunk@196432 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-12 23:15:17 +00:00
timeless%mozdev.org
3381bf1e44 Bug 253481 xul:textbox attribute to specify what happens to pasted line breaks
patch by ted.mielczarek@gmail.com r=brade/neil sr=jag


git-svn-id: svn://10.0.0.236/trunk@186330 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-20 20:12:54 +00:00
brettw%gmail.com
6f8da34eb9 Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@185706 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-05 18:07:33 +00:00
masayuki%d-toybox.com
6948be6ab9 Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184612 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 23:55:24 +00:00
masayuki%d-toybox.com
96eaea8614 backing out previous patch b=55751
git-svn-id: svn://10.0.0.236/trunk@184606 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 22:33:39 +00:00
masayuki%d-toybox.com
6794b16a7b Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184594 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:32:16 +00:00
mats.palmgren%bredband.net
8827f1128a Make the plaintext editor count the length of the selected text correctly, so it doesn't violate MAXLENGTH. b=299417 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182353 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:54:02 +00:00
scott%scott-macgregor.org
9880b9b613 Bug #278312 --> editor changes to support inline spell checking. Includes the interface for the inline spell checker
and editor hooks to call out to an inline spell checker component.


moa/r=glazman
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@168662 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 21:12:53 +00:00
bzbarsky%mit.edu
7572605e3c Add a way for IME to query the caret position. Bug 278061, patch by
Masayuki Nakano (Mozilla Japan) <masayuki@d-toybox.com>, r=smontagu,glazou,
sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@168653 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 19:24:59 +00:00
mozilla.mano%sent.com
4f5fe9c938 Bug 279416 - Implement a controller for cmd_switchTextDirection. r=brade sr=neil (for editor/) r=smontagu sr=neil (for xpfe/) r=mconnor (for browser/)
git-svn-id: svn://10.0.0.236/trunk@168336 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-26 01:40:30 +00:00
jst%mozilla.jstenback.com
20b5c08b39 Fixing bug 92686. Return inserts line break, should insert paragraph break. Patch by daniel@glazman.org, r=brade@comcast.netbrade@comcast.net, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@167608 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:11:48 +00:00
darin%meer.net
3f701b6803 landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner
git-svn-id: svn://10.0.0.236/trunk@164375 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 19:34:45 +00:00
jshin%mailaps.org
2b60749067 bug 16940: need an XP API to disable input methods for password fields (r/sr : various people : see bugzilla), patch by Masayuki Nakano <masayuki@d-toybox.com>
git-svn-id: svn://10.0.0.236/trunk@162153 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 05:00:57 +00:00
smontagu%smontagu.org
e23a460903 Backout last checkin because of build bustage
git-svn-id: svn://10.0.0.236/trunk@162140 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 07:48:29 +00:00
smontagu%smontagu.org
eab0baf7ca Bug 16940, XP API to disable input methods for password fields. Patch by Masayuki Nakano, masayuki@d-toybox.com; see bug for reviewers.
git-svn-id: svn://10.0.0.236/trunk@162139 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 07:13:12 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
dbaron%dbaron.org
2f071d5ceb Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@146845 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 19:18:52 +00:00
brade%netscape.com
7b542e3e34 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@145270 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 13:13:50 +00:00
brade%netscape.com
c7798d7fd7 fix includes; r=kaie, sr=tor, bug=180316
git-svn-id: svn://10.0.0.236/trunk@144959 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 19:03:34 +00:00
brade%netscape.com
5653a21c6f fix comment
git-svn-id: svn://10.0.0.236/trunk@144615 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 02:39:51 +00:00
brade%netscape.com
5cac6da6af fix warning for cstring charset change made a week or two ago; editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
git-svn-id: svn://10.0.0.236/trunk@144583 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:38:51 +00:00
glazman%netscape.com
68de2ad1fd Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144144 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 08:50:48 +00:00
glazman%netscape.com
3825cdfefa Composer's structure toolbar was showing anonymous content; b=190279, r=Neil, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@143931 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 14:06:05 +00:00
alecf%flett.org
71e5d724e5 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
glazman%netscape.com
2b6f3cbea5 Removing text styles in CSS mode was potentially removing too much if the styles were added in HTML mode
The fix creates a span element that will carry the inline styles and class of the HTML element to be removed, if any.
b=202037, r=kaie, sr=dmose


git-svn-id: svn://10.0.0.236/trunk@143790 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 08:45:54 +00:00
brade%netscape.com
2d1f651343 remove unused params; r=akkana, sr=kin, bienvenu, bug=208967
git-svn-id: svn://10.0.0.236/trunk@143639 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 14:51:37 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
brade%netscape.com
601b8b9d42 add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539
git-svn-id: svn://10.0.0.236/trunk@143515 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 18:52:31 +00:00
jfrancis%netscape.com
bf700200ef bug 140357: (html editor) deletion should preserve style state. r=brade; sr=kin
git-svn-id: svn://10.0.0.236/trunk@143203 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-02 22:21:06 +00:00
brade%netscape.com
7863d97a97 api change to insertion filter to add flag for delete selection; r=timeless; sr=kin; a=asa; bug=204066
git-svn-id: svn://10.0.0.236/trunk@142277 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 18:33:14 +00:00
sfraser%netscape.com
cbc443676c Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@141607 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 18:11:12 +00:00
kin%netscape.com
733361e518 Fix for bugzilla 91131(Cannot spellcheck selection)
First pass implementation of spellcheck selection feature:

  editor/composer/src/nsEditorSpellCheck.cpp
  editor/idl/nsIEditorSpellCheck.idl
  editor/txtsvc/public/nsITextServicesDocument.h
  editor/txtsvc/src/Makefile.in
  editor/txtsvc/src/nsTextServicesDocument.cpp
  editor/txtsvc/src/nsTextServicesDocument.h
  editor/ui/composer/content/ComposerCommands.js
  editor/ui/dialogs/content/EdSpellCheck.js
  mailnews/compose/resources/content/MsgComposeCommands.js

r=jfrancis@netscape.com,brade@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@141315 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 14:29:08 +00:00
brade%netscape.com
70e9b4c7dc updated insertHTML* methods; bug 192567 (r=jfrancis, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@141180 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 14:00:08 +00:00
brade%netscape.com
0ceb7abab4 add new idl file; bug 192567 (r=jfrancis, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@141179 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 13:57:38 +00:00
brade%netscape.com
02a7c94dcc new idl file for bug 192567 (r=jfrancis, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@141178 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 13:56:53 +00:00
kin%netscape.com
d43528516f Fixes for bug 192569 (allow foreign transactions to be added to the queue)
mozilla/editor/idl/nsIEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/PlaceholderTxn.cpp
mozilla/editor/libeditor/html/nsHTMLCSSUtils.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsTextEditRules.cpp

  - Renamed nsIEditor::Do() to nsIEditor::DoTransaction() so that it
    can be called from JavaScript.

  - Cleaned up nsEditor::Begin/EndUpdateViewBatch() so that
    nothing happens outside the check of mUpdateCount.

  - Modified PlaceholderTxn.cpp so that it checks to see
    if a merged transaction implements nsPIEditorTransaction
    before attempting to cast it to (EditorTxn*).

mozilla/editor/ui/composer/content/EditorCommandsDebug.js
mozilla/editor/ui/composer/content/editorOverlay.xul
mozilla/editor/ui/composer/locale/en-US/editorOverlay.dtd

  - Added debug menu items to test execution of foreign transactions
    via the txnmgr and editor.

r=jfrancis@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@140707 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 20:50:25 +00:00
glazman%netscape.com
aa100a61e3 missing files for b=47066, r=brade,cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@138322 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 10:18:18 +00:00
glazman%netscape.com
20124c5607 Allow mouse-driven resizing of images and tables in all instances of editor.
For the default Mozilla build, this includes Composer and Mail Composition.
Embeddors willing to disable this feature should look at |nsHTMLEditor::SetIsImageResizingEnabled()|
Displays eight resizing handles plus an info box. Images are resized real-time.
Uses HTML attributes in pure HTML mode (mail composition for instance) and CSS properties when available.
Undoable and Redoable. Does not grind coffe and make a good expresso yet.
Thanks if you really read to that line.

b=47066, r=brade, r=cmanske (for the algo part inheriting from the XBL patch), sr=kin


git-svn-id: svn://10.0.0.236/trunk@138320 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 09:37:18 +00:00
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
rods%netscape.com
3f0a190da8 Implement filters for spellchecker, so we can skip certain nodes (like Block Quote "cite") for mail
Bug 173046 r=jfrancis sr=kin a=asa


git-svn-id: svn://10.0.0.236/trunk@135030 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 15:03:04 +00:00