Commit Graph

1258 Commits

Author SHA1 Message Date
Elliott Hughes a16bb6d9e4 am a90ba39b: am 51697d27: Merge "Switch minadb over to C++."
* commit 'a90ba39beb8762f5a1f21b03f2734acda4fb03b1':
  Switch minadb over to C++.
2015-04-10 21:58:43 +00:00
Elliott Hughes a90ba39beb am 51697d27: Merge "Switch minadb over to C++."
* commit '51697d2781501c30d8db6d2a8e6c2becebcffad8':
  Switch minadb over to C++.
2015-04-10 21:41:15 +00:00
Elliott Hughes 448c4ad353 am 53b8ca4b: am 23017c5d: Merge "Switch minui over to C++."
* commit '53b8ca4b7215389488862010751b956729e92733':
  Switch minui over to C++.
2015-04-10 21:32:02 +00:00
Elliott Hughes 51697d2781 Merge "Switch minadb over to C++." 2015-04-10 21:28:46 +00:00
Elliott Hughes 87835abd97 am 9b0ebf99: am 5d1630a9: Merge "Fix ScreenRecoveryUI to handle devices without power/up/down."
* commit '9b0ebf992e01960db42ab7debf02bb25b372c734':
  Fix ScreenRecoveryUI to handle devices without power/up/down.
2015-04-10 21:05:52 +00:00
Elliott Hughes 53b8ca4b72 am 23017c5d: Merge "Switch minui over to C++."
* commit '23017c5d5c145a1040ee49466d30489d6e11bb61':
  Switch minui over to C++.
2015-04-10 21:03:53 +00:00
Elliott Hughes 20531ef605 Switch minadb over to C++.
Change-Id: I5afaf70caa590525627c676c88b445d3162de33e
2015-04-10 13:59:19 -07:00
Elliott Hughes 23017c5d5c Merge "Switch minui over to C++." 2015-04-10 20:57:37 +00:00
Elliott Hughes 07cfb8fe79 Switch minui over to C++.
Change-Id: I59e08a304ae514a3fdb6fab58721f11670bc1b01
2015-04-10 13:42:55 -07:00
Elliott Hughes 9b0ebf992e am 5d1630a9: Merge "Fix ScreenRecoveryUI to handle devices without power/up/down."
* commit '5d1630a926a02ca13a66eb1e385eabba16b04cfc':
  Fix ScreenRecoveryUI to handle devices without power/up/down.
2015-04-10 20:32:34 +00:00
Elliott Hughes 5d1630a926 Merge "Fix ScreenRecoveryUI to handle devices without power/up/down." 2015-04-10 20:26:53 +00:00
Elliott Hughes 642aaa7a3e Fix ScreenRecoveryUI to handle devices without power/up/down.
Currently fugu has a custom subclass to handle this. The default code
supports devices with trackballs but not all shipping Nexus devices?
That's just silly.

Change-Id: Id2779c91284899a26b4bb1af41e7033aa889df10
2015-04-10 12:47:46 -07:00
Elliott Hughes 2d71dcdc2a am c22f5774: am 6b0dd1d7: Merge "Move "Mount /system" to the main menu."
* commit 'c22f5774d04bed56c7c00874b5a0a0ec37f605aa':
  Move "Mount /system" to the main menu.
2015-04-10 17:53:22 +00:00
Elliott Hughes 71bc735547 am 10dacbce: am 18eaa0cf: Merge "Add ev_iterate_available_keys to minui."
* commit '10dacbce5ce330310ab630aa9199db620b171e76':
  Add ev_iterate_available_keys to minui.
2015-04-10 17:32:32 +00:00
Elliott Hughes c22f5774d0 am 6b0dd1d7: Merge "Move "Mount /system" to the main menu."
* commit '6b0dd1d7e1e1f3645230f880db95cad1279a826b':
  Move "Mount /system" to the main menu.
2015-04-10 17:28:24 +00:00
Elliott Hughes 6b0dd1d7e1 Merge "Move "Mount /system" to the main menu." 2015-04-10 17:20:04 +00:00
Elliott Hughes 10dacbce5c am 18eaa0cf: Merge "Add ev_iterate_available_keys to minui."
* commit '18eaa0cfe7aa775546369de829a1ff3049cf82a5':
  Add ev_iterate_available_keys to minui.
