Commit Graph
36 Commits
Author SHA1 Message Date
mindonwarp 6f511b600a appdata: Add release info tag for 52~alpha
Since we now have fatal criticals enabled, we are prone to crashes
caused by our external dependencies emitting criticals. The newest case
is the Adwaita About dialog. The critical happened because `ministream`
couldn't find a release tag for 52.0

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/864>
2026-10-04 12:35:19 +02:00
Georges Basile Stavracas Neto 509165286e gui/application: Change --debug to --verbose
And support multiple calls to it. Each call increase the verbose
level, up to level 4. Level 4 increases all tracing.

You can run Calendar as:

$ gnome-calendar -vvvv

now and that'll enable tracing.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/work_items/1234
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/858>
2026-10-02 13:58:05 +00:00
Georges Basile Stavracas Neto a3598c0c11 main: Always initialize logging
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/858>
2026-10-02 13:58:05 +00:00
Georges Basile Stavracas Neto d0e8fa85b3 gui/application: Change --version shortname to uppercase V
This will free -v for --verbose

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/858>
2026-10-02 13:58:03 +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
Hari Rana 48d7037311 about: Explicitly state when app is not contained inside Flatpak
At the moment, whenever the user is not running under Flatpak,
the "Flatpak:" label won't show up, which confused me for a moment
when looking at https://gitlab.gnome.org/GNOME/gnome-calendar/-/work_items/1609,
as I assumed the "Flatpak:" label showed up whether it was running
under Flatpak or not, making me assume that they did not go in the
Troubleshooting section.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/777>
2026-06-19 13:10:17 -04:00
Georges Basile Stavracas Neto 08f3f94ec1 gui/application: Stop weather service on shutdown
Instead of during context finalization, which is too late.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/742>
2026-05-03 16:57:54 +00:00
Hari Rana e0250064f6 core/shell-search-provider: Replace "context" property with context getter method
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/702>
2026-03-23 19:30:04 +00:00
Hari Rana b5d12237d5 gui/window: Remove "context" property
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/702>
2026-03-23 19:30:04 +00:00
Titouan Real cbaa0c8e83 gui/application: Add myself as a developer 2025-05-18 23:25:45 +02:00
Philipp S 784375dedc gui/application: Add myself as a designer 2025-05-07 17:35:10 +00:00
José Guilherme fb86cede2f about: enclose version number string between backticks
When the text is pasted on gitlab, it recognizes the version SHA and
places a hyperlink to the commit, which might facilitate unintended
references to be created.

By enclosing the string between backticks, gitlab does not recognize it.

Closes #1246
2024-07-02 15:43:30 +00:00
Hari Rana 0c8e1834f7 about, appdata: Port to AdwAboutDialog.new_from_appdata
This removes a lot of duplicated code, as we can simply reuse the
appdata file. It will also allow us to add release notes without
needing to rewrite them. A simple update in the
`adw_about_dialog_new_from_appdata` method will take care of
displaying the release notes.

This also renames the appdata file from `appdata.xml` to
`metainfo.xml`, as `appdata.xml` is considered a legacy filename.
2024-04-26 12:56:14 +00:00
Matthias Schaufelberger 5d460f0715 Change issue-url for "Report an issue"
"Report an Issue" now redirects to the issues overview page instead of
directly creating a new issue which is only possible for logged in
users.

Fixes: #1206
2024-03-30 18:44:12 +01:00
Alexandre Franke 5f0d548e8f metainfo: fix URLs 2024-03-01 14:15:33 +01:00
Dexter Reed ef76e15258 about: Port to AboutDialog (AdwDialog) 2024-02-14 14:46:35 +00:00
Felipe Kinoshita de0ad92bc7 about_window: Format debug information with markdown
This helps in the quick copy/paste aspect, removing the need to further
edit the debug info once copied into Gitlab's description.
2023-12-13 23:54:39 +00:00
Felipe Kinoshita 5a92b01c5f about_window: Add Debug Information
Libadwaita's about window widget let's expose debug information, that's
useful for bug reports, users can open up the about window and just
copy/paste debug information on the bug report.

