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

491533 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 40fbd338ce Bug 1288618 - Part 5: Add IPC serialization helpers for some media structs/enums. r=dvander 2016-09-15 23:17:59 +12:00
Matt Woodrow 810ad19979 Bug 1288618 - Part 4: Fix some namespace collisions in media code. r=jya 2016-09-15 23:17:59 +12:00
Matt Woodrow 7dcb4a5e29 Bug 1288618 - Part 3: Avoid accessing MediaPrefs from the GPU process within WMF code. r=cpearce 2016-09-15 23:17:59 +12:00
Matt Woodrow 61e84987aa Bug 1288618 - Part 2: Allow allocating D3D9/11 Images when we don't have a recycling allocator available. r=nical 2016-09-15 23:17:58 +12:00
Matthew Woodrow 0cd90578a4 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander 2016-08-25 15:48:35 +12:00
Jan de Mooij 0b8211b299 Bug 1302645 - Only relazify functions on shrinking GCs to avoid reparsing too much. r=terrence 2016-09-15 12:58:42 +02:00
Christian Holler ed2743696a Bug 1289194 - Move tools/fuzzing/libfuzzer reference to toolkit. r=ted
MozReview-Commit-ID: B5eiDyqmMXk

--HG--
extra : rebase_source : 268eb125f01d00b4d8ef1826566131cc179d7979
2016-09-10 02:27:23 +02:00
Christian Holler (:decoder) 69b3ee60b9 Bug 1289194 - Make LibFuzzerRunner use its own private ScopedXPCOM copy. r=ted
MozReview-Commit-ID: Kul2N4GA7O7

--HG--
extra : rebase_source : f2706dcf33c1d589b4f3711634c1d45c3a036f95
2016-08-24 22:35:03 +02:00
Christian Holler (:decoder) 3c7149e85d Bug 1289194 - Experimental LibFuzzer integration. r=glandium
MozReview-Commit-ID: 9njDcbltyow

