Граф коммитов

56 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher e9556c03b7 Backed out changeset af4cc6c04573 (bug 1282070) for failures in test_bug263683.xul CLOSED TREE 2016-08-16 11:58:33 -07:00
Mike de Boer f4c829a76c Bug 1282070 - repaint the modal highlight mask when the page resizes or changes size due to added/ removed content. r=jaws
MozReview-Commit-ID: JrTOarWMEQQ
2016-08-16 18:01:19 +02:00
Sebastian Hengst 8505f067f2 Backed out changeset bc160abe215b (bug 1282070) for docshell leakage in browser_visibleFindSelection.js. r=backout 2016-08-16 16:05:45 +02:00
Mike de Boer 010418133a Bug 1282070 - repaint the modal highlight mask when the page resizes or changes size due to added/ removed content. r=jaws
MozReview-Commit-ID: JKzUehP4pyP
2016-08-16 12:16:29 +02:00
Mike de Boer e557b7eff0 Bug 1294644 - prevent drawing the rectangles all too often when modal highlighting is off and make sure to restore the outline of found links and the highlight color of the currentle highlighted occurrence. r=jaws
Many thanks to Tooru Fujisawa [:arai] for helping write this patch and testing it.

MozReview-Commit-ID: BxAd3WdqUXU
2016-08-16 11:25:56 +02:00
Mike de Boer 7c49e1e69b Bug 1280876 - don't take screenshots of pages that have the findbar open. r=jaws,mconley
MozReview-Commit-ID: Dmz0MaukNVq

--HG--
extra : rebase_source : dc359e5bc31d86fa01caf6c8d9d4fc359251d9f3
2016-08-10 11:23:47 +02:00
Mike de Boer ebc9f1764d Bug 1290842 - reduce the amount calls to the highlighter upon the first find action and improve the behavior when modal highlighting is not enabled now that we have a FinderHighlighter class we can use. r=jaws
MozReview-Commit-ID: K01dpqp8LSf
2016-08-02 10:40:21 +02:00
Carsten "Tomcat" Book 1e0260eddf Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Mike de Boer 33aa207132 Bug 1281421 - Merge the find counter and highlighter iterators into a FinderIterator singleton. r=jaws
MozReview-Commit-ID: 9fhOKWIkOXN

--HG--
extra : rebase_source : 7a2bc23383b99b0a13ef49121f168bd03399b4a9
2016-07-28 12:34:13 +02:00
Carsten "Tomcat" Book bd055a6272 Merge mozilla-central to fx-team 2016-07-27 16:40:43 +02:00
Mike de Boer 938576136a Bug 1279684 - make sure that toggling 'Highlight All' also hides the found occurrences from the mask. r=jaws
MozReview-Commit-ID: 2AmSwNgE1if
2016-07-27 16:37:26 +02:00
Jared Wein 35fa19bc95 Bug 1285464 - Keep focus handling in the chrome process so focus will move back to the content out of the typeahead findbar but not change which chrome window has focus. r=mikedeboer
MozReview-Commit-ID: Ga8QFFgX0ZZ

--HG--
extra : rebase_source : 51053e8f539e7d358bd16c36b30bb72fef2ecaa1
2016-07-26 14:53:32 -04:00
Ray Lin 4985f03251 Bug 1198279 - Clear all highlighted matches when find bar closed. r=mikedeboer
MozReview-Commit-ID: C4wiWWKAMpa

