summaryrefslogtreecommitdiff
path: root/util
AgeCommit message (Collapse)Author
2019-02-26Revert "Revert CSM particles commit to fix particle spawner bug for 5.0.0 ↵Loïc Blot
(#8288)" This reverts commit 01cd63bd3bca0192dab2834faf414b022706a77e.
2019-02-26Revert CSM particles commit to fix particle spawner bug for 5.0.0 (#8288)Paramat
Reverts 5dab7426451842793b183fbd961ad2ae83c8acbd "[CSM] Add functions to create particles and particlespawners."
2019-02-23Attend to LINT sillyness (#8276)Paramat
2019-01-12Fix fake LINT check success (#8092)Jozef Behran
The code 'if [ -z ${something} ]; then ... fi' means "if ${something} is an empty string, yell at the command line about 'binary operator expected' and ignore the body of the if statement, if ${something} is not an empty string, the condition is false so ignore the body of the if statement" which clearly isn't what the author wanted. Fix it by adding a few quotes around the offending ${something}.
2018-12-10Fix dissector script to work with newer versions of Wireshark (#7957)meme
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories
2018-11-26Make non-formspec modal menus respect gui scale (#7850)stujones11
2018-10-16Add release information to appdata file (#7771)Carles Pastor Badosa
2018-07-08Revert 6587 - Optimize entity-entity collision (#7539)lhofhansl
2018-06-14Fix release scriptLoïc Blot
client_lua_api.md -> client_lua_api.txt
2018-06-10Disable clang-tidy when no C/C++ files has been modified.Loic Blot
2018-04-04[clang-tidy] Promote some performance-* as a coding error (#7194)Loïc Blot
* Promote performance-type-promotion-in-math-fn as a coding error * Promote performance-faster-string-find too (which is not problematic currently) * Same for performance-implicit-cast-in-loop * Fix remaining tidy points
2018-04-03Optimize entity-entity collision (#6587)Vitaliy
* Add IrrLicht type aliases * Add hash for IrrLicht vector * Add object map
2018-04-02'fix' LINT, use InventoryLocation==SmallJoker
2018-04-01LINT: add clang-tidy step (#6295)Loïc Blot
* Implement new travis clang-tidy build step * This step enable some rules and enforce one rule as error * This permits to have some C++ quality rules based on clang & clang contributor guidelines * Fix clang-tidy reported problems on push_back -> emplace_back
2018-03-30Client eventmanager refactor (#7179)Loïc Blot
* Drop EventManager from GameDef & do some client cleanups * EventManager is only used by Client. Don't expose it on Server & GameDef for nothing * Drop Client::event() in favor of direct calls to getEventManager * Cleanup some event put from new + put to put(new) * MtEvent: add Type(u8) enum * This will enhance event performance & ensure stricter type * Drop MtEvent::checkIs (unused) * clang-tidy reported fixes * Code style * Move event_manager.h to the client directory as it's only used by client Add EventManager unittests + switch to unordered_map as order is not important here Drop a unused function
2018-03-24Cleanup sound manager class (#7158)Loïc Blot
* Cleanup sound manager client * Use some const refs * Use auto on iterators * Drop unused parameters * Move sound_openal.* to client folder * Move sound.cpp + OnDemandSoundFetcher to client/ folder + reorganize includes properly
2018-01-20[CSM] Add functions to create particles and particlespawners. (#6072)red-001
2018-01-20[CSM] Add basic HUD manipulation. (#6067)red-001
* [CSM] Add basic HUD manipulation. Workaround for on_connect not working right now.
2018-01-12Add a build step to test non freetype builds (#6908)Loïc Blot
* Add a build step to test non freetype builds
2018-01-05Don't recalculate statustext initial color everytime & review fixesLoic Blot
2018-01-05GameUI refactor (part 7/7): Finish to include profiler things to GameUILoic Blot
Other changes: * Add GameUI clarification comment * Move force_fog_off & disable_camera_update flags from GameUI to Game, it's not UI related * Properly init GameUI::Flags * Move toggleChat toggleHud & toggleProfiler to GameUI * Add gameui.cpp to LINT whitelist
2017-12-26Wireshark plugin: Complete all commands. (#6841)sofar
This still leaves plenty of data undecoded, but just having the packet types all covered 100% for 0.4.16 will make looking at traces a lot simpler than seeing half the packets show up as unknown.
2017-12-01Lua_api.txt: Remove MT version, fix spelling and clean upezhh
Removes references to MT version in intro section. Update bump_version.sh to no longer manage version information.
2017-11-08Move files to subdirectories (#6599)Vitaliy
* Move files around
2017-11-06LINT: Add files to whitelist, fix detected indent errorsparamat
2017-10-30Initial Haiku support (#6568)miqlas
* Iitial Haiku support
2017-10-09Travis: Update clang from 4.0 to 5.0 (#6467)Loïc Blot
* Update clang from 4.0 to 5.0
2017-10-09Formspec: textarea with scrollbar improvementsadrido
Increase scrollrate depending on fontsize Scroll on mousewheel Allow scrolling and marking text on non writable textareas Update lua api about readonly mode Show scrollbar if text overflows
2017-09-05Make HUD status messages translatable (#5795)Wuzzy
* Make HUD status messages translatable * Make strings in showStatusTextSimple translatable
2017-08-25Network cleanup (#6310)Loïc Blot
* Move Connection threads to dedicated files + various cleanups * ConnectionReceiveThread::processPacket now uses function pointer table to route MT packet types * Various code style fixes * Code style with clang-format * Various SharedBuffer copy removal * SharedBuffer cannot be copied anymore using Buffer * Fix many SharedBuffer copy (thanks to delete operator)
2017-08-24Fix updatepo.sh and run it.Ekdohibs
It was broken due to the presence of "µ" utf-8 characters in builtin/profiler/reporter.lua.
2017-08-24Add clientside translations.Ekdohibs
2017-08-24Network cleanup (#6302)Loïc Blot
* Cleanup network headers * Move peerhandler to a specific header to reduce compilation times * Move socket.cpp/h to network folder * More work * Network code cleanups * Move socket.{cpp,h} to network folder * Move Address object to network/address.{cpp,h} * Move network exceptions to network/networkexceptions.h * Client: use unique_ptr for Connection * Server/ClientIface: use shared_ptr for Connection * Format fixes * Remove socket.cpp socket.h from clang-format whitelist * Also fix NetworkPacket code style & make it under clang-format
2017-08-20Travis-ci build: fix osx jpeg installation failure, git ambiguous argument ↵Juozas
error (caused by merging commits) and add a workaround for travis commit range bug (#6227) * common.sh: fix travis-ci build bugs install_macosx_deps: check if jpeg is installed, if not - upgrade it. needs_compile: Check if $TRAVIS_COMMIT_RANGE is valid, if not, rewrite the range with the correct one, and fix git ambiguous argument error. * Changed detection method and removed commments
2017-08-20New version scheme (#6292)Loïc Blot
* Version changes: current dev version is now 0.5.0 * This change permit to have multi branches with various versions * Dev version is 0.5.0-dev and next release will be 0.5.0
2017-07-06Mapgen: Add Carpathian mapgen (#6015)Vaughan Lapsley
2017-06-26Isolate irrlicht references and use a singleton (#6041)Loïc Blot
* Add Device3D class which will contain IrrlichtDevice interface move getSupportedVideoDrivers to Device3D Add Device3D singleton & use it in various places Rename Device3D to Rendering engine & add helper functions to various device pointers More singleton work RenderingEngine owns draw_load_screen move draw functions to RenderingEngine Reduce IrrlichtDevice exposure and guienvironment RenderingEngine: Expose get_timer_time() to remove device from guiEngine Make irrlichtdevice & scene manager less exposed * Code style fixes * Move porting::getVideoDriverName, getVideoDriverFriendlyName, getDisplayDensity, getDisplaySize to RenderingEngine Fix XORG_USED macro -> RenderingEngine + create_engine_device from RenderingEngine constructor directly * enum paralax => enum parallax
2017-06-20Merge cguittfont lib in irrlicht change folder. (#6016)Loïc Blot
* Merge cguittfont lib in irrlicht change folder. This remove hack and static lib for FreeType
2017-06-11Remove minetestmapper from this repository (#5901)Loïc Blot
It's now located at https://github.com/minetest/minetestmapper Remove colors.txt and sectors2sqlite too
2017-06-11Improve the path select GUI (#5852)red-001
- Allow lua to chose whatever directories or files can be selected - Fix selecting directories - Rename dialog to `guiPathSelectMenu` from `guiFileSelectMenu` - Rename lua function for opening the menu from `show_file_open_dialog` to `show_path_select_dialog` - Remove duplicate code and fix code style. Related changes - fix `clang-format` whitelist. - Regenerate minetest.conf.example
2017-06-09buildbot: exit 0 at the end of the scriptLoïc Blot
This permits script to return correct state when skipping packaging
2017-06-08Implement GItlab CI daily builds for windows platform (32 & 64) (#5923)Loïc Blot
* Implement win32 & win64 builds in Gitlab CI + pkg improvements * windows buildbot: split build & deploy steps * move deb artifacts to root folder to have a nicer artifact * add windows build + packaging on xenial
2017-06-06Fix bump_version.sh & client_lua_api.mdLoic Blot
This modification was forgotten at release
2017-06-06Revert "Remove deprecated code segments (#5891)"Loïc Blot
This reverts commit 599e13e95e81aadb959c9f3715aec9b425ede084.
2017-06-04Remove deprecated code segments (#5891)Thomas--S
2017-06-04Minetest for C++11 (CMakeLists + Travis)Loic Blot
* Move GCC to GCC 6 & GCC 7 * Move Clang to Clang 3.6 & Clang 4.0 * LINT moves from Clang 3.9 to Clang 4.0 * Move XCode 7.3 to 8.0 * Use more travis tricks to install compilers instead of adding complexity to our build script * Clang format fixes on checked files (compat Cpp11 instead of Cpp03) * Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial) * Drop mingw cmake generated files and add them to gitignore
2017-05-22LINT fix & check all files with clang-formatLoic Blot
Seems the diff mode doesn't work well, PR are detected as working whereas in master it's shown it's problematic (and really problematic). Use same check everywhere
2017-05-13Move KeyList & InputHandler from game.h to client/inputhandler.h (#5752)Loïc Blot
* Move KeyList & InputHandler from game.h to client/inputhandler.h We have a header for inputs, move inputhandler class & related keylist object to it Also introduce a cpp file for MyEventReceiver::OnEvent function in inputhandler.h because a so huge function doesn't needs to be inlined * Pass clang-format on inputhandler.{cpp,h} (compatible)
2017-05-06Clean up numeric.h and split FacePositionCache from itShadowNinja
I also optiized FacePositionCache a bit: I removed a map lookup and vector copy from both branches of getFacePosition.