Commit Graph

1202 Commits

Author SHA1 Message Date
Chris Lord
e0579b7ab8 Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Tetsuharu OHZEKI
6f69aff741 Bug 864097 - Use String.startsWith/contains instead of regexp in browser.js. r=kats, r=mfinkle 2013-04-24 08:36:10 -04:00
Wes Johnston
06d8313d6c Bug 835456 - Cleanup whitespace. r=mfinkle 2013-04-23 10:30:47 -07:00
Scott Johnson
deb545cf61 Bug 836568: Add a delay between when the user finishes a pinch gesture and when the reflow happens for reflow-on-zoom to prevent buildup of successive reflow events. [r=kats] 2013-04-23 12:29:22 -05:00
Wes Johnston
b77bab9a08 Bug 853456 - Walk up DOM tree to find target of links. r=mfinkle 2013-04-23 10:10:44 -07:00
Margaret Leibovic
7fd936e776 Bug 667243 - Use caretPositionFromPoint to move selection. r=bnicholson 2013-04-22 17:16:06 -07:00
Benoit Girard
3d7c532eec Bug 863375 - Remove 'Toggle Profiling' menu. r=ehsan
--HG--
extra : rebase_source : c8e70c998ede7986e2583f3fba4d23fcdb37b540
2013-04-19 15:37:50 -04:00
Tetsuharu OHZEKI
ee8bab92ec Bug 863285 - Cache the result of Ci.nsIMemory.isLowMemoryPlatform(). r=Kartikaya 2013-04-20 19:13:45 +09:00
Mark Capella
a2345751b3 Bug 857362 - Remove unused sendMessageToJava() events, r=cpeterson 2013-04-20 00:29:03 -04:00
Mark Capella
2e74b1576a Bug 800899 - Reader Mode:Toolbar remove button is not updated, r=lucasr 2013-04-19 12:04:02 -04:00
Lucas Rocha
580391a42b Bug 863325 - Send correct result with Reader:Added message (r=bnicholson) 2013-04-18 18:07:55 +01:00
David Hsu
afa1f84699 Bug 861205 - Added fuzzyEquals method for float comparisions. r=kats
Replaces the (Math.abs(x) < 1e-6) previously used.
2013-04-17 09:12:08 -04:00
Lucas Rocha
bfc7dddb50 Bug 814587 - Add "Add to Reading List" context menu (r=bnicholson) 2013-04-17 12:09:18 +01:00
Lucas Rocha
617db98e34 Bug 814587 - Change Reader:Add to handle tabID and URL as input (r=bnicholson) 2013-03-16 01:40:06 +05:30
Lucas Rocha
0b09a872d3 Bug 784387 - Handle duplicate reading list item case (r=bnicholson) 2013-04-17 11:43:22 +01:00
Margaret Leibovic
475e85e651 Bug 858323 - Focus tab.browser when the tab is selected. r=wesj 2013-04-16 17:39:47 -07:00
Margaret Leibovic
8fb1cdcbb9 Bug 862125 - Properly quote addon id when passing string to querySelector. r=bnicholson 2013-04-16 17:39:47 -07:00
Scott Johnson
664706a8dd Bug 800805: Account for left border and padding when snapping in to text after reflow on zoom. [r=kats] 2013-04-16 16:29:11 -05:00
Scott Johnson
e6eb9703bc Bug 836565, Part 1: Make pinch gestures perform reflow-on-zoom operations only once to improve performance. [r=kats] 2013-04-16 16:29:04 -05:00
Scott Johnson
89125218e7 Bug 803719: Add a getClientRect API to CaretPosition and use it to maintain position for reflow-on-zoom feature. [r=kats,tn] 2013-04-16 16:12:03 -05:00
Scott Johnson
89cb36fde6 Backed out changeset 6d29c583d5c0 due to incorrect commit message. 2013-04-16 16:10:20 -05:00
Scott Johnson
c84bf8d036 Bug 803719: Add a toDOMRange API to CaretPosition and use it to maintain position for reflow-on-zoom feature. [r=kats,tn] 2013-04-16 16:08:38 -05:00
Margaret Leibovic
af1215ec32 Bug 862440 - Remove unused aboutReaderContent.html and aboutReaderContent.css. r=bnicholson 2013-04-16 10:37:14 -07:00
Margaret Leibovic
42a4ca2e42 Bug 857989 - Add Serif/Sans Serif font toggle to Reader Mode. r=lucasr 2013-04-16 10:39:16 -07:00
Ryan VanderMeulen
fb3f4e9134 Merge the last PGO-green inbound changeset to m-c. 2013-04-15 21:49:22 -04:00
Gregory Szorc
f10c4d0e8c Merge mozilla-central into services-central 2013-04-15 16:55:11 -07:00
Nick Alexander
af15a3fcab Bug 858828 - Always return desktop user agent if requested, even for Youtube domains. r=mfinkle 2013-04-11 11:01:52 -07:00
Nick Alexander
96b890ad24 Bug 858828 - Avoid missing URI host member when special-casing user agent string for Youtube domains. r=mfinkle 2013-04-11 11:01:52 -07:00
Margaret Leibovic
7d88be636b Bug 730445 - Add UI to specify a default search engine. r=mfinkle 2013-04-12 12:03:43 -07:00
Chris Lord
b8e06f1fb8 Bug 855240 - Don't allow CSS viewport changes to happen on MozScrolledAreaChanged. r=kats
Changing the CSS viewport in response to MozScrolledAreaChanged can cause
infinite resizing loops. Also take the opportunity to throttle viewport size
changes and short-circuit unnecessary viewport remeasuring.
2013-04-12 16:04:55 +01:00
Mike de Boer
cf8607be57 Bug 738818 part 1: replace originalDefaultEngine with defaultEngine and make defaultEngine a settable. r=gavin 2013-04-09 17:04:22 -07:00
Phil Ringnalda
b636e4bf9b Back out ec6dd0cc8053:3c55e92d87a6 (bug 738818) for being on top of bustage, and b50153f9e011 (bug 819493) for bustage
CLOSED TREE
2013-04-09 21:14:56 -07:00
Nicholas Nethercote
36f985d6fe Bug 848560 (part 4) - Fix broken memory reporting on Fennec. r=kats. 2013-04-10 11:43:31 +10:00
Mike de Boer
7de8174c31 Bug 738818 part 1: replace originalDefaultEngine with defaultEngine and make defaultEngine a settable. r=gavin 2013-04-09 17:04:22 -07:00
Kartikaya Gupta
215487ca11 Bug 748495 - Don't call setCSSViewport unnecessarily. r=Cwiiis 2013-04-15 14:41:46 -04:00
Martyn Haigh
3615ced42e Bug 793747 - Add app origin to install message. r=mfinkle 2013-04-09 18:56:47 +01:00
Ryan VanderMeulen
c0d89e121e Backed out 17 changesets (bug 566746, bug 697377) for frequent OSX debug mochitest-5 crashes. 2013-04-11 11:53:13 -04:00
Neil Deakin
f088c7b39f Bug 566746, android asynchronous form autocomplete changes, r=margaret 2013-04-11 04:01:49 -04:00
Tetsuharu OHZEKI
8daa992faf Bug 840722 - Add an object which represents the viewport metadata in browser.js.r=kats 2013-04-08 14:38:52 -04:00
Chris Lord
0bd6ff9ea7 Bug 856497 - Fix dynamic viewport sizing for margin changes. r=kats
The viewport wasn't being recalculated when the viewport margins changed, and
was also subject to some rounding errors. Round off the values before
comparing them (as they're screen pixels), and make sure to update the viewport
when the margins change. Margins were also not correctly being altered when
in overscroll, which could cause bottom-aligned fixed position content to be
incorrectly offset.
2013-04-08 16:35:00 +01:00
Xin Zhang
3dc06546f6 Bug 849764 - Replace removeObserver() calls with three params with two in mobile dir. r=mak 2013-04-06 14:46:35 -04:00
Margaret Leibovic
82e69e50c5 Bug 856369 - Fix typo in WebrtcUI script load. r=mfinkle 2013-04-01 09:58:52 -07:00
Mark Finkle
e485293e7d Bug 852828 - Add basic support for subscribing to feeds (RSS/Atom) r=margaret 2013-04-03 15:34:51 -04:00
Devdatta Akhawe
12ca09149d Bug 850435 - Android Patch: separately measure UI telemetry for iframes and top level. r=felipe 2013-03-30 17:51:53 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Felipe Gomes
d03f3261e7 Bug 850210 - Part 4. Update Android's PermissionsHelper usage of contentPrefs to nsIContentPrefService2. r=adw 2013-03-29 23:08:54 -03:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Sriram Ramasubramanian
0fc8b97188 Bug 844816: Add open new tab/private tab to long press menu of about:home thumbnails. [r=mfinkle]
--HG--
extra : rebase_source : 2b93b32c22d41c3670bc67b4762baa81525256d4
2013-03-26 10:23:45 -07:00
Margaret Leibovic
ae04678411 Bug 854605 - (Part 3) User selectAtPoint to start a selection. r=bnicholson 2013-03-28 16:22:02 -04:00
Margaret Leibovic
5a5ed05edf Bug 854605 - (Part 2) Make private SelectionHandler functions look private. r=bnicholson 2013-03-28 16:22:00 -04:00
Margaret Leibovic
c4495fc686 Bug 854605 - (Part 1) Rename SelectionHandler properties to better match metro's SelectionHandler. r=bnicholson 2013-03-28 16:21:58 -04:00
Mark Finkle
7fbfb6e077 Bug 854107 - Lazy load more notification-based objects r=margaret 2013-03-27 01:06:14 -04:00
Mark Finkle
dc56df5b07 Bug 854107 - Lazy load more normal JS objects r=margaret 2013-03-27 01:06:11 -04:00
Phil Ringnalda
66d6b22a5f Merge m-c to m-i 2013-03-25 21:53:39 -07:00
Phil Ringnalda
d06408e6a3 Merge the last pgo-green cset from mozilla-inbound to mozilla-central 2013-03-25 21:32:35 -07:00
Jim Chen
5186564787 Bug 839683 - Append telemetry opt-out notice for ANR reporting; r=mfinkle 2013-03-26 00:25:33 -04:00
Mark Finkle
c4964a9fbd Backout 4b1459d107c9, suspected cause of talos-robo bustage CLOSED TREE 2013-03-25 19:37:36 -04:00
Wes Johnston
dd8396c8fb Bug 840593 - Viewport min-width should default to zero. r=mbrubeck 2013-03-25 15:58:50 -07:00
Margaret Leibovic
40faa107af Bug 853691 - Reorganize SelectionHandler cleanup code paths. r=bnicholson 2013-03-25 18:25:19 -04:00
Wes Johnston
0d7fab0add Bug 817586 - Remove extra logging. r=mbrubeck 2013-03-25 09:08:25 -07:00
Wes Johnston
06aa28cc95 Bug 817586 - Remove extra logging. r=mbrubeck 2013-03-25 08:52:15 -07:00
Mark Finkle
7d2f4776fd Bug 854107 - Lazy load normal JS objects in browser.js r=margaret 2013-03-25 17:39:24 -04:00
Mark Finkle
6647456266 Bug 854107 - Lazy load notification-based JS objects in browser.js r=wesj 2013-03-25 17:05:04 -04:00
James Hugman
176e9dffee Bug 813736 - Enable installPackage api on Android. r=wesj,fabrice 2013-03-25 13:03:58 -07:00
Wes Johnston
058e1ae758 Bug 840593 - Create a main style file for about pages to inherit from. r=mbrubeck 2013-03-22 16:36:31 -07:00
Matt Brubeck
cc3eb090e3 Bug 853126 - Use PluralForm for the blocked popup message on Android [r=margaret] 2013-03-22 15:27:59 -07:00
Margaret Leibovic
2ad4332a9d Bug 853508 - Lazy load SelectionHandler. r=bnicholson 2013-03-21 16:50:42 -07:00
Margaret Leibovic
c5a508f366 Backed out changeset 89fa6284cb78 because of bad merge 2013-03-21 16:55:25 -07:00
Margaret Leibovic
b254e3e129 Bug 853508 - Lazy load SelectionHandler. r=bnicholson 2013-03-21 16:50:42 -07:00
Margaret Leibovic
60b22ab8a6 Bug 853022 - Remove "Ideas" from feedback app. r=mfinkle 2013-03-21 14:01:02 -07:00
Margaret Leibovic
e50647fad7 Bug 851170 - Put homescreen wallpaper feature behind confvars variable. r=ted 2013-03-21 14:01:02 -07:00
Brian Nicholson
9aa41ab69a Bug 828990 - Hide thumb on compositionend. r=margaret f=jchen
--HG--
extra : rebase_source : 8be4ddbc0f574179c12807d7c3d575624c9dbf48
2013-03-21 13:07:07 -07:00
Chris Lord
ba90002039 Bug 852565 - Don't expand the viewport for small pages. r=kats
Only expand the CSS viewport when a page reaches the screen size. If it's
smaller than the screen size, lock the dynamic toolbar and keep the same,
smaller CSS viewport. This 'fixes' sites that try to size themselves to the
size of the screen and get it wrong.
2013-03-21 11:23:49 +00:00
Mark Finkle
1eed50db8e Bug 852962 - Bad optionsURL will show 'options' header but no options r=margaret 2013-03-20 15:30:24 -04:00
Margaret Leibovic
423b8c6411 Bug 823230 - (Part 2) Remember search terms and show them again when returning to the awesomescreen. r=mfinkle 2013-04-10 11:02:05 -07:00
Margaret Leibovic
54e7f0caac Bug 852334 - Set app disabled state on enable button instead of uninstall button. r=mbrubeck 2013-03-19 08:14:25 -07:00
Margaret Leibovic
e6fd726a14 Bug 848420 - Distribution support for additional default search engines. r=mfinkle 2013-03-18 15:39:08 -07:00
Brian Nicholson
47875ab46e Bug 850424 - Clear private download notifications on last-pb-context-exited. r=mfinkle 2013-03-15 11:07:04 -07:00
Kartikaya Gupta
e8bde7cd7b Bug 827347 - Update entity name to go with string change. r=mfinkle 2013-03-14 23:46:43 +01:00
Kartikaya Gupta
ab78e15433 Bug 827347 - Allow force-downloading and installing of updates from about:firefox. r=snorp,blassey 2013-03-13 15:47:38 +00:00
Mark Finkle
81fb3e5b45 Bug 844872 - All addons and search engines present an option section even when the plugin does not have any options r=margaret 2013-03-13 11:07:06 -04:00
Chris Lord
ba4e6eda59 Bug 846772 - Add prefs observing to PrefsHelper/browser.js on Android. r=kats 2013-03-12 18:32:25 +00:00
Ryan VanderMeulen
ee09504083 Backed out 5 changesets (bug 846772) for Android reftest-3 orange on a CLOSED TREE. 2013-03-12 17:37:16 -04:00
Chris Lord
c908455874 Bug 846772 - Add prefs observing to PrefsHelper/browser.js on Android. r=kats 2013-03-12 18:32:25 +00:00
Ryan VanderMeulen
ba7d37f460 Backed out changeset d31d517c7f7c (bug 840593) for robocop orange on a CLOSED TREE.
DONTBUILD
2013-03-12 14:37:39 -04:00
Wes Johnston
c1d5233d20 Bug 840593 - Remove minimum width on about pages. r=mbrubeck 2013-03-12 09:51:04 -07:00
Margaret Leibovic
e059ce4c53 Bug 739757 - Update doorhanger notification strings. r=mfinkle,gbrown
* * *
Bug 739757 - (Part 1) Update strings for offline apps/indexedDB notifications. r=mfinkle
* * *
Bug 739757 - (Part 2) Update strings for content permissions prompts. r=mfinkle
* * *
Bug 739757 - (Part 3) Update click to play plugin strings to use "activate" instead of "play". r=mfinkle
* * *
Bug 739757 - (Part 4) Update popup blocked notifications. r=mfinkle
* * *
Bug 739757 - (Part 5) Update telemetry prompt strings. r=mfinkle
* * *
Bug 739757 - (Part 6) Update login manager strings. r=mfinkle
* * *
Bug 739757 - (Part 7) Update testDoorHanger to work with new strings. r=gbrown
2013-03-12 08:47:12 -07:00
Chris Lord
03f18bd94c Bug 716403 - Use setContentDocumentFixedPositionMargins in Android's browser.js. r=kats
This uses the aforementioned method on nsIDOMWindowUtils to make sure layout's
idea of the fixed position margins matches those used in the compositor.
2013-03-07 10:17:33 +00:00
Chris Lord
84602bb1fc Bug 716403 - Resize viewport dynamically on Android. r=kats,mfinkle
This causes the viewport size to differ, depending on the length of the page.
This has the effect of pages that size themselves to the size of the window
always having the toolbar visible, making sites like Google Maps more usable.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
8cf664a621 Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE. 2013-03-06 16:11:05 -05:00
Ryan VanderMeulen
68af2dcceb Bug 739757 - Back it out fully this time on a CLOSED TREE. 2013-03-06 13:59:09 -05:00
Chris Lord
866dd7b942 Bug 716403 - Use setContentDocumentFixedPositionMargins in Android's browser.js. r=kats
This uses the aforementioned method on nsIDOMWindowUtils to make sure layout's
idea of the fixed position margins matches those used in the compositor.
2013-03-06 16:56:00 +00:00
Chris Lord
55cccd32c3 Bug 716403 - Resize viewport dynamically on Android. r=kats,mfinkle
This causes the viewport size to differ, depending on the length of the page.
This has the effect of pages that size themselves to the size of the window
always having the toolbar visible, making sites like Google Maps more usable.
2013-03-06 16:56:00 +00:00
Margaret Leibovic
753ddc1432 backout 3c5239c5771d for test failures 2013-03-06 16:47:34 +00:00
Margaret Leibovic
a07238ebdd backout 17ab91e3a0c5 for test failures 2013-03-06 16:47:34 +00:00
Margaret Leibovic
632ed38d90 backout 38c9642dfab0 for test failures 2013-03-06 16:47:34 +00:00
Margaret Leibovic
0b3ffe7089 backout 3637227e2fee for test failures 2013-03-06 16:47:34 +00:00
Margaret Leibovic
a0dad360b4 backout 14893b300874 for test failures 2013-03-06 16:47:33 +00:00
Henri Sivonen
d36e6bbdaf Bug 847870 - Gather telemetry about character encoding menu use on Android. r=mfinkle. 2013-03-06 15:28:07 +02:00