Commit Graph

17372 Commits

Author SHA1 Message Date
Michael Comella
ac4a94744f Bug 1150742 - Remove new_tablet from tab_new_dark. r=mhaigh 2015-08-12 14:04:09 -07:00
Michael Comella
adb5740dcd Bug 1150742 - Remove new from tablet_menu. r=mhaigh 2015-08-11 17:37:41 -07:00
Michael Comella
2b211f0964 Bug 1150742 - Remove new_tablet from tab_item_close_button. r=mhaigh 2015-08-11 17:34:25 -07:00
Michael Comella
8a00791184 Bug 1150742 - Remove new from tablet_tab_close. r=mhaigh
tablet_* is not ideal but there is a collision between phone and tablet assets
so I filed bug 1193585 to complete this process.
2015-08-11 17:33:05 -07:00
Michael Comella
50c718f016 Bug 1150742 - Remove new_tablet from url_bar_nav_button. r=mhaigh 2015-08-11 17:24:44 -07:00
Michael Comella
d284cf593a Bug 1150742 - Remove new_tablet from tab_strip_button. r=mhaigh
Also removed the drawable/ null reference because it was unneeded.
2015-08-11 17:11:43 -07:00
Michael Comella
b848e4075c Bug 1150742 - Remove new_tablet from tabs_panel_back_button. r=mhaigh 2015-08-11 17:07:09 -07:00
Michael Comella
487fff99ad Bug 1150742 - Rename new_tablet_nav_back -> tabs_panel_nav_back. r=mhaigh 2015-08-11 17:04:07 -07:00
Michael Comella
ce96c1e594 Bug 1150742 - Remove new_tablet from ic_menu_reload. r=mhaigh
Similar deal to the previous two changesets on back and forward.
2015-08-11 16:40:10 -07:00
Michael Comella
cc4a7cc1a4 Bug 1150742 - Remove new_tablet_ from ic_menu_back. r=mhaigh
Similar deal to the previous commit on ic_menu_forward.
2015-08-11 16:35:49 -07:00
Michael Comella
3a834de188 Bug 1150742 - Move new_tablet_ic_menu_forward -> ic_menu_forward. r=mhaigh
This involved removing drawable-large-v11/ic_menu_forward.xml, which
was a null reference presumably there to save memory when the
browser_app menu loaded the forward menu item. Also, the
new_tablet_ic_menu_forward null reference for API 9 builds was
removed.
2015-08-11 16:32:22 -07:00
Michael Comella
25272d4742 Bug 1150742 - Move once-used forward button style to use in layout. r=mhaigh
When styles are only used once, there is no need to clutter up the
styles files for them.
2015-08-11 16:29:25 -07:00
Michael Comella
40e3626950 Bug 1150742 - Add note in layout.xml explaining what the @null references are. r=mhaigh
We could do this in many more places, but this is a start.
2015-08-06 17:33:13 -07:00
Michael Comella
d3e4b9a7f7 Bug 1150742 - Remove new_tablet prefix from color resources. r=mhaigh 2015-08-06 17:23:10 -07:00
Michael Comella
f4c04cf0ff Bug 1150742 - new_tablet_tabs_counter -> tabs_counter. r=mhaigh
This shadows the non-large config.
2015-08-06 17:14:51 -07:00
Michael Comella
c1844fb76e Bug 1150742 - Rename new_tablet_tabs_count_foreground -> tab_count_foreground. r=mhaigh
The new name shadows the non-large config.
2015-08-06 17:08:11 -07:00
Michael Comella
0ebdf892d4 Bug 1150742 - Rename new_tablet_tabs_counter -> tabs_counter. r=mhaigh 2015-08-06 17:04:57 -07:00
Michael Comella
4f8c639c1a Bug 1150742 - Removed unused new_tablet_tab_close. r=mhaigh
There were some of these in the drawable-large-* directories and this file is
only used in large+ configs, so it is unused.
2015-08-06 16:58:02 -07:00
Michael Comella
8e08f0d07e Bug 1150742 - Move new_tablet_action_bar_button -> browser_toolbar_action_bar_button. r=mhaigh
drawable/action_bar_button is used on tablets in some layouts
(e.g. tab_history_item_row) so we can't shadow it in
drawable-large-.../action_bar_button.
2015-08-06 16:54:55 -07:00
Michael Comella
fbb12ba7cc Bug 1193580 - Backout changeset 1c1d97b563f410d571e4925dab3f53fcae6c5272.
This is temporary and only to easy the landing of bug 1150742.
2015-08-13 10:27:24 -07:00
Martyn Haigh
1e925ba620 Bug 1194199 - Enable Tab Queue on Aurora; r=sebastian 2015-08-13 14:31:10 +01:00
Ryan VanderMeulen
25fb19452f Merge m-c to fx-team. a=merge
CLOSED TREE
2015-08-13 11:19:59 -04:00
Ryan VanderMeulen
a9edb1d72e Merge fx-team to m-c. a=merge 2015-08-13 11:00:54 -04:00
Jim Chen
762de3b81a Bug 1192082 - Iniialize/deinitialize JNI in nsAppShell; r=snorp
First we need to set the Gecko thread JNIEnv* in nsAndroidStartup, but
after that we can initialize and deinitialize the rest of JNI, including
AndroidBridge, in GeckoAppShell. This makes nsAppShell control the
AndroidBridge lifetime. Over time, parts of the AndroidBridge
functionality will be migrated to nsAppShell.
2015-08-13 00:53:40 -04:00
Jim Chen
171ddb4e4a Bug 1192082 - Expose AndroidBridge arguments through GeckoThread; r=snorp
AndroidBridge needed some arguments during its initialization. We'll
provide those arguments in GeckoThread, which AndroidBridge will access.
2015-08-13 00:53:39 -04:00
Jim Chen
9f3701ed76 Bug 1192082 - Get rid of GeckoAppShell.nativeInit; r=snorp
Instead of letting AndroidBridge be constructed separately, we'll let
Gecko construct AndroidBridge.
2015-08-13 00:53:39 -04:00
Jim Chen
f9b719335b Bug 1192082 - Expose GeckoThread states to C++; r=me 2015-08-13 00:53:39 -04:00
Jim Chen
ef8b0d7d2a Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04:00
Jim Chen
651217b048 Bug 1189995 - Move GeckoAppShell.pumpMessageLoop to GeckoThread; r=esawin
This method is used by Gecko to pump the Android message loop, and it's
also more suited to GeckoThread than GeckoAppShell.
2015-08-13 00:53:39 -04:00
Jim Chen
714eee1cc6 Bug 1189995 - Move GeckoAppShell.runGecko to GeckoThread; r=esawin
GeckoAppShell.runGecko really should be in GeckoThread because
GeckoThread already takes care of most of the preparation when running
Gecko. This patch merges runGecko into GeckoThread.run, but split the
argument-building code into its own method.
2015-08-13 00:53:39 -04:00
Jim Chen
1dd8ceda62 Bug 1191083 - Merge pending events handling into mechanism for queued native calls: r=snorp
Right now we have a separate way of handling pending events before Gecko
is loaded. We can merge that into the new mechanism for queuing native
calls.
2015-08-13 00:53:38 -04:00
Jim Chen
99feb0a656 Bug 1191083 - Add mechanism to queue native calls in GeckoThread; r=snorp
We cannot call native methods until Gecko is loaded. This patch adds a
mechanism in GeckoThread so that other code can queue up native method
calls and have those calls automatically delivered when Gecko is ready.
2015-08-13 00:53:38 -04:00
Jim Chen
613e92e4f5 Bug 1191083 - Implement more GeckoThread states; r=snorp
Implement the MOZGLUE_READY and JNI_READY states in GeckoThread. Also
change GeckoJavaSampler to use the new states instead of a separate
flag.
2015-08-13 00:53:38 -04:00
Jim Chen
e0d8148b03 Bug 1191083 - Rename and expand GeckoThread.LaunchState; r=snorp
GeckoThread.LaunchState now covers the entire GeckoThread lifetime and
not just launch, so it's renamed to GeckoThread.State. More utility
methods are added to check for the current state.
2015-08-13 00:53:38 -04:00
Jim Chen
ff5d4b214d Bug 1191161 - Followup to fix wrong annotation classpath; r=nalexander
Because we switched annoations from gecko-mozglue.jar to constants.jar,
we should update the corresponding classpaths when processing
annotations during code autogeneration.

