gecko/editor/libeditor/base
Fabien Cazenave 4862d93606 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
..
crashtests Add bug number to comment. a=NPOTB DONTBUILD 2011-02-24 13:43:48 -08:00
tests Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
ChangeAttributeTxn.cpp Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
ChangeAttributeTxn.h Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
ChangeCSSInlineStyleTxn.cpp Bug 605177 - Fix a number of build warnings in editor/; r=ehsan a=bsmedberg 2010-11-04 16:44:46 -04:00
ChangeCSSInlineStyleTxn.h
CreateElementTxn.cpp Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
CreateElementTxn.h Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
DeleteElementTxn.cpp Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
DeleteElementTxn.h Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
DeleteRangeTxn.cpp Bug 605177 - Fix a number of build warnings in editor/; r=ehsan a=bsmedberg 2010-11-04 16:44:46 -04:00
DeleteRangeTxn.h
DeleteTextTxn.cpp Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc 2010-06-17 15:41:16 -04:00
DeleteTextTxn.h
EditAggregateTxn.cpp Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
EditAggregateTxn.h Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
EditTxn.cpp Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
EditTxn.h
IMETextTxn.cpp Bug 407127 - Part 2: Refactor the editor so that it only touches mSelConWeak in GetSelectionController, to make removing it for HTML editors easier; r=roc 2011-03-11 00:40:30 -05:00
IMETextTxn.h Bug 407127 - Part 2: Refactor the editor so that it only touches mSelConWeak in GetSelectionController, to make removing it for HTML editors easier; r=roc 2011-03-11 00:40:30 -05:00
InsertElementTxn.cpp Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
InsertElementTxn.h Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
InsertTextTxn.cpp Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
InsertTextTxn.h Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
JoinElementTxn.cpp Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc 2010-06-17 15:41:16 -04:00
JoinElementTxn.h
Makefile.in Bug 240933 - Part 8: Avoid creating multiple textnodes when adding text to textareas; r=roc a=dbaron 2010-07-19 16:47:52 -04:00
nsEditor.cpp Bug 676401 - The document.queryCommandEnabled API doesn't take the active editing host into account; r=ehsan 2011-08-17 13:28:03 -04:00
nsEditor.h Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
nsEditorCommands.cpp Bug 676401 - The document.queryCommandEnabled API doesn't take the active editing host into account; r=ehsan 2011-08-17 13:28:03 -04:00
nsEditorCommands.h
nsEditorController.cpp Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
nsEditorController.h
nsEditorEventListener.cpp Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
nsEditorEventListener.h Bug 663461 Part 1: Remove Add/RemoveEventListenerByIID from editor. r=smaug 2011-06-27 16:34:54 -07:00
nsEditorUtils.cpp Bug 605177 - Fix a number of build warnings in editor/; r=ehsan a=bsmedberg 2010-11-04 16:44:46 -04:00
nsEditorUtils.h
nsEditProperty.h
nsEditPropertyAtomList.h Bug 617528 Part 2 - Core implementation r=smaug 2011-08-08 19:31:32 +02:00
nsEditRules.h Bug 611182 - Part 3: Handle dynamic changes to the editable documents and create/remove the bogus node if needed; r=bzbarsky a=blocking-beta8+ 2010-11-11 16:40:52 -05:00
nsIAbsorbingTransaction.h
nsIEditorSupport.h
nsSelectionState.cpp Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith 2011-07-25 21:57:58 -07:00
nsSelectionState.h
nsStyleSheetTxns.cpp Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
nsStyleSheetTxns.h
PlaceholderTxn.cpp Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc 2010-06-17 15:41:16 -04:00
PlaceholderTxn.h
SetDocTitleTxn.cpp Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc 2010-06-17 15:41:16 -04:00
SetDocTitleTxn.h
SplitElementTxn.cpp Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00
SplitElementTxn.h Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00