Commit Graph

333 Commits

Author SHA1 Message Date
Brad Lassey
a2ce1ffae0 bug 707571 - user-scalable property of viewport meta tag is ignored r=mbrubeck
--HG--
extra : rebase_source : a4a4d9fb6c61ff91ffb917c1e25b78a6266d7347
2012-03-08 11:55:19 -05:00
Chris Lord
3cc0571247 Bug 729537 - Make sure the displayport is always set correctly. r=mfinkle
We were seeing unexpectedly large buffers and oddness until the first
pinch-zoom. This was caused by not setting the displayport correctly.

Change things up so that we just use the window size and resize events instead
of the viewport size (which is sent asynchronously to resize events) and make
sure to set the displayport whenever necessary.
2012-02-23 13:45:32 +00:00
Doug Turner
0aea58f84d merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Mark Finkle
5ba8dcb9b3 Bug 728782 - Add support for Bookmark Link context menu r=wesj r=gbrown 2012-02-22 00:11:50 -05:00
Margaret Leibovic
f6cdf26ec3 Bug 717787 - Suggestions from <datalist> are not shown in Native Fennec. r=mbrubeck 2012-03-06 13:56:16 -08:00
Margaret Leibovic
22c79d10e2 backout 1d4397ee1e9a for wrong bug number 2012-03-06 14:01:02 -08:00
Margaret Leibovic
5dea4d6258 Bug 711624 - JS prompt dialog will appear in the foreground when loading the page with the code in the background. r=wesj 2012-03-06 13:56:16 -08:00
Margaret Leibovic
a49df8d013 Bug 733233 - Create getTabForWindow helper function. r=wesj 2012-03-06 13:56:16 -08:00
Margaret Leibovic
46d65e72b3 Bug 628616 - Make sure suggestions from <datalist> are shown in Firefox Mobile UI. r=mbrubeck 2012-03-06 13:56:16 -08:00
Margaret Leibovic
4c669c07d8 Bug 704879 - (6/6) Show form validation message when invalid element is focused. r=lucasr 2012-03-06 11:56:44 -08:00
Margaret Leibovic
ef2489dff9 Bug 704879 - (5/6) Add form validation messages. r=lucasr 2012-03-06 11:56:44 -08:00
Margaret Leibovic
7873ab994b Bug 704879 - (4/6) Make FormAssistant in charge of hiding an empty popup. r=lucasr 2012-03-06 11:56:43 -08:00
Margaret Leibovic
8752fbb750 Bug 704879 - (3/6) Refactor FormAssistant autocomplete logic. r=lucasr 2012-03-06 11:56:42 -08:00
Geoff Lankow
ea6acfe0bb Bug 731041 - Tidy up addon inline preferences code, mobile; r=mbrubeck, Unfocused 2012-03-07 00:41:57 +13:00
Ehsan Akhgari
05749ed4c9 Bug 728614 - Part 4: Remove the viewport structure from browser.js; r=Cwiiis 2012-02-21 13:17:56 -05:00
Jeff Muizelaar
e7b2c5940d Bug 726467. Remove now incorrect transformations to screen space. r=mfinkle
The java front end is handling zoom now. We shouldn't need to and
so don't need these transformations at all. This fixes link
hilighting because we're now selecting the right element to hilight.

