gecko/editor/libeditor/base
Ehsan Akhgari 2be6b796b2 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
..
crashtests Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
tests Bug 746915 part 1 - Move editing-related tests to editor/ directories; r=ehsan 2012-05-03 10:09:44 +03:00
ChangeAttributeTxn.cpp Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
ChangeAttributeTxn.h Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
ChangeCSSInlineStyleTxn.cpp Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
ChangeCSSInlineStyleTxn.h Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
CreateElementTxn.cpp Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07: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 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07: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 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
DeleteRangeTxn.h
DeleteTextTxn.cpp Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
DeleteTextTxn.h
EditAggregateTxn.cpp Bug 709523 - Part c: Remove EditAggregateTxn::{GetCount,GetTxnAt,SetName}; r=ehsan a=edmorley 2011-12-11 21:00:27 +01:00
EditAggregateTxn.h Bug 709523 - Part c: Remove EditAggregateTxn::{GetCount,GetTxnAt,SetName}; r=ehsan a=edmorley 2011-12-11 21:00:27 +01:00
EditTxn.cpp Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
EditTxn.h Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
IMETextTxn.cpp Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
IMETextTxn.h Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
InsertElementTxn.cpp Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07: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 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
InsertTextTxn.h Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
JoinElementTxn.cpp Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
JoinElementTxn.h
Makefile.in Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey 2012-02-04 17:32:24 +00:00
nsEditor.cpp Bug 700538 part 4 - Remove now-redundant nsHTMLEditor::IsNodeInActiveEditor; r=ehsan 2012-05-06 10:53:11 +03:00
nsEditor.h Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
nsEditorCommands.cpp Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
nsEditorCommands.h Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
nsEditorController.cpp Bug 714258 - Remove unused variable rv in nsEditorController::RegisterEditorCommands; r=ehsan 2012-01-02 19:05:19 +01:00
nsEditorController.h Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan 2011-12-24 00:11:30 +00:00
nsEditorEventListener.cpp No bug - annoying comment typo in nsEditorEventListener.cpp DONTBUILD 2012-04-26 08:51:10 +01:00
nsEditorEventListener.h Bug 734530 - Spell check textareas if they're reframed when focused; r=roc 2012-03-19 12:21:56 -04:00
nsEditorUtils.cpp Bug 709523 - Part b: Remove nsDOMIterator::ForEach; r=ehsan a=edmorley 2011-12-11 21:00:25 +01:00
nsEditorUtils.h Bug 751547 - Unify action enums in editor/; r=ehsan 2012-05-05 21:52:29 +03:00
nsEditProperty.h
nsEditPropertyAtomList.h Bug 617528 Part 2 - Core implementation r=smaug 2011-08-08 19:31:32 +02:00
nsEditRules.h Bug 751547 - Unify action enums in editor/; r=ehsan 2012-05-05 21:52:29 +03:00
nsIAbsorbingTransaction.h Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
nsIEditorSupport.h Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
nsSelectionState.cpp Bug 717370 - Cleanup range-using and nearby code in editor; r=smaug+ehsan 2012-01-15 09:13:12 +01:00
nsSelectionState.h Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
nsStyleSheetTxns.cpp Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
nsStyleSheetTxns.h
PlaceholderTxn.cpp Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
PlaceholderTxn.h Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
SetDocTitleTxn.cpp Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron 2011-10-17 10:59:28 -04:00
SetDocTitleTxn.h Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
SplitElementTxn.cpp Bug 698381 - Make Node.cloneNode aDeep argument optional, default to true. r=smaug 2012-02-23 14:23:30 +01:00
SplitElementTxn.h Bug 633709: Fix editor's handling of txn objects. r+a=ehsan 2011-02-19 17:18:37 -05:00