803 Commits

Author SHA1 Message Date
Tor Lillqvist
c95393cbf3 Add dummy implementations of the UI layer callbacks now required
Change-Id: I2caaac66758863b0f384df13ab30526f21be1e8d
2013-10-23 10:49:21 +03:00
Tor Lillqvist
9b966d0dc8 fileacc is not a separate component any more
Change-Id: I59eac660accfc362766bc3744655e2ba2d66ddd6
2013-10-19 11:19:06 +03:00
Tor Lillqvist
e13af24d2b fileacc is not a separate component any more
Change-Id: I47f3dd29aba16aa2d8a5e3746c447288d2066b23
2013-10-19 11:03:23 +03:00
Artur Dryomov
7d98cbb5be Add missing license headers to XML source files.
Change-Id: I171bf4101fe3f049f1d032a9a29ef0f8d40a5ee1
2013-10-04 01:26:22 +03:00
Artur Dryomov
3ac54aa0df Add a xxhdpi version of the logo.
Change-Id: Ia9afd7c9100cdb1f84813dd2aff7e37f46eafb6c
2013-10-04 01:26:21 +03:00
Artur Dryomov
790693d8b2 Add missing xxhdpi action bar icon.
Change-Id: I0d01b0e9780e228d8ee60aafd80e70c5990eab4e
2013-10-04 01:26:21 +03:00
Artur Dryomov
99389390b8 Add support for setting vibrate mode while showing a slide show.
Change-Id: I8f407fbce3b90b56a0fb24b1143bcd7f2a243020
2013-10-04 01:26:20 +03:00
Tor Lillqvist
e30a34f7d7 Fix up Android app makefiles
Change-Id: I885c2bf3dd04b18850d983ab34199074bd41c175
2013-10-03 10:13:39 +03:00
Tor Lillqvist
a5730bde11 3rd party libs need to be listed more individually now, sigh
Change-Id: I604f681a43a209cb6951209e01be1bcc26cdc3c9
2013-09-30 14:25:25 +03:00
Artur Dryomov
6faff72236 Add xxhdpi action bar icons and remove an unused search icon.
Change-Id: I7c092f0c5e42ea478946506be49a2ad47a4bb67a
2013-09-30 00:39:25 +03:00
Artur Dryomov
3b0c8081de Add some horizontal space for the computers list.
Change-Id: I4dffdf3477e4c98420ef3dee9990485c70d7a1ec
2013-09-30 00:39:24 +03:00
Artur Dryomov
3b631e4142 Rename some resources, fix action bar tab selectors as well.
Change-Id: I48b4f69bd85b9aa0b034f6a7210311598662c163
2013-09-30 00:39:24 +03:00
Artur Dryomov
041452c69f Change text for keeping screen on preference.
Change-Id: I565889ff328816031f5a73d9817b53bd18e7f153
2013-09-30 00:39:24 +03:00
Artur Dryomov
2d40728421 Change action bar background.
Use 9-patch instead of solid color. The drawable contains a little
bottom border which suits action bar better, especially on Jelly Bean
MR3 where there are no shadow below the action bar.

Change-Id: I2fd34109aae82b52326cf1315c4080e72bdb2530
2013-09-30 00:39:23 +03:00
Michael Stahl
f2899508b3 gbuild: remove executables from OUTDIR and WORKDIR
Call and link executables directly in INSTDIR.

- gb_Library_get_target is now same as the gb_LinkTarget_get_target
- disable gb_Library_add_auxtarget, no auxtargets need to be copied
- adjust paths of all external executables to OUTDIR_FOR_BUILD for now
- use lazy assignment instead of := in AllLangResTarget because it's
  read before Executable
- link.exe generates an import library for lots of executables
  because they export symbols, especially since commit
  0ffab9363d527d55b12b9b09d7136ca1c9d171e0
  "force 'main' to always be DLLPUBLIC."

Change-Id: I3e1ee7425dd430bb83c7cd59e265869a0541b38d
2013-09-22 11:08:32 +02:00
Artur Dryomov
036cf17cac Change TCP servers search blocking delay.
Change-Id: Ia25d064aa5ad030d08a4095e92c3a35fb9b2e68f
2013-09-22 01:31:22 +03:00
Artur Dryomov
7d70990265 Fix possible unexpected search stop.
An executor stops working when a single task got an exception. This
change prevents only one exception from being uncaught, if this will not
help probably everything should be caught.

