Tags: phdphil/T-Clock
Tags
* updated README.md * removed ".dll" suffix from GetModuleHandle() as it's redundant and just wastes space (main.c) ! fixed not big enough static control for "PM symb 8000 ol:" text on format page (tClock.rc)
+ basic HighDPI support (don't create list views dynamically anymore) * small tab-order fix for SNTP dialog * some code improvements to timer.c
! fixed clock being disabled under some circumstances if original clo… …ck and T-Clock are of same size * improved dll's self-destruct code, should reduce the chance for "rare" race conditions - don't create .pdb files for release builds.. only bloats our output * don't include .pdb files in our archive
+ added AutoVersion binary * updated version.h * use multi-threaded build with our MSVC command line script
* unified T-Clock's version number by adding common include: version.h (it's actually part of my autoversion program that normally gets called before each build and increments revision number. Will be added later maybe...) * updated project files related to the version change and removed missing file resource.h from DLL
+*! GCC (MinGW) compatible (builds and runs with it ;) building it wi… …th -flto still crashes without debugger..) compatibility changes include: * file names must end with lowercase extension, thus we lowercased some files (otherwise GCC would parse them as C++ and not C) ! casting a struct with two 4 byte integers into a 8 byte LLU integer can cause problems (GCC warned about it, alignment etc.) * changed some functions taking a char* into taking a const char* (should improve performance, GCC warned about deprecated cast from "const char*" into "char*") *! now using localtime_s() instead of _localtime64_s() as it's possible that time_t is 32 bit (while it shouldn't happen... it's better for GCC) * renamed "hmod" into "hInstance" as that's the right name for it (also changed type from HANDLE to HINSTANCE for same reason) ! fixed some uninitialized variables in Tclock.c (beat100) - removed some duplicate defines (already defined by windows headers) * added include guard to tcdll.h * improved _strncmp() (for what ever reason we need to use our custom shit^^) * removed ambiguous "if" I've introduced (sry about that, I tend to produce them... but GCC still warns about them^^) * updated/fixed Code::Blocks project file for MSVC