aboutsummaryrefslogtreecommitdiff
path: root/build/android
Commit message (Expand)AuthorAge
...
* Fix Android build on 32 bitest312015-03-23
* Remove Android makefile ugly make -j hackLoic Blot2015-03-17
* Bump android version codeLoic Blot2015-03-16
* Rename packethandler/{client,server}.cpp to {client,server}packethandler.cppLoic Blot2015-03-16
* Android Makefile update backported from stable-0.4 with minor changesLoic Blot2015-03-15
* Android: Backport changes from stable-0.4Loic Blot2015-03-14
* Android: fix package name in JAVA sourcesLoic Blot2015-03-14
* Fix package name in AndroidManifest.xmlLoic Blot2015-03-14
* AndroidManifest.xml version bumpLoic Blot2015-03-14
* Update Android MakefileMaksim Gamarnik2015-03-08
* Replace std::list to std::vector into tile.cpp (m_texture_trash) and move til...Loic Blot2015-03-05
* Fix android buildLoic Blot2015-02-21
* Bump version to 0.4.12Perttu Ahola2015-02-18
* Update missing files for Android.mkLoic Blot2015-02-18
* Android build fixLoic Blot2015-02-18
* main.cpp rework * Move ClientLauncher class to a dedicated file * ClientLaunc...Loic Blot2015-02-12
* Fix Android build since a704c04f00bfea4b77550169fa08105c2ee0dfd0Oxh. ok @zeno-Loic Blot2015-02-11
* Android, build: Update curl to 7.40.00sapier2015-01-15
* Fix Android crash on keyboard connection change.Kodexky2015-01-13
* Increase stepheight on android by 0.5 to smoothen movementsapier2015-01-11
* Fix armv7 using arm arch while arm uses armv7sapier2015-01-08
* Switch android build to external sqlite3sapier2015-01-07
* Fixes for androidsapier2015-01-06
* Fix broken android version due to new openssl not linking correct to curlsapier2015-01-05
* Switch to official openssl version and update to 1.0.1jsapier2015-01-04
* Speedup initial android startup on some devices by factor 10 or moresapier2015-01-02
* Bump version to 0.4.11kwolekr2014-12-24
* Add fontengine.cpp to Android.mkKahrl2014-12-01
* Fixes for Android build errors. Enable sensor landscape rotation.KodexKy2014-11-25
* Implement WieldMeshSceneNode which improves wield mesh renderingKahrl2014-11-08
* Split up mapgen.cppkwolekr2014-11-01
* Split settings into seperate source and header filesShadowNinja2014-09-21
* Makefile support for build without leveldbsapier2014-08-16
* Fix error handling on inconsistent client ready messagesapier2014-07-16
* Fix android build after removal of indev and math mapgensapier2014-07-16
* Update version numbers for 0.4.10sapier2014-07-06
* Switch android to leveldb as sqlite3 is broken and fails to save any mapblock...sapier2014-07-06
* Add support for Android 2.3+sapier2014-06-29
class="hl opt">(-5, -2, 5), v3s16(0, 28, 6)); Area c(v3s16(-7, -3, 6), v3s16(-1, 27, 7)); std::vector<Area *> res; UASSERTEQ(size_t, store->size(), 0); store->reserve(2); // sic store->insertArea(&a); store->insertArea(&b); store->insertArea(&c); UASSERTEQ(size_t, store->size(), 3); store->getAreasForPos(&res, v3s16(-1, 0, 6)); UASSERTEQ(size_t, res.size(), 3); res.clear(); store->getAreasForPos(&res, v3s16(0, 0, 7)); UASSERTEQ(size_t, res.size(), 1); res.clear(); store->removeArea(a.id); store->getAreasForPos(&res, v3s16(0, 0, 7)); UASSERTEQ(size_t, res.size(), 0); res.clear(); store->insertArea(&a); store->getAreasForPos(&res, v3s16(0, 0, 7)); UASSERTEQ(size_t, res.size(), 1); res.clear(); store->getAreasInArea(&res, v3s16(-10, -3, 5), v3s16(0, 29, 7), false); UASSERTEQ(size_t, res.size(), 3); res.clear(); store->getAreasInArea(&res, v3s16(-100, 0, 6), v3s16(200, 0, 6), false); UASSERTEQ(size_t, res.size(), 0); res.clear(); store->getAreasInArea(&res, v3s16(-100, 0, 6), v3s16(200, 0, 6), true); UASSERTEQ(size_t, res.size(), 3); res.clear(); store->removeArea(a.id); store->removeArea(b.id); store->removeArea(c.id); Area d(v3s16(-100, -300, -200), v3s16(-50, -200, -100)); d.data = "Hi!"; store->insertArea(&d); store->getAreasForPos(&res, v3s16(-75, -250, -150)); UASSERTEQ(size_t, res.size(), 1); UASSERTEQ(u16, res[0]->data.size(), 3); UASSERT(strncmp(res[0]->data.c_str(), "Hi!", 3) == 0); res.clear(); store->removeArea(d.id); } void TestAreaStore::testSerialization() { VectorAreaStore store; Area a(v3s16(-1, 0, 1), v3s16(0, 1, 2)); a.data = "Area A"; store.insertArea(&a); Area b(v3s16(123, 456, 789), v3s16(32000, 100, 10)); b.data = "Area B"; store.insertArea(&b); std::ostringstream os; store.serialize(os); std::string str = os.str(); std::string str_wanted("\x00" // Version "\x00\x02" // Count "\xFF\xFF\x00\x00\x00\x01" // Area A min edge "\x00\x00\x00\x01\x00\x02" // Area A max edge "\x00\x06" // Area A data length "Area A" // Area A data "\x00\x7B\x00\x64\x00\x0A" // Area B min edge (last two swapped with max edge for sorting) "\x7D\x00\x01\xC8\x03\x15" // Area B max edge (^) "\x00\x06" // Area B data length "Area B", // Area B data 1 + 2 + 6 + 6 + 2 + 6 + 6 + 6 + 2 + 6); UASSERTEQ(std::string, str, str_wanted); std::istringstream is(str); store.deserialize(is); UASSERTEQ(size_t, store.size(), 4); // deserialize() doesn't clear the store }