Commit Graph

12156 Commits

Author SHA1 Message Date
Markus Stange
2d49769823 Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc 2011-12-23 22:52:25 -05:00
Markus Stange
51d245145c Bug 598482 part 18 - Separate NS_WILL_PAINT and NS_PAINT handling; only flush again if no NS_WILL_PAINT event has been sent by the platform. r=roc 2011-12-23 22:52:24 -05:00
Markus Stange
87e56d30a9 Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange
c99c840e17 Bug 598482 part 3 - Remove synchronous painting APIs from nsIWidget. r=roc 2011-12-23 22:52:21 -05:00
Chris Lord
d23cdc52f0 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
c8b073a91c Bug 707814 - Awesomebar autocomplete box appears in the wrong place [r=mstange] 2011-12-23 16:36:20 -08:00
Chris Lord
36d311dfe0 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
e956754556 Bug 356742 - Implement nsCocoaWindow::ConstrainPosition(). r=mnyromyr 2011-12-21 16:13:21 -06:00
James Willcox
de4b11c5d1 Bug 670930 - Use asynchronous direct texturing on Android when available 2011-12-21 14:05:23 -05:00
James Willcox
4db16a76a9 Bug 670930 - Add Android direct texture implementation 2011-12-21 14:03:26 -05:00
Pranav Ravichandran
67b8fad33d Bug 710997 - Fix incorrect assignment in PuppetWidget::DispatchPaintEvent(). r=cjones 2011-12-21 01:42:00 -05:00
Jim Mathies
6477759d1c 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
7d099529c1 Bug 636564 - Make scroll frames deal correctly with scrollbars that overlay content. r=roc 2011-12-20 13:30:14 +01:00
Ed Morley
8e61642d6a 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
091b630835 Bug 711073 - fixup vista sdk build bustage post landings in bug 661991. r=neil 2011-12-19 13:27:11 -06:00
Jeff Walden
2e53b58879 Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Ms2ger
849ea6f2a3 Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Doug Turner
145c9309b4 Backout of ba92c42f126f 2011-12-17 21:34:03 -08:00
Doug Turner
541b00f7c6 Backout of 8a5cc33141a3 2011-12-17 21:33:44 -08:00
Doug Turner
ed7e7d5a1e Backout of f39dab2d2adb 2011-12-17 21:32:48 -08:00
Doug Turner
01edd43220 Backout of 74277c18e7ce 2011-12-17 21:32:24 -08:00
Tim Abraldes
ea7e685f84 Bug 704558 - Added encoder options in encodeImage and encodeScaledImage. r=bbondy 2011-12-16 19:43:10 -05:00
James Willcox
14c2e91c32 Bug 670930 - Use asynchronous direct texturing on Android when available 2011-12-16 16:40:58 -05:00
James Willcox
72ede3876a back out 8a5cc33141a3 due to android-xul build failure 2011-12-16 14:45:58 -05:00
Jim Mathies
b74a3a5959 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
e1fd7358b3 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
41962bb189 Bug 670930 - Add Android direct texture implementation
--HG--
extra : rebase_source : eb3f095e2663c0ebc0a03117ec8883d66dd8f1b5
2011-12-16 10:54:08 -05:00
Masayuki Nakano
8efa64d73b Bug 204786 Use LookAndFeel for delay to show tooltip r=roc+enndeakin 2011-12-16 18:18:48 +09:00
Alex Pakhotin
1273e52b65 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
17a5e93a19 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
e9e8936dd1 Bug 710041 - Build fixes for gonk widget backend, r=cjones 2011-12-15 15:38:45 -08:00
Doug Sherk
043ebf1931 Bug 710103: Update XPCShell tests for GfxInfo blocklisting r=joe a=mbrubeck 2011-12-14 21:04:35 -08:00
Doug Sherk
cf38d95805 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
1a923cc362 Bug 689598: fix crash reporter on Android r=BenWa 2011-12-14 21:03:11 -08:00
Doug Sherk
0d1edb8efe 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
674cb87172 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
778e94f157 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
44ee4e573e 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
90ac0e8729 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
24aec25c9a Bug 708772 - (1/3) Add IsTablet method to AndroidBridge [r=dougt] 2011-12-14 13:53:38 -08:00
Jim Mathies
14757fe847 Bug 661991 - tests. r=bbondy, a=ehsan 2011-12-14 15:22:53 -06:00
Jim Mathies
9a815c7e1d 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
bba2d20be5 Bug 661991 - close file pickers when the parent window closes. r=ehsan 2011-12-14 15:22:28 -06:00
Jim Mathies
3599d7bb0d Bug 661991 - add support for new file pickers. r=ehsan 2011-12-14 15:22:28 -06:00
Jim Mathies
289d14ce7a Bug 661991 - add support for new folder pickers. r=ehsan 2011-12-14 15:22:28 -06:00
Jim Mathies
a1f6357b2f 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
4b15d87e29 Bug 661991 - Cleanup win widget nsFilePicker. r=neil, a=ehsan 2011-12-14 15:22:16 -06:00
Ehsan Akhgari
13a6f5f387 Backout changeset 3e972d3efc11 (bug 708307) because it breaks Android tests; a=me 2011-12-14 15:55:17 -05:00
Cameron Kaiser
4ca29b52ef 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
7dd2dedd76 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