Skip to content

Commit

Permalink
Merge pull request #148 from domeengine/release/1.5.0
Browse files Browse the repository at this point in the history
Preparing for release 1.5.0
  • Loading branch information
avivbeeri authored Jan 28, 2021
2 parents 2eb5a4c + b79b694 commit b850c05
Show file tree
Hide file tree
Showing 63 changed files with 3,285 additions and 828 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
types: [assigned, opened, synchronize, reopened]
release:
types: [created]
types: [published]

jobs:
build-linux:
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
main.wren
release-artifacts:
if: ${{ github.event.action == 'created' }}
if: ${{ github.event.action == 'published' }}
needs: [ build-linux, build-mac, build-windows ]
runs-on: ubuntu-latest
name: Upload Release Artifacts
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
asset_content_type: application/zip
notify-discord:
runs-on: ubuntu-latest
if: ${{ github.event.action == 'created' }}
if: ${{ github.event.action == 'published' }}
needs: [ release-artifacts ]
steps:
- name: Discord notification
Expand Down
10 changes: 10 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Authors
=======
We'd like to thank the following people for their contributions.

* Aviv Beeri, aka springogeek [https://github.com/avivbeeri]
* scholar-mage [https://github.com/scholar-mage]
* Francisco Requena, aka frarees [https://github.com/frarees]
* Camilo Castro, aka clsource [https://github.com/clsource]
* Siddhant Rao [https://siddhantrao23.github.io]
* Chayim Refael Friedman [https://github.com/ChayimFriedman2]
11 changes: 0 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Minimalism: DOME is a minimal, but all-in-one toolkit. This means that it should

Usage-First: Any new API is designed "usage-first", and then an implementation is built around that. This allows for a more "comfortable" and developer-friendly API, because it's how we would _want_ to use it. Once the API is designed, we do what we can to build an implementation to fit that design, adjusting when technical reasons require it.


## Coding Conventions and Style Guides

Code won't be merged into DOME if it doesn't match the existing code style. Here are some of the more obvious style decisions in the codebase.
Expand Down Expand Up @@ -81,13 +80,3 @@ class GraphVisitor {
```
* Spaces around control-flow constructs, in similarity to C-styles.
* Braces around control-flow blocks.

## Contributors

People who have contributed code or documentation to the project:
* Aviv Beeri, aka springogeek [https://github.com/avivbeeri]
* scholar-mage [https://github.com/scholar-mage]
* Francisco Requena, aka frarees [https://github.com/frarees]
* Camilo Castro, aka clsource [https://github.com/clsource]
* Siddhant Rao [https://siddhantrao23.github.io]
* Chayim Refael Friedman [https://github.com/ChayimFriedman2]
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ SOURCE=src
LIBS=lib
OBJS=obj
INCLUDES=include
SOURCE_FILES = $(shell find src -type f)
UTILS = $(SOURCE)/util
MODULES=$(SOURCE)/modules
SCRIPTS=scripts
Expand Down Expand Up @@ -80,11 +81,11 @@ WARNING_FLAGS += -Wno-incompatible-pointer-types-discards-qualifiers
else ifneq ($(filter windows,$(TAGS)),)
WARNING_FLAGS += -Wno-discarded-qualifiers -Wno-clobbered
else ifneq ($(filter linux,$(TAGS)),)
WARNING_FLAGS += -Wno-clobbered
WARNING_FLAGS += -Wno-clobbered -Wno-maybe-uninitialized -Wno-attributes
endif


CFLAGS = $(DOME_OPTS) -std=c99 -pedantic $(WARNING_FLAGS)
CFLAGS = $(DOME_OPTS) -std=c99 -pedantic $(WARNING_FLAGS) -fvisibility=hidden
ifneq ($(filter macosx,$(TAGS)),)
CFLAGS += -mmacosx-version-min=10.12
endif
Expand Down Expand Up @@ -136,7 +137,7 @@ else ifneq ($(and $(filter macosx,$(TAGS)), $(filter framework,$(TAGS)), $(filte
FFLAGS += -F/Library/Frameworks -framework SDL2
endif

LDFLAGS = -L$(LIBS) $(WINDOW_MODE_FLAG) $(SDLFLAGS) $(STATIC_FLAG) $(DEPS)
LDFLAGS = -L$(LIBS) $(WINDOW_MODE_FLAG) $(SDLFLAGS) $(STATIC_FLAG) $(DEPS)



Expand All @@ -148,7 +149,7 @@ PROJECTS := dome.bin
all: $(PROJECTS)

WREN_LIB ?= $(LIBS)/libwren.a
WREN_PARAMS ?= $(ARCH) WREN_OPT_RANDOM=1 WREN_OPT_META=1
WREN_PARAMS ?= $(ARCH) WREN_OPT_RANDOM=0 WREN_OPT_META=1
$(LIBS)/wren/lib/libwren.a:
@echo "==== Cloning Wren ===="
git submodule update --init -- $(LIBS)/wren
Expand All @@ -166,14 +167,14 @@ $(OBJS)/vendor.o: $(INCLUDES)/vendor.c
@echo "==== Building vendor module ===="
$(CC) $(CFLAGS) -c $(INCLUDES)/vendor.c -o $(OBJS)/vendor.o $(IFLAGS)

$(OBJS)/main.o: $(SOURCE)/*.h $(SOURCE)/*.c $(MODULES)/*.c $(MODULES)/*.inc $(INCLUDES) $(WREN_LIB)
$(OBJS)/main.o: $(SOURCE_FILES) $(INCLUDES) $(WREN_LIB) $(MODULES)/*.inc
@mkdir -p $(OBJS)
@echo "==== Building core ($(TAGS)) module ===="
$(CC) $(CFLAGS) -c $(SOURCE)/main.c -o $(OBJS)/main.o $(IFLAGS)

$(TARGET_NAME): $(OBJS)/main.o $(OBJS)/vendor.o $(WREN_LIB)
@echo "==== Linking DOME ($(TAGS)) ===="
$(CC) $(FFLAGS) -o $(TARGET_NAME) $(OBJS)/*.o $(ICON_OBJECT_FILE) $(LDFLAGS)
$(CC) $(CFLAGS) $(FFLAGS) -o $(TARGET_NAME) $(OBJS)/*.o $(ICON_OBJECT_FILE) $(LDFLAGS)
./scripts/set-executable-path.sh $(TARGET_NAME)
@echo "DOME built as $(TARGET_NAME)"

Expand Down
117 changes: 58 additions & 59 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="application-name" content="DOME - Docs">
<meta name="msapplication-TileColor" content="#8d3cff">
<meta name="theme-color" content="#ffffff">
{% seo %}
{% seo %}

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
Expand All @@ -35,73 +35,72 @@
<![endif]-->
</head>
<body>
<div class="wrapper">
<header>

{% if site.logo %}
<img src="{{site.logo | relative_url}}" alt="Logo" />
{% endif %}
<div>
<div class="wrapper">
<header>

<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
{% if site.logo %}
<img src="{{site.logo | relative_url}}" alt="Logo" />
{% endif %}

<p>{{ site.description | default: site.github.project_tagline }}</p>
<p class="view">
<a href="{{ site.github.repository_url }}/releases/latest">
<span>Download the latest version here!</span>
</a>
</p>
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>

{% if site.github.is_project_page %}
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
{% endif %}
<p>{{ site.description | default: site.github.project_tagline }}</p>
<p class="view">
<a href="{{ site.github.repository_url }}/releases/latest">
<span>Download the latest version here!</span>
</a>
</p>

<p class="button">
<a href="https://avivbeeri.itch.io/dome">
<img title="Download DOME from itch.io" src="/assets/badge.svg" class="invert"/>
</a>
</p>
{% if site.github.is_project_page %}
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
{% endif %}

<p class="social">
<a href="https://twitter.com/DOME_Engine"><img title="Twitter" src="/assets/twitter.svg" width="32" />
<a href="https://discord.gg/Py96zeH"><img title="Join our Discord" src="/assets/discord.svg" width="32" />
<p class="button">
<a href="https://avivbeeri.itch.io/dome">
</a>
</p>
<img title="Download DOME from itch.io" src="/assets/badge.svg" class="invert"/>
</a>
</p>

<p class="social">
<a href="https://twitter.com/DOME_Engine"><img title="Twitter" src="/assets/twitter.svg" width="32" />
<a href="https://discord.gg/Py96zeH"><img title="Join our Discord" src="/assets/discord.svg" width="32" />
<a href="https://avivbeeri.itch.io/dome">
</a>
</p>

{% if site.github.is_user_page %}
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
{% endif %}

{% if site.show_downloads %}
<ul class="downloads">
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
</ul>
{% endif %}
</header>
<section>
{% if site.github.is_user_page %}
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
{% endif %}

{% if site.show_downloads %}
<ul class="downloads">
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
</ul>
{% endif %}
</header>
<section>

{{ content }}
{{ content }}

</section>
<footer>
{% if site.github.is_project_page %}
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
</section>
</div>
<footer>
</footer>
</div>
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</footer>
</div>
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</body>
</html>
</body>
</html>
Loading

0 comments on commit b850c05

Please sign in to comment.