--HG--
extra : rebase_source : 961b7bba2e7ae90eac7a8957867af7aea11b737b
2012-02-21 11:51:42 -05:00
Chris Lord
67c0bdc893 Bug 728978 - Fix scrollToFocusedInput in browser.js. r=mfinkle
This fixes scrollToFocusedInput by doing the extra scrolling that scrollIntoView
can't do (due to the way we zoom), and by making sure the events land in the
right order.
2012-02-21 16:46:48 +00:00
Ali Juma
91561d3486 Bug 728620 - Followup: Add a FIXME comment. DONTBUILD 2012-02-21 10:30:57 -05:00
Ali Juma
30a4795d1c Bug 728620 - Ensure we draw after moving back/forward in history. 2012-02-20 20:47:00 -05:00
Ehsan Akhgari
91657fc0f1 Remove viewportExcess 2012-02-20 19:40:50 -05:00
Ehsan Akhgari
a949be99af Bug 727140 - OOM due to zoom of background tabs going to zero. This prevents viewport resizing happening on background tabs which should be a bit faster. 2012-02-20 18:37:21 -05:00
Ehsan Akhgari
4e66f598b5 Bug 728614 - Part 2: Remove viewport offsets 2012-02-20 16:51:37 -05:00
Ehsan Akhgari
90c820c5ca Bug 728614 - Part 1: Remove updateTransform(); r=dougt 2012-02-20 16:39:42 -05:00
Ehsan Akhgari
d3f07aa706 Backed out changeset cfcc11281ca2 2012-02-20 16:36:56 -05:00
Ehsan Akhgari
4d2731992b Bug 728614 - Part 1: Remove updateTransform(); r=dougt 2012-02-20 16:36:15 -05:00
Chris Lord
e0542ea7ad Bug 709813 - Fix fullscreen mode.
While the bug was originally filed for the Java-compositor version of fennec,
the same symptoms also occur in Maple. This patch removes the vbox that browsers
were put in, as it's no longer necessary.
2012-02-20 18:13:29 +00:00
Chris Lord
2194ad0aa3 Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.

Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).
2012-02-17 23:44:47 +00:00
Chris Lord
3c965d3f24 Backout scroll-clamp stuff again
I hope this makes it easier to merge and I'm not just wasting time...
2012-02-19 09:26:52 +00:00
Brad Lassey
9e55996669 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Doug Turner
b376c8db03 Bug 727140 - OOM due to zoom of background tabs going to zero. This prevents viewport resizing happening on background tabs which should be a bit faster. r=pcwalton
--HG--
extra : rebase_source : b0922946f42996f1f0454c58cb6bbdb7a5243653
2012-02-17 23:08:47 -08:00
Chris Lord
1c3a4da33d Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.

Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).
2012-02-17 23:44:47 +00:00
Chris Lord
d3e2a70ed1 Backout 87134:1c1c22bd0291 and 87135:a4af71f1bc1f
Realised I made a mistake with the nsIFrameLoaderOwner.clampScrollPosition
patch and I want this to go in as a single commit and not break building of
Maple.
2012-02-18 00:46:23 +00:00
Chris Lord
f5bd1688ff Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.

Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).

