From 2d5fd6762eb110f537e3bb04cb632b1885956216 Mon Sep 17 00:00:00 2001 From: Pavel Vymetálek Date: Tue, 19 Mar 2019 16:10:31 +0100 Subject: Update TODO, fixed compile-time warnings --- CHANGELOG | 3 +++ TODO | 5 ++--- sercp.c | 8 ++++---- sercp.rc | 15 +++++++-------- 4 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 CHANGELOG diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..d164709 --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,3 @@ +2019-03-16 v0.2.3 fixed serial port setup to work on Mac +2019-03-09 v0.2.2 remove unnecessary waiting after last block +2019-03-02 versions before this date was unreleased \ No newline at end of file diff --git a/TODO b/TODO index 4a09865..a1a50bd 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,8 @@ 2019-03-16 - - dodelat podporu pro fake RTC - - odesilat datum a cas souboru + - add support for handling time/date of files 2019-01-22 - - udělat do progressbaru značky po 16kB pro lepší orientaci v blocích :-) + - udělat do progressbaru značky po 16kB pro lepší orientaci v blocích :-) 2019-01-09 + Asi udělat fork jen pro sercp tak jako se bude program jmenovat v Esxdosu diff --git a/sercp.c b/sercp.c index 0e5d1dd..1f4118b 100644 --- a/sercp.c +++ b/sercp.c @@ -57,7 +57,7 @@ #define true 1 #define TRUE 1 -const char* _version = "v0.2"; +const char* _version = "v0.2.3"; // SERIAL FILE *tapout_fd = NULL; int is_outfile = 0; @@ -376,8 +376,8 @@ void sercpRecv(void) { uint32_t recv_length = 0; // zatim prijatych dat ze souboru #ifndef __WIN32 int result; - int _err; -#endif +// int _err; + #endif FILEINFO *p_fileinfo = &fileinfo; unsigned char *p_buff = buff; tapout_fd = NULL; @@ -426,7 +426,7 @@ void sercpRecv(void) { exit (EXIT_FAILURE); #else - _err = errno; +// _err = errno; err (1, "can't open output file"); #endif } diff --git a/sercp.rc b/sercp.rc index c334fdd..b7b63f8 100644 --- a/sercp.rc +++ b/sercp.rc @@ -1,24 +1,23 @@ // RC file, codepage utf-8 !!!!! #include // include for version info constants -//A ICON "compiler.ico" 1 VERSIONINFO -FILEVERSION 0,2,2,0 -PRODUCTVERSION 0,2,2,0 +FILEVERSION 0,2,3,0 +PRODUCTVERSION 0,2,3,0 FILETYPE VFT_APP { BLOCK "StringFileInfo" { BLOCK "040904E4" { - VALUE "CompanyName", "Pavel Vymetálek vym.cz" - VALUE "FileVersion", "0.2.2" + VALUE "CompanyName", "vym.cz" + VALUE "FileVersion", "0.2.3" VALUE "FileDescription", "sercp - serial copy for ZX Spectrum" VALUE "InternalName", "sercp" - VALUE "LegalCopyright", "GNU GPL v2 or above" - VALUE "LegalTrademarks", "pavel@vym.cz" + VALUE "LegalCopyright", "GNU GPL v3 or above" + VALUE "LegalTrademarks", "Pavel Vymetálek" VALUE "OriginalFilename", "sercp" VALUE "ProductName", "sercp" - VALUE "ProductVersion", "0.2.2" + VALUE "ProductVersion", "0.2.3" VALUE "Build environment", "Linux: Mingw64, x86_64" } } -- cgit