Commit Graph

139 Commits

Author SHA1 Message Date
Florian Queze
6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Marco Bonardo
c536e58644 Bug 977177 - Update favicons API consumers. r=adw
Updates consumers to the new behavior.
Some consumers are changed to use  the "page-icon:" protocol, since it's not
trivial to join the icons table and get a single result out of it. In most cases
the join would return multiple results since a page can have multiple icon payloads.
These consumers for now will return the biggest payload, bug 1347532 will fix
some of them to properly pass a #size=NN fragment.
Note that, even before, these were just "moz-anno:favicon:" uris, and the
payload had to be fetched from the database.
Some other consumers for now just fallback to the largest payload, by passing 0
to GetFaviconURLForPage.

The favicon optimization still happens on the main-thread, bug 1346139 will
handle that problem.

Most of the changes involve handling the modified IconData objects, that now
retain an array of payloads, rather than just one. But note that .ico files are
not yet split into single frames, due to imagelib missing APIs that will be handled
in bug 1337402.
The other changes involve fixing queries to properly join with the new tables.

Finally, note that thanks to the FOREIGN KEYS support, removing from moz_icons or
moz_pages_w_icons will also remove relations from moz_icons_to_pages.

The system only supports square icons, so icons are resized based on their larger side.

This doesn't include new tests, those will be in a following changeset.

MozReview-Commit-ID: JUkpquhpS8y
2016-09-28 16:14:30 +02:00
Dão Gottwald
9da2276d04 Bug 1348122 - Share code between the customizable zoom control and the location bar's zoom indicator. r=Gijs
MozReview-Commit-ID: 7iRRr1gF9R5
2017-03-21 09:23:24 +01:00
Florian Quèze
49d8db6821 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Jared Wein
d69b0cfb01 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC
2017-03-14 19:58:38 -04:00
Carsten "Tomcat" Book
b4e9d644a2 Backed out changeset 56b09fa0748c (bug 1345375) on request from dao 2017-03-15 10:23:55 +01:00
Jared Wein
08870c8c85 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC
2017-03-14 19:58:38 -04:00
Sebastian Hengst
6c50735a84 Backed out changeset 8bd3a85551ae (bug 1345375) for failing browser_urlBar_zoom.js. r=backout 2017-03-13 20:34:51 +01:00
Jared Wein
bb52f1a349 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC
2017-03-10 15:33:07 -05:00
Florian Quèze
b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Florian Quèze
c7eae86054 Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
Edouard Oger
1fa2484c6f Bug 1244622 - Add "Show More/All" (tabs) buttons in the Synced Tabs menu. r=markh
MozReview-Commit-ID: 7z9fTVCDGgF
2017-02-06 16:31:31 -05:00
Andrea Marchesini
03364d5e05 Bug 1337964 - SiteDataManager should check correctly if a cookie belongs to a private identity or not, r=aryx, r=gijs 2017-02-15 13:12:52 +01:00
Shane Caraveo
1f656159fc Bug 1208596 implement sidebar api for webextensions, f?kmag, gijs r=Gijs,kmag
MozReview-Commit-ID: 6GMdU5kcrFR
2017-02-09 15:32:50 -08: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
0c2dd4fa35 Bug 1329017 - Enable the no-useless-return rule for eslint and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: 2MhpvzUDgtK
2017-01-06 12:09:28 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd 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
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dão Gottwald
78730903ed Bug 1318104 - History panel should expose keyboard shortcuts for restoring the last closed tab / window. r=jaws 2016-11-17 10:40:49 +01:00
Jared Wein
ef8b1e86ca Bug 1316870 - Enable no-shadow eslint rule for browser/. r=mossop 2016-11-15 22:58:30 -05:00
Dave Townsend
4e295aa48d Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Mark Banner
0dc78b7964 Bug 1314918 - Fix most of the remaining no-unused-vars issues for local scope in browser/. r=mossop
MozReview-Commit-ID: LdoXLniNeT7
2016-11-03 11:51:48 +00:00
Jonathan Kingston
df5380e1a5 Bug 1267916 - part 1 - Open about preferences #containers in any existing menu (except context menu), r=jaws 2016-11-03 19:31:28 +01:00
Jonathan Kingston
6e8684cff6 Bug 1278177 - Change container icons to a single sprite sheet and to be rendered by CSS r=jaws
MozReview-Commit-ID: 2M1yFOxweBm
2016-09-14 22:48:58 +01:00
Jared Wein
0c024fa9ca Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Mark Banner
c0170c9aa4 Bug 1311315 - General small fixes for no-undef eslint issues in browser/. r=jaws
Drop linting of the .eslintrc.js config files.
Fix some minor errors in the code (missing let/const, undefined vars).
Let eslint know that some files get their globals from other places (typically via xul script tags).

