Commit Graph

2135 Commits

Author SHA1 Message Date
Dee Holtsclaw 7e0d3396b7 Fix typo on qxtglobalshortcut_win.cpp in project file 2012-07-30 08:12:30 -04:00
Dee Holtsclaw 6029ea5269 Replace use of alloca with direct array declaration and fix conditional for inlined conversion operator CY() 2012-07-30 08:10:14 -04:00
Adam Higerd 0fb01dd432 QxtWeb: clean up source device when destination is destroyed 2012-07-29 22:43:09 -07:00
Dee Holtsclaw ec2b347b19 Fixes to QxtCurrency build problem on Mac and precision loss on division
Note that division needs revisited due to overflow possibilities
2012-07-23 11:03:23 -04:00
Arvid Picciani 2316c1a22c remove deprecated qxtwebtemplate from qxtweb.h 2012-07-22 15:15:40 +02:00
Arvid Picciani 52fc453b48 fix qxt.prf after widgets rename
thanks to qdm
2012-07-22 15:10:46 +02:00
Avi Halachmi 3215f35077 fix cmake
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>
2012-07-22 12:52:47 +02:00
Arvid Picciani e2c0d18085 include/QxtGui -> QxtWidgets 2012-07-22 12:00:01 +02:00
Arvid Picciani 99fcde6476 mac specific files really belong into mac/ 2012-07-22 11:01:36 +02:00
Arvid Picciani cefbbaaa69 fix more fallout from the qt5 port 2012-07-22 10:56:23 +02:00
Arvid Picciani 244ebbd8ec remove accidentally commited test results 2012-07-22 10:43:44 +02:00
Arvid Picciani b33cb4ac3a qmake: gui is called widgets now 2012-07-22 10:42:32 +02:00
Arvid Picciani 37eb9fd069 install qhttpheader 2012-07-08 20:44:33 +02:00
Arvid Picciani accf6f8614 old bug 139: fifo is missing QIODevice cache in bytesAvailable 2012-06-26 21:23:50 +02:00
Arvid Picciani 55a15e02c5 qxtfifo was lost during the qt5 port. oops
reviewed-by: Adam Higerd <ahigerd@libqxt.org>
2012-05-31 21:59:04 +02:00
Arvid Picciani 267530875d add "inject" action to premake.
registers qxt modules as qt modules with a qt5 build
2012-05-28 21:03:58 +02:00
Arvid Picciani f4a985db2f Port Libqxt to Qt5
- 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
2012-05-28 21:03:44 +02:00
Przemyslaw Pawelczyk c17000e207 Transform .hgignore into .gitignore. 2012-05-28 20:12:41 +02:00
Adam Higerd 8be41a863a QxtMetaObject: assert that sender is non-NULL in connect() 2012-05-28 20:12:19 +02:00
Adam Higerd 64dd2384ea emit connectionFailed when a non-success code is read 2012-05-28 20:12:19 +02:00
Dee Holtsclaw 9c248be03d More patches to QxtCurrency
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.
2012-05-05 16:10:13 -04:00
Dee Holtsclaw d9c173e768 Add missing forwarding header QxtGlobal
This will necessitate a reconfigure for it to be installed properly
2012-05-05 16:07:12 -04:00
Dee Holtsclaw 2a1c9ef4bb Windows-specific changes, Issue #157
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.
2012-05-04 09:26:36 -04:00
Dee Holtsclaw aa10d5f4bf Patch for compilation error in non-GCC environments, Issue #156
Provides an alternative implementation when glibc is not available.
2012-05-04 08:44:09 -04:00
Dee Holtsclaw b81036d0ad Fix handling of QDebug in QxtCurrency. 2012-03-21 08:46:48 -04:00
Dee Holtsclaw 277b6b994d Fix URL construction
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().
2012-03-21 08:45:51 -04:00
Dee Holtsclaw 9363595a78 Add Q_DECLARE_TYPEINFO 2012-03-20 11:55:04 -04:00
Dee Holtsclaw 61e50e725c Adding the helpful _countof() macro to Qxt globals 2012-03-19 13:36:24 -04:00
Dee Holtsclaw 0d091860ca Fixing termination error in RFC 2047 encoding line wrap 2012-03-15 16:46:32 -04:00
Dee Holtsclaw 4754f4f1b7 Avoid negatives in the creation of thread connection names 2012-03-06 14:33:58 -05:00
Dee Holtsclaw 628767b6fb Removing "boost" dependancy and adding a bit of orthoganlity. 2012-03-05 11:42:10 -05:00
Dee Holtsclaw 8c947d20d9 Added null support to QxtCurrency
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.
2012-03-01 17:06:00 -05:00
Dee Holtsclaw b039ef746b Enhancements to QxtCurrency and patches for more current compilers 2012-02-29 23:03:33 -05:00
Dee Holtsclaw 010875460f Introducing QxtCurrency: A fixed-precision datatype for currency operations
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).
2012-02-29 17:17:47 -05:00
Dee Holtsclaw 6fe85bb513 Adding "pkgconfig" files to RPM/DEB packaging 2012-02-29 17:08:24 -05:00
Dee Holtsclaw 2b08b44d8d Adding support for "pkg-config"
This patch causes libqxt to generate pkg-config files for GNU AutoTools users.
2012-02-28 17:14:41 -05:00
Dee Holtsclaw 8b35c05615 Merge changes from trunk to local copy 2012-02-24 08:42:29 -05:00
Dee Holtsclaw 2bf9456ed2 Cast the thread's ID in QxtSqlThreadManager's constructor to avoid MSVC
complaint.
2012-02-24 08:41:23 -05:00
Adam Higerd 5e06fa1116 QxtCommandOptions: add missing Qt common flags 2012-02-22 16:07:54 -06:00
Dee Holtsclaw b8707c1457 Introducing QxtSqlThreadManager
This class makes use of QSqlDatabase connections in worker threads relatively
painless.
2012-02-16 16:53:05 -05:00
Dee Holtsclaw b89bb12f4c Merging branch to make Mercurial happy (nothing is changed) 2012-02-15 16:24:48 -05:00
Dee Holtsclaw b1f9596933 Change the QxtAbstractWebSessionManager shutdown() method to a slot
Although connecting to Q[Core]Application::aboutToQuit serves little purpose,
having this method invokable by a signal does make usage a bit more flexible.
2012-02-15 16:18:26 -05:00
Dee Holtsclaw c42596395e Change the QxtAbstractWebSessionManager shutdown() method to a slot
Although connecting to Q[Core]Application::aboutToQuit serves little purpose,
having this method invokable by a signal does make usage a bit more flexible.
2012-02-15 16:12:34 -05:00
Adam Higerd e8a7e82cbe when autoCreateSession is enabled, don't let an invalid session mess it up 2012-02-11 11:45:20 -06:00
Dee Holtsclaw f13e718350 Altering type of QxtWebRequestEvent::remoteAddress to QHostAddress
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.
2012-02-10 14:43:00 -05:00
Dee Holtsclaw 7c46f6dbb6 More documentation fixes in core
Also adjusted QXT_XXX_EXPORT macros to expand empty when QXT_DOXYGEN_RUN is
defined.
2012-02-09 16:50:09 -05:00
Dee Holtsclaw 60e40ed29a Documentation fixes for some GUI classes.
Also reformatted one file which had mixed line-endings.
2012-02-09 16:46:45 -05:00
Dee Holtsclaw fdc11976e6 Documentation fixes for a few QxtWeb classes.
Many of the "See also" entries were malformed plus some of the descriptions
were incorrect.
2012-02-09 16:45:04 -05:00
Dee Holtsclaw 3aa3c0faa7 Fixes for QxtWebTemplate and documentation
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.
2012-02-09 16:40:59 -05:00
Dee Holtsclaw 4c747f39a3 Adding shutdown() and serverPort() methods to QxtWeb's connectors
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.
2012-02-02 12:05:43 -05:00