Commit Graph

4116 Commits

Author SHA1 Message Date
Markus Stange
4ef3f032b5 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
91a8db2622 Bug 598482 part 3 - Remove synchronous painting APIs from nsIWidget. r=roc 2011-12-23 22:52:21 -05:00
Chris Lord
fc3a62f889 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
efdbbf16e7 Bug 707814 - Awesomebar autocomplete box appears in the wrong place [r=mstange] 2011-12-23 16:36:20 -08:00
Chris Lord
020657935d 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
a3ab0acd4d Bug 356742 - Implement nsCocoaWindow::ConstrainPosition(). r=mnyromyr 2011-12-21 16:13:21 -06:00
James Willcox
32dd584aa5 Bug 670930 - Use asynchronous direct texturing on Android when available 2011-12-21 14:05:23 -05:00
James Willcox
5a4e54fa0d Bug 670930 - Add Android direct texture implementation 2011-12-21 14:03:26 -05:00
Pranav Ravichandran
a12ecf0c1a Bug 710997 - Fix incorrect assignment in PuppetWidget::DispatchPaintEvent(). r=cjones 2011-12-21 01:42:00 -05:00
Jim Mathies
46ef5be123 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
105bef8583 Bug 636564 - Make scroll frames deal correctly with scrollbars that overlay content. r=roc 2011-12-20 13:30:14 +01:00
Ed Morley
ab409eac40 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
6c364b00ad Bug 711073 - fixup vista sdk build bustage post landings in bug 661991. r=neil 2011-12-19 13:27:11 -06:00
Jeff Walden
a0ca3d8af2 Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Ms2ger
070299e0ab Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Doug Turner
6e114593ea Backout of ba92c42f126f 2011-12-17 21:34:03 -08:00
Doug Turner
3405de188d Backout of 8a5cc33141a3 2011-12-17 21:33:44 -08:00
Doug Turner
5c14206d26 Backout of f39dab2d2adb 2011-12-17 21:32:48 -08:00
Doug Turner
50ebb61b52 Backout of 74277c18e7ce 2011-12-17 21:32:24 -08:00
Tim Abraldes
3df8aefc9c Bug 704558 - Added encoder options in encodeImage and encodeScaledImage. r=bbondy 2011-12-16 19:43:10 -05:00
James Willcox
215d32a09a Bug 670930 - Use asynchronous direct texturing on Android when available 2011-12-16 16:40:58 -05:00
James Willcox
fcd57d7e41 back out 8a5cc33141a3 due to android-xul build failure 2011-12-16 14:45:58 -05:00
Jim Mathies
a354e3ded8 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
3525bb5a77 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
4143f62539 Bug 670930 - Add Android direct texture implementation
--HG--
extra : rebase_source : eb3f095e2663c0ebc0a03117ec8883d66dd8f1b5
2011-12-16 10:54:08 -05:00
Masayuki Nakano
b30ca124b1 Bug 204786 Use LookAndFeel for delay to show tooltip r=roc+enndeakin 2011-12-16 18:18:48 +09:00
Alex Pakhotin
f315a7aca6 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
c855fa8dbb 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
9a4af28edb Bug 710041 - Build fixes for gonk widget backend, r=cjones 2011-12-15 15:38:45 -08:00
Doug Sherk
6b007a4035 Bug 710103: Update XPCShell tests for GfxInfo blocklisting r=joe a=mbrubeck 2011-12-14 21:04:35 -08:00
Doug Sherk
936eeb0615 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
99c630965a Bug 689598: fix crash reporter on Android r=BenWa 2011-12-14 21:03:11 -08:00
Doug Sherk
6f5c15e89a 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
a04e6345ab 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
eda2269656 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
c52099cdca 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
792dba0667 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
5868041d51 Bug 708772 - (1/3) Add IsTablet method to AndroidBridge [r=dougt] 2011-12-14 13:53:38 -08:00
Jim Mathies
01435a82d4 Bug 661991 - tests. r=bbondy, a=ehsan 2011-12-14 15:22:53 -06:00
Jim Mathies
7e8f0530a3 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
9d0e730d52 Bug 661991 - close file pickers when the parent window closes. r=ehsan 2011-12-14 15:22:28 -06:00
Jim Mathies
4f489916a4 Bug 661991 - add support for new file pickers. r=ehsan 2011-12-14 15:22:28 -06:00
Jim Mathies
45f97d0130 Bug 661991 - add support for new folder pickers. r=ehsan 2011-12-14 15:22:28 -06:00
Jim Mathies
81f65d7624 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
07e3e725ae Bug 661991 - Cleanup win widget nsFilePicker. r=neil, a=ehsan 2011-12-14 15:22:16 -06:00
Ehsan Akhgari
ee65f0052e Backout changeset 3e972d3efc11 (bug 708307) because it breaks Android tests; a=me 2011-12-14 15:55:17 -05:00
Cameron Kaiser
aaa0fcda5c 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
39ec78e96c 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
bdc254176a 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
3aeaca4299 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