Commit Graph

78 Commits

Author SHA1 Message Date
Christian Vielma
51faa0237e Bug 1064071: Remove obsolete Text Selection caret positioning logic; r=margaret 2014-10-18 12:01:36 -07:00
Christian Vielma
b65d53ef7e Bug 1064068: Filtering non input text fields from text selection to prevent errors in log: r=margaret 2014-09-22 19:47:50 -07:00
Wes Kocher
cdeb7299d2 Merge m-c to inbound a=merge 2014-09-23 16:48:23 -07:00
Bill McCloskey
91adbce542 Bug 1069059 - [e10s] Convert isWindowPrivate calls to isBrowserPrivate/isContentWindowPrivate as appropriate (r=mconley,margaret) 2014-09-23 15:48:52 -07:00
Manu Jain
9a48d8100f Bug 1061944 - Clicking link loses text selection on Android before content script click listener runs. r=margaret 2014-09-22 15:09:00 -04:00
Wes Johnston
cbf2ffcd5c Bug 1058150 - Use restricted profiles for guest mode. r=mfinkle 2014-09-09 15:08:37 -07:00
manu.jain13@gmail.com
7fc83e6d8a Bug 1060423 - Cut function in a readonly textarea. r=mfinkle r=markcapella 2014-09-06 07:37:00 +02:00
Brian Nicholson
6226977167 Bug 1043633 - Change sendMessageToJava to Messaging.sendRequest. r=wesj 2014-09-02 11:59:05 -07:00
Mark Capella
47f58af127 Bug 1021804 - Long press on news story links invoke context menu, r=kats, wesj 2014-08-29 17:32:40 -04:00
Ms2ger
f069be120d Bug 1048780 - Call the standard matches() rather than the proprietary mozMatchesSelector(); r=jst
This also includes a test that mozMatchesSelector is still exposed and works.