--HG--
extra : rebase_source : 157d3ac570fa75b3ba61686eab1cc4269e1ada76
2016-07-05 15:59:25 +08:00
Mike de Boer fe68c53f4b Bug 269442 - whole word matching support for nsFind. r=ehsan,dao. ui-r=shorlander
MozReview-Commit-ID: KIDWHyjOSYL
2016-06-28 15:13:53 +02:00
Mike de Boer 2cdbcb870d Bug 384458 - part 4: implement modal highlighting using the AnonymousContent API and SVG masks. r=jaws 2016-06-09 13:30:49 +02:00
Mike de Boer 86c75b7400 Bug 384458 - part 3: move the highlighting code to its own module. r=jaws 2016-06-09 13:30:48 +02:00
Wes Kocher 0adc8ded6e Backed out 6 changesets (bug 384458) for frequent browser_FinderHighlighter.js failures
Backed out changeset ded915ec401f (bug 384458)
Backed out changeset 63ec66da50fa (bug 384458)
Backed out changeset ae71396d3be0 (bug 384458)
Backed out changeset 3b025cbfbe3c (bug 384458)
Backed out changeset 091c5465acf7 (bug 384458)
Backed out changeset 5eabde153def (bug 384458)
2016-06-08 14:53:57 -07:00
Mike de Boer a479893c6a Bug 384458 - part 4: implement modal highlighting using the AnonymousContent API and SVG masks. r=jaws 2016-06-08 19:54:10 +02:00
Mike de Boer 33e61dede1 Bug 384458 - part 3: move the highlighting code to its own module. r=jaws 2016-06-08 19:54:08 +02:00
Mike de Boer 18ea004233 Bug 1056235 - deal with surrogate pairs properly when retrieving the currently selected text for prefill in the findbar. r=masayuki 2016-06-06 12:56:55 +02:00
Dave Townsend 6e44ebad84 Bug 1257246: Update toolkit for eslint 2. r=Gijs
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: KHYdAkRvhVr

--HG--
extra : rebase_source : 720cc9d864175248508146a7f4704b4bf3f02439
extra : histedit_source : 6cc0ecbf21a571e1a41d517b67512a3452fac19a
2016-04-05 11:33:48 -07:00
Blake Kaplan 99310215c0 Bug 1174036 - Handle dynamically-removed textareas gracefully. r=mikedeboer r=ehsan
Also, flush layout when starting a find in order to avoid racing with
textarea-hiding notifications and maintain JS type correctness when objects
are passed over IPC.
2016-03-28 11:12:31 -07:00
Jared Wein 10738b2e3f Bug 1064580 - Add definitions for onCurrentSelection to the listeners since RemoteFinder.jsm expects them to be present. Also add an error check in Finder.jsm for empty selections. r=evilpie
MozReview-Commit-ID: E6lgH8OZhaH

