Jan Lukas Gernert
88e796bb45
Add 4.6 version macros
2021-08-23 07:54:27 +02:00
Matthias Clasen
1310bf0218
Merge branch 'matthiasc/for-master' into 'master'
...
NEWS: Updates
See merge request GNOME/gtk!3872
2021-08-22 21:16:02 +00:00
Matthias Clasen
4efeaa844f
NEWS: Updates
2021-08-22 16:41:22 -04:00
Matthias Clasen
24685612a9
Merge branch 'css-text-transform' into 'master'
...
css: Implement text-transform
See merge request GNOME/gtk!3862
2021-08-22 20:40:50 +00:00
Matthias Clasen
bf21df4195
Add an example for text transforms
...
Show some transformed text in the markup demo.
2021-08-22 15:57:50 -04:00
Matthias Clasen
417b3f9c6b
Implement text transforms for GtkTextView
...
Add a property to GtkTextTag and do all the
legwork to translate it to the Pango attribute.
2021-08-22 15:57:50 -04:00
Matthias Clasen
2d84a1c63e
css: Implement text-transform
...
Implement the text-transform property from
https://www.w3.org/TR/css-text-3/#text-transform-property
using a new Pango attribute.
2021-08-22 15:57:50 -04:00
Matthias Clasen
5ab9a29bc4
Merge branch 'bump-pango' into 'master'
...
Bump the pango dependency
See merge request GNOME/gtk!3871
2021-08-22 19:57:21 +00:00
Matthias Clasen
383ea0d86a
Merge branch 'css-line-height2' into 'master'
...
Implement CSS line-height
See merge request GNOME/gtk!3833
2021-08-22 19:47:10 +00:00
Matthias Clasen
df8f75bb8f
Merge branch 'matthiasc/for-master' into 'master'
...
windowhandle: Quiet a compiler warning
See merge request GNOME/gtk!3868
2021-08-22 19:28:01 +00:00
Matthias Clasen
ba95ef63da
Drop PANGO_VERSION_CHECK checks
...
We require Pango 1.49 now.
2021-08-22 15:26:23 -04:00
Matthias Clasen
bea4aa31ea
Bump Pango dep
...
Require Pango 1.49, so we can support new attributes
without too much ifdeffery.
2021-08-22 15:23:42 -04:00
Matthias Clasen
6c19a8352f
gtk-demo: Add a line height demo
...
Add an example for widely spaced text to the markup demo.
2021-08-22 15:15:50 -04:00
Matthias Clasen
e3df89b524
gtk-demo: Improve markup demo
...
The font sizes demo had the space between the font-size spans,
causing us to have a run with just a default sized space between
the words, which in turn leads to wobbly cursor sizes. Avoid that
by including the space in the preceding span.
Also, make it bigger.
2021-08-22 15:15:50 -04:00
Matthias Clasen
a9003f7ac0
gtk-demo: Set line height from markup
...
Keep the import-markup code in sync with GtkTextBuffer.
2021-08-22 15:15:50 -04:00
Matthias Clasen
2cc06f60c5
textview: Set line height from markup
...
Note that we ignore the absolute-line-height
attribute for now.
2021-08-22 15:15:50 -04:00
Matthias Clasen
4759afcc3e
textview: Set line height from css
...
Set the line height in the default attributes from
the CSS style. This makes line height work in
GtkTextView.
2021-08-22 15:15:50 -04:00
Matthias Clasen
66b297e408
textview: Add line height plumbing
...
This adds a line-height property to GtkTexttag and a
line_height field to GtkTextAttributes, and translates
it to a pango attribute.
2021-08-22 15:15:50 -04:00
Matthias Clasen
bbd2b255a3
css: Document line-height as supported
2021-08-22 15:15:50 -04:00
Matthias Clasen
8b2f28eee3
css: Add parser tests for line-height
2021-08-22 15:15:50 -04:00
Matthias Clasen
ae767dc5bf
css: Translate line-height to a Pango
...
Pango 1.50 introduces a line-height attribute. Use it.
This is enough to make line-height work for labels
and entries.
2021-08-22 15:15:50 -04:00
Matthias Clasen
d923402934
css: Add line-height property
...
This adds the plumbing to parse the line-height
property from CSS. Widgets are not picking it
up yet.
2021-08-22 15:15:50 -04:00
Benjamin Otte
9667f889b3
Merge branch 'clipboard-set-docs' into 'master'
...
docs: Expand gdk_clipboard_set() docs
See merge request GNOME/gtk!3865
2021-08-22 18:49:13 +00:00
Benjamin Otte
d2ea7af335
docs: Expand gdk_clipboard_set() docs
2021-08-22 18:49:12 +00:00
Matthias Clasen
f95e9407a9
Fix up test output for new version
...
Annoying that this test has to be touched every time
we bump the version.
2021-08-22 14:48:12 -04:00
Matthias Clasen
7be3c2974a
windowhandle: Quiet a compiler warning
...
gesture was left uninitialized in the default case.
2021-08-22 14:19:14 -04:00
Matthias Clasen
5444f604cb
Merge branch 'matthiasc/for-master' into 'master'
...
Bump version to 4.5
See merge request GNOME/gtk!3867
2021-08-22 17:53:34 +00:00
Matthias Clasen
94e68b0e36
Bump version to 4.5
...
4.4 has been branched off.
2021-08-22 13:06:29 -04:00
Matthias Clasen
910d86f958
NEWS: Updates
2021-08-22 13:06:15 -04:00
Matthias Clasen
fd885e42b0
Merge branch 'drop-gl' into 'master'
...
gsk: Drop the gl renderer
See merge request GNOME/gtk!3863
2021-08-22 17:04:25 +00:00
Matthias Clasen
ea31ae31c1
tests: Remove an outdated comment
...
It refers to a file that no longer exists.
2021-08-22 12:29:59 -04:00
Matthias Clasen
00763e5af3
media: Don't include gsk/gl/gskglrenderer.h
2021-08-22 12:29:40 -04:00
Matthias Clasen
1bf5aab18c
testutils: Don't include gsk/gl/gskglrenderer.h
2021-08-22 12:29:13 -04:00
Matthias Clasen
210a709246
Merge branch 'matthiasc/for-master' into 'master'
...
Handle new pango attribute type
See merge request GNOME/gtk!3866
2021-08-22 15:22:14 +00:00
Matthias Clasen
5feba67a3d
Handle new pango attribute type
...
Update all the places where we switch over
PangoAttrType to handle PANGO_ATTR_TEXT_TRANSFORM,
and do nothing for now - text-transform support
will land in 4.6.
2021-08-22 11:04:28 -04:00
Matthias Clasen
e9e373913e
gsk: Drop the gl renderer
...
ngl supports all the same platforms as gl
now, and has seen more improvements in the
last cycle.
2021-08-20 22:58:30 -04:00
Matthias Clasen
f1f197e3b9
4.4.0
2021-08-20 15:10:25 -04:00
Matthias Clasen
cedb6183e9
Fix imcontext tests
...
We should force our internal im context for these
tests, so we don't depend on the environment.
2021-08-20 15:10:25 -04:00
Matthias Clasen
0415d46c0f
Merge branch 'matthiasc/for-master' into 'master'
...
NEWS: Updates
See merge request GNOME/gtk!3861
2021-08-20 14:21:39 +00:00
Matthias Clasen
68388331c7
NEWS: Updates
2021-08-20 09:54:02 -04:00
Matthias Clasen
92817b0603
Merge branch 'cut-shortcut-activation-short' into 'master'
...
shortcutcontroller: Only do round-robin for mnemonics
Closes #4130
See merge request GNOME/gtk!3824
2021-08-20 13:50:51 +00:00
Matthias Clasen
f8a1726ffa
shortcutcontroller: Only do round-robin for mnemonics
...
Don't do round-robin activation unless we are looking
for mnemonics, where this is an expected feature.
Fixes : #4130
2021-08-20 09:26:37 -04:00
Matthias Clasen
be34f27026
Merge branch 'matthiasc/for-master' into 'master'
...
gdk: Add a missing annotation
Closes #4097
See merge request GNOME/gtk!3860
2021-08-20 13:22:01 +00:00
Emmanuele Bassi
12c5518e2b
Merge branch 'master' into 'master'
...
a11y: Send correct object reference for the root accessible
See merge request GNOME/gtk!3800
2021-08-20 13:18:37 +00:00
Matthias Clasen
d8ab5c3c45
gdk: Add a missing annotation
...
Mark an array as zero-terminated.
Fixes : #4097
2021-08-20 08:57:27 -04:00
Matthias Clasen
36d1c9e8b7
Merge branch 'add-support-for-windows-pointer-input-stack-gtk4' into 'master'
...
Add support for Windows Pointer Input Stack
Closes #262 , #3162 , #729 , and #537
See merge request GNOME/gtk!3684
2021-08-20 11:31:16 +00:00
Matthias Clasen
45c047f5c0
Merge branch 'block-cursor-fixes' into 'master'
...
textview: Don't eat block cursors
See merge request GNOME/gtk!3857
2021-08-20 06:18:07 +00:00
Matthias Clasen
da1232caaf
textview: Don't eat block cursors
...
We need to render even an empty paragraph when
it has a block cursor at the end. This fixes block
cursors not showing up in empty lines.
2021-08-20 01:57:31 -04:00
Matthias Clasen
fff5a83957
Merge branch 'matthiasc/for-master' into 'master'
...
window: Make resizeability changes work
See merge request GNOME/gtk!3856
2021-08-19 21:19:40 +00:00
Matthias Clasen
f5b6488eb2
window: Make resizeability changes work
...
We were forgetting to update the toplevel
properties here.
2021-08-19 16:03:58 -04:00