aboutsummaryrefslogtreecommitdiff
path: root/src/constants.h
diff options
context:
space:
mode:
authorMartin Renold <martin@log2.ch>2018-12-08 16:26:04 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-12-08 16:26:04 +0100
commitb02effdab9b837bd2197ffe7f7f26e0e49fe8acd (patch)
tree63e868b6748b236b105b4d209dab6a048ab19cfe /src/constants.h
parentf0dca284b3d4fe266e88f6df8c6e3ad9d1411496 (diff)
downloadminetest-b02effdab9b837bd2197ffe7f7f26e0e49fe8acd.tar.gz
minetest-b02effdab9b837bd2197ffe7f7f26e0e49fe8acd.tar.bz2
minetest-b02effdab9b837bd2197ffe7f7f26e0e49fe8acd.zip
Fix crash if display resolution is not set (#7950)
On my wayland / gnome3 setup DisplayHeightMM() returns 0. This resulted in a misleading startup error suggesting to fix my font paths.
Diffstat (limited to 'src/constants.h')
0 files changed, 0 insertions, 0 deletions
Remove the `VERSION_PATCH_ORIG` hack. * Add option to search for and use system JSONCPP. * Remove broken LuaJIT version detection. * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`. * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`. * Clean up style of CMake files. * For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-07 | | | | NDEBUG is defined), replace those usages with persistent alternatives * Use std::queue for HTTPFetchRequest and std::vector for log_output instead ↵Loic Blot2015-03-05 | | | | of std::list * Remove unused variables to make clang happyLoic Blot2015-02-12 | * Use configured bind_address for HTTPFetchShadowNinja2014-09-18 | * Reduce indentation of HTTPFetchOngoingShadowNinja2014-09-18 | | | | Also clean up some related things. * Add support for multipart/form-data to HTTPFetch for server announcingShadowNinja2014-06-30 | * Add support for Android 2.3+sapier2014-06-29 | | | | | | | | | | | | | There have been plenty of ppl involved in creating this version. I don't wanna mention names as I'm sure I'd forget someone so I just tell where help has been done: - The partial android versions done by various ppl - Testing on different android devices - reviewing code (especially the in core changes) - testing controls - reviewing texts A big thank you to everyone helping this to be completed! * Remove dependency on marshal and many other async changesShadowNinja2014-04-27 | | | | | | | | | | | | This makes a number of changes: * Remove the dependency on marshal by using string.dump and loadstring. * Use lua_tolstring rather than having Lua functions pass string lengths to C++. * Move lua_api/l_async_events.* to cpp_api/s_async.*, where it belongs. * Make AsyncWorkerThread a child of ScriptApiBase, this removes some duplicate functionality. * Don't wait for async threads to shut down. (Is this safe? Might result in corruption if the thread is writing to a file.) * Pop more unused items from the stack * Code style fixes * Other misc changes * Add support for named threads (atm linux only)sapier2014-04-09 | * Include system info in the HTTP user agent on WindowsSfan52014-01-23 | * Deindent HTTPFetchRequest::HTTPFetchRequest()ShadowNinja2014-01-16 | * Make default User-agent follow RFC 2616ShadowNinja2014-01-15 | * Fix building with MinGWSfan5