Commit graph

333 commits

Author SHA1 Message Date
Simon Fels
1459488bd3 Drop old and unneeded icon flag for run command 2017-01-31 08:47:57 +01:00
Simon Fels
f9d95172c4 Adjust indentation of launcher storage 2017-01-31 08:46:07 +01:00
Simon Fels
b7937afc3c Only warn when FUSE support for user namespaces couldn't be enabled 2017-01-31 08:46:07 +01:00
Simon Fels
57d1bd8ef2 Merge pull request #33 from mariogrip/mount-script
Add simple script to mount android rootfs on non snap env
2017-01-27 07:03:00 +01:00
Marius Gripsgard
d13c29c3fe Add simple script to mount android rootfs on non snap env 2017-01-26 08:36:46 +01:00
Simon Fels
436c0fdb8f Merge pull request #28 from morphis/feature/disable-kmod-build-and-load
Disable module building and loading on non xenial systems
2017-01-20 17:13:20 +01:00
Simon Fels
383511b397 Disable module building and loading on non xenial systems 2017-01-20 16:49:41 +01:00
Simon Fels
dfe913412e Merge pull request #25 from morphis/feature/travis-support
Add initial travis build configuration
2017-01-20 11:26:05 +01:00
Simon Fels
d7d3ecaf1a Add initial travis build configuration
We need to use docker here as travis only provides Ubuntu 14.04 based
images which are not enough for us to build everything.
2017-01-20 10:34:18 +01:00
Simon Fels
7f950856fb Merge pull request #24 from morphis/feature/remove-emugl-logging
emugl: use our internal logger instead of the emugl one
2017-01-20 08:42:02 +01:00
Simon Fels
c9c3155e96 emugl: use our internal logger instead of the emugl one 2017-01-20 08:38:38 +01:00
Simon Fels
8ccba0d987 Merge pull request #23 from morphis/bug/send-correct-header-size
qemud: send message size in hexadecimal format
2017-01-20 08:33:22 +01:00
Simon Fels
c199e519ba qemud: send message size in hexadecimal format
All sizes need to be printed in hexadecimal. Otherwise size of the
actual data doesn't match and messages are not processed inside the
container.
2017-01-20 07:35:18 +01:00
Simon Fels
b1edee8a11 Merge pull request #22 from vosst/fix-build
Fix build with warnings turned on.
2017-01-20 07:23:20 +01:00
Simon Fels
a55c32844c Merge pull request #21 from vosst/include-positional-parameters
Support positional arguments.
2017-01-20 07:22:08 +01:00
Thomas Voß
4d457153b7 Fix build with warnings turned on. 2017-01-19 20:36:01 +01:00
Thomas Voß
f98239c70d Support positional arguments.
Please note that this feature requires a reecent boost version, ideally 1.57 or
later.
2017-01-19 18:40:37 +01:00
Simon Fels
509055876b Merge pull request #20 from ricmm/fix-new-kernels
Add protection key to calc_vm_prot_bits() on kernels >= 4.5.0
2017-01-18 14:15:57 +01:00
Ricardo Mendoza
498513c7ab Add protection key to calc_vm_prot_bits() if building under kernel >= 4.5.0 2017-01-18 14:13:38 +01:00
Simon Fels
8e262fe5c7 LayerComposer: always prioritize layers which are lower in the list 2017-01-18 07:49:08 +01:00
Simon Fels
975b0d12b2 LayerComposer: correct formatting of rect calculation 2017-01-18 07:48:12 +01:00
Simon Fels
87b918375d Use the app package name as window title for now 2017-01-17 18:26:16 +01:00
Simon Fels
ab473fd174 Reset launcher storage before updating it 2017-01-17 18:25:36 +01:00
Simon Fels
51c41dfd88 Remove unneeded setup code for the snap application 2017-01-15 14:13:45 +01:00
Simon Fels
3e60d9f8ae Don't set XDG_DATA_HOME to read-only location 2017-01-15 14:13:10 +01:00
Simon Fels
db3499fd89 Synchronize clipboard bi-directional with the android container 2017-01-15 12:38:22 +01:00
Simon Fels
5512f79941 Populate rpc response data properly 2017-01-15 12:38:06 +01:00
Simon Fels
d729b8b9e4 Implement audio support
Audio playback still has a delay about 1-2 seconds but it's usable.

This also moves the platform policy class into its own namespace to be
not specific to just window management.
2017-01-12 07:02:43 +01:00
Simon Fels
23392b9732 Import goldfish HAL sources from devices/generic/goldfish
We import all code here so we can customize and keep in sync with what
we do on the host side more easily.
2017-01-09 08:05:04 +01:00
Simon Fels
ddea17253c appmgr: drop unused methods 2017-01-09 07:07:10 +01:00
Simon Fels
2e964bd132 Create android image file with correct ownership 2017-01-09 07:04:48 +01:00
Simon Fels
5c7b0adf8c Synchronize application icons with the host 2017-01-06 18:33:27 +01:00
Simon Fels
8caaa1f35c Drop leftover things from snapcraft build configuration 2017-01-05 10:34:18 +01:00
Simon Fels
45dd1cd498 Only package the single android image file our scripts generate 2017-01-05 10:16:48 +01:00
Simon Fels
8d2e3853d4 scripts: respect new unprivileged container model 2017-01-05 10:15:21 +01:00
Simon Fels
bd48e95d2b Error out early when container manager is not available 2017-01-03 12:28:18 +01:00
Simon Fels
6307ee4b65 Reformat all code parts 2017-01-03 09:18:10 +01:00
Simon Fels
1820c9cd10 Don't enforce column limit for our code style 2017-01-03 09:16:46 +01:00
Simon Fels
a5993a7023 Fix formatting of comment 2017-01-03 09:15:22 +01:00
Simon Fels
7e80f282a0 Don't send exception when already stopped container can't be stopped again 2017-01-03 09:13:06 +01:00
Simon Fels
d11a281d6c Terminate process when container manager disconnects or container start fails 2017-01-03 09:12:19 +01:00
Simon Fels
7a2cef31da Run container as unprivileged for enhanced security
On the Android side this requires no change with the current setup.
2017-01-03 09:11:10 +01:00
Simon Fels
128cc2422d Add unit tests for LayerComposer 2016-12-23 15:40:33 +01:00
Simon Fels
dbbb8ab795 Add unit tests for BufferedIOStream 2016-12-23 15:40:33 +01:00
Simon Fels
3529b83753 Add unit tests for imported things from Android emulator 2016-12-23 15:40:33 +01:00
Simon Fels
f7cabbf8ff Use largest layer of a window to calculate relative layer positions
As a window can be built out of multiple layers we need to take one as
the primary one which covers the entire window area. As it is not
guranteed that the layer size will match the actual window size cause
of synchronizaton delays with the Android side window manager we take
the layer as primary which covers the largest screen area. This should
solve most issues.
2016-12-23 15:38:35 +01:00
Simon Fels
3d051a4056 Update window frame when window is moved rathern when state was updated
This leads to incorrect calculations of the layer position calculation
inside the window.
2016-12-22 08:33:33 +01:00
Simon Fels
c4664603fd Check errno correctly for errors to ignore 2016-12-21 10:32:07 +01:00
Simon Fels
9f69c580af Get rid of renderer singleton 2016-12-21 10:02:02 +01:00
Simon Fels
aeff6e35df Cleanup formatting and code style 2016-12-21 08:40:40 +01:00