Ehsan Akhgari
52eb1d3e13
Bug 1007940 - Improve the performance of editor initialization; r=bzbarsky
2014-05-09 17:02:29 -04:00
Benoit Jacob
472e4472e0
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
519ce62fb9
Bug 1006982 - Refactor anchor tag utility functions in nsHTMLEditor.cpp. r=ehsan
2014-05-06 21:29:20 -07:00
Chris Peterson
8d42f6a9d3
Bug 1006982 - Fix -Wuninitialized warning in libeditor. r=ehsan
2014-05-06 21:07:50 -07:00
Aryeh Gregor
48bbf8a27c
Bug 1003894 part 2 - Clean up nsWSRunObject::CheckTrailingNBSPOfRun; r=ehsan
2014-05-02 14:11:26 +03:00
Aryeh Gregor
d48aa32574
Bug 1003808 part 5 - Allow nsEditor::IsEditable to take nsINode*; r=ehsan
2014-04-28 19:03:12 +03:00
Aryeh Gregor
62b85e51b9
Bug 1002429 part 9 - Clean up nsHTMLEditor::RebuildDocumentFromSource; r=ehsan
2014-04-28 14:54:47 +03:00
Aryeh Gregor
7968de819d
Bug 1002429 part 8 - Clean up nsHTMLEditor::CreateElementWithDefaults; r=ehsan
2014-04-28 14:54:47 +03:00
Aryeh Gregor
aaab3d158e
Bug 1002429 part 7 - Clean up nsEditor::CreateHTMLContent; r=ehsan
2014-04-28 14:54:47 +03:00
Aryeh Gregor
1a41adda96
Bug 1002429 part 6 - Clean up nsHTMLEditor::ReplaceHeadContentsWithHTML; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
c08efe28ef
Bug 1002429 part 5 - Clean up nsHTMLEditor::TabInTable; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
66a2731d0f
Bug 1002429 part 4 - Clean up nsHTMLEditor::CollapseSelectionToDeepestNonTableFirstChild; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
02bcb38d44
Bug 1002429 part 3 - Clean up nsEditor::IsContainer; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
78ca193f10
Bug 1002429 part 2 - Clean up nsHTMLEditor::GetEnclosingTable; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
260eded4ba
Bug 1002429 part 1 - Clean up nsHTMLEditor::GetElementOrParentByTagName; r=ehsan
2014-04-28 14:54:46 +03:00
Aryeh Gregor
7881636ece
Bug 1001351 - Allow null-safe conversion from nsINode to nsIDOMNode; r=smaug
2014-04-25 13:34:42 +03:00
Aryeh Gregor
4d42e4ced6
Bug 1000959 - nsHTMLEditor.cpp cleanup; r=ehsan
2014-04-25 13:34:42 +03:00
Aryeh Gregor
57e61e9d15
Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan
2014-04-10 19:09:40 +03:00
Aryeh Gregor
e229b75b12
Bug 923376 - Spellcheck all appended nodes, not just the first; r=ehsan
2014-04-06 17:56:08 +03:00
Robert O'Callahan
299ea95ae7
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
Carsten "Tomcat" Book
ed5454581b
Backed out changeset 1f9bd1c29a40 (bug 923376) mochitest test 4 test failures
2014-04-07 15:51:05 +02:00
Aryeh Gregor
41fcf8b1e5
Bug 923376 - Spellcheck all appended nodes, not just the first; r=ehsan
2014-04-06 17:56:08 +03:00
Masayuki Nakano
5c4524957a
Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
...
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Masayuki Nakano
e393ad7356
Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug
2014-02-15 09:57:39 +09:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
e363f2fa61
Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky
2013-12-17 09:12:33 -05:00
Trevor Saunders
c2b2fcd3d4
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Kyle Huey
4801b8ae53
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-23 07:32:04 +08:00
Masayuki Nakano
05606a8033
Bug 920425 part.18 Use mozilla::WidgetEvent::AsKeyboardEvent() r=smaug
2013-10-18 15:10:24 +09:00
Ryan VanderMeulen
a80b1ea22a
Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
...
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
80a708caab
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-14 19:58:25 +08:00
Phil Ringnalda
95093a98d7
Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
...
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
6d62264056
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-14 11:10:44 +08:00
Masayuki Nakano
cb5e8fa5ed
Bug 920377 part.17 Get rid of nsKeyEvent r=roc
2013-10-01 16:22:58 +09:00
Masayuki Nakano
18aa9b09b2
Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc
2013-09-25 20:21:19 +09:00
Masayuki Nakano
715f30b959
Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc
2013-09-25 20:21:18 +09:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Ehsan Akhgari
0793b245d0
Bug 861893 - Do not hold on to nsITextServicesDocument unnecessarily in the editor and the spell checker code; r=roc
2013-04-16 00:07:32 -04:00
Andrew McCreight
7384898ffb
Bug 852600 - traverse/unlink mStyleSheets in nsHTMLEditor. r=ehsan
2013-04-05 10:03:56 -07:00
matekm
8b16ad0006
Bug 784739 - Switch from NULL to nullptr in editor/; r=ehsan
2013-04-02 20:13:10 -04:00
Boris Zbarsky
d1287439d0
Bug 848895 part 1. Always hold an on-stack strong reference to mRules when calling into it. r=ehsan
2013-03-22 23:47:57 -04:00
Trevor Saunders
2bffe03733
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Phil Ringnalda
31d866ff72
Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber
2013-03-11 20:10:18 -07:00
Trevor Saunders
39ae246957
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Ms2ger
a75666050c
Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
...
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger
46e45d4e6a
Bug 840024 - Cleanup nsHTMLEditor::RemoveAttributeOrEquivalent some; r=ehsan
2013-03-10 08:58:34 +01:00
Trevor Saunders
2b39e8cb3c
bug 839051 - remove usage of nsISelectionPrivate::GetEnumerator() r=smaug
2013-02-07 09:17:47 -05:00
Trevor Saunders
b98e34aed0
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
David Zbarsky
a1abe844ae
Fix bustage for Bug 827149
2013-01-12 18:20:57 -05:00
David Zbarsky
6168609ec2
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-12 16:53:01 -05:00