Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert trivial users of icon theme loading to use info as paintable | Alexander Larsson | 2020-01-29 | 1 | -17/+9 |
| | |||||
* | testcalendar: Don't do dumb stuff with font sizes. | Benjamin Otte | 2020-01-28 | 1 | -27/+0 |
| | | | | If you want to test font stuff, it's 2020 and we have an inspector. | ||||
* | stylecontext: Remove GTK_STYLE_PROPERTY_* defines | Benjamin Otte | 2020-01-28 | 1 | -1/+1 |
| | | | | They shouldn't be (and aren't) used anymore. | ||||
* | Fix testsuite without -Dprofiler=true | Matthias Clasen | 2020-01-21 | 1 | -4/+4 |
| | | | | Only build and run the performance tests if we have sysprof. | ||||
* | Prototype a sysprof helper | Matthias Clasen | 2020-01-21 | 2 | -0/+145 |
| | | | | | | | | | | | | | | | | | This is an attempt to see how we can use sysprof data in our tests to extract useful performance numbers. Use it as a wrapper around any GTK+ process: ./testperf ./gtk4-widget-factory Currently, it repeatedly runs the given commandline, extracts the first css validation time from the resulting syscap file, and prints out the min/max/avg of the runs at the end. This relies on the environment variable GTK_DEBUG_AUTO_QUIT to cause the process to exit soon after launch. | ||||
* | widget: Initialize cssnode name asap | Benjamin Otte | 2020-01-21 | 1 | -3/+0 |
| | | | | That way, it's correct in subclass's init functions. | ||||
* | Update all callers | Matthias Clasen | 2020-01-11 | 3 | -8/+2 |
| | |||||
* | testdnd: Fix up for current api | Matthias Clasen | 2020-01-09 | 1 | -16/+40 |
| | |||||
* | Update all users | Matthias Clasen | 2020-01-08 | 3 | -4/+38 |
| | |||||
* | testdnd2: Fix the text case | Matthias Clasen | 2020-01-08 | 1 | -0/+1 |
| | | | | We must take mime types into account when checking. | ||||
* | Add another dnd testcase | Matthias Clasen | 2020-01-08 | 2 | -0/+401 |
| | | | | | This one tests nested drop sites and interaction between DND and other gestures. | ||||
* | Update all callers | Matthias Clasen | 2020-01-08 | 6 | -4/+8 |
| | |||||
* | testdnd2: Use GDK content formats api | Matthias Clasen | 2020-01-08 | 1 | -5/+6 |
| | |||||
* | testdnd2: Update to the api change in the previous commit | Matthias Clasen | 2020-01-08 | 1 | -2/+2 |
| | |||||
* | testtoolbar: Use gtk_widget_add_controller for drag source | Matthias Clasen | 2020-01-08 | 1 | -1/+1 |
| | |||||
* | testlist3: Use gtk_widget_add_controller for drag source | Matthias Clasen | 2020-01-08 | 1 | -1/+1 |
| | |||||
* | testdnd2: Use gtk_widget_add_controller for drag source | Matthias Clasen | 2020-01-08 | 1 | -2/+2 |
| | |||||
* | testdnd: Use gtk_widget_add_controller for drag source | Matthias Clasen | 2020-01-08 | 1 | -1/+1 |
| | |||||
* | dragsource: Reshuffle api a bit | Matthias Clasen | 2020-01-08 | 4 | -5/+15 |
| | | | | | | | | | | | | Remove arguments from the constructor. For actions, we now default to COPY, which is the most common one that we should enable by default (MOVE requires handling deletion on the the source side, and ASK only makes sense if we have multiple actions). For the content provider, we add a new ::prepare signal where it should be provided just-in-time. | ||||
* | dragsource: Tweak api, update all callers | Matthias Clasen | 2020-01-08 | 2 | -2/+6 |
| | | | | | Add GdkDrag back to signals, drop ::drag-data-delete, and replace it with a boolean in ::drag-end. | ||||
* | Remove gtk_drop_target_get_target | Matthias Clasen | 2020-01-08 | 2 | -2/+2 |
| | | | | | | Now that drop targets are event controllers, we can just use gtk_event_controller_get_widget. Update all callers. | ||||
* | Replace gtk_drop_target_attach/detach | Matthias Clasen | 2020-01-08 | 6 | -9/+9 |
| | | | | | | Since drop targets are now just event controller, gtk_widget_add/remove_controller works just fine for them. | ||||
* | droptarget: Drop defaults flags | Matthias Clasen | 2020-01-08 | 6 | -9/+9 |
| | | | | | | These no longer have any effect. Update all callers. | ||||
* | testdnd2: Add a test for ASK handling | Matthias Clasen | 2020-01-08 | 1 | -11/+79 |
| | | | | | | It is a bit unfortunate that we need to extend the lifespan of the drop object by keeping our own ref, but I don't see a better way of doing it. | ||||
* | testtreednd: Use the new asyn selection read | Matthias Clasen | 2020-01-08 | 1 | -5/+20 |
| | |||||
* | testlist3: Use async read api for selection | Matthias Clasen | 2020-01-08 | 1 | -5/+20 |
| | |||||
* | testtreednd: Convert to GtkDropTarget | Matthias Clasen | 2020-01-08 | 1 | -4/+6 |
| | |||||
* | testnotebookdnd: Fix, partially | Matthias Clasen | 2020-01-08 | 1 | -15/+49 |
| | | | | Make this mostly work again. | ||||
* | testtoolbar: Convert to GtkDropTarget | Matthias Clasen | 2020-01-08 | 1 | -18/+13 |
| | |||||
* | testlist3: Convert to GtkDropTarget | Matthias Clasen | 2020-01-08 | 1 | -8/+6 |
| | |||||
* | testdnd: Convert to GtkDropTarget | Matthias Clasen | 2020-01-08 | 1 | -88/+81 |
| | |||||
* | testdnd2: Port to GtkDropTarget | Matthias Clasen | 2020-01-08 | 1 | -36/+39 |
| | |||||
* | tests: Convert to GtkDragSource | Matthias Clasen | 2020-01-08 | 8 | -465/+162 |
| | | | | | | Some tests, such as testimage did not have anything particularly worth keeping, so were removed instead of fixed. | ||||
* | entry: Port icon dnd to GtkDragSource | Matthias Clasen | 2020-01-08 | 1 | -34/+9 |
| | | | | | This requires a small change in the api, since we need to provide a GdkContentProvider now. | ||||
* | testentryicons: Fix a memory leak | Timm Bäder | 2020-01-07 | 1 | -2/+3 |
| | |||||
* | Add a text view mark/cursor test | Matthias Clasen | 2020-01-03 | 2 | -0/+239 |
| | | | | | This has testcases for some issues around invalidation of marks. | ||||
* | testtooltips: Test tooltips on popovers | Matthias Clasen | 2019-12-29 | 1 | -43/+25 |
| | | | | They do not currently work right. | ||||
* | tests: Stop using menus | Matthias Clasen | 2019-12-29 | 11 | -2479/+23 |
| | |||||
* | Revert unintended changes | Matthias Clasen | 2019-12-29 | 1 | -88/+2 |
| | | | | | I didn't mean to make this a complicated portal test. Go back to being a simple test. | ||||
* | testfilechooser: Test the choice apis | Matthias Clasen | 2019-12-25 | 1 | -4/+5 |
| | |||||
* | Fix various new mingw compiler warnings | Christoph Reiter | 2019-12-18 | 1 | -13/+16 |
| | | | | | These are the result of us missing CI for some time now and MSYS2 having a newer GCC now I guess. | ||||
* | tests/: Revert bbb56d8 for non-UNIX | Chun-wei Fan | 2019-12-17 | 2 | -3/+49 |
| | | | | | The portal bits are only supported on *nix, so use the old code on non-*nix. | ||||
* | Merge branch 'file-transfer' into 'master' | Matthias Clasen | 2019-12-12 | 2 | -12/+74 |
|\ | | | | | | | | | clipboard: file transfer portal support See merge request GNOME/gtk!1244 | ||||
| * | clipboard: file transfer portal support | Matthias Clasen | 2019-12-12 | 2 | -12/+74 |
| | | | | | | | | | | | | | | Implement file-list <-> application/vnd.flatpak.file-list serialization by talking to the file transfer portal. See https://github.com/flatpak/xdg-desktop-portal/pull/222 | ||||
* | | tests: Set an existing font in testfontchooser | Benjamin Otte | 2019-12-12 | 1 | -1/+1 |
|/ | |||||
* | Make a test with a custom display | Matthias Clasen | 2019-12-07 | 1 | -0/+7 |
| | | | | This completely breaks the inspector. | ||||
* | gtk-demo: Use normal way to lookup up symbols | Benjamin Otte | 2019-12-03 | 1 | -4/+2 |
| | | | | | | | We're a normal application, so we can use the normal way to hook up code into builder files, which is using dlsym() for the function pointers. There's no need to to extra work exporting static symbols. | ||||
* | gl renderer: Blur shader improvements | Timm Bäder | 2019-12-03 | 1 | -4/+2 |
| | | | | | | | Use a two-pass blur shader, fix a few other things and unify the blurring of blur nodes and blurred outset shadow nodes. Related to #1283 | ||||
* | testblur: Fix default blur radius | Timm Bäder | 2019-12-03 | 1 | -2/+3 |
| | | | | | sync it up with the adjustment value. also just add the destroyed handler. | ||||
* | builder: Connect signals automatically | Benjamin Otte | 2019-11-22 | 2 | -2/+0 |
| | | | | | | gtk_builder_connect_signals() is no longer necessary, because all the setup that made it necessary to have this extra step is now done automatically via the closure functions. |