Commit Graph
113 Commits
Author SHA1 Message Date
Ricky Chien 9ee3d7a28e Bug 1373655 - Fix search sign and arrow indicator in high contrast theme r=dao
MozReview-Commit-ID: GweiQoZ9bXk
2017-06-28 16:56:19 -07:00
Mark Banner 703aa9e231 Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
MozReview-Commit-ID: Ed9FfkskDos
2017-02-20 11:45:58 +00:00
Jared Wein 601c1e5636 Bug 1331661 - Manually fix the remaining 'quotes' errors for eslint. r=Gijs
MozReview-Commit-ID: 7iXjQtp9ftV
2017-01-17 10:38:58 -06:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Jared Wein 242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Masayuki Nakano e8e68353a3 Bug 564411 Move all methods/attributes of nsIEditorIMESupport to nsIEditor r=smaug
Doing QI from nsIEditor to nsIEditorIMESupport doesn't make sense because editor should always support all methods and attributes of nsIEditorIMESupport (it does NOT mean that all nsIEditor implementation need to support IME).

This patch moves all of them to nsIEditor for avoiding redundant QIs.

MozReview-Commit-ID: DzIKuGHG4iy
2016-12-20 21:47:31 +09:00
Dave Townsend 71040f1851 Bug 1316882: Turn on space-unary-ops eslint rule. r=MattN
MozReview-Commit-ID: 1xb6sWwhjvd
2016-11-10 15:25:40 -08:00
Jared Wein 4518d81cb5 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Kartikaya Gupta 273855d851 Bug 1261509 - Guard against an undefined input field during textbox shutdown. r=enndeakin
MozReview-Commit-ID: 5jw6uM1p6T7
2016-04-04 13:46:05 -04:00
Dave Townsend a2ba043d69 Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
Florian Quèze b4063e79f3 Bug 1129401 - Can't copy URL by right clicking it the first time, r=Mossop. 2015-02-11 20:47:27 +01:00
Gijs Kruitbosch 2d31fe64fa Bug 1123771 - don't expose search icon as button if all it does is focus input and label it otherwise, r=Mossop 2015-02-06 11:44:37 +00:00
Dave Townsend a27b48b067 Bug 1103455: Change the events used to popup the search suggestions to avoid showing them when opening context menus. r=florian 2014-12-22 11:54:15 -08:00
Blake Kaplan 9d38823456 Bug 1026099 - Rework the spellchecker context menu to not use CPOWs. r=ehsan/billm/felipe
This patch fixes a few nits and typos in the C++ spellchecking code as well as
fixing the Finnish dictionary and multiple installed dictionaries in general (r=ehsan).

It reworks the spellchecking context menu to use async message passing (in JS)
and reduces, by a little, the CPOW use in the context menu code (r=felipe).

Finally, the spellcheck IPDL no longer needs to be 'rpc' since we no longer
nest spellchecking calls, so it can go back to being 'sync' (r=billm).
2014-10-03 10:52:37 -04:00
Bobby Holley 3c5fd83bef Bug 1038278 - Remove spam. r=me 2014-07-16 10:37:37 -07:00
Allison Naaktgeboren 9a9ea4a284 Bug 693555 - Update inline spellchecker underlining for multiprocess(e10s).r=ehsan, mrbkap 2014-07-01 15:24:27 -07:00
Bobby Holley 0902e3fec5 Bug 1034682 - Set wantXrays to false for content XBL scopes. r=billm 2014-07-11 15:56:27 -07:00
Trevor Saunders 5372738884 bug 846185 - don't call into js when creating accessibles r=surkov, smaug 2013-07-19 00:13:35 -04:00
Blake Kaplan f776af6ad5 Bug 869086 - Make textbox.xml resilient against the changes in bug 653881. r=gavin 2013-05-06 11:15:51 -07:00
Mounir Lamouri dd040c6569 No bug - Revert changes made in bug 841001 as they are no longer needed. 2013-03-25 19:37:12 +00:00
Mounir Lamouri 6a7d0a4d57 Bug 841001 - Set the textContent of a multiline textbox at construction so the default value is correctly set. r=bz 2013-02-13 23:14:45 +00:00
OHZEKI Tetsuharu c16f0fadc3 Bug 565717 - "Search for" context menu entry should be in textareas/inputs too. r=gavin.sharp 2011-04-24 12:15:53 -04:00
Jared Wein e0a2198046 Bug 793715 followup, use null instead false to show missing object. r=me 2012-10-07 19:33:45 -07:00
Jared Wein 15ef211c49 Bug 793715 - Revert textbox.editor to a property, but one that wraps a field to cache the editor field once it is non-null. r=ehsan 2012-10-07 18:18:42 -04:00
Jared Wein 0f714685db Bug 781588 - [Perf] Refactor formatValue to increase performance by 40%. r=felipe
Removed a couple of regular expressions from formatValue and replace them with simple string manipulation.

