]> localhost Git - test.git/log
test.git
4 hours agoreduce heap size to 128k main
Gary Moore [Wed, 26 Aug 2026 20:56:33 +0000 (21:56 +0100)]
reduce heap size to 128k

We only ever actually use 3k of the static arena. 128k is many times
more than enough. This has absolutely no bearing on any kind of perf
features, it's just a bit of tidiness that makes me feel happy lol.

2 days agogit rid of the .DS_Store stuff
Gary Moore [Mon, 24 Aug 2026 18:47:22 +0000 (19:47 +0100)]
git rid of the .DS_Store stuff

Ahh, forgot macOS squirts this stuff everywhere if you do anything with
finder.

2 days agoadd my personal lib stuff to c template
Gary Moore [Mon, 24 Aug 2026 18:39:45 +0000 (19:39 +0100)]
add my personal lib stuff to c template

3 days agorefactoring work
Gary Moore [Sun, 23 Aug 2026 22:04:45 +0000 (23:04 +0100)]
refactoring work

A more general templating process is now in place. The initial stab at
this was not scaling well at all. We now just take a list of files to
template, and a list of substitutions, and construct template classes
with this.

The end result is significantly less hacky, I am happy. :)

2 weeks agoadd C support for Basic template
Gary Moore [Sat, 8 Aug 2026 09:42:11 +0000 (10:42 +0100)]
add C support for Basic template

7 weeks agoadd to todos
Gary Moore [Mon, 6 Jul 2026 17:46:33 +0000 (18:46 +0100)]
add to todos

7 weeks agoadd attribution for figlet font file
Gary Moore [Mon, 6 Jul 2026 16:55:32 +0000 (17:55 +0100)]
add attribution for figlet font file

7 weeks agoimplement figlet like functionality
Gary Moore [Sat, 27 Jun 2026 10:15:21 +0000 (11:15 +0100)]
implement figlet like functionality

2 months agoupdate usage example in README and add required deps
Gary Moore [Fri, 26 Jun 2026 13:28:41 +0000 (14:28 +0100)]
update usage example in README and add required deps

2 months agoadd figlet readme templating to Library project type
Gary Moore [Fri, 26 Jun 2026 10:35:32 +0000 (11:35 +0100)]
add figlet readme templating to Library project type

Same as what we did previously pretty much. Probably coming up to time
for a bit of code compression.

2 months agouse unix style flags
Gary Moore [Fri, 26 Jun 2026 10:30:29 +0000 (11:30 +0100)]
use unix style flags

I just like this better to be honest. Odin style flags leaks what
programming language is used for this project in a way.

2 months agoadd templating for README with figlet
Gary Moore [Fri, 26 Jun 2026 10:23:58 +0000 (11:23 +0100)]
add templating for README with figlet

Using figlet, we generate the title of the README, and there's an
optional -description flag for a description to be used in the README.

2 months agouse []string instead of string for exec
Gary Moore [Thu, 11 Jun 2026 19:20:32 +0000 (20:20 +0100)]
use []string instead of string for exec

2 months agoadd clean task to makefile templates
Gary Moore [Thu, 11 Jun 2026 18:23:32 +0000 (19:23 +0100)]
add clean task to makefile templates

2 months agoadd additional plans
Gary Moore [Thu, 11 Jun 2026 18:23:32 +0000 (19:23 +0100)]
add additional plans

2 months agoadd library template
Gary Moore [Thu, 11 Jun 2026 18:08:33 +0000 (19:08 +0100)]
add library template

2 months agoimprove jj error reporting
Gary Moore [Tue, 9 Jun 2026 20:33:33 +0000 (21:33 +0100)]
improve jj error reporting

We weren't doing error reporting here despite this being the most likely
area of the app to fail! Now we just print what if anything went wrong.
No need to crash, we can let subsequent commands run and report any
failures caused by a previous issue.

2 months agoadd CI template plan to PLANS file
Gary Moore [Tue, 9 Jun 2026 19:30:14 +0000 (20:30 +0100)]
add CI template plan to PLANS file

2 months agoadd future plans section
Gary Moore [Tue, 9 Jun 2026 19:28:56 +0000 (20:28 +0100)]
add future plans section

Not hard plans, more like soft plans that I *might* get around to but
probably not lol.

2 months agoadd -with-jj option
Gary Moore [Tue, 9 Jun 2026 19:25:15 +0000 (20:25 +0100)]
add -with-jj option

Now if you use the -with-jj option, we will go ahead and do the
following:

- Create a new jj repo
- Add the initial commit
- Create a named "main" branch
- Add a sourcehut remote
- Track the main branch to sourcehut remote
- Finish on a new empty, unnamed commit

Figured may as well have the option, probably something I'll want every
time. Maybe it should be enabled by default with an explicit disable...

2 months agonest small helper function
Gary Moore [Tue, 9 Jun 2026 18:22:28 +0000 (19:22 +0100)]
nest small helper function

Figured it's clearer when the code is near the call sites rather than
somewhere else in the codebase.

2 months agoadd better file write error handling
Gary Moore [Tue, 9 Jun 2026 18:14:01 +0000 (19:14 +0100)]
add better file write error handling

When we write out the template files to disk, if any of them fail, we
now just remove the created directory outright. Figured it's a bit nicer
to do this.

2 months agoadd temp allocator to top of main
Gary Moore [Tue, 9 Jun 2026 18:00:45 +0000 (19:00 +0100)]
add temp allocator to top of main

I know this is a bit pointless when the OS reclaims this memory anyway,
but it's nice to be pedantically tidy sometimes.

2 months agocompleted template generator
Gary Moore [Tue, 9 Jun 2026 16:54:59 +0000 (17:54 +0100)]
completed template generator