Commit Graph

7865 Commits

Author SHA1 Message Date
Olli Pettay
7fb9d19abe Backout Bug 953435 to fix bug 959281, a=backout 2014-02-02 20:12:27 +02:00
Ryan VanderMeulen
30ecfe5a0e Merge m-c to inbound. 2014-01-31 21:16:16 -05:00
Blake Kaplan
d8fa50d973 Bug 966398 - Kill nsIBidiKeyboard::SetLangFromBidiLevel. r=roc
--HG--
extra : rebase_source : 3a8a5a58e6bf56f8201a0ffbe0efc22e686507ec
2014-01-31 15:02:44 -08:00
Ryan VanderMeulen
f8ff09325a Merge m-c to fx-team. 2014-01-31 16:59:29 -05:00
Masayuki Nakano
992aa654d6 Bug 962140 Use PeekMessage() instead of GetMessage() in KeyboardLayout.cpp r=jimm 2014-02-01 01:31:01 +09:00
Carsten "Tomcat" Book
6f2a1d22c0 Merge mozilla-central to mozilla-inbound 2014-01-31 13:03:35 +01:00
Carsten "Tomcat" Book
a10c0f0add merge fx-team to mozilla-central 2014-01-31 12:52:17 +01:00
Masayuki Nakano
f837eb5d89 Bug 964626 Fix some nits of logging code in nsTextStore r=jimm 2014-01-31 20:23:36 +09:00
Olli Pettay
cd30a9b12b Backout Bug 930793 - Remove favor performance mode (we have still racy b2g tests), a=backout
--HG--
extra : rebase_source : 6f6de1cbf54670d63b74c44ca0134ed9c5354d2b
2014-01-30 21:35:44 -08:00
Masayuki Nakano
ab69ecbea0 Bug 789706 part.2 nsTextStore::CreateNativeCaret() should be called only when active TIP is ATOK r=emk 2014-01-31 11:17:25 +09:00
Masayuki Nakano
06c782134f Bug 789706 part.1 Create native caret over our caret when ITextStoreACP::GetTextExt() is called during composition r=emk 2014-01-31 11:17:24 +09:00
Ryan VanderMeulen
b5a0391a64 Merge m-c to fx-team. 2014-01-30 16:40:31 -05:00
Tim Abraldes
8c241f0da8 bug 961157. Don't append "metrobrowser" to our command lines. Don't expect "metrobrowser" on our command lines. r=jimm 2014-01-30 12:29:12 -08:00
Carsten "Tomcat" Book
16cbd5a063 Merge mozilla-central to mozilla-inbound 2014-01-30 12:08:09 +01:00
Carsten "Tomcat" Book
4bb9a9f598 merge b2g-inbound to mozilla-central 2014-01-30 10:59:15 +01:00
Carsten "Tomcat" Book
3b1bb73510 merge mozilla-inbound to mozilla-central 2014-01-30 10:57:47 +01:00
Dave Hylands
76b05a00d5 Bug 851680 - Set kernel timezone so that external sdcards get local time rather than UTC time.
--HG--
extra : rebase_source : 74745fda004671a7c02df132877db7b6be4c5d54
2014-01-28 13:33:15 -08:00
Marina Samuel
0c82400c5a Bug 962815 - Update pin button after pin decision is made. r=rsilveira 2014-01-29 16:20:29 -05:00
Neil Deakin
ee782b7b75 Bug 943759, [Australis], support mousethrough on panels to allow mouse events to pass through to the content behind, implemented on Windows, Mac and Linux, use this for the UI tour highlight, r=neil,jmathies,karlt 2014-01-31 08:27:43 -05:00
Vladimir Vukicevic
5a9f9c3174 b=951799, cache uniforms in OGLShaderProgram, part 2 - fix LayerProgramProjectionMatrix; r=bjacob 2014-01-29 17:53:38 -05:00
Matt Woodrow
5f00132e5d Bug 962786 - Convert nsDragService to use Moz2D. r=roc
* * *
Bug 962786 - Bustage fix on a CLOSED TREE
2014-01-29 13:10:33 +13:00
Nick Lebedev
568a26741f Bug 822898. Add maxTouchPoints attribute to navigator. r=romaxa,smaug
--HG--
extra : rebase_source : e3f84cb38ee2a0c75bf775027c8a59e4f9e64908
2014-01-28 08:09:34 -08:00
Makoto Kato
e95745c71c Bug 960877 - Part 3. Always notice IME information to parent process for supporting NS_QUERY event if not B2G. r=masayuki 2014-01-29 18:32:39 +09:00
Makoto Kato
c966f62b9d Bug 960877 - Part 2. Remove mWantHints from nsIMEUpdatePreference. r=masayuki 2014-01-29 18:32:35 +09:00
Makoto Kato
65a3744ab3 Bug 960877 - Part 1. Add helper method to nsIMEUpdatePreference. r=masayuki 2014-01-29 18:31:57 +09:00
Phil Ringnalda
f6238bafc1 Backed out 5 changesets (bug 962786, bug 952011) for svg test_text_selection.html bustage
CLOSED TREE