Change-Id: I76a57fc0b1c759cb66bf13b5cdec7223c384bfa3
2013-09-22 01:31:22 +03:00
Artur Dryomov
13cf8f2599 Change way of saving Bluetooth state one more time.
Read a comment at the ComputersActivity.

Change-Id: I4a933d262c28a08c1e2227a2eabec54ad2cfd16e
2013-09-22 01:31:21 +03:00
Artur Dryomov
afa322020e Change slide width a bit.
Change-Id: I26bdddaf0e74e81ccb32992e70e27d0d123f7502
2013-09-22 01:31:21 +03:00
Artur Dryomov
7403815024 Add setting default values for settings items.
Users still will be able to disable them if they wish.

Change-Id: If20f628c0c1f36e4a2b5c4619d7e843e91f19040
2013-09-20 23:42:14 +03:00
Artur Dryomov
95e95e0a26 Add switching to the slides pager from the grid when selecting a slide.
Change-Id: I029c298a90ff7f0cbaada25388e3a758dc4d583e
2013-09-20 00:17:18 +03:00
Artur Dryomov
6d6017e353 Add additional comparison for servers in lists.
Sort by class as well as by name. This change should help to show
computers first, then phones and then other devices.

Change-Id: I3a5dec6e5df33b766b70798ac1ad32a5d5db4a3f
2013-09-20 00:17:17 +03:00
Artur Dryomov
a5b4a547d5 Fix possible timer duplicates.
Change-Id: I070e36c4a82ca245a641e53466cdaf10dd01e95c
2013-09-15 02:34:30 +03:00
Artur Dryomov
10ca4e0b79 Fix possible NPE.
Well, try to fix them.

Change-Id: I8f774d35a304367bbdd1778628a1224031355ed4
2013-09-15 02:34:29 +03:00
Artur Dryomov
57e171b393 Change the computers fragment to be more simple.
Change-Id: I8acddd744e11aa3c29ba281b321a4e02347a1823
2013-09-15 02:34:29 +03:00
Artur Dryomov
a703824aaf Change the connection fragment to be more simple.
Change-Id: Ib9dcc70b87631cfdace00d5b9ba18f2cbdf0de2c
2013-09-15 02:34:28 +03:00
Artur Dryomov
b3e0c8081d Replace empty slide preview with solid grey background.
Change-Id: Ic6beec11b3d5bd86fa4722bd7bb8cb7cd69d8cf7
2013-09-14 19:38:45 +03:00
Artur Dryomov
7dcbd06d01 Add custom capitalized TextView.
To provide visual compatibility for 2.3 devices.

Change-Id: Ibdcc80a2f3d5a43dd8998153f2d872e564ec1c11
2013-09-14 19:38:45 +03:00
Artur Dryomov
4c7ad3859a Fix slide notes loading.
* Allow dynamic loading.
* Show notes only when they belong to the current slide.

Change-Id: I30dd73c9a1c9ac8533b830d908276aa6234aa7ce
2013-09-14 19:38:45 +03:00
Artur Dryomov
2436d8c9bc Fix another code style issues.
Change-Id: Id76d17050b7fc2865a78b9a815a2f543e85e321f
2013-09-14 19:38:44 +03:00
Artur Dryomov
f9bee0318c Change slide show operations related to its starting.
Do not start a slide show when it is already started.

Change-Id: I2cd1df48c07f60ddedb63f93973a0bda029bbd3f
2013-09-14 01:25:33 +03:00
Artur Dryomov
06806b93f1 Change searching message delay from 10 seconds to 3.
Make it more friendly for users.

Change-Id: Ie77643639d4b8a15c6e5a82070f8e01c8fa5025e
2013-09-14 01:25:32 +03:00
Artur Dryomov
8fe5b47826 Add checks before return server name.
Try to avoid possible NPE.

Change-Id: I7e89ac38251b0840c66e36f9e0284be2073424c3
2013-09-14 01:25:32 +03:00
Artur Dryomov
14a25b343d Fix minor style issues.
Change-Id: I6c7cfd8c1e0d88ad99f5e2ca15758eab033ec50c
2013-09-13 02:44:01 +03:00
Artur Dryomov
dd887afe21 Move the service binder to a static inner class.
Should help to avoid potential memory leaks.

