gtk2/testsuite/gtk
Benjamin Otte a411959c91 droptarget: Redo
This is a huge reorganization of GtkDropTarget. I did not know how to
split this up, so it's unfortunately all one commit.

Highlights:

- Split GtkDropTarget into GtkDropTarget and GtkDropTargetAsync
  GtkDropTarget is the simple one that only works with GTypes and offers
  a synchronous interface.
  GtkDropTargetAsync retains the full old functionality and allows
  handling mime types.

- Drop events are handled differently
  Instead of picking a single drop target and sending all DND events to
  it, every event is sent to every drop target. The first one to handle
  the event gets to call gdk_drop_status(), further handlers do not
  interact with the GdkDrop.
  Of course, for the ultimate GDK_DROP_STARTING event, only the first
  one to accept the drop gets to handle it.
  This allows stacking DND event controllers that aren't necessarily
  interested in handling the event or that might decide later to drop
  it.

- Port all widgets to either of those
  Both have a somewhat changed API due to the new event handling.
  For the ones who should use the sync version, lots of cleanup was
  involved to operate on a sync API.
2020-03-02 03:18:55 +01:00
..
file-chooser-test-dir
focus-chain Add a focus-chain test for focusable containers 2019-06-11 17:15:02 +00:00
icons
icons2
ui Remove new attributes from tests 2019-07-28 11:00:29 -04:00
accel.c Add some more accelerator / modifier tests 2016-04-17 01:54:43 -04:00
accessible.c Update callers 2017-01-19 13:50:17 -05:00
action.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
adjustment.c adjustment: Remove deprecated API 2016-10-18 00:29:19 +02:00
autotestkeywords.cc testsuite: Update C++ keywords test to GTK 3.0.0 2018-03-18 19:20:46 +01:00
bitmask.c testsuite: Stop using g_test_bug() 2019-05-12 17:28:18 +02:00
builder.c popover: Drop ::relative-to 2020-02-24 20:46:41 -05:00
builderparser.c
cellarea.c treeview column: Make final 2019-05-28 23:22:57 -04:00
check-icon-names.c Rename GtkIcon to GtkIconPaintable 2020-02-04 17:19:22 +01:00
constraint-solver.c Use explicit values for constraint strength 2019-07-01 12:39:24 +01:00
cssprovider.c cssprovider test: Remove style property test case 2017-07-19 21:27:14 -04:00
defaultvalue.c droptarget: Redo 2020-03-02 03:18:55 +01:00
displayclose.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
entry.c entry, spin button: Drop redundant API 2019-02-28 16:34:00 -05:00
filterlistmodel.c Fix leaks in tests 2019-12-04 18:24:56 -05:00
filtermodel.c testsuite: Use g_assert() in tests 2020-03-02 03:18:55 +01:00
flattenlistmodel.c Fix leaks in tests 2019-12-04 18:24:56 -05:00
floating.c
focus.c testsuite: Check proper notify emissions, too 2020-02-22 07:33:40 +01:00
gestures.c wip: Use event constructors in the testsuite 2020-02-21 00:40:52 -05:00
grid-layout.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
grid.c tests: Update the GtkGrid suite 2019-04-04 22:43:07 +01:00
gtk.test.in Add a forgotten file 2017-10-18 18:52:06 +02:00
gtktreemodelrefcount.c testsuite: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
gtktreemodelrefcount.h
icontheme.c icontheme: Update the api 2020-02-18 20:32:17 -05:00
keyhash.c Replace gdk_keymap_get_for_display by gdk_display_get_keymap 2017-12-15 07:44:58 -05:00
listbox.c
liststore.c
main.c Drop gtk_get_main_thread 2020-02-09 23:13:13 -05:00
maplistmodel.c Fix leaks in tests 2019-12-04 18:24:56 -05:00
meson.build wip: Use event constructors in the testsuite 2020-02-21 00:40:52 -05:00
modelrefcount.c
no-gtk-init.c testsuite: Stop using g_test_bug() 2019-05-12 17:28:18 +02:00
notify.c Small fixups 2020-02-26 08:13:45 -05:00
object.c testsuite: Remove outdated exclusions 2020-02-24 23:08:34 -05:00
objects-finalize.c Stop using gtk_main_quit 2020-02-09 23:12:32 -05:00
papersize.c
popover.c popover: Drop ::relative-to 2020-02-24 20:46:41 -05:00
propertylookuplistmodel.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
rbtree-crash.c testsuite: Stop using g_test_bug() 2019-05-12 17:28:18 +02:00
rbtree.c testsuite: Stop using g_test_bug() 2019-05-12 17:28:18 +02:00
recentmanager.c tests: Bulk add recent items in an idle 2019-02-08 14:37:21 +00:00
regression-tests.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
revealer-size.c revealer: Request child size for NONE transition type 2017-07-19 21:27:13 -04:00
scrolledwindow.c testsuite/scrolledwindow: Try non-overlay/non-auto 2017-05-10 22:29:01 +01:00
searchbar.c Add basic searchbar set_key_capture_widget tests 2018-05-19 10:18:50 +02:00
singleselection.c testsuite: Stop using g_test_bug() 2019-05-12 17:28:18 +02:00
slicelistmodel.c slicelistmodel: Fix two wrong computations 2020-02-14 03:15:22 +01:00
sortlistmodel.c Fix leaks in tests 2019-12-04 18:24:56 -05:00
sortmodel.c testsuite: Stop using g_test_bug() 2019-05-12 17:28:18 +02:00
spinbutton.c
templates.c Stop using gtk_main and gtk_main_quit 2020-02-09 23:12:32 -05:00
test-focus-chain.c testsuite: Be robust against broken focus 2019-06-11 17:14:42 +00:00
textbuffer.c textview: Use paintables instead of textures, and fix the support 2020-02-06 17:47:56 +01:00
textiter.c testsuite/gtk/textiter: Add missing assertion 2017-02-18 20:20:34 +00:00
theme-validate.c testsuite: Add theme-validate test 2019-04-18 02:28:42 +02:00
treelistmodel.c Fix treelistmodel tests 2019-12-04 18:30:37 -05:00
treemodel.c testsuite: Stop using g_test_bug() 2019-05-12 17:28:18 +02:00
treemodel.h
treepath.c
treestore.c testsuite: Stop using g_test_bug() 2019-05-12 17:28:18 +02:00
treeview.c testsuite: Don't use return_if_fail() 2020-02-22 07:35:23 +01:00
typename.c builder: Improve type name mangling 2019-12-13 14:21:44 -05:00
widgetorder.c testsuite: Add test case for previous commit 2017-09-29 12:16:06 +02:00
window.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00