Commit Graph

65 Commits

Author SHA1 Message Date
Povilas Kanapickas 6868491483 lib/arch: Use std::string directly instead of String typedef 2020-05-30 14:45:21 +03:00
James Le Cuirot a0b3124f80
Use -pthread flag and simplify pthread build logic
Sometimes -lpthread is not enough. This has caused build failures on
Gentoo Linux in the past.

The logic also seems needlessly complex. We check for HAVE_PTHREAD on
UNIX platforms even though CMake errors out if pthreads are not
found. Similarly, we have a fallback for HAVE_PTHREAD_SIGNAL being
false even though we always set it to true.
2020-03-10 21:10:48 +00:00
Daniel Seither da3876325d Remove unused variables 2019-11-19 12:01:37 +01:00
Povilas Kanapickas f71c68506e Use std::mutex instead of ArchMutex in ArchMultithreadPosix 2019-08-17 16:40:19 +03:00
walker0643 9ab77545ee fix ipv6 handling between GUI and barriers/barrierc; zero-fill sockaddr_in(6) structs prior to initializing; update --help output 2018-05-12 17:42:55 -04:00
walker0643 4c04f39685 reimplement path operations basename() and concat() in Common. these were the last bits remaining in ArchFile* so it was removed 2018-03-31 22:41:00 -04:00
walker0643 131a19d478 reimplement ArchFile*::getSystemDirectory() as DataDirectories::systemconfig(). windows will now use ProgramData by default rather than C:\Windows 2018-03-30 14:39:12 -04:00
walker0643 6c5acdd552 remove DataDirectory wrappers in ArchFile* 2018-03-30 14:01:18 -04:00
walker0643 d81054ab6e remove some stale code and put windows service logfile in a better spot 2018-03-29 21:41:30 -04:00
walker0643 c16fd089f6 old personal and profile directory functions now wrap the new implementations 2018-03-29 16:12:45 -04:00
walker0643 24987e0694 merge modified patch from synergy PR https://github.com/symless/synergy-core/pull/6178 2018-03-06 13:55:27 -05:00
walker0643 07dad10251 moved SSL configuration on OSX from Library/Barrier to Library/Application Support/Barrier as per the App Programming Guide. fixes
ref: https://developer.apple.com/library/content/documentation/General/Conceptual/MOSXAppProgrammingGuide/AppRuntime/AppRuntime.html
2018-02-16 12:29:47 -05:00
walker0643 f12bfdfedc rebranding symless/synergy to debauchee/barrier 2018-01-27 16:48:17 -05:00
XinyuHou deea23f866 Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
XinyuHou 74d63df244 Fix incorrect check of return code from dup 2016-12-07 17:28:15 +00:00
Epakai 4297673387 spelling error "implmented => implemented" 2016-12-06 14:56:47 +00:00
Andrew Nelless 9f1e91cc76 Remove pointless call to curl_free 2016-10-28 17:45:18 +01:00
Andrew Nelless f174614655 Remove bizarre cast of sockaddr to char* 2016-10-05 12:46:16 +01:00
Andrew Nelless 9ed9bde4e7 Restore use of reinterpret_cast for sockaddr_in 2016-10-05 12:46:16 +01:00
Andrew Nelless f3d1470e58 Brutally replace all reinterpret_casts with static_casts 2016-10-05 12:46:16 +01:00
Andrew Nelless 79fc6239fd Revert "Remove plugin interface from Arch"
This reverts commit 4613edc17ced61d6aca80cff661323ede0cb9d30.
2016-09-29 13:05:04 +01:00
Andrew Nelless b1a991e8cd Revert "Remove plugin directory support"
This reverts commit fc697d2ab79bbd2d607c97658c986b629a1280ed.
2016-09-29 13:05:04 +01:00
Andrew Nelless 45ef3e1080 Remove plugin interface from Arch 2016-09-29 13:05:04 +01:00
Andrew Nelless f7e588dfff Remove plugin directory support 2016-09-29 13:05:03 +01:00
Andrew Nelless 76b2558f1a Delete the plugin infrastructure 2016-09-29 13:05:03 +01:00
Andrew Nelless c3c0913633 Update company copyright notice 2016-09-26 11:58:33 +01:00
Xinyu Hou 32da441fc0 Simplify OS info on Unix 2015-10-27 15:45:39 -07:00
Xinyu Hou 95c9ffe7e8 Removed unused variable 2015-08-03 16:38:42 -07:00
Xinyu Hou fedad2b8a1 Improved plugin version logging for Unix 2015-08-03 15:55:37 -07:00
Jerry (Xinyu Hou) dc72b4e512 Changed plugin version mismatch log level to error 2015-08-03 15:46:47 -07:00
Jerry (Xinyu Hou) 6602ebe435 Refactored adding plugin only after loaded
Conflicts:
	src/lib/arch/unix/ArchPluginUnix.cpp
2015-08-03 15:45:31 -07:00
Xinyu Hou a99699df7a Only loaded matching plugin on Mac
Conflicts:
	src/lib/arch/unix/ArchPluginUnix.cpp
2015-08-03 15:43:54 -07:00
Jerry (Xinyu Hou) 81649376fa Revert "Added symbolic link creation to linux and macos "
This reverts commit ad9cfd64af.

Conflicts:
	src/gui/src/PluginManager.cpp
2015-07-31 13:20:16 -07:00
Adam Potolsky d7043ef84b Added plugin version output to unix builds 2015-06-25 09:35:56 -07:00
Adam Potolsky 3942dc6ee8 Added stub code for linux/mac builds to match the functional ARCH code for discovering libraris in use 2015-06-11 10:00:45 -07:00
Jerry (Xinyu Hou) a21e4cd73b Merge remote-tracking branch 'origin/master' into jerry-sandbox 2015-06-08 13:53:01 -07:00
Adam Potolsky 78f8fb45ba Fixed Installed Directory in ARCH for MacOS 2015-06-04 09:58:22 -07:00
Adam Potolsky 0061969cf2 Updating installed dir for Linux and MacOS 2015-06-02 14:28:20 -07:00
Xinyu Hou 5cbcd74028 Fixed using NOTE level logging on Mac 2015-06-01 23:42:58 +01:00
Nick Bolton f1af62927e Stopped Unix plugin loader from throwing
Tested on Mac OS X only
2015-05-20 15:24:10 +01:00
Nigel Armstrong d71304ee55 Modified header of every file COPYING to LICENSE
Modified to match the updated name of the license file
2015-05-06 22:12:44 -04:00
Nick Bolton cfd21216cd Fixed: Plugins dir may change depending on user 2015-03-04 11:15:07 +00:00
Nick Bolton 6e7b9491d4 Fixed: Incorrect log level used 2015-02-26 16:44:15 +00:00
Nick Bolton bcf1a1c4d4 Added extra logging to plugin loaders 2015-02-26 00:03:24 +00:00
Xinyu Hou 4014176d8e Revert "created new instance of arch in plugin "
This reverts commit 8e4f758cb1.
2015-02-13 14:26:03 +00:00
XinyuHou 8e4f758cb1 created new instance of arch in plugin 2015-02-13 12:35:12 +00:00
XinyuHou 4cd20d97ea changed profile directory on mac 2015-02-12 16:52:34 +00:00
XinyuHou c4c0fc8a08 added enable crypto argument to synergys/c 2015-02-12 15:50:08 +00:00
XinyuHou b9c5eb2e6f added certificate generate 2015-02-11 17:28:56 +00:00
XinyuHou 3c4b6163e3 Merge remote-tracking branch 'origin/jerry-sandbox' 2015-02-10 10:28:45 +00:00