Archive

Archive for December, 2016

CClockCtrl v1.06

December 31, 2016 Comments off

Just to let everyone know that v1.06 of CClockCtrl has been released. Updates for this version include:

  • Updated copyright details.
  • Replaced all occurrences of NULL with nullptr throughout the codebase
  • Updated the code to clean compile on VC 2010 to VC 2015. The code now requires VC 2010 at a minimum.
  • Added SAL annotations to all the code
Categories: Web Site Updates

CMapPin v1.05

December 31, 2016 Comments off

Just to let everyone know that v1.05 of CMapPin has been released. Updates for this version include:

  • Updated copyright details.
  • Updated the sample apps main icon
  • Replaced all occurrences of NULL with nullptr throughout the codebase
  • Updated the code to clean compile on VC 2010 to VC 2015. The code now requires VC 2010 at a minimum.
  • Added SAL annotations to all the code
Categories: Web Site Updates

CIconDialog v1.01

December 30, 2016 Comments off

Just to let everyone know that v1.01 of CIconDialog has been released. Updates for this version include:

  • Updated copyright details.
  • Updated the sample apps main icon
  • Replaced all occurrences of NULL with nullptr throughout the codebase
  • Updated the code to clean compile on VC 2010 to VC 2015. The code now requires VC 2010 at a minimum.
  • Reworked the code to use the PickIconDlg Win32 API
Categories: Web Site Updates

IconComboBox v1.02

December 29, 2016 Comments off

Just to let everyone know that v1.02 of IconComboBox has been released. Updates for this version include:

  • Updated copyright details.
  • Replaced all occurrences of NULL with nullptr throughout the codebase.
  • Updated the code to clean compile on VC 2010 to VC 2015. The code now requires VC 2010 at a minimum.
  • Reworked the CSmallIconComboBox and CLargeIconComboBox classes to use a new CIconComboBox base class which supports arbitrary sized icons.
Categories: Web Site Updates

IPenum v1.02

December 28, 2016 Comments off

Just to let everyone know that v1.02 of IPenum has been released. Updates for this version include:

  • Updated copyright details
  • Replaced all occurrences of NULL with nullptr throughout the codebase
  • Updated the code to clean compile on VC 2010 to VC 2015. The code now requires VC 2010 at a minimum.
  • Reworked the code to use the GetAdaptersAddresses API.
  • Added SAL annotations to all the code
Categories: Web Site Updates

CPushPinButton v1.22

December 27, 2016 Comments off

Just to let everyone know that v1.22 of CPushPinButton has been released. Updates for this version include:

  • Updated copyright details.
  • Updated the sample apps main icon
  • Replaced all occurrences of NULL with nullptr throughout the codebase
  • Updated the code to clean compile on VC 2010 to VC 2015. The code now requires VC 2010 at a minimum.
Categories: Web Site Updates

CHTTPDownloadDlg, CHTTPDownloader, CHTTPDownloadDlg2 & CHTTPDownloader2 v1.33

December 25, 2016 Comments off

Just to let everyone know that v1.33 of CHTTPDownloadDlg, CHTTPDownloader, CHTTPDownloadDlg2 & CHTTPDownloader2 has been released. Updates for this version include:

  • Updated code to use nullptr instead of NULL
  • Updated usage of BOOL with bool in codebase
  • Reworked CHTTPDownloader::Abort to use proper thread protection
  • Reworked CHTTPDownloader2::Abort to use proper thread protection
  • Removed support for the m_bIgnoreInvalidCertificate & m_bIgnoreCRLFailures configuration values and introduced support for SECURITY_FLAG_IGNORE_REVOCATION, SECURITY_FLAG_IGNORE_UNKNOWN_CA, SECURITY_FLAG_IGNORE_WRONG_USAGE, SECURITY_FLAG_IGNORE_CERT_CN_INVALID, SECURITY_FLAG_IGNORE_CERT_DATE_INVALID, SECURITY_FLAG_IGNORE_REDIRECT_TO_HTTPS & SECURITY_FLAG_IGNORE_REDIRECT_TO_HTTP option flags in the CHTTPDownloader class.
  • Removed support for the m_bIgnoreInvalidCertificate configuration value and introduced support for SECURITY_FLAG_IGNORE_UNKNOWN_CA, SECURITY_FLAG_IGNORE_WRONG_USAGE, SECURITY_FLAG_IGNORE_CERT_CN_INVALID & SECURITY_FLAG_IGNORE_CERT_DATE_INVALID option flags in the CHTTPDownloader2 class
Categories: Web Site Updates

