Commit Graph

435 Commits

Author SHA1 Message Date
Aryeh Gregor
3499f610a6 Bug 1002429 part 7 - Clean up nsEditor::CreateHTMLContent; r=ehsan 2014-04-28 14:54:47 +03:00
Aryeh Gregor
47944b3924 Bug 1000959 - nsHTMLEditor.cpp cleanup; r=ehsan 2014-04-25 13:34:42 +03:00
Birunthan Mohanathas
4de1915f30 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
Aryeh Gregor
45fbfe5e45 Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Robert O'Callahan
192b5d6603 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
Masayuki Nakano
ff8b968574 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Masayuki Nakano
af12a23985 Bug 990855 part.1 Export TextComposition.h as mozilla/TextComposition.h r=smaug 2014-04-03 13:18:37 +09:00
Bill McCloskey
aa5f40a77e Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
a3277d291d Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
f4f6bf8e4d Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
7193069fa0 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
74d0d984a3 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Masayuki Nakano
ebe6a3a543 Bug 974318 part.2 TextComposition should store TextRangeArray at editor handling text event and nsEditor should refer it r=smaug+ehsan 2014-03-04 22:48:26 +09:00
Reuben Morais
f954df12ae Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00
Peter Van der Beken
46ee609d7b Bug 803106 part 2. Convert DOMStringList to WebIDL bindings - add WebIDL API and switch. r=bzbarsky 2013-07-09 13:54:21 -04:00
Vaibhav Agarwal
d109cb3fc7 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-02-15 04:53:02 -05:00
Masayuki Nakano
b3b19a9e2f 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
Ted Mielczarek
23e1ddca5b Bug 968837 - Move more Mochitests into manifests. r=jmaher
--HG--
rename : toolkit/components/places/tests/browser/bug_399606/399606-history.go-0.html => toolkit/components/places/tests/browser/399606-history.go-0.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-httprefresh.html => toolkit/components/places/tests/browser/399606-httprefresh.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.reload.html => toolkit/components/places/tests/browser/399606-location.reload.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.replace.html => toolkit/components/places/tests/browser/399606-location.replace.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.href.html => toolkit/components/places/tests/browser/399606-window.location.href.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.html => toolkit/components/places/tests/browser/399606-window.location.html
rename : toolkit/components/places/tests/browser/visituri/begin.html => toolkit/components/places/tests/browser/begin.html
rename : toolkit/components/places/tests/browser/visituri/final.html => toolkit/components/places/tests/browser/final.html
rename : toolkit/components/places/tests/browser/visituri/redirect_once.sjs => toolkit/components/places/tests/browser/redirect_once.sjs
rename : toolkit/components/places/tests/browser/visituri/redirect_twice.sjs => toolkit/components/places/tests/browser/redirect_twice.sjs
rename : toolkit/components/places/tests/browser/settitle/title1.html => toolkit/components/places/tests/browser/title1.html
rename : toolkit/components/places/tests/browser/settitle/title2.html => toolkit/components/places/tests/browser/title2.html
rename : toolkit/components/places/tests/mochitest/bug94514-postpage.html => toolkit/components/places/tests/bug94514-postpage.html
rename : toolkit/components/places/tests/mochitest/test_bug_411966.html => toolkit/components/places/tests/test_bug_411966.html
rename : toolkit/components/places/tests/mochitest/test_bug_461710_perwindowpb.html => toolkit/components/places/tests/test_bug_461710_perwindowpb.html
rename : toolkit/components/places/tests/mochitest/test_bug_94514.html => toolkit/components/places/tests/test_bug_94514.html
2014-02-06 15:37:30 -05:00
Masayuki Nakano
eacee9b6d7 Bug 960866 part.7 Use stack class for ensuring to call EditorWillHandleTextEvent() and EditorDidHandleTextEvent() r=smaug 2014-02-12 22:02:57 +09:00
Masayuki Nakano
7f76077322 Bug 960866 part.4 Remove nsEditor::mIMEBufferLength r=ehsan+smaug 2014-02-12 22:02:56 +09:00
Masayuki Nakano
2da5807b47 Bug 960866 part.3 Remove nsEditor::mIsIMEComposing r=ehsan+smaug 2014-02-12 22:02:56 +09:00
Masayuki Nakano
4798da645c Bug 960866 part.2 Remove nsEditor::mInIMEMode r=ehsan 2014-02-12 22:02:55 +09:00
Masayuki Nakano
1b410997b5 Bug 960866 part.1 nsEditor should store a pointer of TextComposition while composition r=ehsan 2014-02-12 22:02:55 +09:00
Ehsan Akhgari
c07185aee8 Bug 675579 - Part 2: Dispatch an input event when changing the direction of a plain text element; r=roc
--HG--
extra : rebase_source : 06eb0f2fa67ca81e214df8800ceec8dc305ee7c6
2014-01-17 10:31:18 -05:00
Ehsan Akhgari
3bac9296fb Bug 675579 - Part 1: Set the dir attribute on the input/textarea element when switching the text direction; r=roc
--HG--
extra : rebase_source : d149468874202df13a2ae82dd95933edff9bbc45
2014-01-17 10:31:03 -05:00
Ed Morley
3bab5649ea Backed out changeset e9d82d8ad687 (bug 675579) for crashes on a CLOSED TREE 2014-01-17 15:07:23 +00:00
Ed Morley
c116be3bef Backed out changeset 54ddff6ebfa5 (bug 675579) 2014-01-17 15:07:01 +00:00
Ehsan Akhgari
711eee6247 Bug 675579 - Part 2: Dispatch an input event when changing the direction of a plain text element; r=roc 2014-01-17 08:51:43 -05:00
Ehsan Akhgari
98abd869ba Bug 675579 - Part 1: Set the dir attribute on the input/textarea element when switching the text direction; r=roc 2014-01-17 08:51:20 -05:00
Ehsan Akhgari
ebd358dfd7 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
d4490ee3c7 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -05:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Masayuki Nakano
ec90083564 Bug 930374 part.3 Make test_*editor_keyevent_handling.html chrome tests since they tests behavior of system group event handler r=smaug 2013-12-09 00:51:16 +09:00
Trevor Saunders
bb5ea2186e bug 939049 - get rid of useless QIs r=smaug 2013-11-15 11:32:12 -05:00
Mike Hommey
a65383e1e9 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ehsan Akhgari
2302a1b555 Bug 936913 - Part 2: Build the editor in unified mode; r=roc 2013-11-12 08:56:28 -05:00
Ehsan Akhgari
0435975519 Bug 933883 - Only assert the length of the stored password text if the editor is able to get that information; r=roc
--HG--
extra : rebase_source : 16c72a8c46141322cf35c210e7eb10234fe292f2
2013-11-11 17:51:25 -05:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Kyle Huey
ed10f7b8b4 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
Masayuki Nakano
684dfe6e69 Bug 920425 part.25 Use mozilla::WidgetEvent::AsDragEvent() r=smaug 2013-10-18 15:10:26 +09:00
Masayuki Nakano
ef196343d5 Bug 920425 part.18 Use mozilla::WidgetEvent::AsKeyboardEvent() r=smaug 2013-10-18 15:10:24 +09:00
Ryan VanderMeulen
e9e247b525 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
b98758cdbd Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 19:58:25 +08:00
Phil Ringnalda
7f4c6bd321 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
d9a28b7f74 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 11:10:44 +08:00
Ryan VanderMeulen
08074605aa Merge m-c to b2g-inbound. 2013-10-01 16:47:09 -04:00