Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/gbdev/rgbds-deb

Alright, let's get RGBDS into Debian repositories
https://github.com/gbdev/rgbds-deb

Fix MBC help string

It's called TIMER, not RTC >_<

afbaf10185d1cdc2a8e87e4ca74a3375aca323fb authored over 3 years ago by ISSOtm <[email protected]>
Fix the `STRFMT` documentation in rgbasm(5)

Fixes #886

6a5e2f439e316eff2840ed37df78d6b84e98d1a8 authored over 3 years ago by Rangi <[email protected]>
Specify to update the `release` branch in RELEASE.rst

This is done manually after publishing a release.

fba77c4dce6a6d67eb296feca2b8a1ca492fafe2 authored over 3 years ago by Rangi <[email protected]>
Specify that all .sh files need Unix line endings

The `git config --global --unset core.autocrlf` command
was failing in the "Create release artif...

830df360ae7dd5f045d177c5bc57746a9a6d337e authored over 3 years ago by Rangi <[email protected]>
Release 0.5.1

c75551b1b38befc3eeb2aa7102ff59d4c4ee23be authored over 3 years ago by Rangi <[email protected]>
rgbasm supports "Q16.16" fixed-point literals

"Qm.n" signifies an m-bit two's complement integer
with n fractional bits.
<https://en.wikipedia...

5a38f6e14897f358599e8daf90db1fd701acc1cc authored over 3 years ago by Rangi <[email protected]>
Fix `-Wformat` build warnings on macOS

C arithmetic promotes certain expressions to `int`,
so formatting has to use "%d" or "%x", not i...