Closes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1114
2023-11-29 21:55:30 +00:00
Georges Basile Stavracas Neto 9a665a94c7 application: Add message when running as a service 2023-09-28 11:19:23 -03:00
Felipe Kinoshita 2805b414f8 general: Use gtk_widget_set_visible
A lot of places were using gtk_widget_show/gtk_widget_hide, but those
methods are deprecated since Gtk 4.10.

Let's use gtk_widget_set_visible instead.
2023-03-03 19:14:09 -03:00
TheEvilSkeleton 0045c26ff6 about: Add support-url
This adds a support URL to the Calendar forums for easier access to ask questions.
2022-11-07 22:42:25 -05:00
Christopher Davis 117611ac1d application: Port to AdwAboutWindow 2022-07-15 00:51:20 +00:00
Georges Basile Stavracas Neto c6fab7675b application: Port to GTK4
Subclass AdwApplication.
2022-02-11 09:18:38 -03:00
Michael Webster 02cd9b053e application: Fix tm -> GDateTime month conversion
The month argument for g_date_time_new() is 1-based,
while the tm struct is 0-based.

Follow-up to:
a0aa36b6d2

ref:
https://pubs.opengroup.org/onlinepubs/7908799/xsh/time.h.html
2021-12-15 14:22:00 +00:00
Alexander Mikhaylenko 7144300a49 application: Support dark style preference
Depend on libhandy 1.5.0.
2021-12-11 17:25:49 +05:00
Michael Webster a0aa36b6d2 application: Fix tm -> GDateTime year conversion
g_date_time_new() expects an actual year, while the tm struct
only provides the number of years since 1900.

ref:
https://pubs.opengroup.org/onlinepubs/7908799/xsh/time.h.html
2021-12-10 14:20:13 -05:00
Georges Basile Stavracas Neto 8f715c19b5 application: Move CSS providers to GcalWindow 2021-09-05 18:34:32 -03:00
Georges Basile Stavracas Neto 52ef8ff6bf application: Only add CSS providers once
Instead of adding the color CSS provider over and over on
every activation, only add it once. Also make sure to start
the manager after doing that.
2021-08-19 14:26:06 -03:00
Georges Basile Stavracas Neto 7fd8babdda application: Activate on open
Otherwise, there might be no window available.
2021-08-16 19:48:09 -03:00
Georges Basile Stavracas Neto 7bf8d8851b application: Add weak ref to window 2021-08-16 19:47:54 -03:00
Georges Basile Stavracas Neto e689f18b1e Add file importing dialog
Add a file importing dialog, and pass through files received from command
line.

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/5
2021-08-16 18:26:21 -03:00
Georges Basile Stavracas Neto e67ebcfc50 project: Move all UI-related files to src/gui/
So we can have a nice separation.
2020-10-30 14:44:33 -03:00
Evangelos Ribeiro Tzaras 8be361b6ce project: Switch to libhandy-1
This commit updates the dependencies for libhandy to the tagged 1.0
release and changes the code to accomodate the changes from
libhandy-0 to libhandy-1.

Notable changes:
edit-dialog: HdyDialog has been dropped in [1]
alarm-row: action child type in HdyActionRow has been removed.

[1] https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/434
2020-09-16 15:24:46 +00:00
Georges Basile Stavracas Neto 970cc1fca5 application: Remove -d as short form of --debug
Both --debug and --date had their short form -d, causing
problems. Let's make -d stand for --date, since --debug
is more of a development tool.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/456
2019-10-03 20:19:40 -03:00
Christopher Davis 0d6b2327e0 flatpak: Allow dual installation of app bundles
Part of https://gitlab.gnome.org/GNOME/Initiatives/issues/1.
Allows for the installation of development bundles alongside
stable versions.

Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/285
2019-09-30 12:04:08 -03:00
Georges Basile Stavracas Neto a2609d6853 project: Reorganize much 2019-05-04 19:48:40 -03:00