aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qtipcserver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement click-to-pay links. Add OSX support.Gavin Andresen2013-02-121-165/+0
| | | | | | | | | | | | | | | | Switch to using Qt's QLocalServer/QLocalSocket to handle bitcoin payment links (bitcoin:... URIs) Reason for switch: the boost::interprocess mechanism seemed flaky, and doesn't mesh as well with "The Qt Way" qtipcserver.cpp/h is replaced by paymentserver.cpp/h Click-to-pay now also works on OSX, with a custom Info.plist that registers Bitcoin-Qt as a handler for bitcoin: URLs and an event listener on the main QApplication that handles QFileOpenEvents (Qt translates 'url clicked' AppleEvents into QFileOpenEvents automagically).
* Bitcoin-Qt: give testnet a unique IPC message queue namePhilip Kaufmann2013-01-061-6/+9
| | | | | | | | - this prevents an interference with the IPC message queue (which is used for URI processing) when running a testnet and mainnet instance in parallel - to check for testnet, I had to raise the ParseParameters() call in main() to the topmost position
* Fixed 100% CPU utilization problem on FreeBSD 9Alex2012-10-221-1/+1
|
* Remove stack randomizationPieter Wuille2012-09-281-2/+0
|
* Rename CreateThread to NewThreadWladimir J. van der Laan2012-08-291-1/+1
| | | | Prevent clash with win32 API symbol
* Fix compiler warning on macGavin Andresen2012-08-271-2/+2
|
* Bugfix: Move boost::interprocess Win32 workaround to Bitcoin-Qt sources, ↵Luke Dashjr2012-08-271-0/+6
| | | | rather than hacking boost in gitian
* Abstract all IPC communication to qtipcserverLuke Dashjr2012-08-241-2/+42
|
* Replace all occurances of license.txt with COPYING, including naming the ↵Luke Dashjr2012-07-221-1/+1
| | | | file COPYING.txt on Windows
* IPC-server hardening and updatePhilip Kaufmann2012-07-171-33/+54
| | | | | | | | | | - add IMPLEMENT_RANDOMIZE_STACK for ipcThread() - log / print boost interprocess exceptions - use MAX_URI_LENGTH in guiconstants.h (also used in qrcodedialog.cpp) - remove unneeded includes and ipcShutdown() from qtipcserver.cpp - fix a small mem-leak by deleting mq before re-using it - make ipcThread() and ipcThread2() static functions - add some more comments
* Give the GUI-IPC thread a name as wellGiel van Schijndel2012-07-171-0/+4
| | | | Signed-off-by: Giel van Schijndel <[email protected]>
* Fix Qt build on OSXGavin Andresen2012-07-091-5/+10
| | | | | | | | | | | | Compiling boost::interprocess::message_queue against boost 1.50 macports with -arch i386 (how releases are built, for minimum download size and maximum compatibility) is failing: src/qt/qtipcserver.cpp:37: error: no matching function for call to ‘boost::interprocess::message_queue_t<boost::interprocess::offset_ptr<void, int, long unsigned int, 0u> >::timed_receive(char (*)[257], long unsigned int, size_t&, unsigned int&, boost::posix_time::ptime&)’ This is probably a boost or macports bug, but since interprocess::message_queue is only used for URI support, which isn't implemented on OSX anyway, I fixed the build by #ifdef'ing out that code.
* Revert "Disable bitcoin: URI handling on Windows for the 0.6 release"Matt Corallo2012-06-151-6/+0
| | | | This reverts commit 7b90edb5a6cada7176012d09d748847b5f966585.
* Fix #956 the Boost 1.49 way.Matt Corallo2012-06-151-0/+5
|
* Convert UI interface to boost::signals2.Wladimir J. van der Laan2012-05-201-2/+2
| | | | | | | | - Signals now go directly from the core to WalletModel/ClientModel. - WalletModel subscribes to signals on CWallet: Prepares for multi-wallet support, by no longer assuming an implicit global wallet. - Gets rid of noui.cpp, the few lines that were left are merged into init.cpp - Rename wxXXX message flags to MF_XXX, to make them UI indifferent. - ThreadSafeMessageBox no longer returns the value `4` which was never used, converted to void.
* Split synchronization mechanisms from util.{h,cpp}Pieter Wuille2012-05-111-1/+0
|
* Further reduce header dependenciesPieter Wuille2012-04-171-0/+1
| | | | | | | This commit removes the dependency of serialize.h on PROTOCOL_VERSION, and makes this parameter required instead of implicit. This is much saner, as it makes the places where changing a version number can have an influence obvious.
* Remove headers.hPieter Wuille2012-04-171-1/+1
|
* Bugfix: Replace "URL" with "URI" where we aren't actually working with URLsLuke Dashjr2012-04-061-6/+7
|
* Disable bitcoin: URI handling on Windows for the 0.6 releaseGavin Andresen2012-03-261-0/+6
|
* Do not start bitcoin: thread on OSX. fixes #889Gavin Andresen2012-02-271-0/+5
|
* Restructure IPC URL handling (fixes #851)Wladimir J. van der Laan2012-02-171-20/+2
|
* Update all copyrights to 2012Gavin Andresen2012-02-071-1/+1
|
* Add support for opening bitcoin: URIs directly.Matt Corallo2012-01-051-0/+95