Peter Hutterer
f3eb89121d
Move the XTest check to cmake
...
Where the ifdef was checked, the alternative was a compiler error. We can
shortcut that process and just fail in cmake where the header is not found.
2020-12-09 14:39:09 +10:00
Peter Hutterer
38390f9b88
Undef X_DISPLAY_MISSING
...
As of f815f9840d
several years ago nothing sets
this #define anywhere anymore.
2020-12-09 14:37:10 +10: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
albertony
72849864a3
Remove from help text unsupported --relaunch option and note --service option is obsolete on windows
2020-12-06 18:48:01 +01:00
albertony
87c5f874e4
Include --profile-dir in help text
2020-12-05 01:12:19 +01:00
albertony
01a78a4d3a
Do not store path to ImmuneKeys.txt before --profile-dir is considered
2020-12-05 01:09:41 +01:00
Povilas Kanapickas
06951ea9f0
Merge pull request #926 from rbalint/master
...
lib/ipc: Introduce writef_void(void*, ...)
2020-11-23 18:38:03 +02:00
Povilas Kanapickas
142e8dc847
Merge pull request #929 from aeghn/read_tray_icons_from_theme
...
Enhancement: Read theme's panel icons.
2020-11-22 17:30:01 +02:00
aeghn
95afed5256
Make barrier try to read tray icons from themes now.
2020-10-27 14:11:11 +08:00
Balint Reczey
bd0c671fcc
lib/ipc: Introduce writef_void(void*, ...)
...
to fix ambiguity with writef(barrier::IStream*, ...)
2020-10-22 22:46:02 +02:00
Povilas Kanapickas
fc045fc793
Merge pull request #917 from danielhams/cmakelisttypofix
...
CMakeLists.txt: correct missing brace in make_directory
2020-10-18 20:08:24 +03:00
Daniel Hams
65f4db7563
CMakeLists.txt: correct missing brace in make_directory
2020-10-17 07:43:11 +01:00
Povilas Kanapickas
43708ae0d6
Merge pull request #893 from debauchee/fix/stale-bot/no-aggressive
...
Fix aggressive behaviour of the stale GitHub actions bot
2020-10-01 00:36:51 +03:00
Dom Rodriguez
9b55aaae1e
[improve](stale bot): Adjust stale messages to encourage self-closing
...
What the subject line says really. As per @walker0643's feedback, the
stale bot now encourages the author of the issue/PR to close it
themselves, if it is no longer an issue, or if they no longer want to
work on the PR.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2020-09-29 23:29:44 +01:00
Dom Rodriguez
dbe4dc5d12
[fix](stale bot): Make stale bot less aggressive [2/2]
...
This commit changes the configuration of the stale bot. It will now mark
issues as stale after 6 months. In days, this is 182(.5, if you want to
be super precise, but let's go with 182).
This should reduce the noise made by the bot.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2020-09-29 17:34:57 +01:00
Dom Rodriguez
8122484c3d
[fix](stale bot): Make stale bot less aggressive [1/2]
...
This commit changes the configuration of the stale bot. It no longer
closes stale issues, and instead gives a friendly 'nudge' for stale
issues.
The next commit will change the time for issues to be marked stale to 6
months. This should help reduce the noise from the bot.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2020-09-29 17:33:04 +01:00
Dom Rodriguez
7756557204
[fix](stale bot): Change cron time to midnight
...
This fits in better across various time zones (I'm GMT, for example,
some devs EST/CEST).
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2020-09-29 17:22:13 +01:00
Dom Rodriguez
2cd21cc95f
[chore](stale bot): Bump Stale bot version to v3
...
Previous was v1, v3 fixes bugs, and makes the action 'smarter'.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2020-09-29 17:21:38 +01:00
Dom Rodriguez
012a7dc055
[actions](stale): Add further configuration to GitHub Action - stale.
...
This commit fleshes out the messages and labels applied to stale
issuse/PRs, configures 'exempt' labels, and additionally the number of
days before a issue is marked stale/closed.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2020-09-17 16:52:15 +01:00
walker0643
0699536382
Create stale.yml
2020-09-17 11:20:11 -04:00
Dom Rodriguez
c1d131fd38
Merge pull request #873 from debauchee/enhancement/style/editorconfig
...
[style](editorconfig): Commit initial EditorConfig config for code style
2020-09-14 23:04:06 +01:00
Dom Rodriguez
167a1075fa
[style](editorconfig): Commit initial EditorConfig config for code style
...
Soon to be added: wiki page about expected code style for Barrier.
Also, docs when that's ready.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2020-09-14 13:12:53 +01:00
Dom Rodriguez
9745df29cd
Merge pull request #869 from NikoHD203/patch-1
...
Update gui_de.ts
2020-09-13 16:22:00 +01:00
NikoHD203
4aee34848e
Update gui_de.ts
...
wrong grammar
2020-09-09 11:52:55 +02:00
Dom Rodriguez
5a02070b54
Remove old issue template
...
This is in relation to #856 .
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2020-08-31 03:24:53 +01:00
Dom Rodriguez
b38f844dc0
Merge pull request #856 from debauchee/enhancement/github/templates/bug
...
Update issue templates
2020-08-31 03:24:06 +01:00
Dom Rodriguez
3804198105
Update issue templates
...
Our current templates do not use the latest GitHub templates, so this updates them. I have adjusted and removed some wording to make the template simpler, as I have found some users neglect to fill in the template, or partially fill it in. I hope this helps with the bug reporting process.
2020-08-28 22:13:51 +01:00
Povilas Kanapickas
600d31f29b
Merge pull request #848 from chewi/TEST_ENV
...
Rename TEST_ENV macro to BARRIER_TEST_ENV
2020-08-23 14:25:48 +03:00
James Le Cuirot
1418196af1
Rename TEST_ENV macro to BARRIER_TEST_ENV
...
As requested in #846 .
2020-08-22 19:25:35 +01:00
Povilas Kanapickas
c3aba1b20b
Merge pull request #846 from chewi/tests
...
Add BARRIER_BUILD_TESTS and BARRIER_USE_EXTERNAL_GTEST CMake options
2020-08-22 21:21:11 +03:00
Povilas Kanapickas
7dbfa63a63
Merge pull request #847 from chewi/getenv
...
Replace all instances of C's getenv with C++'s std::getenv
2020-08-22 21:20:30 +03: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
James Le Cuirot
fa46480c35
Respect DISPLAY environment variable in XWindows tests
...
XWindowsScreenTests was failing under Gentoo's package manager. I have
also addressed this in XWindowsScreenSaverTests, which is currently
unused.
2020-08-22 17:36:55 +01:00
Povilas Kanapickas
b204520864
Merge pull request #832 from tom-tan/add-os-barrier-keymap-for-jis-kbd
...
Add key mappings for `Kana`, `Eisu_toggle` and `Muhenkan`
2020-08-22 13:47:35 +03:00
Povilas Kanapickas
d58a9fbe84
Merge pull request #803 from p12tic/crypto-cert-fixes
...
Regenerate server certificate when it is broken or has too small key size
2020-08-22 13:38:46 +03:00
James Le Cuirot
bd1db368b3
Add BARRIER_USE_EXTERNAL_GTEST CMake option to use external GTest
2020-08-21 23:13:58 +01:00
James Le Cuirot
4a031b8ce5
Add BARRIER_BUILD_TESTS CMake option to make tests optional
2020-08-21 22:56:57 +01:00
Tomoya Tanjo
4aefd64add
Add missing comma
2020-08-12 18:33:32 +09:00
Tomoya Tanjo
0fdcf8b225
Add key mappings for `Kana`, `Eisu` and `Muhenkan`
2020-08-12 16:20:29 +09:00
Dom Rodriguez
d186548a53
Update Debian changelog to v2.3.3
2020-08-07 18:33:54 +01:00
Povilas Kanapickas
36ae769987
Merge pull request #818 from tom-tan/add-eisu-muhenkan
...
Add key entries for `Eisu_toggle` and `Muhenkan`
2020-08-07 10:57:57 +03:00
Dom Rodriguez
9a9d22105c
Merge pull request #822 from M1cha/kbd-backlight
...
add support for keyboard backlight media keys
2020-08-04 20:53:02 +01:00
Dom Rodriguez
6b71871204
[Build]: Bump Build.properties
2020-08-04 15:50:49 +01:00
Michael Zimmermann
7452b64482
add support for keyboard backlight media keys
...
I've tested this with a german Apple Magic Keyboard with Numeric Keypad (Space Gray)
connected to a non-Apple Linux Laptop running Arch Linux.
keycode 237 (keysym 0x1008ff06, XF86KbdBrightnessDown)
keycode 238 (keysym 0x1008ff05, XF86KbdBrightnessUp)
2020-08-01 13:28:48 +02:00
Tomoya Tanjo
4d32e29275
Add Eisu_toggle and Muhenkan keys
2020-07-27 22:04:00 +09:00
Povilas Kanapickas
c815abf0e8
gui: Show certificate-related info in logs
2020-07-19 11:56:18 +03:00
Povilas Kanapickas
345bb4b62b
gui: Regenerate certificate if it's invalid or the key is too small
2020-07-19 11:56:17 +03:00
Povilas Kanapickas
7210bfa615
gui: Extract certificate path generation to separate functions
2020-07-19 11:56:16 +03:00
Povilas Kanapickas
93ef15774b
gui: Don't store openssl output as state of the object
2020-07-19 11:56:15 +03:00
Povilas Kanapickas
bd3a8be956
net: Always report the filename of the cert that fails to load
2020-07-19 11:56:14 +03:00