Commit Graph

4114 Commits

Author SHA1 Message Date
Chris Lord
2853435e26 Bug 711426 - Fix some causes of crashes when rotating. r=kats
The lock on the software buffer was not being respected when destroying the
surface on screen rotation, meaning we could destroy it while Gecko was still
drawing to it. This would certainly cause a crash on rotation under the right
conditions. The same situation also occurred in
GeckoSoftwareLayerClient.getBitmap().

We also waited until the next redraw when freeing the old texture associated
with the surface. This had the effect of temporarily increasing the memory
usage (generally by either 4.5 or 9 megabytes). If memory pressure is high,
this could also cause a crash, though it is far less likely than the above case.
2011-12-24 00:49:00 +00:00
Paul O’Shannessy
d1d30cea3e Bug 707814 - Awesomebar autocomplete box appears in the wrong place [r=mstange] 2011-12-23 16:36:20 -08:00
Chris Lord
4122e6b473 Bug 709152 - Squash multiple viewport events in nsAppShell. r=pcwalton
We only ever want to respond to the latest viewport sent, separate the
viewport change into its own event and remove all but the latest in the queue
when processing events.
2011-12-22 11:35:32 +00:00
Steven Michaud
cb8b0e3336 Bug 356742 - Implement nsCocoaWindow::ConstrainPosition(). r=mnyromyr 2011-12-21 16:13:21 -06:00
James Willcox
cc2798c792 Bug 670930 - Use asynchronous direct texturing on Android when available 2011-12-21 14:05:23 -05:00
James Willcox
3b65515dd0 Bug 670930 - Add Android direct texture implementation 2011-12-21 14:03:26 -05:00
Pranav Ravichandran
7c93706b57 Bug 710997 - Fix incorrect assignment in PuppetWidget::DispatchPaintEvent(). r=cjones 2011-12-21 01:42:00 -05:00
Jim Mathies
1846653639 Bug 711654 - Fix for new vista+ file pickers inability to correctly process uri for input paths. r=bbondy 2011-12-21 10:27:23 -06:00
Markus Stange
d63e804d99 Bug 636564 - Make scroll frames deal correctly with scrollbars that overlay content. r=roc 2011-12-20 13:30:14 +01:00
Ed Morley
2e0d6da8de Bug 704056 - Remove countryCode from nsIDOMGeoPositionAddress since it's not in the spec; r=dougt 2011-12-20 02:21:52 +00:00
Jim Mathies
8090c6a424 Bug 711073 - fixup vista sdk build bustage post landings in bug 661991. r=neil 2011-12-19 13:27:11 -06:00
Jeff Walden
f73124604d Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Ms2ger
c480d4db80 Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Doug Turner
2a4b8377d3 Backout of ba92c42f126f 2011-12-17 21:34:03 -08:00
Doug Turner
7543f9ad60 Backout of 8a5cc33141a3 2011-12-17 21:33:44 -08:00
Doug Turner
5ecd025014 Backout of f39dab2d2adb 2011-12-17 21:32:48 -08:00
Doug Turner
9d3905ac3a Backout of 74277c18e7ce 2011-12-17 21:32:24 -08:00
Tim Abraldes
30a6568785 Bug 704558 - Added encoder options in encodeImage and encodeScaledImage. r=bbondy 2011-12-16 19:43:10 -05:00
James Willcox
f2138c4d9f Bug 670930 - Use asynchronous direct texturing on Android when available 2011-12-16 16:40:58 -05:00
James Willcox
eb0c3ecd6f back out 8a5cc33141a3 due to android-xul build failure 2011-12-16 14:45:58 -05:00
Jim Mathies
f7fce21aa4 Bug 661991 - follow up, make sure and clear file lists before calling file picker's Show. r=bbondy. 2011-12-16 09:10:16 -06:00
James Willcox
7de6dda3c3 Bug 670930 - Use asynchronous direct texturing on Android when available
--HG--
extra : rebase_source : 116b2882092d11b17046bdec5ca4d142d088d6cf
2011-12-16 10:54:10 -05:00
James Willcox
2387bed69a Bug 670930 - Add Android direct texture implementation
--HG--
extra : rebase_source : eb3f095e2663c0ebc0a03117ec8883d66dd8f1b5
2011-12-16 10:54:08 -05:00
Masayuki Nakano
a3298d0045 Bug 204786 Use LookAndFeel for delay to show tooltip r=roc+enndeakin 2011-12-16 18:18:48 +09:00
Alex Pakhotin
cc92a9b8bb Bug 595008 - Make Android IME more efficient by reducing communication between Java and Gecko. r=blassey 2011-12-15 13:35:45 -08:00
Chris Lord
2962f7d02b Bug 708307 - Decouple texture size from tile size. r=pcwalton
This removes the hard-coded limit of 1024x2048 tile sizes, and allows for
arbitrary tile-sizes. It will still only allocate texture sizes in powers of
two, however. It replaces the tile size with a buffered-area size, which can be
re-allocated as the screen dimensions change.
2011-12-15 23:45:52 +00:00
Michael Wu
6ff301bae3 Bug 710041 - Build fixes for gonk widget backend, r=cjones 2011-12-15 15:38:45 -08:00
Doug Sherk
02b802d25b Bug 710103: Update XPCShell tests for GfxInfo blocklisting r=joe a=mbrubeck 2011-12-14 21:04:35 -08:00
Doug Sherk
7d8dd6060a Bug 710432: fix Linux GfxInfo to do feature checks r=joe
Also includes changes to allow Linux GfxInfo to provide a vendor and device
id.
2011-12-14 21:03:13 -08:00
Doug Sherk
31ce03363c Bug 689598: fix crash reporter on Android r=BenWa 2011-12-14 21:03:11 -08:00
Doug Sherk
fd15edf8f1 Bug 706739: don't evaluate static blocklist or special cases when evaluating downloaded blocklist r=joe
A bug was introduced in 668004 which caused features to be preffed off while
evaluating the downloaded blocklist, even if they weren't in the list. This
shouldn't actually have any impact on the end user experience, but is definitely
not optimal.
2011-12-14 21:03:08 -08:00
Doug Sherk
59e338dc5d Bug 705959: move some special cases into global blocklists r=joe
Some of the special cases in GfxInfo classes were only necessary because there
was no generalized blocklist. These have been moved into the generalized
blocklist for each GfxInfo.
2011-12-14 21:03:06 -08:00
Doug Sherk
8b607e92e8 Bug 689598: implement Android gfx blocklisting r=joe
Also includes changes to support using the "driver version" field as the Android
SDK version.
2011-12-14 21:03:03 -08:00
Doug Sherk
f00af828aa Bug 704710: refactor GfxDriverInfo/GfxInfo(Base) to support string-based vendor and device id r=joe 2011-12-14 21:03:01 -08:00
Doug Sherk
0696522f34 Bug 699482: refactored GfxDriverInfo init to happen after global init r=bjacob
This patch moves all static initialization of GfxDriverInfo and DeviceFamily
classes to the point that they're actually used. It also converts all static
GfxDriverInfo arrays into nsTArray<GfxDriverInfo> so that they can be used
interchangeably with the downloadable blocklist.

