Skip to content
Snippets Groups Projects
  1. Aug 19, 2016
  2. Jul 28, 2016
    • Loïc Blot's avatar
      Increase android versionCode (#4350) · 919d9d79
      Loïc Blot authored
      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
      919d9d79
  3. Jul 03, 2016
    • kwolekr's avatar
      Add MapSettingsManager and new mapgen setting script API functions · 3c63c304
      kwolekr authored
      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.
      3c63c304
  4. Jun 11, 2016
    • est31's avatar
      Fix android build · 817fea63
      est31 authored
      Thanks to @Wayward1 for reporting the bug.
      
      Fixes #4212.
      817fea63
  5. May 26, 2016
    • est31's avatar
      Tell irrlicht if we handle a key or not. · fa6b21a1
      est31 authored
      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
      fa6b21a1
  6. May 16, 2016
  7. May 15, 2016
  8. May 14, 2016
    • est31's avatar
      Fix android build by fixing patch line endings · b25554c8
      est31 authored
      b25554c8
    • MoNTE48's avatar
      Fix locked hardware buttons on Android · b906ed4e
      MoNTE48 authored
      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.
      b906ed4e
  9. May 12, 2016
  10. Apr 28, 2016
    • ShadowNinja's avatar
      Upgrade Android build to Gradle build system · e4167382
      ShadowNinja authored
      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.
      e4167382
  11. Apr 26, 2016
  12. Mar 07, 2016
  13. Mar 05, 2016
    • MoNTE48's avatar
      Update Android dependencies, -O3 optimization, remove old ARMv5 config · 096a01ff
      MoNTE48 authored
      * 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.
      096a01ff
  14. Feb 23, 2016
    • est31's avatar
      Fix android build · f3f4af3f
      est31 authored
      Android had a linker error since commit:
      
      31e0667a "Add Lua interface to HTTPFetchRequest"
      
      Fixes #3766. Thanks to @MoNTE48 for reporting the bug.
      f3f4af3f
  15. Feb 22, 2016
  16. Jan 23, 2016
  17. Jan 14, 2016
  18. Dec 23, 2015
    • sapier's avatar
      9c9b02ca
    • est31's avatar
      Android: Tell make about sub-makes to speed up build · 98d16e0d
      est31 authored
      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%.
      98d16e0d
  19. Dec 20, 2015
  20. Dec 17, 2015
  21. Dec 11, 2015
    • est31's avatar
      Fix android build · 6133b2bc
      est31 authored
      Fix android build since commit
      
      696148e2 "Fix Event implementation"
      
      by @ShadowNinja.
      
      Fixes #3444. Thanks @kwolekr for pointing out the fix.
      6133b2bc
  22. Nov 16, 2015
  23. Nov 11, 2015
  24. Oct 24, 2015
  25. Oct 06, 2015
  26. Sep 08, 2015
  27. Aug 24, 2015
    • ShadowNinja's avatar
      Add setting for mods to copy to Android app · 67d38a30
      ShadowNinja authored
      67d38a30
    • ShadowNinja's avatar
      Fix Android build of threading sources · 32e4f4b3
      ShadowNinja authored
      32e4f4b3
    • ShadowNinja's avatar
      Clean up threading · e4bff8be
      ShadowNinja authored
        * 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.
      e4bff8be
  28. Aug 21, 2015
  29. Aug 20, 2015
  30. Aug 02, 2015
    • est31's avatar
      Android: fix sound issue, and gitignore · 47225346
      est31 authored
      Previously, sound failed due to errors with hardfp abi build
      instructions. As the problem couldn't be found, the softfp
      compatible abi was chosen instead.
      
      This move will cause a small performance overhead, but due to the
      abi being armeabi-v7a, the internal calculations will still be done
      using the FPU.
      
      We also fix some issues with ABI information passing. However, the
      fixes aren't sufficient to get sound working.
      
      The patch also fixes an issue with the gitignore file.
      47225346
  31. Aug 01, 2015
    • est31's avatar
      Android: Add githash header to spare rebuilds after new commits · c39a85a8
      est31 authored
      Before, android_version.h got changed at every new commit. Now, we
      only change it with new minetest releases. Analogous to how cmake
      does it,  we add an android_version_githash.h file that communicates
      the git hash to C++ code.
      
      Also, unify VERS_MAJOR, VERS_MINOR and VERS_PATCH variable
      calculation inside the whole makefile.
      c39a85a8
  32. Jul 31, 2015
    • est31's avatar
      Android: speed up rebuild, and prevent race condition fail · e29b61ec
      est31 authored
      Speeding up rebuild:
      
      Before, we've written the android_version.h file at every rebuild.
      As it thought the file's content has changed, make has rebuilt files
      in the source tree that depended on that header file during rebuild,
      causing lots of files being rebuilt without there being a reason.
      
      The reasoning of make can be observed by passing -d and V=1 params
      to the ndk-build command. You then got logging entries like:
      
      Prerequisite `jni/src/android_version.h' is newer than target `obj/local/armeabi-v7a-hard/objs-debug/minetest/jni/src/areastore.o'.
      
      Preventing race condition build fail:
      
      Before, there was a race condition, where, if the prep_srcdir target
      was executed in parallel with the $(ROOT)/jni/src/android_version.h
      one, it could happen that the jni/src directory was nonexistent, and
      we were trying to write into a file inside. This resulted in a build
      failue:
      
      /bin/sh: 1: cannot create [...]/jni/src/android_version.h: Directory nonexistent
      
      Additionally, we now don't remove the link to src/ needlessly anymore.
      Keeping this wouldn't have affected the rebuild, but this way its
      more proper.
      e29b61ec
    • est31's avatar
      Fix 0.4.11 githash for android · 7217fd32
      est31 authored
      Also make only one >-redirection, sparing repetition.
      Also, use cut instead of awk, which is shorter and should be a bit faster.
      7217fd32
Loading