aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-12 20:15:42 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:57:02 +0200
commitcc3458eab0c058e9a57ea64183e07958c39a0afb (patch)
treedf1cf47f7673e6f990f80f1601a9a0187e3cd375
parentfdd4590cb2f34e7221ae7dd0422d73bc3fab69fc (diff)
docs: add changelog
-rwxr-xr-x.chglog/CHANGELOG.tpl.md31
-rwxr-xr-x.chglog/config.yml26
-rw-r--r--CHANGELOG.md47
3 files changed, 104 insertions, 0 deletions
diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md
new file mode 100755
index 0000000..5e88feb
--- /dev/null
+++ b/.chglog/CHANGELOG.tpl.md
@@ -0,0 +1,31 @@
+{{ if .Versions -}}
+## Unreleased
+
+{{ if .Unreleased.CommitGroups -}}
+{{ range .Unreleased.CommitGroups -}}
+### {{ .Title }}
+{{ range .Commits -}}
+- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
+{{ end }}
+{{ end -}}
+{{ end -}}
+{{ end -}}
+
+{{ range .Versions }}
+## {{ .Tag.Name }} - {{ datetime "2006-01-02" .Tag.Date }}
+{{ range .CommitGroups -}}
+### {{ .Title }}
+{{ range .Commits -}}
+- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
+{{ end }}
+{{ end -}}
+
+{{- if .NoteGroups -}}
+{{ range .NoteGroups -}}
+### {{ .Title }}
+{{ range .Notes }}
+{{ .Body }}
+{{ end }}
+{{ end -}}
+{{ end -}}
+{{ end -}} \ No newline at end of file
diff --git a/.chglog/config.yml b/.chglog/config.yml
new file mode 100755
index 0000000..a740429
--- /dev/null
+++ b/.chglog/config.yml
@@ -0,0 +1,26 @@
+style: none
+template: CHANGELOG.tpl.md
+info:
+ title: CHANGELOG
+ repository_url: https://git.hampusmat.com/game-of-life
+options:
+ commits:
+ filters:
+ Type:
+ - feat
+ - fix
+ - perf
+ commit_groups:
+ # title_maps:
+ # feat: Features
+ # fix: Bug Fixes
+ # perf: Performance Improvements
+ # refactor: Code Refactoring
+ header:
+ pattern: "^(\\w*)\\:\\s(.*)$"
+ pattern_maps:
+ - Type
+ - Subject
+ notes:
+ keywords:
+ - BREAKING CHANGE
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..8708b35
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,47 @@
+## Unreleased
+
+### Feat
+- add current mode to statusline
+- add reading RLE files
+- implement command mode
+- add ability to change generation speed
+- add deleting cells
+
+### Fix
+- add statusline length check
+- prevent A, B, C & D from being interpreted as arrow keys
+- prevent birth cells from trespassing statusline
+- prevent statusline heap buffer overflow
+- index cursor x position from 0
+- prevent update position in statusline on cursor move fail
+- prevent ignoring generation update speed
+
+### Perf
+- decrease update speeds
+
+
+## v0.1.0 - 2022-06-07
+### Feat
+- implement game of life
+- add incrementing generation
+- add update speed monitoring
+- add update speed limit
+- implement generations & multithreading
+- add inserting cells
+- make status bar visible from game start
+- add status bar background color
+- add status bar
+- add moving cursor
+- add input handler & quitting with 'q'
+- add basic program stuff
+
+### Fix
+- change input handler subscribers size type name
+- resolve statusline overlap bug
+- use climits instead of limits in input header
+- change move cursor argument to non-const reference
+- stop segfault caused by game ctor
+
+### Perf
+- add noexcept almost everywhere
+