Commit graph

28 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
b213cacd50 Added some cmake modules from https://github.com/rpavlik/cmake-modules 2013-08-22 12:01:12 +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
a03143f145 gitignore updated 2013-08-17 01:26:41 +02:00
3d2af450dc Removal of some files not needed by this project 2013-08-16 17:33:16 +02:00
89c6c15f1c Added code to retrieve json responses from wordreference. WiP 2013-08-16 17:28:16 +02:00
95d9b7ca09 cmake files refactored and fixed to build without warnings 2013-08-16 17:27:19 +02:00
91c95dfe38 Some options for libjson that are needed by this project 2013-08-16 16:52:50 +02:00
10918ac643 libjson converted to cmake 2013-08-15 20:02:06 +02:00
ead9014ec5 Some very weird files, I'm sure they shouldn't be there 2013-08-15 19:44:07 +02:00
2448ff7d86 Repository logo 2013-08-15 19:44:06 +02:00
e3aac13e47 GPL3 license added. 2013-08-11 21:59:39 +02:00
e6e0ba6505 Working on the command line parameters. 2013-08-11 18:19:21 +02:00
c7bb69e20a Added a function to get sorted available languages. 2013-08-11 18:19:04 +02:00
f206a536c8 Source moved into mv 2013-08-11 14:45:00 +02:00
21467ec114 Main updated. 2013-08-11 14:39:15 +02:00
3937847025 Added new file. 2013-08-11 14:39:03 +02:00
02e7aedc08 Added boost and fixed build options. 2013-08-11 14:38:51 +02:00
d7b7d22a0f First import, libjson and empty main files 2013-08-11 04:02:13 +02:00