Commit Graph
5987 Commits
Author SHA1 Message Date
Balázs Úr 9d4ed095a4 Update Hungarian translation 2026-09-07 09:04:49 +00:00
Alexander Alexandrov Shopov 978546c2f8 Update Bulgarian translation 2026-09-05 20:47:43 +00:00
Martin 4944b9127d Update Slovenian translation 2026-09-05 10:49:12 +00:00
Zelda Ahmed 30f1849dcd Update POTFILES with gcal-notes-section.blp
`gcal-notes-section.blp` now contains a string that needs translating but I
forgot to add the file to POTFILES in the original MR at
https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/714

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/826>
2026-09-05 10:07:16 +00:00
Alen be7ee6d4c6 Update Bosnian translation 2026-09-05 08:36:14 +00:00
Jor Teron 806e6feaa0 Update Karbi translation 2026-09-04 17:21:31 +00:00
Christian Kirbach 704e3cbca0 Update German translation 2026-09-03 18:26:10 +00:00
Hari Rana 9838bbee11 gui/application: Add support URL to about dialog
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/823>
2026-09-03 15:48:12 +00:00
Daniel Mustieles 065ae8a21a Updated Spanish translation 2026-09-03 16:59:38 +02:00
Balázs Úr ba5229d998 Update Hungarian translation 2026-09-01 18:53:01 +00:00
Arlewatyerre Tuhoro-Bell b6678b9b82 Update Maori translation 2026-08-31 21:45:22 +00:00
acey dot 841cbbd32f Update Serbian translation 2026-08-31 15:29:43 +00:00
Hari Rana a64e3b59a2 gui/calendar-list: Remove calendar-list style class
This fixes a bug where the calendar list in the sidebar would not
change the background color when hovering over a calendar.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/824>
2026-08-31 13:45:30 +00:00
Arlewatyerre Tuhoro-Bell 2dd110b9b4 Add Maori translation 2026-08-31 13:09:25 +00:00
Марко Костић b1d9e28920 Update Serbian translation
(cherry picked from commit 118fe0c1ecd61268a7c60bcef1a5f458272e1922)
2026-08-30 09:34:42 +00:00
Марко Костић 3ab6ecf416 Update Serbian translation
(cherry picked from commit 5c66ae1d380d8a8664612704cc29d16052e806f8)
2026-08-30 09:32:57 +00:00
Maximiliano Sandoval 28e0b65017 Stop using G_GNUC_CONST in _get_type functions
As per g_type_ensure's documentation it is incorrect to mark _get_type
functions with G_GNUC_CONST since they have side-effects on their first
run.

See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5223 for more
details.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/819>
2026-08-29 11:06:13 +00:00
Zelda Ahmed dbb786d0e8 tests/range: Add bug base URL
Every other unit test included a link to calendar's bug reporting except
test-range.c, so lets include that

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/820>
2026-08-29 10:48:24 +01:00
Georges Basile Stavracas Neto a8493b55ff Post-release version bump
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/818>
2026-08-28 19:31:18 -04:00
Georges Basile Stavracas Neto 176d29260e 51.rc
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/818>
2026-08-28 19:31:18 -04:00
Felipe Alves pipe-felipe 56128e0574 views/week-view: Fix inverted Ctrl+scroll zoom direction
Ctrl+scrolling with a mouse wheel zoomed in the opposite direction
than expected: scrolling up zoomed out and scrolling down zoomed in,
which is inconsistent with other GNOME apps such as Loupe and
Nautilus.

Negate the scroll delta in both smooth (touchpad) and discrete
(mouse wheel) scrolling cases, so scrolling up now zooms in.

Fixes #1633

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/815>
2026-08-28 22:01:23 +00:00
Hari Rana 1b10e66078 gui/event-widget: Guard event popover's pointing coordinates on multi-day events
A follow-up on https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/677#note_2628484,
which prevents the event popover from pointing outside the event
widget's boundaries on multi-day events when activated before exceeding
the drag threshold:
https://docs.gtk.org/gtk4/property.Settings.gtk-dnd-drag-threshold.html

