Граф коммитов

5474 Коммитов

Автор SHA1 Сообщение Дата
Brian Nicholson 1ce81c62ac Bug 708161 - POST data for search engine submissions. r=mfinkle 2012-03-08 17:07:47 -08:00
Matt Brubeck e84dd26ea6 Back out 5026c5ad25e7 because of XUL Fennec bustage 2012-03-08 16:42:31 -08:00
Chris Peterson b0a368c606 Bug 731034 - Clamp current selection before processing key down events to avoid IndexOutOfBoundsException. r=blassey 2012-03-12 17:08:04 -07:00
Kartikaya Gupta 54740c9bf1 Bug 732206 - Fix Ts failures by preventing some errors from appearing in logcat. r=Cwiiis 2012-03-06 10:02:34 -05:00
Benoit Girard 9cc25aa121 Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Benoit Girard 21f34c152c Bug 733184 - Maple: Remove some Java logging. r=pcwalton 2012-03-05 18:50:00 -05:00
Benoit Girard a4f3dcbb49 Merge latest green changeset from mozilla-central to maple
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard 95983342f4 Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Matt Brubeck 96ac58ec12 Merge mozilla-central to mozilla-inbound 2012-03-08 16:27:40 -08:00
Chris Peterson 9e48d5323a Bug 733434 - Part 2: Remove old exception handlers made redundant by global UncaughtExceptionHandler. r=blassey 2012-03-07 11:20:04 -08:00
Chris Peterson a9eba18fa6 Bug 733434 - Part 1: Register a global UncaughtExceptionHandler that calls Breakpad. r=blassey 2012-03-07 11:19:05 -08:00
Chris Peterson cfc4569fe5 Bug 733153 - Remove obsolete widget.ime.android.landscape_fullscreen and fullscreen_threshold prefs. r=dougt 2012-03-07 17:17:00 -08:00
Geoff Brown c21779ea58 Bug 728263 - Avoid AccountManager leak error on exit. r=mfinkle 2012-03-08 18:48:44 -05:00
Margaret Leibovic 5947fda791 Bug 725502 - (Part 2) Disable window open dialog feature for XUL fennec. r=mbrubeck 2012-03-08 15:29:33 -08:00
Margaret Leibovic 79ecc63678 Bug 725502 - window.open with dialog=yes argument in it causes weird issue. r=jst 2012-03-08 15:29:30 -08:00
Richard Newman 16a94c288e Bug 732611 - Add channel (Aurora, Beta, etc.) to Android Sync user agent. r=rnewman 2012-03-02 17:36:16 -08:00
Richard Newman 32c25d448c Bug 709403 - Part 2: add TabsRecord. r=nalexander 2012-03-02 17:36:16 -08:00
Richard Newman 0fe0fd4c4c Bug 709403 - Part 1: refactor envelope/payload logic in Record. r=nalexander 2012-03-02 17:36:16 -08:00
Richard Newman 43df7e84d5 Bug 709403 - Part 0: Add getString to ExtendedJSONObject. r=nalexander 2012-03-02 17:36:16 -08:00
Nick Alexander df4bf95db8 Bug 722553 - uniformize JPakeClientStage error handling. r=rnewman 2012-03-02 17:36:15 -08:00
Nick Alexander 0e63ceb3bf Bug 722570 - make BaseResource.{getConnectionManager,enableTLSConnectionManager} thread-safe. r=rnewman 2012-03-02 17:36:15 -08:00
Nick Alexander ce703d2cb4 Bug 722575 - make SerialRecordConsumer.consumerIsDone() thread-safe. r=rnewman 2012-03-02 17:36:15 -08:00
Marina Samuel 593eac5f06 Bug 715796 - Part 1: client name. r=rnewman 2012-03-02 17:36:15 -08:00
Marina Samuel c37750ac12 Bug 715796 - Part 0: extract SQLiteOpenHelper cache from AndroidBrowserHistoryDataExtender. r=rnewman 2012-03-02 17:36:15 -08:00
Richard Newman 01e5389609 Bug 731125 - Use correct X-If-Unmodified-Since header. r=rnewman 2012-03-02 17:36:15 -08:00
Benoit Girard 17ae78009b Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Jeff Muizelaar 4798fdbb3d Bug 732576. make getViewTransform fast. r=kats
This removes the logging, locking and allocations from getViewTransform.

This reduces the time spent from an median of 6.3ms to 0.061ms

