Commit Graph

1490 Commits

Author SHA1 Message Date
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
Dee Holtsclaw
6de2cf61e8 Add "qxtzeroconf.h" to the installed headers 2012-02-02 11:58:24 -05:00
Dee Holtsclaw
a9b3f34595 Minor additions to private implementation classes to support Q_PRIVATE_SLOT
Note that a source file must #include "moc_qxtXXXX.cpp" to clue MOC into
not trying to seperately compile the moc file since the private methods would
be unknown there.
2011-12-01 15:08:06 -05:00
J-P Nurmi
2080d7ac43 Fixed #100 bug with the QxtCsvModel 2011-11-18 07:30:53 +01:00
J-P Nurmi
79a4694757 Fixe #125 QxtLanguageBox improvment in logic 2011-11-17 19:51:20 +01:00
J-P Nurmi
e2b2e0ce69 Fixed #124 QxtLanguageBox logic maybe bug 2011-11-17 19:48:10 +01:00
J-P Nurmi
563b16cfe5 Fixed #130 DEPENTPATH = DEPENDPATH? 2011-11-16 01:16:12 +01:00
J-P Nurmi
77b6422bcc Fixed #131 QxtGlobalShortcutKey unregistered other's shortcut key by mistake 2011-11-16 01:13:57 +01:00
Adam Higerd
4f3e8d646a QxtSmtp: Allow disabling individual auth methods to deal with lying servers 2011-11-11 16:26:33 -06:00
Salvador Alemany
4ad14b8477 Condicional usage captureCount of captureCount instead of numCapture with QT_VERSION >= 0x040600 2011-11-11 20:57:04 +01:00
Arvid E. Picciani
f674a0bf84 QxtDaemon: dont trash the pid file if we cant open it 2011-10-26 17:41:38 +02:00
Arvid E. Picciani
cf5ce36742 QxtWebJsonRpcService: handle named arguments and GET requests 2011-09-20 15:44:05 +02:00
Arvid E. Picciani
3c9e1d72f1 QxtWebTemplate cast the assign value instead of wrapping it opaque 2011-09-20 14:32:03 +02:00
Arvid E. Picciani
0c76fd5256 QxtWebTemplate: handle newline as whitespace in shebang 2011-09-20 13:45:49 +02:00
Arvid E. Picciani
70770a83f8 fix a crash for weird destruction orders 2011-09-20 13:07:07 +02:00
Arvid E. Picciani
64d049824f support recursive templates
correct doc errors from last commit
2011-09-20 13:02:06 +02:00
Arvid E. Picciani
de7c000b1a introducing QxtWebJSTemplate 2011-09-20 11:51:10 +02:00
Arvid E. Picciani
6656e63141 qxtjson: handle uint correctly 2011-09-16 16:16:00 +02:00
Arvid E. Picciani
590e000c00 qxtwebjsonrpcservice: add a throwRPCError function to allow bailing in a slot 2011-09-16 15:18:18 +02:00
Arvid E. Picciani
e0262c813d qxtwebjsonrpcservice: prevent crash if post data is missing 2011-09-16 13:23:31 +02:00
Arvid E. Picciani
8ee7fb75f0 introducing json rpc web service 2011-09-16 12:55:52 +02:00
Dee Holtsclaw
658954caf2 Fix a few typos and line-ending problems for license update 2011-09-13 11:09:44 -04:00
Arvid E. Picciani
fb557ea64f change license to BSD 3 clause 2011-09-06 15:21:07 +02:00
Adam Higerd
0d0fe7e24e QxtMultiRootProxyModel: use QPersistentModelIndex where appropriate 2011-08-31 11:20:07 -05:00
Dee Holtsclaw
b7801412d4 Merging changes from main branch 2011-08-30 16:20:31 -04:00
Dee Holtsclaw
f6293aa98d A few enhancements to documentation, the content object & session handling. 2011-08-30 16:18:08 -04:00
Dee Holtsclaw
21d6e314ac Rebasing QxtWebContent on QxtFifo
Updated QxtFifo to permit "priming" data by a derived class
Integrating changes into QxtAbstractConnector
2011-08-29 17:46:37 -04:00
Adam Higerd
0ee99c73ee introducing QxtMultiRootProxyModel 2011-08-28 22:28:48 -05:00
Dee Holtsclaw
335d2c66f9 Fix comparison on size 2011-08-26 16:39:42 -04:00
Dee Holtsclaw
93c86e827f Merging changes from main libqxt branch 2011-08-26 11:48:43 -04:00
Dee Holtsclaw
4588848ef7 Clean up constructor parameters & virtualize destructor for consistency 2011-08-26 11:48:02 -04:00
Adam Higerd
11ddf27e81 QxtCsvModel: documentation fixes, added missing setHeaderData implementation, added convenience accessors 2011-08-22 20:59:34 -05:00
Adam Higerd
2399c8db90 QxtCsvModel: never consider an explicitly-specified separator as a line break 2011-08-22 20:37:35 -05:00
Dee Holtsclaw
9583ac2c72 Adding user button and reset button support to QxtLineEdit 2011-08-19 15:54:26 -04:00
Dee Holtsclaw
4252dbbe35 Added deferred deletion of QxtWebRequestEvent objects.
Documentation has been updated accordingly.
2011-08-18 10:28:10 -04:00
Dee Holtsclaw
ce430abe2c Removing a debugging message inadvertantly left in last commit 2011-08-17 14:38:58 -04:00
Dee Holtsclaw
76e1b4cc54 Added a new overridable function to QxtAbstractWebSession manager,
sessionDestroyed(int), which is invoked when a service for a session
has been destroyed.