--HG--
extra : rebase_source : a13403d53fed39e1f042da3611147da1c0420cf0
2012-02-17 23:44:47 +00:00
Matt Brubeck
9bd972b678 Bug 728379 - [maple] Use setCSSViewport to set the layout viewport [r=ehsan] 2012-02-17 13:15:12 -08:00
Ehsan Akhgari
58f6991fe8 Don't call updateViewport two times in a row 2012-02-17 11:58:36 -05:00
Doug Turner
b66a0f8126 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Brad Lassey
585ae3af5b bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Patrick Walton
56de51a1ef Scale the displayport by the zoom factor 2012-02-13 22:32:31 -08:00
Margaret Leibovic
f2d5ea5612 Bug 725660 - "about:blank" briefly appears in the urlbar when openings links from external apps. r=mfinkle 2012-02-13 17:39:17 -08:00
Ali Juma
68ad1b725b Enable zooming. 2012-02-12 15:06:34 -05:00
Patrick Walton
0c0424a446 Fix browser.js ReferenceError 2012-02-10 16:17:15 -08:00
Ali Juma
77cc2a2579 Fix race conditions when updating view transform, by switching to an absolute transform. 2012-02-10 16:08:24 -05:00
Mark Finkle
07856bcf9a Bug 727730 - Add support for Share Link context menu r=mbrubeck 2012-02-16 14:07:12 -05:00
Benoit Girard
b18a77e427 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Benoit Girard
7dc71cdb8d Merge m-c into maple 2012-02-08 16:43:22 -05:00
Patrick Walton
0003ee017b Remove CSS transforms as they're basically incompatible with displayports 2012-02-08 13:12:12 -08:00
Patrick Walton
aed278fef4 Use a display port in browser.js. Disable zooming and CSS viewport adjustment for now. 2012-02-07 22:45:41 -08:00
Wes Johnston
8abaa21e10 Bug 725881 - Content provider for form history. r=lucasr 2012-02-27 10:10:14 -08:00
Brian Nicholson
11527c9e91 Bug 726080 - Only update tab URLs if valid. r=mfinkle 2012-03-05 13:20:04 -08:00
Wes Johnston
ac74e609f7 Backout 4253a5a838a8 and 7f5e40eb37c1 2012-03-05 12:01:48 -08:00
Wes Johnston
b124c1f94e Bug 719276 - Remove tap highlight when viewport changes. r=mbrubeck 2012-03-05 09:11:46 -08:00
Wes Johnston
f5e4ab77ba Bug 719276 - Use touchstart to determine when to start showing tap highlight. r=mbrubeck 2012-03-05 09:11:17 -08:00
Wes Johnston
e14f4abcdd Bug 723658 - Use elements size on screen to determine whether or not to double tap zoom. r=mbrubeck 2012-03-05 09:06:50 -08:00
Patrick Walton
8f577231bf Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Matt Brubeck
12f22cf120 Bug 732265 - (2/2) Support XUL menulist controls in native Fennec SelectHelper [r=margaret] 2012-03-01 17:34:37 -08:00
Matt Brubeck
1e02fd95cc Bug 732265 - (1/2) Some light refactoring of SelectHelper code [r=margaret] 2012-03-01 17:34:37 -08:00
Matt Brubeck
74ecbd9572 Bug 732063 - Move the SelectHelper code into a separate file [r=margaret] 2012-03-01 10:58:19 -08:00
Patrick Walton
f15ef916a3 Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Margaret Leibovic
aeb6b8d861 Bug 719868 - Progress throbber still shows when we load about:home on startup. r=mfinkle 2012-01-26 15:07:38 -08:00
Brian Nicholson
d9e9735f31 Bug 710845 - Don't show disabled search engines in AwesomeBar. r=mfinkle 2012-01-30 18:14:53 -08:00
Matt Brubeck
d94dd6af48 Bug 728861 - Don't make the add-on list visible when refreshing it in the background [r=mfinkle] 2012-02-23 16:31:29 -08:00
Matt Brubeck
8e8b7453d7 Bug 722249 - Make long extension names wrap in the fennec add-on manager [r=mfinkle] 2012-02-23 16:31:27 -08:00
Matt Brubeck
6d00fb8b1c Bug 722252 - Extensions without icon get displayed with the icon of the previous extension [r=mfinkle] 2012-02-23 16:31:25 -08:00
Brian Nicholson
4b8edcecc8 Bug 725609 - Add Fennec bookmarklet support. r=mfinkle 2012-02-22 18:26:04 -08:00
Matt Brubeck
02fed7f5e6 Bug 726863 - Use mobile-specific strings for add-on download error messages [r=mfinkle] 2012-02-14 15:32:45 -08:00
Brian Nicholson
b4d0d5faf4 Bug 701092 - Limit session restore attempts. r=mfinkle 2012-01-27 22:04:54 -08:00
Margaret Leibovic
5f93132381 backout 7b3a4af0e68a for twinopen failures 2012-01-27 11:43:22 -08:00
Mark Finkle
fd0d455e66 Bug 721639 - Add some canvas optimizations for thumbnail generation [r=mbrubeck] 2012-01-27 14:27:26 -05:00
Margaret Leibovic
12231e0ec5 Bug 719868 - Progress throbber still shows when we load about:home on startup. r=mfinkle 2012-01-26 15:07:38 -08:00
Richard Newman
6d0f18365f Bug 735490 - Yet another place to kill makefiles. a=bustage 2012-03-13 18:23:26 -07:00
Richard Newman
ccfdfdab13 Bug 735490 - Delete mobile/android/chrome/tests/. r=mbrubeck 2012-03-13 15:48:18 -07:00
Chris Lord
da87f886f0 Bug 709813 - Fix full-screen mode in native android fennec. r=mbrubeck
The style rule that gets set for full-screen mode was conflicting with how we
size the browser element for viewport/displayport support. Size the browser
using min-width/height to work around this.
2012-02-20 17:21:56 +00:00
Chris Lord
6d06b90bbe Bug 724230 - Backout ondemand tiling. r=blassey, kats
This backs out changes d8fc13006aa4, ddde7a49f6f7, 34b1cc9454d2 and
8919c54229e1, leaving in some initialisation fixes that were introduced when
rebasing.

