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

61 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 29e56f5a88 Bug 1162818 part.6 Don't notify IME of anything during reframing the editor r=smaug 2015-06-05 02:06:10 +09:00
Masayuki Nakano a04cfb9c91 Bug 1162818 part.5 The offset of nsEditor::InsertTextImpl() should be minimum offset of IME selections if there is r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano e7292e052c Bug 1162818 part.4 Restore IME selection at initializing selection of the editor r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano 50063a41f4 Bug 1162818 part.3 nsEditor should store actual composition string length in it r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano 0453e65380 Bug 1162818 part.1 nsEditor shouldn't release/forget mComposition becuase it should be handled by it after reframing r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano 274f4c6cb1 Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan 2015-05-29 00:58:42 +09:00
Ehsan Akhgari 99f5d83f31 Bug 1166932 - Part 1: Copy the editor observers array before iterating over it; r=roc 2015-05-23 09:59:45 -04:00
Boris Zbarsky d36060dc11 Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv 2015-04-27 09:18:52 -04:00
Boris Zbarsky 418f0f69c3 Bug 1157898 part 2. Make code of the form "NS_ENSURE_SUCCESS(rv.ErrorCode(), rv.ErrorCode());" use Failed and StealNSResult instead. r=peterv
This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/NS_ENSURE_SUCCESS\(([a-zA-Z0-9]+)\.ErrorCode\(\), \1.ErrorCode\(\)\);/NS_ENSURE_TRUE(!\1.Failed(), \1.StealNSResult());/'
2015-04-27 09:18:52 -04:00
Boris Zbarsky 1540774b0c Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Aryeh Gregor 547b89759b Bug 1154701 part 12 - Switch nsEditor::mDocStateListeners to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor 3dd037d676 Bug 1154701 part 11 - Switch nsEditor::mEditorObservers to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor bdaa9608e6 Bug 1154701 part 10 - Switch nsEditor::mActionListeners to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Jorg K e7be62f33e Bug 1154791 - Remember all ranges for all selections when splitting nodes in the editor transactions; r=ehsan 2015-04-22 10:50:00 +02:00
Ehsan Akhgari b628218278 Bug 1100966 - Remember all ranges for all selections when joining nodes in the editor transactions; r=roc
This patch fixes some symptoms, the most common of which misspelling
ranges disappearing when performing some editor operations.
2015-03-12 19:42:26 -04:00
Andrea Marchesini a22105261f Bug 1134280 - Get rid of Tag() - patch 2.2 - /editor - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:08:59 +00:00
Ting-Yu Lin eacb4adcf8 Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Ehsan Akhgari 657ad4ff99 Bug 1120233 - Ensure that the delete command will stay enabled for password fields; r=roc 2015-01-22 23:26:59 -05:00
Daniel Holbert eccd00c15b Bug 1093191 part 3: Make .cpp files in libeditor #include their own .h file first. r=ehsan 2014-12-01 21:07:42 -08:00
Masayuki Nakano 7c2cde510e Bug 1077345 part.4 Add NS_COMPOSITION_COMMIT_AS_IS event which automatically commits composition with the last data r=smaug 2014-11-25 14:02:31 +09:00
Olli Pettay d93804de50 Bug 1101595 - [shadow-dom] <input> doesn't emit 'input' event when inside shadow-root, r=wchen
--HG--
extra : rebase_source : 6b0698d0bb9af3d41d39d4aab7b64aa0a6e7131a
2014-11-20 02:23:50 +02:00
Masayuki Nakano 020fd43d35 Bug 1047588 - IMEContentObserver::Init() should take nsIEditor because nsDocShell sometimes hasn't been initialized and nsContentEditor::GetHTMLEditor() fails. r=smaug 2014-11-05 08:12:44 -05:00
Wes Kocher e005079968 Backed out changeset f86dbba73d43 (bug 1047588) under suspicion of adding a hazard on a CLOSED TREE 2014-11-04 20:25:47 -08:00
Masayuki Nakano a75c24771c Bug 1047588 IMEContentObserver::Init() should take nsIEditor because nsDocShell sometimes hasn't been initialized and nsContentEditor::GetHTMLEditor() fails r=smaug 2014-11-05 10:36:37 +09:00
Aryeh Gregor b4b8b2f42d Bug 1088054 part 9 - Clean up nsEditor::JoinNodeDeep; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor 57248d7859 Bug 1088054 part 2 - Reduce nsIDOMRange use in editor/; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor f7e4d59fe5 Bug 1088054 part 1 - Reduce nsISelection use in editor/; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor 5158a403e7 Bug 1086349 part 8 - Clean up nsEditor::(Tag)CanContain(Tag); r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor d404d6e149 Bug 1086349 part 7 - Remove old nsEditor::GetRight/LeftmostChild overloads; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor aa91d2c603 Bug 1086349 part 6 - Remove old nsEditor::GetNextNode/GetPriorNode overloads; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor 7a88b21c2d Bug 1086349 part 5 - Clean up nsEditor::SplitNodeImpl; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor 8146930fd8 Bug 1086349 part 4 - Clean up nsEditor::DeleteSelectionAndCreateElement; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor 2420067448 Bug 1086349 part 3 - Clean up nsEditor::InsertTextImpl; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor 12ffa645e5 Bug 1086349 part 2 - Clean up SplitNodeTxn; r=ehsan
--HG--
rename : editor/libeditor/SplitElementTxn.cpp => editor/libeditor/SplitNodeTxn.cpp
rename : editor/libeditor/SplitElementTxn.h => editor/libeditor/SplitNodeTxn.h
2014-11-02 14:04:13 +02:00
Aryeh Gregor c496773550 Bug 1086349 part 1 - Clean up JoinNodeTxn; r=ehsan
--HG--
rename : editor/libeditor/JoinElementTxn.cpp => editor/libeditor/JoinNodeTxn.cpp
rename : editor/libeditor/JoinElementTxn.h => editor/libeditor/JoinNodeTxn.h
2014-11-02 14:04:12 +02:00
Masayuki Nakano 9011740f12 Bug 960871 part.6 Use WidgetCompositionEvent for NS_COMPOSITION_CHANGE instead of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Masayuki Nakano 09a5b86212 Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano 1cc2ff10cb Bug 1065835 part.6 Remove NOTIFY_IME_OF_CURSOR_POS_CHANGED and nsGtkIMModule should handle NOTIFY_IME_OF_SELECTION_CHANGE instead r=smaug+ehsan+karlt 2014-09-26 09:05:13 +09:00
Mats Palmgren 2c38b0b6b7 Bug 1061468 - Notify the editor when removing the focused element is its ancestor limiter. r=ehsan 2014-09-09 23:27:56 +00:00
Aryeh Gregor 57373fa0f6 Bug 1056166 part 6 - Clean up IMETextTxn; r=ehsan 2014-08-29 14:43:24 +03:00
Aryeh Gregor 4ba29d6526 Bug 1056166 part 4 - Remove nsEditProperty; r=ehsan 2014-08-29 14:43:24 +03:00
Aryeh Gregor 23b1ac0529 Bug 1056166 part 3 - Clean up ChangeAttributeTxn; r=ehsan 2014-08-29 14:43:23 +03:00
Aryeh Gregor bfb6a46780 Bug 1056166 part 2 - Clean up InsertTextTxn; r=ehsan 2014-08-29 14:43:23 +03:00
Birunthan Mohanathas 77bfad00a6 Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo 2014-08-25 12:17:32 -07:00
Aryeh Gregor e49b3bdc72 Bug 1055032 part 5 - Rename InsertElementTxn to InsertNodeTxn and clean up; r=ehsan
--HG--
rename : editor/libeditor/InsertElementTxn.cpp => editor/libeditor/InsertNodeTxn.cpp
rename : editor/libeditor/InsertElementTxn.h => editor/libeditor/InsertNodeTxn.h
2014-08-20 15:25:17 +03:00
Aryeh Gregor 40c68fb20c Bug 1055032 part 4 - Clean up DeleteTextTxn and friends; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor 327bd79fe4 Bug 1055032 part 3 - Use cleaned-up nsEditor::CreateNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor 32dc932d99 Bug 1055032 part 2 - Clean up nsEditor::CreateNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor 630695995b Bug 1055032 part 1 - Clean up nsEditor::MoveNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor b51de04d4d Bug 1054735 part 3 - Clean up nsEditor::InsertContainerAbove; r=ehsan 2014-08-20 15:25:16 +03:00