Commit Graph

896 Commits

Author SHA1 Message Date
Kartikaya Gupta
4298b09dbd 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
82da64e4c9 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
Kartikaya Gupta
e0d04795c9 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
4f8c464c42 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
758518eb4c 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
87d2ca4723 Bug 698042: Spinner style progress bar for browser toolbar (part 3) [r=mfinkle] 2011-10-28 14:35:40 -07:00
Wes Johnston
ff8e60c309 Bug 696512 - Detect elements near taps to click on. r=mbrubeck 2011-10-28 17:10:31 -07:00
Wes Johnston
19d77538ea Bug 695485 - Native UI for select elements. r=mfinkle 2011-10-28 11:49:19 -07:00
Doug Turner
5215d252e5 merge 2011-10-28 11:46:10 -07:00
Mark Finkle
1dc03ea66d Bug 697720 - Add 'Clear private data' preference [r=blassey] 2011-10-28 00:55:15 -04:00
Mark Finkle
a57daa2343 Bug 697144 - Unable to interact with aboutCertError [r=mbrubeck] 2011-10-28 00:55:12 -04:00
Matt Brubeck
8d708e40d1 Bug 697529 - [birch] Open new tabs for links from external apps [r=mfinkle] 2011-10-27 17:25:34 -07:00
Mark Finkle
f2a82a7862 Bug 695446 - Password manager/Form Fill [r=mbrubeck] 2011-10-27 00:29:46 -04:00
Kartikaya Gupta
2928558ff7 Bug 696319 - Scroll window as needed when soft keyboard is up [r=mfinkle] 2011-10-26 14:30:48 -04:00
Fabrice Desré
89eebfb854 Bug 696520 - Enable add-on installation : part 2/2 XPInstallObserver [r=mfinkle] 2011-10-26 13:21:51 -07:00
Fabrice Desré
57aaf700cc 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
09f9c6fdb3 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
f91951e6ae Bug 696282 - Implement native toast alert support [r=mfinkle] 2011-10-25 22:51:44 -04:00
Sriram Ramasubramanian
9ad006f36b Bug 697180 - favicon replaced by default one [r=mfinkle] 2011-10-25 15:01:20 -07:00
Brian Nicholson
073b9b08fb Bug 697299 - Disable preferences before Gecko is loaded. r=dougt 2011-10-25 16:12:44 -07:00
Brian Nicholson
baa232250a Bug 695458 - Update Preferences [r=mfinkle] 2011-10-25 17:31:55 -04:00
Alex Pakhotin
d8211c0f97 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
eaa96956d3 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é
a75e3b9a67 Bug 696324 - Provide JS API for adding items to the Android menu [r=mfinkle] 2011-10-21 01:50:04 -04:00
Mark Finkle
a8aa234257 Bug 697117 - Clean up some errors found at runtime [r=lucasr] 2011-10-25 11:49:22 -04:00
Mark Finkle
b5dd547700 Bug 696758 - Filter web progress messages sent to Java [r=mbrubeck] 2011-10-24 22:00:52 -04:00
eitan@monotonous.org
57db4ea0db Bug 696063 - UIReady signal needs to be ported r=mbrubeck 2011-10-24 17:34:17 -07:00
Margaret Leibovic
d64d64a762 Bug 695461 - Download notifications 2011-10-19 14:17:00 -04:00
Sriram Ramasubramanian
03c42af896 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é
2ccaaec7cd Bug 696850 - Support chrome:// and resource:// uris in favicons [r=mfinkle] 2011-10-24 14:08:21 -07:00
Wes Johnston
8686209daf Bug 694455 - Implement a prompt service for native ui fennec. r=mfinkle,blassey 2011-10-24 10:05:18 -07:00
Doug Turner
ee3fee9c0d Bug 695836 - sync last screen and last uri preference. r=mfinkle 2011-10-23 21:11:29 -07:00
Mark Finkle
68298db0a9 Bug 696300 - Can't focus on text fields when switching to a new tab (better than nothing) [r=blassey] 2011-10-20 18:48:26 -04:00
Doug Turner
46298d7ca8 Bug 696300 - Make text fields focusable r=blassey 2011-10-20 22:27:50 -04:00
Chris Lord
f23d9bf2f6 Improve panning, fix panning bugs. r=mfinkle
Fixes:
- Scrolling quickly in one direction, then in the other, has odd results
- Scroll occasionally goes in the wrong direction
- Scroll acceleration seems inconsistent with panning motion
- Scrolling after taps

Adds:
- Breakable axis-lock during manual panning
- Axis-lock during kinetic panning
- Linear regression to better estimate panning acceleration
- Tuned values for kinetic panning
2011-10-19 12:17:59 -04:00
Chris Lord
66d67f7d46 Improve pinch-to-zoom (a bit)
This patch corrects the maths so that pinch-to-zoom works semi-correctly.
Unfortunately, performance of this zooming method still sucks (I guess due to
relayout) and CSS zoom ends up making the page inaccessible to scrolling when
zooming in.
2011-10-19 12:13:36 -04:00
Chris Lord
c3ab0aab11 Improve kinetic panning and add constants to customise behaviour.
Increase the number of considered motion events and add some constants to
control the kinetic panning behaviour. This should make it a lot less glitchy.
2011-10-17 15:02:27 -04:00
Chris Lord
7f4cd2febd Implement scrolling of sub-frames. r=mfinkle
Implement scrolling of overflow divs, text-areas and iframes.
2011-10-15 17:44:05 -04:00
Matt Brubeck
729700798c Bug 694622 - [birch] Don't spin the event loop when opening windows [r=mfinkle] 2011-10-15 13:27:03 -07:00
Mark Finkle
f4674c6f35 Fixes and nits to the Java Tab UI 2011-10-15 02:22:25 -04:00
Doug Turner
290ad3dbd4 #changeset: 78790:3f21e8a211ff
#tag:         qbase
#tag:         qtip
#tag:         tabs_in_nativeui
#tag:         tip
#user:        Sriram Ramasubramanian <sriram@mozilla.com>
#date:        Fri Oct 14 18:58:02 2011 -0700
#summary:     Support for tabs in native ui.
2011-10-14 22:35:15 -07:00
Mark Finkle
117ec0a9c2 Bug 694637 - [birch] Add basic DOMTitleChanged and DOMLinkAdded support r=bnicholson 2011-10-14 16:07:17 -04:00
Doug Turner
fb892c27f8 moving setting browser.last.uri into DOMContentLoaded. removing hideLoadingScreen message 2011-10-14 11:23:41 -07:00
Doug Turner
e9253c0c52 Fixing error in handleEvent
--HG--
extra : rebase_source : 7da570175e340eb1776e0f36366b9c3e75b95517
2011-10-14 10:56:52 -07:00
Mark Finkle
ab171d47d4 Use camelCase for sendMessageToJava 2011-10-13 16:47:29 -04:00
Mark Finkle
85b033c734 Add basic support for multiple tabs/browsers 2011-10-13 16:06:41 -04:00
Doug Turner
b15185f516 Hook up session history and reload. 2011-10-13 11:13:41 -07:00
Chris Lord
6395a7ca9a Implement kinetic panning
Implement simple kinetic panning. This doesn't change how the document is
scrolled, so scrolling iframes and overflow divs still doesn't work.
2011-10-13 11:13:59 -04:00
Mark Finkle
6bd6047208 Bug 694136 - [birch] Refactor the browser JS and XUL files [r=fabrice r=kats] 2011-10-12 17:31:04 -04:00
Doug Turner
f16570e59c Force offline = false to ensure we go online. 2011-10-12 13:37:58 -07:00