Commit Graph

3841 Commits

Author SHA1 Message Date
L. David Baron
ccea090ef4 Implement computation of font size inflation for improved readibility of text on mobile devices. (Bug 627842, patch 4) r=roc
This implements computation of the font size inflation factor for a
given frame.  Since Fennec does layout using a fake viewport whose width
represents a typical viewport width on the desktop and then allows users
to pan and zoom, fonts are not always readable even when zoomed.  The
goal of this font size inflation is to ensure that when a block of text
is zoomed to fill the width of the device, the fonts are large enough to
read.  We do this by increasing the font sizes in the page.  Since this
increase is a function of the width of the text's container, the
inflation must be performed (in later patches in this series) after
style data computation and after intrinsic width computation.

The font size inflation factor does not vary *within* a block.

Since sync uses a whitelist (the services.sync.prefs.sync.* prefs) for
preferences (i.e., preferences are not synced by default), this patch
does not make any changes relating to sync, since we do not want the
inflation preferences synced across devices (since preferred settings
are likely to be device-specific).
2011-11-15 17:02:00 +13:00
Michael Wu
34d5f356e4 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Matt Brubeck
89e46f879a Back out 150b57fca97c, 22f16ec4052a, 03c53ee42fc9
* * *
Back out 03c53ee42fc9 on suspicion of causing talos failures
2011-11-09 16:06:20 -08:00
Matt Brubeck
ee7ce683e7 Bug 700495 - [birch] Use ES5 strict mode in browser.js [r=wesj] 2011-11-07 17:10:59 -08:00
Wes Johnston
590de5a3a0 Bug 700153 - Allow opening tabs in the background. r=mfinkle 2011-11-08 12:49:25 -08:00
Margaret Leibovic
4ccd2b5e01 Bug 688082 - Implement "You've entered full-screen" warning for Fennec. r=mfinkle 2011-11-08 10:36:06 -08:00
Margaret Leibovic
438adeb057 Bug 698836 - Add full screen mode. r=blassey 2011-11-08 10:36:04 -08:00
Doug Turner
9d4fd110ef backing out the backout of the landing of the patrick patch queue. lets try this again in the morning with fresh eyes and fresh coffee 2011-11-07 23:54:21 -08:00
Doug Turner
b9688a7a56 Backing out disable text selection. r=mfinkle 2011-11-07 22:05:19 -08:00
Doug Turner
9d8ca225ea imported patch a 2011-11-07 21:53:40 -08:00
Doug Turner
557fa00813 Removing use strict from a hosed merge 2011-11-07 20:54:50 -08:00
Doug Turner
b46764aeec Backing out backout 6cb39cb201d0 2011-11-07 20:54:31 -08:00
Matt Brubeck
17fb22a6ec Bug 700542 - Backed out changeset 91bedac30ac3 (bug 700495) because of startup failure 2011-11-07 20:12:32 -08:00
Matt Brubeck
6ec83087c3 Bug 700495 - [birch] Use ES5 strict mode in browser.js [r=wesj] 2011-11-07 17:10:59 -08:00
Patrick Walton
1de0fce051 Fix botched backout. no bug, r=mfinkle 2011-11-07 17:33:39 -08:00
Matt Brubeck
188f9d33c4 Bug 700495 - [birch] Use ES5 strict mode in browser.js [r=wesj] 2011-11-07 17:10:59 -08:00
Patrick Walton
b97a946207 Back out birch-pan-zoom patch queue due to crashes on mochitests. no bug, r=mfinkle 2011-11-07 17:04:44 -08:00
Patrick Walton
21c4591a21 imported patch 1111-disable-selection 2011-11-07 14:17:01 -08:00
Patrick Walton
0022f978d8 Fake display port hack 2011-11-07 14:17:00 -08:00
Patrick Walton
bde2ae2410 * * *
try: -b do -p linux-android -u none -t none
2011-11-07 14:15:58 -08:00
Wes Johnston
546e06e313 Bug 700323 - Fire change event when select changes. r=mfinkle 2011-11-07 11:43:33 -08:00
Doug Turner
6cda9cb5f1 Merge 2011-11-07 10:20:27 -08:00
Wes Johnston
742be55e21 Bug 699667 - Allow context menus on html media elements. r=mfinkle 2011-11-07 09:00:52 -08:00
Joel Maher
d8af5ad3b4 Bug 693524 - Intermittent mobile/chrome/tests/browser_awesomescreen.js. r=mfinkle 2011-11-05 21:52:34 -04:00
Ed Morley
efc6f1f14e Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Dave Miller
3be6c46486 Bug 693891 - Make "Add to Home Screen" use the Bookmark title instead of the page title, to allow you to name the shortcut whatever you want. r=mfinkle 2011-11-05 10:52:24 +00:00
Matheus Kerschbaum
4813247daf Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Marco Castelluccio
82ce8df065 Bug 539997 - Remove nsTryToClose.js from Firefox; r=mfinkle 2011-11-05 10:17:02 +00:00
Brad Lassey
20d209feab bug 699442 - implement quit r=dougt 2011-11-03 22:06:32 -04:00
Doug Turner
4a3bc4cd6c Merge 2011-11-04 10:46:58 -07:00
Gian-Carlo Pascutto
a88445b8e0 Bug 697110 - Support doorhangers for popup blocking. r=mfinkle 2011-11-04 07:54:47 +01:00
Makoto Kato
155725b729 Bug 699009 - Remove MOZ_USE_NATIVE_UCONV. r=smontagu 2011-11-04 11:59:04 +09:00
Julien Vermet
30c84fe75f Bug 695477 - Use an indicator in toolbar to reflect security state [r=mfinkle, r=sriram] 2011-11-03 18:53:34 -04:00
Wes Johnston
ce9b9cf70c Bug 698452 - Show an empty row when focusing empty select elements. r=mfinkle 2011-11-03 15:19:58 -07:00
Wes Johnston
23c15d7e52 Bug 696846 - Basic context menu support. r=mfinkle 2011-11-03 15:09:37 -07:00
Sriram Ramasubramanian
0dc2161700 Bug 699322: Making sure document load starts after a message is sent to Java [r=mfinkle] 2011-11-02 21:27:57 -07:00
Kartikaya Gupta
e2579eb31c Bug 695569 - Adjust transparency for scroll indicators [r=mfinkle]
Copy the scroll indicator styling from the default Android
browser.css to the gingerbread and honeycomb themes as well,
so that they all look the same and have some transparency.
2011-11-02 15:59:36 -04:00
Gian-Carlo Pascutto
b5930981e8 Bug 697087 - Multiple notifications content permission prompt. r=mfinkle 2011-11-01 21:26:11 +01:00
Gian-Carlo Pascutto
361d2bc716 Bug 697549 - Don't increase loop counter with application lifetime. r=mfinkle 2011-11-01 21:02:56 +01:00
Gian-Carlo Pascutto
1a9b969210 Bug 697549 - Use NativeWindow.doorhanger in ContentPermissionPrompt.js. r=mfinkle 2011-11-01 21:02:24 +01:00
Kartikaya Gupta
652bd82477 Bug 695569 - Prevent runaway kinetic scrolling [r=Cwiiis]
The kinetic scroll behaviour keeps trying to scroll the page
until the "momentum" from the kinetic scroll runs out. This
happens even if the content has reached the edge and cannot
scroll any further. This results in the scroll indicators
remaining visible even though there is no scrolling apparent
to the user. This patch stops this behaviour.
2011-10-31 16:27:29 -04:00
Kartikaya Gupta
772f640431 Bug 695569 - Strip unnecessary CSS styles [r=mfinkle]
Remove CSS styles that aren't needed as part of the native UI
Fennec, but are still present in CSS files that are included
in the build.
2011-10-31 16:25:33 -04:00
Kartikaya Gupta
7dc0adee5e Bug 695569 - Add scroll indicators for web content [r=mfinkle]
Add horizontal and vertical scrollbars that appear while
the user is scrolling the top-level content. They disappear
once scrolling has ceased.
2011-10-31 16:25:21 -04:00
Brad Lassey
686df8648f about:dougt r=mfinkle 2011-10-31 15:34:02 -04:00
Oleg Romashin
9f2f0b8068 Bug 702823 - Don't drop layers tree for last active tab on taskswitcher event and inactive state. r=mbrubeck 2011-11-17 15:52:04 -08:00
Kartikaya Gupta
697358bfb6 Bug 695165 - Rename events for consistency [r=mfinkle]
Rename session-* events to Session:* for consistency with
the other event names.
2011-10-31 11:02:34 -04:00
Kartikaya Gupta
e707191418 Bug 695165 - Implement plumbing for Forward [r=mfinkle]
Put in support for the "Forward" feature; it can be invoked
by calling doForward() on a Tab. Not yet hooked up to any
UI elements, pending UX decisions.
2011-10-31 11:02:34 -04:00
Kartikaya Gupta
c098c1f428 Bug 697732 - Keep Java history state in sync with Gecko [r=mfinkle]
Add a session history listener to gecko so that session navigation
events can be listened for. This allows us to detect when javascript
code calls history.back() and related functions, and updates the
history state on the Java side accordingly.
2011-10-31 11:02:20 -04:00
Sriram Ramasubramanian
cc0df87b4e Bug 698042: Spinner style progress bar for browser toolbar (part 3) [r=mfinkle] 2011-10-28 14:35:40 -07:00
Wes Johnston
37bd7a5acd Bug 696512 - Detect elements near taps to click on. r=mbrubeck 2011-10-28 17:10:31 -07:00
Wes Johnston
6e820595c5 Bug 695485 - Native UI for select elements. r=mfinkle 2011-10-28 11:49:19 -07:00
Doug Turner
46ab5ad03a merge 2011-10-28 11:46:10 -07:00
Oleg Romashin
ffe51068a0 Bug 692479 - Implement screenshoot based fast startup on Maemo Harmattan. r=dougt 2011-10-28 08:13:57 -04:00
Felix Fung
58e0806891 Bug 697856 - Removed Unused Function Definitions in nsFaviconService.h; r=mak 2011-10-27 18:12:30 -07:00
Nick Hurley
1363e11357 Bug 645848 - Enable disk cache in fennec. r=dougt 2011-11-03 12:37:43 -04:00
Mounir Lamouri
2c0789a879 Bug 678694 - (3/7) Plug mozBattery into navigator object. r=sicking 2011-11-02 13:04:39 +01:00
Marco Bonardo
a9a0608213 Merge mozilla-central to mozilla-inbound 2011-11-03 10:46:56 +01:00
Philipp von Weitershausen
d69fb6bf5a Merge services-central with mozilla-central 2011-11-02 15:00:49 -07:00
Allison Naaktgeboren
68f91d7fee Bug 699216 - progress bar is showing up if user goes to manual setup after progress bar loads. r=philikon CLOSED TREE 2011-11-02 14:09:44 -07:00
Allison Naaktgeboren
313727d465 Bug 698801 - Follow-up: change indeterminate progress bar message on mobile to more clearly indicate that setup is not finished. r=philikon 2011-11-01 12:01:49 -07:00
Philipp von Weitershausen
03290d8def Merge m-c to s-c 2011-10-31 01:54:35 -07:00
Brian Smith
b50e0e6eef Bug 686248: Add isExtendedValidation to nsISSLStatus so it can be used by mobile, r=meyhemer
--HG--
extra : rebase_source : 6d21f2fdc3cb587874662cc23f84503e63b95ed1
2011-10-30 11:43:06 -07:00
Matt Brubeck
45a313f752 Bug 697975 - Don't show the first-run animation in tablet mode [r=mfinkle] 2011-10-29 15:05:39 -07:00
Philipp von Weitershausen
d16c0424f8 Merge m-c to s-c 2011-10-26 19:08:26 -07:00
Philipp von Weitershausen
75ee564507 Bug 624028 - Part 3: Add "Pair a Device" to Sync prefs. r=mfinkle 2011-10-26 16:21:21 -07:00
Philipp von Weitershausen
0ffffd3c94 Bug 624028 - Part 2: Add "Pair a Device" link to the home page. r=mfinkle 2011-10-26 16:21:20 -07:00
Philipp von Weitershausen
21d40144f5 Bug 624028 - Part 1: Implement "Pair a Device" dialog. r=rnewman 2011-10-26 16:21:20 -07:00
Allison Naaktgeboren
e3707eef19 Bug 675824 - End mobile setup wizard with first sync download status/progress bar. r=philikon 2011-10-26 10:40:45 -07:00
Matt Brubeck
d3ad3ce650 Bug 691541 - Hack to ensure sidebars are hidden properly during startup [r=mfinkle] 2011-10-24 15:45:16 -07:00
Justin Lebar
6fee0be50a Bug 687710 - Restoring a session with parent-child cycles shouldn't cause a hang. r=mfinkle,zpao 2011-11-01 18:18:23 -04:00
Matt Brubeck
45643b28dc Merge last green changeset from inbound to mozilla-central 2011-10-31 11:10:13 -07:00
Joel Maher
46ab420c18 Bug 698387 - disable orange browser-chrome tests since we are not fixing them [hotfix]. r=Ms2ger 2011-10-31 09:18:03 -04:00
Joel Maher
37ea38c7b7 Last Comment Bug 698387 - disable orange browser-chrome tests since we are not fixing them. r=mfinkle 2011-10-31 08:37:00 -04:00
Mark Finkle
f625da9b51 Bug 697720 - Add 'Clear private data' preference [r=blassey] 2011-10-28 00:55:15 -04:00
Mark Finkle
c7eaac8078 Bug 697144 - Unable to interact with aboutCertError [r=mbrubeck] 2011-10-28 00:55:12 -04:00
Matt Brubeck
badbfaa430 Bug 697529 - [birch] Open new tabs for links from external apps [r=mfinkle] 2011-10-27 17:25:34 -07:00
Matt Brubeck
9fcf0aa9f4 Bug 696203 - [birch] Remove unused/broken mobile XPCOM components [r=mfinkle,dougt] 2011-10-27 15:20:13 -07:00
Mark Finkle
ed48b7285f Bug 695446 - Password manager/Form Fill [r=mbrubeck] 2011-10-27 00:29:46 -04:00
Kartikaya Gupta
ee3e74b6ae Bug 696319 - Scroll window as needed when soft keyboard is up [r=mfinkle] 2011-10-26 14:30:48 -04:00
Fabrice Desré
8d499eecc0 Bug 696520 - Enable add-on installation : part 2/2 XPInstallObserver [r=mfinkle] 2011-10-26 13:21:51 -07:00
Fabrice Desré
1447f9650b Bug 696520 - Enable add-on installation : part 1/2 Adds JS helper for doorhanger notifications [r=mfinkle] 2011-10-26 13:21:42 -07:00
Mark Finkle
e3d4a96476 Bug 697078 - Add a toast notification indicating start of download on download start [r=wesj] 2011-10-26 14:32:18 -04:00
Mark Finkle
1b40e476e5 Bug 697105 - Permit spaces as a valid search query in an invalid URL [r=dougt] 2011-10-26 14:32:14 -04:00
Julien Vermet
abbbd5cdb7 Bug 696282 - Implement native toast alert support [r=mfinkle] 2011-10-25 22:51:44 -04:00
Sriram Ramasubramanian
4860ab1016 Bug 697180 - favicon replaced by default one [r=mfinkle] 2011-10-25 15:01:20 -07:00
Brian Nicholson
c996ad5c93 Bug 697299 - Disable preferences before Gecko is loaded. r=dougt 2011-10-25 16:12:44 -07:00
Rafael Ávila de Espíndola
ded38de264 Bug 674647 - Use build/macosx/mozconfig.leopard. r=armenzg. 2011-11-02 17:32:38 -04:00
Brian Nicholson
a06639c0bf Bug 695458 - Update Preferences [r=mfinkle] 2011-10-25 17:31:55 -04:00
Alex Pakhotin
89c365ee3b Bug 694688 - Preferences activity. Asynchronous preferences initialization and update. Using JSON to pass data. [r=mfinkle] 2011-10-14 12:48:02 -07:00
Kartikaya Gupta
258be86c37 Bug 695742 - Implement 'Save as PDF' [r=mfinkle]
Add a menu item that allows the user to save the page the
selected tab as a PDF. Currently this will list the generated
PDF as a download.
2011-10-25 11:51:23 -04:00
Fabrice Desré
3b171f21a2 Bug 696324 - Provide JS API for adding items to the Android menu [r=mfinkle] 2011-10-21 01:50:04 -04:00
Kartikaya Gupta
8352fbd0bf Bug 696875 - Widget component interfaces not registered r=dougt
Change the XPIDL_MODULE in the widget/src/android folder to
be different from the one in widget/public, since this value
has to be unique across folders. Also include the new XPT in
the mobile android build.
2011-10-25 11:51:38 -04:00
Mark Finkle
945a12a30c Bug 697117 - Clean up some errors found at runtime [r=lucasr] 2011-10-25 11:49:22 -04:00
Gian-Carlo Pascutto
b4d8e60fb8 Add doorhanger notifications for Java UI. r=mfinkle 2011-10-25 14:00:37 +02:00
Mark Finkle
2a34a05630 Bug 696758 - Filter web progress messages sent to Java [r=mbrubeck] 2011-10-24 22:00:52 -04:00
eitan@monotonous.org
c4721140b3 Bug 696063 - UIReady signal needs to be ported r=mbrubeck 2011-10-24 17:34:17 -07:00
Margaret Leibovic
e601ca9d9d Bug 695461 - Download notifications 2011-10-19 14:17:00 -04:00
Sriram Ramasubramanian
3ea80c8427 Bug 695152 - Tabs tray implementation for native UI. r=mfinkle
--HG--
extra : rebase_source : 81efd1c8844a1ecdf49be1ee28060c4e8198e23d
2011-10-24 12:20:27 -07:00
Fabrice Desré
70fdee4839 Bug 696850 - Support chrome:// and resource:// uris in favicons [r=mfinkle] 2011-10-24 14:08:21 -07:00