Commit Graph

338 Commits

Author SHA1 Message Date
Neil Rashbrook
e7ecf3a5d5 Bug 714164 Restore some global window commands that were removed as part of bug 669026 because they appeared to be unused r=ehsan sr=roc 2012-01-05 21:33:41 +00:00
Ms2ger
1bc518a27a Bug 714258 - Remove unused variable rv in nsEditorController::RegisterEditorCommands; r=ehsan 2012-01-02 19:05:19 +01:00
Masayuki Nakano
a0dbc0b9f1 Bug 713502 Fire input event even during composition r=smaug+ehsan 2011-12-31 23:04:37 +09:00
Olli Pettay
213ecacdc8 Bug 714250 - Optimize nsTransactionManager traversing, r=ehsan, mccr8
--HG--
extra : rebase_source : ee6fbf5481e9f3602ee8afe032963f662ae3fd03
2011-12-30 19:16:10 +02:00
Neil Rashbrook
7c093f5b43 Bug 692153 Make Copy and Select All always work even when contenteditable areas are present r=ehsan 2011-12-30 17:42:04 +00:00
Phil Ringnalda
8e7c10e41c Merge m-i <-> m-c 2011-12-24 21:50:23 -08:00
Neil Rashbrook
985ba4520e Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan 2011-12-24 00:11:30 +00:00
Masayuki Nakano
228fad0b19 Bug 698949 Editor should refuse untrusted keypress event r=smaug 2011-12-21 21:11:36 +09:00
Ms2ger
18644fe7e7 Bug 709523 - Part c: Remove EditAggregateTxn::{GetCount,GetTxnAt,SetName}; r=ehsan a=edmorley 2011-12-11 21:00:27 +01:00
Ms2ger
ceac7a2148 Bug 709523 - Part b: Remove nsDOMIterator::ForEach; r=ehsan a=edmorley 2011-12-11 21:00:25 +01:00
Ms2ger
bd8751c243 Bug 709523 - Part a: Remove nsDOMSubtreeIterator::Init; r=ehsan a=edmorley 2011-12-11 21:00:23 +01:00
Atul Aggarwal
e72cb419b6 Bug 703239 - Fixing build warnings in editor/, r=ehsan 2011-12-22 23:46:56 +05:30
Phil Ringnalda
3cce1527f8 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Markus Stange
d377851c88 Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc 2011-12-23 22:52:23 -05:00
Markus Stange
352b17f6aa Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange
28d5d52e08 Bug 598482 part 6 - Remove nsIPlaintextEditor::eEditorUseAsyncUpdatesMask because it doesn't have any effect anymore. r=roc 2011-12-23 22:52:21 -05:00
Fabien Cazenave
9a367e43a4 Bug 684187 - Use dom::Element instead of nsIDOMElement for nsEditor::mRootElement; r=ehsan 2011-12-03 22:50:15 +01:00
Masayuki Nakano
a83fec7fde Bug 392159 Use nsIClipboard::SupportsSelectionClipboard() instead of #ifdef in nsEditorEventListener r=ehsan 2011-11-30 11:57:41 +09:00
Boris Zbarsky
7f88910daa Bug 635618 part 5. Pass an optional argument to GetPriorNode and GetNextNode to limit the search. r=ehsan 2011-11-28 07:54:32 -05:00
Boris Zbarsky
668258a92d Bug 635618 part 4. Switch GetNextNode and GetPriorNode to working with nsINode. r=ehsan 2011-11-28 07:54:14 -05:00
Boris Zbarsky
7efbaff469 Bug 635618 part 3. Switch GetPriorNodeImpl and GetNextNodeImpl to working with nsINode. r=ehsan 2011-11-28 07:54:03 -05:00
Boris Zbarsky
e63a7b5b96 Bug 635618 part 2. Add nsINode overloads of various editor helper methods. r=ehsan 2011-11-28 07:53:29 -05:00
Boris Zbarsky
f9e05f46cc Bug 635618 part 1. Only get computed style in IsElementVisible if we end up in a situation where we're waiting on lazy frame construction. r=ehsan 2011-11-28 07:53:15 -05:00
Masayuki Nakano
4747609569 Bug 685395 part.6 Notify mouse click event on editor to widget r=roc+smaug+doug.turner 2011-11-27 20:51:53 +09:00
Masayuki Nakano
10df4c7960 Bug 685395 part.5 Reomve IME state in nsIContent r=roc, sr=matspal 2011-11-27 20:51:53 +09:00
Masayuki Nakano
b27f1fad56 Bug 697842 stopPropagation() shouldn't break IME composition r=ehsan 2011-11-27 09:36:36 +09:00
Masayuki Nakano
3d287e297d Bug 674770 part.1 Shouldn't accept click event if the event target isn't in focused editor r=ehsan 2011-11-26 13:51:48 +09:00
Ehsan Akhgari
0d491c6c86 Bug 682712 - Set the correct selection type when initializing the selection in editable content; r=roc 2011-11-18 16:47:40 -05:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Ms2ger
46522f17ea Bug 697210 - Part c: Remove nsIDocument::CreateElem's aDocumentDefaultType argument; r=bz 2011-10-29 22:21:20 +02:00
Ms2ger
b063085157 Bug 690120 - Make nsEditor::GetAttributeValue not use attribute nodes; r=ehsan 2011-10-29 22:19:27 +02:00
Ms2ger
731edba0b8 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Ehsan Akhgari
dbe53002d5 Backout changeset be42bc18185a (bug 612128) because of bug 688423 2011-10-25 22:32:55 -04:00
Ehsan Akhgari
574c7ff0d7 Backout changeset a4d5ca366ef1 (bug 612128 followup) because of bug 688423 2011-10-25 22:31:15 -04:00
Ehsan Akhgari
7190838338 Bug 612128 followup - Adjust the assertion count because bug bug 695364 should be fixed now 2011-10-20 14:01:12 -04:00
Ehsan Akhgari
317cb20a80 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).