gecko-mozglue.jar is still needed during the javah step because
gecko-browser.jar has a dependency on
org.mozilla.gecko.mozglue.JNIObject.
2015-08-13 00:53:38 -04:00
Nick Alexander
af1552a1e9 Bug 1160563 - Part 2: Make ANDROID_ASSETS_DIRS a moz.build variable. r=gps
We have had singular ANDROID_ASSETS_DIR in Makefile.in for a while.
Fennec itself does not use the existing Makefile.in Android code, for
complicated historical reasons.

This makes the existing variable moz.build-only; generalizes the
existing variable to an ordered list; and adds the equivalent use of
the new list to the Fennec build, with a simple example asset.

This patch also updates the packager to include assets packed into the
gecko.ap_.  Without the packager change, the assets/ directory in the
ap_ gets left out of the final apk.  This whole approach is totally
non-standard but is more or less required to support our single-locale
repack scheme.
2015-08-12 11:04:03 -07:00
Nick Alexander
295c6a8b90 Bug 1160563 - Part 1: Make ANDROID_RES_DIRS a moz.build variable. r=gps
This patch does a few things.  First, it adds an AbsolutePath data
type, sibling to SourcePath and ObjDirPath.  (Existing Path consumers
that accept an open set of Path subtypes, and that only use full_path,
should function fine with the new AbsolutePath subtype.)

