summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Annotate gtk_get_default_language as constfunction-annotationsMatthias Clasen2021-09-141-1/+1
|
* Annotate gtk_editable_get_chars as mallocMatthias Clasen2021-09-141-1/+1
|
* csstypes: Add annotations and inlinesMatthias Clasen2021-09-142-67/+64
| | | | | | Inline _gtk_css_change_for_sibling and _gtk_css_change_for_child, and mark a few other functions as const or malloc.
* Annotate some builder apis as mallocMatthias Clasen2021-09-141-2/+2
|
* Annotate gtk_accelerator_get_default_mod_mask as constMatthias Clasen2021-09-141-1/+1
|
* Annotate gsk_cairo_blur_compute_pixels as constMatthias Clasen2021-09-141-1/+1
|
* Annotate gdk_rgba_to_string as mallocMatthias Clasen2021-09-141-1/+1
|
* Annotate gdk_drag_action_is_unique as constMatthias Clasen2021-09-141-1/+1
|
* Annotate gtk_css_tokenizer_get_location as constMatthias Clasen2021-09-141-1/+1
|
* cssparser: Mark some functions as pure and mallocMatthias Clasen2021-09-141-7/+7
|
* Annotate gsk_ngl_uniform_state_align as pureMatthias Clasen2021-09-141-1/+1
|
* Annotate gsk_rounded_rect_is_circular as pureMatthias Clasen2021-09-141-2/+2
| | | | And also mark gsk_rounded_rect_to_string as malloc.
* Annotate pango_glyph_string_num_glyphs as pureMatthias Clasen2021-09-141-1/+1
|
* Annotate gdk_unichar_direction as constMatthias Clasen2021-09-141-1/+1
|
* Merge branch 'fix_accessible_described_by' into 'master'Matthias Clasen2021-09-141-1/+1
|\ | | | | | | | | Fix generation of accessible description in presence of described by relations See merge request GNOME/gtk!3948
| * Fix generation of accessible description in presence of described by relationsLukáš Tyrychtr2021-09-141-1/+1
| | | | | | | | The loop going through the relation list should have stopped on the NULL sentinel value, however it never accesed the next list element.
* | Merge branch 'test-leak-fixes' into 'master'Matthias Clasen2021-09-142-0/+4
|\ \ | | | | | | | | | | | | testsuite: Fix a few memory leaks See merge request GNOME/gtk!3947
| * | testsuite: Fix a few memory leakstest-leak-fixesMatthias Clasen2021-09-142-0/+4
|/ / | | | | | | These are keeping the asan build in ci from passing.
* | Merge branch 'tiff-ci' into 'master'Matthias Clasen2021-09-142-1/+2
|\ \ | | | | | | | | | | | | ci: Add libtiff-devel to the image See merge request GNOME/gtk!3946
| * | ci: Use the v4 imageMatthias Clasen2021-09-141-1/+1
| | |
| * | ci: Add libtiff-devel to the imageMatthias Clasen2021-09-141-0/+1
| |/ | | | | | | We want to require libtiff in our build.
* | Merge branch 'wip/exalm/papercuts' into 'master'Matthias Clasen2021-09-142-0/+2
|\ \ | |/ |/| | | | | Fix 2 papercuts See merge request GNOME/gtk!3945
| * media-controls: Make play button flatwip/exalm/papercutsAlexander Mikhaylenko2021-09-141-0/+1
| | | | | | | | Match the volume button.
| * searchbar: Vertically center the close buttonAlexander Mikhaylenko2021-09-141-0/+1
|/
* Merge branch 'fix_#4255' into 'master'Matthias Clasen2021-09-131-3/+4
|\ | | | | | | | | | | | | stack: Dispose children before emitting items-changed Closes #4255 See merge request GNOME/gtk!3943
| * stack: Dispose children before emitting items-changedJulian Sparber2021-09-131-3/+4
|/ | | | | | | | This makes sure that the `GListModel` returned by `gtk_stack_get_pages()` actually has the items removed before `items-changed` is emitted. Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4255
* Merge branch 'wip/otte/texture-threads' into 'master'Benjamin Otte2021-09-134-71/+195
|\ | | | | | | | | gltexture: Make sure downloading textures works in a different thread See merge request GNOME/gtk!3942
| * ngl: Simplify and unbug texture downloadBenjamin Otte2021-09-131-19/+8
| | | | | | | | | | If we can't handle the texture, always just download_texture() it, that way we are sure it's a memory texture.
| * gltexture: Make sure downloading textures works in a different threadBenjamin Otte2021-09-133-52/+187
| | | | | | | | | | | | | | | | | | | | This happens in the real world when using the inspector to look at a node recording of a GStreamer video while the video is still playing. GStreamer will use the GL context in a different thread while we are busy trying to download it. A test is included.
* | Update German translationPhilipp Kiemle2021-09-121-1710/+1748
|/ | | | (cherry picked from commit 17d828fda2137eaa068de947171214db8ec7b074)
* Merge branch 'wip/otte/float-textures' into 'master'Benjamin Otte2021-09-1213-296/+1359
|\ | | | | | | | | Add float texture formats See merge request GNOME/gtk!3940
| * testsuite: Add tests for gdk_texture_download_float()wip/otte/float-texturesBenjamin Otte2021-09-121-0/+99
| |
| * testsuite: Add memory test support for OpenGL up/downloadsBenjamin Otte2021-09-121-16/+106
| | | | | | | | | | | | | | Use a GL renderer to upload textures (and then optionally download them via release() again). This way, we can test that the GL renderer properly uploads textures to the right formats (not losing information for HDR for example) and downloads them again.
| * testsuite: Add tests uploading the memorytexturesBenjamin Otte2021-09-121-4/+23
| | | | | | | | Use a GL renderer and render_texture() them.
| * testsuite: Rework memorytexture test some moreBenjamin Otte2021-09-121-58/+44
| | | | | | | | Instead of predefined colors, generate them randomly.
| * testsuite: Overhaul memorytexture testBenjamin Otte2021-09-121-122/+327
| | | | | | | | | | Instead of hardcoding pixel values, allow construction of textures by filling them with GdkRGBA values.
| * gl: Implement uploading and downloading HDR formatsBenjamin Otte2021-09-122-55/+104
| | | | | | | | | | Also refactor the GL uploading so it does the fallback in a GLES-compatible way, which means we only need one fallback.
| * memorytexture: Add support for HDR formatsBenjamin Otte2021-09-122-4/+311
| | | | | | | | | | Also sanitize the input bytes so the strides match alignment requirements of the data types.
| * texture: Add gdk_texture_download_float()Benjamin Otte2021-09-126-0/+217
| |
| * gdk: Deprecate gdk_cairo_draw_from_gl()Benjamin Otte2021-09-122-2/+8
| | | | | | | | | | | | It's broken with various pixel formats and OpenGL ES, it's hard to understand what everything does, and gdk_texture_download() can be used instead.
| * gltexture: Implement download() via glGetTexImage()Benjamin Otte2021-09-121-19/+23
| | | | | | | | | | | | | | | | | | 1. The download via gdk_cairo_draw_from_gl() was broken sometimes 2. We get easy conversion on fallback by chaining up and using download_texture(). 3. One more place where Cairo is no longer necessary.
| * gltexture: Make release() use download_texture()Benjamin Otte2021-09-121-15/+1
| | | | | | | | | | | | | | | | | | 1. It avoids Cairo, and in particular conversion to Cairo. 2. Keeping a texture allows easy chaining in the vfuncs. 3. Using a texture means releasing will work for HDR formats too, once we add them.
| * texture: Add gdk_texture_download_texture()Benjamin Otte2021-09-124-5/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A private vfunc that downloads a texture as a GdkMemoryTexture in whatever format the texture deems best. There are multiple reasons for this: * GLES cannot download the Cairo format. But it can download some format and then just delegate to the GdkMemoryTexture implementation. * All the other download vfuncs (including the ones still coming) can be implemented via download_texture() and delegation, making the interface easier. * We want to implement image loading and saving support. By using download_texture(), we can save in the actual format of the texture. * A potential GdkCompressedTexture could be implemented by just providing this one vfunc as a compress() step.
| * texture: Add GdkMemoryConversion private enumBenjamin Otte2021-09-126-24/+38
| | | | | | | | | | Now gdk_memory_convert() converts to one of these conversions instead of re(ab)using parts of the GdkMemoryFormat enum.
| * gltexture: release() to a texture, not a cairo_surfaceBenjamin Otte2021-09-121-34/+28
| | | | | | | | | | This makes forwarding vfuncs a lot easier, because we can just call them on the texture.
| * texture: Remove unused argument from vfuncBenjamin Otte2021-09-124-39/+16
| |
* | Update Hungarian translationBalázs Úr2021-09-121-927/+1033
|/
* Update Hungarian translationBalázs Úr2021-09-111-1542/+862
|
* Merge branch 'wip/otte/for-master' into 'master'Benjamin Otte2021-09-111-8/+12
|\ | | | | | | | | rendernode: Write the whole node See merge request GNOME/gtk!3938
| * rendernode: Write the whole nodeBenjamin Otte2021-09-111-8/+12
| | | | | | | | | | It turns out g_output_stream_write_bytes() does not write the bytes. It should be renamed to g_output_stream_write_some_of_the_bytes() maybe.