This work may be re-applied at a later date.
2012-02-04 18:49:59 -05:00
Panagiotis Koutsourakis
583eb38038 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
William Lachance
fb3af1b9dd Bug 719570 Provide option to change checkerboard to flat color on fennec for eideticker automation r=pcwalton 2012-02-03 12:35:01 -08:00
Margaret Leibovic
31b8aad0d6 Bug 719875 - "Tap to activate plugin" placeholder can't be tapped after going back/forward in history. r=mfinkle 2012-01-31 12:49:25 -08:00
Doug Turner
ffca4e270f Bug 721006 - Crash when setting a very large document.title. r=mfinkle 2012-02-01 22:44:18 -05:00
Brian Nicholson
178ff2f66c Bug 723349 - Fix params in addTab on session restore failure. r=mfinkle 2012-02-01 17:51:41 -08:00
Brian Nicholson
8f0ec0b59e Bug 719479 - Don't animate tab counter during session restore. r=mfinkle 2012-02-01 14:25:50 -08:00
Matt Brubeck
6d71a31f2f Bug 720932 - Clean up default search engine code [r=wesj] 2012-02-01 16:25:08 -08:00
Matt Brubeck
00487aa992 Bug 723084 - Remove observers when tabs are destroyed [r=bnicholson] 2012-02-01 16:20:13 -08:00
Kartikaya Gupta
fb5f47f235 Bug 718684 - Fix rect calculation so that the form assist works within iframes too. r=sriram 2012-02-01 13:54:42 -05:00
Kartikaya Gupta
839edba320 Bug 718684 - Cleanup: remove trailing whitespace and unnecessary variables. r=sriram 2012-02-01 13:54:18 -05:00
Kartikaya Gupta
9fd13cc033 Bug 720442 - Scroll input fields to bottom of viewport rather than top. r=blassey 2012-01-26 13:16:45 -05:00
Matt Brubeck
cf533f2b23 Bug 719557 - "Full Screen" add-on (window.fullScreen) has problems in native Fennec [r=blassey] 2012-01-26 09:17:33 -08:00
Kartikaya Gupta
422cf8f490 Bug 712065 - Special treatment is needed to get the size of SVG documents. r=mfinkle 2012-01-26 09:55:29 -05:00
Brad Lassey
2dd45683b7 bug 721209 - tab screenshots unnecessarily big for background tabs r=mfinkle 2012-01-26 01:35:32 -05:00
Brad Lassey
27309e0568 bug 721208 - Tab screenshots can hose the gecko event loop r=mfinkle 2012-01-26 02:46:16 -05:00
Brad Lassey
ec525a125a backout out 1b0c8e6f01e2 to fix its commit message 2012-01-26 02:57:41 -05:00
Brad Lassey
5832a3ad0a bug 721032 - Make thumbnails in about:home and tab menu identical r=mfinkle 2012-01-26 02:46:16 -05:00
Margaret Leibovic
fa3a7708d0 Bug 721220 - Send message back to java after tab selection is complete. r=mbrubeck 2012-01-25 20:06:08 -08:00
Mark Finkle
82d29ac312 Bug 722627 - NativeWindow.contextmenus.remove creates a JS exception r=wesj 2012-02-01 00:25:01 -05:00
Margaret Leibovic
cafa24a697 Bug 722586 - Correctly update active/inactive browsers. r=mfinkle 2012-01-31 09:35:23 -08:00
Brian Nicholson
a8531542b4 Bug 721341 - Get zombie tab thumbnails from database. r=blassey 2012-01-31 14:13:33 -08:00
Brian Nicholson
237507f876 Bug 702319 - Update telemetry opt-in message. r=mfinkle 2012-03-12 12:08:15 -07:00
Brad Lassey
33fe479cbf bug 719359 - Pageload thumbnails for sites with <meta viewport=width=n> do not cover entire thumbnail box in about:home r=mfinkle 2012-03-12 14:05:43 -04:00
Matt Brubeck
5077ebeaea Bug 718296 - Use third-party fixup on location bar searches [r=wesj] 2012-01-24 18:39:22 -08:00
Wes Johnston
8e90572458 Bug 720058 - Follow up for review comments. r=bnicholson 2012-01-25 02:34:09 +01:00
Wes Johnston
89eb7a6804 Bug 716595 - Don't alter selection if we cancel a select dialog. r=mleibovic 2012-01-25 01:31:33 +01:00
Wes Johnston
0e1b165b9b Bug 720058 - Only allow showing one select ui at a time. r=bnicholson 2012-01-25 01:31:33 +01:00