Commit graph

994 commits

Author SHA1 Message Date
Simon Fels
ab8a8094cc Add probot stale configuration
We want to get issues without activity closed after a while unless they
are marked with specific labels to keep things clean and maintainable.
2018-09-08 15:41:39 +02:00
Simon Fels
e6bd4370c3
Merge pull request #888 from raetiacorvus/fix-clang-build
Fix clang build errors
2018-09-08 14:50:05 +02:00
Simon Fels
377df406c0
Merge branch 'master' into fix-clang-build 2018-09-07 23:47:03 +02:00
Simon Fels
ec64b1b8ce
Merge pull request #896 from mrsf/master
cmds: add override for Intel Core i5 M 460
2018-09-07 23:46:51 +02:00
Márcio Francisco
ae5004b45d cmds: add override for Intel Core i5 M 460 2018-09-07 18:34:21 +01:00
Gabriel Rauter
4bbc519626 dbus: demote clang c99-extensions error to warning
This commit uses GCC friendly pragmas to demote a clang error on
C99-specific feature usage to a warning.

The C99 feature that is used here is compound literals. It gets used
trough a macro from the dbus C library.
2018-09-04 19:48:00 +02:00
Gabriel Rauter
85fb89c2f4 graphics: remove unused const variable
This removes the constexpr const char * default_glesv1_lib and promote
-Wunused-const-variable back to error level on clang.
2018-09-04 19:45:36 +02:00
Gabriel Rauter
92c2481fb9 cmds: remove unused lambda capture this
Remove a unused lambda capture on [this] in
anbox::cmds::CheckFeatures::CheckFeatures() and promote
-Wunused-lambda-capture back to error level on clang.
2018-09-04 19:45:36 +02:00
Gabriel Rauter
3c1d7e6149 dbus: remove private unused field type_
This commit removes the private unused field type_ from anbox::dbus::Bus
and promotes -Wunused-private-field back to error level on clang.
2018-09-04 19:45:29 +02:00
Simon Fels
44cfc363ac
Merge branch 'master' into fix-clang-build 2018-09-04 08:04:31 +02:00
Simon Fels
82f31f3031
Merge pull request #890 from morphis/add-n2840-override
cmds: add override for Intel Celeron N2840
2018-09-04 08:03:44 +02:00
Simon Fels
c5da3c4e4f cmds: add override for Intel Celeron N2840 2018-09-04 07:52:04 +02:00
Gabriel Rauter
0482cdb7ea dbus: fix clang compile errors
This commit downgrades the following clang compiler errors into warnings:
 * unused-private-field
 * unused-const-variable
 * unused-lambda-capture
2018-09-02 19:50:51 +02:00
Gabriel Rauter
4979b7733e cpu_features: fix clang, set cast-align to warning
Change -Wcast-align from error to warning for clang compiler by adding
the -Wno-error=cast-align compiler flag.

