From fe5a8176655e9efd27f7340b9f50597cadc6405d Mon Sep 17 00:00:00 2001 From: Kostiantyn Masliuk <1pkg@protonmail.com> Date: Sun, 21 Apr 2024 18:54:44 -0700 Subject: [PATCH] gopium v1.8.0 prep --- extensions/vscode/README.MD | 2 ++ extensions/vscode/package.json | 2 +- extensions/vscode/src/vscode-go | 2 +- gopium/opium.go | 2 +- typepkg/parser_test.go | 2 +- typepkg/sizes.go | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/extensions/vscode/README.MD b/extensions/vscode/README.MD index 6d0ff0a..1f37a0b 100644 --- a/extensions/vscode/README.MD +++ b/extensions/vscode/README.MD @@ -88,6 +88,8 @@ Extension is based on and heavily using [vscode-go](https://github.com/microsoft Nevertheless it's impossible to just seamlessly reuse another extension to build your own, so a lot of functionality has been patched and changed, most noticeable: vscode-go telemetry is disabled, vscode-go extension entrypoits are removed, [go-outline](https://github.com/ramya-rao-a/go-outline) is replaced with [go-outline](https://github.com/1pkg/goutline), etc. +To publish the extension use [guide](https://code.visualstudio.com/api/working-with-extensions/publishing-extension). + ## Licence Gopium is licensed under the MIT License. diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 2f5eaa5..b74db36 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -7,7 +7,7 @@ "name": "Kostiantyn Masliuk - github.com/1pkg" }, "license": "MIT", - "version": "1.7.0", + "version": "1.8.0", "categories": [ "Programming Languages", "Formatters", diff --git a/extensions/vscode/src/vscode-go b/extensions/vscode/src/vscode-go index d117bde..9ec1572 160000 --- a/extensions/vscode/src/vscode-go +++ b/extensions/vscode/src/vscode-go @@ -1 +1 @@ -Subproject commit d117bde4dd1bb5f40bcae415deea49d312553540 +Subproject commit 9ec157243fcf137d804f177ecd2a31371739729f diff --git a/gopium/opium.go b/gopium/opium.go index 3fe0ef9..06f39e3 100644 --- a/gopium/opium.go +++ b/gopium/opium.go @@ -3,7 +3,7 @@ package gopium // list of global registered gopium constants const ( NAME = "gopium" - VERSION = "1.7.0" + VERSION = "1.8.0" PKG = "https://github.com/1pkg/gopium" STAMP = "🌺 gopium @1pkg" ) diff --git a/typepkg/parser_test.go b/typepkg/parser_test.go index 5dfcb29..8a1aff6 100644 --- a/typepkg/parser_test.go +++ b/typepkg/parser_test.go @@ -52,7 +52,7 @@ func TestParserXToolPackagesAstTypes(t *testing.T) { ctx: context.Background(), err: tests.OnOS( "windows", - fmt.Errorf("%s", "couldn't run 'go': chdir test: The system cannot find the file specified."), + fmt.Errorf("%s", "chdir test: The system cannot find the file specified.: stderr: "), fmt.Errorf("%s", "err: chdir test: no such file or directory: stderr: "), ).(error), }, diff --git a/typepkg/sizes.go b/typepkg/sizes.go index 7b1d402..8e009f8 100644 --- a/typepkg/sizes.go +++ b/typepkg/sizes.go @@ -20,7 +20,7 @@ func (t stubtype) String() string { // stdsizes implements sizes interface using types std sizes type stdsizes struct { types.Sizes `gopium:"filter_pads,memory_pack,cache_rounding_cpu_l1_discrete,struct_annotate_comment,add_tag_group_force"` -} // struct size: 8 bytes; struct align: 8 bytes; struct aligned size: 8 bytes; struct ptr scan size: 8 bytes; - 🌺 gopium @1pkg +} // struct size: 16 bytes; struct align: 8 bytes; struct aligned size: 16 bytes; struct ptr scan size: 16 bytes; - 🌺 gopium @1pkg func (s stdsizes) WordSize() int64 { // This should work for both gc and gccgo types as default case returning proper WordSize.