Commit Graph

3393 Commits

Author SHA1 Message Date
Aryeh Gregor
f7f6ccd406 Bug 1004522 part 7 - Clean up nsWSRunObject::Prior/NextVisibleNode; r=ehsan 2014-05-02 15:15:27 +03:00
Aryeh Gregor
df7ca0138c Bug 1004522 part 6 - Clean up nsWSRunObject::InsertText; r=ehsan 2014-05-02 15:15:27 +03:00
Aryeh Gregor
028db4aeff Bug 1004522 part 5 - Clean up nsWSRunObject::PrepareToSplitAcrossBlocks; r=ehsan 2014-05-02 15:15:26 +03:00
Aryeh Gregor
bc64cfe2ad Bug 1004522 part 4 - Clean up nsWSRunObject::PrepareToDeleteNode; r=ehsan 2014-05-02 15:15:26 +03:00
Aryeh Gregor
bcd9c426d2 Bug 1004522 part 3 - Clean up nsWSRunObject::PrepareToDeleteRange; r=ehsan 2014-05-02 15:15:26 +03:00
Aryeh Gregor
dba23e2229 Bug 1004522 part 2 - Clean up nsWSRunObject::DeleteWSForward; r=ehsan 2014-05-02 15:15:26 +03:00
Aryeh Gregor
f3ede06db7 Bug 1004522 part 1 - Clean up nsWSRunObject::PrepareToJoinBlocks; r=ehsan 2014-05-02 15:15:26 +03:00
Neil Rashbrook
8d54e5cbb7 Bug 1003894 Followup to switch from Text to nsIContent so that we can safely use do_QueryInterface r=ehsan 2014-05-10 21:16:03 +01:00
Ehsan Akhgari
ff54855fd2 Bug 1007940 - Improve the performance of editor initialization; r=bzbarsky 2014-05-09 17:02:29 -04:00
Benoit Jacob
60d536773a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Chris Peterson
3afa325a27 Bug 1006982 - Refactor anchor tag utility functions in nsHTMLEditor.cpp. r=ehsan 2014-05-06 21:29:20 -07:00
Chris Peterson
d293903419 Bug 1006982 - Fix -Wuninitialized warning in libeditor. r=ehsan 2014-05-06 21:07:50 -07:00
Aryeh Gregor
d0d76be020 Bug 1003894 part 5 - Clean up nsWSRunObject::ScrubBlockBoundary; r=ehsan 2014-05-02 14:11:26 +03:00
Aryeh Gregor
3e74b928c2 Bug 1003894 part 4 - Clean up nsWSRunObject::DeleteWSBackward; r=ehsan 2014-05-02 14:11:26 +03:00
Aryeh Gregor
1c724e9858 Bug 1003894 part 3 - Clean up nsWSRunObject::InsertBreak; r=ehsan 2014-05-02 14:11:26 +03:00
Aryeh Gregor
e17badd36f Bug 1003894 part 2 - Clean up nsWSRunObject::CheckTrailingNBSPOfRun; r=ehsan 2014-05-02 14:11:26 +03:00
Aryeh Gregor
558e69bc33 Bug 1003894 part 1 - Change WSPoint.mTextNode to Text; r=ehsan 2014-05-02 14:11:26 +03:00
Aryeh Gregor
e4533f6658 Bug 1003808 part 10 - Clean up nsWSRunObject::GetPrevious/NextWSNode; r=ehsan 2014-05-02 14:11:26 +03:00
Aryeh Gregor
171d2401f1 Bug 1003808 part 9 - Clean up nsWSRunObject::GetRuns; r=ehsan 2014-05-02 14:11:26 +03:00
Aryeh Gregor
ad717818ac Bug 1003808 part 8 - Use some more nsINode in nsWSRunObject; r=ehsan 2014-05-02 14:11:26 +03:00
Aryeh Gregor
8ae50792a2 Bug 1003808 part 7 - Convert WSFragment members to nsINode; r=ehsan 2014-05-02 14:11:26 +03:00
Aryeh Gregor
f23adf22a3 Bug 1003808 part 6 - Convert nsWSRunObject members to nsINode; r=ehsan 2014-05-02 14:11:26 +03:00
Aryeh Gregor
3c75180fb9 Bug 1003808 part 5 - Allow nsEditor::IsEditable to take nsINode*; r=ehsan 2014-04-28 19:03:12 +03:00
Aryeh Gregor
af080de362 Bug 1003808 part 4 - Clean up nsAutoTrackDOMPoint; r=ehsan 2014-04-28 18:40:28 +03:00
Aryeh Gregor
a270270fe3 Bug 1003808 part 3 - Clean up nsRangeStore; r=ehsan 2014-04-28 18:34:05 +03:00
Aryeh Gregor
8344d42637 Bug 1003808 part 2 - Clean up nsEditorUtils::IsDescendantOf; r=ehsan 2014-04-28 18:34:05 +03:00
Aryeh Gregor
f55311b871 Bug 1003808 part 1 - Clean up DOMPoint; r=ehsan 2014-04-28 18:34:05 +03:00
Aryeh Gregor
c0b9873e08 Bug 1002429 part 9 - Clean up nsHTMLEditor::RebuildDocumentFromSource; r=ehsan 2014-04-28 14:54:47 +03:00
Aryeh Gregor
3410225022 Bug 1002429 part 8 - Clean up nsHTMLEditor::CreateElementWithDefaults; r=ehsan 2014-04-28 14:54:47 +03:00
Aryeh Gregor
4fbefcda9f Bug 1002429 part 7 - Clean up nsEditor::CreateHTMLContent; r=ehsan 2014-04-28 14:54:47 +03:00
Aryeh Gregor
6432779bfe Bug 1002429 part 6 - Clean up nsHTMLEditor::ReplaceHeadContentsWithHTML; r=ehsan 2014-04-28 14:54:46 +03:00
Aryeh Gregor
8af202298a Bug 1002429 part 5 - Clean up nsHTMLEditor::TabInTable; r=ehsan 2014-04-28 14:54:46 +03:00
Aryeh Gregor
b06c07ace4 Bug 1002429 part 4 - Clean up nsHTMLEditor::CollapseSelectionToDeepestNonTableFirstChild; r=ehsan 2014-04-28 14:54:46 +03:00
Aryeh Gregor
c4c9d0bfa2 Bug 1002429 part 3 - Clean up nsEditor::IsContainer; r=ehsan 2014-04-28 14:54:46 +03:00
Aryeh Gregor
a3d4a4be85 Bug 1002429 part 2 - Clean up nsHTMLEditor::GetEnclosingTable; r=ehsan 2014-04-28 14:54:46 +03:00
Aryeh Gregor
87f00b9ef1 Bug 1002429 part 1 - Clean up nsHTMLEditor::GetElementOrParentByTagName; r=ehsan 2014-04-28 14:54:46 +03:00
Aryeh Gregor
26bf69a1f0 Bug 1001351 - Allow null-safe conversion from nsINode to nsIDOMNode; r=smaug 2014-04-25 13:34:42 +03:00
Aryeh Gregor
8fb3c26d0d Bug 1000959 - nsHTMLEditor.cpp cleanup; r=ehsan 2014-04-25 13:34:42 +03:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
7ac92ae5ea Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Masayuki Nakano
67b49e2809 Bug 998188 part.1 Add test for this crash on debug build r=ehsan 2014-04-26 08:52:12 +09:00
Aryeh Gregor
780bdf4c9b Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Aryeh Gregor
75660868f4 Bug 923376 - Spellcheck all appended nodes, not just the first; r=ehsan 2014-04-06 17:56:08 +03:00
Robert O'Callahan
38c751230b Bug 821307. Ensure nsTextEditorState::SetValue does nothing when the new value equals the old value, even for password inputs. r=ehsan
If nsTextEditorState::SetValue is allowed to rebuild the editor DOM even when
the new value is the same as the old value, then during PrepareEditor we can
remove the content that's the current target of the event triggering the
PrepareEditor, which prevents important code from running such as the code that
focuses the text input. Normally this isn't a problem but
nsTextEditorState::SetValue's code for getting the current value is broken
for password controls when !mEditorInitialized. So we remove that broken code
path.

We have to make sure that the password text, if any, is set on the edit-rules
during their initialization so the regular path for getting the current
value returns the right thing.

--HG--
extra : rebase_source : 81a01a957b4b1e0cf868505a1b23c9110a2f4b3a
2014-04-15 00:33:47 +12:00
Ehsan Akhgari
62020563d8 Bug 996009 - Ensure that the richtext2 browserscope tests do not attempt to contact the external network; r=roc 2014-04-15 09:32:36 -04:00
Masayuki Nakano
ecab2beca9 Bug 993253 Implement DOM InputEvent interface with isComposing attribute r=smaug+ehsan 2014-04-10 16:11:37 +09:00
Peter Van der Beken
c89c077c14 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00
Peter Van der Beken
a5967a49cb Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken
12b990ebb7 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
Carsten "Tomcat" Book
06c101e55e Backed out changeset 1f9bd1c29a40 (bug 923376) mochitest test 4 test failures 2014-04-07 15:51:05 +02:00