--HG--
extra : rebase_source : 774d25f2ac4e4b1a876e48159333188bc722f940
2016-09-01 15:07:01 +02:00
Carsten "Tomcat" Book 5a051cc6d9 Merge mozilla-central to mozilla-inbound 2016-09-15 12:05:56 +02:00
Carsten "Tomcat" Book 25a074d342 merge mozilla-inbound to mozilla-central a=merge 2016-09-15 11:59:50 +02:00
Carsten "Tomcat" Book 6acc7fef72 merge fx-team to mozilla-central a=merge 2016-09-15 11:58:32 +02:00
Kevin Chen 1560ed91a0 Bug 1298318 followup - Add notice comment in SVGImageContext. r=dholbert
Comment-only, so DONTBUILD (and KWierso says it's OK to land this on CLOSED TREE)

MozReview-Commit-ID: BKxFHeXxipf
2016-09-14 12:28:54 -07:00
Wes Kocher f779775754 Backed out changeset 4bb39c7c98dd (bug 1271650) for ASAN leaks a=backout 2016-09-14 10:51:36 -07:00
Jim Chen 13d9bdb41d Bug 1258472 - 2. Move guest mode state management to GeckoProfile; r=nalexander
Because guest mode is intimately tied to the profile, it'd be hard to
keep guest mode out of geckoview code entirely, But we also don't want
any dependency on GuestSession from geckoview code, so this patch moves
the part of GuestSession that manages guest mode state to GeckoProfile.
2016-09-14 13:33:09 -04:00
Jim Chen dd14f982bb Bug 1258472 - 1. Start first-run telemetry session outside of GeckoProfile; r=nalexander
Move the first-run telemetry session from GeckoProfile to BrowserApp, so
there is no longer any dependency on Telemetry from inside GeckoProfile.
2016-09-14 13:33:09 -04:00
Alexandre Lissy f6ee6d53f2 Bug 1302641 - Update ImageBridgeChild::GetSingleton() use after 1298938 r=nical
MozReview-Commit-ID: Cs7xUcPnPoz
2016-09-14 19:01:21 +02:00
Luke Wagner 171ec3369e Bug 1284156 - Baldr: use ToNonWrappingUint32 for range checks (r=bbouvier)
MozReview-Commit-ID: 1oVQYPlF89J

--HG--
extra : rebase_source : 365a915d22ee8bd72a3d7ed81fa3a910b96d2387
2016-09-14 11:54:17 -05:00
Luke Wagner 6a30ba8b4e Bug 1284156 - Baldr: add Table.prototype.grow (r=bbouvier)
MozReview-Commit-ID: 8g92o4GXQ82

--HG--
extra : rebase_source : 64dc4699727be013eeb3c9dcca86e519598e1880
2016-09-14 11:46:10 -05:00
Jim Chen 5113e2786e Bug 1291384 - 2. Convert GeckoProfile.getDB calls to BrowserDB.from calls; r=nalexander
Mass convert GeckoProfile.getDB() calls to BrowserDB.from() calls,
whether using Context or GeckoProfile.
2016-09-14 12:46:50 -04:00
Jim Chen fef2725577 Bug 1291384 - 1. Take BrowserDB out of GeckoProfile; r=nalexander
Remove references to BrowserDB and its factory from GeckoProfile.
Instead of keeping the DB in mDB, GeckoProfile now keeps an arbitrary
object in mData. Using a data object lets us avoid needing another map
to map profiles to DBs. This feature could be very useful for GeckoView
consumers as well.

The new way to get a BrowserDB from a profile/context is through
BrowserDB.from(Context) or BrowserDB.from(GeckoProfile), which takes
care of creating a local DB if necessary and associating the DB with the
profile.
2016-09-14 12:46:50 -04:00
Jim Chen 3a8af38a02 Bug 1301515 - Remove FormAssistPopup dependency in geckoview; r=sebastian
Remove the input method change notification that GeckoInputConnection
sends to FormAssistPopup, so there's no dependency on FormAssistPopup
from inside GeckoInputConnection or GeckoInterface. Instead,
FormAssistPopup now actively queries the current input method, and
performs blocklisting based on that.
2016-09-14 12:43:36 -04:00
Jim Chen cbdc48211c Bug 1291385 - 3. Don't send viewport flush message; r=snorp
We used to use it to sync viewport metrics between Gecko and Java, but I
don't think this is needed anymore.
2016-09-14 12:43:36 -04:00
Jim Chen de52df3d2a Bug 1291385 - 2 .Move restrictions package from geckoview to Fennec; r=nalexander
The restrictions package really belongs in Fennec code rather than in
geckoview code. The move also eliminates some dependency errors because
the restrictions package references some classes in Fennec code.

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/DefaultConfiguration.java => mobile/android/base/java/org/mozilla/gecko/restrictions/DefaultConfiguration.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/GuestProfileConfiguration.java => mobile/android/base/java/org/mozilla/gecko/restrictions/GuestProfileConfiguration.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/Restrictable.java => mobile/android/base/java/org/mozilla/gecko/restrictions/Restrictable.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/RestrictedProfileConfiguration.java => mobile/android/base/java/org/mozilla/gecko/restrictions/RestrictedProfileConfiguration.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/RestrictionCache.java => mobile/android/base/java/org/mozilla/gecko/restrictions/RestrictionCache.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/RestrictionConfiguration.java => mobile/android/base/java/org/mozilla/gecko/restrictions/RestrictionConfiguration.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/RestrictionProvider.java => mobile/android/base/java/org/mozilla/gecko/restrictions/RestrictionProvider.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/Restrictions.java => mobile/android/base/java/org/mozilla/gecko/restrictions/Restrictions.java
2016-09-14 12:43:36 -04:00
Jim Chen fa1430b7fc Bug 1291385 - 1. Remove geckoview dependency on certain GeckoApp constants; r=sebastian
Code in geckoview depends on several string constants in GeckoApp.
This patch moves PREFS_OOM_EXCEPTION and ACTION_ALERT_CALLBACK from
GeckoApp to GeckoAppShell, to reverse the dependency. Ideally, we'd want
those constants to not be used or used differently in geckoview code,
but this is a quick workaround for now. GeckoThread uses
GeckoApp.ACTION_HOMESCREEN_SHORTCUT, but that block of code is actually
obsolete, so this patch removes the code block and the dependency.
2016-09-14 12:43:36 -04:00
Jim Chen c51900d074 Bug 1258470 - 3. Small optimizations in ThumbnailHelper; r=nalexander
This patch includes a small memory optimization of using ArrayList and
`volatile int` for storing the pending thumbnails list and pending
width, instead of using LinkedList and AtomicInteger, respectively.

The patch also fixes a possible race condition due to calling
processNextThumbnail outside of a lock. Now it must be called inside a
lock and its name is changed to reflect that.
2016-09-14 12:43:36 -04:00
Jim Chen 3013200dba Bug 1258470 - 2. Move thumbnail code out of BitmapUtils; r=nalexander
Move the "thumbnail:" handler out of BitmapUtils and into
ThumbnailHelper and PromptListItem.

The patch adds two overloads of the getAndProcessThumbnailFor method in
ThumbnailHelper, which handle the tasks of getting a thumbnail for a
specific tab and calling a given BitmapLoader.

Because only PromptListItem makes use of the "thumbnail:" convention,
the actual handling of "thumbnail:" is moved to PromptListItem, which
calls ThumbnailHelper to get the thumbnail.
2016-09-14 12:43:36 -04:00
Jim Chen bdb35912c7 Bug 1258470 - 1. Remove RTL and ZoomConstraints variables from gfx; r=rbarker
We no longer send viewport metadata, so we don't actually make use of
the RTL and ZoomConstraints variables we keep in Java. There is a single
usage of an RTL flag in ImmutableViewportMetrics.offsetViewportByAndClamp,
but I think the two branches are equivalent, so the RTL flag is not needed
there either.
2016-09-14 12:43:35 -04:00
Eddy Bruel 9f0a0cfe9f Bug 1271650 - Implement a C++ interface for DebuggerFrame.onStep. 2016-09-14 18:23:12 +02:00
Michael Layzell 5980e6a33e Bug 1302275 - Add a way to track Constellations (Units of related similar origin browsing contexts) to nsGlobalWindow, r=billm
MozReview-Commit-ID: AjbVZHEL9WZ
2016-09-14 12:22:40 -04:00
Eddy Bruel 9b9679672a Bug 1271650 - Factor our processParsedResumptionValue(Helper). 2016-09-14 18:22:03 +02:00
Eddy Bruel dd1f6a2fdc Bug 1271650 - Remove processResumptionValueHelper. r=jimb 2016-09-14 18:19:46 +02:00
Nathan Froyd 5f3f5ad1d7 Bug 1296746 - followup - fix silly typo; r=bustage 2016-09-14 19:53:59 -04:00
Nathan Froyd bb7f2dc621 Bug 1296746 - explicitly ignore the result of Send{Observe,Unobserve}Vsync in CompositorWidgetParent; r=jimm 2016-09-14 19:28:26 -04:00
Nathan Froyd 16ae3f9d1e Bug 1298134 - fix member initialization order in VRDisplayOculus; r=kip 2016-09-14 19:28:26 -04:00
Nathan Froyd 07545fef15 Bug 1298132 - remove unused variables in gfxVROculus.cpp; r=kip 2016-09-14 19:28:26 -04:00
Nathan Froyd ca183ff3cd Bug 1298149 - explicitly ignore the result of SendUpdateWindow in ContentParent::SendAsyncUpdate; r=baku
This change doesn't modify the behavior of the code, but it does silence
a clang-cl warning.
2016-09-14 19:28:26 -04:00
Nathan Froyd e5a612a8f0 Bug 1298151 - fix member initialization order in platform-win32.cc; r=BenWa 2016-09-14 19:28:26 -04:00
Florian Quèze f720fc6c2a Bug 1302744 - Fix reference to toolbar-lunaSilver.png from chrome://pocket/skin/pocket.css, r=Gijs. 2016-09-14 17:26:59 +02:00
Florian Quèze 8f1719e3c7 Bug 1302738 - remove reference to console.png from the Linux browser.css, r=Gijs. 2016-09-14 17:26:38 +02:00
Florian Quèze 1712662b7f Bug 1302725 - plugin-doorhanger.inc.css references alerticon-info-negative.png which has been changed to SVG, r=dao. 2016-09-14 17:26:11 +02:00
Carsten "Tomcat" Book 0f735de664 Merge mozilla-central to fx-team 2016-09-14 15:44:25 +02:00
Carsten "Tomcat" Book 515bca4fca merge mozilla-inbound to mozilla-central a=merge 2016-09-14 15:41:48 +02:00
Carsten "Tomcat" Book 73a127f3e1 Backed out changeset 8d59556d361f (bug 1281341) for dt8 crashes 2016-09-14 15:36:30 +02:00
Carsten "Tomcat" Book d63d14dfed Backed out changeset fc9963bf6d98 (bug 1301621) for xpcshell bustage 2016-09-14 12:28:50 +02:00
James Graham e2e577306d Bug 1302673 - Encrypted media tests also seem to be unstable on OSX, a=testonly
MozReview-Commit-ID: BUee8ZFWL2D
2016-09-14 11:22:36 +01:00
Carsten "Tomcat" Book 6520e60ddb Merge mozilla-central to autoland 2016-09-14 12:17:20 +02:00
Carsten "Tomcat" Book 395241c288 Merge mozilla-central to fx-team 2016-09-14 12:13:41 +02:00
Carsten "Tomcat" Book 9a2448ee1c Merge mozilla-central to mozilla-inbound 2016-09-14 12:11:09 +02:00
Carsten "Tomcat" Book d2c3fe7fd3 merge autoland to mozilla-central a=merge 2016-09-14 12:07:02 +02:00