This is mainly useful for people who fidget and may sloppily
click and drag event widgets (before triggering the drag operation),
causing the popover to place itself in unpredictable locations.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/697>
2026-08-28 21:55:35 +00:00
tytan652 fbbf6d854c tests/discoverer: Add file variations
Enables testing properly the ICS header check which is ignored if
content-type is text/calendar.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/814>
2026-08-28 21:51:52 +00:00
tytan652 d1a400c856 utils/source-discoverer: Allow ICS with LF line breaks
RFC 5545 states that CRLF line breaks should be used but other consumer
seems to allow CR being missing.

https://datatracker.ietf.org/doc/html/rfc5545#section-3.1

Note, that the check result was ignored if the content-type is
text/calendar.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/814>
2026-08-28 21:51:52 +00:00
Anthony Zang 7693feb248 views/month: Cancel active animation before starting new ones
Before, two finger scrolls on mint cinnamon (X11 scroll instead of
wayland) caused month view to crash. g_clear_obj... orphan would an
animation allowing two animations to exist at once, causing conflict
when the orphan continued in the background. The two animations would be
generated due to X11's legacy support of both discrete notch scrolling
and the two finger smooth scrolling.

I replaced g_clear... with cancel_row_offset_animation in
snap_to_top_row which ensures that the orphaned animation is dead prior
to reassigning variables.

Fixes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/work_items/1616
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/801>
2026-08-28 21:48:26 +00:00
Niklas Wimmer 1d8995c30b ci: Enabling gobject-linter
The gnomeos-basic-ci component already has support for gobject-linter
and we only need to add a config file to make it run and show up as
part of a merge request's code quality check.

I set the property enum convention to "legacy", as that is the style
we currently use. Since this is only a matter of style, I do not see
the point in changing all (>40 occurrences) of that just because.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/799>
2026-08-28 21:43:10 +00:00
Emin Tufan Çetin f728bef39b Update Turkish translation 2026-08-28 15:57:19 +00:00
Seong-ho Cho 224432073f Update Korean translation 2026-08-27 23:00:38 +00:00
Hari Rana b2b6002573 views/month-view: Skip view when tabbing backward with Control on event widget
When an event widget is focused, there is no way to skip the entire
view with key combinations.

This patch addresses this by allowing the user to skip the entire
view when pressing Ctrl+Shift+Tab.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/817>
2026-08-26 21:16:41 -04:00
Hari Rana 3c044ce77c views/month-view: Skip view when tabbing with Control on month cell
We want to skip the entire view, because, otherwise, it runs
gcal_month_view_row_focus_underlying_cell().

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/817>
2026-08-26 21:11:15 -04:00
Hari Rana e1bc583597 views/month-view: Use debug messages
Given the complexity of keyboard navigation in the month view, it
may be useful to rely on debug entries/exits to debug edge cases.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/817>
2026-08-26 20:08:28 -04:00
Hari Rana 2e5379982b views/month-view-row: Replace "adjacent with "overlaying" event
"Adjacent" is incorrect because we are focusing the event that is
in front of the month cell.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/816>
2026-08-25 22:02:50 -04:00
Hari Rana 14869fa02b views/month-view-row: Replace "adjacent" with "underlying" cell
"Adjacent" is incorrect because we are focusing the cell that is
behind the event widget.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/816>
2026-08-25 22:02:50 -04:00
Hugo Carvalho 2f8d74e75f Update Portuguese translation
(cherry picked from commit 3bd87050462fb78b098ef866849d90cf0525436c)
2026-08-25 17:53:29 +00:00
Hari Rana 11e4d8ee8d views/month-view: Allow focusing adjacent event widget from cell
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/741>
2026-08-25 15:42:59 +00:00
Hari Rana ec967ea2b9 views/month-view-row: Add method for focusing adjacent event widget
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/741>
2026-08-25 15:42:59 +00:00
Bjørn Mørkedal 8868b7c52d Add Norwegian Nynorsk translation 2026-08-24 19:37:12 +00:00
Anders Jonsson 9bf9881fef Update Swedish translation 2026-08-23 22:29:44 +00:00
Aurimas Aurimas Černius 8023d3e85e Update Lithuanian translation 2026-08-22 13:15:08 +00:00
Lucien 0b00202cad Update French translation
Co-authored-by: Lucien <luiz01luciano04@gmail.com>
Contributed-by: Guillaume Bernard <associations@guillaume-bernard.fr>
Reviewed-by: Jean-Marc TISSIERES <jmetissieres@gmail.com>
2026-08-21 20:24:30 +00:00
Hari Rana f7c4f7b25a views/month-view-row: Calculate spacings in code
Visually, this comes with the benefit of not having the first
and last visible event widgets take additional margins, as spacing
is only applied between event widgets.