The property access of this.editor was taking 5% of the formatValue function. Switching it to a field removes this extra overhead.
2012-09-21 16:03:23 -07:00
Frank Yan 9e969ea4b5 Bug 790736 - Trigger clickSelectsAll (if applicable) upon opening textbox context menu. r=enndeakin 2012-09-15 18:46:13 -05:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Rashbrook d8c80600d4 Bug 732738 textbox should only execute inline onfocus and onblur event handlers once r=smaug 2012-03-04 14:57:45 +00:00
Matthew Noorenberghe 9bf9072d5f Bug 722636 - Only show "Undo Add to Dictionary" context menu on text fields and add separator r=ehsan 2012-01-31 14:53:21 -08:00
Quentin Headen 5191b46312 Bug 352037 - Add an "Undo add to dictionary" item to spell checker's context menu item; r=ehsan 2011-12-29 16:06:56 -05:00
L. David Baron a9f3f435d9 Make nsBox more careful about accepting XUL attributes only on XUL elements. (Bug 102440) r=bzbarsky 2011-04-22 18:36:24 -07:00
Ehsan Akhgari 0b88f8cd63 Bug 637975 - Make XUL textboxes use the normal input textbox spellchecking binding, instead of directly managing it from XBL code, so that spellchecking is less fragile on those textboxes; r=roc 2011-03-16 15:34:30 -04:00
Brad Lassey d6eb788545 bug 589879 - All input fields labeled with a go button, which doesn't do anything without special handling r=roc a=blocking-fennec 2010-11-23 21:12:53 -05:00
Ehsan Akhgari 09be33263f Bug 570192 - Make sure that XUL textbox's constructor does not fail if we don't have a frame available; r,a=gavin 2010-06-04 14:58:02 -04:00
Frank Yan b99a6c467e Bug 576135: Initial right-click on a XUL textbox should not have cut/copy/paste disabled. r=mano 2010-07-05 22:27:52 -06:00
Dão Gottwald 41bde0a285 Bug 547224 follow-up: fix typo 2010-03-06 23:15:12 +01:00
Dão Gottwald fad1ff5bf5 Bug 547224 - Remove the custom emptyText implementation, implement textbox.placeholder using the input field's native placeholder facility. r=enn 2010-03-04 08:13:27 +01:00
84995e8586 Bug 530495 - textbox.xml throw an error (line 175) if the textbox.inputField didn't exist (r=neil) 2009-11-25 11:49:52 -08:00
Neil Rashbrook 5ff8017328 Bug 523693 Inline spell checker shouuld be a module r=gavin 2009-10-28 11:15:22 +00:00
Neil Deakin a404ecfd9c Bug 517819, inherit noinitialfocus into textbox inputs, so that uthe nknown content dialog can use it, prevents focus from appearing on the file type field, r=neil 2009-10-16 10:32:02 -04:00
Neil Deakin 5cc1ab5ff7 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00
Dão Gottwald 289f986be6 Bug 90587 - clickSelectsAll should not trigger on task switch if textbox already had focus. r=enn 2009-06-22 21:53:58 +02:00
Dão Gottwald 5bd8674a99 Bug 487250 - 'empty' attribute for textboxes with emptytext conflicts with xul templates. r=enn 2009-04-24 13:20:03 +02:00
Dão Gottwald 036ae7ec70 Backed out changeset 69f84bd26700 (bug 487250) to fix browser_privatebrowsing_searchbar.js failure 2009-04-23 11:47:12 +02:00
Dão Gottwald 5f9fa9dbf9 Bug 487250 - 'empty' attribute for textboxes with emptytext conflicts with xul templates. r=enn 2009-04-23 08:57:38 +02:00
Boris Zbarsky 8d1ad095f7 Bug 482585. Move some XUL textbox-specific rules out of xul.css and into the relevant bindings. r=enn, sr=dbaron 2009-03-12 10:16:33 -04:00
Graeme McCutcheon cf66670df3 Bug 471776 - Textboxes with emptytext shouldn't enable undo for display and deletion of empty text. r=enndeakin 2009-02-15 17:35:50 +01:00
Marco Zehe 36c91bafeb bug 469367 - Add ARIA semantics to those search widget types that don't have a Search button, r=dao, r=surkov 2009-02-02 10:38:53 +01:00
Ehsan Akhgari b3e2eb7efc Bug 473440 - LTR edit box context menu appears LTR in RTL locales; r=dao,enndeakin 2009-01-14 20:26:33 +03:30
Dão Gottwald 45ee390ae4 Bug 416013 - switching the text input direction should not affect emptytext. r=ehsan,gavin 2009-01-13 02:28:32 +01:00