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

15807 Коммитов

Автор SHA1 Сообщение Дата
Jim Mathies 70a1b7c59e Bug 951120 - Detach ICoreWindow related events prior to shutdown, plus some misc. code cleanup. r=bbondy 2014-01-27 09:09:33 -06:00
Jim Mathies 26a6db08e9 Bug 951120 - Don't process native events on the main thread during xpcom shutdown in metro widget. r=bbondy 2014-01-27 09:09:33 -06:00
Marco Chen e531ad5bf0 Bug 958963 - Headset status from input device didn't be recorded by GonkSwitch.r=dhylands. 2014-01-20 17:35:24 +08:00
Daniel Holbert 187c3e6ab2 Bug 964073: Drop unused NS_DEFINE_CID for kNativeFilePickerCID in gtk/nsWidgetFactory.cpp, to fix clang warning. r=karlt 2014-01-26 22:24:56 -08:00
Masayuki Nakano 298c1f399c Bug 329127 Create WidgetEvent::Duplicate() for nsDOMEvent::DuplicatePrivateData() r=smaug 2014-01-27 15:10:44 +09:00
Phil Ringnalda 6253dc2dfe Merge b-i to m-c 2014-01-25 19:58:13 -08:00
Phil Ringnalda 129c8e17d5 Merge m-i to m-c 2014-01-25 19:55:19 -08:00
Andreas Gal b7ded41bdb Bug 961505 - use the mid-point as boundary for xhdpi and beyond as well. r=fabrice 2014-01-25 13:21:01 +01:00
James Willcox d25beb2d07 Bug 963242 - Add null checks in AndroidBridge::JavaThreadDetachFunc() r=kats 2014-01-24 11:04:15 -06:00
Rodrigo Silveira 27d3cc4795 Bug 960144 - Toast notification image implementation r=msamuel
--HG--
extra : rebase_source : e412fda60c6a0ab964e62a209e1a732eb8e74b5e
2014-01-24 16:45:12 -08:00
David Zbarsky b339e3cd5c Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:19 -08:00
Doug Sherk 2ccf81cd36 Bug 962278 - Propagate device DPI to APZC on B2G/gonk. r=kats 2014-01-23 16:34:31 -05:00
Ryan VanderMeulen 3f3b90ac89 Merge m-c to inbound. 2014-01-23 15:58:06 -05:00
Ryan VanderMeulen d64c974566 Merge b2g-inbound to m-c. 2014-01-23 15:39:44 -05:00
Ryan VanderMeulen 154c073fb8 Backed out changeset 5297eafc36e2 (bug 962911) for making B2G reftests much more failure-prone.
CLOSED TREE
2014-01-23 11:50:52 -05:00
Jonathan Watt 6b3eea9e92 Bug 950647 - Make nsImageToPixbuf::ImgSurfaceToPixbuf act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-01-23 11:33:23 +00:00
Olli Pettay 89b7eff82a Bug 962911 - Bring back more-than-one-native-event-per-gecko-event processing, r=avih 2014-01-23 14:49:39 +02:00
Carsten "Tomcat" Book f32b14e35a Backed out changeset a5c71a784e33 (bug 950647) for Linux Build Bustage on a CLOSED TREE 2014-01-23 13:34:56 +01:00
Jonathan Watt 882fe9dcf2 Bug 950647 - Make nsImageToPixbuf::ImgSurfaceToPixbuf act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-01-23 11:33:23 +00:00
Masayuki Nakano d50712b914 Bug 961703 Commit or cancel composition when text/selection/focus is changed during composition for avoiding making some TIPs confused r=m_kato 2014-01-23 18:36:01 +09:00
Masayuki Nakano 4b8b74f442 Bug 544779 part.2 Remove WM_USER_TSF_TEXTCHANGE from nsTextStore r=m_kato 2014-01-23 17:01:16 +09:00
Sotaro Ikeda f9f2c44031 Bug 951732 - Keep TextureClient until Transaction complete. r=nical 2014-01-23 09:31:12 -05:00
Arnaud Bienner ec8e80e938 Bug 929496 - Make GTK color-picker dialog non-modal again. r=dholbert
This reverts changes made in bug 917917, which are not needed anymore now we allow only one color picker to be opened at a time for an input element (since bug 946479).
2014-01-20 22:09:51 +01:00
Sotaro Ikeda 4d758c0459 Bug 961405 - Change GraphicBufferLocked as to use AtomicRefCountedWithFinalize. r=nical, r=pchang, r=doublec, r=mikeh 2014-01-21 13:53:48 -05:00
Nathan Froyd 9950acfd20 Bug 962119 - fix offset table for GetDOMKeyName; r=masayuki 2014-01-21 11:41:24 -05:00
Benoit Jacob 61df69f208 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob aebf0bb92a Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob ed427f9600 Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob e5ed95579b Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Masayuki Nakano 9869bc00d5 Bug 959999 Clean up nsTextStore::Initialize() r=jimm 2014-01-21 21:33:52 +09:00
Phil Ringnalda 27963a40d2 Merge m-c to m-i 2014-01-20 18:46:36 -08:00
David Zbarsky d5aee5db72 Bug 952977: Convert CreateMatrix to gfx::Matrix r=nical 2014-01-20 16:52:04 -05:00
Tim Taubert 8d9d0410f6 Bug 899011 - Make WinTaskbar.GetAvailable() return false if initializing the taskbar fails r=jimm 2014-01-11 23:02:00 +01:00
Ryan VanderMeulen fdae3860b4 Merge b2g-inbound to m-c. 2014-01-19 15:40:48 -05:00
stefanh@inbox.com 6194468ed2 Bug 889085 - Make our sheets semi-transparent. r=mstange. 2014-01-18 12:52:22 +01:00
Sushil Chauhan d008525ff7 Bug 953303 - HwcComposer2D should honor HWC_HINT_CLEAR_FB set by hwcomposer. r=ncameron 2014-01-17 18:55:30 -08:00
Jim Chen c137c2f965 Bug 958706 - Make generated JNI wrappers handle uncaught exceptions; r=blassey
This patch adds AndroidBridge::HandleUncaughtException calls to generated JNI wrappers. Also, the JNI annotation now accepts the noThrow flag to indicate that the JNI caller wishes to handle Exceptions manually.
2014-01-17 23:32:25 -06:00
Jim Chen 2b53995aca Bug 958706 - Add ThrowException and HandleUncaughtException methods to AndroidBridge; r=blassey
ThrowException throws a new exception with the appropriate message, meant for native JNI methods that return to Java code (i.e. methods in AndroidJNI.cpp).

