Commit graph

12 commits

Author SHA1 Message Date
aad2501499 Bugfix, -l option now works 2013-08-23 22:15:18 +02:00
cb1f4fffd9 version switch works properly now.
version has precedence over help as well as over missing parameters.
2013-08-22 12:21:03 +02:00
f307656bda Added the --version switch;
The project now embeds the git sha1 of the source it's built from (this implies a cmake regen of wordref if the current sha1 changes)
2013-08-22 12:07:38 +02:00
a5eb972290 Translation finally added to the output 2013-08-22 11:13:15 +02:00
3c334595c8 Search URL now correctly appears: removed a std::cout that got mixed with std::wcout.
Also changed some comments that spanned over 79 characters.
2013-08-21 16:02:39 +02:00
402f90b5df JSon response is UTF-8 and it must be converted to wchar_t right away 2013-08-21 15:21:16 +02:00
21476e0a5d Character conversion code put into a file on its own.
Character conversion relies on the setlocale(LC_TYPE, "") in main(), but maybe there are better ways of doing this.
2013-08-20 19:25:02 +02:00
2299247e77 Text converted to wchar_t where necessary 2013-08-19 19:00:46 +02:00
f861039851 Doing work to make the query print something useful, but this breaks the build. WiP 2013-08-17 03:58:03 +02:00
fb49c84899 This fixes the crash and the unrequested printf of the downloaded json 2013-08-17 02:50:40 +02:00
666d25c4d1 src dir moved into wordref 2013-08-17 02:44:04 +02:00
95d9b7ca09 cmake files refactored and fixed to build without warnings 2013-08-16 17:27:19 +02:00