Added an implementation for QxtHttpSessionManager::sessionDestroyed() to
elide the cookie value corresponding to a destroyed session.
2011-08-17 14:12:07 -04:00
Dee Holtsclaw
06b64576e3 Removed extraneous variable obsoleted by patches in main branch 2011-08-17 13:04:59 -04:00
Dee Holtsclaw
ab9bb65258 Added cast to eliminate a compiler warning 2011-08-17 11:54:59 -04:00
Dee Holtsclaw
e9ef64045a Syncing with main branch 2011-08-17 09:17:20 -04:00
Vasco Veloso
6166dcb608 Removed absolute dylib path option in OSX when using Qt as a framework so macdeployqt works properly. 2011-08-05 13:55:55 +01:00
Vasco Veloso
2b9cf2179d Removed separate Bonjour function declarations for Windows since the API prototypes have been fixed. 2011-08-04 09:44:22 +01:00
Vasco Veloso
bb69eb0539 Fixed a couple of leaks. 2011-08-03 16:59:44 +01:00
Vasco Veloso
fcb4b182c1 Added a TXT record property to QxtDiscoverableServiceName to allow simple and compatible, service resolving and registering. 2011-08-03 12:53:31 +01:00
Vasco Veloso
e095bc3b0a Added TXT record capabilities to QxtDiscoverableService::registerService 2011-08-03 12:39:59 +01:00
Baptiste Gary
f9d8492bc3 Fix : remove request disconnected on (QHash)"requests". 2011-07-06 11:08:19 +02:00
Adam Higerd
0a395e9a56 merge 2011-07-05 12:05:06 -05:00
Adam Higerd
ffea952c53 fix some memory leaks, also add a path parameter to cookies 2011-07-05 12:04:32 -05:00
Matthew Schnee
cf2d74fb41 Fixed the incorrect association of log level string names to their enumerations.
Ref 119
2011-05-18 08:38:01 -05:00
Benjamin Zeller
a06474ae98 Fixed a error in json parsing code. Nested arrays were incorrectly combined into one big array. 2011-05-12 17:16:49 +02:00
Benjamin Zeller
cfee599ac4 Merge 2011-05-04 11:56:58 +02:00
Benjamin Zeller
57dd635f77 handle control characters in QxtJSON::stringify 2011-05-04 11:54:05 +02:00
Adam Higerd
810657b593 QxtJSON: Add support for long long ints 2011-05-03 16:51:19 -05:00
Adam Higerd
315445f127 QxtMailMessage: Handle lines with only one word 2011-04-25 09:40:24 -05:00
Adam Higerd
2381ed5717 QxtMailMessage: fix some encoding issues, support explicit transfer encodings 2011-04-25 09:12:11 -05:00
Adam Higerd
711314b03a QxtDataStreamSignalSerializer: handle incomplete length 2011-03-18 09:22:10 -05:00
Arvid E. Picciani
3da5c78cc9 json: fix \u decoding 2011-03-17 22:22:46 +01:00
Dee Holtsclaw
a11d78befe Adding SSL flag and client certificate to web request object 2011-03-01 11:48:32 -05:00
J-P Nurmi
2556552e09 Merge 2011-02-25 07:52:30 +02:00
J-P Nurmi
48e4648335 Improved QxtSpanSlider's span drawing on Mac 2011-02-25 07:50:58 +02:00
Adam Higerd
84351eb617 QxtCrumbView: remove unnecessary padding 2011-02-21 10:56:00 -06:00
Adam Higerd
b98ef108ec QxtCrumbView: don't render delegate for invalid indexes 2011-02-21 10:20:17 -06:00
Adam Higerd
6e35fda4c7 QxtWebRequestEvent: add SSL and certificate status 2011-03-01 12:22:45 -06:00
Chris Vickery
4ab97c300e QxtZeroconf: Fixed a bug in the custom AvahiPoll introduced by a timestamp wrap-around that accured just last week. 2011-01-17 13:11:38 -05:00
Adam Higerd
3f2b110fa2 QxtSslConnectionManager: move implementation of incomingConnection 2011-01-16 14:26:17 -06:00
Adam Higerd
99fc57fae4 QxtNetwork: introducing QxtSslConnectionManager 2011-01-15 18:31:14 -06:00
J-P Nurmi
cee21f7672 Changes to make libqxt to build on Symbian 2011-01-09 20:41:42 +02:00
Arvid E. Picciani
2dcb086a35 default ssh port is 22 2011-01-09 18:48:47 +01:00
J-P Nurmi
c1de72b791 Used QMAKE_RPATHDIR instead of deprecated QMAKE_RPATH etc. 2010-11-26 21:48:44 +02:00
J-P Nurmi
ca7dc89073 Fixed #51 QxtGlobalShortcut doesn't send signal 2010-11-26 20:32:00 +02:00
J-P Nurmi
3f1bad5ba1 Added missing export macros to QxtPop3XxxReply 2010-11-26 18:25:56 +02:00
J-P Nurmi
36f113bfd3 Updated QxtNetwork module header 2010-11-26 18:25:22 +02:00
J-P Nurmi
f45b488439 Added missing checks to QxtWindowSystem/X11 2010-11-25 12:00:09 +02:00
J-P Nurmi
9b7168e0b3 QxtWindowSystem/X11 implementation cleanup 2010-11-25 11:33:00 +02:00
J-P Nurmi
6e96bafffd Fixed #85 QxtWindowSystem::windowGeometry issue 2010-11-25 11:19:56 +02:00
J-P Nurmi
f13735a890 Rewrote QxtWindowSystem::activeWindow() on X11 using _NET_ACTIVE_WINDOW 2010-11-23 21:37:36 +02:00
Marcin Jakubowski
6e7ff65530 Implemented QxtGlobalShortcut's Mac specific internals using TIS instead of KL 2010-11-17 17:28:04 +02:00
J-P Nurmi
2cbde43d41 Mac: Enabled QxtWindowSystem in qxtgui.h 2010-11-17 17:19:40 +02:00
Marcin Jakubowski
64c15a4ccb implemented QxtWindowSystem for Mac. Warning: for the most part
uses CoreGraphics *private* and *undocumented* features and may brake
at any time. Works with 10.6.x.
2010-11-11 22:41:44 +00:00
Chris Vickery
58bbbaa907 QxtZeroconf: Fixed the avahipoll so that the avahi mdns implementation work 2010-11-01 13:49:40 -07:00
Adam Higerd
9cf4a097c0 QxtAbstractHttpConnector: don't add null devices to buffer list 2010-10-25 15:00:07 -05:00
Adam Higerd
8f3252a1ac QxtSslServer: don't double-emit newConnection 2010-10-25 14:52:32 -05:00
Adam Higerd
4829a2de76 merge in pull request 2010-10-25 14:51:02 -05:00
Adam Higerd
79ee38a49e QxtHttpsServerConnector: clean up warning output 2010-10-25 14:46:46 -05:00
Dee Holtsclaw
bb824d72ab Fix bad fileformat (was DOS without a final line terminator) 2010-10-25 15:10:29 -04:00
Dee Holtsclaw
4f9ba531ad 1. Fix crash on construction of QxtHttpsServerConnector
2. Add handling of peerVerifyError and sslError signals
2010-10-25 13:40:08 -04:00
Adam Higerd
896eddfa1d QxtNetwork/QxtWeb: Introducing QxtSslServer and QxtHttpsServerConnector 2010-10-22 11:21:20 -05:00
Adam Higerd
d52d1a8a80 QxtCsvModel: be sure to parse non-quoted entities, deal with CR+LF line endings 2010-10-21 12:19:46 -05:00
Adam Higerd
55e154c0cb add operators for QxtCsvModel flags 2010-10-04 16:30:27 -05:00
Adam Higerd
8dfa0a76b5 now remembers to add last column when running into newlines 2010-10-04 16:28:00 -05:00
Adam Higerd
b25c1427c1 don't forget to escape on output 2010-10-04 16:14:58 -05:00
Adam Higerd
83c4c1b1ce redo the inner workings of QxtCsvModel for smarter quoting/codec handling 2010-10-04 13:59:38 -05:00
André Somers
ffb8b65852 Gramatical improvemenst as suggested by ahigerd on IRC. 2010-08-14 20:41:07 +02:00
André Somers
abefc1c8e7 Make documentation of QSlotMapper slightly more clear.
The documentation could be even more clear if a single type would be used in the example. Now, it looks like the QxtSlotMapper distinguishes on parameter _type_ rather than _value_, which is useless as Qt can do that already of course. Just using a single type would clear up that confusion.
2010-08-13 16:15:35 +02:00
Adam Higerd
35c573b104 add QXT_RPCSERVICE_DEBUG environment variable for convenient network debugging 2010-07-31 08:54:32 -05:00
J-P Nurmi
3d9b5a8613 Fixed #70 QxtConfigWidget display not correct 2010-07-31 01:14:33 +03:00
J-P Nurmi
aafe9f5dce Fixed #65 QxtCountryComboBox
QxtCountryComboBox::currentCountry() and setCurrentCountry() were using wrong model column.
2010-07-31 00:19:08 +03:00
Dominique Leducq
78d1f92b60 Add missing <value> element inside <param> element when sending an XML-RPC call - fixes #79 2010-07-26 14:42:38 +02:00
Dominique Leducq
51e64b1401 Handle case of an empty string as return parameter without type specified. fixes #78 2010-07-24 17:37:12 +02:00
Dominique Leducq
a761b92a88 Handle default type for parameter value in XMLRPC call result - fixes #77 2010-07-23 16:45:01 +02:00
Konstantin Molchanov
678a320789 QxtSerialDevice:: fix r/w in open, disable ionotifier on error
fixes #76
reviewed-by: Arvid Picciani <aep@libqxt.org>
2010-07-20 10:47:11 +02:00
Arvid E. Picciani
4f1be65bfd support mod4 in qxtglobalshortcut 2010-07-18 18:53:59 +02:00
J-P Nurmi
23193f034d Fixed #74 QxtConfigWidget - Access to the QSplitter. 2010-07-18 16:38:47 +03:00
J-P Nurmi
bd525d89ba Fixed #69 Documentation errors 2010-07-18 15:52:37 +03:00
Arvid E. Picciani
4b4a0f4123 remove superflous semicolon
fixes #72
2010-07-11 15:10:13 +02:00
Arvid E. Picciani
60c982ef60 add MediaKeys to qxtglobalshortcut_win
(contributed by naresh)
2010-07-06 12:55:24 +02:00
Adam Higerd
b5211c6cd0 merge offline work 2010-06-13 14:58:03 -05:00
Adam Higerd
0d398d1b7f fix qdoc3 tags 2010-06-13 14:57:09 -05:00
Dominique Leducq
779a4a85d2 Put #endif //QT_NO_OPENSSL in the right place. 2010-06-10 16:16:15 +02:00
J-P Nurmi
9883761efa Fixed #63 QxtCheckComboBox display not correct 2010-06-08 21:33:56 +03:00
J-P Nurmi
84a091d68a libssh2.pri: added LIBS += -lz 2010-06-08 21:19:05 +03:00
Adam Higerd
99ee9ecbe9 QxtSsh: proofread/improve documentation 2010-06-04 14:08:08 -05:00
Arvid E. Picciani
cba03329d9 ssh: fix merge
ssh: fix inline func
2010-06-04 22:39:28 +02:00
Arvid E. Picciani
a570ae0b33 dont use QPointer 2010-06-04 20:11:02 +02:00
Arvid E. Picciani
6fb4831534 ssh: wrap debug in QXT_DEBUG_SSH 2010-06-04 20:08:46 +02:00
Arvid E. Picciani
7bcca3f0b4 ssh: remove dead code 2010-06-04 19:58:45 +02:00
Arvid E. Picciani
2facdb9197 ssh: use const & where apropriate 2010-06-04 19:54:20 +02:00
Arvid E. Picciani
9ca0b9fcc1 qxtssh docs 2010-06-04 19:17:43 +02:00
Arvid E. Picciani
f3f6f3643e import libssh2 2010-05-22 04:25:53 +02:00
Arvid E. Picciani
a952c9ac16 introducing QxtSshClient 2010-05-22 03:36:37 +02:00
Matthew Schnee
f1773271e4 Per issue 60:
QxtLogger's original file structure was inconsistent compared to the components provided by QxtCore.  While this had no
bearing on installed libraries and headers, people who intended to use Qxt components directly by including specific headers and
sources were unable to because the wrappers attempted to include headers in their installed path, not in their source path.