CScintillaCtrl, CScintillaView & CScintillaDoc v1.40

December 20, 2016 Comments off

Just to let everyone know that v1.40 of CScintillaCtrl, CScintillaView & CScintillaDoc has been released. Updates for this version include:

  • Updated class to work with Scintilla v3.7.1. New messages wrapped include: SCI_GETTABDRAWMODE, SCI_SETTABDRAWMODE, SCI_TOGGLEFOLDSHOWTEXT & SCI_FOLDDISPLAYTEXTSETSTYLE. The parameter to support the SCI_USEPOPUP message has been changed from a BOOL to an int.
  • Updated code to use Sci_RangeToFormat typedef instead of RangeToFormat
  • Updated code to use Sci_TextToFind typedef instead of TextToFind
  • Updated code to use Sci_TextRange typedef instead of TextRange
  • Updated code to no longer use Scintilla namespace which has been removed from Scintilla.h
  • Added a new member variable called "m_bCPP11Regex" which decides if Scintilla’s support for C++11 regex should be used in the find / replace functionality. Thanks to Markus Nissl for suggesting this update.
Categories: Web Site Updates

DTime+ v3.21

December 20, 2016 Comments off

Just to let everyone know that v3.21 of DTime+ has been released. Updates for this version include:

  • Optimized the CGregorianLeapFunctor::operator() method per the information at https://howardhinnant.github.io/date_algorithms.html#is_leap.
  • Optimized the CGregorianLeapFunctor::operator() method per the information at https://howardhinnant.github.io/date_algorithms.html#is_leap.
  • Removed the weekday & wYearday variables from the DateS struct. The DateS struct now contains just the Year, Month & Day triplet.
  • Renamed the GetDate method to “NumToDMY”
  • Reimplemented the CJulianGregorianCalendar::DaysInMonth method per the information at https://howardhinnant.github.io/date_algorithms.html#last_day_of_month.
  • Reimplemented the CGregorianCalendar::DMYToNum method per the information at https://howardhinnant.github.io/date_algorithms.html#days_from_civil.
  • Reimplemented the CGregorianCalendar::NumToDMY method per the information at https://howardhinnant.github.io/date_algorithms.html#civil_from_days.
  • Following all the optimizations in this release, the time taken to round trip one Gregorian date has been reduced from 60ns to 35ns on my 3.2 Ghz CoreI7 965 processor. This corresponds to a 70% speedup compared to v3.20.
  • Following all the optimizations in this release, the time taken to round trip one Julian date has been reduced from 49ns to 28ns on my 3.2 Ghz CoreI7 965 processor. This corresponds to a 75% speedup compared to v3.20.
  • Fixed an integer overflow bug in the CMoslemCalendar*::NumToDMY methods. This bug was found while testing moslem dates from the year -2000000 to 2000000 in the updated test app. In fact the Gregorian, Julian, Moslem & Hebrew calendars are now exercised from years -2000000 to 2000000 by the test app.
Categories: Web Site Updates

DTime+ v3.20

December 6, 2016 Comments off

Just to let everyone know that v3.20 of DTime+ has been released. Updates for this version include:

  • Updated copyright details
  • Removed all usage of CString from the code and replaced with std::[w]string.
  • Replaced all occurrences of WORD with uint16_t throughout the code
  • Replaced all occurrences of DWORD with uint32_t throughout the code
  • Replaced all occurrences of ASSERT, AFXASSUME, TRACE & VERIFY with non MFC dependent implementations
  • Replaced all occurrences of long with int32_t throughout the code
  • Renamed the DMYToLong method to "DMYToNum"
  • Optimized the elements of the static lookup tables in CJulianCalendar::DMYToNum & CJulianCalendar::GetDate
  • Replaced all occurrences of NULL with nullptr throughout the code. This does mean that the classes now require at least VC 2010 if you are going to use a Microsoft compiler.
  • Reimplemented CDate::CurrentSystemDate to just use the C runtime.
  • Reimplemented CDate::CurrentLocalDate to just use the C runtime.
  • Optimized the CDate::Set method which takes a COleDateTime parameter
  • Optimized the CLDate::Set method which takes a COleDateTime parameter
  • Fixed a bug in the validation code of the CDate::Set method which takes a "WeekOfMonth" parameter.
  • Fixed a bug in CJulianGregorianHolidays::EasterMonday where it returned EasterSaturday by mistake
  • Fixed all typos of "occurrences" throughout code and documentation
  • Optimized the CDate::Set method which takes a CTime parameter
  • Optimized the CLDate::Set method which takes a CTime parameter
Categories: Web Site Updates