Commit Graph

239 Commits

Author SHA1 Message Date
Iaroslav Sheptykin
fbc308a3cb Bug 1174468 - Show Yandex.Translate attribution when Yandex engine is selected. r=felipc 2015-07-20 06:54:00 -04:00
Michael Layzell
df7c74d2c7 Bug 1173523 - Part 6: Update translation to use new API for nsIPermission, r=florian 2015-07-16 14:49:31 -04:00
Wes Kocher
ff2f0d32cf Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Michael Layzell
d5135fc62c Bug 1173523 - Part 6: Update translation to use new API for nsIPermission, r=florian 2015-07-14 15:06:21 -04:00
Michael Layzell
6265522c59 Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan 2015-07-03 17:12:27 -04:00
Ehsan Akhgari
4484832cb5 Backout bug 1170200 because of test failures on a CLOSED TREE 2015-07-03 16:43:47 -04:00
Michael Layzell
39a5778c7e Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan 2015-07-03 14:18:23 -04:00
Iaroslav Sheptykin
d79ffe0d98 Bug 1129056 - Implement Yandex translation engine. r=felipe
Some parts of the patch by Felipe, with f=florian
2015-06-04 17:49:55 -03:00
ziyunfei
e1db0f779e Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Iaroslav Sheptykin
3b3aa043d0 Bug 1012532 - Replace translation engine usage of RESTRequest with Http.jsm. r=felipe 2015-03-24 15:32:16 -03:00
Tooru Fujisawa
5a626a8371 Bug 1108382 - Part 2: Do not use non-standard flag argument of String.prototype.match/replace in browser/components/translation/. r=felipe 2015-03-01 09:51:33 +09:00
Iaroslav Sheptykin
a2fc87a90e Bug 1090529 - Add lack-of-valid-key error handling as Service Unavailable error. r=felipe 2014-11-10 10:29:30 +01:00
David Rajchenbach-Teller
05ddb95d48 Bug 1083989 - Adapting e10s mochitests that expect Promise.jsm in the scope. r=yoric 2014-10-30 23:39:48 +01:00
Felipe Gomes
a0d8806209 Bug 1081296 - Follow up, update URL. r=me DONTBUILD 2014-10-11 19:21:28 -03:00
Florian Quèze
71996760cf Bug 1072743 - Land Es/Vi/Tr/Pl strings for the promotional translation doorhanger. r=felipe 2014-10-10 19:19:23 +02:00
Felipe Gomes
e9467f9c8d Bug 1081296 - Add sumo link for promotional translation doorhanger. r=florian 2014-10-10 17:37:51 -03:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Florian Quèze
0f504ba4d4 Bug 1072742 - Add more language targets for translation, r=felipe. 2014-10-06 15:22:45 +02:00
Florian Quèze
685b1dda0d Bug 1072740 - Translation - Implement doorhanger for in-product promotion, r=felipe. 2014-10-06 15:21:11 +02:00
Shu-yu Guo
59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Bill McCloskey
757ebcfbe3 Bug 1061013 - Disable various browser chrome tests when running with e10s. r=jimm 2014-09-02 13:47:12 -05:00
Florian Quèze
cc1047e2c3 Bug 1046142 - Empty language to translate to drop down on localized builds, r=gavin.
--HG--
extra : rebase_source : 0d2c4d772a672a4b2f7db28ea5cf0905d58b03b1
2014-08-01 15:18:46 +02:00
Nathan Froyd
542214c4df Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.
2014-07-25 13:40:07 -04:00
Florian Quèze
f90ed6e02a Bug 1027024 - Never translate 'language' disappears when close/open translation infobar using a expired key - follow-up, r=mikedeboer. 2014-07-21 12:24:43 +02:00
Steven MacLeod
01345e59a4 Bug 1035337 - Record when the infobar is hidden due to "Never translate this language/site". r=felipe
--HG--
extra : rebase_source : ceb8cf7df82555eef2d073e41f6af8888643c659
extra : histedit_source : 478dc6afdbb7697e93cc44f7d3a716c6347b6c0c
2014-07-10 22:13:09 -04:00
Steven MacLeod
0b8072e06c Bug 1035337 - Introduce API to record when the infobar is hidden due to "Never translate this language/site". r=felipe
--HG--
extra : rebase_source : 04dd1e060efad6160997194ba1b128c7f8a5db36
extra : histedit_source : be5f46896497e1bef1aa5ace5850793c4556527d
2014-07-10 18:31:56 -04:00
Florian Quèze
be80356f1a Bug 1032139 - Make the 'Translations by' string localizable, r=felipe. 2014-07-08 15:56:34 +02:00
Asaf Romano
900b49eb1e Bug 977770 - Count the times users manually adjust the offered translation pair. r=felipe. 2014-06-24 16:53:30 +03:00
Tim Taubert
a6cce4d071 Bug 1029486 - Check for dead wrappers after running language detection r=felipe 2014-06-24 14:04:45 +02:00
Asaf Romano
80952d18ee Bug 1029363 - browser_translation_fhr.js fails if it runs on its own. r=ttaubert. 2014-06-24 11:42:49 +03:00
Asaf Romano
0e132b65dc Bug 973294 - Count the number of times 'Show Original' is used. r=felipe. 2014-06-24 11:41:52 +03:00
Asaf Romano
a9690e1dd6 Bug 977774 - Count the number of times a user opts out of Instant Translation. r=felipe. 2014-06-24 11:40:24 +03:00
Carsten "Tomcat" Book
333b876740 Backed out changeset 5e0288a4e398 (bug 977774) for bc1 test failures 2014-06-24 09:13:47 +02:00
Carsten "Tomcat" Book
57655b7b7e Backed out changeset 895eeb7bddb8 (bug 973294) for bc1 test failures 2014-06-24 09:13:34 +02:00
Asaf Romano
007ecd2b70 Bug 973294 - Firefox counts the number of times that users pick 'Show Original'. r=felipe. 2014-06-24 08:36:56 +03:00
Asaf Romano
6852295bd8 Bug 977774 - Count the number of times a user opts out of Instant Translation. r=felipe. 2014-06-24 08:30:47 +03:00
Asaf Romano
293536d1d6 Bug 977774 - Metric for tracking opts out of Instant Translation. r=felipe. 2014-06-22 12:23:40 +03:00
Florian Quèze
46e8421108 Bug 1022856 - Implement translator provider attribution. r=felipe
Parts of the patch written by Felipe, with r=florian
2014-06-20 15:50:41 -03:00
Wes Kocher
af6ad08f86 Merge inbound to m-c a=merge 2014-06-19 18:07:43 -07:00
Florian Quèze
8ab686ea99 Bug 1022640 - the Translation UI disappears when tearing off a tab, r=felipe. 2014-06-19 19:40:24 +02:00
Ed Morley
901a1e2acc Merge mozilla-central and fx-team 2014-06-19 17:20:10 +01:00
Mike de Boer
782d1b99f9 Bug 1022725: add a mock httpd.js Translation provider for tests. r=florian,felipe 2014-06-19 16:56:02 +02:00
Mike de Boer
a5ea2f48a7 Bug 1022725: Rename BingTranslation to BingTranslator and allow overriding URLs. r=florian 2014-06-19 16:56:00 +02:00
Florian Quèze
156db1bd01 Bug 1027024 - Never translate 'language' disappears when close/open translation infobar using a expired key, r=mikedeboer. 2014-06-19 12:09:28 +02:00
Felipe Gomes
39039f6701 Bug 1024757 - Translation FHR should report missed opportunities due to the detected language not being part of the list of supported languages. r=mdeboer 2014-06-19 13:42:29 -03:00
Florian Quèze
3b3536a166 Bug 1012535 - Handle translation service unavailable errors, r=felipe. 2014-06-16 17:50:08 +02:00
Tim Taubert
5672b08fe1 Bug 973292 - Record the number of characters that are translated with FHR r=felipe 2014-06-11 15:57:52 +02:00
Felipe Gomes
5e300cc8f6 Bug 1022413 - Update list of languages supported by automatic translation. r=MattN 2014-06-18 21:07:12 -03:00
Florian Quèze
47cdb8262a Bug 1017560 - Choosing the same language will modify the state of Show Translation button, r=felipe. 2014-06-11 12:15:36 +02:00
Florian Quèze
f12bada15d Bug 1015527 - Back/Forward navigation shouldn't break the Translation UI, r=felipe. 2014-06-09 16:50:58 +02:00
Felipe Gomes
572b3a40d5 Bug 1012530 - Part 2. Reorder child nodes when swapping document state. r=florian 2014-06-08 13:04:59 -03:00
Felipe Gomes
8f618dd265 Bug 1012530 - Part 1. Keep information about placeholder nodes. r=florian 2014-06-08 13:02:13 -03:00
Wes Kocher
216b247057 Merge fx-team to m-c a=merge 2014-06-05 19:06:34 -07:00
Mike de Boer
dea3bd3c63 Bug 1015525: changes to translation prefs are now recorded by FHR. r=rnewman 2014-06-04 15:32:08 +02:00
Steven MacLeod
34d0f0822a Bug 978158 - Setup FHR provider for Translation project r=felipe,rnewman
--HG--
rename : browser/components/translation/test/test_cld2.js => browser/components/translation/test/unit/test_cld2.js
rename : browser/components/translation/test/xpcshell.ini => browser/components/translation/test/unit/xpcshell.ini
2014-06-03 18:08:35 +02:00
Mike de Boer
0078888ef0 Bug 1015521: Bing translation service will now uses available credentials. r=felipe 2014-06-03 12:43:12 +02:00
Mike de Boer
0fa4d64fa1 Bug 1014007: reset _pendingRequest property on the correct scope. r=felipe 2014-06-02 16:40:27 +02:00
Asaf Romano
2987677fce Bug 1018981 - Language to translate to box has the same colour as the infobar and up/down arrows are missing. r=ttauber. This also fixes bug 1018976. 2014-06-03 12:39:48 +03:00
Felipe Gomes
188eafeede Bug 1014672 - & character translated to & r=mikedeboer 2014-06-05 14:52:40 -03:00
Asaf Romano
e1c5cdb458 Bug 988480 - Implement OS X styling of Translation Infobar. r=mak 2014-05-31 00:21:11 +03:00
Ryan VanderMeulen
98cb66a0fc Backed out changeset 0521f4f30285 (bug 988480) for mochitest-bc failures. 2014-05-30 15:00:14 -04:00
Asaf Romano
826714abf6 Bug 988480 - Implement OS X styling of Translation Infobar. r=mak 2014-05-30 20:57:50 +03:00
Florian Quèze
340e9d96ee Bug 1016342 - build translation by default, r=felipe. 2014-05-28 00:45:45 +02:00
Asaf Romano
f374977b67 Bug 988275 - Choosing the same language in Translation Infobar will attempt to translate. r=florian 2014-05-26 17:03:13 +03:00
Asaf Romano
9b8266188a Bug 994037 - Translation infobar can be placed in the wrong tab. r=florian 2014-05-26 15:30:42 +03:00
Felipe Gomes
0a6e078f5c Bug 1012533 - Translation root inside root shouldn't be stringfied twice. r=florian 2014-05-23 13:09:21 -03:00
Felipe Gomes
04350197cb Bug 1012519 - Re-translation should use original content instead of newly translated content. r=florian 2014-05-23 13:08:18 -03:00
Mike de Boer
f696e726d8 Bug 1013861: add pref to control showing the translation UI. r=felipe 2014-05-23 17:16:27 +02:00
Florian Quèze
de59008bd2 Bug 1013537 - Implement animated translation icon for "Translation in Progress" infobar, r=felipe. 2014-05-22 22:33:13 +02:00
Florian Quèze
b8d3314294 Bug 988297 - Language is changed if up/down arrow keys are used while translation infobar displays the error message, r=felipe. 2014-05-22 15:12:53 +02:00
Mike de Boer
a945a0b9c4 Bug 10113915: remove unused imports. r=florian. 2014-05-21 17:54:52 +02:00
Marco Bonardo
b6041d5d9c Bug 988481 - Implement Windows/Linux styling of Translation Infobar. r=mano 2014-05-20 12:10:17 +02:00
Carsten "Tomcat" Book
eb3c441d69 Backed out changeset c058132f270e (bug 988481) for bc1 test failures 2014-05-20 14:01:41 +02:00
Marco Bonardo
ecff0ce2b5 Bug 988481 - Implement Windows/Linux styling of Translation Infobar. r=mano 2014-05-20 12:10:17 +02:00
Felipe Gomes
044aebb14c Bug 971054 - Parts 5 and 6. Move translation content handler to its own jsm and hook up it with the UI and engine. r=florian 2014-05-19 17:33:41 -03:00
Felipe Gomes
dfbd566b02 Bug 976554 - Replace original content of webpage's text nodes with translated content, or vice versa. r=florian 2014-05-19 17:32:09 -03:00
Felipe Gomes
de0ef149d6 Bug 976556 - Parse translation results back into the TranslationDocument and TranslationItem data structures. r=florian 2014-05-19 17:31:23 -03:00
Felipe Gomes
61232aa1de Bug 971054 - Part 4. Class to manage the service's auth token lifetime and renewal. r=florian 2014-05-19 17:29:47 -03:00
Felipe Gomes
88fad51371 Bug 971054 - Part 3. BingRequest class that represents one network request sent to translation service. r=florian 2014-05-19 17:28:25 -03:00
Felipe Gomes
3accdb2bac Bug 971054 - Part 2. BingTranslator engine. r=florian 2014-05-19 17:27:32 -03:00
Felipe Gomes
d8798f4c8f Bug 971054 - Part 1. TranslationDocument class that manages the translation process and data for a document. r=florian 2014-05-19 17:26:55 -03:00
Florian Quèze
b3791d75b5 Bug 1008195 - Clicking on the notification icon should toggle the translation infobar, r=felipe. 2014-05-16 17:17:06 +02:00
Florian Quèze
d100a471df Bug 976574 - Implement 'Translation Preferences' option in infobar - tests, r=felipe.
--HG--
extra : rebase_source : f96151044fb083fa2c8e19d085c2a6a90700afe2
2014-05-13 09:57:20 +02:00
Florian Quèze
890b1a4ce2 Bug 976574 - Implement 'Translation Preferences' option in infobar, r=felipe.
--HG--
extra : rebase_source : 240d73d8d852a1868bb96e39d61fc7a80a60621b
2014-05-13 09:57:08 +02:00
Florian Quèze
ea529a83d7 Bug 971048 - Run language detection on webpages and display infobar when language is not the current UI locale, r=felipe. 2014-04-17 00:02:33 +02:00
Florian Quèze
171e950cb8 Bug 974461 - Display translation icon at the same time as the translation infobar, r=felipe.
--HG--
extra : rebase_source : a00d5c02ba42c66de943d9c4c34171f3f35022ed
2014-04-07 19:39:07 +02:00
Florian Quèze
adf42bdf93 Bug 987522 - Improve localizability of translation infobar, r=felipe. 2014-03-31 11:42:15 +02:00
Florian Quèze
8861e06a05 Bug 979424 - Implement structure and state switching for translation infobar, r=felipe. 2014-03-21 19:07:38 +01:00
Florian Quèze
c93fd59725 Bug 971047 - Import the CLD language detection library, r=felipe,azakai,gps. 2014-03-13 18:28:53 +01:00