Skip to content
Snippets Groups Projects
  1. Aug 22, 2016
    • est31's avatar
      Client: disable pre v25 init sending by default · d767f025
      est31 authored
      Disable the ability to connect to old servers by default to
      improve password security.
      
      If people still want to connect to old (0.4.12 and earlier)
      servers, they can flip the send_pre_v25_init setting.
      
      Add the ability to detect if we've tried to connect
      to a server which only supports the pre v25 init protocol,
      and show an apropriate error message. Most times the error
      will already be catched at the serverlist level, the
      detection mechanism only acts as last resort, because the
      "Connection timed out" error message that would be shown
      otherwise would be very confusing.
      
      Automatic "fixing" of this condition is not desired,
      as it would allow for downgrade attacks.
      
      As already 161 of the 167 servers on the serverlist
      support the new srp based auth protocol (> 96%),
      the breakage should be minimal.
      
      Follow up of commit
      
      af301831 "Add option to not send pre v25 init packet"
      
      Also change the pessimistic assumption of masterlist
      server versions to optimistic, in order to avoid buggy
      behaviour (favourites not in the serverlist would be
      denied to connect to, etc).
      d767f025
    • Xunto's avatar
      Move on join and on leave messages to lua (#4460) · 0b0075e6
      Xunto authored
      0b0075e6
  2. Aug 21, 2016
    • kahrl's avatar
      gettext.h: include <locale> before defining the gettext macro (#4452) · cafa400f
      kahrl authored
      Fixes #4446: a syntax error that happens if something else (such as
      <iomanip> or <locale> in certain libstdc++ versions) includes
      <libintl.h> later, which contains a function declaration for gettext
      that gets mangled by the macro.
      
      See the added comment in gettext.h and the discussion in #4446/#4452
      for details.
      cafa400f
  3. Aug 20, 2016
  4. Aug 19, 2016
  5. Aug 18, 2016
  6. Aug 14, 2016
  7. Aug 12, 2016
  8. Aug 11, 2016
    • Rogier's avatar
      Use the standard to_string() functions for C++11 (#4279) · b11720af
      Rogier authored
      If compiling according to a C++ version before C++11, then define
      std::to_string ourselves.
      
      Add a to_wstring version as well
      
      As std::to_string() for floating point types uses %.6f as floating
      point format converter, instead of %G, it needs special care.
      
      To preserve ftos() behavior (which is expected to use the %G format
      converter), it no longer uses to_string().
      b11720af
    • Rogier's avatar
      Add infotext containing entity type (e.g. mobs:cow) to unknown entities (#4431) · 35f47e54
      Rogier authored
      If a mod is disabled, or upgraded without sufficient backward compatibility,
      then entities it has put into the world become unknown, and continue moving
      around, but are completely unrecognisable.
      
      This change allows the player to see their type, and therefore which mod is
      or was responsible.
      35f47e54
  9. Aug 10, 2016
  10. Aug 05, 2016
    • paramat's avatar
      Decorations: Fix decoration height check errors · b6d845ad
      paramat authored
      Fix height check comparison from '>=' to '>'.
      Fix getHeight() for schematic decorations to account for
      'deco place center y' flag and for how normal placement
      sinks schematic 1 node into the ground.
      
      Jungletrees were not being placed at y = 46, y = 47 despite
      having an acceptable 16 nodes of height above ground surface.
      b6d845ad
  11. Aug 04, 2016
    • paramat's avatar
      Mapgen: Remove unused 'flat' and 'trees' flags from mg_flags · ea12da93
      paramat authored
      When the 'flat' and 'trees' flags were moved into mgv6_spflags they
      were left in mg_flags in an attempt to support old mgv6 worlds. However
      their appearence in mg_flags causes confusion, also, later, old-world
      support was found to be broken for mgv6 worlds with 'notrees'.
      
      This commit cleans up the mess and comes a month after a thread warning
      of the change, and explaining the required action, was posted in the
      news subforum. Only old mgv6 worlds with 'flat' or 'notrees' are
      affected, a small minority of worlds, the required action being
      correctly setting these flags in mgv6_spflags.
      
      Disable a section of the 'map settings manager' unit test which is to
      be changed as it is causing problems for pull requests.
      ea12da93
    • Dorian Wouters's avatar
      Fix l_request_insecure_environment not ignoring all whitespace (#4395) · fca8e538
      Dorian Wouters authored
      l_request_insecure_environment didn't ignore all whitespace in the
      secure.trusted_mods config option.
      
      Replaces std::remove with std::remove_if and the isspace function.
      fca8e538
    • est31's avatar
      4ec66719
  12. Aug 03, 2016
  13. Jul 30, 2016
  14. Jul 29, 2016
    • Nathaniel Olsen's avatar
      Update README.txt (#4368) · cc01c3cb
      Nathaniel Olsen authored
      * Update README.txt
      
      As of Ubuntu 16.10, libpng12-dev is replaced with libpng12-0, since libpng12-0 is available in 16.04 repositories, I think that needed to be changed.
      
      Also I changed 'git-core' to 'git' for fedora users, keep it consistent with the ubuntu/debian instructions.
      
      * Update README.txt
      cc01c3cb
    • Fernando Carmona Varo's avatar
      buildbot: retrieve short commit hash properly · 6b74e196
      Fernando Carmona Varo authored
      Instead of trying to manually parse the output of 'git show' which can be different across different git configurations, properly use the 'git rev-parse' command that is intended for this purpose.
      6b74e196
  15. Jul 28, 2016
    • Loïc Blot's avatar
      Increase android versionCode (#4350) · 919d9d79
      Loïc Blot authored
      This little update is due to a packaging problem when uploading on play store. They don't permit to re upload an APK with same version code.
      This case was a fail on openssl packaged version which was old and rejected by Google but they don't remove the APK then i should increase the version code to permit having it on play store
      919d9d79
  16. Jul 27, 2016
  17. Jul 26, 2016
  18. Jul 24, 2016
  19. Jul 21, 2016
Loading