diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6c15d20..e136b21 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,20 +30,18 @@ Before sending code out for review, run all the tests for the whole tree to make In addition to the owner, Changes to Robotgo must be reviewed before they are accepted, no matter who makes the change even if it is a maintainer. We use GitHub's pull request workflow to do that and we also use [LGTM](http://lgtm.co) to ensure every PR is reviewed by vz or least 2 maintainers. - ## Sign your work -The sign-off is a simple line at the end of the explanation for the patch. Your signature certifies that you wrote the patch or otherwise have the right to pass it on as an open-source patch. +The sign-off is a simple line at the end of the explanation for the patch. Your signature certifies that you wrote the patch or otherwise have the right to pass it on as an open-source patch. ## Maintainers -To make sure every PR is checked, we got team maintainers. A maintainer should be a contributor of Robotgo and contributed at least 4 accepted PRs. +To make sure every PR is checked, we got team maintainers. A maintainer should be a contributor of Robotgo and contributed at least 4 accepted PRs. ## Owners Since Robotgo is a pure community organization without any company support, Copyright 2016 The go-vgo Project Developers. - ## Versions Robotgo has the `master` branch as a tip branch and has version branches such as `v0.30.0`. `v0.40.0` is a release branch and we will tag `v0.40.0` for binary download. If `v0.40.0` has bugs, we will accept pull requests on the `v0.40.0` branch and publish a `v0.40.1` tag, after bringing the bug fix also to the master branch. @@ -60,9 +58,9 @@ Code that you contribute should use the standard copyright header: // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. ``` diff --git a/README.md b/README.md index fe5b6bd..bcf7478 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ GCC ``` #### For MacOS: + ``` brew install go ``` @@ -72,6 +73,7 @@ xcode-select --install ``` #### For Windows: + ``` winget install Golang.go ``` @@ -535,6 +537,6 @@ func main() { ## License -Robotgo is primarily distributed under the terms of "both the MIT license and the Apache License (Version 2.0)", with portions covered by various BSD-like licenses. +Robotgo is primarily distributed under the terms of "the Apache License (Version 2.0)", with portions covered by various BSD-like licenses. -See [LICENSE-APACHE](http://www.apache.org/licenses/LICENSE-2.0), [LICENSE-MIT](https://github.com/go-vgo/robotgo/blob/master/LICENSE). +See [LICENSE-APACHE](http://www.apache.org/licenses/LICENSE-2.0), [LICENSE](https://github.com/go-vgo/robotgo/blob/master/LICENSE). diff --git a/doc.go b/doc.go index b28cde2..e2b57bb 100644 --- a/doc.go +++ b/doc.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package robotgo diff --git a/examples/key/main.go b/examples/key/main.go index 84e1257..5967d58 100644 --- a/examples/key/main.go +++ b/examples/key/main.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package main diff --git a/examples/main.go b/examples/main.go index eade852..343d9f5 100644 --- a/examples/main.go +++ b/examples/main.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package main diff --git a/examples/mouse/main.go b/examples/mouse/main.go index d9ef7e3..7eb1e60 100644 --- a/examples/mouse/main.go +++ b/examples/mouse/main.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package main diff --git a/examples/screen/main.go b/examples/screen/main.go index 9e8ebe7..2d4be1d 100644 --- a/examples/screen/main.go +++ b/examples/screen/main.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package main diff --git a/examples/window/main.go b/examples/window/main.go index 5d63145..fc3594d 100644 --- a/examples/window/main.go +++ b/examples/window/main.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package main diff --git a/img.go b/img.go index 62ec5f6..0e8d32c 100644 --- a/img.go +++ b/img.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package robotgo diff --git a/key.go b/key.go index 167fa78..14b1cd2 100644 --- a/key.go +++ b/key.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package robotgo diff --git a/key/key.go b/key/key.go index 6daa836..82a4d8c 100644 --- a/key/key.go +++ b/key/key.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package key diff --git a/key/keypress_c.h b/key/keypress_c.h index 81bad31..060f5f4 100644 --- a/key/keypress_c.h +++ b/key/keypress_c.h @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. #include "../base/deadbeef_rand_c.h" diff --git a/keycode.go b/keycode.go index 4b9e934..a26aa67 100644 --- a/keycode.go +++ b/keycode.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package robotgo diff --git a/mouse/mouse.go b/mouse/mouse.go index e22c34b..74e8955 100644 --- a/mouse/mouse.go +++ b/mouse/mouse.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package mouse diff --git a/ps.go b/ps.go index cba6f1b..13bf8de 100644 --- a/ps.go +++ b/ps.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package robotgo diff --git a/robot_info_test.go b/robot_info_test.go index 93a9eb3..8f89089 100644 --- a/robot_info_test.go +++ b/robot_info_test.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package robotgo_test diff --git a/robotgo.go b/robotgo.go index f7038e9..e521e83 100644 --- a/robotgo.go +++ b/robotgo.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. /* diff --git a/robotgo_mac.go b/robotgo_mac.go index 0d8ac31..b8f7357 100644 --- a/robotgo_mac.go +++ b/robotgo_mac.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. //go:build darwin diff --git a/robotgo_mac_unix.go b/robotgo_mac_unix.go index 72ad4ec..65c759a 100644 --- a/robotgo_mac_unix.go +++ b/robotgo_mac_unix.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. //go:build !windows diff --git a/robotgo_mac_win.go b/robotgo_mac_win.go index ec31e58..8fd8268 100644 --- a/robotgo_mac_win.go +++ b/robotgo_mac_win.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. //go:build darwin || windows diff --git a/robotgo_ocr.go b/robotgo_ocr.go index 0f160b6..3249917 100644 --- a/robotgo_ocr.go +++ b/robotgo_ocr.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. //go:build ocr diff --git a/robotgo_test.go b/robotgo_test.go index a9bcc4c..d6bbcc5 100644 --- a/robotgo_test.go +++ b/robotgo_test.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. //go:build darwin || windows diff --git a/robotgo_win.go b/robotgo_win.go index 0736448..737ae51 100644 --- a/robotgo_win.go +++ b/robotgo_win.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. //go:build windows diff --git a/robotgo_x11.go b/robotgo_x11.go index 97aa915..d929fba 100644 --- a/robotgo_x11.go +++ b/robotgo_x11.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. //go:build !darwin && !windows diff --git a/screen.go b/screen.go index 0045ddf..b0852bb 100644 --- a/screen.go +++ b/screen.go @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. package robotgo diff --git a/screen/goScreen.h b/screen/goScreen.h index 1d93d07..a4bab45 100644 --- a/screen/goScreen.h +++ b/screen/goScreen.h @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. #include "../base/types.h" diff --git a/window/goWindow.h b/window/goWindow.h index 0730180..4e442a9 100644 --- a/window/goWindow.h +++ b/window/goWindow.h @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. #include "alert_c.h" diff --git a/window/pub.h b/window/pub.h index cfd0f31..57f9e59 100644 --- a/window/pub.h +++ b/window/pub.h @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. // #include "../base/os.h" diff --git a/window/win_sys.h b/window/win_sys.h index 6d53613..d71ba11 100644 --- a/window/win_sys.h +++ b/window/win_sys.h @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. // #if defined(USE_X11) diff --git a/window/window.h b/window/window.h index bb1382b..a7cf867 100644 --- a/window/window.h +++ b/window/window.h @@ -3,9 +3,9 @@ // https://github.com/go-vgo/robotgo/blob/master/LICENSE // // Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed +// http://www.apache.org/licenses/LICENSE-2.0> +// +// This file may not be copied, modified, or distributed // except according to those terms. #include "pub.h"