Skip to content

Commit

Permalink
update version [ci cov]
Browse files Browse the repository at this point in the history
also commented out leftover code from 75d9624
  • Loading branch information
White-Tiger committed Jan 28, 2018
1 parent e89dfdb commit 40ffe11
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 42 deletions.
6 changes: 3 additions & 3 deletions src/DLL/clock_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ int Clock_DelKey(const wchar_t* section) {

int Clock_ShellExecute(const wchar_t* method, const wchar_t* app, const wchar_t* params, HWND parent, int show, HANDLE* hProcess) {
int ret = -1;
wchar_t* buffer = NULL;
// wchar_t* buffer = NULL;
SHELLEXECUTEINFO sei = {sizeof(sei)};
sei.hwnd = parent;
sei.lpVerb = method;
Expand Down Expand Up @@ -608,8 +608,8 @@ int Clock_ShellExecute(const wchar_t* method, const wchar_t* app, const wchar_t*
}else if(GetLastError() == ERROR_CANCELLED) {// UAC dialog user canceled
ret = 1;
}
if(buffer)
free(buffer);
// if(buffer)
// free(buffer);
}
if(hProcess)
*hProcess = sei.hProcess;
Expand Down
58 changes: 29 additions & 29 deletions src/common/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,43 +4,43 @@
/**** Version ****/
# define VER_MAJOR 2
# define VER_MINOR 4
# define VER_BUILD 3
# define VER_BUILD 4
/** status values: 0=Alpha(α), 1=Beta(β), 2=RC(гc), 3=Release(г), 4=Maintenance(гm) */
# define VER_STATUS 1
# define VER_STATUS_FULL "Beta"
# define VER_STATUS_SHORT "b"
# define VER_STATUS_GREEK "\u03B2"
# define VER_REVISION 472
# define VER_FULL "2.4.3 Beta"
# define VER_SHORT "2.4b3"
# define VER_SHORT_DOTS "2.4.3"
# define VER_SHORT_GREEK "2.4\u03B23"
# define VER_RC_REVISION 2, 4, 3, 472
# define VER_RC_STATUS 2, 4, 3, 1
# define VER_STATUS 2
# define VER_STATUS_FULL "RC"
# define VER_STATUS_SHORT "rc"
# define VER_STATUS_GREEK "\u0433c"
# define VER_REVISION 492
# define VER_FULL "2.4.4 RC"
# define VER_SHORT "2.4rc4"
# define VER_SHORT_DOTS "2.4.4"
# define VER_SHORT_GREEK "2.4\u0433c4"
# define VER_RC_REVISION 2, 4, 4, 492
# define VER_RC_STATUS 2, 4, 4, 2
/**** Subversion Information ****/
# define VER_REVISION_URL "git@github.com:White-Tiger/T-Clock.git"
# define VER_REVISION_DATE "2017-05-21 12:55:51 +0000 (Sun, May 21 2017)"
# define VER_REVISION_HASH "3048f3a"
# define VER_REVISION_TAG "v2.4.3#472-beta"
# define VER_REVISION_DATE "2018-01-28 19:22:27 +0000 (Sun, Jan 28 2018)"
# define VER_REVISION_HASH "e89dfdb"
# define VER_REVISION_TAG "v2.4.4#492-rc"
/**** Date/Time ****/
# define VER_TIMESTAMP 1516026234
# define VER_TIME_SEC 54
# define VER_TIME_MIN 23
# define VER_TIME_HOUR 14
# define VER_TIME_DAY 15
# define VER_TIMESTAMP 1517167741
# define VER_TIME_SEC 1
# define VER_TIME_MIN 29
# define VER_TIME_HOUR 19
# define VER_TIME_DAY 28
# define VER_TIME_MONTH 1
# define VER_TIME_YEAR 2018
# define VER_TIME_WDAY 1
# define VER_TIME_YDAY 14
# define VER_TIME_WDAY_SHORT "Mon"
# define VER_TIME_WDAY_FULL "Monday"
# define VER_TIME_WDAY 0
# define VER_TIME_YDAY 27
# define VER_TIME_WDAY_SHORT "Sun"
# define VER_TIME_WDAY_FULL "Sunday"
# define VER_TIME_MONTH_SHORT "Jan"
# define VER_TIME_MONTH_FULL "January"
# define VER_TIME "14:23:54"
# define VER_DATE "2018-01-15"
# define VER_DATE_LONG "Mon, Jan 15, 2018 14:23:54 UTC"
# define VER_DATE_SHORT "2018-01-15 14:23:54 UTC"
# define VER_DATE_ISO "2018-01-15T14:23:54Z"
# define VER_TIME "19:29:01"
# define VER_DATE "2018-01-28"
# define VER_DATE_LONG "Sun, Jan 28, 2018 19:29:01 UTC"
# define VER_DATE_SHORT "2018-01-28 19:29:01 UTC"
# define VER_DATE_ISO "2018-01-28T19:29:01Z"
/**** Helper 'functions' ****/
# define VER_IsReleaseOrHigher() ( VER_STATUS >= 3 )
# define VER_IsAlpha() ( VER_STATUS == 0 )
Expand Down
19 changes: 9 additions & 10 deletions src/version
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
57|471
2.1.0|2.4.3
57|492
2.1.0|2.4.4
|(first release)
|minor bug fix release
+ added UAC shield icon to "Synchronize time" menu item
+ added numeric day-of-week format (numeric weekday) #53
* improved auto-hide taskbar support on Win10
* improved "turn off monitors on workstation lock"
* update checker got smarter
! fixed "Synchronize time" elevation broken since always
! fixed portable ini creation since v2.4.1#414
|release candidate
+ added "Restart Explorer" option to T-Clock's extended context menu (hold down Shift or Ctrl)
+ added /restart-explorer and /exit-explorer commandline arguments
+ added Lock and Sleep/Hibernate to "Exit Windows"
! fixed 'Wi' (ISO week number) and 'wi' (numeric day of week) formats
! fixed known Clock positioning issues (regressions from initial Windows 10 support)
! fixed Windows 10 CU's "Ink Workspace" button on multi-monitor setups

0 comments on commit 40ffe11

Please sign in to comment.