summaryrefslogtreecommitdiff
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* Update the expected results in the testsuitecss-image-scaledMatthias Clasen2018-03-151-1/+1
| | | | | | the -gtk-scaled() change in the previous commit makes it so that we now print out the scale factors. Update the expected output of affected tests to take that into account.
* texture: Export gdk_memory_texture_new() and GdkMemoryFormatBenjamin Otte2018-03-122-0/+238
| | | | Also add tests for all these newfangled formats.
* testsuite: Remove GL text test caseTimm Bäder2018-03-043-1/+0
| | | | | | This was just testing that text nodes do alpha correctly, but the test even breaks if the default font is different from the one that was used to create the reference image, so drop it for now.
* css: Parse hex colors with alpha valueBenjamin Otte2018-03-025-24/+32
| | | | | | | The CSS color spec version 4 introduces this, support has hit Safari, Chrome and Firefox, so this looks like a feature that's here to stay. https://drafts.csswg.org/css-color/#hex-notation
* tests: Make GSETTINGS_SCHEMA_DIR point to the compiled schemas in the build dirChristoph Reiter2018-02-179-52/+7
| | | | | | | | | | | With autotools the schemas were compiled into each test suite directory and the tests set GSETTINGS_SCHEMA_DIR to the test build directory. With meson's gnome.compile_schemas() we can not define a target directory so just make sure it is built in the gtk directory and set GSETTINGS_SCHEMA_DIR to the gtk build directory when running the tests. This makes the gtk+:gtk suite pass when no gtk is installed on the system.
* gtk testsuite: Stop using gtk_widget_show_nowMatthias Clasen2018-02-041-1/+1
| | | | If this is a problem, it needs to be handled explicitly.
* a11y testsuite: Stop using gtk_widget_show_nowMatthias Clasen2018-02-041-1/+1
| | | | On non-windows, this doesn't do anything anyway.
* rbtree: Privatize headerBenjamin Otte2018-02-031-1/+1
| | | | | | | According to meson it's the only private header that doesn't conform to the *private.h naming. Fix that.
* Replace gdk_threads_add_idle* with g_idle_add()Emmanuele Bassi2018-02-031-1/+1
| | | | | | | | | | | | | | | The main GDK thread lock is not portable and deprecated. The only reason why gdk_threads_add_idle() and gdk_threads_add_idle_full() exist is to allow invoking a callback with the GDK lock held, in case 3rd party libraries still use the deprecated gdk_threads_enter()/gdk_threads_leave() API. Since we're removing the GDK lock, and we're releasing a new major API, such code cannot exist any more; this means we can use the GLib API for installing idle callbacks. https://bugzilla.gnome.org/show_bug.cgi?id=793124
* gtk: Remove GtkRecentChooserBenjamin Otte2018-02-021-11/+0
| | | | | It's not used any more, recent files are only used by the filtchooser and that one uses GtkRecentManager directly.
* gl: Add test case for clipped cross fade nodesTimm Bäder2018-01-273-1/+2
|
* gsk: Add test case for last commitTimm Bäder2018-01-233-0/+1
|
* Add a test for ::row-changed vs node refsMatthias Clasen2018-01-191-0/+71
| | | | | | | | Test that filter models propagate ::row-changed if there is an external reference on the node, and not otherwise. This is showing up in buggy icon view behaviour, where the icon view is not redrawing if the content changes in a model that is below a filter model.
* testsuite: Add another gl renderer test caseTimm Bäder2018-01-193-1/+2
|
* tree model sort: Fix set_sort_columnMatthias Clasen2018-01-161-0/+89
| | | | | | | | | | We were failing to change the sort order for the default sort column in some cases. Fix that, and add a testcase for this issue. https://bugzilla.gnome.org/show_bug.cgi?id=792459 Add a testcase for the previous fix
* Fix the icontheme testMatthias Clasen2018-01-161-0/+1
| | | | | | We rely on log messages here. Since logging is per-display now, we need to set a display on our custom icontheme object to get the expected log messages.
* testsuite: Stop using ::button-press-eventMatthias Clasen2018-01-161-7/+12
| | | | We can use the generic ::event signal instead.
* tests: Update gl outset shadow testsTimm Bäder2018-01-152-0/+0
| | | | The results are slightly different for these now.
* Drop GtkPlacesSidebar from public APIMatthias Clasen2018-01-081-2/+4
| | | | | | This is a bit of filechooser internals that gets shared with nautilus, which is fine, but it shouldn't be part of our public API. There are no other users than nautilus.
* gl renderer: Add test case for last commitTimm Bäder2018-01-043-0/+1
|
* testsuite: Drop commented out and useless codeMatthias Clasen2018-01-022-31/+1
| | | | These two uses of ::delete-event were pointless.
* testsuite: Move gl renderer nodes files into their own directoryTimm Bäder2017-12-2827-3/+3
| | | | Otherwise, they get picked up by the other node tests.
* tests: Fix the unblurred gl renderer output imagesTimm Bäder2017-12-284-0/+0
| | | | Some of these were wrong or empty.
* testsuite: Add selected gl renderer test node filesTimm Bäder2017-12-2824-0/+174
|
* Try again to make the a11y tests pass3.93.0Matthias Clasen2017-12-271-5/+5
|
* Fix the a11y testsMatthias Clasen2017-12-261-5/+5
|
* Fix the textbuffer testMatthias Clasen2017-12-261-0/+21
| | | | | The test was assuming that gtk_text_buffer_paste_clipboard is synchronous, which is no longer the case.
* Fix objects-finalize testMatthias Clasen2017-12-261-0/+4
| | | | | This test needs similar fixes to the notify test to pass a display to GDK objects when instantiating them.
* Fix notify testMatthias Clasen2017-12-261-1/+5
| | | | We need to pass a display when creating more GDK objects now.
* test-render-nodes: Add transformed clip nodes testTimm Bäder2017-12-211-0/+71
|
* test-render-nodes: Add color matrix testTimm Bäder2017-12-211-0/+76
|
* test-render-nodes: Print a warning if we didn't generate anythingTimm Bäder2017-12-211-0/+5
|
* build: Remove unused variableTimm Bäder2017-12-211-8/+0
|
* Replace gdk_keymap_get_for_display by gdk_display_get_keymapMatthias Clasen2017-12-151-5/+5
| | | | | Replace all uses of the old function by the new one. No functional change.
* Drop gdk_keymap_get_default()Matthias Clasen2017-12-141-7/+21
| | | | | It is better to use the explicit keymap getter - the default display may not even use the current gdk backend.
* Drop gdk_atom_internMatthias Clasen2017-12-131-1/+1
| | | | | Atoms are just interned strings now, so we can just use g_intern_string.
* Fix a few overlooked castsTimm Bäder2017-12-091-3/+3
| | | | glib warns about these now.
* css node tests: Update expected outputTimm Bäder2017-12-081-2/+2
|
* gtk: Remove GtkClipboardBenjamin Otte2017-12-032-89/+0
|
* textview: Redo clipboard handlingBenjamin Otte2017-12-031-2/+2
| | | | | | Instead of using GtkClipboard and handling everything ourselves, we now put GtkTextBuffer into the GdkClipboard and register (de)serializers for text/plain.
* textview: Replace pixbufs by texturesMatthias Clasen2017-11-291-8/+11
| | | | | | | | This affects a few apis, such as gtk_text_iter_get_pixbuf, gtk_text_buffer_insert_pixbuf and GtkTextBuffer::insert-pixbuf, which have all been replaced by texture equivalents. Update all callers.
* a11y: Remove AtkStreamableContent implementationBenjamin Otte2017-11-291-2/+0
| | | | | | | | | That is some old code that still uses IOChannels, and the only pseudouser is at-spi-atk's commented out code that is still using CORBA types. So get rid of it now before I need to start adapting it to the new clipboard.
* contentformats: Rename GtkTargetListBenjamin Otte2017-11-201-3/+3
| | | | It's now called GdkContentsFormat
* dnd: Remove GtkTargetEntry and GtkTargetFlagsBenjamin Otte2017-11-201-1/+1
| | | | | | | warning: We don't do any same-app checks anymore so you currently can copy local data into external apps. This will be fixed later.
* Remove gdk/gdkx.hMatthias Clasen2017-11-162-2/+2
| | | | It was just a kludge.
* selection: Remove the info uintBenjamin Otte2017-11-161-4/+1
| | | | | | | | | Instead of allowing people to pass a uint user-data, insist on them comparing mime types. The user data was a uint instead of a pointer anyway, so uniqueness could not be guaranteed and it caused more issues than it was worth. And that's ignoring the fact that it basically wasn't used.
* enums: Change GtkIconSize valuesMatthias Clasen2017-11-153-5/+0
| | | | | The new values are the ones we intend to keep. The old ones had duplicated meanings and nobody knew which one to take.
* scalebutton: Remove icon sizeBenjamin Otte2017-11-151-2/+1
|
* toolbar: Remove icon sizesBenjamin Otte2017-11-151-1/+0
|
* clipboard: Consistently use GtkTargetListBenjamin Otte2017-11-151-1/+4
| | | | | Some code was using GtkTargetList, some used GtkTargetEntry and some GtkTargetPair.