This is, essentially, a cosmetic change.
2010-06-02 08:50:36 -05:00
J-P Nurmi
25228ddb4e Simplified QxtSpanSliderPrivate::initStyleOption()
Replaced relevant style option initialization parts with QSlider::initStyleOption() introduced in Qt 4.3.
2010-05-25 23:10:38 +03:00
J-P Nurmi
d5a6100196 #58 QxtSpanSlider sliderPressed signal 2010-05-25 22:46:32 +03:00
J-P Nurmi
6d6d747322 Fixed QxtTemporaryDir docs 2010-05-25 22:24:36 +03:00
J-P Nurmi
e440e56123 Merged QxtTemporaryDir changes to the main line 2010-05-25 21:50:34 +03:00
J-P Nurmi
3f577bd994 Added QxtTemporaryDirPrivate::validate() to fill in missing template parts. 2010-05-25 21:27:39 +03:00
J-P Nurmi
ec424acc11 Fixed QTemporaryDir::remove() when template doesn't contain path (current). 2010-05-25 20:27:48 +03:00
Arvid E. Picciani
920d5df29e set tip to version 0.7
add QxtPop3 to changelog
2010-05-25 18:12:00 +02:00
Arvid E. Picciani
646b6f1f5b pull from leducq/libqxt_dleducq 2010-05-25 17:24:09 +02:00
J-P Nurmi
96bcd23775 Fixed qxttemporarydir.cpp: qxt_removePathHelper(path) 2010-05-24 23:15:21 +03:00
J-P Nurmi
f92dfada16 QxtTemporaryDir: dir template handling & docs 2010-05-23 23:04:36 +03:00
J-P Nurmi
b30766d625 QxtTemporaryDir::templateName -> dirTemplate 2010-05-23 22:35:20 +03:00
Dominique Leducq
32360c2ce6 Added "named ctor" for getting a QxtMailMessage from a RFC 2822 buffer 2010-05-20 16:55:56 +02:00
J-P Nurmi
b049c35a96 Implemented QxtTemporaryDir for Windows & revised QxtTemporaryDir internals 2010-05-19 17:08:23 +03:00
J-P Nurmi
d9471442bd QxtTemporaryDir: added some docs and revised a bit. 2010-05-19 14:15:23 +03:00
J-P Nurmi
04436daf2f Cleaned qxttemporarydir_win.cpp 2010-05-18 23:43:00 +03:00
J-P Nurmi
749655571c Added QxtTemporaryDir (so far implemented only for Unix) 2010-05-18 23:42:01 +03:00
Dominique Leducq
44eab22ca6 Document the API 2010-05-18 11:14:45 +02:00
Dominique Leducq
f31f9df736 Refactor the QxtPop3Command (renamed to QxtPop3Reply). Results of the command (sorry, the reply)
are now available from the QxtPop3Reply object (more precisely, an instance of a subclass of QxtPop3Reply),
when the command (oops, the reply) is completed.
2010-05-17 10:50:00 +02:00
J-P Nurmi
c4e4e8a28e QxtGlobalShortcut/Mac: removed the extra route via QApplication::macEventFilter() - use qxt_mac_handle_hot_key() directly. 2010-05-10 22:40:42 +03:00
Dominique Leducq
89b869855f Rename QxtPop3Command completed() signal to finished() 2010-05-05 09:41:30 +02:00
Dominique Leducq
da9f66499c Make QxtPop3::isConnected() to be const, as it should. 2010-05-04 16:58:34 +02:00
Dominique Leducq
7f68b077bc - fix memory leaks
- clean up code
- cosmetics...
2010-05-04 09:51:06 +02:00
Dominique Leducq
96ae46abd3 Add a POP3 client 2010-04-30 09:34:44 +02:00
Dominique Leducq
3b9b48b0a4 Add a rfc 2822 parser to QxtMailMessage 2010-04-29 18:45:40 +02:00
Benjamin Zeller
9afdea55a3 fix docs 2010-04-29 00:41:03 +02:00
Benjamin Zeller
0483b5ca9c Merge 2010-04-28 23:48:04 +02:00
Benjamin Zeller
e3b52fff63 fixing Bug#6 rw_same() did not pass on windows 2010-04-28 23:09:33 +02:00
Arvid E. Picciani
80e90f709c fix #48
QVariant::Hash  requires qt 4.5
2010-04-28 21:30:45 +02:00
J-P Nurmi
ea8a77c8c5 Added missing "-framework Carbon" 2010-04-18 11:44:35 +03:00