summaryrefslogtreecommitdiff
path: root/build/android
Commit message (Collapse)AuthorAge
* Android: update build tools version + versionCode bump for releaseLoic Blot2017-06-03
|
* Android dependencies updates (#5755)Loïc Blot2017-05-13
| | | | | | * irrlicht ogles 5122 -> 5145 * openssl 1.0.2j -> 1.0.2k * curl 7.52 -> 7.54 * sqlite 3.15.2 -> 3.18.0
* Move KeyList & InputHandler from game.h to client/inputhandler.h (#5752)Loïc Blot2017-05-13
| | | | | | | | | | * 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)
* Clean up numeric.h and split FacePositionCache from itShadowNinja2017-05-06
| | | | | I also optiized FacePositionCache a bit: I removed a map lookup and vector copy from both branches of getFacePosition.
* [CSM] Add camera API (#5609)bigfoot5472017-05-05
| | | | | | | * [CSM] Add camera API roper rebase & squash * Address nerzhul's review
* Fix Android build since 2818d3f2244d2146a5cdb61cd41f6561c514f97cLoic Blot2017-04-26
|
* Player data to Database (#5475)Loïc Blot2017-04-23
| | | | | | | | | | | | * Player data to Database Add player data into databases (SQLite3 & PG only) PostgreSQL & SQLite: better POO Design for databases Add --migrate-players argument to server + deprecation warning * Remove players directory if empty
* MeshUpdateQueue: Add a MapBlock cache that minimizes the amount of MapBlock ↵Perttu Ahola2017-04-17
| | | | | | | | | | | | | | | | | | | | | copying done in the main thread Cache size is configurable by the meshgen_block_cache_size (default 20 MB). New profiler stats: - MeshUpdateQueue MapBlock cache hit % - MeshUpdateQueue MapBlock cache size kB Removes one type of stutter that was seen on the client when received MapBlocks were being handled. (the "MeshMakeData::fill" stutter) Kind of related to at least #5239 Originally preceded by these commits, now includes them: - Move the mesh generator thread into src/mesh_generator_thread.{cpp,h} - mesh_generator_thread.cpp: Update code style - MeshUpdateThread: Modify interface to house a different implementation: Actual functionality will be changed by next commits. - MeshMakeData: Add fillBlockData() interface (so that caller can fill in stuff from eg. a MapBlock cache)
* Disable android leveldb by default (#5596)Nathanaël Courant2017-04-16
| | | | 1) Now leveldb is brick (thanks google) 2) By default, use SQLite3, this work perfectly and NOBODY not use LevelDB on Android :)
* Fix android buildLoic Blot2017-04-14
|
* 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
* Add missing source to android build (#5496)Uwe Koloska2017-04-01
|
* Fix undefined references (#5400)Wayward One2017-03-15
|
* Fix android buildLoic Blot2017-02-08
| | | | This fixes #5190
* Add ItemStack key-value meta storagerubenwardy2017-02-04
|
* Derive NodeMetaRef from MetaDataRefrubenwardy2017-02-04
|
* Derive NodeMetadata from Metadatarubenwardy2017-02-04
|
* Environment & IGameDef code refactoring (#4985)Ner'zhul2017-01-09
| | | | | | | | | | | | | | | | | | | | | * Environment code refactoring * Cleanup includes & class declarations in client & server environment to improve build speed * ServerEnvironment::m_gamedef is now a pointer to Server instead of IGameDef, permitting to cleanup many casts. * Cleanup IGameDef * Move ITextureSource* IGameDef::getTextureSource() to Client only. * Also move ITextureSource *IGameDef::tsrc() helper * drop getShaderSource, getSceneManager, getSoundManager & getCamera abstract call * drop unused emerge() call * cleanup server unused functions (mentionned before) * Drop one unused parameter from ContentFeatures::updateTextures * move checkLocalPrivilege to Client * Remove some unnecessary casts * create_formspec_menu: remove IWritableTextureSource pointer, as client already knows it * Fix some comments * Change required IGameDef to Server/Client pointers * Previous change that game.cpp sometimes calls functions with Client + InventoryManager + IGameDef in same functions but it's the same objects * Remove duplicate Client pointer in GUIFormSpecMenu::GUIFormSpecMenu * drop ClientMap::sectorWasDrawn which is unused
* Add raycast.cpp and tileanimation.cpp to Android.mkWayward12017-01-05
|
* Add gradle wrapper (#4954)Ner'zhul2016-12-24
| | | Gradle wrapper permit to use multiple gradle versions across OS versions
* Update Android build tools to latest version (#4872)rubenwardy2016-12-24
|
* Bump version to 0.4.15sfan52016-12-22
|
* Android: Workarounds for Googles completely broken NDKsfan52016-12-22
|
* Android: update curl and libgmpest312016-12-21
|
* Fix sqlite databases being read-only on 64bit Android by patching sqlite (#4871)rubenwardy2016-12-09
| | | Fixes #4121
* Android: fix build and update depsest312016-12-07
|
* Add missing remoteplayer.cpp to Android buildNer'zhul2016-10-28
| | | this should fix #4683
* Fix for failure to find jsoncpp in android build (#4456)Rogier-52016-08-19
| | | Commit 4503b5 did not update the android build script.
* Increase android versionCode (#4350)Ner'zhul2016-07-28
| | | | 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
* Add MapSettingsManager and new mapgen setting script API functionskwolekr2016-07-03
| | | | | | | | | | | | | | | This commit refactors the majority of the Mapgen settings system. - MapgenParams is now owned by MapSettingsManager, itself a part of ServerMap, instead of the EmergeManager. - New Script API functions added: core.get_mapgen_setting core.get_mapgen_setting_noiseparams, core.set_mapgen_setting, and core.set_mapgen_setting_noiseparams. - minetest.get/set_mapgen_params are deprecated by the above new functions. - It is now possible to view and modify any arbitrary mapgen setting from a mod, rather than the base MapgenParams structure. - MapgenSpecificParams has been removed.
* Fix android buildest312016-06-11
| | | | | | Thanks to @Wayward1 for reporting the bug. Fixes #4212.
* Tell irrlicht if we handle a key or not.est312016-05-26
| | | | | | | | | We can remove the function in MtNativeActivity now as it serves precisely that purpose: to tell irrlicht that we handled the esc key. TODO for later: * Perhaps try to find a more performant container than KeyList
* Android: enable parallelism for main target tooest312016-05-16
| | | | | | | | | This adds to the changes that commit 98d16e0d9a945f5f48462c05f26ae4bde2db5731 "Android: Tell make about sub-makes to speed up build" did, and enables parallel builds for minetest itself as well.
* Bump version to 0.4.14sfan52016-05-15
|
* Fix android build by fixing patch line endingsest312016-05-14
|
* Fix locked hardware buttons on AndroidMaksim Gamarnik2016-05-14
| | | | | | | | | | | | | | | | | Fixes #2122 Fixes #1454 Addendum (est31) According from its docs in android_native_app_glue.h (from the NDK), the onInputEvent should "Return 1 if you have handled the event, 0 for any default dispatching". Before, we always returned 1, meaning we blocked all hardware keys to be given to the OS. This broke the volume keys and has caused #2122 and #1454. Although it bases on lots of guesswork, it can probably safely be said that CGUIEnvironment::postEventFromUser returns true if the event was handled, and false if not. Therefore, set the status variable depending on what postEventFromUser returned.
* Android: download deps using httpsest312016-05-12
| | | | Its more secure, and some pages even redirect to the https version.
* Android: update openssl to 1.0.2hest312016-05-12
|
* 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.
* Android: Update dependencies, GMP was required as a dependencyMaksim Gamarnik2016-04-26
|
* Move AreaStore to utilShadowNinja2016-03-07
|
* Update Android dependencies, -O3 optimization, remove old ARMv5 configMaksim Gamarnik2016-03-05
| | | | | | | * Update OpenSSL (thanks @sapier, i use his patch!), Curl and SQLite3. * Remove old arm config. Almost all phones that use ARMv5 have 1 core and 256-512 RAM, it's about 2-5 FPS. * Do -O3 optimization for libs and remove -fexpensive-optimizations for Minetest (-O3 includes this! Read gcc docs). * OpenSSL fix - thanks @sapier, again.
* Fix android buildest312016-02-23
| | | | | | | | Android had a linker error since commit: 31e0667a4a53a238d0321194b57b083bd74c0a5b "Add Lua interface to HTTPFetchRequest" Fixes #3766. Thanks to @MoNTE48 for reporting the bug.
* Android: hardcode leveldb revisionest312016-02-22
| | | | | | | | | | | Newest leveldb commit breaks build. With no fix in sight, there is no other way than to fall back to the last working leveldb revision, and hardcode it. Workaround for upstream bug https://github.com/google/leveldb/issues/340
* Fix compilation warning if compiling for android with c++11est312016-01-23
|
* Add Valleys mapgen.Duane Robertson2016-01-14
|
* Android: shorten initial progress bar text way more simpleSapier2015-12-23
|
* Android: Tell make about sub-makes to speed up buildest312015-12-23
| | | | | | | | | | | | | | | | | | | | | Before, sub-makes called by make were called without make knowing they were sub-makes. This however led make's jobserver not do its tasks, and the build process ended up with inefficient parralelisation. This commit fixes this by applying the two ways the make manual tells about: putting + to the start of the line (used when ndk-build is invoked), and exchanging "make" with "$(MAKE)". Before, make complained with messages like: make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. This complaint can now only been seen for openssl. openssl has issues if make gets exchanged with $(MAKE): if exchanged, above error message is multiplied for various subdirs of the openssl source tree. On a 4 core box, "make -j 4" build time from "make clean_all" cleaned source tree could be improved from 15:34 minutes to 10:45 minutes. This means a speedup of 45%.
* Android: Fix extra files being copied to the APKShadowNinja2015-12-20
| | | | | | | dcb91cf0c0c9a20622feeb4e5e8104ffbc9fa8ec hacked around the biggest issue this caused, but wasted a lot of CPU time and disk space It also still included a lot of other unwanted files. This removes all of `doc/` except the license, and also removes the server list.
* Android: Remove unused build target curl_binarySapier2015-12-17
|