--HG--
extra : rebase_source : 37317b4d95c2ea957be81420583a98a24f0864ac
2010-11-16 15:45:49 -05:00
Ehsan Akhgari
568b8f7b5a Bug 688789 - Stop touching the frame tree to determine whether a node is editable or not; r=roc 2011-10-17 00:11:29 -04:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Quentin Headen
2fe3ac75d0 Bug 364914 - Do not spell check the contents of a textarea until it's focused for the first time; r=ehsan 2011-10-16 22:06:24 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Graeme McCutcheon
6171ee4207 Bug 46555 - "Select All" should only be enabled when editor is non-empty. r=ehsan, gavin 2011-09-23 22:44:53 +01:00
Ehsan Akhgari
85e673bce7 Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions 2011-09-22 18:09:44 -04:00
Ehsan Akhgari
ec2d83e852 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
Ehsan Akhgari
5512725a02 Bug 98160 - Add support for platform native text switching keyboard shortcuts in bidi UI on Windows; r=roc 2011-09-15 10:54:50 -04:00
Jesper Kristensen
90f5bdbe17 Bug 591780 - Part 1: Backend support for adding and removing spell checker dictionaries at runtime; r=ehsan 2011-09-13 14:58:54 -04:00
Masayuki Nakano
27777a6f2a Bug 669028 part.9 editor should use mozilla::LookAndFeel rather than nsILookAndFeel r=ehsan 2011-09-09 11:27:12 +09:00
Ms2ger
0038e2e573 Bug 684807 - Annotate crashtest assertions on Android; r=philor 2011-09-06 18:35:43 +02:00
Ed Morley
4923d068c0 Backout a422b9ff0a9e (bug 591780 part 1) for causing 8% Ts regression on multiple platforms; a=khuey 2011-09-06 14:32:26 +01:00
Jesper Kristensen
ffe4248d12 Bug 591780 - Part 1: Backend support for adding and removing spell checker dictionaries at runtime; r=ehsan 2011-09-05 18:44:34 -04:00