This will also allow us to make use of gtk_widget_pick() without
having to rely on hardcoding 1 on the y axis.

The current approach has a one pixel margin at the top and bottom
of each event widget, which offsets the vertical position of
every event widget by one pixel. In order to pick the first
event widget, we'd want to call
gcal_month_cell_get_header_height() because this is where the
first event widget is placed. If we were to invoke
gtk_widget_pick() with (x, 0), where x is
half the width of the month cell, the returned value would be
NULL because gtk_widget_pick() does not account for margins,
so it would need to be (x, 1), with 1 hardcoded.

Since this patch removes that offset, we can simply use
(x, 0) without having to hardcode 1.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/813>
2026-08-19 09:39:33 -04:00
Hari Rana f19ad343de views/week-header: Add row spacing
This adds back the margins lost from event widgets, without
taking additional pixels on the first and last event widgets.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/813>
2026-08-19 09:37:58 -04:00
Hari Rana 1637997bd6 views/week-grid: Add margins to event widgets
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/813>
2026-08-19 09:37:28 -04:00
Hari Rana 256524ff4c events: Remove margin
In the next commits, gaps will be added onto appropriate widgets.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/813>
2026-08-19 09:34:29 -04:00
Hari Rana 7886ef6f19 views/month-view-row: Get header height during calculations
This is needed for the next commit, which adds gaps between
event widgets.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/813>
2026-08-19 09:25:14 -04:00
Jiri Grönroos fab4614a6a Update Finnish translation 2026-08-17 16:32:06 +00:00
Alexander Alexandrov Shopov 74d6f71429 Update Bulgarian translation 2026-08-16 11:24:08 +00:00
Kaiky CintraandRyan Oliveira 3a6d120863 views/month-view: Implement drag and drop handling on month view
Replicate the week grid implementation of drag-and-drop to
allow events to be dropped on top of other events in the month view.

Closes: #1092

Co-authored-by: Ryan Oliveira <ryan.oliveiraf@usp.br>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/806>
2026-08-14 22:24:01 +00:00
Kaiky Cintra 3aed975bf5 views/month-cell: Remove drag and drop handling from month cell
Co-authored by: Ryan Oliveira ryan.oliveiraf@usp.br

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/806>
2026-08-14 22:24:01 +00:00
Hari Rana 4fc242fd7c views/agenda-view-day-row: Adjust focusability of row and event widget
For unknown reasons, the `::row-activated` signal is not emitted
whenever the user presses an activation button on the keyboard
such as Enter or Space, even though the list box row has focus.

Ideally, we want the list box rows to be activatable, so that
activating them will simply emit the "event-activated" signal and
pop up the popover.

Since this doesn't work, the next best thing is to make the event
widgets themselves focusable and the list box rows unfocusable.
This will unfortunately lose the ability to navigate with arrow
keys, as well as Home/End and Page Up/Down. However, the user will
at least be able to activate them and access events in
the agenda view.

A `FIXME` label has been added because this should be fixed as soon
as possible.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/807>
2026-08-14 21:40:58 +00:00