Commit graph

4170 commits

Author SHA1 Message Date
oy 8a34cebec0
Merge pull request #2029 from Dune-jr/fix-locale-convert
Fix missing locale strings when running export scripts
2019-02-09 19:37:38 +01:00
Jordy Ruiz bb4a8dc14e Fix Localize with no space between parameters not being detected, fix paths 2019-02-09 19:28:59 +01:00
Jordy Ruiz 96561a4f3a Fix browser localization hints 2019-02-09 19:23:12 +01:00
oy 3c165cce00 Adjusted the "search" label and server/player info in the server browser. closes #1986 2019-02-07 19:23:03 +01:00
oy 6faddbc87b Merge branch 'master' of https://github.com/teeworlds/teeworlds 2019-02-07 17:42:01 +01:00
oy d68d9848db added missing colons #1986 2019-02-07 17:41:27 +01:00
oy 6e8133fe79
Merge pull request #2023 from Fudgyking/show-spec-votes
Show votes in spec with a message indicating that you cannot vote
2019-02-07 17:06:27 +01:00
Fudgyking 8a4ce5c26c Show votes in spec with a message indicating that you cannot vote 2019-02-05 21:34:13 -05:00
oy e1b9f6f2ad Merge branch 'master' of https://github.com/teeworlds/teeworlds 2019-02-05 20:37:33 +01:00
oy d081dbb263 fixed a c&p mistake 2019-02-05 20:36:56 +01:00
oy f0ebc6272b
fixed appveyor badge link 2019-02-05 17:18:05 +01:00
oy aefda9e9d7 added hover and active effect to edit boxes. closes #1771 2019-02-04 18:52:49 +01:00
oy db344290e0 added hover effect to drop down menus 2019-02-04 18:41:30 +01:00
oy ed458117d4 added grab and hover effect to the other scrollbars as well 2019-02-04 17:34:10 +01:00
oy 7977b46d36 end double mouse click state when doing a new single click. closes #1998 2019-02-04 17:06:32 +01:00
oy 5b30a168bb
Merge pull request #2019 from LordSk/fix/sr_scrollbar_grab
Fixed scroll region slider being grabbed before specifically clicking on it
2019-02-04 16:43:29 +01:00
LordSk 8e651de217 Fixed slider being grabbed when pressing mouse1 outside the slider rect and then moving hover it 2019-02-04 16:37:19 +01:00
oy 92641472d5 added an error check when polling the clipboard text 2019-02-04 16:35:23 +01:00
oy 4cb916db86 sanitize clipboard string. closes #1992 2019-02-04 16:32:38 +01:00
oy a1b8926f51 swap teamscore when swapping teams. closes #2004 2019-02-04 16:15:51 +01:00
oy 8c544e6e7c fixed displaying of the score in the server browser scoreboard 2019-02-04 16:01:51 +01:00
oy 5e01ed3352 added an initialization 2019-02-04 11:38:13 +01:00
oy a570538bad fixed last commit 2019-02-04 11:16:48 +01:00
oy 359f327537 fixed another array intitialization 2019-02-04 11:12:01 +01:00
oy a7ce3b7d9e fixed an array initialization and removed some magic values. #2016 2019-02-04 10:58:00 +01:00
oy 79fe483b83
Merge pull request #2017 from heinrich5991/pr_hardening
Add more hardening flags
2019-02-04 10:42:12 +01:00
heinrich5991 ad0946df37 Add more hardening flags
- `-fcf-protection` to protect the targets of indirect jumps and
  function returns.
- `-D_GLIBCXX_ASSERTIONS` for bounds-check assertions in the STL.
- `-fstack-clash-protection` to protect against stacks overwriting each
  other.
- `-fstack-protector-strong` instead of `-fstack-protector-all` as it
  apparently gives basically the same benefits at less slowdown.

These flags were taken from
https://developers.redhat.com/blog/2018/03/21/compiler-and-linker-flags-gcc/.
2019-02-03 23:22:40 +01:00
oy f8ba164268 removed old deprecated scale code 2019-02-03 20:57:57 +01:00
oy 5b002b0eac fixed some warnings 2019-02-03 20:28:10 +01:00
oy e1efafce39
fixed last commit 2019-02-03 20:20:44 +01:00
oy 6f980c33e4
show AppVeyor build status in the readme 2019-02-03 20:11:21 +01:00
oy 6df2d43f8f fixed some warnings 2019-02-03 20:04:17 +01:00
oy 397e88e1d7 use stable_sort for sorting 2019-02-03 19:58:15 +01:00
oy 6deb18e8b0 changed swap to tl_swap to prevent interference with the std one 2019-02-03 18:32:25 +01:00
oy e5f2c4f91d removed duplicate code. closes #2005 2019-02-03 17:30:29 +01:00
oy 57a73039c3
Merge pull request #2008 from LordSk/feature/scrollbar_api
Scroll region api
2019-02-03 16:47:18 +01:00
oy 3b1bea2b8b
Merge pull request #2010 from heinrich5991/pr_fallthrough
Remove case fallthroughs from the code base
2019-02-03 13:28:32 +01:00
oy 802ecc5136
Merge pull request #2011 from heinrich5991/pr_format_security
Make use of the `-Wformat=2` flag
2019-02-03 13:08:24 +01:00
oy 040b02c627
Merge pull request #2012 from Dune-jr/codacy-fixes
Fix a few relevant issues raised by Codacy. #2009
2019-02-03 12:47:00 +01:00
oy a9df25ee21
Merge pull request #2013 from heinrich5991/pr_circleci_cmake
Test CMake on CircleCI
2019-02-03 12:38:07 +01:00
oy 4b94271810
Merge pull request #2015 from heinrich5991/pr_appveyor
Add AppVeyor CI
2019-02-03 12:35:14 +01:00
heinrich5991 e117ee0ef1 Recursively create directories for the data dir
Nonrecursively creating directories led to a failure --
`.local/share/teeworlds` could not be created if `.local/share` did not
exit beforehand.

Fixes #2014.
2019-02-03 11:50:01 +01:00
heinrich5991 553db4cfaa Fix the rest of MSVS compiler warnings
- warning C4099: type name first seen using 'class' now seen using 'struct'
- warning C4291: no matching operator delete found; memory will not be
  freed if initialization throws an exception (false positive)
- warning C4305: truncation from 'double' to 'float'
2019-02-03 11:25:25 +01:00
heinrich5991 ea80f967a9 Fix client masks (C4334)
Bug discovered by compiler warning C4334 which says:

>'<<': result of 32-bit shift implicitly converted to 64 bits (was
>64-bit shift intended?)
2019-02-03 11:25:24 +01:00
heinrich5991 63d17483d2 Add automatic dependency download to CMake for Windows 2019-02-03 11:25:24 +01:00
heinrich5991 99843b7a70 Add AppVeyor CI
This automatically builds every revision on Windows as well, helping us
catch bugs or compilation failures faster
2019-02-03 11:24:46 +01:00
heinrich5991 9bf814008c Also try running the server on CircleCI 2019-02-03 02:31:16 +01:00
heinrich5991 ce59e97724 Make versionsrv's dependency on nethash.cpp explicit 2019-02-03 02:27:19 +01:00
heinrich5991 bb8ec6b836 Test CMake on CircleCI 2019-02-03 02:22:15 +01:00
heinrich5991 b617c8b0b7 Fix an unused variable and a signed-unsigned comparison 2019-02-03 02:22:15 +01:00