HTTPServerWrappers and CPPCThreadPool v1.07

April 16, 2021 Leave a comment

Just to let everyone know that v1.07 of HTTPServerWrappers and CPPCThreadPool has been released. Updates for this version include:

  • CServer::Stop now shuts down the thread pool before it closes the request queue. This reordering of operations can avoid asserts from happening in the thread pool when the request queue has been closed.
Categories: Web Site Updates

HTTPServerWrappers and CPPCThreadPool v1.06

April 15, 2021 Leave a comment

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

  • Added new CPPCThreadPoolTLS.cpp source file to the CPPCThreadPool framework. This is required to avoid linker errors where the two thread_local member variables declared in CPPCThreadPool.h (CThreadPool::_LocalQueue & CThreadPool::_ThreadIndex) can be defined in multiple compilation units if the CPPCThreadPool.h header is included by your source code multiple times.
  • Reworked CServer class to be template based. This allows the CppConcurrency::CThreadPool instance to be customized at runtime.
  • Fixed a bug in the ParseFormVariables methods where the entity body would not be parsed correctly if "request.EntityChunkCount is > 1".
Categories: Web Site Updates

WinHTTPWrappers v1.28

April 9, 2021 Comments off

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

  • Updated copyright details
  • Fixed more /analyze static code analysis warnings in the code.
Categories: Web Site Updates

FOStation v1.08

April 9, 2021 Comments off

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

  • Addition of a new SqliteDatabase service configuration value. This is a REG_SZ value and setting this value to a non-empty string will cause FOStation to log data to a Sqlite database instead of to SQL Server.
Categories: Web Site Updates

AA+ v2.27

April 2, 2021 Comments off

Just to let everyone know that v2.27 of AA+ has been released. Updates for this version include:

Categories: Web Site Updates

CPing v1.51

March 30, 2021 Comments off

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

  • Updated copyright details.
  • Updated the PingUsingICMPv4 and PingUsingICMPv6 methods to preserve the last error value across calls to IcmpCloseHandle. Thanks to Geoff Shapiro for reporting this issue.
Categories: Web Site Updates

SQLiteWrappers v1.27

March 13, 2021 Comments off

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

  • Verified the code works against SQLite v3.35.0
Categories: Web Site Updates

AA+ v2.26

March 12, 2021 Comments off

Just to let everyone know that v2.26 of AA+ has been released. Updates for this version include:

  • Reworked CAADynamicalTime::DeltaT to use std::upper_bound to speed up logic to find correct entry in the g_DeltaTValues lookup table.
  • Reworked CAADynamicalTime::CumulativeLeapSeconds to use std::upper_bound to speed up logic to find correct entry in the g_LeapSecondCoefficients lookup table.
  • Updated the g_DeltaTValues lookup table to use values from the year 1657 to 1972.50 to use data from https://cddis.nasa.gov/archive/products/iers/historic_deltat.data which provides a granularity of 0.5 of a year. Also updated the same array to use values from 2 January 1973 to 19 March 2022 from https://cddis.nasa.gov/archive/products/iers/finals2000A.all which provides a granularity of 1 day. Also updated the same array to use values from the year 2022.25 to 2027.75 from https://cddis.nasa.gov/archive/products/iers/deltat.preds which provides a granularity of 0.25 of a year. All of this was implemented using a program which machine generates the lookup table using custom code. This new lookup table now includes > 18k elements and provides 1 – 1 precision with all the data released by IERS. The machine generated code will also make it easier to update this data as new data is published by IERS going forward. Using this new lookup array we now have a discontinuity of c. 3.7 seconds in January 1657 and a discontinuity of c. 2.5 seconds in October 2027 for the CAADynamicalTime::DeltaT method. With these updates AA+ is now 29.7 Megabytes and 416 thousand lines of C++ source code.
  • Implemented a CAADynamicalTime::SetUserDefinedDeltaT method which allows a user provided DeltaT function to be provided. By default the CAADynamicalTime::DeltaT function uses its own lookup tables and polynomials to calculate DeltaT, but if CAADynamicalTime::SetUserDefinedDeltaT has been called to provide a custom DeltaT function then the callback function provided to this method will be used instead. Setting the parameter to SetUserDefinedDeltaT to a nullptr will restore the default DeltaT method behavior.
  • Changed the behavior of the CAAPlanetaryPhenomena::K method to now return the K value before it is rounded. This new behaviour is now consistent with all the other methods in the AA+ framework which return so called "K" values. This means that client code must round this value to an integer before calling other methods in this class with this K value.
  • Changed the behavior of the CAAPlanetPerihelionAphelion::*K methods to now return the K value before it is rounded. This new behaviour is now consistent with all the other methods in the AA+ framework which return so called "K" values. This means that client code must round this value before calling other methods in this class with this K value.
  • Merged the separate perihelion and aphelion methods for all the planets except Earth in CAAPlanetPerihelionAphelion into one method per planet. This new behaviour is now consistent with all the other methods in the AA+ framework which work with so called "K" values.
  • Fixed a bug in CAAPlanetPerihelionAphelion::EarthAphelion where the kdash and ksquared values were not being calculated correctly.
Categories: Web Site Updates

AA+ v2.25

March 7, 2021 Comments off

Just to let everyone know that v2.25 of AA+ has been released. Updates for this version include:

Categories: Web Site Updates

DtWinVer v2.48

March 3, 2021 Comments off

Just to let everyone know that v2.48 of DtWinVer has been released. Updates for this version include:

  • Provided new IsWindowsServer2022, IsWebWindowsServer2022, IsStandardWindowsServer2022, IsEnterpriseWindowsServer2022, IsDatacenterWindowsServer2022 & IsDomainControllerWindowsServer2022 methods
Categories: Web Site Updates