--HG--
extra : rebase_source : 2e646f82a0f851775e2dc2893f170d58db0979ae
2016-03-07 16:37:34 -05:00
Dave Townsend e496a11771 Bug 1245649: Turn on no-extra-semi. r=markh
--HG--
extra : commitid : HReQFPDOA6x
extra : rebase_source : 303a92f511c3c9dd2d26135975d4dc7c85e823b3
2016-02-03 17:27:36 -08:00
Paul Rouget 53184296fe Bug 1163961 - Browser API: Page search. r=kchen, r=ehsan 2015-06-09 20:04:00 -04:00
Birunthan Mohanathas 3ffa8d565d Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Gijs Kruitbosch 6d631e29db Bug 1133981 - e10s-ify findbar FAYT key handling, r=mconley
--HG--
extra : rebase_source : 31f07c93b1f5116a5bb952b1c19da003941ad762
extra : amend_source : 58e1db73a93835b0d80326e34ef7056633a7aaa0
2015-03-11 20:22:09 +00:00
Blake Kaplan 3d95b83bc4 Bug 1055508 - Make the findbar respect the search clipboard as well as prefillwithselection in e10s. r=mikedeboer 2015-01-16 15:11:00 +01:00
Tomasz Kołodziejski 4c14e3120b Bug 1070923 - Fix intermittent test_bug451286.xul by waiting for the highlight toggle to finish. r=mikedeboer
--HG--
extra : rebase_source : 109dcc17a75333f1715e48432893e216e73838fc
2014-09-26 10:49:00 -04:00
Tomasz Kołodziejski 63556e7c60 Bug 429732 - Make Finder.jsm iterate over matches asynchronously in small batches so it does not block the UI thread. r=mikedeboer 2014-09-18 10:23:00 +02:00
Mike Conley 501c84401a Bug 927424 - Allow findbar binding to cancel content focusing when using RemoteFinder in an e10s window. r=evilpie.
--HG--
extra : source : 2f6420722723035b1ed11e5de8e1829e827552fa
2014-09-04 15:17:47 -04:00
Tomasz Kołodziejski 4fd7332f4a Bug 429732 - speed up highlighting by optimizing _getEditableNode. r=ehsan 2014-08-29 11:14:00 +02:00
Adam Dane [:hobophobe] eac4337e6e Bug 1008450 - Bail on _findIterator when we lack a body node. r=mikedeboer 2014-05-14 15:16:03 -05:00
Mike de Boer 6c4d29c0e6 Bug 257061: adding a counter of found matches to the find in page bar. r=Unfocused 2014-05-01 13:01:14 +02:00
Ed Morley b17e01b56a Backed out changeset 8d131b6770d7 (bug 257061) for exceptions in findbar.xml 2014-05-01 11:45:32 +01:00
Mike de Boer 3b54ae345d Bug 257061: adding a counter of found matches to the find in page bar. r=Unfocused. 2014-05-01 11:30:26 +02:00
Mike de Boer 39863567a7 Bug 326743: support the find clipboard in the find toolbar. r=Unfocused 2014-02-28 16:07:32 +01:00
Mike de Boer 729e51e159 Bug 963925: do not store searchString upon Highlight. r=Unfocused 2014-02-17 15:43:01 +01:00
Phil Ringnalda 2ff6e6f32a Back out 024e6835e6ea:bece94ce2310 (bug 326743) for frequent 10.6 debug failures in browser_bug537013.js 2014-02-14 23:58:49 -08:00
Mike de Boer 0e98650667 Bug 326743: support the find clipboard in the find toolbar. r=Unfocused 2014-02-14 14:04:21 +01:00
Mike de Boer f4e68f74e8 Backed out 5 changesets (bug 326743)
Backed out changeset 55fba7bccaaf (bug 326743)
Backed out changeset f4ab79254dfb (bug 326743)
Backed out changeset c8151192e447 (bug 326743)
Backed out changeset 57ceb72568c6 (bug 326743)
Backed out changeset 3081b9770c33 (bug 326743)
2014-02-14 12:55:13 +01:00
Mike de Boer 43cfcfaefb Bug 326743: support the find clipboard in the find toolbar. r=Unfocused 2014-02-14 11:38:22 +01:00
Tom Schuster 9df9d0ea45 Bug 952042 - Remove fake focus-ring after findbar is closed. r=mikedeboer 2014-01-24 13:08:38 +01:00
Matt Brubeck 60c874a550 Bug 958101 - Pass named params to onFindResult as object properties [r=evilpie] 2014-01-13 17:58:33 -08:00
Matt Brubeck 9ec3d0aeae Bug 916481 - Make Finder.jsm send back the selection rect of the find result [r=evilpie,emtwo] 2014-01-09 07:58:26 -08:00
Tom Schuster 6acafb0d9e Bug 926033: correct searchString persistence for different searches in findbar. r=mikedeboer 2013-11-08 18:35:28 +01:00
Mike de Boer 26aa2a1462 Bug 923565: make ctrl-enter open the focused link in a new tab. r=evilpie 2013-10-16 17:45:42 +02:00
Mike de Boer 193131078c Bug 921308: don't scroll when an element is focused on findbar close. r=evilpie 2013-10-16 17:04:49 +02:00
Tom Schuster 146f7292c2 Bug 921343 - Avoid removing selections done by the user when closing the findbar. r=mikedeboer 2013-10-15 20:02:23 -04:00
Tom Schuster 32023e2568 Bug 919340 - Always draw outline around links when using quickfind. r=mikedeboer 2013-09-26 11:21:02 -04:00