a1346054
3aee8dd341
Add missing final newline
2021-09-22 22:58:16 +00:00
Peter Hutterer
0dbedd31dc
Remove trailing whitespaces
...
Many tools strip trailing whitespaces by default, so after editing a file with
whitespace errors we end up with a bunch of unrelated hunks that need to be
reverted locally.
This could be fixed by configuring each tool to not do this (at least for the
barrier repo), or, simpler, we just sed the problem away and make barrier
whitespace-compliant.
sed commands run:
sed -i 's/[ \t]\+$//' **/*.(cpp|h) **/*CMakeLists.txt
Verified with git diff --ignore-space-change, this shows the empty diff.
2020-12-09 14:02:28 +10:00
James Le Cuirot
7aa110475e
Replace all instances of C's getenv with C++'s std::getenv
2020-08-22 19:05:24 +01:00
GeorgH93
64a9320d61
Fix build on Windows
2020-06-03 15:48:44 +02:00
Povilas Kanapickas
89c6623c0e
lib/common: Remove no longer used stdexcept.h
2020-05-30 23:35:27 +03:00
Povilas Kanapickas
5eac13a969
Use noexcept instead of exception specifications
2020-05-30 23:35:27 +03:00
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
b0e415de03
Fix race condition in IArchString
...
Even though the calls to C functions are protected with a mutex, the
initialization and destruction of the mutex itself had race conditions.
2019-08-17 16:40:25 +03:00
Povilas Kanapickas
f71c68506e
Use std::mutex instead of ArchMutex in ArchMultithreadPosix
2019-08-17 16:40:19 +03:00
coypu
443e656be2
Use ${CMAKE_DL_LIBS} rather than listing OSes.
...
CMake makes our lives easier. Needed for NetBSD, which also
doesn't have libdl.so.
2018-08-02 15:46:01 +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
9a2d61cbb5
Merge pull request #19 from debauchee/ipv6
...
Add ipv6 support
2018-03-24 15:09:20 -04:00
walker0643
b9a59c014f
don't build barrierd for non-windows platforms; removed some synergy-related legacy checks
2018-03-11 12:48:59 -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
625253a7e8
fix FreeBSD build
2018-03-02 18:36:31 -05:00
walker0643
4571f4cc6e
remove annoying LOG statement; add a small bit of debugging info
2018-02-23 14:02:38 -05:00
walker0643
07dad10251
moved SSL configuration on OSX from Library/Barrier to Library/Application Support/Barrier as per the App Programming Guide. fixes #5
...
ref: https://developer.apple.com/library/content/documentation/General/Conceptual/MOSXAppProgrammingGuide/AppRuntime/AppRuntime.html
2018-02-16 12:29:47 -05:00
walker0643
b77eec1f17
fix some compiler warnings
2018-01-31 10:03:34 -05:00
walker0643
0bb94da72d
replace unknown type to fix windows build
2018-01-28 16:19:27 -05:00
walker0643
f12bfdfedc
rebranding symless/synergy to debauchee/barrier
2018-01-27 16:48:17 -05:00
Andrew Nelless
40e943d145
#6037 Use of non-memsize type for pointer arithmetic
2017-05-12 20:40:07 +01:00
Andrew Nelless
0290583ab9
#6037 Unitialized handles and other members in ArchTaskBarWindows
2017-05-12 00:20:59 +01:00
Andrew Nelless
485540bbb4
#6037 socket accept() failure could lead to NULL ptr dereference
2017-05-12 00:10:16 +01:00
Andrew Nelless
fedbcb0f3a
Remove ../ includes in src/lib
2017-03-09 15:16:08 +00:00
Andrew Nelless
0cd45ba1ef
Remove unused include paths
2017-03-09 14:18:39 +00:00
XinyuHou
deea23f866
Apply tab to spaces filter to src folder
2017-02-07 01:24:59 +00:00
Andrew Nelless
c27c094f9c
Merge changes from v1.8.6 and v1.8.7
2017-01-20 23:18:03 +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
96efe5fb73
Merge changes from v1.8.5
2016-10-31 16:14:39 +00:00
Andrew Nelless
9f1e91cc76
Remove pointless call to curl_free
2016-10-28 17:45:18 +01:00
Andrew Nelless
964f1aa093
Merge changes made in v1.8.4
2016-10-12 10:41:44 +01:00
Andrew Nelless
2e30dc2c68
Restore safe reinterpret_cast of Windows thread handle
2016-10-05 12:46:17 +01:00
Andrew Nelless
702f095efd
Fix cast in Windows TaskBar
2016-10-05 12:46:17 +01:00
Andrew Nelless
7e386c0bf9
Fix cast of port number in Winsock
2016-10-05 12:46:16 +01:00
Andrew Nelless
d77b5f1176
Restore safe reinterpret_casts in Windows TaskBar
2016-10-05 12:46:16 +01:00
Andrew Nelless
5a03e37d15
Restore safe reinterpret_casts in misc Windows code
2016-10-05 12:46:16 +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
6456271141
#5617 Remove plugin interface from Arch
2016-09-29 13:05:04 +01:00
Andrew Nelless
79fc6239fd
#5617 Revert "Remove plugin interface from Arch"
...
This reverts commit 4613edc17ced61d6aca80cff661323ede0cb9d30.
2016-09-29 13:05:04 +01:00
Andrew Nelless
b1a991e8cd
#5617 Revert "Remove plugin directory support"
...
This reverts commit fc697d2ab79bbd2d607c97658c986b629a1280ed.
2016-09-29 13:05:04 +01:00