2015-04-10 17:07:29 +00:00
Elliott Hughes ec28340cf3 Move "Mount /system" to the main menu.
Everyone's adding secret key combinations for this anyway, and it's
very useful when debugging.

Change-Id: Iad549452b872a7af963dd649f283ebcd3ea24234
2015-04-10 10:01:53 -07:00
Elliott Hughes 18eaa0cfe7 Merge "Add ev_iterate_available_keys to minui." 2015-04-10 16:58:48 +00:00
Elliott Hughes 2ac4d2fdc4 am 5f3dee94: am f471861e: Merge "Move the recovery image version out of the menu header."
* commit '5f3dee94480bff0b16dcbb58cc675785bf52ba75':
  Move the recovery image version out of the menu header.
2015-04-10 16:58:19 +00:00
Elliott Hughes 0713819fd2 Add ev_iterate_available_keys to minui.
This lets us recognize whether we have up/down/power, say, and tailor
the UI accordingly.

Change-Id: If94e454f14243b59d2f473ac9a436bd60591da01
2015-04-10 09:40:53 -07:00
Elliott Hughes 5f3dee9448 am f471861e: Merge "Move the recovery image version out of the menu header."
* commit 'f471861e832e4be3a07359dfb72c1812de64b7ac':
  Move the recovery image version out of the menu header.
2015-04-10 16:30:36 +00:00
Elliott Hughes f471861e83 Merge "Move the recovery image version out of the menu header." 2015-04-10 16:25:32 +00:00
Elliott Hughes a9dfd59c83 am 7b66aaeb: am e001074f: Merge "Move default implementations into Device."
* commit '7b66aaebefb64e75597b33dbfac90072a8e32e9b':
  Move default implementations into Device.
2015-04-10 04:32:56 +00:00
Elliott Hughes bb78d6286d Move the recovery image version out of the menu header.
Rather than add code to wrap menu items, let's just put output the
recovery version to the log. It'll be visible at the bottom of the
screen and automatically wrap.

Change-Id: I158fe2d85bc56b195e00619fba455321743923bd
2015-04-09 20:51:08 -07:00
Elliott Hughes 7b66aaebef am e001074f: Merge "Move default implementations into Device."
* commit 'e001074f227fb74f6ebf5b26c222d09fe69712c0':
  Move default implementations into Device.
2015-04-09 22:59:07 +00:00
Elliott Hughes e001074f22 Merge "Move default implementations into Device." 2015-04-09 22:53:36 +00:00
Elliott Hughes 061fe46c09 am 0c23c97c: am 06522ef5: Merge "Remove some commented-out code."
* commit '0c23c97c78211bc98c3dadd7f613e764e183a0ea':
  Remove some commented-out code.
2015-04-09 21:31:50 +00:00
Elliott Hughes 0c23c97c78 am 06522ef5: Merge "Remove some commented-out code."
* commit '06522ef517196062299852d59593eba0ea2be3c0':
  Remove some commented-out code.
2015-04-09 21:10:39 +00:00
Elliott Hughes 06522ef517 Merge "Remove some commented-out code." 2015-04-09 21:02:22 +00:00
Elliott Hughes 9e7ae8a626 Move default implementations into Device.
The current abstract class was a nice idea but has led to a lot of
copy & paste in practice. Right now, no one we know of has any extra
menu items, so let's make the default menu available to everyone.

(If we assume that someone somewhere really does need custom
device-specific menu options, a better API would let them add to
our menu rather than replacing it.)

Change-Id: I59f6a92f3ecd830c2ce78ce9da19eaaf472c5dfa
2015-04-09 13:40:31 -07:00
Elliott Hughes 9e225cb803 am 382ec478: am 52222a58: Merge "Move file paging into ScreenRecoveryUI."
* commit '382ec478d1ed1576d25d51205a1c67b190174172':
  Move file paging into ScreenRecoveryUI.
2015-04-09 19:06:25 +00:00
Elliott Hughes 42c12306c9 Remove some commented-out code.
Change-Id: Ifb466ee2a89da88832c04086fa43da2b8409c232
2015-04-09 11:50:56 -07:00
Elliott Hughes 382ec478d1 am 52222a58: Merge "Move file paging into ScreenRecoveryUI."
* commit '52222a58417e7e6349e91e19e4f5e293a3a971c5':
  Move file paging into ScreenRecoveryUI.
