Commit Graph

50 Commits

Author SHA1 Message Date
4507511494 functions.cpp: fix linux dir divider being used instead of platform specific dir divider 2020-05-11 14:12:26 +02:00
588099d1f8 Add tests and fix errors tests have discovered 2020-05-08 21:11:51 +00:00
afd6ca6607 Change variable linux to unix_names
Turns out that compilers have `#define linux 1` somewhere inside them
and for some reason this wasn't a problem when compiling with the `-c`
flag
2020-04-16 15:11:46 +02:00
c899157006 Slight code cleanup 2020-04-16 13:39:20 +02:00
8c94026156 functions.cpp: use widechar version of _vscprintf 2020-04-16 12:04:15 +02:00
d2f39eb358 Fix possible nullptr error
Turns out `vswprintf` doesn't behave like `sprintf` and doesn't return
required buffer size if provided with NULL and 0 buffer length. It's
weird that it worked so far.
2020-04-16 11:54:44 +02:00
05480f0151 Formatting 2020-04-15 12:36:59 +02:00
14ca3416d2 functions.cpp: slight reformat, better refreshSelectDB
Turns out that printing 100 wasn't required to hide progress window,
that is a part of ProgressBar destructor.

refreshSelectDB now shows "Updating *show* in database" so it won't hang
for a few seconds at 100% after renaming
2020-04-13 22:38:57 +02:00
86fedf623c GUI: fix possible division by 0 2020-04-13 20:41:38 +02:00
2206f28124 CLI+GTK: show progress when cleaning database 2020-04-13 19:58:57 +02:00
991a21af4e Formatting 2020-04-01 16:13:39 +02:00
5e9f27ae4a Functions: added vargs to LMsg 2020-04-01 13:42:00 +02:00
9d50b863c8 Internationalization: first steps 2020-03-12 20:52:23 +01:00
a6999553ec Mainwindow,functions: move renameFiles to functions, fix dbGetShows declaration 2020-02-25 10:08:34 +01:00
10aec4e41b Fixed terminal output when running GUI 2020-01-19 12:03:38 +01:00
90f45464ac Functions: slight refactor 2020-01-18 22:18:58 +01:00
fda181edea Fix possible error when adding to database 2020-01-17 20:54:26 +01:00
6c859efdf5 Functions: use new progress, refreshSelect instead of refreshSingle 2020-01-17 14:11:03 +01:00
eb5acd795c Need TEXT macro in functions.hpp 2020-01-16 00:00:58 +01:00
758af6ff6b Fix windows problems 2020-01-15 23:59:39 +01:00
01cf6d289a Don't print name changes on database-add 2020-01-15 22:44:29 +01:00
5b38547fe3 Functions: slight refactor 2020-01-15 19:55:24 +01:00
81cfc9a53b Somewhat working with API (push before major refactor) 2020-01-15 10:00:25 +01:00
f1063bb14e GUI for sqlite 2019-07-12 23:10:40 +02:00
1ced65f632 Add last_insert_rowid to sqlitepp and use it 2019-07-07 16:02:01 +02:00
d1e82d4a94 Initial support of database 2019-06-04 21:54:00 +02:00
d36d7a385d Formatting 2019-06-01 21:54:45 +02:00
d2ae8ab94c Path doesn't require '-p' to be specified, possible to specify file instead of directory 2019-06-01 21:37:58 +02:00
6714d3f437 Don't replace space with + in url, let encodeUrl take care of spaces 2019-05-29 23:16:18 +02:00
c02a14b1b7 Split filesystem library into 2 files based on operating system 2019-04-01 20:18:47 +02:00
3ee1937af5 Fix for season 0 2019-02-07 19:36:36 +01:00
55a8f32f49 Add Windows support 2019-02-04 17:39:48 +01:00
3d4c355342 Use thetvdb name of show in '%show' 2019-01-26 00:50:26 +01:00
c8e93aa3cc Add option to compile with GUI 2019-01-23 20:46:03 +01:00
41fd924cf1 Updated README and help 2019-01-23 18:24:33 +01:00
c5328f4057 Option to specify filename pattern 2019-01-23 14:08:40 +01:00
ad0f081a3c Support utf-8 in show's name 2019-01-21 20:30:14 +01:00
81bf7e3588 Break up into more files 2019-01-19 13:40:10 +01:00
c8067ddaf1 Delete unused function, add a few comments 2019-01-17 17:33:13 +01:00
6b6e38ab5a Actually call the right function 2019-01-17 17:26:19 +01:00
769f8508a4 Fewer filesystem operations when using multipleSeasons 2019-01-17 17:23:15 +01:00
46abfe3dd9 Fewer filesystem operations when using 'all' 2019-01-17 17:08:51 +01:00
a9e0ae9c64 Change order in which help prints arguments 2019-01-07 23:34:22 +01:00
3bfa1e586e No more regex, yay! 2019-01-07 23:24:28 +01:00
ddcb8e3215 Use own functions to find seasons instead of regex 2019-01-07 22:23:15 +01:00
1bbddc5de9 Spaces instead of tabs 2019-01-04 20:19:08 +01:00
49a490061e C++11 2019-01-03 19:01:43 +01:00
1afc0fe1f3 Use global curl object instead of creating one with every request 2018-09-26 12:45:37 +02:00
b6141fd238 Use std functions 2018-09-23 10:59:30 +02:00
eafb180b89 Initial commit 2018-09-23 00:50:42 +02:00