Change-Id: Ic9518af17d818eb439358cb86afa03e80ab9799e
2013-09-13 02:44:00 +03:00
Artur Dryomov
ec49173e3a Fix deadlocks while connecting.
Replace an events loop at the communication service with single-shot
connection workers. This should help to avoid deadlock behaviour in situations
when user quits the connection to one server and tries to connect to another
one. The events loop required synchronization blocks which cause ANR in
the situation described above.

Change the server connection interface to contain a connecting stage
in a separate method. This is more just-in-case measure for situations
when the connection constructor shouldn't be blocking.

Change-Id: I941a4b67d965f6b1f76bc9975818e82aea12bf00
2013-09-13 02:43:59 +03:00
Tor Lillqvist
ca99561170 More files are no longer in OUTDIR, only in INSTDIR
Change-Id: Ide6654cbc378621a41a4a207978a4f42bc44d3e3
2013-09-11 11:25:51 +03:00
Artur Dryomov
06b632f0d3 Fix notes jumps.
* Remove empty spaces not reset while changing text via TextSwitcher.
* Scroll notes to the top on changes because outer ScrollView remembers
  current position not respecting TextSwitcher state of course.

Change-Id: I3e9ba458e4ce6b13e5b02675ca28d6c7c5829f00
2013-09-11 01:43:54 +03:00
Artur Dryomov
5dd70c5c9b Add ability to change transactions via clicking a slide.
Change-Id: Ifc9344c53492a053b15bc0f005e881bc09077473
2013-09-11 01:43:54 +03:00
Artur Dryomov
ca5c6e9696 Add saving progress message state between orientation changes.
Change-Id: Ic74810e90ca882f734ae7d1fab4b250908ae9c49
2013-09-11 01:43:53 +03:00
Artur Dryomov
e9d6119257 Remove notes from the landscape layout.
Ignoring tablets at moment.

Change-Id: Ie2ac0840cea994e942b2f7e1a7d4a2e73ebd12de
2013-09-11 01:43:53 +03:00
Artur Dryomov
54433a11e7 Remove hiding notes section when there are no notes.
Show warning instead. This change should help avoiding users confusing
when they see half of the screen empty without any reason.

Change-Id: Ic229e80fc56a9ad8a419dc19b0784213b1fe3a68
2013-09-11 01:43:52 +03:00
Artur Dryomov
2dfaabc1ba Fix null pointer exception for devices without Bluetooth.
Change-Id: If44089824fe48b302f6e75ccbbfb3a6843016723
2013-09-11 01:43:52 +03:00
Artur Dryomov
ff802c08b5 Add ability to pause and resume a slide show.
Change-Id: I5c93cc0b2ad1aa68529ae1e278bd2cb7ad54359d
2013-09-11 01:43:51 +03:00
Artur Dryomov
21e5de7d56 Fix servers search behaviour.
* Start search and stop it during the lifecycle. Before this change
  searching was a constant process draining battery.
* Enable and disable Bluetooth according to the service lifecycle. This
  should help to avoid race conditions and disable or enable Bluetooth
  better way.

Change-Id: I02ef1bb67d9fb6fd56d0aff0a176cdb41284a49f
2013-09-11 01:43:51 +03:00
Tor Lillqvist
be4b57b6da Copy some stuff from INSTDIR, not OUTDIR
Some of it is not in OUTDIR at all any more.

Change-Id: I1afbaafa0fe5a355158b44fcafd3d3e190fce79c
2013-09-10 11:38:01 +03:00
Tor Lillqvist
3b9f9a5a4b Don't bother building the DocumentLoader Android app every time
Change-Id: I90a96420c3261ce14f337dae3dfddfc01ac2436e
2013-09-10 11:37:54 +03:00
Tor Lillqvist
d344d46cd4 I don't think the map file is that useful to generate every time
Change-Id: I15ba6f0ffc645746be8deb83bc623a340b76bda9
2013-09-10 10:42:50 +03:00
Artur Dryomov
3faefaafa6 Fix minor code style issues.
Change-Id: I1cc46176efcdc0a869ba711054137e56662d7ab3
2013-09-07 11:55:54 +03:00
Artur Dryomov
710fc4728f Fix for blinking while getting back to the computers activity.
Change-Id: I5ce3c6462b0d4c1e1fed98cc0510ec9383523458
2013-09-07 11:55:54 +03:00