Skip to content

Commit 24f5530

Browse files
authored
deploy darwinkit into main (progrium#176)
* initial working version of darwinkit rewrite * fix panic on methods returning slices * helper/action: fix incorrect type in Handler * update examples and widgets helper that use the action helper * generate: pull modules out of typing into modules package. add enumexport tool * generate: enumexport tool and initial dump * generate: add vision and coreml, improve enumexport coverage * generate: make sure all generated files have .gen.go and give up potential to generate structs. plus misc fixes * generate: cleanup output * generate: improved enumexport coverage and integrated with oldgen for now * test: made a simple internal assert to replace testify * Makefile: download symbols.zip * generate: allow deprecated values in enumexport, and re-export * generate: now generating all constants and enums from symbols db * ¯\_(ツ)_/¯ * clearing out for darwinkit * ffi: remove unused reference to FFI_BAD_ARGTYPE which doesn't exist everywhere * README: add back macdriver.gif for now * examples: add screenshots back and update use of objc
1 parent a7651c9 commit 24f5530

File tree

2,114 files changed

+303152
-126562
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,114 files changed

+303152
-126562
lines changed

.gitattributes

-2
This file was deleted.

.github/FUNDING.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# These are supported funding model platforms
22

3-
github: progrium
3+
github: progrium

.github/workflows/test.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
on: [pull_request]
22
name: Test
3-
env:
4-
CGO_CFLAGS: -w
53
jobs:
64
test:
75
strategy:
@@ -20,4 +18,4 @@ jobs:
2018
run: |
2119
TAGS=${{ matrix.os }}
2220
TAGS=${TAGS//-} # remove dash
23-
go test -tags $TAGS -v ./...
21+
go test -tags $TAGS -v ./...

.gitignore

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1-
**/node_modules/
2-
**/.DS_Store
3-
/local
1+
.DS_Store
42
/_local
5-
/dist
3+
/generate/symbols.zip
4+
/generate/symbols
5+
/macos/_examples/form/form
6+
/macos/_examples/largetype/largetype
7+
/macos/_examples/layout/layout
8+
/macos/_examples/menu/menu
9+
/macos/_examples/notification/notification
10+
/macos/_examples/opengl/opengl-example
11+
/macos/_examples/pomodoro/pomodoro
12+
/macos/_examples/subclass/subclass
13+
/macos/_examples/tabview/tabview
14+
/macos/_examples/webshot/webshot
15+
/macos/_examples/webview/webview
16+
/macos/_examples/widgets/widgets
17+
/macos/_examples/workspace/workspace
18+

.goreleaser.yml

-29
This file was deleted.

CODE_OF_CONDUCT.md

-128
This file was deleted.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Jeff Lindsay, Mikkel Krautz
3+
Copyright (c) 2020 Jeff Lindsay
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

+11-17
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
1-
21
GOEXE ?= go
32

4-
help: ## show this help
5-
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
6-
.PHONY: help
7-
8-
largetype: ## build and run largetype example
9-
$(GOEXE) run ./examples/largetype -font="Monaco" "Hello world"
10-
.PHONY: largetype
3+
generate:
4+
$(GOEXE) generate ./...
5+
.PHONY: generate
116

12-
topframe: ## build and run topframe example
13-
$(GOEXE) run ./examples/_topframe
14-
.PHONY: topframe
7+
clobber:
8+
$(GOEXE) run ./generate/tools/clobbergen.go ./macos
9+
.PHONY: clobber
1510

16-
notification: ## build and run notification example
17-
$(GOEXE) run ./examples/notification
18-
.PHONY: notification
11+
example:
12+
$(GOEXE) run ./macos/_examples/widgets/main.go
13+
.PHONY: example
1914

20-
pomodoro: ## build and run pomodoro example
21-
$(GOEXE) run ./examples/pomodoro
22-
.PHONY: pomodoro
15+
generate/symbols.zip:
16+
cd generate && wget https://github.com/mactypes/symbolsdb/releases/download/1.0/symbols.zip

0 commit comments

Comments
 (0)