Backed out changeset d7a6a64b42f0 (bug 962786)
Backed out changeset e50ced4f4040 (bug 952011)
Backed out changeset c9e6fd6d5a03 (bug 952011)
Backed out changeset 406540ed9da0 (bug 952011)
Backed out changeset d6f164b6421a (bug 962786)
2014-01-28 19:37:54 -08:00
Matt Woodrow
ad06ae230b Bug 962786 - Bustage fix on a CLOSED TREE 2014-01-29 13:54:17 +13:00
Jim Chen
1250baa3a1 Bug 964813 - Make HandleUncaughtException JNI wrapper multithreaded; r=kats 2014-01-28 18:32:28 -06:00
Jim Chen
1231d2bc33 Bug 963242 - Only save JNI env in TLS when first attaching; r=kats 2014-01-28 18:32:28 -06:00
Matt Woodrow
2b66d6f29a Bug 962786 - Convert nsDragService to use Moz2D. r=roc 2014-01-29 13:10:33 +13:00
Doug Sherk
d785ec575a Bug 960846: Round Gonk touches instead of truncating them. r=mwu 2014-01-28 12:55:46 -05:00
Kartikaya Gupta
49a38a6b30 Bug 961280 - Prevent the APZ repaint request from clobbering a layout-driven async scroll. r=tn 2014-01-28 17:54:59 -05:00
Oskar Eisemuth
ae2878f93d Bug 701479 - Remove usage of EnumPrintersW to test if port is FILE:. nsDeviceContextSpecWin shouldn't start UI for asking for a filename nor query all possible printers. r=jimm 2014-01-28 16:31:20 +01:00
Masayuki Nakano
d710c5e8b2 Bug 749123 Don't use GtkIMContextSimple for IME disabled editor (GTK3 build) r=karlt 2014-01-28 18:02:08 +09:00
Masayuki Nakano
8363b356e0 Bug 931378 Set input purpose to IM context r=karlt 2014-01-28 18:02:08 +09:00
Masayuki Nakano
18cff6bdb6 Bug 962005 Make mozilla::TextComposition ref-countable class r=smaug 2014-01-28 17:19:29 +09:00
Markus Stange
4b70b0a398 Bug 958674 - Invalidate the popup content view when showing the popup. r=smichaud 2014-01-28 00:04:41 +01:00
ISHIKAWA, Chiaki
b89890d521 Bug 963550 - Warn about OpenGL non-support only once during execution instead of spamming the log. r=bjacob 2014-01-27 15:40:50 -05:00
David Zbarsky
ac7a35fed2 Bug 952977: Convert PrepareViewport to gfx::Matrix4x4 r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
0a543106f3 Bug 952977: Convert OGLShaderProgram to gfx::Matrix r=nical 2014-01-27 15:25:20 -05:00
Jim Mathies
b94a5991a9 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
21f0fe30cc 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
Jim Mathies
00e52bcaa7 Bug 950241 - Add new metrofx restart command line flag in MetroAppShell. r=bbondy 2014-01-30 13:32:48 -06:00
Jim Mathies
41cb9125b5 Bug 950241 - Add update restart flag to metro utils. r=bbondy 2014-01-30 13:32:47 -06:00
Birunthan Mohanathas
89f96b243e Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Kartikaya Gupta
3b9d933124 Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm 2014-02-05 17:43:20 -05:00
Ryan VanderMeulen
081e338ac6 Merge m-c to inbound on a CLOSED TREE. 2014-02-05 15:54:37 -05:00
Jim Chen
4090d55fc0 Bug 959214 - Use unwinder when getting ANR native stack; r=blassey 2014-02-05 12:37:54 -06:00
Marco Chen
21f0453e57 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
c22521e267 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
66df3bb4d2 Bug 329127 Create WidgetEvent::Duplicate() for nsDOMEvent::DuplicatePrivateData() r=smaug 2014-01-27 15:10:44 +09:00
Phil Ringnalda
f0d4035b25 Merge b-i to m-c 2014-01-25 19:58:13 -08:00
Phil Ringnalda
7cb58aa799 Merge m-i to m-c 2014-01-25 19:55:19 -08:00
Andreas Gal
7312c06878 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
71e7c4ea41 Bug 963242 - Add null checks in AndroidBridge::JavaThreadDetachFunc() r=kats 2014-01-24 11:04:15 -06:00
Rodrigo Silveira
48aefcb5e0 Bug 960144 - Toast notification image implementation r=msamuel
--HG--
extra : rebase_source : e412fda60c6a0ab964e62a209e1a732eb8e74b5e
2014-01-24 16:45:12 -08:00
David Zbarsky
1a8648fa9e Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:19 -08:00
Doug Sherk
f9183a7f8f Bug 962278 - Propagate device DPI to APZC on B2G/gonk. r=kats 2014-01-23 16:34:31 -05:00
Ryan VanderMeulen
8dc9129e87 Merge m-c to inbound. 2014-01-23 15:58:06 -05:00
Ryan VanderMeulen
7aa1d694bd Merge b2g-inbound to m-c. 2014-01-23 15:39:44 -05:00
Ryan VanderMeulen
e29dbb855d 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
bf72128b34 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
d65409c81e 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
a8c0a30f54 Backed out changeset a5c71a784e33 (bug 950647) for Linux Build Bustage on a CLOSED TREE 2014-01-23 13:34:56 +01:00
Jonathan Watt
1e1174acfc 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
11c4741d13 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
1ba1e35018 Bug 544779 part.2 Remove WM_USER_TSF_TEXTCHANGE from nsTextStore r=m_kato 2014-01-23 17:01:16 +09:00
Sotaro Ikeda
0941fe3c91 Bug 951732 - Keep TextureClient until Transaction complete. r=nical 2014-01-23 09:31:12 -05:00
Arnaud Bienner
05f7922c67 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
11014e1136 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
cf84b701f3 Bug 962119 - fix offset table for GetDOMKeyName; r=masayuki 2014-01-21 11:41:24 -05:00
Benoit Jacob
15ef84b8b5 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
28ff3ad25f 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
638dd1b5c9 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
981c6431d3 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
706befb718 Bug 959999 Clean up nsTextStore::Initialize() r=jimm 2014-01-21 21:33:52 +09:00
Phil Ringnalda
26492beb27 Merge m-c to m-i 2014-01-20 18:46:36 -08:00
David Zbarsky
d26395dbc2 Bug 952977: Convert CreateMatrix to gfx::Matrix r=nical 2014-01-20 16:52:04 -05:00
Tim Taubert
e37c322253 Bug 899011 - Make WinTaskbar.GetAvailable() return false if initializing the taskbar fails r=jimm 2014-01-11 23:02:00 +01:00
Ryan VanderMeulen
b43ef033c1 Merge b2g-inbound to m-c. 2014-01-19 15:40:48 -05:00
stefanh@inbox.com
22b1521b6f Bug 889085 - Make our sheets semi-transparent. r=mstange. 2014-01-18 12:52:22 +01:00
Sushil Chauhan
0c00df9f0d Bug 953303 - HwcComposer2D should honor HWC_HINT_CLEAR_FB set by hwcomposer. r=ncameron 2014-01-17 18:55:30 -08:00
Jim Chen
1670a6bfc3 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
29cc16d495 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
d5b9a4492a 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
1946205e7c 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
cd99eeca2d Merge b2g-inbound to m-c. 2014-01-17 15:04:32 -05:00
Ryan VanderMeulen
af7e177b5d Backed out changeset efdeaff02f48 (bug 937713) for causing bug 958771. 2014-01-17 10:48:55 -05:00
Carsten "Tomcat" Book
b7eb088a33 merge mozilla-inbound to mozilla-central 2014-01-17 10:11:39 +01:00
Wes Kocher
73549becbd Merge b2g-inbound to m-c 2014-01-16 17:22:23 -08:00
Sushil Chauhan
e891baf6e1 Bug 959719 - Add support for HWC_BLIT composition in HwcComposer2D. r=dwilson 2014-01-16 09:47:35 -08:00
Ryan VanderMeulen
208917083a Merge inbound to m-c. 2014-01-16 15:06:12 -05:00
Olli Pettay
9eba76141c Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : e936e5b02dc2e613816fb6f97f9af5a303dc6f6d
2014-01-16 16:09:08 +02:00
Rodrigo Silveira
f0dfb71d72 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
b670d73162 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
b6f0a2657c Merge inbound to m-c. 2014-01-15 14:34:05 -05:00
Ryan VanderMeulen
cc9bcd2414 Backed out changeset 347d5704cbe1 (bug 930793) for frequent Linux mochitest-bc orange.
CLOSED TREE
2014-01-15 14:11:20 -05:00
Ed Morley
99155ba26d Merge mozilla-central and b2g-inbound
--HG--
rename : content/events/src/nsDOMEvent.h => dom/events/nsDOMEvent.h
2014-01-15 18:09:12 +00:00
Ryan VanderMeulen
2d308eceaf Backed out changeset bcf74bd6c78f (bug 959719) for JB bustage. 2014-01-15 11:37:15 -05:00
Ed Morley
542c5e0122 Merge latest green b2g-inbound changeset and mozilla-central 2014-01-15 15:57:30 +00:00