MozReview-Commit-ID: CwxuwPtRUr6
2016-10-18 12:34:35 +01:00
Thom Chiovoloni
e696858b7d Bug 1241316 - Display device last sync time in synced tabs menu panel tooltip. r=markh
MozReview-Commit-ID: LF1GOf8XIrR
2016-09-27 15:14:25 -04:00
Shane Caraveo
e5626fbd1f Bug 1289549 P2 socialapi remove sidebar and chat, r=florian
MozReview-Commit-ID: JzSDh41IPBu
2016-08-23 15:24:06 -07:00
Shane Caraveo
da86ee46c2 Bug 1289549 P1 socialapi remove status and marks, r=florian
MozReview-Commit-ID: IgpgD7qwasI
2016-08-23 15:24:06 -07:00
Kris Maglione
efcf532168 Bug 1259093: Part 1 - Allow async initialization from ViewShowing events. r=Gijs
This changes the `detail` of the ViewShowing events in an incompatible way.
There were only a few places it was used in mozilla-central, which I fixed. I
searched add-ons in DXR and didn't find any that used the `detail` member of
this event, but I had to resort to a random sampling, so it's possible that
some do exist.

MozReview-Commit-ID: CYzGw6KH7uI
***
amend-0

MozReview-Commit-ID: EZfo1k7YhSx
2016-08-16 18:46:56 -07:00
Sumit Tiwari
4edded08d9 Bug 1290698 - Replace Iterator() with Object.{values, entries}; r=mossop
MozReview-Commit-ID: DEoVeqEZWpd
2016-08-07 21:58:24 -04:00
Sebastian Hengst
a06a5d501a Bug 1289358 - Remove typeof win.foo == "function" checks: Remove trailing whitespaces. r=eslint-fix 2016-07-29 00:49:39 +02:00
divyanshu
c8dc7363a8 Bug 1289358 - Remove typeof win.foo == "function" checks. r=dao 2016-07-29 00:10:03 +05:30
Carsten "Tomcat" Book
19af329f0e merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Andrea Marchesini
42cc3cfff3 Bug 1287091 - part 4 - ContextualIdentityService create/remove/update, r=Gijs 2016-07-25 09:25:56 +02:00
Gijs Kruitbosch
1e6965a9d0 Bug 1287980 - fix combined toolbar button styling after undo reset, r=jaws
MozReview-Commit-ID: GnkIUIAByH7
2016-07-20 13:27:10 +01:00
Carsten "Tomcat" Book
aacee25be3 Backed out changeset c01aeb081e2d (bug 1287091) 2016-07-24 14:31:43 +02:00
Andrea Marchesini
d9db34363a Bug 1287091 - part 4 - ContextualIdentityService create/remove/update, r=Gijs 2016-07-23 08:58:23 +02:00
Wes Kocher
f35484cf41 Backed out 5 changesets (bug 1287091) for build bustage after assertions in SharedIC.h CLOSED TREE
Backed out changeset c57fd3af416e (bug 1287091)
Backed out changeset edad0174cb12 (bug 1287091)
Backed out changeset 7ed07b35bad6 (bug 1287091)
Backed out changeset 939d5064ab91 (bug 1287091)
Backed out changeset acbca9af0a3b (bug 1287091)
2016-07-22 11:14:13 -07:00
Andrea Marchesini
94aee3d9c3 Bug 1287091 - part 4 - ContextualIdentityService create/remove/update, r=Gijs 2016-07-22 16:19:50 +02:00
Andrea Marchesini
50d5ad0233 Bug 1287091 - part 1 - ContextualIdentityService should use a storage for the containers, r=Gijs 2016-07-22 16:14:24 +02:00
Carsten "Tomcat" Book
3d31f3c454 Merge mozilla-central to mozilla-inbound 2016-07-20 11:35:42 +02:00
Andrea Marchesini
d1bd010116 Bug 1279297 - No restarts needed for Containers when its pref is changed, r=gijs 2016-07-20 10:03:55 +02:00