f56376db333bb81776048002c27b60912fac593f: Bug 1393885 - provide a faster path for do_GetWeakReference; r=erahm
Nathan Froyd <froydnj@mozilla.com> - Tue, 05 Sep 2017 15:39:40 -0400 - rev 379154
Push 50536 by archaeopteryx@coole-files.de at Wed, 06 Sep 2017 09:28:27 +0000
Bug 1393885 - provide a faster path for do_GetWeakReference; r=erahm NS_GetWeakReference, called from do_GetWeakReference, QI's its argument to nsISupportsWeakReference to determine whether a weak reference can be obtained. If NS_GetWeakReference is already receiving a nsISupportsWeakReference pointer, or something than can be converted to one, then we can skip the QI for a small performance win.
b790f9291cdbad093bb033390f6724cfe8719ac4: Bug 1369560 - Avoid potentially unsafe snprintf usage in FPSCounter. r=mchang
David Keeler <dkeeler@mozilla.com> - Fri, 02 Jun 2017 14:39:15 -0700 - rev 379153
Push 50536 by archaeopteryx@coole-files.de at Wed, 06 Sep 2017 09:28:27 +0000
Bug 1369560 - Avoid potentially unsafe snprintf usage in FPSCounter. r=mchang snprintf returns the number of bytes it would have written when it runs out of space. This patch makes sure we properly handle this unlikely event in FPSCounter. This patch also makes sure we don't print out the contents of an uninitialized buffer.
19a399059c8b9309e54928e8b268638bc4707c44: Bug 1393956 - ensure NativeFontResourceDWrite is thread-safe. r=bas
Lee Salzman <lsalzman@mozilla.com> - Tue, 05 Sep 2017 15:30:13 -0400 - rev 379152
Push 50536 by archaeopteryx@coole-files.de at Wed, 06 Sep 2017 09:28:27 +0000
Bug 1393956 - ensure NativeFontResourceDWrite is thread-safe. r=bas MozReview-Commit-ID: 4uME7zNmXrg
c6e59f1b2e2720376a94d30ebabf9fcc60e4f87e: merge autoland to mozilla-central. r=merge a=merge
Sebastian Hengst <archaeopteryx@coole-files.de> - Wed, 06 Sep 2017 11:24:09 +0200 - rev 379151
Push 50536 by archaeopteryx@coole-files.de at Wed, 06 Sep 2017 09:28:27 +0000
merge autoland to mozilla-central. r=merge a=merge MozReview-Commit-ID: GwsvoBOns3A
b235fb79d6e017b9f47309cb06eb701c06b7e8d2: Backed out changeset 7208ebbc9162 (bug 1395167) for duplicate string entity ids. r=backout a=backout
Sebastian Hengst <archaeopteryx@coole-files.de> - Wed, 06 Sep 2017 09:37:58 +0200 - rev 379150
Push 50536 by archaeopteryx@coole-files.de at Wed, 06 Sep 2017 09:28:27 +0000
Backed out changeset 7208ebbc9162 (bug 1395167) for duplicate string entity ids. r=backout a=backout MozReview-Commit-ID: 4FQVP2SahMD
ab165f1dc56b2541e5cf0e4d6cc7fdf42a83d0f5: servo: Merge #18390 - style: Properly apply the display fixup for ::before and ::after (from emilio:display-fixup-proper); r=heycam
Emilio Cobos Álvarez <emilio@crisal.io> - Wed, 06 Sep 2017 03:28:56 -0500 - rev 379149
Push 50535 by servo-vcs-sync@mozilla.com at Wed, 06 Sep 2017 09:25:18 +0000
servo: Merge #18390 - style: Properly apply the display fixup for ::before and ::after (from emilio:display-fixup-proper); r=heycam Bug: 1393861 Reviewed-by: heycam Source-Repo: https://github.com/servo/servo Source-Revision: f5e23a3a903a8142ff8993418142b0554f580c7d
61feaf98e908f76676b131e7345b83917ca1075f: Bug 1356543 - Add clipboard.setImageData API r=mixedpuppy
Rob Wu <rob@robwu.nl> - Mon, 04 Sep 2017 21:43:06 +0200 - rev 379148
Push 50534 by rob@robwu.nl at Wed, 06 Sep 2017 09:11:56 +0000
Bug 1356543 - Add clipboard.setImageData API r=mixedpuppy This introduces an implementation of the clipboard.setImageData API. I did not find any complete documentation about how copying and pasting images is supposed to work in Firefox, so I added many lines of documentation based on experimenting and reading the source code. The implementation is very similar to the Add-on SDK's implementation, save for one difference: The third parameter to setTransferData is 0 instead of -1. Its significance is elaborated in ext-clipboard.js. The newly added tests serve the following purposes: - Verification that clipboard.setImageData is working as expected. There is no way to test that pasting in an external application really works, so we just check whether Firefox recognizes the special image data by pasting in a contentEditable area. - Test coverage for reading clipboard data via the "paste" event and using event.clipboardData to access the pasted data, because this is the only way to read non-text data in a WebExtension extension. MozReview-Commit-ID: Ldrx7LCIta2
9698cc8c675274d5c787a1c4fbb3bc0817dd6729: Bug 1393837 - Make sure codegen includes all the parent interfaces r=peterv
Valentin Gosu <valentin.gosu@gmail.com> - Wed, 06 Sep 2017 10:33:45 +0200 - rev 379147
Push 50533 by valentin.gosu@gmail.com at Wed, 06 Sep 2017 09:10:14 +0000
Bug 1393837 - Make sure codegen includes all the parent interfaces r=peterv MozReview-Commit-ID: 5UWExNmYyME
0f782497fb09c037fd5a7bf977641cde1dd2202e: Bug 1394378 - Wrap drawable to support tinting across different API levels. r=nechen
Jing-wei Wu <topwu.tw@gmail.com> - Wed, 06 Sep 2017 10:15:14 +0800 - rev 379146
Push 50532 by nechen@mozilla.com at Wed, 06 Sep 2017 08:37:43 +0000
Bug 1394378 - Wrap drawable to support tinting across different API levels. r=nechen According to the comment of `DrawableCompat.wrap(Drawable)`[1], a drawable should be wrapped to support tinting across the different API levels. [1] https://android.googlesource.com/platform/frameworks/support/+/android-6.0.1_r67/v4/java/android/support/v4/graphics/drawable/DrawableCompat.java#329 MozReview-Commit-ID: JJ4alkFF1og
926d1e8e07414f8622933ef61435ad475fad63f4: Bug 1397116 - Adjust form autofill dropdown item height to 30px to align with visual spec. r=lchang
Ray Lin <ralin@mozilla.com> - Wed, 06 Sep 2017 12:32:36 +0800 - rev 379145
Push 50531 by lchang@mozilla.com at Wed, 06 Sep 2017 08:24:28 +0000
Bug 1397116 - Adjust form autofill dropdown item height to 30px to align with visual spec. r=lchang MozReview-Commit-ID: HTml30JLhRO
9170cac02dae16ca52ba3e656d6b90916015f639: servo: Merge #18387 - Measure SmallVecs in SelectorMap and InvalidationMap (from nnethercote:measure-smallvec); r=heycam
Nicholas Nethercote <nnethercote@mozilla.com> - Wed, 06 Sep 2017 01:39:35 -0500 - rev 379144
Push 50530 by servo-vcs-sync@mozilla.com at Wed, 06 Sep 2017 07:56:04 +0000
servo: Merge #18387 - Measure SmallVecs in SelectorMap and InvalidationMap (from nnethercote:measure-smallvec); r=heycam <!-- Please describe your changes on the following line: --> This is another ~300 KiB on the Obama wikipedia page. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because testing is on the Gecko side. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> r? @heycam Source-Repo: https://github.com/servo/servo Source-Revision: 6051e5ed021b10f1ac89a2865765a46f4358f02f
4ef59b77d1cbaeae823261ea84dcba5801057c0d: Bug 1396071 - check if SourceMapURLService has been destroyed after async call;r=tromey
Julian Descottes <jdescottes@mozilla.com> - Sat, 02 Sep 2017 00:59:46 +0200 - rev 379143
Push 50529 by jdescottes@mozilla.com at Wed, 06 Sep 2017 07:48:15 +0000
Bug 1396071 - check if SourceMapURLService has been destroyed after async call;r=tromey MozReview-Commit-ID: KsKtgvC9LXt
d9f65581eed4c5e0250340ef249bedabe6163c78: Bug 1390440 - Support nsDisplayPlugin for webrender layers-free mode. r=mattwoodrow
Ethan Lin <ethlin@mozilla.com> - Wed, 16 Aug 2017 15:08:55 +0800 - rev 379142
Push 50528 by ethlin@mozilla.com at Wed, 06 Sep 2017 07:39:01 +0000
Bug 1390440 - Support nsDisplayPlugin for webrender layers-free mode. r=mattwoodrow MozReview-Commit-ID: 2DoBo7OkTsb
9a9286001f8ad6eef9e5415d640ad819017192de: Bug 1272349 - Use already set value of kEnableSelectionRB bit instead of NSPrintSelectionOnly. r=haik
Mantaroh Yoshinaga <mantaroh@gmail.com> - Wed, 06 Sep 2017 10:03:39 +0900 - rev 379141
Push 50527 by mantaroh@gmail.com at Wed, 06 Sep 2017 07:35:04 +0000
Bug 1272349 - Use already set value of kEnableSelectionRB bit instead of NSPrintSelectionOnly. r=haik The kEnableSelectionRB flag is already set in nsPrintEngine code and the generic nsPrintOptions::SerializeToPrintData() serializes this flags, so we don't need to check NSPrintSelectionOnly and we don't need to override the kEnableSelectionRB setting in nsPrintOptionsX::SerializeToPrintData(). MozReview-Commit-ID: I3iYdx5OQCp
40fa31e34c5da039a0aef3ffecbc0715c4f47e86: Bug 1387470 - Allow geckodriver to use the webdriver conforming click. r=ato
Henrik Skupin <mail@hskupin.info> - Fri, 01 Sep 2017 17:21:50 +0200 - rev 379140
Push 50526 by hskupin@mozilla.com at Wed, 06 Sep 2017 07:32:29 +0000
Bug 1387470 - Allow geckodriver to use the webdriver conforming click. r=ato To allow the selection of the new webdriver spec conforming "clickElement" method over the old legacy Selenium one, the "moz:webdriverClick" capability can be used. Setting it's value to true will enable the conforming click. MozReview-Commit-ID: HMvFFEJDvpG
8f6b800cfeeed7f8283ec925bf36f7ddf7a7d544: Bug 1387470 - Use moz:webdriverClick capability for spec conforming element click. r=ato
Henrik Skupin <mail@hskupin.info> - Fri, 01 Sep 2017 17:11:35 +0200 - rev 379139
Push 50526 by hskupin@mozilla.com at Wed, 06 Sep 2017 07:32:29 +0000
Bug 1387470 - Use moz:webdriverClick capability for spec conforming element click. r=ato To allow geckodriver to temporarily opt-in for using the webdriver conforming click, a new custom capability has to be created for Marionette. If not specified the legacy clickElement method will be used instead. MozReview-Commit-ID: LuyTjLJXMGL
37c74cd56457e7c7067ebeea2b92e44380eb4868: Bug 1396926 - Update BUG_COMPONENT for the new component r=KWierso
Wes Kocher <wkocher@mozilla.com> - Wed, 06 Sep 2017 00:10:01 -0700 - rev 379138
Push 50525 by kwierso@gmail.com at Wed, 06 Sep 2017 07:21:38 +0000
Bug 1396926 - Update BUG_COMPONENT for the new component r=KWierso MozReview-Commit-ID: 85zVvwDVQvu
e711937ff6fa74fd4da55382d7df24647aaa4462: bug 1384701 get system fonts in EnsureInit() which is on main thread even with servo r=manishearth
Karl Tomlinson <karlt+@karlt.net> - Mon, 04 Sep 2017 18:29:04 +1200 - rev 379137
Push 50524 by ktomlinson@mozilla.com at Wed, 06 Sep 2017 07:20:43 +0000
bug 1384701 get system fonts in EnsureInit() which is on main thread even with servo r=manishearth GTK should be used only from the main thread, but the specific symptom before this change was that creating a GtkEntry causes pango_cairo_font_map_get_default() to be called. This function returns a different font map on each thread. The font map is leaked when StyleThreads are leaked at exit. Font caches are usually expensive and so using the existing font map on the main thread is preferable. A GtkEntry already exists on the main thread, as well as style contexts for most other system fonts, and so it is more efficient to create these on the main thread while the style contexts exist. Doing this also avoids the need for Gecko_nsFont_InitSystem() to hold a global lock to avoid concurrently calling into GTK through LookAndFeel::GetColor(). MozReview-Commit-ID: DSOwEUeYmtV
143ef903d8f6310a4405b456a63cdd7cca858a54: bug 1384701 get system font name and size from widget style context instead of GtkSettings r=manishearth
Karl Tomlinson <karlt+@karlt.net> - Mon, 04 Sep 2017 21:33:21 +1200 - rev 379136
Push 50524 by ktomlinson@mozilla.com at Wed, 06 Sep 2017 07:20:43 +0000
bug 1384701 get system font name and size from widget style context instead of GtkSettings r=manishearth gtk_widget_get_settings() returns the same settings for all widgets [1] but GTK actually uses specific fonts for each widget [2]. [1] https://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c?h=3.22.19#n11637 [2] https://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c?h=3.22.19#n10334 Changing to GtkStyleContext* will also make this easier to use from code where the GtkStyleContext exists but not the GtkWidget, such as EnsureInit() in a future patch. MozReview-Commit-ID: 3NuTL5wRzm5
4166c5ecc5d77aec3307cc2c8058cdd7d1590991: bug 1384701 remove MOZ_WIDGET_GTK == 2 code from nsLookAndFeel r=manishearth
Karl Tomlinson <karlt+@karlt.net> - Mon, 04 Sep 2017 17:36:17 +1200 - rev 379135
Push 50524 by ktomlinson@mozilla.com at Wed, 06 Sep 2017 07:20:43 +0000
bug 1384701 remove MOZ_WIDGET_GTK == 2 code from nsLookAndFeel r=manishearth This old code no longer builds and is superseded by the GTK3 port. See also bug 1278282. MozReview-Commit-ID: 9KyrPuNAluv
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip