summaryrefslogtreecommitdiff
path: root/src/porting.cpp
Commit message (Collapse)AuthorAge
* Add LuaSecureRandomest312015-11-08
|
* Use warningstream for log messages with WARNINGShadowNinja2015-10-14
| | | | Remove DTIME macro and its uses, too
* Improve locale directory detectionest312015-09-10
| | | | | | | | | | | | | | | | | | Use in-place locale directory if that exists, and static one (RUN_IN_PLACE or CUSTOM_LOCALEDIR) doesn't exist. Report to errorstream if neither static nor in-place locale dirs exist, and report successfully found paths to infostreem. Fixes two bugs: -> Regression of commit [1] where if we use RUN_IN_PLACE=false, but don't make install, locales aren't found. One might think this is no regression, as its no bug, but all other paths (mainmenu, etc.) are detected properly. -> Regression of commit [1] where locales don't work on windows. References: [1]: Commit 645e2086734e3d2d1ec95f50faa39f0f24304761 "Use CUSTOM_LOCALEDIR if specified" by @ShadowNinja
* Use CUSTOM_LOCALEDIR if specifiedShadowNinja2015-09-06
|
* Clean up threadingShadowNinja2015-08-23
| | | | | | | | | | | | | | | | | | | | * Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test.
* Fix code style from recent commits and add misc. optimizationskwolekr2015-07-02
|
* Revert the upper-case PROJECT_NAME nonsense that was part of #2402sfan52015-04-27
|
* Revert "Only lowercase project name at compile time"sfan52015-04-27
| | | | This reverts commit 3be9787e64362b8a5020746220c65abbe31f8097.
* Fix crash on startup (Windows)SmallJoker2015-04-22
|
* Only lowercase project name at compile timeShadowNinja2015-04-21
|
* Fix build on OS X (Thanks neoascetic)kwolekr2015-04-20
|
* Porting: Refactor initalizePaths()kwolekr2015-04-19
| | | | | Add support for Solaris and HP-UX Search additional potential procfs locations for current executable
* Fix path detection with --std= parameterest312015-04-17
| | | | | | Fixes path detection when compilers have been told to follow a standard, e.g. with -DCMAKE_CXX_FLAGS=--std=c++98. To see the passed defines, try this with and without the --std parameter: gcc -E -dM --std=c99 - < /dev/null | grep linux
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-01
| | | | | | | | | | | | Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
* Add Lua function get_video_modes() for main menuCraig Robbins2015-03-28
| | | | Also updates and uses porting::getSupportedVideoModes()
* Clean up and tweak build systemShadowNinja2015-03-27
| | | | | | | | | | | | | | | | * Combine client and server man pages. * Update unit test options and available databases in man page. * Add `--worldname` to man page. * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`. * Disable server build by default on all operating systems. * Make `ENABLE_FREETYPE` not fail if FreeType isn't found. * Enable LevelDB, Redis, and FreeType detection by default. * 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.
* Standalone bundle for OSX (w/ dependencies!)Pavel Puchkin2015-03-17
|
* Fix RUN_IN_PLACE broken due to invalid usage of assertsapier2015-03-07
|
* 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
* Fix performance regressionCraig Robbins2015-02-05
|
* Fix some MSVC-specific warnings and add debug path as an MSVC directorykwolekr2015-02-02
|
* Reorganize supported video driver query mechanismskwolekr2015-01-18
|
* Fix andorid build errorsapier2015-01-07
|
* Implement X11 dpi autodetectionsapier2015-01-06
|
* Fix OSX packaging finallyPavel Puchkin2014-12-16
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Set WM_CLASS window hint for Xorgkwolekr2014-12-15
|
* Implement proper font handlingsapier2014-11-30
|
* Fix android build using hardcoded path for data instead of using the one ↵sapier2014-10-01
| | | | | | fetched by android api on init. Fix android missing version information
* 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!
* OS X compatibility fixesMartin Doege2014-06-29
|
* Revert "Add daemon support for linux like operating systems"sapier2014-06-01
| | | | Remove daemon support due to delayed popular vote (part 2)
* Revert "Redirect stdin/stderr/stdout to /dev/null in daemon mode"sapier2014-06-01
| | | | Remove daemon support due to delayed popular vote (part 1)
* Redirect stdin/stderr/stdout to /dev/null in daemon modesapier2014-06-01
|
* Add daemon support for linux like operating systemssapier2014-05-31
|
* Add support for dpi based HUD scalingsapier2014-04-27
| | | | | | Add support for (configurable) multiline hotbar Improved screensize handling Add userdefined gui scale by BlockMen
* Bunch of small fixes (coding style, very unlikely errors, warning messages)sapier2014-04-19
|
* Fix problem with newer MinGW runtimesSfan52014-04-14
|
* Include system info in the HTTP user agent on WindowsSfan52014-01-23
|
* Portability fixes for OpenBSD (and possibly NetBSD and others).Aaron Suen2013-11-02
|
* Tune queue limits, some other adjustmentskwolekr2013-02-25
|
* Add multi-Emerge thread supportkwolekr2013-02-25
|
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Fix assertion condition in initializePaths()kwolekr2013-02-06
|
* Fix msvc buildIlya Zhuravlev2013-01-22
|
* Proper RUN_IN_PLACE support for OSX and FreeBSDkwolekr2013-01-21
|
* Improve build configuration optionsPerttu Ahola2012-07-23
|
* Initially split utility.h to multiple files in util/Perttu Ahola2012-06-17
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-05
| | | | GPLv2/later, by agreement of major contributors
* MSVC build directory autodetection at startupPerttu Ahola2012-03-25
|