Second, it moves ANDROID_RES_DIRS to a moz.build list of Paths
(ordered).  We test, but don't use in tree, the new AbsolutePath.
2015-08-12 11:03:44 -07:00
Wes Kocher
3d38e5b63a Merge inbound to central, a=merge 2015-08-12 15:16:16 -07:00
Michael Comella
5d6f4af5fb Bug 1193580 - Losslessly compress png assets. r=liuche 2015-08-11 16:52:38 -07:00
Nick Alexander
069f7fd0d5 Bug 1192004 - Enable Firefox Account avatars in Fennec release builds. r=margaret 2015-08-10 11:07:29 -07:00
Ryan VanderMeulen
a712518025 Merge inbound to m-c. a=merge 2015-08-12 10:47:17 -04:00
Sebastian Kaspari
049c40427f Bug 1192346 - RestrictedProfiles: If no GeckoInterface instance is available, try to get GeckoProfile from context. r=mhaigh 2015-08-11 16:12:31 +02:00
Giovanny Andres Gongora Granada
819cb4b22a Bug 1191037 - Remove doorhanger_trackingprotection from resources. r=liuche 2015-08-11 17:34:54 -07:00
Chenxia Liu
2044f16812 Bug 1162930 - Update Firstrun background image to fix scrolling/measure problems. r=mhaigh 2015-07-30 17:32:00 -07:00
Chenxia Liu
912440ce23 Backout part 1 of bug 1162930 for wrong resource. r=bustage 2015-08-11 17:19:46 -07:00
Chenxia Liu
e163dcc18f Bug 1162930 - Remove mdpi from branding/. r=mhaigh 2015-07-30 17:56:40 -07:00
Chenxia Liu
bb20716798 Bug 1162930 - Update Firstrun background image to fix scrolling/measure problems. r=mhaigh 2015-07-30 17:32:00 -07:00
Michael Comella
20e5907df4 Bug 1189957 - review: Add comment describing callback parameter parameters in openNoHandler. r=me 2015-08-11 15:59:58 -07:00
Michael Comella
3aa569915c Bug 1189957 - Open noHandler results in the context they were loaded in. r=margaret
Before we loaded the url into the open tab - this approach is more correct. I
verified it fixed the issues on the Delta website mentioned in this bug.
2015-08-07 16:19:23 -07:00
Michael Comella
7fe4f4d28a Bug 1190968 - Update Wikipedia search asset. r=margaret 2015-08-07 16:51:21 -07:00
Jan-Ivar Bruaroey
267aea07ec Bug 1189060 - let webrtcUI.jsm etc. block initial Offer/Answer exchange through hook. r=florian,fabrice,mfinkle,mt 2015-08-07 15:22:30 -04:00
Sebastian Kaspari
8cad122893 Bug 1183068 - TopSitesCursorWrapper: Add new interface method setExtras(Bundle). r=mhaigh 2015-08-11 11:54:38 +02:00
Sebastian Kaspari
138cf5e335 Bug 1169435 - Replace deprecated Resources.getColor() with call to ColorUtils.getColor(). r=mcomella 2015-08-11 11:09:37 +02:00
Sebastian Kaspari
57a055fae6 Bug 1164287 - Theme v21: Base ActionBar.FxAccountStatusActivity and ActionBar.GeckoPreferences on Material ActionBar. r=mhaigh 2015-08-11 10:39:56 +02:00
Sebastian Kaspari
45343af64e Bug 1192814 - PanelRecyclerView: Create context menu for header. r=jonalmeida 2015-08-11 10:22:39 +02:00
Sebastian Kaspari
7355e4bbc4 Bug 1192780 - panel_item_container: Remove unnecessary view for click highlighting. r=jonalmeida 2015-08-11 10:16:35 +02:00
Michael Comella
09da3086b2 Bug 1177611 - Move non-private browsing indicator to static drawables. r=mhaigh
This is not strictly necessary, but is a step towards removing the
tab_indicator_selected*.png assets (bug 1192048).
2015-08-06 15:31:00 -07:00
Michael Comella
fc98978b72 Bug 1177611 - Set tabs panel indicator to purple when private. r=mhaigh 2015-08-06 15:23:28 -07:00
Michael Comella
e04334752a Bug 1177611 - Copy tabs_panel_indicator -> tabs_strip_indicator. r=mhaigh
The next commits will modify tabs_panel_indicator so that unrelated views will
change.
2015-08-06 15:10:58 -07:00
Michael Comella
ca1d7cfa9b Bug 1177611 - Update tabs tray pressed pb color. r=mhaigh 2015-07-28 16:49:42 -07:00
Michael Comella
b4c0c204bf Bug 1177611 - Change private browsing thumbnail highlight to @color/private_browsing_purple. r=mhaigh 2015-07-24 17:00:40 -07:00
Mark Capella
286196be2d Bug 1191872 - Move annotations to org.mozilla.gecko.annotation package, r=jchen 2015-08-10 19:19:51 -04:00
Michael Comella
7e99c1f77a Bug 1179479 - Set the 3-dot menu MenuItemActionBar colors. r=mhaigh
The tint for disabled icons broke when I made setEnabled no longer use a
colorFilter to change the color of a disabled view.
2015-08-05 15:38:57 -07:00
Michael Comella
1fe59ced66 Bug 1179479 - Tint menuItemActionBar buttons via tint list. r=mhaigh
Note that this undoes a small change I made previously in this series to set
the color of the action bar icons via setColorFilter.
2015-08-05 15:13:38 -07:00
Michael Comella
99580d9e7f Bug 1179479 - Invalidate Themed* after refreshing drawable state. r=mhaigh
afaict, refreshDrawableState only sets the appropriate back-end bits to change
the state but does not request a redraw. For example, refreshDrawableState
eventually calls Drawable.setState, whose docs specify:

  If the new state you are supplying causes the appearance of the
  Drawable to change, then it is responsible for calling invalidateSelf
  in order to have itself redrawn, and true will be returned from
  this function.

