Commit Graph

198 Commits

Author SHA1 Message Date
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
2e366f8b74 Makefile: compile windows versions with resource files 2020-04-01 13:58:38 +02:00
b8db8baae0 Resource and rc files make a triumphant return 2020-04-01 13:58:01 +02:00
f785bf6d95 windows/seasonwindow: localization 2020-04-01 13:57:01 +02:00
60c30fa8f1 windows/searchwindow: localization 2020-04-01 13:56:15 +02:00
33622d1829 windows/progresswindow: localization 2020-04-01 13:55:13 +02:00
768f171de9 windows/patternwindow: localization 2020-04-01 13:54:19 +02:00
c12020529b windows/mainwindow: localization 2020-04-01 13:53:34 +02:00
e2199bbb83 windows/gui_functions: localization, nicer edit box, buttons have appropriate size 2020-04-01 13:51:53 +02:00
6d9b5f2d3a Includes 2020-04-01 13:50:44 +02:00
5e0ba6dbc2 windows/databasewindow: localization, remove "hidden" columns 2020-04-01 13:50:05 +02:00