heinrich5991
dae85e244c
Stop using deprecated APIs on macOS in server launcher
...
(cherry picked from commit dcbd8197a4
)
2019-03-10 18:53:27 +01:00
heinrich5991
94bbe2bc09
Add Travis CI for macOS builds
2019-03-10 18:53:27 +01:00
oy
e7a716aff4
Merge pull request #2039 from Dune-jr/feature-soundnotif
...
Implement audio toggling with visual effects
2019-03-08 19:35:59 +01:00
Jordy Ruiz
bc430595eb
Abort in RenderSoundNotification if no active notification
2019-03-08 19:18:37 +01:00
Jordy Ruiz
456c4ac79b
Clean up notifications code, fix variable naming
2019-03-08 19:17:05 +01:00
oy
ac6f1ac506
Merge pull request #2055 from heinrich5991/pr_sha256
...
Use more secure hash function for map downloads
2019-03-08 19:10:56 +01:00
heinrich5991
1f0b2f6ee5
Use more secure hash function for map downloads
...
SHA256 was chosen because it is reasonably standard, the file names
don't explode in length (this rules out SHA512) and it is supported by
basically all versions of OpenSSL (this rules out SHA512/256 and SHA3).
The protocol is changed in a backward compatible way: The supporting
server sends the SHA256 corresponding to the map in the `MAP_CHANGE`
message after the previously known fields.
For servers not supporting this protocol, the client falls back to
simply opening maps like in the previous scheme.
The filename scheme for downloaded maps changed from `{name}_{crc}.map`
to `{name}_{sha256}.map` if the SHA256 is known, otherwise it falls back
to the previous scheme.
Fixes #1691 .
2019-03-08 18:59:20 +01:00
heinrich5991
b986e54039
Add the SHA256 cryptographic hash function
...
Use the OpenSSL implementation of SHA256 if it is supported, otherwise
fall back to a public domain one.
2019-03-08 02:22:57 +01:00
oy
993c21dff5
Merge pull request #2053 from heinrich5991/pr_fix_findfile
...
Fix `IStorage::FindFile` in case no CRC or size are specified
2019-03-07 19:29:31 +01:00
oy
2c4d241d07
Merge pull request #2054 from heinrich5991/pr_gitignore_gtest
...
Add GTest-related stuff to .gitignore
2019-03-07 19:18:35 +01:00
oy
225d3243f0
Merge pull request #2052 from heinrich5991/pr_cmake_invalidorder
...
Add a notification when files are not sorted in CMake
2019-03-07 19:17:30 +01:00
oy
b7823b2886
Merge pull request #2047 from tsoding/joystick-support
...
Add Joystick Support
2019-03-07 19:11:25 +01:00
rexim
9e7762113d
Make default joystick axis assume the standard left stick
2019-03-07 22:09:16 +07:00
rexim
b42d26f611
Move m_pJoystick zeroing to ctor
2019-03-07 22:02:48 +07:00
rexim
9af7fca265
Fix code style
2019-03-07 22:01:18 +07:00
heinrich5991
34c15adc33
Add GTest-related stuff to .gitignore
2019-03-07 14:53:54 +01:00
heinrich5991
00cfc4f205
Fix IStorage::FindFile
in case no CRC or size are specified
...
Previously, it only returned files with CRC 0 and size 0 (so empty
files) in case you didn't specify CRC and size.
Also add some tests covering that behavior.
2019-03-07 13:05:47 +01:00
heinrich5991
fbdc6d69be
Add a notification when files are not sorted in CMake
...
Would've solved the problem in #2039 faster.
2019-03-07 12:19:44 +01:00
Jordy Ruiz
d62df6e42e
Add missing sound icons in CMakeLists.txt
2019-03-07 12:16:44 +01:00
oy
9e16b376bb
reset reason field after calling a vote. closes #2041
2019-03-06 18:49:23 +01:00
masahirotoyomura
b6c0abe993
added Padding to some dialogs
2019-03-06 17:37:20 +01:00
rexim
23b8508352
Remove verbose debug logging
2019-03-06 02:50:23 +07:00
rexim
ca56cba2a7
Replace NULL with 0
2019-03-06 02:48:57 +07:00
rexim
aab993f7d9
Match config variable name with console variable name
2019-03-06 02:40:33 +07:00
rexim
78e16d9238
m_Joystick -> m_pJoystick
2019-03-06 02:38:04 +07:00
rexim
bd4d5e047d
Add Joystick Support
2019-03-06 00:46:54 +07:00
oy
4e14318cd1
fixed resetting player stats when a player leaves and joins
2019-02-27 18:56:24 +01:00
oy
05fe3e2694
fixed some mingw warnings
2019-02-27 18:53:59 +01:00
oy
bfee7275c7
Merge pull request #2044 from Dune-jr/fix-screen-clamp
...
Fix clamping of screen index value
2019-02-21 12:06:39 +01:00
Jordy Ruiz
a9b4f8ad8c
Fix clamping of screen index value
2019-02-21 11:58:15 +01:00
oy
ea4427d4ea
Merge pull request #2040 from nheir/fix/scroll_detail_scoreboard
...
fix scrollbar in serverbrowser's detail scoreboard
2019-02-21 08:33:01 +01:00
oy
c3a0afe1fb
Merge pull request #2038 from Dune-jr/fix-spectatornotif
...
Adjust spectator notification to show up for non-empty servers only
2019-02-21 08:29:52 +01:00
nheir
d82d5f2049
fix scrollbar in serverbrowser's detail scoreboard
2019-02-18 21:39:38 +01:00
Jordy Ruiz
ce54eca85d
Extend default key binds to support modifiers, add ctrl+s as a default for sound toggle, update controls settings
2019-02-16 19:33:21 +01:00
Jordy Ruiz
e7c502e537
Add a notifications component, implement sound toggling effects, and add a couple of icons for that
2019-02-16 19:32:35 +01:00
Jordy Ruiz
2f5ca88b4d
Adjust spectator notification to show up for non-empty servers only
2019-02-16 13:12:12 +01:00
oy
8e8e05c4f3
Merge pull request #2033 from heinrich5991/pr_cmake_msse2
...
Add -msse2 to compile flags on x86 only if necessary
2019-02-10 19:41:26 +01:00
heinrich5991
732b003b8d
Add -msse2 to compile flags on x86 only if necessary
2019-02-10 19:14:04 +01:00
oy
d0294dbe5f
let SDL use the X11 XRandR window manager per default. there's a command "gfx_use_x11xrandr_wm" to turn that off. this should help with override redirect issues
2019-02-10 19:13:32 +01:00
oy
e6170cd1f0
Merge branch 'master' of https://github.com/teeworlds/teeworlds
2019-02-10 18:48:56 +01:00
oy
fdc14f0738
added a config option for old gcc compilers which need -msse2 flag to use _mm_pause ( https://gcc-patches.gcc.gnu.narkive.com/Ypx83P9u/patch-rfa-move-x86-mm-pause-out-of-pragma-target-sse-scope )
2019-02-10 18:48:37 +01:00
oy
508f56f25f
Merge pull request #2032 from heinrich5991/pr_positional
...
Allow translations to reorder string substitutions
2019-02-10 18:19:56 +01:00
heinrich5991
ddd2b93190
Allow translations to reorder string substitutions
...
This is supported on Windows
(https://docs.microsoft.com/en-us/cpp/c-runtime-library/printf-p-positional-parameters )
and on POSIX, so basically everywhere.
Add some tests to verify that the target system does indeed support
these positional parameters.
2019-02-10 17:42:19 +01:00
oy
e76cc8cb6a
Merge pull request #2031 from heinrich5991/pr_test
...
Add possibility to test
2019-02-10 17:37:30 +01:00
heinrich5991
1064ee4729
Run tests on AppVeyor
2019-02-10 17:00:08 +01:00
heinrich5991
cb887180f2
Run the tests on CircleCI
2019-02-10 17:00:08 +01:00
heinrich5991
ae36f37e83
Automatically download GTest on Windows
2019-02-10 17:00:08 +01:00
heinrich5991
97febe41ba
Add status message for missing GTest
2019-02-10 17:00:08 +01:00
heinrich5991
48129f0fa7
Add possibility to test
...
This uses GTest as a test framework.
2019-02-10 17:00:08 +01:00
oy
dd3c7a9985
Merge branch 'master' of https://github.com/teeworlds/teeworlds
2019-02-09 20:14:56 +01:00