869021f47d4de631eca1437f598e7915fe4439b4 authored over 3 years ago by Rangi <[email protected]>
Fix incorrect lexing of "$ff00+c" (#882)

Fixes #881 by moving the task from the lexer to the parser.
This both alleviates the need for b...

c06985a7ad2e91105b50ad07bcb93a29f502ab3b authored over 3 years ago by Eldred Habert <[email protected]>
Update winflexbison to 2.5.24

Updates Bison to 3.7.4, removing support for VS2015
https://github.com/lexxmark/winflexbison/rel...

c50280419287ca259da4620be591f8e1e67285dc authored over 3 years ago by ISSOtm <[email protected]>
Make SECTION size overflow non-fatal

Fixes #538

75f1bcde31d8ac8a865a14f02d5df15c6321ffea authored over 3 years ago by ISSOtm <[email protected]>
Fix all memory leaks in RGBLINK

At least all that were reported in the tests.
Partial fix for #709, that only leaves RGBASM to b...

60b85298a945a07960249f15dab9ef72dbe30219 authored over 3 years ago by ISSOtm <[email protected]>
Rename `out_` functions in section.c to `sect_`

More consistent with convention used everywhere, and makes it easier to
know which file the func...

8bbafb72005ac35899f0a9a5bc7f92ec224f5b60 authored over 3 years ago by ISSOtm <[email protected]>
Make UNION-related errors non-fatal

75ce230dced14c4a622d20e41738474193a8817a authored over 3 years ago by ISSOtm <[email protected]>
Remove LOAD FRAGMENT

It's very troublesome, with flaky semantics and a very restricted use space.

1d012682497e5060df257a12c2a3e3388d43e4ab authored over 3 years ago by ISSOtm <[email protected]>
Avoid performing invalid actions on LOAD errors

These are rejected because they could lead to incorrect behavior,
so then don't do it...

02cb5a0526553259dfc8229f361619bc3d458371 authored over 3 years ago by ISSOtm <[email protected]>
.sym file sorts symbols from zero-length sections first

This will, for instance, ensure that a zero-length
`SECTION "NULL", ROM0[0] / NULL::` comes first.

8397b3d8ecbd4271a3a68f7c118eac3383132d6a authored over 3 years ago by Rangi <[email protected]>
rgblink adjusts patches' PC offsets when merging FRAGMENTs

Fixes #869

296e5489c973cbef5ce92b3c32122f0605126f9b authored over 3 years ago by Rangi <[email protected]>
Output all SECTION UNION/FRAGMENT symbols in .sym files

Fixes #809

9ab9d0f39c3bb9c263a1b117e020edb95c45c5cb authored over 3 years ago by Rangi <[email protected]>
Add TPP1 support

Fixes #846

6e1a5dcc9ddc07fd27b440659f46c3af8a1f6d3e authored over 3 years ago by ISSOtm <[email protected]>
Enable address sanitizer in develop builds (#834)

Co-authored-by: ISSOtm <[email protected]>

d360d03403bd378a3a747289f145eb72317d9bf1 authored over 3 years ago by Jakub Kądziołka <[email protected]>
`OPT L` acts like `-L` and *dis*ables optimizing LD to LDH

Fixes #867

665eb916a204fa559a30648a08272c84a562c41c authored over 3 years ago by Rangi <[email protected]>
Allow `OPT` to toggle `-h`

e9bfe849adfee7d9b7ef2dfef9f1896bda8a5a9b authored over 3 years ago by Rangi <[email protected]>
Fix a potential out-of-bounds array access in RGBGFX

This was caught by ASAN for pokered's gfx/battle/minimize.png.

04788e15af6878c220602d2248b2b8f5182e96a0 authored over 3 years ago by Rangi <[email protected]>
Fix UAF in lexer capture

Fixes #689

dcb8c6966155f556ff186dd21d3fdac610d2baba authored over 3 years ago by ISSOtm <[email protected]>
Add option to list accepted MBC names and clarify man page

Referring to "Pan Docs names" skims over a lot of details.
Add `-m help` to list accepted names ...

cc6b70f1d56a105a2affcf4113eb4b529f1c5baa authored over 3 years ago by ISSOtm <[email protected]>
Make data output outside of a SECTION non-fatal

38a9a613da37d102a13585857bda2b314f8b12c6 authored over 3 years ago by ISSOtm <[email protected]>
Allow dollar-prefixed hex for RGBFIX -m

Fixes #872

ad9a766a56aa6bc4aacad97f4e65462fb182ec54 authored over 3 years ago by ISSOtm <[email protected]>
Reinstate PUSHS clearing the SECTION scope (#870)

* Reinstate PUSHS clearing the SECTION scope

Otherwise you can use `PUSHS` to simulate the ol...

21b59c46519eb80ea48211cae6ab055d487cea57 authored over 3 years ago by Eldred Habert <[email protected]>
Test that RGBFIX does nothing when given no flags

3ffdd5090974da5914d1fea150ed937e440053d3 authored over 3 years ago by ISSOtm <[email protected]>
Parse 'ld hl, sp - <e8>' correctly

Fixes #864

ca36422ac94e1a1313ff508987f494c7ffaa7520 authored over 3 years ago by Rangi <[email protected]>
Allow REDEF for EQU constants

Fixes #853

8e4ba8d2e436a985c77e08212b65dd31157dea3f authored over 3 years ago by Rangi <[email protected]>
Fix REDEF EQUS behavior

Redefining an EQUS constant will now update its filename,
like redefining a SET/= constant.

Att...

ee67f1039cf8a690263dbf485b0c1720341b67d0 authored over 3 years ago by Rangi <[email protected]>
Port some cleanup from the WIP 'strings' branch

This is mostly variable renaming

d37aa93a7d0a0f17da1fe127ae6ec3a3a092477e authored over 3 years ago by Rangi <[email protected]>
Port some cleanup from PR #847

- Update some whitespace formatting
- Factor out some functions
- Free data after outputting to ...

bba532193b80c8ccf2beff68a13d2786f0f31b72 authored over 3 years ago by Rangi <[email protected]>
Updated RGBFIX to report when non-zero bytes are overwritten

Also updated many .err files with the new warning.

b4814b06b95ebc426b2f4c2783fe171d6adc52af authored over 3 years ago by GreenAndEievui <[email protected]>
Clone test repositories with earlier --shallow-since dates

The previous dates were not reliably downloading the
necessary commit IDs for checkout to work.

4ee2eb845b6343ce761126afb5f7926b02b06cb3 authored over 3 years ago by Rangi <[email protected]>
Resolve some TODO comments

- `out_PushSection` should not set `currentSection` to NULL because
PUSHS, PUSHC, and PUSHO co...

3fdf01c0f53297e4e8d2d7a19040abc594d75abf authored over 3 years ago by Rangi <[email protected]>
Tested the ctz and clz shim functions

Their values match the GCC builtins for all
4,294,967,295 nonzero inputs.

1949a61c6fd6577e384bfaeb38d21464c9b43975 authored over 3 years ago by Rangi <[email protected]>
Support Mac OS classic CR line endings in linkerscripts

This also refactors `readChar(file)` to `nextChar()` to be
more like the rgbasm lexer.

43cf20b155f9888b838ef226f348983923992380 authored over 3 years ago by Rangi <[email protected]>
Support character escapes in linkerscript strings

This allows linkerscripts to refer to section names even if
they contain special characters: '\r...

e27a6d53a0219deda031496767e73999bb988b74 authored over 3 years ago by Rangi <[email protected]>
Update the tested commits of pokecrystal, pokered, and ucity (#859)

These are the latest commits as of today. The pokecrystal and
pokered commits use rgbds 0.5.0 f...

d17e9c663e8b52e32c50b22e298a4240c7951b3d authored over 3 years ago by Rangi <[email protected]>
Fix compiler warnings

As reported in #789

dd8f396227fafbfad52002f9eef9e8ff8ae8c4a0 authored over 3 years ago by ISSOtm <[email protected]>
Fix RGBFIX option parsing on platforms with unsigned char

Such as Termux, once again.

b60853ea2184cef66faed4505838e6fa163e4fe0 authored over 3 years ago by ISSOtm <[email protected]>
Enable _ISOC11_SOURCE

See #789

b936ca27abf52b33fc4eba0c2d20692ce374a868 authored over 3 years ago by ISSOtm <[email protected]>
Use `size_t` for measuring nested depths

Multiple functions involve tracking the current depth
of a nested structure (symbol expansions, ...

e050803ed1acab5e378647d66c5da00f4f5fee09 authored over 3 years ago by Rangi <[email protected]>
Parentheses in macro args prevent commas from starting new arguments

This is similar to C's behavior, and convenient for passing
function calls as single values, lik...

27f38770d4860305ef90922743f399eedf52de63 authored over 3 years ago by Rangi <[email protected]>
Correct "| operator" line not including the pipe

db1f77f90b9441671df6382c13a9c5ef54663967 authored over 3 years ago by ISSOtm <[email protected]>
Make failed macro arg expansions non-fatal

Expanding empty strings is valid but pointless;
macro args already skipped doing so, now other
`...

e596dbfc80112c5da0fa8906fc262c63bb6c63c9 authored over 3 years ago by Rangi <[email protected]>
Make invalid UTF-8 characters in strings non-fatal

STRLEN and STRSUB report the erroneous bytes

Fixes #848

4d21588eb27c19a2c69145ab343fc1217cd2f21d authored over 3 years ago by Rangi <[email protected]>
Add test case sort-algorithms.asm

This combines 0.5.0 and post-0.5.0 features:
print and println, strfmt, for loops,
def assignmen...

1aeaca2af602b19c5af2fc2bb2a71934eda2a0d0 authored over 3 years ago by Rangi <[email protected]>
rgbds.7(7) shows an example of piping rgbasm to rgblink to rgbfix

This uses one line instead of three

267e4bc25c951c4817012b4696e81f39d08de321 authored over 3 years ago by Rangi <[email protected]>
Switch from parentheses to angle brackets

`\(` is more likely to be a valid escape sequence in the
future (as is `\[`) and `\{` is already...

fe3521c7a4d8681fe68ea3b139761780c630a563 authored over 3 years ago by Rangi <[email protected]>
More specific "Symbol name too long" error messages

Identifiers, {interpolations} and \<macroArgs> are distinct

c3e27217ddb534a2837c4d6e80fe869d3aca6b08 authored over 3 years ago by Rangi <[email protected]>
Support multi-digit macro arguments in parentheses

This allows access to arguments past \9 without using 'shift'

637bbbdf4312ca6efb6eb4ad6ae4ad7f06d9357e authored over 3 years ago by Rangi <[email protected]>
Support numeric symbol names in \(parentheses)

For example, \(_NARG) will get the last argument

7a314e7aff2a6e9a0f82cc7f98269276fcc167cb authored over 3 years ago by Rangi <[email protected]>
Shorten quine.asm with \(parenthesized) macro args

b0f8d75d1dbabc354aafb56d9a3d37b99e9209c5 authored over 3 years ago by Rangi <[email protected]>
Capture termination status is equivalent to not having reached EOF

This avoids the need for a separate `terminated` flag

a727a0f81f0e56706e13f1ee860116090d566564 authored over 3 years ago by Rangi <[email protected]>
Return a marker token at the end of any buffer

Removes the lexer hack mentioned in #778

7ac8bd6e240618fbfacfe9f0987bf089b7721b9c authored over 3 years ago by Rangi <[email protected]>
Eliminate `isAtEOF` by changing `yylex` control flow

`yylex` calls `yywrap` at the beginning of the next call, after it
has set `lexerState->lastToke...

8230e8165ca159736906e3bb33321800b360b061 authored over 3 years ago by Rangi <[email protected]>
Use midrule action values for captures' terminated status

Bison 3.1 introduces "typed midrule values", which would write
`<captureTerminated>{ ... }` and ...

7a587eb7d624d717d4af44682f59c4c39fc83392 authored over 3 years ago by Rangi <[email protected]>
Track nested interpolation depth even outside string literals

Fixes #837

be2572edca1eb97f5ca801d4e4380e757b04f314 authored over 3 years ago by Rangi <[email protected]>
Make the `len` parameter optional in `STRSUB(str, pos, len)`

An unspecified length will continue to the end of the string.

dc5b7802c873ce2549e7443d2250e9eed73e1367 authored over 3 years ago by Rangi <[email protected]>
Position -1 is the last character of a string

Position 0 is invalid, which matches with STRIN/STRRIN
returning 0 on failure.

cf2bbe6435b643660c747a3e170b18baa20e3000 authored over 3 years ago by Rangi <[email protected]>
STRSUB and CHARSUB allow zero or negative positions

These are offsets from the end of the string, as if the
STRLEN or CHARLEN respectively were adde...

b1e6c7319792afa6aeda51fd83b891497dcccc4c authored over 3 years ago by Rangi <[email protected]>
Update some whitespace after Hungarian prefixes were removed

Keep the parameter alignment and 100-char line limit

459773b3f0b26144e3756d9e510cca10f846ef15 authored over 3 years ago by Rangi <[email protected]>
Get rid of Hungarian notation for good

Bye bye it was not nice knowing ya

6d0a3c75e9a79acec82fc1cae3e97fc6ba0b9d8e authored over 3 years ago by ISSOtm <[email protected]>
Avoid generating CRLF'd release tarballs

Fixes #841

e35585960c5b814a00e216fdc6f7fa1503134250 authored over 3 years ago by ISSOtm <[email protected]>
Only update documentation for gbdev/rgbds

Prevent the relevant GitHub Actions from running on forks

3bea7930a9ac84528f737940219fc1c5efc2895a authored over 3 years ago by Rangi <[email protected]>
Implement SIZEOF("Section") and STARTOF("Section") (#766)

Updates the object file revision to 8

Fixes #765

52797b6f68bd470d538f5b12dff1c716eea4db09 authored over 3 years ago by Rangi <[email protected]>
Implement CHARLEN and CHARSUB

Fixes #786

2005ed1df9a6abfbb693889129af15f78569282e authored over 3 years ago by Rangi <[email protected]>
Let charmap_ConvertNext advance its output pointer

5108c5643cbcab4463c831c44c83a18298edf4cc authored over 3 years ago by Rangi <[email protected]>
Allow OPT to modify -W

Warning flags are processed individually;
PUSHO and POPO (re)store all the warning states.

d43408f4f3dc7b8375e43ea5de77075726dcecfc authored over 3 years ago by Rangi <[email protected]>
Allow OPT to modify -L

-L is a Boolean flag option, so you specify 'OPT L' or 'OPT !L'.

2c30ab8731ab1b9f3880b1a8f55e49abe2b625e9 authored over 3 years ago by Rangi <[email protected]>
Release v0.5.0

432c769d604a481bdb96e9f13c53289ed5028b0b authored over 3 years ago by ISSOtm <[email protected]>
Fix expansions that start from the end of another expansion (#839)

Do not free an expansion until its offset is *past* its size.
This means potentially freeing a ...

9923fa3eee8924d1fd49117bcbd9339e17a1a241 authored over 3 years ago by Rangi <[email protected]>
Further simplify formatting code

- Remove redundant length checks before `memcpy`
- Coerce `sign` and `prefix` to boolean for `nu...

750e93be3de46f50220ce4920f064380ec9b704f authored over 3 years ago by Rangi <[email protected]>
Fix interpolation/STRFMT overflow issues (#838)

Widths and fractional widths greater than 255 would overflow a
uint8_t and wrap around to small...

ee5da4468d061b5fa0f321643cec35b42aecbcdd authored over 3 years ago by Rangi <[email protected]>
Revert "Fix interpolation/STRFMT overflow issues"

This reverts commit 992be3fd9bd5fd62d2955bb494e14ce5e47c73d4.

503c3b53649cc74218b281c35ff423d1fbdf83bf authored over 3 years ago by Rangi <[email protected]>
Fix interpolation/STRFMT overflow issues

Widths and fractional widths greater than 255 would overflow a
uint8_t and wrap around to smalle...

992be3fd9bd5fd62d2955bb494e14ce5e47c73d4 authored over 3 years ago by Rangi <[email protected]>
`readIdentifier` does not process characters that get truncated

Previously a '.' could be past the truncation limit but still
cause the identifier to be marked ...

c755fa3469af9c4179b36f7b06ef54a95b8eafeb authored over 3 years ago by Rangi <[email protected]>
`readInterpolation` is limited by `nMaxRecursionDepth`

Fixes #837

e78a1d5bfd2840fa94c6a4c75a4e3aabeb904b70 authored over 3 years ago by Rangi <[email protected]>
Remove unused function `hash_ReplaceElement`

d2f6def2eb6da8b16b90f0bba95ace24b45d255b authored over 3 years ago by Rangi <[email protected]>
Make tests work on NixOS

Some distributions, such as NixOS and Guix, only have the /bin/sh and
/usr/bin/env binaries in s...

1ffd7cb5bbf1920ac6b51f39e7e2df59b7a787a7 authored over 3 years ago by Jakub Kądziołka <[email protected]>
charmap: Store hashmap nodes in charmap stack

This helps update all the pointers during reallocation.

215e26b478c1cbf5a5d5dd86e7ee027072acaaac authored over 3 years ago by Jakub Kądziołka <[email protected]>
hashmap: add hash_GetNode

f97663aa375e4220ca9c78f4b3215e987384dfac authored over 3 years ago by Jakub Kądziołka <[email protected]>
Don't report hashmap collisions

This doesn't seem to be very useful, and keeping this "feature" is
difficult.

5334fc334e610b34c781891ea52072067d5f8b88 authored over 3 years ago by Jakub Kądziołka <[email protected]>
hash_AddElement: return the new node

8885f7bcf656626baeb0c4bcdf5239aea594efcf authored over 3 years ago by Jakub Kądziołka <[email protected]>
Add an .editorconfig

This automatically sets up the formatting settings in a number of
editors, regardless of the use...

08bdbd1949ee356acbc3f218f47bc8918ef4eff3 authored over 3 years ago by Jakub Kądziołka <[email protected]>
Store the nested expansions starting from the deepest one (#829)

This shortens the lexer by 100 lines and simplifies
access to expansion contents, since it usua...

5c852c76515c2a1cc73d7dd91ec294324622eef6 authored over 3 years ago by Rangi <[email protected]>
`peek(0)` => `peek()`

This does not completely refactor `peek` as #708 suggested,
to make it shift and cache a charact...

eba06404f036f17819b6a51e01bd246ef993f7d2 authored over 3 years ago by Rangi <[email protected]>
Lex `$ff00+c` without needing large `peek` lookahead

This also allows arbitrary amounts of whitespace in `$ff00 + c`,
instead of needing to fit in th...

260d372acd761f6310339a91f1cb1a7ce25e1805 authored over 3 years ago by Rangi <[email protected]>
Get rid of `skip` in struct Expansion

This was only used to skip the two macro arg characters,
but shiftChar() can skip them before th...

8c90d9d2d70c3f7872730c467d3151704f06bcb5 authored over 3 years ago by Rangi <[email protected]>
`shiftChars(1)` => `shiftChar()`

Only two sites were for distances greater than 1:
a `shiftChars(2)`, trivial to just do two `shi...

9558ccea1bb2e8af593cfe8f26e541731318ce3a authored over 3 years ago by Rangi <[email protected]>
LexerState's 'size' and 'offset' for mmapped files are unsigned

These were using signed 'off_t' because that is the type of
'st_size' from 'stat()', but neither...

6be3584467ee5b56d7c7f857f8cbc70cd460d411 authored over 3 years ago by Rangi <[email protected]>
expansionOfs cannot be negative

lexerState->expansionOfs is always either set to 0, or updated by
adding a positive quantity:

...

f69e666b00dcfc6cde763100af4049c50610f2dc authored over 3 years ago by Rangi <[email protected]>
Rephrase CONTRIBUTING.rst

Fix #729

4e1b0ce7930fc7201a42ca17669e81d088d0c5b2 authored over 3 years ago by Rangi <[email protected]>
Document the release process in RELEASE.rst

Fix #718

363ee9578c6bfe11b5adb34952bfe65b3ddef717 authored over 3 years ago by Rangi <[email protected]>
Mention alternative mnemonics in gbz80(7)

Fixes #819

8fa5a4255e93fd7a3eeec24e69ae4e90ec7696b4 authored over 3 years ago by Rangi <[email protected]>
Use a `lookupExpansion`, but not as an X macro

Instead of defining `LOOKUP_PRE_NEST` and `LOOKUP_POST_NEST`,
pass a variable name and a block t...

b3312886fb4b40ac4cb806d1a1410da35980c870 authored over 3 years ago by Rangi <[email protected]>
Refactor the lexer to not use the `lookupExpansion` X macro

This macro was only used twice, in `beginExpansion` and
`lexer_DumpStringExpansions`, with `getE...

7fc8a65d0a428f8ee6978619ad4bd5b0acb64749 authored over 3 years ago by Rangi <[email protected]>