Граф коммитов

52 Коммитов

Автор SHA1 Сообщение Дата
Aryeh Gregor 0f6ff731ff Bug 599983 part 2 - Don't emit or process _moz_dirty more than necessary; r=ehsan,bz 2012-04-24 09:06:11 +03:00
Masayuki Nakano 533d343879 Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug 2012-03-27 10:36:44 +09:00
Olli Pettay d03b3983a0 Bug 730013 - don't addref/release nsTransactionManager so much to prevent it to end up to the purple buffer, r=ehsan 2012-02-23 22:47:37 +02:00
Neil Deakin e91ed72e36 Bug 499008, part 5, merge the text and html implementations of InsertFromDrop, r=ehsan 2012-02-17 09:16:59 -05:00
Neil Deakin d2b7f62da0 Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan 2012-02-17 09:16:59 -05:00
Fabien Cazenave 2dc736d857 Bug 676401 - The document.queryCommandEnabled API doesn't take the active editing host into account; r=ehsan
* adding an `isSelectionEditable' readonly attribute in <nsIEditor>;
 * modified all ::IsCommandEnabled methods in editor/ to take it into account:

./libeditor/base/nsEditorCommands.cpp (15 commands)
  nsUndoCommand                   'undo'
  nsRedoCommand                   'redo'
  nsClearUndoCommand              'clearUndo'
  nsCutCommand                    'cut'
  nsCutOrDeleteCommand            ?
  nsCopyCommand                   'copy'
  nsCopyOrDeleteCommand           ?
  nsPasteCommand                  'paste'
  nsPasteTransferableCommand      ?
  nsSwitchTextDirectionCommand    ?
  nsDeleteCommand                 'delete'
  nsSelectAllCommand              'selectAll'
  nsSelectionMoveCommands         ?
  nsInsertPlaintextCommand        ?
  nsPasteQuotationCommand         ?

./composer/src/nsComposerCommands.cpp (15 commands)
  nsBaseStateUpdatingCommand      ?
  nsPasteNoFormattingCommand      ?
  nsRemoveListCommand             ?
  nsIndentCommand                 'indent'
  nsOutdentCommand                'outdent'
  nsMultiStateCommand             ?
  nsHighlightColorStateCommand    'hiliteColor'
  nsAbsolutePositioningCommand    ?
  nsDecreaseZIndexCommand         ?
  nsIncreaseZIndexCommand         ?
  nsRemoveStylesCommand           'removeFormat'
  nsIncreaseFontSizeCommand       'increaseFontSize'
  nsDecreaseFontSizeCommand       'decreaseFontSize'
  nsInsertHTMLCommand             'insertHTML'
  nsInsertTagCommand              ?

./composer/src/nsComposerDocumentCommands.cpp (3 commands)
  nsSetDocumentOptionsCommand     ?
  nsSetDocumentStateCommand       ?
  nsDocumentStateCommand          n/a (unpatched)
2011-08-17 13:28:03 -04:00
Ehsan Akhgari c40ea041a7 Bug 617539 - Remove nsIEditor_MOZILLA_2_0_BRANCH; r=roc 2011-04-11 16:00:32 -04:00
Ehsan Akhgari eb91b76a71 Bug 407127 - Part 6: Remove the presshell argument to nsIEditor::Init as it's no longer necessary; r=roc 2011-03-11 00:40:31 -05:00
Ehsan Akhgari fe40185d41 Bug 527935 - Fire the input event for text controls with the correct trusted-ness status; r=roc a=blocking-final+ 2010-12-07 01:30:05 -05:00
Daniel Holbert b44704efa2 Bug 577609: Remove duplicate 'EDirection' typedef from nsIEditor.idl. r=ehsan 2010-07-13 11:50:18 -07:00
Tom Dyas b0be514ccf Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2010-01-10 20:45:45 -05:00
Josh Aas a20b6ad699 Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas 4120a1d131 Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2009-12-30 15:58:33 -05:00
Robert O'Callahan 6a2bbb2ee8 Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats 2008-12-12 21:34:43 +13:00
reed@reedloden.com b33b57bb92 Bug 356466 - Rev nsIEditor IID and documentation due to ownership model changes [p=roc r=Neil sr=bzbarsky a=blocking1.9+] 2007-11-07 20:02:57 -08:00
peterv@propagandism.org 02b7a30529 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org 0919df3f05 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org e15f728720 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
reed%reedloden.com d167b926f6 Bug 356466 - Rev nsIEditor IID and documentation due to ownership model changes [p=roc r=Neil sr=bzbarsky a=blocking1.9+] 2007-11-08 04:02:57 +00:00
peterv%propagandism.org b188226d8f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-28 02:48:22 +00:00
peterv%propagandism.org 3aef5b4f41 Backing out to fix orange. 2007-06-27 23:21:09 +00:00
peterv%propagandism.org c08e0c73cb Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 22:29:54 +00:00
asqueella%gmail.com 2554ce2762 bug 362695 - Change nsIEditor to remove readonly on transactionManager
patch by Alex Vincent <ajvincent@gmail.com>
r=neil, sr=sfraser
2007-02-05 22:24:12 +00:00
timeless%mozdev.org 2b6cb1a8b3 Bug 331023 Cleanup of IDL files; fixing type inconsistencies
r=neil sr=bz
change nsIXULTemplateBuilder and nsIEditor to reference nsIContent as an interface
2007-01-07 11:01:35 +00:00
pkasting%google.com 2d2ae1b4aa Bug 339127: Spellcheck attribute, followup. Change nsIEditor UUID since
I changed the IDL file to add more methods in my original patch.
2006-07-29 00:57:42 +00:00
pkasting%google.com 48d836c35d Bug 339127: Add "spellcheck" attribute to control spellchecking.
r=brettw
sr=sicking
2006-07-29 00:04:40 +00:00
brettw%gmail.com 97c9c6513a Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky 2005-12-05 18:07:33 +00:00
scott%scott-macgregor.org 6fcaaf5e1f 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
2005-02-01 21:12:53 +00:00
mozilla.mano%sent.com 37d2c1066e Bug 279416 - Implement a controller for cmd_switchTextDirection. r=brade sr=neil (for editor/) r=smontagu sr=neil (for xpfe/) r=mconnor (for browser/) 2005-01-26 01:40:30 +00:00
darin%meer.net fb3826168b landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2004-10-25 19:34:45 +00:00
gerv%gerv.net 6f486a3c92 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
brade%netscape.com 7cdb30f095 fix warning for cstring charset change made a week or two ago; editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:38:51 +00:00
alecf%flett.org 5614718dd3 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
2003-06-17 16:40:34 +00:00
glazman%netscape.com bef7afc6f3 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
2003-06-17 08:45:54 +00:00
kin%netscape.com 086e9f0622 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
2003-04-04 20:50:25 +00:00
cmanske%netscape.com 22d098a717 Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz 2002-09-18 19:42:38 +00:00
glazman%netscape.com dfe457b9a4 fixes several bugs at once:
could not revert to HTML attributes default value,
VALIGN attribute on table elements was not CSSized,
page colors of new documents were not CSSized,
bad design in |nsEditor::CloneAttributes()|,
new image width/height/border attributes were not CSSized,
error in EdTableProps.js

b=167712, b=167716, r=brade, r=jfrancis, sr=kin
2002-09-17 12:04:59 +00:00
akkana%netscape.com f93c06c8f7 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa 2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu c27759216d Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:16:54 +00:00
glazman%netscape.com 4860f9539e It was impossible to set the background color of a table thru TableOrCell Background Color menu item.
b=127723, r=jfrancis, r=cmanske, sr=kin, a=asa
2002-03-15 15:33:29 +00:00
akkana%netscape.com d4afc4dae6 128903: Clean up the editor IDL, and anyone who uses them. r=brade,cmanske,ducarroz (for mail); sr=sfraser; a=dbaron 2002-03-14 22:11:14 +00:00
glazman%netscape.com 31d7bfc1f0 remove CSSisms from nsEditor; b=121092, r=brade, sr=kin 2002-01-25 10:16:52 +00:00
brade%netscape.com b5713251e3 remove SaveDocument from the API; use nsIWebBrowserPersist instead 2002-01-14 20:33:18 +00:00
glazman%netscape.com e33a80b378 CSS in Composer, step 1 ; b=77705, r=jfrancis, r=cmanske, sr=kin 2002-01-09 13:51:37 +00:00
brade%netscape.com 27cf82446b implement modification count in editor; bug 112008, sr=smfr, r=akk 2001-12-10 15:23:11 +00:00
brade%netscape.com 211b7874ca nsIFile->nsIURI in SaveDocument api (bug #104883) 2001-11-01 15:26:34 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
mjudge%netscape.com 65992ebcd9 kin=sr r=kin bug 75743 removing some [noscript]s from idl file to expose more idl to js 2001-04-12 23:37:08 +00:00
cmanske%netscape.com 819addb94c Fixed reset selection when inserting under <head>. Also removed compile warning in nsTableEditor.cpp, b=71883, r=jfrancis,kin sr=sfraser 2001-04-12 03:41:06 +00:00