--HG--
rename : js/xpconnect/tests/chrome/test_mozMatchesSelector.xul => js/xpconnect/tests/chrome/test_matches.xul
rename : js/xpconnect/tests/mochitest/file_mozMatchesSelector.html => js/xpconnect/tests/mochitest/file_matches.html
2014-08-12 14:30:59 +02:00
Mark Capella
fa83300f90 Bug 1023418 - (p0) Auto-selecting a phone number does not stop at element breaks, r=mfinkle 2014-07-30 11:29:54 -04:00
Mark Capella
dc3e103db4 Bug 1030060 - Regression in Find-In-Page logic due to SelectionHandler change in bug 1011059, r=margaret, r=jchen 2014-07-16 03:23:05 -04:00
Chenxia Liu
bca561954a Bug 1029834 - Make contextmenu/menu telemetry more consistent. r=mfinkle 2014-06-25 14:10:49 -07:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Jim Chen
93bcf874d5 Bug 1011059 - Use editor rather than selection controller to select all; r=margaret 2014-06-16 11:54:57 -04:00
Jim Chen
b41fbbed73 Bug 1011059 - Don't remove all ranges when selecting; r=margaret 2014-06-16 11:54:56 -04:00
Mark Capella
f266d11dbd Bug 864582 - (p1) Restyle _moveCaret for proper JS alignment, r=margaret 2014-04-28 20:21:19 -04:00
Mark Capella
ab511f9723 Bug 864582 - (p0) Rename _sendMouseEvents method to _moveCaret, r=margaret 2014-04-28 20:21:19 -04:00
Ryan VanderMeulen
de681ea4fc Merge m-c to inbound. 2014-04-26 21:41:26 -04:00
Mark Capella
d421bfdb0d Bug 895463 - (p4) Reposition SelectionHandler on layer reflow, r=kats, margaret 2014-04-26 12:46:41 -04:00
Mark Capella
75badae095 Bug 994664 - Improve SelectionHandler UI performance, r=wesj 2014-04-26 00:49:50 -04:00
Masayuki Nakano
f2be6bf4aa Bug 998188 part.7 Firefox for Android should use XP line break at calling sendQueryContentEvent() in its chrome r=margaret.leibovic, feedback=markcapella 2014-04-26 08:52:14 +09:00
Mark Capella
ae9b58fbd6 Bug 895463 - (p3) Rename SelectionHandler dragging messages, r=jchen, margaret 2014-04-11 18:06:30 -04:00
Mark Capella
15bff3febb Bug 951374 - Lazy load ClipboardHelper, r=wesj 2014-04-08 08:13:04 -04:00
Mark Capella
ec3130e767 Bug 895463 - (p1) Orange caret indicator detaches from associated input field, r=margaret 2014-04-07 15:37:15 -04:00
Mark Capella
5e4b9ee67b Bug 976723 - Selection handle scrolls outside boundary of <input> on page scroll, r=margaret 2014-04-01 00:19:16 -04:00
Mark Capella
141df64342 Bug 982608 - Geckoeditable data loss using Swift keyboard during Text Selection, r=jchen, margaret 2014-03-26 21:34:46 -04:00
Brad Lassey
bdb6de6ba3 bug 980197 - on long press of a phone number, select the whole phone number r=mfinkle 2014-03-12 21:16:33 -04:00
Brad Lassey
2ccf3ffa80 bug 979470 - When a phone number is highlighted, offer to call it from the context menu or action bar r=mfinkle 2014-03-11 15:30:40 -04:00
Mark Capella
c8947c7243 Bug 978731 - Cursor position jumps around, dragging handles moves text, r=wesj 2014-03-06 22:14:22 -05:00
Mark Capella
68717b2ba1 Bug 969929 - GeckEditable loses data ... TextSelection using action bar SelectALL, r=wesj 2014-02-19 22:19:43 -05:00
Mark Capella
71a7fbd087 Bug 927882 - Standardize TextSelection caret positioning logic for soft keyboards, r=jchen, wesj, f=margaret 2014-02-19 22:19:43 -05:00
Wes Johnston
b31d563b57 Bug 970054 - Close selection if you tap outside it. r=margaret,capella 2014-02-19 13:01:51 -08:00
Max Li
3005ca7a3a Bug 960203 - Allow text selection handles to crossover in <input> and <textarea> elements. r=mleibovic 2014-01-25 16:15:31 -08:00
Wes Johnston
e913389601 Bug 956900 - Close actionbar after paste. r=margaret 2014-01-27 14:58:32 -08:00
Wes Johnston
24b334d230 Bug 952112 - Scale share icon in actionbar. r=lucasr
--HG--
rename : mobile/android/base/resources/drawable-hdpi/copy.png => mobile/android/base/resources/drawable-hdpi/ab_copy.png
rename : mobile/android/base/resources/drawable-hdpi/cut.png => mobile/android/base/resources/drawable-hdpi/ab_cut.png
rename : mobile/android/base/resources/drawable-hdpi/paste.png => mobile/android/base/resources/drawable-hdpi/ab_paste.png
rename : mobile/android/base/resources/drawable-hdpi/select_all.png => mobile/android/base/resources/drawable-hdpi/ab_select_all.png
rename : mobile/android/base/resources/drawable-mdpi/copy.png => mobile/android/base/resources/drawable-mdpi/ab_copy.png
rename : mobile/android/base/resources/drawable-mdpi/cut.png => mobile/android/base/resources/drawable-mdpi/ab_cut.png
rename : mobile/android/base/resources/drawable-mdpi/paste.png => mobile/android/base/resources/drawable-mdpi/ab_paste.png
rename : mobile/android/base/resources/drawable-mdpi/select_all.png => mobile/android/base/resources/drawable-mdpi/ab_select_all.png
rename : mobile/android/base/resources/drawable-xhdpi/copy.png => mobile/android/base/resources/drawable-xhdpi/ab_copy.png
rename : mobile/android/base/resources/drawable-xhdpi/cut.png => mobile/android/base/resources/drawable-xhdpi/ab_cut.png
rename : mobile/android/base/resources/drawable-xhdpi/paste.png => mobile/android/base/resources/drawable-xhdpi/ab_paste.png
2014-01-16 13:33:00 -08:00
Wes Johnston
b4d75cf31b Bug 956782 - Swap order of search and share in actionbar. r=mfinkle 2014-01-15 13:40:00 -08:00
Mark Capella
6e8cede56b Bug 947284 - End text-selection handle is not visible when opting to select all text part II, r=margaret 2014-01-18 00:31:05 -05:00
Mark Capella
f82ad182dd Bug 951943 - SelectionHandler._updateCacheForSelection() Error: TypeError: rects[0] is undefined, r=margaret 2014-01-11 01:51:27 -05:00
Mark Capella
675b316be1 Bug 957259 - Error: "TypeError: caretPos is null" in SelectionHandler.js @ line: 585, r=margaret 2014-01-08 02:59:08 -05:00
Veeti Paananen
fd374a2433 Bug 951274 - Disable click on selected text to copy. r=mleibovic 2013-12-22 07:38:48 +02:00
Mark Capella
30bd073c89 Bug 947284 - End text-selection handle is not visible when opting to select all text, r=margaret 2014-01-07 04:32:07 -05:00
Wes Johnston
c80a4105f8 Bug 943901 - Add an api to add actions to the text selection actionbar. r=mfinkle 2013-12-19 10:20:16 -08:00
Wes Johnston
359686fa22 Bug 950464 - Fixup typo. r=margaret 2013-12-17 19:51:01 -08:00
Wes Johnston
8a5c001da8 Bug 950464 - Default to selecting all text in SelectionHandler. r=margaret 2013-12-17 18:18:35 -08:00
Wes Johnston
c5dc1f883a Bug 947321 - Set all actionmode icons to show if room. r=margaret 2013-12-10 10:46:08 -08:00
Mark Capella
ce86138bca Bug 946030 - HTMLTextAreaElement should be considered an input element for text selection, r=wesj, f=margaret 2013-12-06 14:55:26 -05:00
Margaret Leibovic
60712ffec0 Bug 943466 - Fix copy/cut errors in SelectionHandler. r=wesj 2013-12-03 14:47:37 -08:00
Wes Johnston
579b979070 Bug 768667 - Use an actionmode for text selection. r=margaret,sriram
--HG--
rename : mobile/android/base/resources/drawable-hdpi-v11/ic_menu_share.png => mobile/android/base/resources/drawable-hdpi/ic_menu_share.png
rename : mobile/android/base/resources/drawable-mdpi-v11/ic_menu_share.png => mobile/android/base/resources/drawable-mdpi/ic_menu_share.png
rename : mobile/android/base/resources/drawable-xhdpi-v11/ic_menu_share.png => mobile/android/base/resources/drawable-xhdpi/ic_menu_share.png
2013-11-19 11:57:37 -08:00
Mark Capella
1794390ab4 Bug 938563 - Select all + copy on textarea doesn't copy linebreaks, r=margaret 2013-11-20 13:57:20 -05:00