aboutsummaryrefslogtreecommitdiff
path: root/util
Commit message (Collapse)AuthorAge
* LINT fixLoic Blot2017-04-23
|
* Pass clang-format on various cpp/header files (#5559)Loïc Blot2017-04-23
|
* Fixing warning pointed by @sfan5 and clang and cleanup guiFileSelectMenuLoic Blot2017-04-22
| | | | * Also pass clang-format on guiFileSelectMenu.h and remove it from whitelist
* Fix broken lint since 04cc9de8f2fbcb11f133c88f02fc11504b3ea6f3Loïc Blot2017-04-18
|
* Clang-format styles fixes since previous commitLoïc Blot2017-04-10
|
* Pass clang-format on 14 trivial header files fixesLoic Blot2017-04-07
| | | | Also remove them from whitelist
* Clang-format: fix some header files and remove them from whitelistLoic Blot2017-04-07
|
* LINT: Switch whitelist check from egrep to awkLoïc Blot2017-04-06
| | | | Bonus: make CI happy with the last rules fix
* Clang-format continuation indent fixes + .gitignore additionsLoïc Blot2017-04-06
| | | | | | * Proper support for continuation indents in clang format * make src/wieldmesh.h proper and remove it from whitelist * Add CLion default build directories in .gitignore
* Fix clang-format binary selectionLoïc Blot2017-04-06
| | | | Also fix spaces to tabs
* Move LINT process in dedicated shell & fixLoic Blot2017-04-06
| | | | | Move lint to dedicated shell permit to use it from your shell easily to check what is wrong Also fix recent regressions in code style
* Clang format: only show errors on non whitelisted filesLoic Blot2017-04-06
|
* Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ ↵Loïc Blot2017-04-02
| | | | | | | | | | | | | | | | instead of src/ (#5473) * Update embedded jsoncpp from unk version to 0.10.6 0.10.6 is last release without c++11 * Make jsoncpp more compliant with its amalgamate Jsoncpp cpp file should be upper, make the library like it does in amalgamate * Reorganization: move minetest embedded libs outside of source tree to /lib * Fix a dead grep in LINT
* Clang-format: trivial fix on some headers (#5495)Loïc Blot2017-04-01
| | | Fix some headers style and remove them from whitelist
* Fix clang-format Columns WidthLoic Blot2017-03-31
| | | | Also fix l_client.cpp/h and remove them from whitelist
* clang-format: add a whitelist (#5459)Loïc Blot2017-03-27
| | | | | | | | | If file is in the whitelist, softfail, else hard failure Some files are not in whitelist and marked as normal: * src/content_mapnode.h * src/cguittfont/xCGUITTFont.cpp * src/gameparams.h * src/profiler.cpp
* clang-format: fix counter increment & output (#5456)Loïc Blot2017-03-26
| | | clang-format: fix bash syntax on increment
* clang-format: limit diff to 50 files to prevent exceding the maximum travis ↵Loïc Blot2017-03-26
| | | | output (4MB) (#5455)
* Add clang format & skip build if no source file modified (#5433)Loïc Blot2017-03-25
| | | | | | | | | | | | | | | | | | | | * [BUILD] Add clang format + build skipping * Add clang-format tool to check codestyle. Warning: it check the whole modified file, not the diff part, it's why it's lazy. Please also look if rules are perfect, i take the Linux codestyle from LLVM site Fix issue #5415 * Skip building project if no file is modified * Fix a wrong brace to trigger LINT * Make lint step outside of unix build scope * Add AccessModifierOffset: -8 * Typo fix & needs compile fix * Fix header priorities
* CI: Add memleak checking using valgrind (#5350)Loïc Blot2017-03-06
| | | Add a new step to check memleaks on our current unit tests suite
* Travis: Build server too for UNIXLoïc Blot2017-01-04
|
* Buildbot: Update Gettext version (#4971)sfan52016-12-29
|
* Buildbot: Update LuaJIT versionsfan52016-12-08
|
* Travis: Only trigger a compile, when C/C++ related files were touched (#4284)Tim2016-10-15
|
* Fix macosx build by disabling postgresql upgradeLoic Blot2016-10-06
|
* Travis: build matrix improvements + CPP11 buildLoic Blot2016-10-06
|
* Update library versions in buildbotsfan52016-09-21
| | | | | | | | The libraries updated in this commit were built with a set of scripts: https://gist.github.com/sfan5/780c24313c164d34634e18677683b9a3 Building new library versions or just using a different MinGW version is now way easier. This means Windows builds no longer need to use ancient library versions just because nobody knows how to build them.
* buildbot: retrieve short commit hash properlyFernando Carmona Varo2016-07-29
| | | | 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.
* Implement a PostgreSQL backendLoic Blot2016-05-22
|
* Upgrade Android build to Gradle build systemShadowNinja2016-04-28
| | | | | | The old Ant build system has been deprecated for a while and new development is focused on Gradle. I also removed a hardcoded string that lint caught and moved the patch files to a subdirectory. I left the JNI files in the root directory.
* Tweak travis scriptShadowNinja2016-03-19
| | | | Exit if cd fails and don't insert '\' in string.
* Implement OSX Travis buildsPavel Puchkin2016-02-04
|
* Update URLs for buildbot & travissfan52015-12-26
| | | | The freehoster these files were hosted on is shutting down soon-ish, they're now hosted on my VPS.
* Make travis work againest312015-12-05
| | | | | | | | Now we do sudo apt-get update to download package sources. This fixes travis build with the new GCE based infrastructure. Closes #3427. Closes #3426.
* Re-add "file" type for --add-location for xgettext callest312015-10-17
| | | | | | | | | Passing line numbers in the comments is bad. References: * Commit 94961b3364f76d5861913af321e9be6200d080b3 * Previous commit
* New settings tab contain all possible settingsPilzAdam2015-10-17
| | | | | Settings are automatically parsed from builtin/settingtypes.txt The edit dialog automatically adjust based on the type of setting
* Don't add line number to comment when running updatepo.shest312015-09-02
| | | | | | | | Otherwise, this updates all .po files for all line numbers that changed since the last time updatepo.sh was run. We still add the filename, but this information shouldn't change too often. xgettext beginning with 0.18.4 supports this feature.
* Add fgettext_ne as keyword to updatepo.shest312015-08-25
|
* Update toolchain_mingw64.cmakeRui2015-07-18
|
* Add LibGMPest312015-05-11
| | | | Uses system provided libgmp if found, if not it falls back to mini-gmp.
* Replaced libjpeg dependency on apt-get, it should be libjpeg-dev instead of ↵Megaf2015-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libjpeg8-dev. On Debian 8... ``` Package libjpeg8-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libjpeg62-turbo-dev ``` Using libjpeg-dev should make the OS select the most appropriate lib to be installed. These are the packages available on Debian 8. ``` libjpeg-dev - Development files for the JPEG library [dummy package] libjpeg-turbo-progs - Programs for manipulating JPEG files libjpeg-turbo-progs-dbg - Programs for manipulating JPEG files (debugging symbols) libjpeg62-turbo - libjpeg-turbo JPEG runtime library libjpeg62-turbo-dbg - Debugging symbols for the libjpeg-turbo JPEG library libjpeg62-turbo-dev - Development files for the libjpeg-turbo JPEG library libturbojpeg1 - TurboJPEG runtime library - SIMD optimized libturbojpeg1-dbg - TurboJPEG runtime library - SIMD optimized (debugging symbols) libturbojpeg1-dev - Development files for the TurboJPEG library ``` This seems to work on all current Debian versions, Wheezy, Jessie and Sid. https://packages.debian.org/wheezy/libjpeg-dev https://packages.debian.org/jessie/libjpeg-dev https://packages.debian.org/stretch/libjpeg-dev Im not sure if Ubuntu has this dummy package. http://packages.ubuntu.com/search?keywords=libjpeg-dev Perhaps this should be further discussed. libjpeg8-dev -> libjpeg-dev
* Make Git version detection use VERSION_STRING instead of tagsShadowNinja2015-05-05
| | | | | | | | | | This fixes the problem where 0.4.12-dev versions were erroneously shown as 0.4.11-dev because the tag was added on a separate branch. It also fixes a similar issue when builders didn't fetch new tags when updating. This also removes the number-of-commits-since-tag field, since it's incompatible with this. Said field doesn't seem to be useful anyway if you have the commit hash.
* 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.
* Rename --do-unittests to --run-unittests as @Zeno- and @sfan5 requestedLoic Blot2015-02-24
|
* Unit tests must be done at integration process.Loic Blot2015-02-21
| | | | | | * Remove --enable-unittests and --disable-unittests and add --do-unittests function * --do-unittests function will exit 0 on success. * minetest and minetestserver binaries are launched with --do-unittests in travis build.
* Add LevelDB and redis to Travis Linux buildssfan52015-02-16
|
* Reduce gettext wide/narrow and string/char* conversionsShadowNinja2015-02-05
|
* Add wstrgettext to list of translation update keywordsShadowNinja2015-02-05
|
* Add SQLite3 libraries to buildbotsfan52015-01-08
|
* Fix buildbot (was broken by 04a1a446cf845a0db80d39fd0e42771aa07e4492)sfan52015-01-06
|