This patch also introduces a new phase of blocklist checking called
BEING_PROCESSED, which is the status set when a blocklist check is currently
being processed. NO_INFO now only means that we have confirmed that a device is
not blocked.
2011-12-14 21:02:59 -08:00
Matt Brubeck
1de8999cca Bug 708772 - (1/3) Add IsTablet method to AndroidBridge [r=dougt] 2011-12-14 13:53:38 -08:00
Jim Mathies
2909382119 Bug 661991 - tests. r=bbondy, a=ehsan 2011-12-14 15:22:53 -06:00
Jim Mathies
237425bcaa Bug 661991 - dynamically load entry point to SHCreateItemFromParsingName and share this with jump list code. r=ehsan. 2011-12-14 15:22:46 -06:00
Jim Mathies
2cd6c2149c Bug 661991 - close file pickers when the parent window closes. r=ehsan 2011-12-14 15:22:28 -06:00
Jim Mathies
218e530c99 Bug 661991 - add support for new file pickers. r=ehsan 2011-12-14 15:22:28 -06:00
Jim Mathies
6540425368 Bug 661991 - add support for new folder pickers. r=ehsan 2011-12-14 15:22:28 -06:00
Jim Mathies
f75842a940 Bug 661991 - Add query interface support, com dialog events, and split up xp/vista+ show calls. r=ehsan 2011-12-14 15:22:28 -06:00
Jim Mathies
549f766a5a Bug 661991 - Cleanup win widget nsFilePicker. r=neil, a=ehsan 2011-12-14 15:22:16 -06:00
Ehsan Akhgari
6d31dbe14a Backout changeset 3e972d3efc11 (bug 708307) because it breaks Android tests; a=me 2011-12-14 15:55:17 -05:00
Cameron Kaiser
78b0d5ea22 Bug 705516 - Always ask images loaded as OS X menu icons to decode. r=smichaud a=mac-only 2011-12-14 14:44:46 -05:00
Chris Lord
970a0497a7 Bug 708307 - Decouple texture size from tile size. r=pcwalton a=android-only
This removes the hard-coded limit of 1024x2048 tile sizes, and allows for
arbitrary tile-sizes. It will still only allocate texture sizes in powers of
two, however. It replaces the tile size with a buffered-area size, which can be
re-allocated as the screen dimensions change.
2011-12-14 19:41:37 +00:00
Jean-Alexandre Anglès d'Auriac
8d7ccfe650 Bug 562506 - Use gtk_icon_theme_add_builtin_icon and gtk_window_set_icon_name for nsWindow::SetIcon with the GTK widget. r=karlt
--HG--
extra : rebase_source : d6f513b35dd4c1bc9fcd7d7609ccbe2bc4940c9e
2011-12-14 11:22:15 +01:00
Chris Coulson
1f2dd823c3 Bug 709259 - Try creating a named cursor before a bitmap cursor. r=karlt
--HG--
extra : rebase_source : fa486f1dae4c162a4a21212ba697e5762e7d0e4b
2011-12-14 11:34:31 +01:00
Michael Wu
bc0a27b9bb Bug 706599 - Handle no default in gonk key dispatching, r=jlebar a=gonk-only 2011-12-13 10:51:25 -08:00
Michael Wu
41ac770a8f Bug 706558 - Remove SetEventCallback, r=roc a=code-removal 2011-12-13 10:51:25 -08:00