Commit graph

22 commits

Author SHA1 Message Date
Daniele Tricoli 5d9e8075d2 Remove redundant clone 2021-12-14 16:31:36 +01:00
Daniele Tricoli f33d3b93fe Use a channel to pass commands between threads 2021-10-09 21:42:30 +02:00
Daniele Tricoli f0ebed57c4 Switch to libayatana-appindicator 2021-10-09 17:40:23 +02:00
Daniele Tricoli ebac551481 Update using the new gtk stuff 2020-03-19 00:54:20 +01:00
Daniele Tricoli 80b2e7abe9 Group errors using only the enum 2019-05-18 03:02:45 +02:00
Daniele Tricoli 9f7eb62994 Create directory to store resources if it does not exists 2019-05-18 01:09:36 +02:00
Daniele Tricoli 0d27b67ec2 Add home subcommand 2019-05-17 01:20:25 +02:00
Daniele Tricoli 1d84088aa6 Re-organize network stuff 2019-05-15 02:00:40 +02:00
Daniele Tricoli b7cc65dca9 Show UDP port in context menu 2019-05-15 01:17:17 +02:00
Daniele Tricoli 94d69324ef Fix redundant_pattern_matching warning 2019-05-14 02:09:35 +02:00
Daniele Tricoli 3ffc6edd66 s/COMMAND_EXTENSIONS/ICON_EXTENSIONS/ 2019-05-14 01:54:30 +02:00
Daniele Tricoli 8535ebf2b8 Prevent directory traversal attack 2019-05-14 01:44:31 +02:00
Daniele Tricoli 5468ab19c7 Add send subcommand 2019-05-14 01:18:43 +02:00
Daniele Tricoli c097d3a79f Use clap for the CLI
- Add "serve" subcommand to start the UDP server.
- Print "help" if no subcommand is supplied.
2019-05-13 02:27:25 +02:00
Daniele Tricoli 4b64ea6c6d Use String for server address 2019-05-13 01:49:43 +02:00
Daniele Tricoli 0010f0fb5a Add GTK GUI 2019-05-12 03:53:02 +02:00
Daniele Tricoli d3fe63f065 Check existence of icon file for Command
Icon files can have 2 extensions, svg and png, that are checked in the
respective order.
If we have 2 files, red.svg and red.png, the first one (red.svg) will be
returned.
2019-05-12 02:54:44 +02:00
Daniele Tricoli e4c14aa15f Return the command as path 2019-05-11 21:53:29 +02:00
Daniele Tricoli d0e3ea7492 Use Command instead of String 2019-05-11 17:30:44 +02:00
Daniele Tricoli f81c80fa11 Add Command enum 2019-05-08 02:15:17 +02:00
Daniele Tricoli 6cfcd57bbb Use pretty_env_logger 2019-05-06 02:31:55 +02:00
Daniele Tricoli c227d67ebb Initial import 2019-05-06 01:38:59 +02:00