Commit Graph

37 Commits

Author SHA1 Message Date
Jared Wein
9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein
ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Dave Townsend
c5bb304fd9 Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm

--HG--
extra : rebase_source : 4073cebbef1694393efe312aaafbdb803adbd304
2016-11-11 15:22:34 -08:00
Mike de Boer
f52eb8430c Bug 1290914 - move the matches count and highlight-all request from the findbar binding to the JS module in the content process, so it's closer to the metal. r=jaws
MozReview-Commit-ID: INYobXmrVj5
2016-09-08 22:38:55 +02:00
Mike de Boer
94d4264d11 Bug 1298323 - do not destroy the Finder instance when only a single window closes in e10s mode, because that render the findbar useless. r=jaws
MozReview-Commit-ID: 4kxdba41n8k

--HG--
extra : rebase_source : 21f2341ae260309bbf99dbdd97f130baf77972aa
2016-08-26 10:07:54 +02:00
Mike de Boer
8a56860e70 Bug 1282070 - repaint the modal highlight mask when the page resizes or changes size due to added/ removed content. r=jaws
MozReview-Commit-ID: 1j0C0BUfT8r
2016-08-19 17:18:41 +02:00
Jared Wein
e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04: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
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
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
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
c1e2129965 Bug 1279717 - inverse the mask to use a white background on pages with bright text color. r=jaws
MozReview-Commit-ID: D2UFsOfMJln
2016-06-22 19:22:07 +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
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
Jared Wein
8092fe6da1 Bug 1259531 - [e10s] Fix test_bug451286.xul to run in e10s by converting to a mochitest-browser test. r=mikedeboer
MozReview-Commit-ID: 6Rt0dM6md06
2016-03-31 20:41:00 -04: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
Mike de Boer
d59f61d0bd Bug 1253233: refactor bug263683_window.xul to run the test on remote browsers as well. r=felipe 2016-03-25 15:26:14 +01:00
Carsten "Tomcat" Book
48831d9b1f Backed out changeset f6c028e4f604 (bug 1253233) for test failures in test_bug263683.xul 2016-03-23 09:09:40 +01:00
Mike de Boer
6b6636dca1 Bug 1253233 - Refactor bug263683_window.xul to run the test on remote browsers as well. r=felipe 2016-03-11 19:27:20 +01:00
Simon Lindholm
8b2b1647a0 Bug 1174291 - Fix ctrl-return for e10s findbar. r=evilpie 2015-06-12 13:07:00 -04:00
Simon Lindholm
8538d005f3 Bug 1174289 - Remove fake focus-ring after e10s findbar is closed. r=evilpie 2015-06-12 13:09:00 -04:00
Felipe Gomes
14b16b5b26 Bug 1079665 - follow up, remove accidental line included from different patch. r=me 2015-03-30 18:38:18 -03:00
Felipe Gomes
464683d017 Bug 1079665 - [e10s] Findbar focusContent doesn't work when a link was found. r=enndeakin 2015-03-24 18:58:32 -03:00
Dave Townsend
f99f6d8c29 Bug 1087966: Fix tab detach in e10s windows. r=mconley
When swapping docshells we also have to swap any properties on remote-browsers
that are cached from the content process. This includes things like the
remoteWebNavigation etc. which in turn cache content information. Some of
these also maintain message listeners that we have to switch to the new browser
and message manager.

--HG--
extra : rebase_source : 5ed5dd9b754612f86f5c44fde7a0610abfe976f8
2015-02-18 16:47:43 -08: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
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
Alexandru Tifrea
ced2565878 Bug 1004515 - Add support for the find counter in RemoteFinder. r=mikedeboer 2014-07-09 16:27:37 -07:00
Jim Blandy
7e20285e70 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
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
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
f29d9f5c20 Bug 666816 - Implement the new e10s message passing code for the findbar. r=felipe 2013-09-13 19:27:19 -04:00