{"push_id":539309842,"size":151,"distinct_size":2,"ref":"refs/heads/next/aosp/master","head":"4ac90dfaf126f43493e8b53059b736581f48f366","before":"9a15c8eff152adb86a8991d1f29f6198089508b5","commits":[{"sha":"a7bd28ccd850489578ee63798f63370516e739d0","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Merge 'aosp/master' into 'aosp/idea133'","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/a7bd28ccd850489578ee63798f63370516e739d0"},{"sha":"c4a7fec3f377fa2519dcdb3207dd409cd1232f4a","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Merge \"Merge 'aosp/master' into 'aosp/idea133'\" into idea133","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/c4a7fec3f377fa2519dcdb3207dd409cd1232f4a"},{"sha":"8be0af88999fd0c96e70b7872ce7a9af03905c0a","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@android.com","name":"David 'Digit' Turner"},"message":"Build both 32-bit and 64-bit binaries in standalone build.\n\nThis only works for Linux and OS X builds for now, until\nWindows 64-bit compilation is fixed.\n\n+ Remove --arch=<name> and --try-64 flags to android-configure.sh\n  and android-rebuild.sh, since they're not needed anymore.\n\n+ Remove the build of obsolete 'emulator-ui' and 'qemu-android-xxx'\n  programs. We don't need them for now, and it's likely things will\n  change a lot once we want to work on remote display / UI.\n\nhttp://b.android.com/64805\n\nChange-Id: I70be38d53650648f74323eb33284661a8bb77c88","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/8be0af88999fd0c96e70b7872ce7a9af03905c0a"},{"sha":"11c19d1db40528e0e39246007c8419fb554597d1","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@android.com","name":"David 'Digit' Turner"},"message":"Merge \"Build both 32-bit and 64-bit binaries in standalone build.\" into idea133","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/11c19d1db40528e0e39246007c8419fb554597d1"},{"sha":"3237fe08f1504d817a02747d2eba8e28e1d3400b","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Fix ADB bridge port number being sent to ADB.\n\nWhen the emulator starts up, it tries to connect to the ADB server on the\nhost and send it the port number of the ADB bridge that was setup. That\nallows ADB to know that a new emulator instance started, and communicate\nwith it.\n\nThis patch fixes two bugs:\n\n- The previous code could only deal with port numbers of exactly 4 digits,\n  which is ok when using the '-port <port>' option, which only supports\n  values between 5554 and 5584, at the moment, but fails when using\n  '-ports <console>,<adb>', where the values of <console> and <adb> can\n  be larger than 10000.\n\n- Second, even when using 'ports <console>,<adb>', it always reported\n  '<console> + 1' as the ADB bridge port, which is generally incorrect.\n\nSee https://code.google.com/p/android/issues/detail?id=60024\n\nChange-Id: I3ffc641967f56ee20f01aa0e36af605e17f81722","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/3237fe08f1504d817a02747d2eba8e28e1d3400b"},{"sha":"c491b52a8b60aaf537654ab1ffcea796328bf03a","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Introduce GoogleTest-based unit tests.\n\nThis patch introduce the first GoogleTest-based unit test for the emulator\nsources. The goal here is to be able to easily automate the testing of the\nAndroid-specific code in the emulator (i.e. really what's under android/),\nsince making the same for QEMU is essentially impossible.\n\n+ Introduce 'emulator-libgtest' and 'emulator64-libgtest' host static\n  libraries, built from the sources from extern/gtest. The reason the\n  Android.mk module definitions in this directory are not used are\n  mainly because we need to build both the 32-bit and 64-bit libraries\n  at the same time, which the platform build doesn't support easily.\n\n  Also, this will be reused later for the GPU emulation libraries\n  when built with the standalone build.\n\n+ Only a single test is added here, more as a proof-of-concept.\n  To run the test suite, invoke the 'emulator_unittests' or\n  'emulator64_unittests' program(s).\n\n+ Note that unit-tests are written in C++, adding more tests might\n  require fixing our headers to be included in this language.\n\nBUG=NONE\n\nChange-Id: If518ba30e38f202a4214ffd258fa5a07d6e48868","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/c491b52a8b60aaf537654ab1ffcea796328bf03a"},{"sha":"eb167ccf4b6b5df7fae699c483e26f83dff63458","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Merge \"Fix ADB bridge port number being sent to ADB.\" into idea133","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/eb167ccf4b6b5df7fae699c483e26f83dff63458"},{"sha":"76256c273e124a7973a6d3bc406b6631b1ca773a","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Merge \"Introduce GoogleTest-based unit tests.\" into idea133","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/76256c273e124a7973a6d3bc406b6631b1ca773a"},{"sha":"a13a4d45ccdaf02d033bb9d8ea82d7b35a8a5834","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Fix Windows unittests build.\n\nTurns out that emulator_common depended on a symbol (android_verbose)\nthat was declared outside of the module, for no good reason. This\nbroke the Windows build of emulator_unittests, so fix the glitch\nby moving the symbol declaration to the appropriate location.\n\nChange-Id: I325e79435c0c2cfcfa9850689bd6d0b09c40eac1","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/a13a4d45ccdaf02d033bb9d8ea82d7b35a8a5834"},{"sha":"be7c3c544ba429acf6b98a98fc9e79a85d0de761","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Fix OSX standalone build to use the right XCode SDK.\n\nXCode changes the location of the SDKs, so use the same logic\nas the platform build to detect it and select the \"older\" SDK\nfound on the machine.\n\n + Add missing configuration headers for the standalone\n   Darwin 64-bits build.\n\nChange-Id: I27a0f533732123044d0598a17301985c24256c68","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/be7c3c544ba429acf6b98a98fc9e79a85d0de761"},{"sha":"118b05c709b9472971e3dabb61643507e75b2740","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Merge \"Fix Windows unittests build.\" into idea133","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/118b05c709b9472971e3dabb61643507e75b2740"},{"sha":"60d0a1536e4e75cee039c09da65a2e994be2e106","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Fix Windows command-line quoting.\n\nWhen the 'emulator.exe' program invokes the real emulation program\n(e.g. 'emulator-arm.exe' or 'emulator-x86.exe'), it passes its own\ncommand-line arguments through execv().\n\nUnfortunately, on Windows this doesn't work, as the command-line\narguments must be quoted in a special way. This is describ\nis described in detail in the MSDN blog post named\n\"Everyone quotes command line arguments the wrong way\" [1]\n\nThe code under android/main-emulator.c had several problems:\n\n- It only quoted the first parameter (the program name), but\n  not any other one.\n\n- The quoting was too naive to work in the general case.\n\nThis patch adds a utility function named win32_cmdline_quote()\nto perform correct quoting, and changes android/main-emulator.c\nto use it.\n\nFix for http://b.android.com/18317\n\n[1] http://blogs.msdn.com/b/twistylittlepassagesallalike/archive/2011/04/23/everyone-quotes-arguments-the-wrong-way.aspx\n\nChange-Id: I7cfd6ddd10706c7aeb6c7df56e20398277d78409","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/60d0a1536e4e75cee039c09da65a2e994be2e106"},{"sha":"c70f07a32d3980072edccf2632bcbbd08051f5f2","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Merge \"Fix Windows command-line quoting.\" into idea133","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/c70f07a32d3980072edccf2632bcbbd08051f5f2"},{"sha":"f14f75e43b3eb4bc42dd45efa71d149c48ccb136","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Merge \"Fix OSX standalone build to use the right XCode SDK.\" into idea133","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/f14f75e43b3eb4bc42dd45efa71d149c48ccb136"},{"sha":"9b656ff8919f061d3e44453a27ad5a1f817c19ef","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Fix battery emulation.\n\nWhen the AVD config.ini contained 'hw.battery=no', the emulator failed to\nemulate a battery device. This had two effects:\n\n- Displaying a red battery icon in the notification area in the emulated\n  system.\n\n- Crashing the emulator when any 'power' command was typed in the console.\n\nThis patches fixes both issues. When hw.battery is set to 'no', the emulator\nnow indicates to the system that the device is connected to AC, and that the\nbattery is not present / dead.\n\nRelated bug http://b.android/com/65308\n\nChange-Id: I84156a7d4582639569aad98e5a5e90e58087d93a","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/9b656ff8919f061d3e44453a27ad5a1f817c19ef"},{"sha":"a958ab91edda9d0514cf3f6fd58866683fd52e7d","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Merge \"Fix battery emulation.\" into idea133","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/a958ab91edda9d0514cf3f6fd58866683fd52e7d"},{"sha":"0cfc1fdd0eb6476613be6ca811acf3dac65f2328","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Fix crash when -snapshot-list is used on 64-bit systems.\n\nThe implementation of the -snapshot-list option casted a uint32_t* to time_t*.\nOn 64-bit systems, time_t is 64-bit so any load from the same address used to\ncollect random bits in the higher half of the value.\n\nThis resulted, in localtime() returning NULL, because the read value was too\nhigh in certain cases, and thus a crash.\n\nThis patch fixes the issue and makes snapshot_format_create_date() more resilient\nto invalid time_t values read from the snapshot (which could happen with a\ncorrupted snapshot file).\n\nhttp://b.android.com/34233 (though this bug also describes other crashes).\n\nChange-Id: I194ff961bbbeef4dc9e77dae72fae3e8f8536f33","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/0cfc1fdd0eb6476613be6ca811acf3dac65f2328"},{"sha":"46e0039307d76cc8ae5161b856c86ea1c0a47b1f","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Merge \"Fix crash when -snapshot-list is used on 64-bit systems.\" into idea133","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/46e0039307d76cc8ae5161b856c86ea1c0a47b1f"},{"sha":"2cd785f99b9e1f6e96398000c129e8faf55fba40","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"build-kernel.sh: Update to support x86_64 kernels.\n\nThis updates the emulator kernel rebuild script in several ways:\n\n- Support for --arch=x86_64 (need android-goldfish-3.10).\n- Support for --gcc-version=<version>.\n- Switch to GCC 4.7 by default, except for 2.6.29/x86 which doesn't build.\n- Support for linux-3.10 x86 builds (config is i386_emu instead of goldfish).\n- New naming: kernel-<version>-qemu-<arch> where <version> is the kernel\n  version, and <arch> is one of 'armv5, armv7, x86, x86_64 or mips'.\n\n  Note that putting the version number in the file name is important to\n  let the emulator adapt its kernel command-line to changes that appeared\n  recently (e.g. /dev/ttyS* -> /dev/ttyGF*).\n\nI also checked that new kernels work in the following combinations:\n\n  android-goldfish-2.6.29   [arm, x86, mips]\n  android-goldfish-3.4      [arm, x86]\n\nI could also build (but not run them yet):\n  android-goldfish-3.10     [x86, x86_64]\n\nChange-Id: Ic66ca7a646f9cc3eb715a3c96ce3076cc17b6221","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/2cd785f99b9e1f6e96398000c129e8faf55fba40"},{"sha":"08dcdfc25664ea7fe9b0796ba32e245189e093d6","author":{"email":"dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","name":"David 'Digit' Turner"},"message":"Merge \"build-kernel.sh: Update to support x86_64 kernels.\" into idea133","distinct":false,"url":"https://api.github.com/repos/vicamo/b2g_platform_external_qemu/commits/08dcdfc25664ea7fe9b0796ba32e245189e093d6"}]}