| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Add a property to hide the selection from the listview. This makes it
possible to "turn off" selections in widgets like CCPanelList when
collapsing from a sidebar to a menu view due to size constraints and
back on when switching back.
|
| |
|
|
|
|
|
|
| |
This was carelessly broken by me in 5b473911.
While fixing it anyway, at some support for better error handling.
Fixes #4381
|
| |
|
|
| |
The base_directory argument is never used. So don't have it.
|
| |\
| |
| |
| |
| | |
master: premature controller unreferencing in gtk_event_controller_handle_event
See merge request GNOME/gtk!4099
|
| | |
| |
| |
| |
| |
| | |
Fixes premature controller unreferencing in
gtk_event_controller_handle_event() if the controller itself is being
removed while handling the event.
|
| |\ \
| | |
| | |
| | |
| | | |
docs: standard names are CSS names, not X11 names
See merge request GNOME/gtk!4100
|
| |/ /
| |
| | |
We updated Pango a while ago to use these more common names, but apparently forgot the docs.
|
| |\ \
| | |
| | |
| | |
| | | |
macos: fix scale on macOS 12 beta
See merge request GNOME/gtk!4065
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a port of the fix in the quartz backend to the new macOS backend.
From the original commit:
In macOS-12.sdk CGContextConverSizeToDeviceSpace returns a negative
height and passing that to CGContextScaleCTM in turn causes the cairo
surface to draw outside the window where it can't be seen. Passing the
absolute values of the scale factors fixes the display on macOS 12 without
affecting earlier macOS versions.
|
| |\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
gdktypes: Remove GDK_EXTERN_VAR
Closes #4373
See merge request GNOME/gtk!4097
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If a URL can't be loaded, we might end up with a NULL file. Handle that
case properly by creating an invalid image instead and don't crash or
complain to stderr when files are NULL.
This was broken since 0886ade182f1a958024202d5c20248d57fcdb053
A new reftest has been included. We need a reftest instead of a
CSS parser test, because the error only becomes visible when
compute()ing the actual image.
Fixes #4373
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Add gdkenums.h for enums and keep gdktypes.h for types.
Makes both files easier to read.
|
| |/ /
| |
| |
| | |
It is unused.
|
| |\ \
| | |
| | |
| | |
| | | |
since annotations cleanup
See merge request GNOME/gtk!4086
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
gdkdisplay: Remove (nullable)
See merge request GNOME/gtk!4096
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
gdk_display_create_gl_context only returns NULL when there is
an error set or asserts/aborts. So nullalbe annotation isn't needed.
Similar to 53312cf696516cdeb1c284008992022a210bb233
|
| |/ / /
| | |
| | |
| | | |
(cherry picked from commit 4f5264d1b7dae98e1732d57098b9a7e4940964cd)
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
readme: Fix "Building GTK" docs link
See merge request GNOME/gtk!4095
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
A few inspector papercut fixes
See merge request GNOME/gtk!4092
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make it work with the property list as well, handle spinbuttons, adjust
paddings so that buttons don't touch each other, don't override horizontal
padding unnecessarily.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Those aren't sidebars. Add separators manually instead of misusing the
style class.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Same as object properties.
|
| | | | |
| | | |
| | | |
| | | | |
Avoid buttons jumping around while moving through list models.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Remove all of the manual margins, spacing and has-frame=0, be more
consistent.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Remove a hardcoded light grey border from the sidebar that was used for
this.
|
| |/ / /
| | |
| | |
| | | |
The one from the theme works just fine.
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Fix a bunch of issues found by static analyzer
See merge request GNOME/gtk!4090
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Makes the static analyzer not trip up when trying to analyze memory
leaks.
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add a bunch of reftests and fix their failures
Closes #4285
See merge request GNOME/gtk!4085
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Have square images in the following sizes:
* 20
* 100
* 150
* 200
* 300
and place them in a can-shrink Picture allocated at the sizes:
* 200x100
* 100x200
and set align to center/center.
That's 10 combinations and they should all do the right thing.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This fixes fallout from 3742fabae040d914e6ae58edf31170a54a980f21 where
we would no longer allocate widgets to their natural size when
align flags where used.
GtkPicture wants to be allocated at 100% in that case, so a picture with
a 100x100 image inside a 200x200 window should be allocated 100x100.
The new adjustment code now does the following (for width-for-height
instead of height-for-width, swap width and height in the following):
1. query the minimum width for the allocated height
2. query the natural width
3. compute the maximum of (1) and (2)
4. set the widget width to the minimum of (3) and the allocated
width.
5. compute the natural height for (4)
6. set the widget height to the minimum of (5) and the allocated height.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If we have no node, don't crash when trying to save the node file.
Instead, write an empty file.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
But don't call it too early, we only want to call it once we have
prepared the target.
This way, we guarantee that a GL context is always available and that it
is bound to the correct target.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes msys compiles on Windows (and everywhere else hopefully).
Fixes #4285
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Correct translation of Mac JIS Eisu & Kana keys
Closes #4117
See merge request GNOME/gtk!3782
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since UCKeyTranslate() converts these keys to Space key unexpectedly,
applications can't distinguish these keys by keysyms.
To solve it, this fix translates these keys by the same way with
function keys & keypad keys.
This patch is equivalent to the patch proposed in:
https://bugzilla.gnome.org/show_bug.cgi?id=702841
Closes #4117
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Better errors ftw!
See merge request GNOME/gtk!4084
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This CSS:
calc(5px+3px)
is wrong because it gets broken to:
calc( 5px +3px )
which is 2 numbers inside the calc, and what you want is:
calc( 5px + 3px )
but you need to add a space to get this, like so:
calc(5px + 3px)
which is the recommended way to write calc() statements.
So whenever we encounter an error, check if the next token is a signed
number and if so, include it in the error message.
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Add a signed and an unsigned version.
This will become useful real soon.
|