We use a new scheme where the view transform is immutable and the member
variable containing it is atomically overwritten. So we may get a slightly old
view transform but this won't be a problem.
2012-03-02 14:31:27 -05:00
Benoit Girard a6f181b1fe Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Chris Lord 391b5f81af Bug 731570 - Don't re-upload scrollbar texture on opacity change. r=kats
Rather than re-render the scrollbar texture and re-upload it when the opacity
changes, just render/upload it once and use a shader to modify the opacity.
2012-03-02 12:12:08 +00:00
Chris Lord b4e5802386 Bug 731570 - Rename and make default shaders public. r=pcwalton
Rename and make public the default shaders used in LayerRenderer, and make
loadShader a public, static method. This should make it easier for layers to
implement their own shader programs.
2012-03-02 12:12:08 +00:00
Eitan Isaacson 7deb1ae071 Bug 729373 - Move focus to chrome when overscrolling up with keyboard. r=cpeterson 2012-03-07 19:24:38 -05:00
Eitan Isaacson e4a0f7bcc6 Bug 729237 - Fixed AndroidBridge emit a11y event function, added java string class as class member. r=blassey 2012-03-07 19:24:38 -05:00
Chris Peterson 0705237abb Bug 699465 - AwesomeBar: enable selectAllOnFocus attribute to preempt Edit Text context menu. r=dougt, sriram 2012-03-07 19:24:37 -05:00
Brian Nicholson 353ed54f00 Bug 726018 - Thumbnails test case. r=gbrown 2012-03-07 13:58:31 -08:00
Brian Nicholson ce62d548f1 Bug 726018 - Save thumbnails only for successful page loads. r=mfinkle 2012-03-07 13:58:31 -08:00
Brian Nicholson 9520294449 Bug 726018 - Add tab load states. r=mfinkle 2012-03-07 13:58:31 -08:00
Margaret Leibovic 7c69a1a0f2 Bug 733515 - Use localized strings for special folder names. r=rnewman,lucasr 2012-03-07 11:13:03 -08:00
Margaret Leibovic 7b923817a8 Bug 711177 - Form autocomplete popup doesn't appear on tap of input. r=lucasr 2012-03-07 11:12:57 -08:00
Sriram Ramasubramanian 5794f57ee0 Bug 732117: Fennec debug intent on startup path. [r=blassey] 2012-03-07 10:36:38 -08:00
Chris Lord 85297aa423 Bug 732013 - Fix overdraw in LayerRenderer. r=kats
Add an optional rectangular mask to SingleTileLayer so that we can reduce the
amount of overdraw when drawing the background and checkerboard layers.
2012-03-01 19:43:14 +00:00
Benoit Girard a637eac5aa Merge mc->maple 2012-03-01 10:44:44 -05:00
Kartikaya Gupta 72287d98e8 Bug 730966 - Remove time-based throttling of viewport change events; the refresh driver does this in Gecko already. r=pcwalton 2012-02-29 16:42:53 -05:00
Kartikaya Gupta 8a2f9c6826 Bug 731619 - Fix race condition where flags are cleared before they are set. r=ehsan 2012-02-29 16:26:02 -05:00
Benoit Girard 4cfb57e4a4 Bug 730967 - Handle Cherckerboard color being null. r=kats
--HG--
extra : rebase_source : f2d33d78ba3b140e6df0fdc239539088f910bc95
2012-02-29 15:45:06 -05:00
Kartikaya Gupta 67673fd826 Bug 731619 - Make drawing after rotation work again. r=ehsan 2012-02-29 15:36:59 -05:00
Kartikaya Gupta 995241abaa Bug 731417 - Fix missing call to checkMonitoringEnabled for the LayerRenderer we use in OMTC, and make it frame rate layer wider so it doesn't get truncated. r=pcwalton 2012-02-29 14:08:23 -05:00
Benoit Girard 18572ee54e Bug 730967 - Don't recompute checkerboard color every frame. r=pwalton
--HG--
extra : rebase_source : 1c8251bb2e84e0039185ffe9f80d43f52d7c2bcf
2012-02-28 19:17:58 -05:00
Kartikaya Gupta f6a43297c9 Bug 730949 - Take the frame rate layer initialization out of the startup path. r=sriram 2012-02-28 18:08:43 -05:00
Kartikaya Gupta 09895f185a Bug 730687 - Hook up the aboutToCheckerboard code again. r=Cwiiis 2012-02-28 16:14:14 -05:00
Kartikaya Gupta 8116a3c555 Bug 730687 - Fold updateViewport into endDrawing. r=Cwiiis 2012-02-28 16:13:26 -05:00
Kartikaya Gupta 7065d85710 Bug 730687 - Move the display port margin amounts out of browser.js and into Java. r=Cwiiis 2012-02-28 16:13:20 -05:00
Kartikaya Gupta 76d179611f Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Kartikaya Gupta 3ad7a6a7b3 Bug 729169 - Ensure the display port is clipped to the page bounds. r=Cwiiis 2012-02-28 14:33:13 -05:00
Kartikaya Gupta 39af416537 Bug 730681 - Guard against a zero width/height corrupting our viewport. r=Cwiiis 2012-02-28 14:33:05 -05:00
Matt Brubeck f2bba3f13d Bug 662891 - Require Android 2.2 "Froyo" (API level 8) or higher [r=dougt] 2012-02-28 10:05:05 -08:00
Kartikaya Gupta 2ac93dd0ea Merge m-c 2012-02-27 15:06:35 -05:00
Kartikaya Gupta cf6a0b5aad Bug 730681 - Combine the two resize event handlers into one so that the behaviour is more deterministic and efficient. r=Cwiiis 2012-02-27 10:23:20 -05:00
Kartikaya Gupta f17be13e28 Bug 730681 - Stop resizing the CSS viewport every time we scroll by a pixel. r=Cwiiis 2012-02-27 10:18:10 -05:00
Richard Newman a4cc9f7aa0 Bug 730528 - Extract LooperThread from GeckoAppShell. r=blassey 2012-02-26 22:34:23 -08:00
Kartikaya Gupta e32f88af1b Bug 726382 - Ensure the mDir and mMozDir variables are protected by synchronization. r=rnewman
It is possible that two threads will call getDir(), or getDir() and
moveProfilesToAppInstallLocation() simultaneously. Without this patch,
this would attempt to double-create the mozilla or profile directories,
which would then result in an IOException and failure when it shouldn't.
2012-02-26 18:08:03 -05:00
Kartikaya Gupta b6469b1808 Take out a line I inadvertently left in in cset ce31a3b140a2 2012-02-26 17:27:58 -05:00
Kartikaya Gupta 527d580687 Merge the origin (Point) and size (IntSize) properties of Layers into a single position (Rect) property.
Not only does this reduce the amount of cruft needed while getting and setting these properties, it
makes the code more consistent because we don't have half of this stored in the Layer base class and
the other half provided by an abstract method implementation in subclasses. Furthermore, this
allows the VirtualLayer size to be updated based on the area painted by gecko rather than remaining
fixed at the view size when the virtual layer was created.
2012-02-26 10:47:47 -05:00
Kartikaya Gupta d18f53fccd Take out the code that allows Java to further clip the invalid rect based on visible area.
This code is never used because the invalid rect we pass to DrawTo is ignored;
the nsLayoutUtils::PaintFrame uses the display port as the visible region to
paint instead. (http://mxr.mozilla.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#1603)
2012-02-26 10:47:45 -05:00
Benoit Girard 893d3890fe Work around white not working as Cherckerboard color. r=kats
--HG--
extra : rebase_source : 768fe9d869c1aff743fbc69b5f537668eedf3298
2012-02-24 15:13:39 -05:00
Chris Peterson 3e79fbd8e3 Bug 730349 - Remove some unused variables from browser.js. r= 2012-02-24 10:05:32 -08:00
Doug Turner f72f4d6343 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Kartikaya Gupta 926388911b Remove unused parameters passed to endDrawing 2012-02-24 12:11:29 -05:00
Kartikaya Gupta d1065efeb5 Pull out tile dimensions being passed around uselessly 2012-02-24 10:51:41 -05:00
Wes Johnston f3d050b3fe Bug 731341 - LoadLibs should take a context. r=blassey 2012-03-08 10:25:44 -08:00
Matt Brubeck b94b19f79d Bug 731610 - Back key in a popup window should return to the parent page
[r=mfinkle]
2012-03-08 12:34:11 -08:00
Wes Johnston 4d4224963d backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Brad Lassey 27892bd7ab 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
Brad Lassey d2705084f2 bug 702907 - Zooming should be disabled while a video is in fullscreen mode r=mbrubeck
--HG--
extra : rebase_source : 0ca9a36735abf2fcc7ad0b276e56c1f50b209488
2012-03-08 10:53:01 -05:00
Wes Johnston 2885eb062f Bug 725052 - Check if a password is in the deleted database before inserting it. r=rnewman 2012-03-08 10:25:44 -08:00
Wes Johnston e9afe86d07 Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston 1faf5a64eb Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey 2012-03-08 10:25:44 -08:00
Wes Johnston fc30a6fbdb Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Wes Johnston 8bd8530c50 Bug 731341 - LoadLibs should take a context. r=blassey 2012-03-08 10:25:44 -08:00
Kartikaya Gupta 8361e27f2a Extract a setOriginAndResolution method to VirtualLayer and drop the locking as it is not needed. 2012-02-23 16:29:22 -05:00
Kartikaya Gupta 7835c32438 Rename mTileLayer to mRootLayer since it's not a tile layer anymore. Also change the type to VirtualLayer 2012-02-23 16:21:45 -05:00
Kartikaya Gupta aebcb81458 Move transaction lock and synchronization from callers of updateViewport in to updateViewport itself 2012-02-23 15:31:40 -05:00
Kartikaya Gupta 50f8b4de8e Move the beginTransaction from beginDrawing to endDrawing since we don't need to hold the lock during paint 2012-02-23 15:26:20 -05:00
Kartikaya Gupta 1e70e36055 Remove redundant getDisplayportOrigin method from ViewportMetrics; use getOrigin instead 2012-02-23 15:08:05 -05:00
Kartikaya Gupta 1f8e580c79 Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp 2012-02-23 14:55:15 -05:00
Kartikaya Gupta 5a1faf48cb Add a bunch of comments to trace which threads transaction-related things are happening on 2012-02-23 13:25:19 -05:00
Kartikaya Gupta 4ad5c6ea23 Move the call to moveFrameRateLayer off the UI thread since it calls beginTransaction 2012-02-23 12:54:54 -05:00
Kartikaya Gupta 2ce2de2f8c Convert tabs to spaces 2012-02-23 11:31:01 -05:00
Kartikaya Gupta e60eb6625b Re-land a fixed c8451607557b (Take out the empty GeckoLayerClient.dimensionsChanged method and the unneeded support architecture for it) 2012-02-23 10:09:38 -05:00
Benoit Girard 8dd38a12c2 Merge backout 2012-02-23 11:09:14 -05:00
Benoit Girard 6dbf2b71f8 Backed out changeset c8451607557b 2012-02-23 11:04:11 -05:00
Kartikaya Gupta 9be3ce0e7c Take out unused MultiTileLayer 2012-02-23 10:11:16 -05:00
Kartikaya Gupta 089561424b Take out the empty GeckoLayerClient.dimensionsChanged method and the unneeded support architecture for it 2012-02-23 10:09:38 -05:00
Chris Lord a606eac978 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
Ehsan Akhgari 46e795026c Bug 728614 - Part 8: Remove the unneeded assignment from getViewTransform; r=kats 2012-02-22 21:27:36 -05:00
Ehsan Akhgari 370d7dba80 Address the review comment, missed from the previous push 2012-02-22 17:15:53 -05:00
Ehsan Akhgari 3c20ad735f Bug 728614 - Part 7: Pause painting when the orientation changes in order to avoid getting intermediate frames painted; r=kats 2012-02-22 15:14:28 -05:00
Ehsan Akhgari 6144007810 Bug 728614 - Fix the zoom level when the device rotates on pages with <meta viewport> information; r=kats 2012-02-22 13:13:16 -05:00
Kartikaya Gupta c6c152c839 Strip down GeckoLayerClient - scope down visibility of fields/methods, remove empty methods and dead code, and inline some one-liner methods. 2012-02-22 15:08:46 -05:00
Kartikaya Gupta 1f588cc799 Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Doug Turner 6e5fbc99ac Bad merge. Fixing missing curly brace 2012-02-22 09:58:33 -08:00
Doug Turner 6d9d1aadcb merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Kartikaya Gupta cb54ef9cf9 Bug 729528 - Add logging to figure out how much viewport prediction will help us. r=Cwiiis 2012-02-22 12:02:38 -05:00
Ehsan Akhgari 952a5e4920 Backout changeset b520f34d78f1 but keep the callback parts because they may be useful for other things 2012-02-22 11:35:25 -05:00
Kartikaya Gupta 449a33dab1 Rip out the unused viewport bias and optimum offset code 2012-02-22 10:22:31 -05:00
Kartikaya Gupta 20747b92f2 Reduce some unnecessary logcat spew 2012-02-22 09:37:39 -05:00
Mike Hommey 3d516c049e Bug 728071 part 1 - Move nsXREAppData definition in a separate header, and use it from application.ini.h. r=bsmedberg 2012-02-22 08:12:15 +01:00
Mark Finkle c90b4e91a2 Bug 729324 - Always make sure 'Quit' is last menu r=sriram 2012-02-22 00:12:33 -05:00
Mark Finkle ba8ae1b3f2 Bug 729247 - crash [@ java.lang.NullPointerException: at org.mozilla.gecko.DoorHangerPopup.addDoorHanger(DoorHangerPopup.java)] r=blassey 2012-02-22 00:12:22 -05:00
Mark Finkle c5eb2f37e5 Bug 729115 - java.lang.NullPointerException @ org.mozilla.gecko.GeckoApp.processThumbnail(GeckoApp.java:642) r=blassey 2012-02-22 00:12:14 -05:00
Mark Finkle 53420d46aa Bug 728782 - Add support for Bookmark Link context menu r=wesj r=gbrown 2012-02-22 00:11:50 -05:00
Chenxia Liu 538b876286 Bug 730189 - Fix internet connection check. r=rnewman 2012-02-26 13:56:29 -08:00
Brian Nicholson ecc5f8357a Bug 725990 - Add link support to doorhangers. r=margaret 2012-03-06 15:08:55 -08:00
Margaret Leibovic ff5342bb48 Bug 717787 - Suggestions from <datalist> are not shown in Native Fennec. r=mbrubeck 2012-03-06 13:56:16 -08:00
Margaret Leibovic 51f108fef2 backout 1d4397ee1e9a for wrong bug number 2012-03-06 14:01:02 -08:00
Margaret Leibovic ee8ed45414 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 4f9f53ee52 Bug 733233 - Create getTabForWindow helper function. r=wesj 2012-03-06 13:56:16 -08:00
Margaret Leibovic b13ce4fff3 Bug 628616 - Make sure suggestions from <datalist> are shown in Firefox Mobile UI. r=mbrubeck 2012-03-06 13:56:16 -08:00
Joel Maher 0597a3de17 Bug 731637 - robocop on tegras hit OOM for PixelTest due to getPaintedSurface() array creation. r=kats 2012-03-06 15:08:45 -05:00
Margaret Leibovic 053727a673 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 0f90b0d519 Bug 704879 - (5/6) Add form validation messages. r=lucasr 2012-03-06 11:56:44 -08:00
Margaret Leibovic 569ecf8506 Bug 704879 - (4.5/6) Refactor message handling code into separate private messages. r=lucasr 2012-03-06 11:56:43 -08:00
Margaret Leibovic 2d5ea6e4a8 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 3c818d25fa Bug 704879 - (3/6) Refactor FormAssistant autocomplete logic. r=lucasr 2012-03-06 11:56:42 -08:00
Margaret Leibovic ec459e6b5e Bug 704879 - (2/6) Move FormAssist:AutoComplete message handling to FormAssistPopup. r=lucasr 2012-03-06 11:56:42 -08:00
Margaret Leibovic f78392757a Bug 704879 - (1/6) Refactor AutoCompletePopup to FormAssistPopup. r=lucasr
--HG--
rename : mobile/android/base/AutoCompletePopup.java => mobile/android/base/FormAssistPopup.java
2012-03-06 11:56:41 -08:00
Matt Brubeck 7e3bcbfba3 Bug 730418 - Don't open a new tab when the search key is pressed [r=sriram] 2012-03-06 09:48:33 -08:00
Geoff Lankow 4eafab1a6e Bug 731041 - Tidy up addon inline preferences code, mobile; r=mbrubeck, Unfocused 2012-03-07 00:41:57 +13:00
Ed Morley c43ccd8c05 Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Brian Nicholson c5a87b7583 Bug 727973 - Remove notifyChange from LocalBrowserDB. r=mfinkle 2012-02-21 16:34:21 -08:00
Wes Johnston cfb5ea6566 Bug 727817 - Add hidden click to play button for mobile video controls. r=mfinkle,dolske 2012-02-21 15:53:21 -08:00
Mounir Lamouri 5428f31f50 Bug 727477 - Workaround Galaxy Nexus bug that prevented Battery API to work. r=dougt
This is also changing the default values sent if the device has no battery.
2012-02-22 00:30:51 +01:00
Gian-Carlo Pascutto 8f9592ffe4 Bug 726024 - Rename PlacesTask to Runnable. r=lucasr 2012-02-21 14:17:18 +01:00
Gian-Carlo Pascutto cbb564e771 Bug 726024 - Use Content Provider directly in Profile Migration. r=lucasr 2012-02-21 14:17:18 +01:00
Gian-Carlo Pascutto f639a097b0 Bug 726024 - Allow modified and created dates to be set. r=lucasr 2012-02-21 14:17:18 +01:00
Brad Lassey e2948be7ca bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt 2012-02-18 18:32:50 -05:00
Benoit Girard 4e957ec5f5 Don't do TexImage2D+TexSubImage2D 2012-02-21 16:44:59 -05:00
Benoit Girard 760a7b82e4 mCheckerboardShouldShowChecks should default to true. DONTBUILD 2012-02-21 16:19:23 -05:00
Ehsan Akhgari 548ced21e4 Bug 728614 - Part 4: Remove the viewport structure from browser.js; r=Cwiiis 2012-02-21 13:17:56 -05:00
Jeff Muizelaar d03099ec08 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 eaee6f0c25 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
Benoit Girard 739959af5d Backout c1161ca4bf13 for test failures 2012-02-21 11:34:00 -05:00
Jeff Muizelaar a5b575dbbd Bug 728622. Remove dead code for dealing with view in Layer.java. r=clord
Now that bug 727939 has landed we don't seem to have any need to keep
the view around.
2012-02-21 11:05:09 -05:00
Ali Juma 21da986ddb Bug 728620 - Followup: Add a FIXME comment. DONTBUILD 2012-02-21 10:30:57 -05:00
Brad Lassey 48d5c9de46 bug 726827 - MAPLE: Black thumbnails r=jmuizelaar 2012-02-21 01:22:56 -05:00
Ali Juma 66460ee379 Bug 728620 - Ensure we draw after moving back/forward in history. 2012-02-20 20:47:00 -05:00
Ehsan Akhgari 8977c09c96 Remove viewportExcess 2012-02-20 19:40:50 -05:00
Ehsan Akhgari 6f27aa4fab 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
Joe Drew 8fcf55429a Bug 728631 - Don't disable blending inside our Java rendering code, because we rely on it remaining set from LayerManagerOGL. r=dougt
--HG--
extra : rebase_source : 9fe18ddb4582455fe428f14acb8a931e1b1e4661
2012-02-20 14:48:36 -08:00
Ehsan Akhgari 917af541d8 Fix clicking 2012-02-20 17:47:32 -05:00
Ehsan Akhgari 8b4131caf8 Bug 728614 - Part 2: Remove viewport offsets 2012-02-20 16:51:37 -05:00
Ehsan Akhgari 42741a177d Bug 728614 - Part 1: Remove updateTransform(); r=dougt 2012-02-20 16:39:42 -05:00
Brad Lassey 54d0094288 Bug 728614 - Part 0: Allow querying the viewport information from Java; r=dougt 2012-02-18 19:22:56 -05:00
Ehsan Akhgari af50207d95 Backout changeset c1161ca4bf13 2012-02-20 16:37:51 -05:00
Ehsan Akhgari 8efa9048b5 Backed out changeset cfcc11281ca2 2012-02-20 16:36:56 -05:00
Ehsan Akhgari 04eb83e24f Bug 728614 - Part 1: Remove updateTransform(); r=dougt 2012-02-20 16:36:15 -05:00
Brad Lassey 65183064f1 [mq]: meta_viewport_query
--HG--
extra : rebase_source : 586dfca0cf7d9446e532ecfa38fd126225db36b9
2012-02-18 18:32:50 -05:00
Chris Lord 2c85340d34 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
Blair McBride a931f6d138 Bug 721287 - Change extensions.getAddons.search.browseURL default to include OS and version. r=dtownsend 2012-03-07 21:18:30 +13:00
Blair McBride d4e55f8428 Bug 711679 - Send background version checks to new domain. r=darktrojan,dtownsend 2012-03-07 21:18:28 +13:00
Chris Lord cf909056b1 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 6c9f9299bd 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 17afe6fc2d merge again 2012-02-18 18:17:10 -05:00
Jeff Muizelaar fb0664c562 Bug 727939. Avoid double painting after invalidation. r=bgirard
This reduces the paint rate on things like runfield
so that we only paint at the rate that we're invalidating.

We do so by not requesting render in endTransaction

It looks like endTransaction is only called by endDrawing
on the gecko thread and only on VirtualLayers. We don't
need the extra requestRender call because we've already
done the rendering.
2012-02-18 18:06:30 -05:00
Brad Lassey 7ba6e1d0cd merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey 635110f850 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
Patrick Walton 4fb5a1c0f8 Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Doug Turner 7b90b68c31 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
Ed Morley 2e6816764b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-18 00:16:22 +00:00
Kyle Machulis d827b1cbe0 Back out bug 711601 (changeset 4c8aa2b0ca1c) due to qemu breakage 2012-02-17 15:54:27 -08:00
Chris Lord ae86489e00 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 0db0053669 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 fec2f778be 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 0534c165d3 Bug 728379 - [maple] Use setCSSViewport to set the layout viewport [r=ehsan] 2012-02-17 13:15:12 -08:00
Chris Lord acb4083161 Fix screen/window size change events.
Window size was being treated as equivalent to screen size, which it isn't.
Make sure to send the size-changed event when either the window size or the
screen size change, and to properly differentiate between the two.
2012-02-17 17:25:52 +00:00
Ehsan Akhgari 8d009ca309 Don't call updateViewport two times in a row 2012-02-17 11:58:36 -05:00
Kartikaya Gupta 44dc27c344 (Part 5) Move overrides and abstract/interface implementations up from GeckoGLLayerClient into GeckoLayerClient 2012-02-17 10:33:23 -05:00
Kartikaya Gupta 82f2b521b8 (Part 4) Mark all gfx functions invoked by JNI so I don't shoot myself in the foot shortly 2012-02-17 10:13:56 -05:00
Kartikaya Gupta b8bcac4ce7 (Part 3) Collapse LayerClient into GeckoLayerClient, the only subclass 2012-02-17 10:03:28 -05:00
Kartikaya Gupta dc287ed706 (Part 2) Stop PlaceholderLayerClient from extending LayerClient since it has nothing in common with GeckoLayerClient and makes a mockery of OOP 2012-02-17 09:56:47 -05:00
Kartikaya Gupta 14164b87bd (Part 1) Get rid of LayerController.getLayerClient() 2012-02-17 09:32:24 -05:00
Kartikaya Gupta 28d84cf329 Also remove dangling entrails of the layer client type 2012-02-17 09:16:14 -05:00
Kartikaya Gupta 22939b9e98 Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Kartikaya Gupta e7d3aade18 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Doug Turner 0cd49f54de Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Kartikaya Gupta e3a1548bd1 Cache the checkberboard color so that we don't redo a bunch of work uselessly 2012-02-16 12:04:37 -05:00
Kartikaya Gupta 25a8b12b7a Bug 727565 - Fix new compiler warnings for javac 1.7. r=bnicholson 2012-02-15 22:55:47 -05:00
Sriram Ramasubramanian 66ae3f9362 Bug 727610: Supporting fullscreen on ICS. [r=mfinkle] 2012-02-15 16:14:02 -08:00
Aki Sasaki af68326249 bug 725294 - updated mobile mozconfigs. r=catlee 2012-03-02 11:55:21 -08:00
Brad Lassey 231b20a584 bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Mike Hommey ce43377d28 Bug 713622 - Re-enable elfhack on Fennec XUL. r=mbrubeck 2012-02-17 08:55:36 +01:00
Patrick Walton c48a14f4cd Don't render while pinching. Reduces jank and makes zooming easier to debug. 2012-02-13 22:48:00 -08:00
Patrick Walton 535bdd2173 Scale the displayport by the zoom factor 2012-02-13 22:32:31 -08:00
Patrick Walton 79c9ae2965 Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations 2012-02-13 20:20:38 -08:00
Kartikaya Gupta 7fd9187960 Guard against OOMing in GeckoGLLayerClient.getBitmap like we were doing in GeckoSoftwareLayerClient 2012-02-13 18:15:27 -05:00
Patrick Walton 7a4fea4098 Expose ActivateProgram() and DeactivateProgram() to widget 2012-02-13 13:55:10 -08:00
Kartikaya Gupta ab605909db Reduce diff against m-c; remove unrelated change in AboutHomeContent 2012-02-13 17:43:08 -05:00
Kyle Machulis cc476c09f5 Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-15 13:37:13 -08:00
Kyle Machulis ccc9e1fc29 Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-14 17:51:52 -08:00
Patrick Walton 2e195ead30 Split out Java compositor shader program activation and deactivation into separate functions 2012-02-13 12:27:09 -08:00
Ali Juma 60a6707a4c Enable zooming. 2012-02-12 15:06:34 -05:00
Patrick Walton 3fd9bbd5ac Deactivate vertex attribute arrays and the program. Seems to fix the crashes on PowerVR. 2012-02-10 23:50:13 -08:00
Patrick Walton fd17ee20f7 Uncomment the Java compositor integration, except for the part that causes PowerVR crashes 2012-02-10 23:03:02 -08:00
Patrick Walton b92292791a Fix browser.js ReferenceError 2012-02-10 16:17:15 -08:00
Ali Juma b5c0ee667b Fix race conditions when updating view transform, by switching to an absolute transform. 2012-02-10 16:08:24 -05:00
Ali Juma 272bc00d1b Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton c1d4efa039 Expose the necessary Java routines to render decorations through JNI 2012-02-09 22:58:18 -08:00
Richard Newman 4ec1196567 Bug 727725 - Incorrect assertion in GlobalSession. 2012-02-16 14:58:31 -08:00
Richard Newman 0f6e75885c Bug 726194 - Sync pairing succeeds, but is OFF. 2012-02-16 14:28:04 -08:00
Matt Brubeck 96826993dc Bug 728005 - Crash when entering full screen mode on Android 2.3 [r=sriram] 2012-02-16 14:22:27 -08:00
Mark Finkle e91ebdb4bd Bug 726399 - Robotium: Add simple test for 'Open Link' context menu r=gbrown 2012-02-16 14:32:33 -05:00
Mark Finkle 6839b132ff Backout eb9c17efd1e4, wrong patch 2012-02-16 14:21:52 -05:00
Mark Finkle e1af6ef949 Bug 727730 - Add support for Share Link context menu r=mbrubeck 2012-02-16 14:07:12 -05:00
Mark Finkle 0f51dab68e Bug 726399 - Robotium: Add simple test for 'Open Link' context menu r=gbrown 2012-02-16 14:06:58 -05:00
Justin Lebar 9c6d37a216 Bug 727381 - On Android Fennec, send haptic feedback while a vibration is playing, so as not to clobber it. r=blassey 2012-02-15 13:56:00 -05:00
Wes Johnston c747a5e078 Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey
* * *
Bug 718760 - Fix bustage by removing extra apk_mtime variable. r=glandium
2012-03-08 10:25:44 -08:00
Gian-Carlo Pascutto 3aaab63a66 Bug 721352 - Make Profile Migration use batch operations. r=lucasr 2012-03-12 22:48:15 +01:00
Gian-Carlo Pascutto 7e91f978f0 Bug 721352 - Add support for batch operations in LocalDB. r=lucasr 2012-03-12 22:48:15 +01:00
Wes Johnston b94990898d Backout 1d78e84e678c 2012-03-12 13:35:51 -07:00
Ali Juma 85d808a5f5 Code cleanup. 2012-02-09 17:39:04 -05:00
Mike Hommey b8f46c89e9 Bug 728872 - NULL-check mSoftwareLayerClient in GeckoApp$SessionSnapshotRunnable.run. r=mfinkle 2012-02-21 08:11:37 +01:00
Lucas Rocha 439c84369e Bug 723841 - Add a foreign key to bookmarks table and sanitize special folders (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha c6aae32ef2 Bug 723841 - Define a constant for the predefined root id for bookmarks (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha 376becdbb7 Bug 723841 - Generalize code to create or update special folders (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha f0657386b6 Bug 723841 - Factor out methods to create each part of the database (r=rnewman) 2012-02-20 19:28:27 +00:00
Chris Lord e6817940b3 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
Kyle Machulis 955dfb2aed Bug 711601 - B2G Bluetooth Boiler Plate r=bent 2012-02-20 16:15:19 +01:00
Patrick Walton 8604c20b3e Split up the LayerRenderer's drawing logic in preparation for exposing it to JNI 2012-02-08 22:27:01 -08:00
Patrick Walton 36b2fa3479 Bug 723036 - Port the Java compositor to OpenGL ES 2.0 2012-02-08 21:13:08 -08:00
Benoit Girard c64be82706 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Benoit Girard b7a8f90e50 Merge working on Nexus S 2012-02-08 20:23:27 -05:00
Ali Juma 648e8b7291 Merge. 2012-02-08 19:55:13 -05:00
Benoit Girard 67bc14415d Merge fixes 2012-02-08 19:01:21 -05:00
Benoit Girard 715ac9e901 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Patrick Walton 1cb0fb8d39 Remove CSS transforms as they're basically incompatible with displayports 2012-02-08 13:12:12 -08:00
Ali Juma 3b9d7e2845 Fix incorrect rendering after orientation change. 2012-02-08 16:09:10 -05:00
Benoit Girard 90f58805ed Merge working head with display port head 2012-02-08 12:18:27 -05:00
Benoit Girard b2c3a32e15 Remove RemoveAbstractView, pushing new head 2012-02-08 10:46:26 -05:00
Patrick Walton 7dcaa3b44e Allow redraw while a finger is down. Make this logic work properly later. 2012-02-07 23:37:29 -08:00
Patrick Walton 1309935c66 Lower the minimum viewport change delay to 25 for now 2012-02-07 23:10:58 -08:00
Patrick Walton a7a7b83045 Use a display port in browser.js. Disable zooming and CSS viewport adjustment for now. 2012-02-07 22:45:41 -08:00
Oleg Romashin 35b0cca1ca Bug 729985 - Packaging need to be corrected for OVI store publishing. r=dougt
--HG--
extra : rebase_source : 632b2ee5878e59bfe59f8fa06f4db757eaf3613d
2012-02-27 15:34:20 -05:00
Richard Newman 0665a31fe2 Bug 730526 - Cleanup and idiom in BrowserProvider.java.in. r=lucasr 2012-02-27 10:51:28 -08:00
Richard Newman da38ceb918 Bug 727146: Part 1: deleteHistory should clear private data from the database. r=lucasr 2012-02-27 10:46:36 -08:00
Richard Newman fa7be3338b Bug 727146: Part 0: code tidying in BrowserProvider. r=lucasr 2012-02-27 10:46:35 -08:00
Richard Newman 75ea726b68 Bug 730557 - Part 3: bend Sync's Authorities.java into GlobalConstants. r=rnewman 2012-02-27 10:23:33 -08:00
Richard Newman dabe5a8146 Bug 730557 - Part 2: Stub out parts of BrowserContractHelpers that reflect unlanded parts of Fennec. r=nalexander 2012-02-27 10:23:33 -08:00
Richard Newman 0573217ef7 Bug 730557 - Part 1: Use Fennec BrowserContract directly. r=nalexander 2012-02-27 10:23:33 -08:00
Richard Newman 0515ce74ea Bug 730637 - Base64 support for HttpClient in Android 2.1. r=nalexander 2012-02-27 10:23:33 -08:00
Wes Johnston b14fe868dc Bug 725881 - Content provider for form history. r=lucasr 2012-02-27 10:10:14 -08:00
Margaret Leibovic b0ed392f0d Bug 730358 - Don't use LinkedList's push/pop methods. r=lucasr 2012-02-24 12:12:43 -08:00