Dependecy qxt modules were not pulled, which required requesting
explicitly all modules. Now only the required module can be requested,
and dependencies are automatically pulled
reviewed-by: Arvid E. Picciani <aep@exys.org>
- build with premake. qmake is too broken to bother
- QtScript is deprecated. removing QxtWebTemplate
- QtHttpHeader has been removed. Copying to libqxt.
./configure-premake gmake
note that qmake likes to spew its moc file everywhere,
which premake doesn't handle in it's glob, so don't mix the two builds
without git clean -fxd
1. Added static "null()" method to construct a null currency value easily.
2. Fixed "has_quiet_NaN" value (it has one, so should have been true).
3. Missed a "CURRENCY" reference for Windows, now "CY" like the others.
The type "CURRENCY" has been replaced with "CY" since that is the base
type CURRENCY is typedef'ed to. Conditionals added so the constructor
and casting methods will not be compiled unless the user has included
"windows.h" or equivilent prior to the QxtCurrency header.
Additionally, "_alloca" in used lieu of "alloca" when Q_OS_WIN32 is defined.
The QxtWebRequestEvent::url variable was not being constructed correctly causing the percent encodings to be present in the query items, path, etc. This patch corrects this by properly using QUrl::fromEncoded().
The QxtCurrency class now reserves a value to indicate null status. New
methods isNull() and setNull() to support this state. Other operators and
methods abide by this state. Also added CURRENCY support for Windows, albeit
completely untested.
This type provides for currency manipulation without the pitfalls associated
with double-precision floating point operations (e.g. 10.0 * 0.1 seldom equals 1.0).
Although connecting to Q[Core]Application::aboutToQuit serves little purpose,
having this method invokable by a signal does make usage a bit more flexible.
Although connecting to Q[Core]Application::aboutToQuit serves little purpose,
having this method invokable by a signal does make usage a bit more flexible.
WARNING: Incompatible change. This variable was originally a QString but
was not documented (now it is). Additionally, the documentation for
the clientCertificate variable was munged and did not appear in the generated
HTML docs (also fixed).
The only intra-library reference to remoteAddress was in QxtWebCgiService and
this has been updated accordingly.
Use with an XML template failed to evaluate due to <?xml header. Now detects
this and passes it through unchanged.
Also cleaned up the documentation so it actually describes what's going on.
The shutdown() is to permit graceful termination of services and/or restarting
long-lived services to handle IP address changes. The serverPort() is simply
a convenience method to obtain a dynamically assigned port number. The class
documentation has been also been updated accordingly.