HandleUncaughtException will be called by the generated JNI stubs that C++ code uses. HandleUncaughtException calls the new GeckoAppShell.handleUncaughtException method, which behaves exactly like the normal uncaught exception handler (annotates the crash report and crashes). GeckoAppShell.handleUncaughtException has the noThrow annotation that will be seen by the generated code; as a result, its generated stub will not call HandleUncaughtException and result in a loop.
2014-01-17 23:32:24 -06:00
Jim Chen 9a3802b401 Bug 959237 - Add AndroidBridge::HasEnv checks; r=blassey
For certain tests, the AndroidBridge is not initialized, but some GeckoAppShell functions are still called indirectly. For now, this patch adds checks to skip these calls if there's no AndroidBridge. However, in the future, most of the affected code should be refactored to not require these checks.
2014-01-17 23:32:24 -06:00
Jim Chen 9305d633e9 Bug 959237 - Define GetVM, GetJNIEnv, and GetJNIForThread as infallible; r=blassey
Currently when either of these methods fail, we log something and rely on the calling code to null check. Since these failures are serious and likely unrecoverable, it's better to define these methods as infallible and just crash if they do fail.
2014-01-17 23:32:24 -06:00
Ryan VanderMeulen b989384c30 Merge b2g-inbound to m-c. 2014-01-17 15:04:32 -05:00
Ryan VanderMeulen b087bd1e55 Backed out changeset efdeaff02f48 (bug 937713) for causing bug 958771. 2014-01-17 10:48:55 -05:00
Carsten "Tomcat" Book e11313960c merge mozilla-inbound to mozilla-central 2014-01-17 10:11:39 +01:00
Wes Kocher ae977ba967 Merge b2g-inbound to m-c 2014-01-16 17:22:23 -08:00
Sushil Chauhan 4c4cedfeea Bug 959719 - Add support for HWC_BLIT composition in HwcComposer2D. r=dwilson 2014-01-16 09:47:35 -08:00
Ryan VanderMeulen 127438a7eb Merge inbound to m-c. 2014-01-16 15:06:12 -05:00
Olli Pettay 124795557f Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : e936e5b02dc2e613816fb6f97f9af5a303dc6f6d
2014-01-16 16:09:08 +02:00
Rodrigo Silveira 61a09809fe Bug 952835 - screen goes to sleep while video still playing in Metro Firefox r=jimm
--HG--
extra : rebase_source : 07926a411418a61e20df832ebb032fff5b218a77
2014-01-15 16:11:36 -08:00
Jim Mathies cb8a9f5e7a Bug 959792 - Accomidate content that doesn't support apz scroll or zoom in widget hit testing. Fixes an issue with selection in the navbar while viewing about pages. r=mbrubeck 2014-01-15 15:31:54 -06:00
Ryan VanderMeulen 3f5d1cb811 Merge inbound to m-c. 2014-01-15 14:34:05 -05:00