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

Remove the unused `calchash` djb2 hash function

Note that hashmap.c uses its own FNV-1a hash function

c278a361dadead172322198c8e325e8444b8b047 authored over 3 years ago by Rangi <[email protected]>
Report garbage chars as their bytes; don't try decoding them as UTF-8

This decoding required high lookahead, and was not even
consistently useful (the `garbage_char` ...

850c78aaf47a167e64a01aa1dc07bbe558a7c282 authored over 3 years ago by Rangi <[email protected]>
Change how `print(c)` formats reported characters

Printable ASCII becomes single-quoted, using backslash
escapes if necessary. Unprintable charact...

ab79e6bede3342cfb79485cac29eb7c5651997b4 authored over 3 years ago by Rangi <[email protected]>
Rename `print` to `printChar`

This clarifies its usage, for printing a single character
in error messages.

a2f52867ad6e4cbdef43f4c28a57a5fba73417d5 authored over 3 years ago by Rangi <[email protected]>
Remove 'inline' from functions not in headers

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

25a8518fbf9e664394ad859e4b99377bb0cbce4b authored over 3 years ago by Rangi <[email protected]>
Define the UTC time components as EQU, not EQUS

Fixes #827

49174f4486b9ac85d949a5d11a3a361a37558e57 authored over 3 years ago by Rangi <[email protected]>
Merge branch 'master' of https://github.com/gbdev/rgbds

81327b0d993f9800423edbc086ec3e6b8e13d140 authored over 3 years ago by Rangi <[email protected]>
fstk_FindFile checks for sprintf failure

c0859e64f71a603be9feacd55dceaabdf7b45519 authored over 3 years ago by Rangi <[email protected]>
Fix an unclosed file and unfreed memory in out_BinaryFileSlice

Use 'goto cleanup' in both out_BinaryFileSlice and out_BinaryFile

3e0b7d428f7a600ab9d899996176a2b514b116e2 authored over 3 years ago by Rangi <[email protected]>
Add contact info for potential contributors

I'm going on a break, but I'll stay available if anyone wants to contribute.

ba3428314bcf5ef36ef2882d4b0a643dcfe7d8f0 authored over 3 years ago by ISSOtm <[email protected]>
Define `__RGBDS_VERSION__` as the output of `rgbasm --version` (sans "rgbasm")

Fixes #824

bcb78f5d186592d66127f7f07e6c85d059f7ccb9 authored over 3 years ago by Rangi <[email protected]>
Add assertion that an expansion's total len doesn't overflow

Typically not needed because the recursion depth limit should prevent it,
but it might help debu...

de7d1facf3609165bb8b8bb96e19022ef4f46dfc authored almost 4 years ago by ISSOtm <[email protected]>
Comment on REG_SP and REG_AF both being 3

No instruction needs to distinguish them both

310d34c655cd06dfdc579e29b4c1e3f831f8bd66 authored almost 4 years ago by Rangi <[email protected]>
Add a test case for unattainable SECTION UNION alignment

This test cases used to fail an assertion in `make develop`

39c38f98387c3b8ad0a285c8cb5948f101d37ce3 authored almost 4 years ago by Rangi <[email protected]>
Fix unattainable alignments to address 0

Fixes #818

576b063519f1b0ca8b60471314e376dea6fda73f authored almost 4 years ago by Rangi <[email protected]>
Factor out a common `strlen` into `beginExpansion`

This avoids the possibility of `size` not matching `str`

596e17ee61ea020a218d2885d86af195f088d8c6 authored almost 4 years ago by Rangi <[email protected]>
Flush stdout after PRINTLN

This allows debug PRINTLN statements to run even if
subsequent rgbasm directives cause a crash.

363b3d01341f3511b9316a78c7686e15901e5d66 authored almost 4 years ago by Rangi <[email protected]>
Do not expand empty strings

Fixes #813

c7ed9a275e793e9f6509cc6e900cb5d1c659c6b1 authored almost 4 years ago by Rangi <[email protected]>
Warn about backwards FOR loops with -Wbackwards-for (-Wall)

Fixes #816

49aac2961d01a395d60b6eeeb7467021b43498f6 authored almost 4 years ago by Rangi <[email protected]>
Speed up the `div-mod` test case

Test various explicit cases, not nested `for` loops
over thousands of cases

3741bd46171a143c5549422e8f55a2933b59eb97 authored almost 4 years ago by Rangi <[email protected]>
Robustly disallow overwriting builtin symbols (#817)

937c9888a4ed4269ee9d9f7ad4d697649b7f0ad1 authored almost 4 years ago by Jakub Kądziołka <[email protected]>
Some tests use the new `macro <name>` syntax

This happens to make quine.asm shorter

61a9bfd33cf9e620a39c337291adc69b9558ff57 authored almost 4 years ago by Rangi <[email protected]>
Handle errors when opening source file

Before this commit, opening a file for which the user didn't have
permission resulted in a "Bad ...

d08bcc455d372662ec687897ef46c1a3a299e5e9 authored almost 4 years ago by Jakub Kądziołka <[email protected]>
Require a plus sign in `ld hl, sp + <e8>`

Fixes #810

aaa92659ea2bb5d645392fa9c86fe82e020042b7 authored almost 4 years ago by Rangi <[email protected]>
Remove support for `ld bc/de/hl/sp` for `ld hl, bc/de/hl/sp`

Fixes #811

be877134e56b0ccf0293202d75dc6416311900c7 authored almost 4 years ago by Rangi <[email protected]>
Release 0.5.0-rc2

d05703c6925cc08e1827fffb52124262c5f97f19 authored almost 4 years ago by Rangi <[email protected]>
Update man page copyrights to 2021

5dbfafcc551cfe3513f124f1ecd34a96d44062b4 authored almost 4 years ago by Rangi <[email protected]>
Report "1 error", not "1 errors", when assembly is aborted

This matches other such pluralized error messages

a265b85d9dabc026778b3ef42de08d6ff5bcd2b6 authored almost 4 years ago by Rangi <[email protected]>
Output USED space, not FREE space, in the .map file

Fixes #808

28abf03c0a20ab47fee16c366539579434ae88ca authored almost 4 years ago by Rangi <[email protected]>
Assign section locations to all UNIONs/FRAGMENTs

Fixes the test case from #800

The `out.gb` output was corrected, since the two "test"
fragments...

7e7f92f18c38cbb755c6c067e42efa19655cd5b1 authored almost 4 years ago by Rangi <[email protected]>
Add LOAD FRAGMENT pc test (#800)

Reproduces a reported problem, fix pending

746117095688be84f9f4611f14d42644bf761776 authored almost 4 years ago by Eldred Habert <[email protected]>
Merge pull request #804 from Rangi42/normal-backslash

Backslash in normal lexer mode must be a line continuation

57d966d6e00a94fe54d335cec750034af08c892a authored almost 4 years ago by Rangi <[email protected]>
Backslash in normal lexer mode must be a line continuation

Macro args were already handled by `peek`, and character escapes
do not exist outside of string ...

17752d7094e74752d5fc1efb2fc81f7efb3e5a2e authored almost 4 years ago by Rangi <[email protected]>
Init top-level fstack node line number

It still gets written to the object file, generating Valgrind warnings
about using uninitialized...

4216f0a9b0bd08d66ecb50e453d22a5d8c23da6b authored almost 4 years ago by ISSOtm <[email protected]>
Remove hashmap collision warning

It was only used to check hashmap collision rate in the wild,
but it no longer has a purpose and...

e3fde986ad8665000c0cfcb817c9034334cfdc93 authored almost 4 years ago by ISSOtm <[email protected]>
Do not evaluate an untaken ELIF's condition

Fixes #764

aa99ed056c44b93449c3333e104858009bde357d authored almost 4 years ago by Rangi <[email protected]>
Fix missing .sym/.map symbols in SECTION UNION/FRAGMENTs

Only the first "slice"'s symbols were considered, forgetting some symbols

46d6652df110b62ea1fcbc21400bb50937457e76 authored almost 4 years ago by ISSOtm <[email protected]>
Install groff to build PDFs correctly in CI

5406674cdd3f4be6d4abf9ef523fa116b08f54e7 authored almost 4 years ago by ISSOtm <[email protected]>
Make docs update script also produce PDFs

See rgbds-www#12

5d2e2e21828762c97313758d4e7d344bd044a6e2 authored almost 4 years ago by ISSOtm <[email protected]>
Replace UTF-8 hyphens with ASCII ones in man pages

a929f36bc52523a96c99e4268a0d230c41e9ba03 authored almost 4 years ago by ISSOtm <[email protected]>
Use sub-sections for the different symbol types

This will make them appear in the ToC, and generate HTML anchors for them

bdb84a901f648f94fda80db098f48aac3a96ac4c authored almost 4 years ago by ISSOtm <[email protected]>
Revise rgbasm(5) string symbol documentation

Clarify the differences between EQUS expansion and {interpolation}

093631ca0b0c3a0db9e161d105c8b9fcac9e660e authored almost 4 years ago by Rangi <[email protected]>
New definition syntax with leading DEF keyword

This will enable fixing #457 later once the old
definition syntax is removed.

b8093847dcbb4815d832ef741da58f6302ee735c authored almost 4 years ago by Rangi <[email protected]>
Don't expand string symbols in MACRO and FOR symbol names

Explicit {interpolation} can still achieve this, but
to match DEF, REDEF, and PURGE, these new d...

7e127a4e52118fe469e70b6f1980ca18c42822d4 authored almost 4 years ago by Rangi <[email protected]>
rgblink identifies patches' PC sections after reading all sections

Fixes #794

8d1b56bcf5c1db3442a6ef6e8dc9d0e08d8b9689 authored almost 4 years ago by Rangi <[email protected]>
Fix description of rgbgfx -h

The old description was backwards and mostly confusing.

5fb7fcf4612736bf223f2164494d4db28a772d31 authored almost 4 years ago by ISSOtm <[email protected]>
Add a missing newline to a verbosePrint

ee900ae7a352cb6e98038f9d5faa1b32905e8d0b authored almost 4 years ago by Rangi <[email protected]>
Fix verbose messages claiming non-existent errors

They were confusing when trying to debug other things

3ca58e13dcba212bcd024ab172b09bfa712854fb authored almost 4 years ago by ISSOtm <[email protected]>
Add verbose messages for early exit from -MG

Should help debugging Make invocations

aaa4e174541bb34bea38c02cb39839f6ed4e16eb authored almost 4 years ago by ISSOtm <[email protected]>
Alignment mask was incorrectly checked for 1 instead of 0

This caused an `ALIGN[1]` to be ignored.

a81d383f752e3c1a38f79d13bd31486a04261895 authored almost 4 years ago by daid <[email protected]>
Fix a bunch of Clang warnings

As reported by #789
Should avoid relying on 32-bit int (for implicit conversions)
and account fo...

60019cf47611ff85608ba8f91bc50961cd9a7f33 authored almost 4 years ago by ISSOtm <[email protected]>
Fix master documentation updater

Its path was not synced with a recent change

5a6a44cbc1c38faf001ba4da5a6a7ec97667e293 authored almost 4 years ago by ISSOtm <[email protected]>
Add forgotten __RGBDS_RC__ symbol

b61a187b1950bb3a48a3cf920ed0f019104cc000 authored almost 4 years ago by ISSOtm <[email protected]>
Release 0.5.0-rc1

6382f136477b4658b7cc13b6f2a444f5e44f2368 authored almost 4 years ago by ISSOtm <[email protected]>
Make some INCBIN errors non-fatal

714d39c86ff4115f9d1a413bfd0ef41bc5f6353f authored almost 4 years ago by ISSOtm <[email protected]>
Change the start position check on INCBIN

Currently INCBIN gives an error if your start position == file size.
This means you cannot inclu...

cb47ac8b9750fb91036fbba2e515e4333fff7339 authored almost 4 years ago by daid <[email protected]>
Add INCBIN tests

f11241c2aea6d1ca5b2825786e0458a1aa7f3008 authored almost 4 years ago by ISSOtm <[email protected]>
Prepare release candidates

We'll use "-rcX" instead of "-pre" to allow multiple ones, jic
Additionally, they will be able t...

028e7af7d161550973faec64d839372171b8e9bf authored almost 4 years ago by ISSOtm <[email protected]>
Compute fallback version string at compile time

e141da1d9456ecb57357d4881045ec5728ea6ec0 authored almost 4 years ago by ISSOtm <[email protected]>
Add workflow to auto-prepare a release

Just push a tag beginning with "v" and a number to trigger it

35367282e44167afd63ccc271b39ac3446022d06 authored almost 4 years ago by ISSOtm <[email protected]>
Make release doc update also register docs

e9d9a44687c94c1036601f72a5ea0fc15a9aad5c authored almost 4 years ago by ISSOtm <[email protected]>
Fix release doc creation workflow

4c0fa6732e6f56979924b1a4299ca3f811ecfba6 authored almost 4 years ago by ISSOtm <[email protected]>
Ignore CRLF vs LF for syntax error test check

611bd46e0b9ab647a57f9ef0ecb38ad67370be0c authored almost 4 years ago by ISSOtm <[email protected]>
Delete version test if stale

e67254093ef2b5fce2842a2e74e06e7a45fd1da9 authored almost 4 years ago by ISSOtm <[email protected]>
Explicitly force tested projects to use tested bins

3ce3d2f6626e95ccda872a8f30b27333841ad628 authored almost 4 years ago by ISSOtm <[email protected]>
Ignore DLLs too

Since you may want to put them next to the EXEs here

3da9d810714ebe9f4f750d06d22a5da08ab8f494 authored almost 4 years ago by ISSOtm <[email protected]>
Swap the Name and Type columns in Predeclared Symbols

88646093ca5562aed4fc949d6e8e0206c627c7a2 authored almost 4 years ago by Rangi <[email protected]>
windows-xbuild CI uses ubuntu-18.04 for its gcc 7.3.0 (#784)

GitHub's ubuntu-18.04 environment installs gcc 7.3.0.
The latest ubuntu-20.04 environment insta...

0a0427afbbbdc40b87d3b69fad56f091cae89ff3 authored almost 4 years ago by Rangi <[email protected]>
Clarify the character encoding example in rgbasm.5

88048cdcd7893e01c4fd69ef89207fb7b2e70413 authored almost 4 years ago by Rangi <[email protected]>
Report slack totals at the end of the .map file (#781)

Fixes #777

c878ff8775ddf9c31877e52fdc3ded3762df860c authored almost 4 years ago by Rangi <[email protected]>
rgbasm(5): Clarify charmap behavior (#558)

a4049a3f1b58bbc699b86808bb2fe6dcb692fefc authored almost 4 years ago by dannye <[email protected]>
Test an indented anonymous label

8a75cc50518d3d7bad9f7110fa2d13bf3ccc74a4 authored almost 4 years ago by Rangi <[email protected]>
Comment refers to "built-in" symbols

b674c5fcaa93b32fdffe419672c222596cdf74d9 authored almost 4 years ago by Rangi <[email protected]>
Put all local symbols in object/sym/map files (#774)

* Store all the local symbols in object files, not only the ones that need linker patches.
Th...

a6d3df7ac9ec97bd53816c6f61e8b006542e9cf8 authored almost 4 years ago by daid <[email protected]>
Factor out handleCRLF()

This logic repeats ten times

365484ef1898a392d7a201de313a0f93e74ff5bf authored almost 4 years ago by Rangi <[email protected]>
Factor out a 'plain_directive' parser rule similar to the reverted 'last_line'

Also expand on the comment explaining how the EOF-newline hack affects the parser

5e2bd352395584264d22660da2070cf1c527bdcf authored almost 4 years ago by Rangi <[email protected]>
Restore the "EOF-newline" lexer hack

This was removed in b3c0db218d564bbc9a801d8635591fd969c36e82
(along with two unrelated changes)....

6655e04ef01bd78acd01f5d9efca4d50340b0a0f authored almost 4 years ago by Rangi <[email protected]>
Add tests for certain directives at EOF without a newline

40c6b840f8078f6a4ac494d30c638696a115f3e2 authored almost 4 years ago by ISSOtm <[email protected]>
Fix error-related issues (#773)

* Mark `error` as a `format` function, to properly scan its format

* Fix the call to error() ...

5d6e0677d908ec67dc64038114b910b2bb73d62f authored almost 4 years ago by daid <[email protected]>
Make the "db/dw/dl directive without data in ROM" warning more specific

Also use uppercase for DB/DW/DL to be consistent

c637447d5db263820b45aba8af08d6eb3b241d9f authored almost 4 years ago by Rangi <[email protected]>
Allow trailing commas in bare lists

This applies to macro arguments, DB, DW, DL, DS,
PRINT, PRINTLN, EXPORT, PURGE, and OPT.

It als...

56071599e78bd1a437633ff967c01a4fd0919f37 authored almost 4 years ago by Rangi <[email protected]>
Rename math.c/mymath.h to fixpoint.c/.h

This also changes the functions' prefix
from "math_" to "fix_".

0774f5eb9d07a83600b10282a02a07e24bb9eb01 authored almost 4 years ago by Rangi <[email protected]>
Refactor some math functions into a shared file for rgbasm and rgblink

Fixes #769

Fixes #770

ac2cefdd8765e3daafea8eba405fc50e63626aaa authored almost 4 years ago by Rangi <[email protected]>
Refactor part of getSection into createSection

getSection validates its parameters and calls
either mergeSections or createSection.

76d88629009d98292890804161ecb7e455f0751f authored almost 4 years ago by Rangi <[email protected]>
Trim right whitespace from macro args before warning about length

1f579deaffe0d3d1035d46ac3bb2cbbf0002c9a4 authored almost 4 years ago by Rangi <[email protected]>
append_yylval_tzString should always evaluate its argument

Fixes #762

63d15ac8c901cab95c3d37abad2a97c7020a61d7 authored almost 4 years ago by Rangi <[email protected]>
Allow empty macro arguments, with a warning

Fixes #739

1dafc1c762b4ea50030272775e0ca217fe93c0c0 authored almost 4 years ago by Rangi <[email protected]>
Support /* block comments */ in macro arguments

Fixes #746

fad48326f833b7b282d76d1b79f0dc3b3ecc8d04 authored almost 4 years ago by Rangi <[email protected]>
Fix linking tiny overlay files (#755)

* Fix compatibility of rgblink -O and -t

The -t "tiny mode" option makes ROM0 cover 0x8000 by...

e7d6ddf5935196c598165afecdeac035a106dc17 authored almost 4 years ago by Rangi <[email protected]>
Support 'MACRO mac' as well as 'mac: MACRO' for defining macros

The new syntax is used in documentation, but
the old syntax is not yet deprecated.

953f79c0d96d8181ca4b854f97ad4bdc5ef79ef3 authored almost 4 years ago by Rangi <[email protected]>
Disallow "." as a local label

Fixes #760

3c5e1caa7c29d1a559d1144d3d00d9d981a7ac9a authored almost 4 years ago by Rangi <[email protected]>
Prevent ELIF or ELSE after an ELSE

Fixes #749

d4028fff102a0fd1cd3d522b8483e3b5a2a7254a authored almost 4 years ago by Rangi <[email protected]>
Correct rgbasm(5) about whitespace before labels

Also rephrase some more label-related documentation

dd892d61d8a8b3b7d9b51eaeba167bb8fc68df4c authored almost 4 years ago by Rangi <[email protected]>
Test an indented macro label

a09f2d4115cd65b4bbe242421bccabf2f8dba25e authored almost 4 years ago by Rangi <[email protected]>
Remove column 1 restriction for labels with colons (#635)

Partial fix for #457

dafef5a953f2ad7c21c8662f1764057fcffc6d96 authored almost 4 years ago by Eldred Habert <[email protected]>
Add duplicate-section test

cc1129093d87b47e9d0a30146f9a0c78a96774e4 authored almost 4 years ago by dannye <[email protected]>
rgbasm: Report conflicting file/line number for duplicate sections

929e2a44901092fc7a7aad2bf767da5aa9b7d618 authored almost 4 years ago by dannye <[email protected]>
Prevent non-numeric symbol from overriding refs

Fixes #751

72911ada2d254c08181b12d63016976e76f54eb4 authored almost 4 years ago by ISSOtm <[email protected]>
Add an rgblink test case for an $8000-byte ROM0 section with -t

037bc7abb3b7b85d38575cdecefdf7936318b1bb authored almost 4 years ago by Rangi <[email protected]>