Commit Graph

64 Commits

Author SHA1 Message Date
Jonathan Watt
6bbe9e278c Bug 1025802 - Get rid of the Thebes backed gfxContext in the GTK widget code (Moz2D conversion). r=mattwoodrow 2014-06-17 10:37:46 +01:00
Jonathan Watt
6b3fa8dfeb Bug 1022821, part 2 - In gfx code, stop returning RefPtr and, where not an out-param, stop using RefPtr arguments. r=Cwiiis 2014-06-12 20:24:05 +01:00
Martin Stransky
de51435cc5 Bug 1013552 - [GTK3] GetThebesSurface() provides xlib surface when cairo target is not available. r=karlt 2014-06-02 03:36:00 -04:00
Matt Woodrow
b09cc03e43 Bug 1015166 - Account for TopLeft of aBoundsRect in nsWindow::UpdateAlpha. r=ajones 2014-05-30 13:37:04 +12:00
Jim Mathies
da95e59548 Bug 1003943 - Properly update widget cursors when the mouse passes between remote frames. r=smaug 2014-05-27 20:12:29 -05:00
Neil Rashbrook
9cfd58c16f Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
Relading with correct bug number so DONTBUILD.

--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
f3421c776b Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Neil Rashbrook
12b4869c02 Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
6f68094e30 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Robert O'Callahan
dbcb3cd658 Bug 998821. Only use XShm for drawing if XShm allocation actually succeeded. r=karlt
--HG--
extra : rebase_source : 9d0fc1b9c7b02c53674b4593eaf1cd703587a469
2014-04-22 15:11:42 +12:00
George Wright
259f54dca7 Bug 994924 - Fix broken logic in nsWindow for DrawTarget creation when using Skia r=jrmuizel 2014-04-11 13:16:26 -04:00
Neil Deakin
54fd69f1a7 Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Jonathan Watt
f50a46f108 Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
Masayuki Nakano
fb0ba6cc5f Bug 977959 part.5 Make NativeKeyBindings classes non-refcountable r=neil 2014-03-14 22:13:32 +09:00
Masayuki Nakano
8626bd713a Bug 977959 part.4 Remove nsINativeKeyBindings r=roc+karlt
--HG--
rename : widget/gtk/nsNativeKeyBindings.cpp => widget/gtk/NativeKeyBindings.cpp
rename : widget/gtk/nsNativeKeyBindings.h => widget/gtk/NativeKeyBindings.h
2014-03-14 22:13:32 +09:00
Masayuki Nakano
f2734aa16b Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud 2014-03-14 22:13:31 +09:00
Bill McCloskey
1a719f671b Bug 972728 - Invalidate more often in basic compositor (r=mattwoodrow) 2014-03-06 18:25:09 -08:00
Makoto Kato
1e3167927c Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Makoto Kato
94e82b6d5e Backed out changeset fad708985071 (bug 968647) 2014-03-03 11:53:36 +09:00
Makoto Kato
5a98fb8f83 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Carsten "Tomcat" Book
152bca780f Backed out changeset 743fb3c48ed7 (bug 968647) 2014-02-28 09:30:01 +01:00
Makoto Kato
2d8a640b28 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Phil Schaf
8852ed2185 Bug 310924 - GTK: Try named cursors before defaulting to hardcoded glyphs. r=karlt 2014-02-19 11:30:08 -05:00
Masayuki Nakano
0e922aada3 Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc 2014-02-18 09:00:15 +09:00
Neil Deakin
6c8876f120 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
Olli Pettay
d4a55513b7 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
Benoit Jacob
67a17b1047 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
93826fc6b0 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
3846defaec 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
3369ca8bb6 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
Olli Pettay
63f95f00c7 Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : e936e5b02dc2e613816fb6f97f9af5a303dc6f6d
2014-01-16 16:09:08 +02:00
Makoto Kato
504cce8954 Bug 935821 - Part 4. GTK implementation. r=masayuki 2014-01-16 19:04:48 +09:00
Benoit Jacob
06f7a9c4a2 Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
2d5774ca0a Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
55e7c24065 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ms2ger
9b8e245bf9 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Karl Tomlinson
17d3c88a1e b=934843 remove assertion that focus is never on popup windows r=roc
If an application has received focus from the window manager, but doesn't
reassign focus to a child window before closing its focus window, focus can
temporarily revert to PointerRoot before the window manager gives focus to
another window.  During PointerRoot focus, the window until the pointer has
focus even if it is an override-redirect window.

--HG--
extra : rebase_source : 3c005183f4602346ce9068b4a87af068f0e82372
2013-12-11 09:51:42 +13:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Martin Stransky
a9b43db353 Bug 943407 - Port GTK2 to GTK3 - build failure - nsWindow::StartRemoteDrawing(). r=karlt 2013-12-02 12:51:26 -05:00
Neil Deakin
fa682b166a Bug 849544/935460, don't consume mousewheel events when an arrow panel is open, r=karlt 2013-11-29 11:58:26 -05:00
Nicolas Silva
532313927f Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
David Anderson
c06bd5c0fb Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Neil Deakin
03d731b742 Bug 596723, Don't consume clicks outside of arrow panels by default, always consume the clicks on anchors of all popups, r=dao,neil 2013-11-04 11:22:24 -05:00
Masayuki Nakano
40483897f3 Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug 2013-10-22 17:55:20 +09:00
David Anderson
6ccb791a64 Fix resize jank on Linux with OMTC (bug 926618, r=mattwoodrow). 2013-10-21 13:14:47 -07:00
Masayuki Nakano
eef5eccfeb Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc 2013-10-16 18:37:36 +09:00
Matt Woodrow
7f649f59e5 Bug 923542 - Draw to the correct destination rect when computing alpha masks. r=ajones 2013-10-15 14:55:15 +13:00