2015-04-09 18:31:53 +00:00
Elliott Hughes 52222a5841 Merge "Move file paging into ScreenRecoveryUI." 2015-04-09 18:24:45 +00:00
Elliott Hughes 8de52078a4 Move file paging into ScreenRecoveryUI.
This fixes the N9 performance problem.

Change-Id: I00c10d4162ff266a6243285e5a5e768217f6f799
2015-04-08 20:06:50 -07:00
Elliott Hughes 4c035efb55 am 36640972: am fbde407e: Merge "Enable printf format argument checking."
* commit '36640972b04c0b91207583e35f78acded4a28190':
  Enable printf format argument checking.
2015-04-09 01:03:29 +00:00
Elliott Hughes bab7b2111b am 0d4f2b6d: am 900c9a61: Merge "Remove the fixed screen size assumptions."
* commit '0d4f2b6d9ad1c5980f3ece965c4c4a49726c29f4':
  Remove the fixed screen size assumptions.
2015-04-09 01:03:29 +00:00
Elliott Hughes 9e0d0c7c91 am 72ba6264: am 64346eae: Merge "Remove a couple of unused inlines from minzip/Zip.h."
* commit '72ba6264468573c21cc6bade65172be549f5b034':
  Remove a couple of unused inlines from minzip/Zip.h.
2015-04-09 01:03:27 +00:00
Elliott Hughes 36640972b0 am fbde407e: Merge "Enable printf format argument checking."
* commit 'fbde407e4c72965aae4ea6dff7493e30af307ca5':
  Enable printf format argument checking.
2015-04-09 00:31:27 +00:00
Elliott Hughes 0d4f2b6d9a am 900c9a61: Merge "Remove the fixed screen size assumptions."
* commit '900c9a61dee1511c9f4086ea5a3a3632b944cc0e':
  Remove the fixed screen size assumptions.
2015-04-09 00:31:26 +00:00
Elliott Hughes fbde407e4c Merge "Enable printf format argument checking." 2015-04-09 00:22:36 +00:00
Elliott Hughes 018ed31c51 Enable printf format argument checking.
The original attempt missed the fact that Print is a member function,
so the first argument is the implicit 'this'.

Change-Id: I963b668c5432804c767f0a2e3ef7dea5978a1218
2015-04-08 16:56:17 -07:00
Elliott Hughes 72ba626446 am 64346eae: Merge "Remove a couple of unused inlines from minzip/Zip.h."
* commit '64346eae51861356f8bf0f50e68dfeb9e1d04052':
  Remove a couple of unused inlines from minzip/Zip.h.
2015-04-08 23:27:07 +00:00
Elliott Hughes 900c9a61de Merge "Remove the fixed screen size assumptions." 2015-04-08 23:18:04 +00:00
Elliott Hughes aa0d6afb61 Remove the fixed screen size assumptions.
Dynamically allocate the text and menu arrays instead.

Change-Id: Idbfc3fe4e4b50db4fee62ac2b6a7323cad369749
2015-04-08 16:16:52 -07:00
Elliott Hughes 64346eae51 Merge "Remove a couple of unused inlines from minzip/Zip.h." 2015-04-08 22:18:14 +00:00
Elliott Hughes 9ad9d66f81 Remove a couple of unused inlines from minzip/Zip.h.
Change-Id: I805883e3863673416898bdef39c5703ca33f18e0
2015-04-08 12:08:32 -07:00
Tao Bao 264d26a2d8 am 0a7c1694: am ca7bf531: Merge "Rotate logs only when there are actual operations"
* commit '0a7c16948b9750c0c063676cefce1f1354f9c971':
  Rotate logs only when there are actual operations
2015-04-08 17:12:02 +00:00
Tao Bao 0a7c16948b am ca7bf531: Merge "Rotate logs only when there are actual operations"
* commit 'ca7bf53189c70ef0f687d54d772e5eaadc0b1c7c':
  Rotate logs only when there are actual operations
2015-04-08 16:45:17 +00:00