gecko-dev/widget/gtk
Masayuki Nakano 4fc95828b6 Bug 1277756 part.1 Make anonymous enum for NS_TEXTRANGE_* to an enum class named "TextRangeType" r=smaug
For making our code clearer by the stronger type check, we should change the anonymous enum for NS_TEXTRANGE_* to enum class whose name is "TextRangeType" and whose type is "RawTextRangeType" which is an alias of uint8_t.

Additionally, this also adds some utility methods for them.

Note that some lines which are changed by this patch become over 80 characters but it will be fixed by the following patches.

MozReview-Commit-ID: 76izA1WqTkp

--HG--
extra : rebase_source : 27cd8cc8f7f8e82055dbfe82aba94c02beda5fa4
2016-06-04 09:49:21 +09:00
..
compat
compat-gtk3/gtk
crashtests
mozgtk Bug 1277306 - Fallback to a cairo image surface when SHM and XRender are unavailable when drawing to a GDK window. r=lsalzman 2016-06-01 14:52:36 -04:00
gtk2drawing.c bug 1272194 replace MOZ_TOPLEVEL_MENU_ITEM flag with MOZ_GTK_MENUBARITEM node r=stransky+263117 2016-05-19 16:55:04 +12:00
gtk3drawing.cpp bug 1274745 use ClaimStyleContext to ensure GtkWindow exists before using for scrollbar background r=stransky+263117 2016-05-27 10:32:02 +12:00
gtkdrawing.h Bug 1273013 - "download progress bar does not show in gtk3 build." r=karlt 2016-05-24 13:43:00 +02:00
IMContextWrapper.cpp Bug 1277756 part.1 Make anonymous enum for NS_TEXTRANGE_* to an enum class named "TextRangeType" r=smaug 2016-06-04 09:49:21 +09:00
IMContextWrapper.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
maiRedundantObjectFactory.c
maiRedundantObjectFactory.h
moz.build Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
mozcontainer.c
mozcontainer.h
NativeKeyBindings.cpp Bug 1254755 part.2 Rename WidgetKeyboardEvent::charCode to WidgetKeyboardEvent::mCharCode r=smaug 2016-05-13 16:06:18 +09:00
NativeKeyBindings.h
nsApplicationChooser.cpp Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsApplicationChooser.h
nsAppShell.cpp bug 1199602 emit resume-events on GdkFrameClock if flush/resume not balanced at dispose r=acomminos 2016-02-26 11:19:24 +13:00
nsAppShell.h
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsClipboard.cpp
nsClipboard.h
nsColorPicker.cpp Bug 567283 patch 2 - Rename NS_HexToRGB to NS_HexToRGBA and add parameter saying whether 4 and 8 digit colors are allowed. r=xidorn 2016-05-08 22:16:41 -07:00
nsColorPicker.h
nsCUPSShim.cpp
nsCUPSShim.h
nsDeviceContextSpecG.cpp Bug 1189846 Part 5: Remove displayJobProperties from nsIPrintOptions. r=jimm 2016-05-16 10:40:54 +01:00
nsDeviceContextSpecG.h
nsDragService.cpp Bug 1264454 - Disable drag popups on GTK versions with a buggy gtk_drag_set_icon_widget. r=karlt 2016-04-25 19:04:55 -07:00
nsDragService.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsFilePicker.cpp
nsFilePicker.h
nsGtkCursors.h
nsGtkKeyUtils.cpp Bug 1254755 part.4 Rename WidgetKeyboardEvent::location to WidgetKeyboardEvent::mLocation r=smaug 2016-05-12 18:17:22 +09:00
nsGtkKeyUtils.h Bug 1137565 part.4 Implement IMContextWrapper::WillDispatchKeyboardEvent() r=m_kato 2016-03-16 13:47:49 +09:00
nsGTKToolkit.h
nsGtkUtils.h
nsIdleServiceGTK.cpp Bug 1241239 - Fix missing 'using mozilla::LogLevel' in nsIdleServiceGTK.cpp. r=karlt 2016-01-31 04:48:00 +01:00
nsIdleServiceGTK.h
nsIImageToPixbuf.h
nsImageToPixbuf.cpp Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsImageToPixbuf.h
nsLookAndFeel.cpp Backed out changeset 01b86df73b4a (bug 1272332) for Linux x64 opt reftest bustage, e.g. 914521.html. r=backout 2016-05-18 13:42:25 +02:00
nsLookAndFeel.h
nsNativeThemeGTK.cpp Bug 1274339 - Align resizerpanel and caret in -moz-appearance. r=bobbyholley 2016-05-19 10:58:00 +02:00
nsNativeThemeGTK.h bug 1234158 rename GtkThemeWidgetType enum to WidgetNodeType as it will differentiate GTK CSS nodes r=Stránský 2016-04-14 17:47:20 +12:00
nsPaperPS.cpp
nsPaperPS.h
nsPrintDialogGTK.cpp Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsPrintDialogGTK.h Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsPrintOptionsGTK.cpp
nsPrintOptionsGTK.h
nsPrintSettingsGTK.cpp Bug 1184936 - Need convert from UTF8 for printer name. r=karlt 2016-02-09 16:34:20 +09:00
nsPrintSettingsGTK.h
nsPSPrinters.cpp
nsPSPrinters.h
nsScreenGtk.cpp Bug 1240749 - Fixes for DPI support in Gtk widget interface: remove incorrect Get[Avail]RectDisplayPix overrides, as desktop pixels == device pixels for the Gtk widget backend, and implement nsScreenGtk::GetDefaultCSSScaleFactor, required by nsGlobalWindow since per-monitor DPI patches in bug 890156. r=karlt 2016-02-26 22:34:11 +00:00
nsScreenGtk.h Bug 1240749 - Fixes for DPI support in Gtk widget interface: remove incorrect Get[Avail]RectDisplayPix overrides, as desktop pixels == device pixels for the Gtk widget backend, and implement nsScreenGtk::GetDefaultCSSScaleFactor, required by nsGlobalWindow since per-monitor DPI patches in bug 890156. r=karlt 2016-02-26 22:34:11 +00:00
nsScreenManagerGtk.cpp Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsScreenManagerGtk.h Bug 1240749 - Fixes for DPI support in Gtk widget interface: remove incorrect Get[Avail]RectDisplayPix overrides, as desktop pixels == device pixels for the Gtk widget backend, and implement nsScreenGtk::GetDefaultCSSScaleFactor, required by nsGlobalWindow since per-monitor DPI patches in bug 890156. r=karlt 2016-02-26 22:34:11 +00:00
nsSound.cpp Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsSound.h
nsToolkit.cpp
nsWidgetFactory.cpp Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsWindow.cpp Bug 1277306 - Fallback to a cairo image surface when SHM and XRender are unavailable when drawing to a GDK window. r=lsalzman 2016-06-01 14:52:36 -04:00
nsWindow.h Bug 1277306 - Fallback to a cairo image surface when SHM and XRender are unavailable when drawing to a GDK window. r=lsalzman 2016-06-01 14:52:36 -04:00
WakeLockListener.cpp Bug 1266054: GTK+: Hold references to |DBusPendingCall| in |RefPtr|, r=karlt 2016-05-09 12:28:37 +02:00
WakeLockListener.h Bug 1271477 - Unbreak --disable-dbus build after bug 1266054. r=karlt 2016-05-09 18:51:00 +02:00
WidgetStyleCache.cpp Bug 1273013 - "download progress bar does not show in gtk3 build." r=karlt 2016-05-24 13:43:00 +02:00
WidgetStyleCache.h Bug 1271579 - Set GtkTextDirection and GtkStateFlags in ClaimStyleContext, r=karlt 2016-05-17 12:52:04 -07:00
WidgetTraceEvent.cpp
WidgetUtilsGtk.cpp
WidgetUtilsGtk.h