Notably, there are no other calls to invalidate in the call hierarchy so I
added one.

The reason this (sometimes) worked before is because the views would be
invalidated in some other way, e.g. setDrawable would be called.

Without this patch, the next patch would update the reload menu icon on press
(i.e. another invalidate call) but not when the tab was switched from
non-private to private.
2015-08-05 14:17:49 -07:00
Michael Comella
b778f9a58f Bug 1179479 - Set search icon to tabs icon grey when in private mode. r=mhaigh 2015-07-30 19:18:29 -07:00
Michael Comella
f44c3127fa Bug 1179479 - Correct color of url bar text in private mode. r=mhaigh 2015-07-30 19:07:00 -07:00
Michael Comella
2ff72edec6 Bug 1179479 - Set tablet private browsing hit area to spec. r=mhaigh 2015-07-23 17:13:35 -07:00
Michael Comella
8dd9c62dc2 Bug 1179479 - Tint color of easy-to-do tablet toolbar icons. r=mhaigh
This first patch is intentionally simple and incomplete. Still TODO:
* Bookmarks icon (on xlarge tablets)
* Magnifying glass in the browser toolbar
* Hit areas
2015-07-23 15:18:23 -07:00
Michael Comella
4ccc76489a Bug 1192044 - Remove shadowed xlarge browser_toolbar_height. r=mhaigh
It's declared to be the same value in the large configuration so the xlarge
should be redundant (and a potential source of confusion).
2015-08-06 15:35:39 -07:00
Wes Kocher
8de53715a3 Merge m-c to fx-team, a=merge CLOSED TREE 2015-08-10 15:03:13 -07:00
Wes Kocher
56f8b1ac07 Merge b2ginbound to central, a=merge CLOSED TREE 2015-08-10 14:58:41 -07:00
Wes Kocher
9325b0b9ac Merge fx-team to central, a=merge
CLOSED TREE
2015-08-10 14:50:01 -07:00
ffxbld
e634dfaf18 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-08-10 12:20:42 -07:00
Giovanny Andres Gongora Granada
335652dab6 Bug 1188984 - Remove 'public' and 'static' keywords from nested interfaces and enums in TabPanel. r=sebastian 2015-08-06 23:44:00 -04:00
Reuben Morais
a62d29bff6 Bug 1192102 - Remove unused file embedded/android/GeckoSmsManager.java. r=blassey
IGNORE IDL
2015-08-06 18:59:00 -04:00
Martyn Haigh
4c4f824946 Bug 1179758 - Missing icon for 'Add to reading list' button under custom menu; r=mcomella 2015-08-10 14:36:27 +01:00
Martyn Haigh
f033597d46 Bug 1191333 - Replace hardcoded Firefox with short brand name variable; r=liuche 2015-08-05 15:50:07 +01:00
Ryan VanderMeulen
4c77a9a034 Merge m-c to fx-team. a=merge 2015-08-10 09:46:20 -04:00
Alexandre Poirot
3217636246 Bug 1190452 - Always import toolkit/devtools/server/main.js as CommonJS module. r=jryans 2015-08-10 05:38:56 -07:00
Sebastian Kaspari
5c41eec7d8 Bug 1184190 - Send RESTRICTED startup action when restricted profile is used. r=mfinkle 2015-08-09 19:58:43 +02:00
Jonathan Almeida [:jonalmeida]
4d8e087973 Bug 1038996 - Don't prepopulate the address bar with 'about:home', and 'about:privatebrowsing' on new tabs; they should be a placeholder. r=mcomella 2015-08-03 23:36:18 -07:00
younghwan.ji
1c0ecbe031 Bug 1175430 - Expose Network-Specific Error Cause for Various Error Handling in App Layer. r=btseng 2015-08-10 10:08:23 +09:00
Sebastian Kaspari
9b0778eab2 Bug 1139672 - Home panels: Update default order. r=margaret 2015-08-03 15:29:37 +02:00
Allison Naaktgeboren
f5a3e71c1f Bug 1125280 Part 2- Different suggestedsite tiles on first run for kidfox.r=sebastian 2015-08-07 21:41:32 -07:00
Allison Naaktgeboren
67c0deb9e5 Bug 1125280 Part 1 build- Different suggestedsite tiles on first run for kidfox.r=gps 2015-08-07 21:40:41 -07:00
Martyn Haigh
30839f2c54 Bug 1177612 - Contextual hint first time we show the tracking protection shield. r=margaret 2015-08-05 15:15:46 +01:00
Chenxia Liu
cfc192966d Bug 1192446 - Use &brandName in Kidfox firstrun. r=mcomella 2015-08-07 16:49:31 -07:00
Chenxia Liu
72cec5fc12 Bug 1192072 - Change copy in Settings for Tracking Protection. r=mcomella 2015-08-07 15:50:34 -07:00
Chenxia Liu
63cdb9e299 Bug 1188699 - Remove unused code for temporarily overriding Active Mixed Content blocking. r=nalexander 2015-08-06 18:34:07 -07:00
Michael Comella
3f7454017c Bug 1191580 - Capitalize "Private Browsing" in about:privatebrowsing on non-private tabs. r=mfinkle 2015-08-07 14:05:55 -07:00
Chenxia Liu
dd8509e995 Bug 1192288 - Change copy in disabled doorhanger for TP. r=mcomella 2015-08-07 12:34:17 -07:00
Sebastian Kaspari
e500034a58 Bug 1191208 - Custom first-run screen for restricted profiles. r=margaret 2015-08-07 21:01:00 +02:00
Nick Alexander
ffe6580be2 Bug 1175457 - Only dismiss super toasts at the start of tap actions. r=rnewman 2015-08-06 12:02:20 -07:00
Sebastian Kaspari
0edb74fa33 Bug 1189680 - Restricted profile: Finalize title strings and remove descriptions. r=margaret 2015-08-07 18:32:01 +02:00
Phil Ringnalda
db89bf17fd Merge m-c to m-i 2015-08-09 16:39:03 -07:00
Jordan Lund
a1a923b872 Bug 1186522 - remove requirement of signed add-ons for beta builds, r=mossop 2015-08-09 16:04:06 -07:00
Carsten "Tomcat" Book
05d8bcb28a Merge mozilla-central to fx-team 2015-08-07 13:21:30 +02:00
Carsten "Tomcat" Book
ddb5a8de59 merge mozilla-inbound to mozilla-central a=merge 2015-08-07 13:13:06 +02:00
Chenxia Liu
501059aa10 Bug 1185173 - Update toolbar icons for passive mixed content. r=margaret 2015-08-05 18:26:12 -07:00