gtk2/tests
Ting-Wei Lan f922109a9c build: Make the default setting work on non-Linux Unix-like systems
All of the four platform-dependent backends are enabled by default. It
is usually a good default because it requires users to explicitly choose
backends they want to use. Rules in meson.build also automatically
disable unavailable backends for macOS, Windows, Linux, so users on
these 3 major platforms don't have to manually disable things when
running meson commands.

However, meson.build doesn't do the same thing for other Unix-like
systems, which is acceptable but not ideal. To make it easier to build
GTK+ on these systems, the Linux case, which enables X11 and Wayland and
disables Win32 and Quartz, is made the default for all operating systems
that are not Windows or macOS.

This commit also changes most 'host_machine.system()' calls to os_*
variables, which are easier to read and less likely to be used wrongly.
2018-04-22 21:57:10 +08:00
..
dummy-headers quartz: move atom/pasteboard type conversions functions to GDK 2013-03-28 13:10:38 +01:00
visuals tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
3DRings.xpm
animated-resizing.c tests: Avoid a use of ::map-event 2018-01-16 14:14:09 -05:00
animated-revealing.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
apple-red.png
blur-performance.c gsk: Move gtk/gtkcairoblur.c to gsk/gskcairoblur.c 2016-12-20 18:01:11 +01:00
check-n.xpm
check-y.xpm
dialog.ui enums: Change GtkIconSize values 2017-11-15 14:22:17 -05:00
FilesQueue.xpm
flicker.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
frame-stats.c tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
frame-stats.h tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
gdkgears.c gdkgears: add a way to remove gears 2018-01-17 19:47:45 -05:00
gnome-textfile.png
gradient1.png Make styleexamples work 2011-01-03 12:34:23 -05:00
gtkgears.c Avoid redefining GNU_SOURCE 2017-03-23 15:15:12 +00:00
gtkgears.h tests: Make gtkgears compile without complaints 2014-10-14 14:33:08 +02:00
listmodel.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
marble.xpm
merge-1.ui
merge-2.ui Add UI manager attribute to always show image in menu items 2009-11-27 19:14:43 +01:00
merge-3.ui
meson.build build: Make the default setting work on non-Linux Unix-like systems 2018-04-22 21:57:10 +08:00
Modeller.xpm
motion-compression.c GtkWidget: Start renaming widget->window 2018-03-20 15:21:12 +01:00
mydialog2.ui Add missing templates to testdialog 2014-04-25 22:11:54 -04:00
mydialog.ui Add missing templates to testdialog 2014-04-25 22:11:54 -04:00
overlayscroll.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
popover2.ui testpopover: Remove expand GtkBox child properties 2017-07-19 21:27:15 -04:00
popover.ui GtkMenuSectionBox: Always show separators for labeled sections 2014-04-29 12:19:53 -04:00
popupat.ui gtk: Remove GtkRecentChooser 2018-02-02 23:01:31 +01:00
portland-rose.jpg Add a test for overlay blur 2017-09-04 14:28:16 -04:00
print-editor.c tests: Stop using gtk_font_button_get_font_name 2017-12-21 11:10:13 -05:00
rendernode-create-tests.c tests: Make text test have more glyphs 2018-02-05 17:22:56 +01:00
rendernode.c GdkSurface: Rename various functions and variables 2018-03-20 12:05:26 +01:00
scrolling-performance.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
selectionmode.ui enums: Change GtkIconSize values 2017-11-15 14:22:17 -05:00
showrendernode.c tests: Use gdk_texture_save_to_png() where appropriate 2018-04-12 14:02:59 +02:00
simple.c tests: After 20 years, update the simple test to modern GTK 2017-11-10 14:56:42 +01:00
stresstest-toolbar.c Replace gdk_threads_add_idle* with g_idle_add() 2018-02-03 12:06:58 +01:00
syncscroll.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
test.xpm
testaccel.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testactionbar.c actionbar: Add explicit center widget 2017-04-25 20:30:37 +02:00
testadjustsize.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testappchooser.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testappchooserbutton.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testapplication.desktop Add GtkApplication 2010-06-07 16:46:30 -04:00
testassistant.c Replace gdk_threads_add_timeout* with g_timeout_add() 2018-02-03 12:06:58 +01:00
testbaseline.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testbbox.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testblur.c tests: Add testblur 2018-02-27 12:51:07 +01:00
testborderdrawing.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testbox.c box: Remove center child 2017-04-25 20:30:37 +02:00
testboxcss.c Replace all remaining uses of delete-event 2018-01-16 14:14:09 -05:00
testbuttons.c button: Get rid of icon size 2017-11-15 14:22:16 -05:00
testcairo.c Drop an unintentional use of ::destroy-event 2018-01-02 18:14:13 -05:00
testcalendar.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testcellarea.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testcellrenderertext.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testcenterbox.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testclipboard2.c image: Remove gtk_image_set_texture() 2018-03-16 06:04:45 +01:00
testcolorchooser2.c Update callers 2017-01-19 13:50:17 -05:00
testcolorchooser2.ui Add a color editor test 2016-01-23 18:16:51 -05:00
testcolorchooser.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testcombo.c Replace gdk_threads_add_timeout* with g_timeout_add() 2018-02-03 12:06:58 +01:00
testcombochange.c Replace gdk_threads_add_timeout* with g_timeout_add() 2018-02-03 12:06:58 +01:00
testdialog.c image: Remove icon-size argument from icon setters 2017-11-15 14:22:17 -05:00
testdnd2.c image: Remove gtk_image_set_texture() 2018-03-16 06:04:45 +01:00
testdnd.c dragsource: Replace gtk_drag_source_set_icon_surface() 2018-03-16 06:04:45 +01:00
testellipsise.c tests: Get rid of GtkEventBox 2017-08-02 00:15:10 +01:00
testemblems.c image: Remove icon-size argument from icon setters 2017-11-15 14:22:17 -05:00
testentrycompletion.c Replace gdk_threads_add_timeout* with g_timeout_add() 2018-02-03 12:06:58 +01:00
testentryicons.c entry: Make icons a paintable 2018-03-16 06:04:44 +01:00
testerrors.c tests: Test the x11-specific error trap api 2017-11-17 00:08:24 -05:00
testexpand.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testexpander.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testfilechooser.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testfilechooserbutton.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testflowbox.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testfontchooser.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testfontchooserdialog.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testfontoptions.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testframe.c Frame: Erase the now-useless property label-yalign 2018-03-12 14:17:32 +00:00
testfullscreen.c GtkWidget: Start renaming widget->window 2018-03-20 15:21:12 +01:00
testgaction.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testgiconpixbuf.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testglarea.c Update callers 2017-01-19 13:50:17 -05:00
testglblending.c Drop GtkGLArea::has-alpha 2018-01-17 12:01:25 -05:00
testgmenu.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testgrid.c tests: Stop using ::button-press/release-event 2018-01-16 14:14:10 -05:00
testgridbaseline.c tests: Add testgridbaseline 2017-10-11 08:50:18 +02:00
testgrouping.c Replace all remaining uses of delete-event 2018-01-16 14:14:09 -05:00
testgtk2.css testgtk: fix css 2016-10-16 18:17:21 +02:00
testgtk.1
testgtk.c testgtk: Don't set cairo surfaces as icons 2018-04-12 14:03:48 +02:00
testgtk.css testgtk: Remove some invalid css 2017-08-23 11:05:37 +02:00
testheaderbar.c testheaderbar: Fix custom CSS 2017-12-28 16:48:35 +01:00
testheightforwidth.c Replace all remaining uses of delete-event 2018-01-16 14:14:09 -05:00
testicontheme.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testiconview-keynav.c tests: Stop using ::focus-in/out-event 2018-01-16 14:14:10 -05:00
testiconview.c tests: Remove references to long-deleted property 2018-03-26 18:16:36 +02:00
testimage.c image: Remove gtk_image_set_texture() 2018-03-16 06:04:45 +01:00
testinfobar.c testinfobar: Test more properties, response signal 2018-03-12 19:16:07 +00:00
testinput.c widget: Remove clip from size-allocate vfunc 2018-04-05 14:56:38 +02:00
testkineticscrolling.c Replace all remaining uses of delete-event 2018-01-16 14:14:09 -05:00
testlevelbar.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testlist2.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testlist3.c testlist3: Set the actual row as drag icon 2018-04-05 14:56:39 +02:00
testlist4.c Add test for GtkActionable GtkListBoxRow. 2018-01-02 17:56:10 -08:00
testlist.c stylecontext: Port to use display instead of screen 2017-10-31 03:05:54 +01:00
testlockbutton.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testlogout.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testmenubutton.c testmenubutton: Fix inverted keynav in the GtkMenu 2017-10-08 13:17:04 +01:00
testmodelbutton.c testmodelbutton: Test :centered, :icon, :inverted 2018-04-08 18:48:16 +01:00
testmountoperation.c Update callers 2017-01-19 13:50:17 -05:00
testnoscreen.c window: Turn gtk_window_set_screen() into gtk_window_set_display() 2017-10-31 08:25:37 +01:00
testnotebookdnd.c tests: Remove some unneeded gtk_widget_show calls 2018-01-19 23:29:13 +03:00
testnouiprint.c Bump GLib dependency to 2.35 2012-11-04 13:01:38 -05:00
testorientable.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testoutsetshadowdrawing.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testoverlay.c Add x/y to GtkEventControllerMotion::enter 2018-01-16 14:14:10 -05:00
testoverlaystyleclass.c widget: Remove clip from size-allocate vfunc 2018-04-05 14:56:38 +02:00
testpixbuf-scale.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testplacesview.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testpopover.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testpopup.c tests: Stop using ::motion-notify-event 2018-01-16 14:14:10 -05:00
testpopupat.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testprint.c Update callers 2017-01-19 13:50:17 -05:00
testprintfileoperation.c
testprintfileoperation.h
testrc.c Update callers 2017-01-19 13:50:17 -05:00
testrevealer2.c Rename GtkHeaderBar::show-close-button 2017-12-07 22:37:06 -05:00
testrevealer.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testscale.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testscrolledge.c tests: Remove some unneeded gtk_widget_show calls 2018-01-19 23:29:13 +03:00
testscrolledwindow.c label: Remove angle property 2017-04-25 20:30:37 +02:00
testselectionmode.c Rename GtkHeaderBar::show-close-button 2017-12-07 22:37:06 -05:00
testsensitive.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testspinbutton.c testspinbutton: Add button to toggle wrap on Spins 2018-03-14 23:09:51 +00:00
testsplitheaders.c Fix fallout from the show-close-button rename 2017-12-08 11:29:14 -05:00
testsplitheaders.ui Fix separator in testsplitheaders 2015-03-28 22:32:12 -04:00
teststack.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
teststackedheaders.c meson: tests: make tests find resources from the source dir 2017-05-03 15:10:53 +01:00
teststackedheaders.ui Add a testcase for stacked headerbars 2016-11-03 08:32:31 -04:00
testswitch.c testswitch: Remove unnecessary gtk_widget_show calls 2017-12-04 12:24:27 +01:00
testtexture.c tests: Update renamed symbol 2018-03-20 17:05:33 +00:00
testtextview.c tests: Remove some unneeded gtk_widget_show calls 2018-01-19 23:29:13 +03:00
testtitlebar.c Fix fallout from the show-close-button rename 2017-12-08 11:29:14 -05:00
testtoolbar2.c button: Get rid of icon size 2017-11-15 14:22:16 -05:00
testtoolbar.c Replace gdk_threads_add_timeout* with g_timeout_add() 2018-02-03 12:06:58 +01:00
testtooltips.c GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
testtreechanging.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testtreecolumns.c contentformats: Rename GtkTargetList 2017-11-20 23:12:33 +01:00
testtreecolumnsizing.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testtreednd.c dnd: Remove x/y coordinates from drag-data-received 2017-12-05 05:29:00 +01:00
testtreeedit.c tests: Remove some unneeded gtk_widget_show calls 2018-01-19 23:29:13 +03:00
testtreeflow.c Replace gdk_threads_add_timeout* with g_timeout_add() 2018-02-03 12:06:58 +01:00
testtreefocus.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testtreemodel.c Update callers 2017-01-19 13:50:17 -05:00
testtreepos.c tests: Stop using ::button-press/release-event 2018-01-16 14:14:10 -05:00
testtreesort.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
testtreeview-plan.txt
testtreeview.c contentformats: Rename GtkTargetList 2017-11-20 23:12:33 +01:00
testverticalcells.c enums: Change GtkIconSize values 2017-11-15 14:22:17 -05:00
testvolumebutton.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testwidgetfocus.c widget: Remove clip from size-allocate vfunc 2018-04-05 14:56:38 +02:00
testwindowsize.c tests: Stop using ::configure-event 2018-01-16 14:14:10 -05:00
testxinerama.c GtkWidget: Start renaming widget->window 2018-03-20 15:21:12 +01:00
treestoretest.c box: Remove fill child property 2017-04-25 20:30:37 +02:00
variable.c tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
variable.h Fix another header guard oversight 2014-12-08 19:34:23 -05:00
video-timer.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00