Commit Graph

571 Commits (4f46c38c99ff8db6a6f73a987be54f646bb53fcf)
 

Author SHA1 Message Date
Denton Gentry f9bbd73413 go.mod: update OSS from main for an unstable build.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry a4a3ae6eff android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 82ea8df1dc go.mod: update from HEAD.
Preparing for a 1.17.x unstable build.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Elias Naur a3152ae505 go.*,cmd/tailscale: upgrade Gio
Add proper margins to toast messages while here.

Fixes tailscale/tailscale#3059

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Denton Gentry 0a13b89ce0 go.mod: update from HEAD.
Also increment build number to skip over the 1.16.0 release build.
3 years ago
Denton Gentry f0dcec6c27
Merge pull request #21 from tailscale/getinterfaces
cmd/tailscale: implement getInterfaces + SDK 30
3 years ago
Denton Gentry 02a6ae0e0d cmd/tailscale: implement getInterfaces + SDK 30
SDK 30 prohibits syscall.NetlinkRIB(syscall.RTM_GETADDR, ...)
which Go's net.Interfaces uses. Implement an Android
specific version of net.Interfaces to use instead.

Passing primitive types across JNI is relatively straightforward,
passing a single object of a complex class is annoying but still
possible, but passing lists and other more complex data structures is
way harder. As such, this commit added a Java routine to render the
interface information to a string and pass that across JNI as a
primitive type for Go code to parse.

Fixes https://github.com/tailscale/tailscale/issues/2293
3 years ago
Denton Gentry 41aa0c1d02 go.mod: update to current HEAD.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Brad Fitzpatrick d0b4a09e59 fix name of NewUserspaceEngine in error/comment
It was renamed some time ago.
3 years ago
Brad Fitzpatrick a5bed46c9c cmd/tailscale: use hostinfo setters for OSVersion, DeviceModel
Stop abusing Prefs, which bit us in the iOS client. We're going to
remove the ipn.Prefs mechanism.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
Denton Gentry 6518535039 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 9b52c6b357 go.mod: update to current main.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 54d511a9b6 Increment build number.
build 68 is 1.14.6 on release-branch/1.14.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry b8c3f9da9a
Merge pull request #20 from tailscale/chromeos
cmd/tailscale: report ChromeOS.
3 years ago
Denton Gentry 59aecdb2e5 cmd/tailscale: report ChromeOS.
Fixes https://github.com/tailscale/tailscale/issues/2971

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry ef96ee30fd android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 0637d599af go.mod: Update to tailscale HEAD.
Notably, pull in https://github.com/tailscale/tailscale/pull/2951

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry e2128ef6d6 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 75ef65dd50 go.mod: Update to tailscale HEAD.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Elias Naur 84b484a954 android,cmd/tailscale: implement taildrop receive for Android < 10
Fixes tailscale/tailscale#2720
Fixes tailscale/tailscale#2296

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Elias Naur f37cf72d81 android/ipn: ignore shared files we have no access to
I'm not able to reproduce the crash described in #2720; sharing files
from an SD-card through taildrop works for me (ChromeOS 93.0) without
issues. However, this change makes sure that we don't crash should we
lack permission for some reason.

Updates tailscale/tailscale#2720

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Elias Naur db77216ead go.*: bump Gio version
Fixes graphics issues on various devices (Nexus 7, LG K20, Samsung J2).

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Denton Gentry c02078e41e Makefile: update toolchain version to use.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Elias Naur 078356613f android: fix persistent notification intent target
Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Elias Naur 54eab1a5d3 cmd/tailscale: delete unused FileTargetsEvent; gofmt
Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Denton Gentry d3edb004e3 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 7aa8ae9a47 go.mod: update for 1.15.x unstable build.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry f33b98b313 Skip version used for 1.14.0 take 2.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 742da3ae36 Skip version used for 1.14.0.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry eb24dedd81 go.mod: move to unstable version 1.15.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 5c524d2768 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry ae2df12032 Update from Tailscale OSS.
Skip release 61.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Elias Naur 6635d89292 go.*: bump Gio version; go mod tidy
Fixes two minor OpenGL ES 2.0 issues.

Updates tailscale/tailscale#1008

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Denton Gentry 9283506c04 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 30324736c9 Update OSS from HEAD.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry d81f8a03b6 Switch to Go 1.17.
Matches https://github.com/tailscale/tailscale at HEAD.
3 years ago
Denton Gentry 76df742662 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry a68462ec65 Update for unstable build.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 3575ef712a android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 82b6b8dbd3 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 0f46117f9c Update to latest OSS
Preparing new Open Testing (unstable) release.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry d98827df03
Merge pull request #17 from tailscale/issue-1008
Add fallback CPU renderer, sRGB emulation for Android Go
3 years ago
Denton Gentry f25f7ecc80 tailscale-version.sh: adjust version format.
Use the same version number format as other platforms.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry 67c2869ec6 tailscale-version.sh: always use bash
We specify `set -o pipefail`, which is not implemented in dash
or a number of other shells. The F-Droid builder is defaulting
to a shell which does not:
```
./version/tailscale-version.sh: 10: set: Illegal option -o pipefail
```

Updates https://github.com/tailscale/tailscale/issues/2536

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Elias Naur ebcc878fcb go.*,cmd/tailscale: upgrade Gio
The upgraded version adds a CPU fallback renderer and sRGB emulation,
to support very low-spec Android Go devices.

Fixes tailscale/tailscale#1008

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago
Denton Gentry 7f086ccaa6 android: bump version code
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry f59e53e41d Update to Gio @main
For low end phone support:
https://lists.sr.ht/~eliasnaur/gio/%3CCD3XWVXUTCG0.23LAQED4PF674%40themachine%3E

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
Denton Gentry ade708af7f Update for 1.13.x unstable builds. 3 years ago
Denton Gentry 9f701283bc
Merge pull request #16 from tailscale/toolchain
Makefile: download Tailscale's Go toolchain
3 years ago
Denton Gentry 078eee6b39 Dockerfile: use Go 1.16.5
Going to use the Tailscale fork of the Go toolchain instead.
3 years ago