Commit Graph

1124 Commits

Author SHA1 Message Date
Clement Lefebvre
6f342bfc5c 24.06.2 2024-06-18 20:56:33 +01:00
Clement Lefebvre
de78a29485 l10n: Update translations 2024-06-18 20:56:08 +01:00
Clement Lefebvre
aab06b780f 24.06.1 2024-06-06 11:56:01 +01:00
Clement Lefebvre
ebb474409c l10n: Update POT 2024-06-06 11:54:16 +01:00
Clement Lefebvre
1c064f30a7 Add missing l10n to previous commit 2024-06-06 11:54:07 +01:00
mostghost
e8323a02bb
Added confirmation dialog on delete. (#269) 2024-05-17 11:33:31 -04:00
mostghost
081687d4e9
Relocated 'delete' to a safer position. (#268) 2024-04-05 14:44:22 -04:00
Clement Lefebvre
cfd191e3c6 24.01.1 2024-01-04 17:02:59 +00:00
Clement Lefebvre
ef9539d2cf l10n: Update translations 2024-01-04 17:02:15 +00:00
Clement Lefebvre
a3b7307f1f 23.12.2 2023-12-28 11:51:02 +00:00
Michael Webster
a75436482e
Check /proc/cmdline for the live-session check.
Don't rely on the filesystem layout.
2023-12-26 12:14:43 -05:00
KeithB
a185cefb5c
Fix RAID handling in device lookup (#252) 2023-12-20 11:22:32 -05:00
Clement Lefebvre
4c2bc54c22 23.12.1 2023-12-03 15:47:33 +00:00
Clement Lefebvre
61e4bf69ec Update translations 2023-12-03 15:46:35 +00:00
Michael Webster
ef07b2c137
Remove INSTALL file.
The instructions are obsolete and the README and docs have better
info.
2023-11-16 12:26:37 -05:00
Yegor Yefremov
3842e4b38a
README.md: point to development docs for the installation from source (#226)
Also fix a typo and the section depth.
2023-11-16 12:25:48 -05:00
Yegor Yefremov
8607c9dc8f
docs/development.md: fix meson setup command (#224)
meson setup command accepts the build folder name directly.
2023-08-17 09:28:35 -04:00
Robin Candau
37c50084f4
Add the installation/removal instructions for the timeshift Arch package (#220) 2023-08-06 10:59:21 -04:00
Boyuan Yang
02697234b5
docs/man/meson.build: Use -N for help2man to avoid texinfo section (#217)
If -N option is not added, the following section will be appended
to the generated man pages:

SEE ALSO
       The  full documentation for Timeshift is maintained as a Texinfo manual.  If the info and Timeshift programs are properly installed
       at your site, the command

              info Timeshift

       should give you access to the complete manual.

This is not desired, thus add the -N option to the help2man
invocation.

Signed-off-by: Boyuan Yang <byang@debian.org>
2023-07-31 12:08:37 -04:00
Clement Lefebvre
e7fab11ae9 23.07.1 2023-07-08 18:12:04 +02:00
Clement Lefebvre
4a5e7a5483 Update translations 2023-07-08 18:10:57 +02:00
Bobby Rong
bb8b2a2020
treewide: use /usr/bin/env bash for shebang (#209)
NixOS does not have /bin/bash but we do have /usr/bin/env
for POSIX compliance.
2023-07-04 13:02:32 -04:00
Bobby Rong
81359efeb4
build: allow installing default.json to sysconfdir (#208)
In NixOS, packages are installed to their own prefix and
we are not allowed to install this file to /etc.
2023-07-04 11:57:48 -04:00
Clement Lefebvre
863e734ccc 23.06.2 2023-06-08 12:17:10 +01:00
Clement Lefebvre
5b2a0a8617 Update translations 2023-06-08 12:16:29 +01:00
AsciiWolf
7629f00a89
Fix the desktop file name + project license in appdata (#204)
* Fix the desktop file name in appdata

The correct name seems to be timeshift-gtk.desktop
2023-06-05 09:54:14 -04:00
Clement Lefebvre
0b3e43a1e4 23.06.1 2023-06-01 12:06:28 +01:00
Clement Lefebvre
cd01296fbb git: Remove generate man pages 2023-06-01 12:04:50 +01:00
Clement Lefebvre
8ed0ec780b l10n: Update POT 2023-06-01 11:35:58 +01:00
Yegor Yefremov
a31bfe628e
Use an unsafe cast (#200)
This approach resolves warnings like this:

Access to possible `null'. Perform a check or use an unsafe cast.
2023-06-01 11:34:02 +01:00
Yegor Yefremov
bd4d2b5b5c
docs: automatically generate timeshift-gtk manpage (#194) 2023-05-24 11:51:59 -04:00
Yegor Yefremov
7ab8afc51b
Don't use the deprecated Gtk.TreeView.rules_hint feature (#201)
According to the Gtk documentation, the appearance of the ruled tree
depends on the selected theme. Hence, if you need “zebra striping”,
just use the related theme.
2023-05-24 11:25:56 -04:00
Yegor Yefremov
8818fc4218 meson: add project's license definition 2023-05-18 12:42:39 -04:00
Yegor Yefremov
f4282ea7de Use get_hadjustment via casting TreeView to Gtk.Scrollable
Resolves the following deprecation warning:

warning: `Gtk.TreeView.get_hadjustment' has been deprecated since 3.0
2023-05-18 12:42:16 -04:00
Yegor Yefremov
c9aba352c9 Fix deprecated Gtk.Widget.margin_left and Gtk.Widget.margin_right properties
Both properties are deprecated since Gtk version 3.12. One should use
margin_start and margin_end instead.
2023-05-18 12:42:16 -04:00
Yegor Yefremov
79ddd89891
meson support (#173)
* Move AppConsole.vala and AppGtk.vala to src directory

* Rename po files

Strip "timeshift-" prefix. This is required for the future meson
support.

* Add initial meson support

* Remove makefile

* docs/development.md: adapt the instructions to the meson build system

Bonus: break a long line.
2023-05-12 09:37:54 -04:00
Yegor Yefremov
9668beec48
Use help2man utility to create a man page. (#178)
Also remove man/timeshift.1.gz as Linux distros provide own
hooks to compress man pages.
2023-05-08 13:44:57 -04:00
Yegor Yefremov
0b21b1eded
Fix project's license (#189)
The source code is licensed under GPL-2.0-or-later license but
LICENSE.md presents LGPL-3.0-or-later license that is more suitable
for libraries.

So replace LICENSE.md with GPL-2.0-or-later.txt file and place it
under LICENSES directory as suggested by the REUSE standard.

Also remove COPYING as it contains GPL-3.0-or-later license.
2023-05-02 09:34:50 -04:00
Yegor Yefremov
94315c5463
src/makefile: remove VTE_291_OLD and VTE_291 symbols (#183)
These symbols won't be used in the source code anymore.
2023-04-24 10:49:07 -04:00
Yegor Yefremov
0c616cf5cf
Console: add --version option description to the help massages (#181) 2023-04-24 10:48:23 -04:00
Yegor Yefremov
0c8a853c9d
Debian clean up (#180)
* debian: bump compat level to 10

Fixes the following warning:

dh_auto_clean: warning: Compatibility levels before 10 are deprecated
(level 8 in use)

debian/compat is replaced with debhelper-compat build dependency.

Remove "--with autotools-dev" from debian/rules as the package uses
plain makefiles and not autotools. Also remove autotools-dev build
dependency.

* src/timeshift-gtk.desktop: remove MimeType and add Keywords

These changes apply the following Debian patches:

https://salsa.debian.org/debian/timeshift/-/blob/master/debian/patches/0003-Remove-Mime-Type-record-form-timeshift-gtk.desktop.patch
https://salsa.debian.org/debian/timeshift/-/blob/master/debian/patches/0006-Add_keywords_to_dot_desktop.patch
2023-04-24 10:47:14 -04:00
Yegor Yefremov
5a44146762
Remove timeshift-uninstall binary (#176)
The user should use related packet management system to uninstall
timeshift.
2023-04-24 09:53:36 -04:00
Ivan Skodje
0d8d1de8bf
Development documentation for easier accessibility (#170) 2023-04-24 09:51:28 -04:00
Yegor Yefremov
3b72e31e5d
Console: add --version option (#175)
This option prints application name and its version. Such an output
can be used to automatically generate a man page using the help2man
utility.
2023-04-18 19:49:09 -04:00
Ivan Skodje
6781a06a76
Added missing documentation regarding tags abbrevation which was difficult to find (#168) 2023-04-18 10:32:51 -04:00
Yegor Yefremov
382c1638bc
Fix segmentation fault (#169)
Check not only length but also whether backup_uuid or backup_parent_uuid
objects are null.

Such a situation occurs when running 'src/timeshift --list' on a system
without an initial timeshift installation i.e. just compiled from
source.
2023-04-13 12:13:01 -04:00
Yegor Yefremov
e18377e33e Fix deprecated Thread.create usage
Also streamline Thread exception handling. Catch only Glib.Error
exception.
2023-04-06 13:21:07 -04:00
Yegor Yefremov
4607bcc908 Don't use deprecated from_timeval_utc function
from_timeval_utc is deprecated since 2.62. Use from_unix_utc instead.
2023-04-06 13:21:07 -04:00
Yegor Yefremov
ed0d20acf1
Fix printf format warnings (#162) 2023-04-06 12:31:56 -04:00
Michael Webster
18cd48ddd4
AsyncTask: Use a mutex to guard access to AsyncTask.status_line.
While a backup or restore task was running, the status_line property
would be updated for each file processed.

Meanwhile, the gui (BackupBox, for example) was periodically
accessing the status_line property to set a label.

Without protection, the gui was picking up garbage from status_line
instead of the filename, and was flooding output with markup warnings.
There was probably potential for a crash as well.
2023-03-21 20:53:24 -04:00