Commit Graph

1227 Commits

Author SHA1 Message Date
Richard Newman
81fb296b48 Bug 730528 - Extract LooperThread from GeckoAppShell. r=blassey 2012-02-26 22:34:23 -08:00
Kartikaya Gupta
c3ea07fa03 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
b0bc59501b Take out a line I inadvertently left in in cset ce31a3b140a2 2012-02-26 17:27:58 -05:00
Kartikaya Gupta
b54adee8aa 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
4cae639063 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
b389f9539b Work around white not working as Cherckerboard color. r=kats
--HG--
extra : rebase_source : 768fe9d869c1aff743fbc69b5f537668eedf3298
2012-02-24 15:13:39 -05:00
Doug Turner
63f2081ca1 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Kartikaya Gupta
8a476c9e1c Remove unused parameters passed to endDrawing 2012-02-24 12:11:29 -05:00
Kartikaya Gupta
e955733a8b Pull out tile dimensions being passed around uselessly 2012-02-24 10:51:41 -05:00
Wes Johnston
76e283c6bd Bug 731341 - LoadLibs should take a context. r=blassey 2012-03-08 10:25:44 -08:00
Wes Johnston
eddf07cdb6 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Brad Lassey
132fb3275c 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
74f1cbc5b2 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
027518718c 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
ac77a0167d Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston
9a38d7ae94 Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey 2012-03-08 10:25:44 -08:00
Wes Johnston
e2aba562a7 Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Wes Johnston
7648bbecb7 Bug 731341 - LoadLibs should take a context. r=blassey 2012-03-08 10:25:44 -08:00
Margaret Leibovic
0e7d9e2367 Bug 725483 - Fix up testBookmark to work with the new bookmark UI. r=gbrown 2012-02-23 10:48:48 -08:00
Margaret Leibovic
d006199d08 Bug 727451 - Pressing the back button in the bookmarks list should go up a folder level if possible. r=lucasr 2012-02-23 10:48:48 -08:00
Margaret Leibovic
efb77aade3 Bug 722020 (Part 2) - Fix bookmarks context menu. r=wesj 2012-02-23 10:48:48 -08:00
Margaret Leibovic
b48531c4c5 Bug 722020 - Bookmarks UI with folders. r=lucasr 2012-02-23 10:48:47 -08:00
Margaret Leibovic
a6a8f321b1 Bug 727482 - Remove custom bookmark observer. r=bnicholson 2012-02-23 10:48:45 -08:00
Richard Newman
cb3cf3c03b Bug 730000. r=rnewman 2012-02-23 09:48:54 -08:00
Richard Newman
5dd5726a89 Bug 718238 - Part 6: don't reupload folders when their children array is already accurate. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
db8f11e6dc Bug 718238 - Part 5: allow access to the tracked GUIDs in RepositorySession. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
963d6c1b59 Bug 718238 - Part 4: Safety in checkRecordType. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
0055c0e69e Bug 718238 - Part 3: correct handling of deletion. Generate valid records for deleted bookmarks and history items. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
0999d6b815 Bug 718238 - Part 2: parenting and ordering of bookmarks. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
ae9a04d512 Bug 718238 - Part 1: Safety for logging after computeParentFields returns null. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
a436f7044e Bug 718238 - Part 0: Cleanup and basic improvements. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
ffba050fb4 Bug 729410 - Part 1: Implement basic automatic backoff unless a sync is forced. r=nalexander 2012-02-23 08:14:05 -08:00
Richard Newman
440a4dcaba Bug 729410 - Part 0: We don't use extras to store clusterURL any more. r=nalexander 2012-02-23 08:14:05 -08:00
Lucas Rocha
1b3e66f8fe Bug 713056 - Update list of search engines in the main thread (r=blassey) 2012-02-23 15:24:22 +00:00
Lucas Rocha
59a5c7c4ad Bug 710323 - Clicking on addons should go to their page in AMO (r=mfinkle) 2012-02-23 15:20:49 +00:00
Kartikaya Gupta
60013ccab6 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
1ee0b61340 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
400acd3392 Move transaction lock and synchronization from callers of updateViewport in to updateViewport itself 2012-02-23 15:31:40 -05:00
Kartikaya Gupta
5ec4799956 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
82bff0f17d Remove redundant getDisplayportOrigin method from ViewportMetrics; use getOrigin instead 2012-02-23 15:08:05 -05:00
Kartikaya Gupta
60d8dbfa9d Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp 2012-02-23 14:55:15 -05:00
Kartikaya Gupta
bdb76f0f9c 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
289a985c67 Move the call to moveFrameRateLayer off the UI thread since it calls beginTransaction 2012-02-23 12:54:54 -05:00
Kartikaya Gupta
2d25c1db47 Convert tabs to spaces 2012-02-23 11:31:01 -05:00
Kartikaya Gupta
775d2610b1 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
5db11a7118 Merge backout 2012-02-23 11:09:14 -05:00
Benoit Girard
dbfc4d8191 Backed out changeset c8451607557b 2012-02-23 11:04:11 -05:00
Kartikaya Gupta
cd3149cdd8 Take out unused MultiTileLayer 2012-02-23 10:11:16 -05:00
Kartikaya Gupta
59c802112d Take out the empty GeckoLayerClient.dimensionsChanged method and the unneeded support architecture for it 2012-02-23 10:09:38 -05:00
Ehsan Akhgari
a49ceaf19b Bug 728614 - Part 8: Remove the unneeded assignment from getViewTransform; r=kats 2012-02-22 21:27:36 -05:00
Ehsan Akhgari
f5fdc6357f Address the review comment, missed from the previous push 2012-02-22 17:15:53 -05:00
Ehsan Akhgari
0d41577b36 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
21df951827 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
6cd2dcb55d 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
04fe7046ae Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Doug Turner
2f4a76e385 Bad merge. Fixing missing curly brace 2012-02-22 09:58:33 -08:00
Doug Turner
476b362925 merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Kartikaya Gupta
c37b0d4191 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
e6282dbce5 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
2320513555 Rip out the unused viewport bias and optimum offset code 2012-02-22 10:22:31 -05:00
Kartikaya Gupta
c2af89696d Reduce some unnecessary logcat spew 2012-02-22 09:37:39 -05:00
Mark Finkle
552d8a015d Bug 729324 - Always make sure 'Quit' is last menu r=sriram 2012-02-22 00:12:33 -05:00
Mark Finkle
81c8d9f52b 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
f54d2220c7 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
efe7e6b007 Bug 728782 - Add support for Bookmark Link context menu r=wesj r=gbrown 2012-02-22 00:11:50 -05:00
Chenxia Liu
de66729b71 Bug 730189 - Fix internet connection check. r=rnewman 2012-02-26 13:56:29 -08:00
Brian Nicholson
c3b44a2962 Bug 725990 - Add link support to doorhangers. r=margaret 2012-03-06 15:08:55 -08:00
Margaret Leibovic
0bc1bd559b Bug 717787 - Suggestions from <datalist> are not shown in Native Fennec. r=mbrubeck 2012-03-06 13:56:16 -08:00
Margaret Leibovic
1878e38186 backout 1d4397ee1e9a for wrong bug number 2012-03-06 14:01:02 -08:00
Margaret Leibovic
f018b1d419 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
aa656b2fde 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
775ec3156f Bug 704879 - (5/6) Add form validation messages. r=lucasr 2012-03-06 11:56:44 -08:00
Margaret Leibovic
d15e231c7e 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
d586835f41 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
4132ae495c Bug 704879 - (2/6) Move FormAssist:AutoComplete message handling to FormAssistPopup. r=lucasr 2012-03-06 11:56:42 -08:00
Margaret Leibovic
781f4b9f0c 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
322486105a Bug 730418 - Don't open a new tab when the search key is pressed [r=sriram] 2012-03-06 09:48:33 -08:00
Ed Morley
be847bb9bd Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Brian Nicholson
fe922faff3 Bug 727973 - Remove notifyChange from LocalBrowserDB. r=mfinkle 2012-02-21 16:34:21 -08:00
Mounir Lamouri
80e7747b87 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
4742e3f7df Bug 726024 - Rename PlacesTask to Runnable. r=lucasr 2012-02-21 14:17:18 +01:00
Gian-Carlo Pascutto
e8927abe4d Bug 726024 - Use Content Provider directly in Profile Migration. r=lucasr 2012-02-21 14:17:18 +01:00
Gian-Carlo Pascutto
12a1e46b4f Bug 726024 - Allow modified and created dates to be set. r=lucasr 2012-02-21 14:17:18 +01:00
Mike Hommey
f24d09012b Bug 727960 part 2 - Don't set MOZ_LINKER_CACHE if it was already set. r=mfinkle 2012-02-23 10:57:56 +01:00
Brian Nicholson
9c5863240f Bug 725609 - Bookmarklet test. r=mfinkle,gbrown 2012-02-22 18:26:04 -08:00
Brian Nicholson
05441dd2ba Bug 725609 - Add timeout tasks to test framework. r=jmaher 2012-02-22 18:26:04 -08:00
Brian Nicholson
2448576d01 Bug 725609 - Add Fennec bookmarklet support. r=mfinkle 2012-02-22 18:26:04 -08:00
Richard Newman
1ac8f0ac78 Bug 724292 - Add a ResolverActivity alias so Fennec can be launched by the Android Market app [r=blassey] 2012-02-22 12:53:20 -08:00
Richard Newman
2384954675 Bug 728783 - Provide an efficient method to batch-update bookmark positions. r=lucasr 2012-02-22 12:37:34 -08:00
Brad Lassey
bf42edc9e8 bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt 2012-02-18 18:32:50 -05:00
Benoit Girard
a716a386a9 Don't do TexImage2D+TexSubImage2D 2012-02-21 16:44:59 -05:00
Benoit Girard
d55e42e1bd mCheckerboardShouldShowChecks should default to true. DONTBUILD 2012-02-21 16:19:23 -05:00
Chris Lord
1cd5a15deb 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
081dd8e657 Backout c1161ca4bf13 for test failures 2012-02-21 11:34:00 -05:00
Jeff Muizelaar
c38da242ab 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
Brad Lassey
f92e6ed0ba bug 726827 - MAPLE: Black thumbnails r=jmuizelaar 2012-02-21 01:22:56 -05:00
Joe Drew
fd29de011a 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
0699b06da9 Fix clicking 2012-02-20 17:47:32 -05:00
Ehsan Akhgari
71bd0669a9 Bug 728614 - Part 2: Remove viewport offsets 2012-02-20 16:51:37 -05:00
Brad Lassey
44e01a9f42 Bug 728614 - Part 0: Allow querying the viewport information from Java; r=dougt 2012-02-18 19:22:56 -05:00
Ehsan Akhgari
d61a5f9e94 Backout changeset c1161ca4bf13 2012-02-20 16:37:51 -05:00
Brad Lassey
115c977f43 [mq]: meta_viewport_query
--HG--
extra : rebase_source : 586dfca0cf7d9446e532ecfa38fd126225db36b9
2012-02-18 18:32:50 -05:00
Brad Lassey
ed95e9364f merge again 2012-02-18 18:17:10 -05:00
Jeff Muizelaar
3a93b5a4c5 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
34aa551009 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey
e85e784817 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
Patrick Walton
a93537390c Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Chris Lord
78e424b0f7 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
Kartikaya Gupta
c4e060665c (Part 5) Move overrides and abstract/interface implementations up from GeckoGLLayerClient into GeckoLayerClient 2012-02-17 10:33:23 -05:00
Kartikaya Gupta
e51de4eecb (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
a9d7bc61fb (Part 3) Collapse LayerClient into GeckoLayerClient, the only subclass 2012-02-17 10:03:28 -05:00
Kartikaya Gupta
ebc21570a5 (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
a5b438d771 (Part 1) Get rid of LayerController.getLayerClient() 2012-02-17 09:32:24 -05:00
Kartikaya Gupta
43b2051ae9 Also remove dangling entrails of the layer client type 2012-02-17 09:16:14 -05:00
Kartikaya Gupta
417e4428c0 Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Kartikaya Gupta
31c5b5c646 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Doug Turner
222fba130c Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Kartikaya Gupta
64f4f0f8e3 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
3ad69b3dbd Bug 727565 - Fix new compiler warnings for javac 1.7. r=bnicholson 2012-02-15 22:55:47 -05:00
Sriram Ramasubramanian
cb1c69f23d Bug 727610: Supporting fullscreen on ICS. [r=mfinkle] 2012-02-15 16:14:02 -08:00
Brad Lassey
ab48da35f9 bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Patrick Walton
fa07e9b633 Don't render while pinching. Reduces jank and makes zooming easier to debug. 2012-02-13 22:48:00 -08:00
Patrick Walton
dd0a3bbc18 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
daf42909cc Guard against OOMing in GeckoGLLayerClient.getBitmap like we were doing in GeckoSoftwareLayerClient 2012-02-13 18:15:27 -05:00
Patrick Walton
b4211fd4ba Expose ActivateProgram() and DeactivateProgram() to widget 2012-02-13 13:55:10 -08:00
Kartikaya Gupta
3eaca9fb0c Reduce diff against m-c; remove unrelated change in AboutHomeContent 2012-02-13 17:43:08 -05:00
Patrick Walton
09501a39aa Split out Java compositor shader program activation and deactivation into separate functions 2012-02-13 12:27:09 -08:00
Patrick Walton
8a076808c5 Deactivate vertex attribute arrays and the program. Seems to fix the crashes on PowerVR. 2012-02-10 23:50:13 -08:00
Patrick Walton
78cb81814f Uncomment the Java compositor integration, except for the part that causes PowerVR crashes 2012-02-10 23:03:02 -08:00
Ali Juma
64839a1fdf Fix race conditions when updating view transform, by switching to an absolute transform. 2012-02-10 16:08:24 -05:00
Ali Juma
96f267b56a Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
fdcd9a93f7 Expose the necessary Java routines to render decorations through JNI 2012-02-09 22:58:18 -08:00
Richard Newman
098eea8f40 Bug 727725 - Incorrect assertion in GlobalSession. 2012-02-16 14:58:31 -08:00
Richard Newman
85abf16249 Bug 726194 - Sync pairing succeeds, but is OFF. 2012-02-16 14:28:04 -08:00
Matt Brubeck
fe86b1e34e Bug 728005 - Crash when entering full screen mode on Android 2.3 [r=sriram] 2012-02-16 14:22:27 -08:00
Mark Finkle
de6c422c44 Bug 726399 - Robotium: Add simple test for 'Open Link' context menu r=gbrown 2012-02-16 14:32:33 -05:00
Mark Finkle
3e353a996a Backout eb9c17efd1e4, wrong patch 2012-02-16 14:21:52 -05:00
Mark Finkle
0051759203 Bug 727730 - Add support for Share Link context menu r=mbrubeck 2012-02-16 14:07:12 -05:00
Mark Finkle
a70ef92093 Bug 726399 - Robotium: Add simple test for 'Open Link' context menu r=gbrown 2012-02-16 14:06:58 -05:00
Justin Lebar
cc201aa57f 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
3620e4bf29 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
7e2fd8ea0d Bug 721352 - Make Profile Migration use batch operations. r=lucasr 2012-03-12 22:48:15 +01:00
Gian-Carlo Pascutto
ddd1e4d44e Bug 721352 - Add support for batch operations in LocalDB. r=lucasr 2012-03-12 22:48:15 +01:00
Wes Johnston
be5f913adf Backout 1d78e84e678c 2012-03-12 13:35:51 -07:00
Ali Juma
54af353fd7 Code cleanup. 2012-02-09 17:39:04 -05:00
Mike Hommey
afba0fac42 Bug 728872 - NULL-check mSoftwareLayerClient in GeckoApp$SessionSnapshotRunnable.run. r=mfinkle 2012-02-21 08:11:37 +01:00
Lucas Rocha
4c9b55784a 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
bbd029f43e Bug 723841 - Define a constant for the predefined root id for bookmarks (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
b12f77ee39 Bug 723841 - Generalize code to create or update special folders (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
4b17e0fc01 Bug 723841 - Factor out methods to create each part of the database (r=rnewman) 2012-02-20 19:28:27 +00:00
Patrick Walton
efc1f6ee1d Split up the LayerRenderer's drawing logic in preparation for exposing it to JNI 2012-02-08 22:27:01 -08:00
Patrick Walton
83f031eba7 Bug 723036 - Port the Java compositor to OpenGL ES 2.0 2012-02-08 21:13:08 -08:00
Benoit Girard
beb2ae7df8 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Benoit Girard
b262f4ad9d Merge working on Nexus S 2012-02-08 20:23:27 -05:00
Ali Juma
a2d1806910 Merge. 2012-02-08 19:55:13 -05:00
Benoit Girard
ea6c7d744f Merge fixes 2012-02-08 19:01:21 -05:00
Benoit Girard
2f35d690b6 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Ali Juma
b0394626a2 Fix incorrect rendering after orientation change. 2012-02-08 16:09:10 -05:00
Benoit Girard
ad35e17cb4 Merge working head with display port head 2012-02-08 12:18:27 -05:00
Benoit Girard
9b2cd37240 Remove RemoveAbstractView, pushing new head 2012-02-08 10:46:26 -05:00
Patrick Walton
67c4b7f7be Allow redraw while a finger is down. Make this logic work properly later. 2012-02-07 23:37:29 -08:00
Patrick Walton
008db0822a Lower the minimum viewport change delay to 25 for now 2012-02-07 23:10:58 -08:00
Richard Newman
73bab25005 Bug 730526 - Cleanup and idiom in BrowserProvider.java.in. r=lucasr 2012-02-27 10:51:28 -08:00
Richard Newman
36361ff9c0 Bug 727146: Part 1: deleteHistory should clear private data from the database. r=lucasr 2012-02-27 10:46:36 -08:00
Richard Newman
078d7d6765 Bug 727146: Part 0: code tidying in BrowserProvider. r=lucasr 2012-02-27 10:46:35 -08:00
Richard Newman
1484ed347e Bug 730557 - Part 3: bend Sync's Authorities.java into GlobalConstants. r=rnewman 2012-02-27 10:23:33 -08:00
Richard Newman
a8a3cf0481 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
eeab16ce33 Bug 730557 - Part 1: Use Fennec BrowserContract directly. r=nalexander 2012-02-27 10:23:33 -08:00
Richard Newman
1af00ae805 Bug 730637 - Base64 support for HttpClient in Android 2.1. r=nalexander 2012-02-27 10:23:33 -08:00
Wes Johnston
459a282d8d Bug 725881 - Content provider for form history. r=lucasr 2012-02-27 10:10:14 -08:00
Margaret Leibovic
5090ad1dec Bug 730358 - Don't use LinkedList's push/pop methods. r=lucasr 2012-02-24 12:12:43 -08:00
Kartikaya Gupta
e56395dfae Bug 730710 - Add a GeckoEventResponder interface to allow event listeners to respond to events as well. r=blassey 2012-02-27 10:13:36 -05:00
Gian-Carlo Pascutto
17e01b33af Bug 726821 - Push Cursor usage down into native bridge code. r=blassey 2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
32ebb16de0 Bug 727264 - Update Profile Migration to use Cursors. r=blassey 2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
50142bc5c6 Bug 727264 - Add an extra argument to pass more SQLite query results. Cleanup & simplify bridge. r=blassey 2012-02-27 12:28:21 +01:00
Marina Samuel
74bb876536 Bug 715796 - Clients engine. r=rnewman 2012-03-05 20:53:14 -08:00
Nick Alexander
9a97620d9d Bug 732114 - Untangle Bookmark specific code in AndroidBrowserRepositoryTest. r=rnewman 2012-03-05 20:53:14 -08:00
Richard Newman
bb48da370c Bug 732768 - Eliminate shared state and concurrency problems in tests. r=nalexander 2012-03-05 20:53:14 -08:00
Richard Newman
4b3ef26701 Bug 732640 - Part 1: fix some Cobertura warnings. r=trivial 2012-03-05 20:53:13 -08:00
Chris Peterson
1bbf57d4da Bug 732634 - Preserve IME option bits when toggling IME action bits on AwesomeBar Go/Search mode change. r=dougt 2012-03-02 17:00:22 -08:00
Brian Nicholson
0ebcb812ef Bug 729252 - Cache cursor data for AwesomeBar context menu. r=mfinkle 2012-03-05 13:31:55 -08:00
Brian Nicholson
edfc18cb86 Bug 726080 - Only update tab URLs if valid. r=mfinkle 2012-03-05 13:20:04 -08:00
Ali Juma
ac787b0863 Move surface ownership to GLContextProviderEGL.
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
f9ebf5ebe2 Pause/resume composition on surface destruction/creation. 2012-02-06 13:57:06 -05:00
Ali Juma
92e59fd959 Add support for pausing/resuming composition from Java. 2012-02-05 13:33:38 -05:00
Patrick Walton
402747340d Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Patrick Walton
50c7df015c Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
9159739ff5 Stub ViewTransform code; unbork the viewport size a bit 2012-02-03 16:39:15 -08:00
Patrick Walton
0b4a53c433 Add a virtual layer and GL layer client implementation 2012-02-03 15:48:26 -08:00
Benoit Girard
8b06842a39 Change delay to 15ms 2012-02-03 14:18:48 -05:00
Chris Peterson
e056f2929b Bug 734156 - Part 2: Clamp current selection's indexes. r=blassey 2012-03-08 17:21:18 -08:00
Chris Peterson
6f580d3659 Bug 734156 - Part 1: Backout ineffective workaround d923ae85be05 (Reset IME selection when Fennec resumes). r=blassey 2012-03-08 10:08:15 -08:00
Richard Newman
4190ddca99 Bug 709403 - Parts 3-6: tabs repository and stage. r=nalexander 2012-03-09 15:53:23 -08:00
Mark Finkle
142e0381f9 Bug 732753 - Update or remove the URL redirector UA in App.java.in r=blassey 2012-03-09 17:59:51 -05:00
Richard Newman
5846d7780a Bug 734487 - Part 1. r=trivial 2012-03-09 13:30:57 -08:00
Richard Newman
fa4f6e7a02 Bug 734487 - Part 0. r=trivial 2012-03-09 13:30:50 -08:00
Sriram Ramasubramanian
af2542ef69 Bug 708266: UI to show tabs remote tabs. [r=mfinkle, r=rnewman]
--HG--
rename : mobile/android/base/resources/drawable/background.png => mobile/android/base/resources/drawable-nodpi/background.png
2012-03-09 10:42:43 -08:00
Kartikaya Gupta
f7c864b916 Bug 732069 - Fix startup crash when building Fennec Native with the old linker. r=wesj 2012-03-09 13:23:00 -05:00
Margaret Leibovic
63a2889dea Bug 731963 - Fix NPE at org.mozilla.gecko.DoorHangerPopup.updatePopup. r=sriram 2012-03-01 17:46:47 -08:00
Brian Nicholson
c0f82b0771 Bug 731372 - Fix NPE in SessionSnapshotRunnable. r=blassey 2012-03-01 12:02:09 -08:00
Brian Nicholson
7f483620e2 Bug 731483 - Fix NPE for thumbnails when Gecko is busy. r=blassey 2012-03-01 11:10:08 -08:00
Kartikaya Gupta
df1633e270 Bug 723295 - Prevent startup crashes on devices with API level >= 8 and no SD card. r=wesj 2012-02-25 23:22:40 -05:00
Kartikaya Gupta
56e190cf8f Bug 726382 - Fold the GeckoDirProvider and a bunch of duplicated/complicated code into a new GeckoProfile class. r=wesj 2012-02-25 23:22:40 -05:00
Ryan VanderMeulen
498e286582 Back out 940194c616f2 (bug 729237) on suspicion of Android XUL bustage. 2012-02-25 22:09:23 -05:00
Eitan Isaacson
b803f96348 Bug 729237 - Fixed AndroidBridge emit a11y event function, added java string class as class member. r=blassey 2012-02-25 20:38:27 -05:00
Benoit Girard
92aebc0551 Remove deadcode 2012-02-03 10:26:54 -05:00
Patrick Walton
cc6fa599ae Eliminate coupling between the software layer client and the rest of Fennec 2012-02-02 23:30:41 -08:00
Patrick Walton
c2c88cf60a Pull parts of GeckoSoftwareLayerClient that will be used for GL layers into a generic GeckoLayerClient class 2012-02-02 22:07:05 -08:00
Patrick Walton
2b6bcfedfa Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Benoit Girard
8c2ddab43b Fix problems with Nexus S init 2012-02-02 13:57:38 -05:00
Benoit Girard
36780c8b69 Progress on omtc integration 2012-02-01 16:18:35 -05:00
Benoit Girard
7468656545 Move registerCxxCompositor to FlexView 2012-02-01 14:15:52 -05:00
Ali Juma
bc530734b9 Merge m-c to kiwifox 2012-02-01 12:07:14 -05:00
Patrick Walton
107405a6ee Initial import of the flexible GL surface view 2012-01-31 21:35:52 -08:00
Benoit Girard
a6b4978cad Android build fixes 2012-01-31 14:28:37 -05:00
Benoit Girard
7768764c56 merge mc into kiwifox 2012-01-31 13:55:51 -05:00
Doug Turner
1fff79230b Bug 720092 - java.lang.IndexOutOfBoundsException: getChars (0 ... 88168) ends beyond length 0. We do not know why this is happening yet. This patch catches the throw and logs what values we have for start and end. r=alexp 2012-01-31 09:24:31 -08:00
Kartikaya Gupta
248b760bba Bug 721125 - Prevent the edge resistance from being negative, which can wreak havoc on the viewport. r=pcwalton 2012-01-31 00:42:40 -05:00
Benoit Girard
8b421129d7 Merge fixes 2012-01-30 15:57:30 -05:00
Chris Lord
c1e993df15 Bug 722068 - Fix invalidation during animations in MultiTileLayer. r=pcwalton
The buffer in MultiTileLayer is invalidated each time the origin or resolution
changes. MultiTileLayer was using the last updated origin/resolution instead of
the last set, so if Gecko was animating and locked the layer for long enough,
the buffer would be incorrectly invalidated due to the origin/resolution not
being updated.
2012-01-31 09:36:02 +00:00
Chris Lord
30f5d53aa8 Bug 720613 - Prevent resizing before the surface has been created. r=pcwalton
Prevent trying to resize the buffer before the surface has been created. At
that point, we wouldn't know our maximum texture size, so we would've thrown a
RuntimeException.
2012-01-31 09:36:00 +00:00
Benoit Girard
cc153dc324 Mergi mc to kiwifox, lots of conflicts so may not build 2012-01-30 13:38:20 -05:00
Wes Johnston
6b146e12b9 Bug 718959 - Use data uri for homescreen shortcuts. r=blassey 2012-01-28 18:24:51 +01:00
Wes Johnston
bd24df5dbe Bug 711071 - Check for scrollable in velocity calculations. r=pcwalton 2012-01-28 18:23:45 +01:00
Kartikaya Gupta
2f3d0a8be1 Bug 721888 - Fix compiler warnings. r=blassey 2012-01-27 21:00:03 -05:00
Benoit Girard
349ea74b39 Add missing files 2012-01-27 13:32:37 -05:00
Brian Nicholson
641749e991 Bug 716681 - Tabs are being duplicated when going back into Fennec. r=blassey 2012-01-27 17:33:02 -08:00
Brian Nicholson
78c3d29493 Bug 721577 - Race condition in about:home for tabs from last time. r=mfinkle 2012-01-27 17:28:47 -08:00
Brian Nicholson
5a6a82d6fd Bug 719195 - about:Home displayed briefly before session restore. r=mfinkle 2012-01-27 17:28:30 -08:00
Wes Johnston
d1b5be93de Bug 721079 - Report pages with touch event listeners to Java. r=mfinkle 2012-01-30 20:47:23 -08:00
Kartikaya Gupta
023caa61db Bug 708687 - Snap the page when the page size changes and pushes it into overscroll. r=pcwalton 2012-01-30 23:43:36 -05:00
Sriram Ramasubramanian
2c67630f17 Bug 713464: Application Locale should not be reset from CPP. [r=mfinkle] 2012-01-30 19:59:47 -08:00
Kartikaya Gupta
591a8d6a69 Bug 720144 - Add a simple pixel test to testLoad to ensure the page loaded and was visible. r=jmaher 2012-01-30 22:46:34 -05:00
Kartikaya Gupta
67add8af20 Bug 720144 - Expose methods in robocop to grab the painted surface and to compare pixels. r=jmaher 2012-01-30 22:46:13 -05:00
Kartikaya Gupta
10db96c244 Bug 720144 - Allow listening for draw updates and obtaining a copy of the composited surface for robocop testing. r=Cwiiis 2012-01-30 22:45:38 -05:00
Benoit Girard
2a3688a8df Partial work for android OGLSurfaceView
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
Sriram Ramasubramanian
ce6420700a Bug 715213: Move "+" to left side on Tab menu. [r=mfinkle] 2012-01-27 13:50:26 -08:00
Sriram Ramasubramanian
4b2173480e Bug 720698: ICS should use blue outline color for URL bar. [r=mfinkle] 2012-01-27 12:28:45 -08:00
Sriram Ramasubramanian
831dffdf30 Bug 717674: AutoCompletePopup list should be native to the device. [r=mfinkle] 2012-01-27 12:22:05 -08:00
Sriram Ramasubramanian
e73abb5fd9 Bug 712526: Restrict tabs menu to occupy only 2/3 of the screen. [r=mfinkle] 2012-01-27 12:18:02 -08:00
Sriram Ramasubramanian
893a7ed127 Bug 711198: Autocomplete Popup should have a minWidth. [r=mfinkle] 2012-01-27 12:10:45 -08:00
Lucas Rocha
acea092a8a Bug 725914 - Remove sub-select from the table join for bookmark and history (r=mfinkle) 2012-02-22 11:47:13 +00:00
Sriram Ramasubramanian
fbad323c22 Bug 713402: Tabs not shown in awesomescreen in honeycomb. [r=mfinkle] 2012-01-27 11:58:18 -08:00
Sriram Ramasubramanian
2c20f8a1f8 Bug 712687: ICS should use a different layout for landscape mode. [r=mfinkle] 2012-01-27 11:19:13 -08:00
Richard Newman
73e55fae9d Bug 724328 - Bump Android Sync version to 0.5. r=rnewman 2012-02-15 22:05:53 -08:00
Richard Newman
fd086f2d10 Bug 726054 - Desktop parity: track last sync time from final upload, not final fetch. r=nalexander 2012-02-15 22:05:53 -08:00
Nick Alexander
2fa32fa574 Bug 709408 - Part 2: Remove Cryptographer. r=rnewman 2012-02-15 22:05:53 -08:00
Nick Alexander
475a715c8b Bug 709408 - Part 1: Remove SyncCryptographer. r=rnewman 2012-02-15 22:05:53 -08:00
Richard Newman
f38fdadb6d Bug 725913 - Don't log credentials during setup. 2012-02-15 22:05:53 -08:00
Richard Newman
6a8f80946b Bug 725525 - Part 2: make Logger cache log levels. 2012-02-15 22:05:52 -08:00