Commit Graph

208 Commits

Author SHA1 Message Date
de5be3e857 main.cpp: Ensure show isn't empty when doing --db-add 2020-05-11 15:31:42 +02:00
de2ef74938 filesystem: fix windows directory iteration 2020-05-11 14:46:27 +02:00
4507511494 functions.cpp: fix linux dir divider being used instead of platform specific dir divider 2020-05-11 14:12:26 +02:00
2804c7cc40 Updated README 2020-05-10 00:51:16 +02:00
466ca9f90d Merge branch 'tests' into 'master'
Add tests and fix errors tests have discovered

See merge request zvon/tv_rename_cpp!3
2020-05-08 21:11:51 +00:00
588099d1f8 Add tests and fix errors tests have discovered 2020-05-08 21:11:51 +00:00
fecceb41a3 CI: install sudo for testing 2020-04-17 22:44:29 +02:00
f6a45d4504 Added test that check exception throw in userHome 2020-04-17 22:35:59 +02:00
4fe0dd2134 README.md: fix pipeline badge 2020-04-16 15:18:12 +02: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
12194d12e2 Updated gitignore 2020-04-16 15:07:37 +02:00
0f48bbe5c8 Basic tests 2020-04-16 15:07:02 +02:00
7db446dd8d Add badges to README, add code coverage to pipeline 2020-04-16 15:06:15 +02:00
ff4be474e4 Restructure source tree 2020-04-16 15:02:33 +02:00
791e71fbd8 Remove useless variable declaration 2020-04-16 13:44:54 +02:00
c899157006 Slight code cleanup 2020-04-16 13:39:20 +02:00
0bc8c1d89a Updated README.md 2020-04-16 13:33:21 +02:00
dd6ead1268 Removed wcslen 2020-04-16 13:27:50 +02:00
7f3231b062 Updated README.md 2020-04-16 13:27:34 +02:00
5c67310903 Slight code cleanup 2020-04-16 13:23:02 +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
816146e011 CI: fixed yaml 2020-04-15 15:51:02 +02:00
01c688e450 CI: artifacts should expire after 30 minutes 2020-04-15 15:49:12 +02:00
eaa84484d3 Merge branch 'submodules' into 'master'
Replace 3rd party libraries with submodules

See merge request zvon/tv_rename_cpp!2
2020-04-15 13:33:00 +00:00
1d13e811b2 Replace 3rd party libraries with submodules 2020-04-15 13:32:59 +00:00
8a68ab8ad0 CI: turns out windows runners already have visual studio installed 2020-04-15 13:26:18 +02:00
05480f0151 Formatting 2020-04-15 12:36:59 +02:00
ce7dbe120e Add basic CI 2020-04-15 12:31:14 +02:00
93fa1ec618 Include sorting causes problems on windows
For some reason you need to include <windows.h> before some other
includes, because recursive include isn't a thing on windows I guess
2020-04-15 11:45:10 +02:00
ce08a0c650 Use UTF-8 in windows console 2020-04-15 10:53:37 +02:00
a2d9504a09 Update 3rd party libraries list 2020-04-14 16:07:36 +02:00
d5f5e3505a windows/databasewindow: make databesewindow wider 2020-04-13 22:41:46 +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
4e52a98eae Windows: cleaning database now shows progress window 2020-04-13 22:38:37 +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
d6899a505e gtk/gui.cpp: silence warnings 2020-04-12 21:12:44 +02:00
0ca5e21eb2 main.cpp: silence warnings 2020-04-12 21:11:14 +02:00
3847c428df Merge branch 'sqlite' into 'master'
Added database functionality

See merge request zvon/tv_rename_cpp!1
2020-04-01 18:25:09 +00:00
2f845cd7e7 windows/seasonwindow: fix dimensions, make resizable 2020-04-01 20:20:20 +02:00
f468596022 Gtk: make windows resizable 2020-04-01 20:09:15 +02:00
013d98e941 Makefile: windows - compile separate object files 2020-04-01 17:03:33 +02:00
991a21af4e Formatting 2020-04-01 16:13:39 +02:00
aa049ff203 Reorganize gtk and localization files 2020-04-01 16:07:37 +02:00
adf4a11874 Gtk: use mnemonics in menu 2020-04-01 15:55:37 +02:00
ae2c015fad Makefile: fix gui target 2020-04-01 14:56:35 +02:00
d36ed1b2ac Makefile: install locale in /usr/share 2020-04-01 14:53:16 +02:00
e68adb3100 gitignore: ignore locale 2020-04-01 14:36:54 +02:00
d8869b8b34 Linux localization: check if locale exists in /usr/share/locale and bindtextdomain accordingly 2020-04-01 14:34:56 +02:00