Fixes #881
2018-09-02 17:00:23 +02:00
Simon Fels
568a483435 cmds: allow users to change the container network configuration
In some spare situations it might be useful to change the network
configuration of the bridge and with that also the configuration of
the Android container itself. We don't validate the configuration
and just apply it no matter if it ends up with network connectivity
in the container.
2018-09-02 15:04:44 +02:00
Marius Gripsgard
7cc6fb44d9 Change option var to ENABLE_WAYLAND 2018-08-21 12:07:32 +02:00
Marius Gripsgard
75f5a8f6ab Change option var to ENABLE_TOUCH_INPUT 2018-08-21 12:07:32 +02:00
Marius Gripsgard
2b3c1f1e2d Change option var to ENABLE_MIR 2018-08-20 17:19:17 +02:00
Marius Gripsgard
b0779c0cb6 Add enable mir option (default disabled) 2018-08-20 17:19:17 +02:00
Simon Fels
e7de965e40 cmds: add cpu whitelist for features check
Not all CPUs can be detected with their correct feature set. For example
does cpu_features not work well enough when the support does not support
AVX (see https://github.com/google/cpu_features/issues/4). To mitigate
this we maintain a list of whitelisted CPU models.
2018-08-16 07:47:03 +02:00
Marius Gripsgard
24bd4f69a1 Do application reset on first store_or_update 2018-08-16 07:15:08 +02:00
Simon Fels
385150ab6b
Merge pull request #864 from ubports/desktop-subdir-env
Add ANBOX_NO_DESKTOP_SUBDIR env
2018-08-16 06:59:24 +02:00
Simon Fels
2117b3bd0e
Merge branch 'master' into desktop-subdir-env 2018-08-16 06:33:03 +02:00
Simon Fels
66c5a273b5
Merge pull request #863 from ubports/wayland-disable-option
Add option to enable/disable wayland
2018-08-16 06:32:29 +02:00
Marius Gripsgard
3d3055e2de Just remove desktop/icon files starting with anbox- 2018-08-16 02:51:49 +02:00
Marius Gripsgard
e11afb46de Add ANBOX_NO_DESKTOP_SUBDIR env
This makes anbox place applications in the main application folder

This is mostly a hack for ubuntu touch
2018-08-16 02:48:48 +02:00
Marius Gripsgard
3fff3cad6c Add option to enable/disable wayland 2018-08-16 02:35:07 +02:00
Simon Fels
4c6a7dc116
Merge pull request #857 from morphis/disable-touch-input
sdl: disable touch input support by default
2018-08-10 21:16:32 +02:00
Simon Fels
348ff8a320 sdl: disable touch input support by default
It looks like that the Android system gets confused when both a pointer
and an touch based input device are connected to the system. As touch
support is so far only used Ubports we can keep it disabled for the
snap version but provide a configuration switch to enable it again.
2018-08-10 20:55:01 +02:00
Simon Fels
37818f27f4
Merge pull request #855 from morphis/correct-id-map
container: correctly calculate uid/gid maps
2018-08-10 09:24:34 +02:00
Simon Fels
1703ec0a3b
Merge branch 'master' into correct-id-map 2018-08-10 07:33:58 +02:00
Simon Fels
82a1abc8cc container: correctly calculate uid/gid maps
We were calculating the first range towards the ID of the executing user
which is wrong if we want to map the current user to id 1000 inside the
container. This corrects the code to calculate the first range until
1000-1, assigns 1000 to the current user and then continues to assign
1000+1 to the rest of the high-range ids we have allocated.
2018-08-10 07:15:40 +02:00
Simon Fels
2df7162691
Merge pull request #850 from morphis/dont-check-cpu-features-on-qemu
cmds: ignore cpu feature check on QEMU
2018-08-10 07:13:35 +02:00
Simon Fels
b40c42a28f
Merge branch 'master' into dont-check-cpu-features-on-qemu 2018-08-10 07:04:38 +02:00
Simon Fels
ad128b32d4
Merge pull request #852 from morphis/dont-disable-screensaver
sdl: don't prevent screensaver to systems to suspend properly
2018-08-08 11:28:09 +02:00
Simon Fels
72e0f24c09 sdl: don't prevent screensaver to systems to suspend properly 2018-08-08 10:43:45 +02:00
Simon Fels
41febe8f75 cmds: ignore cpu feature check on QEMU
The cpu_features library doesn't work well enough on QEMU so we skip the
test on any QEMU branded CPU.
2018-08-07 16:08:06 +02:00
Simon Fels
2dea391b24
Merge pull request #844 from morphis/make-bridge-configurable
Make network bridge configurable
2018-08-03 17:51:21 +02:00
Simon Fels
81c90ab218 scripts: expose bridge configuration via the snap config system 2018-08-03 17:12:18 +02:00
Simon Fels
551f25208f scripts: if running inside the snap don't use /run 2018-08-03 17:11:57 +02:00
Simon Fels
b5ea0b4d7f
Merge pull request #832 from morphis/generate-zip-instead-of-tar
Generate zip instead of a tarball
2018-07-24 04:18:50 -04:00
Simon Fels
e135277a10
Merge branch 'master' into generate-zip-instead-of-tar 2018-07-23 13:08:34 -04:00
Simon Fels
fee8751d09
Merge pull request #831 from morphis/improve-cpu-check-error-msg
cmds: improve error message for unsupported CPU features
2018-07-23 13:08:12 -04:00
Simon Fels
0178e4855c scripts: prevent collect-bug-info execution as root 2018-07-23 18:43:53 +02:00
Simon Fels
4fd574316f scripts: generate a zip instead of a tarball for our log archive
Github doesn't allow uploading a tarball but a zip archive.
2018-07-23 18:21:55 +02:00
Simon Fels
3f661ca0e7
Merge branch 'master' into improve-cpu-check-error-msg 2018-07-23 11:14:08 -04:00
Simon Fels
bcb3701a97 cmds: improve error message for unsupported CPU features 2018-07-23 17:03:04 +02:00
Simon Fels
a9621db187
Merge pull request #830 from morphis/add-wayland-support
sdl: take native window and display for wayland from SDL
2018-07-23 10:57:07 -04:00
Simon Fels
1a5c19ec51 sdl: take native window and display for wayland from SDL 2018-07-23 16:37:54 +02:00
Simon Fels
00a809b1ba
Merge pull request #828 from morphis/drop-kmod-control
snap: drop unnecessary kernel-module-control plug
2018-07-20 09:25:02 -04:00