Matthias Clasen
8c227622d7
ngl: Small docs updates
...
Don't refer to nonexisting functions.
2021-10-03 11:08:46 -04:00
Matthias Clasen
c93264868b
ngl: Plug a memory leak
...
When creating a GdkTexture from the texture
stored in the driver, we must free the GskNglTexture
struct.
2021-10-03 02:33:01 -04:00
Matthias Clasen
5bf1196bd4
ngl: Drop the texture pool object
...
This wasn't serving any clear purpose.
2021-10-03 02:32:40 -04:00
Matthias Clasen
bfcc2da2ce
ngl: Cosmetics
...
Move _GskNglTextureState to the one place it is used.
2021-10-03 01:20:06 -04:00
Matthias Clasen
670659bcba
Revert "Add GtkLoader to gtk4-widget-factory"
...
This reverts commit 923c944abb
.
This commit broke the image dnd, and the async
loading isn't that important here.
2021-10-02 23:58:26 -04:00
Matthias Clasen
08fd62e328
x11: Better debug for egl
...
Print the extensions one per line, and sort them
alphabetically, so it is actually possible to find
something in the list.
Also print a short description of the chosen config.
2021-10-01 22:23:08 -04:00
Matthias Clasen
63b73351ae
Merge branch 'matthiasc/for-master' into 'master'
...
Fix the build
See merge request GNOME/gtk!4021
2021-10-02 02:16:42 +00:00
Matthias Clasen
a9f401a9a0
wayland: better debug for egl
...
Print the extensions one per line, and sort them
alphabetically, so it is actually possible to find
something in the list.
Also print a short description of the chosen config.
2021-10-01 20:55:05 -04:00
Matthias Clasen
e9828f1fcd
Fix the build
...
I messed this up when I changed how we build resources.
2021-10-01 12:56:05 -04:00
Matthias Clasen
169effefc2
Merge branch 'ebassi/getting-started-links' into 'master'
...
docs: Fix links in the Getting Started page
See merge request GNOME/gtk!4018
2021-10-01 03:48:46 +00:00
Matthias Clasen
6339875989
Fix an oversight
2021-09-30 23:45:33 -04:00
Matthias Clasen
802ad39209
gtk: Speed up build
...
Avoid serializing the gresource blob into a C string
and running gcc over it. Instead, use ld to put it
directly into an .o file and add it to the build.
The build system machinations here were copied from
gobject/tests/meson.build, and should ideally be part
of the meson gnome module.
2021-09-30 23:30:48 -04:00
Matthias Clasen
200a2f5c71
gtk-demo: Speed up the build
...
Avoid serializing the gresource blob into a C string
and running gcc over it. Instead, use ld to put it
directly into an .o file and add it to the build.
The build system machinations here were copied from
gobject/tests/meson.build, and should ideally be part
of the meson gnome module.
2021-09-30 23:10:24 -04:00
Matthias Clasen
d7e117f52b
widget-factory: Speed up build
...
Avoid serializing the gresource blob into a C string
and running gcc over it. Instead, use ld to put it
directly into an .o file and add it to the build.
The build system machinations here were copied from
gobject/tests/meson.build, and should ideally be part
of the meson gnome module.
2021-09-30 23:10:24 -04:00
Benjamin Otte
72bbc51ba9
Merge branch 'otte/for-master2' into 'master'
...
docs: Add note about stable sorting to SortListModel
See merge request GNOME/gtk!4017
2021-10-01 02:49:11 +00:00
Emmanuele Bassi
a816f81ecd
docs: Fix links in the Getting Started page
...
We still have links to old gtk-doc references, as well as links to
developer.gnome.org locations that don't exist any more. On the other
hand, we are missing a bunch of links to existing types and symbols.
2021-10-01 01:44:01 +01:00
Benjamin Otte
5c3b368925
docs: Add note about stable sorting to SortListModel
2021-10-01 00:31:51 +00:00
Matthias Clasen
2a3a1aaf1e
Merge branch 'fix-wgl-cairo-fallback' into 'master'
...
Apply MR !3964 to master (fix WGL->Cairo fallback-related items)
Closes #4257
See merge request GNOME/gtk!3987
2021-10-01 00:29:40 +00:00
Matthias Clasen
156650e90a
Merge branch 'dab_fix_libtiff_install' into 'master'
...
libtiff: update meson patch to install the lib
See merge request GNOME/gtk!4014
2021-10-01 00:27:41 +00:00
Matthias Clasen
bf93537d54
Merge branch 'matthiasc/for-master' into 'master'
...
widget-factory: Use the same gtk-logo.webm
See merge request GNOME/gtk!4015
2021-10-01 00:27:16 +00:00
Matthias Clasen
f42c61f9d1
Merge branch 'wip/otte/for-master' into 'master'
...
testsuite: Actually run all memorytexture tests
See merge request GNOME/gtk!4016
2021-10-01 00:26:59 +00:00
Benjamin Otte
ce40c64f6b
widget-factory: Copy alpha-corrected logo webm from gtk-demo
...
I want beautiful content please.
I'd also like to see when transparency suddenly starts working.
2021-10-01 01:18:45 +02:00
Matthias Clasen
f836d2f9f7
widget-factory: Use the same gtk-logo.webm
...
Use the same animated GTK logo as in gtk4-demo.
That version has a transparent background, so
it is preferrable.
2021-09-30 14:50:31 -04:00
Stéphane Cerveau
bdcfb760b5
libtiff: update meson patch to install the lib
...
see https://github.com/mesonbuild/wrapdb/pull/171
2021-09-30 15:59:17 +02:00
Daniel Șerbănescu
749883835a
Update Romanian translation
...
(cherry picked from commit dc77823787
)
2021-09-30 12:40:53 +00:00
Matthias Clasen
b4d91d5e31
Merge branch 'master-msvc-fixes' into 'master'
...
Fix GIT master build on Visual Studio 2015
See merge request GNOME/gtk!4010
2021-09-30 12:30:08 +00:00
Chun-wei Fan
dbd0ce30d9
meson: Improve search for libpng
...
On Visual Studio-style builds, it is likely that we do not have pkg-config
files for libpng, so improve the search for libpng by using CMake's built-in
mechanisms for looking for libpng. This, however, means that we need to use
'png' rather than 'libpng' for the package name to search for.
2021-09-30 16:21:45 +08:00
Chun-wei Fan
a45e1a01fc
fp16.c: Fix float_to_half() function call
...
Correct the function being called.
2021-09-30 16:21:38 +08:00
Chun-wei Fan
9bff56db9f
GDK-Win32: Fix build
...
Include the appropriate headers as some function prototypes were moved lately.
Also, re-order the include order of the gdk/*private.h headers alphabetically
in the files that were updated.
2021-09-30 16:21:38 +08:00
Matthias Clasen
502b3ceaa2
Merge branch 'matthiasc/for-master' into 'master'
...
gtk-builder-tool: Simplify <style>
See merge request GNOME/gtk!4009
2021-09-29 15:37:29 +00:00
Matthias Clasen
01abd1565e
a11y: Simplify atspi context a bit
...
We don't really need a bus-address property
that gets copied for every single object.
We keep the address in object data on the
display anyway. Just use it from there.
This gets rid of a nice amount of strdups
at startup.
2021-09-29 10:58:23 -04:00
Matthias Clasen
160aeb4879
Simplify our ui files
...
Run gtk4-builder-tool simplify over our ui files,
we simplify some more things now.
2021-09-29 10:58:23 -04:00
Matthias Clasen
fd0a5e3c23
buildertool: Fix a simplify issue
...
<lookup> elements can contain a type name, we can't just
ignore the pcdata content. This was breaking some of our
ui files when simplifying them.
2021-09-29 10:58:23 -04:00
Matthias Clasen
6f002678be
gtk-builder-tool: Simplify more
...
Simplify enum properties as well.
Update affected tests.
2021-09-29 10:58:21 -04:00
Yuri Chornoivan
da5efea663
Update Ukrainian translation
2021-09-29 12:51:56 +00:00
Sveinn í Felli
22ffae1b13
Update Icelandic translation
...
(cherry picked from commit 4e08ec0ea1
)
2021-09-29 12:05:11 +00:00
Yuri Chornoivan
62ed3b476d
Update Ukrainian translation
2021-09-29 11:35:43 +00:00
Kukuh Syafaat
4a684a6371
Update Indonesian translation
...
(cherry picked from commit cc70eaca93
)
2021-09-29 05:57:36 +00:00
Matthias Clasen
18c9727a98
Merge branch 'wip/chergert/fix-4279' into 'master'
...
macos: handle NULL surface when creating GL context
Closes #4279
See merge request GNOME/gtk!4008
2021-09-29 01:22:35 +00:00
Christian Hergert
e77eaa0ace
macos: handle NULL surface when creating GL context
...
Fixes #4279
2021-09-28 17:36:23 -07:00
Matthias Clasen
12e8a92608
Merge branch 'matthiasc/for-master' into 'master'
...
builder: Simplify parameter collection
See merge request GNOME/gtk!4006
2021-09-28 22:24:13 +00:00
Matthias Clasen
5bc3923bae
builder-tool: Avoid <style> when converting
...
We can just set the css-classes property instead.
Update affected tests.
2021-09-28 17:48:50 -04:00
Matthias Clasen
e99ac8f6d8
builder: Simplify parameter collection
...
This avoids setting the GValue only to toss it at the
end of the loop body. Instead, we can just do nothing
if this property isn't interesting to us.
2021-09-28 17:48:50 -04:00
Yaron Shahrabani
f5db501879
Update Hebrew translation
...
(cherry picked from commit e230579149
)
2021-09-28 20:28:18 +00:00
Matthias Clasen
8aafee4e35
Merge branch 'matthiasc/for-master' into 'master'
...
entry: Clarify docs
See merge request GNOME/gtk!4005
2021-09-28 20:24:16 +00:00
Matthias Clasen
83b434d6a5
docs: Mention popovers in the migration guide
...
Things have changed around popovers, we should mention
that.
2021-09-28 15:47:06 -04:00
Matthias Clasen
2c9a2e94c8
entry: Clarify docs
...
Mention that max length is in characters.
2021-09-28 15:40:41 -04:00
Matthias Clasen
8f817e67de
Merge branch 'matthiasc/for-master' into 'master'
...
Fix the build
See merge request GNOME/gtk!4004
2021-09-28 19:39:57 +00:00
Matthias Clasen
66c80e82ba
Merge branch 'builder-binding-ordering' into 'master'
...
builder: Fix handling of `<binding>`
Closes #4147
See merge request GNOME/gtk!4003
2021-09-28 19:38:30 +00:00
Matthias Clasen
32191bc18e
Fix the build
...
gcc was complaining here with -Werror=return-type.
2021-09-28 15:19:17 -04:00