Ecosyste.ms: OpenCollective

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

github.com/gbdev/rgbds

Rednex Game Boy Development System - An assembly toolchain for the Nintendo Game Boy and Game Boy Color
https://github.com/gbdev/rgbds

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
Do not evaluate an untaken ELIF's condition

Fixes #764

aa99ed056c44b93449c3333e104858009bde357d authored almost 4 years ago
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
Install groff to build PDFs correctly in CI

5406674cdd3f4be6d4abf9ef523fa116b08f54e7 authored almost 4 years ago
Make docs update script also produce PDFs

See rgbds-www#12

5d2e2e21828762c97313758d4e7d344bd044a6e2 authored almost 4 years ago
Replace UTF-8 hyphens with ASCII ones in man pages

a929f36bc52523a96c99e4268a0d230c41e9ba03 authored almost 4 years ago
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
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
Revise rgbasm(5) string symbol documentation

Clarify the differences between EQUS expansion and {interpolation}

093631ca0b0c3a0db9e161d105c8b9fcac9e660e authored almost 4 years ago
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
rgblink identifies patches' PC sections after reading all sections

Fixes #794

8d1b56bcf5c1db3442a6ef6e8dc9d0e08d8b9689 authored almost 4 years ago
Fix description of rgbgfx -h

The old description was backwards and mostly confusing.

5fb7fcf4612736bf223f2164494d4db28a772d31 authored almost 4 years ago
Add a missing newline to a verbosePrint

ee900ae7a352cb6e98038f9d5faa1b32905e8d0b authored almost 4 years ago
Fix verbose messages claiming non-existent errors

They were confusing when trying to debug other things

3ca58e13dcba212bcd024ab172b09bfa712854fb authored almost 4 years ago
Add verbose messages for early exit from -MG

Should help debugging Make invocations

aaa4e174541bb34bea38c02cb39839f6ed4e16eb authored almost 4 years ago
Alignment mask was incorrectly checked for 1 instead of 0

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

a81d383f752e3c1a38f79d13bd31486a04261895 authored almost 4 years ago
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
Fix master documentation updater

Its path was not synced with a recent change

5a6a44cbc1c38faf001ba4da5a6a7ec97667e293 authored almost 4 years ago
Add forgotten __RGBDS_RC__ symbol

b61a187b1950bb3a48a3cf920ed0f019104cc000 authored almost 4 years ago
Release 0.5.0-rc1

6382f136477b4658b7cc13b6f2a444f5e44f2368 authored almost 4 years ago
Make some INCBIN errors non-fatal

714d39c86ff4115f9d1a413bfd0ef41bc5f6353f authored almost 4 years ago
Add INCBIN tests

f11241c2aea6d1ca5b2825786e0458a1aa7f3008 authored almost 4 years ago
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
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
Compute fallback version string at compile time

e141da1d9456ecb57357d4881045ec5728ea6ec0 authored almost 4 years ago
Make release doc update also register docs

e9d9a44687c94c1036601f72a5ea0fc15a9aad5c authored almost 4 years ago
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
Fix release doc creation workflow

4c0fa6732e6f56979924b1a4299ca3f811ecfba6 authored almost 4 years ago
Ignore CRLF vs LF for syntax error test check

611bd46e0b9ab647a57f9ef0ecb38ad67370be0c authored almost 4 years ago
Delete version test if stale

e67254093ef2b5fce2842a2e74e06e7a45fd1da9 authored almost 4 years ago
Explicitly force tested projects to use tested bins

3ce3d2f6626e95ccda872a8f30b27333841ad628 authored almost 4 years ago
Ignore DLLs too

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

3da9d810714ebe9f4f750d06d22a5da08ab8f494 authored almost 4 years ago
Swap the Name and Type columns in Predeclared Symbols

88646093ca5562aed4fc949d6e8e0206c627c7a2 authored almost 4 years ago
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
Clarify the character encoding example in rgbasm.5

88048cdcd7893e01c4fd69ef89207fb7b2e70413 authored almost 4 years ago
Report slack totals at the end of the .map file (#781)

Fixes #777

c878ff8775ddf9c31877e52fdc3ded3762df860c authored almost 4 years ago
rgbasm(5): Clarify charmap behavior (#558)

a4049a3f1b58bbc699b86808bb2fe6dcb692fefc authored almost 4 years ago
Test an indented anonymous label

8a75cc50518d3d7bad9f7110fa2d13bf3ccc74a4 authored almost 4 years ago
Comment refers to "built-in" symbols

b674c5fcaa93b32fdffe419672c222596cdf74d9 authored almost 4 years ago
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
Factor out handleCRLF()

This logic repeats ten times

365484ef1898a392d7a201de313a0f93e74ff5bf authored almost 4 years ago
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
Add tests for certain directives at EOF without a newline

40c6b840f8078f6a4ac494d30c638696a115f3e2 authored almost 4 years ago
Restore the "EOF-newline" lexer hack

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

6655e04ef01bd78acd01f5d9efca4d50340b0a0f authored almost 4 years ago
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
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
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
Refactor some math functions into a shared file for rgbasm and rgblink

Fixes #769

Fixes #770

ac2cefdd8765e3daafea8eba405fc50e63626aaa authored almost 4 years ago
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
Refactor part of getSection into createSection

getSection validates its parameters and calls
either mergeSections or createSection.

76d88629009d98292890804161ecb7e455f0751f authored almost 4 years ago
Trim right whitespace from macro args before warning about length

1f579deaffe0d3d1035d46ac3bb2cbbf0002c9a4 authored almost 4 years ago
Support /* block comments */ in macro arguments

Fixes #746

fad48326f833b7b282d76d1b79f0dc3b3ecc8d04 authored almost 4 years ago
append_yylval_tzString should always evaluate its argument

Fixes #762

63d15ac8c901cab95c3d37abad2a97c7020a61d7 authored almost 4 years ago
Allow empty macro arguments, with a warning

Fixes #739

1dafc1c762b4ea50030272775e0ca217fe93c0c0 authored almost 4 years ago
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
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
Disallow "." as a local label

Fixes #760

3c5e1caa7c29d1a559d1144d3d00d9d981a7ac9a authored almost 4 years ago
Prevent ELIF or ELSE after an ELSE

Fixes #749

d4028fff102a0fd1cd3d522b8483e3b5a2a7254a authored almost 4 years ago
Correct rgbasm(5) about whitespace before labels

Also rephrase some more label-related documentation

dd892d61d8a8b3b7d9b51eaeba167bb8fc68df4c authored almost 4 years ago
Test an indented macro label

a09f2d4115cd65b4bbe242421bccabf2f8dba25e authored almost 4 years ago
Remove column 1 restriction for labels with colons (#635)

Partial fix for #457

dafef5a953f2ad7c21c8662f1764057fcffc6d96 authored almost 4 years ago
rgbasm: Report conflicting file/line number for duplicate sections

929e2a44901092fc7a7aad2bf767da5aa9b7d618 authored almost 4 years ago
Add duplicate-section test

cc1129093d87b47e9d0a30146f9a0c78a96774e4 authored almost 4 years ago
Prevent non-numeric symbol from overriding refs

Fixes #751

72911ada2d254c08181b12d63016976e76f54eb4 authored almost 4 years ago
Add an rgblink test case for an $8000-byte ROM0 section with -t

037bc7abb3b7b85d38575cdecefdf7936318b1bb authored almost 4 years ago
Implement floored `/` and divisor-sign `%` operators (#745)

Fixes #703

5fd636ac4bc99c6efb8c7bbdcfeb1fa4e2d812db authored almost 4 years ago
Add more test cases for IF, REPT, and MACRO (#748)

a6d844a9a5bc0c52a6bd4a97d0d15e9ce0a5acaf authored almost 4 years ago
Allow ENDC at EOF without a newline

bee62076c6cd8d54997a50061f8bd1ce082159d8 authored almost 4 years ago
Add assertion check for potential UAF trigger

It actually currently triggers if an INCLUDE directive is given at EOF,
but #742 will fix that.

cd072d5e6a9031ae326e9d95c7680bde94a88d81 authored almost 4 years ago
Give void* ptr to %p formatter

Silences a format type mismatch warning

6ef3ee1391656669f6bd2437f503789505632a8d authored almost 4 years ago
Fix forgotten initialization of `lexerState->isReferenced`

c29b616f937f975f87f4ba6613146fd4c339f89c authored almost 4 years ago
Fix missing newline in a dbgPrint

39c179aa325a9112d9cc3329fab96f1443e646d2 authored almost 4 years ago
Shorter quine test cases

5c1ae4ce2211e3086b84100b5da21cef08dab6a3 authored almost 4 years ago
Avoid two peek(1) calls when lexing """multi-line strings"""

efbfeca2921c4c250faadae339374c6294f3939f authored almost 4 years ago
Format INT32_MIN as '-2147483648', not '--2147483648'

7dd34f1572bf890ed2c415e0a0dd458fb3b06375 authored almost 4 years ago
Fix calculation of 2**30

In exponent(), 'base *= base;' should not run
when base is 65536, since it overflows an int32_t....

748e7dd4c79f0fef101a30b91252388f945254b9 authored almost 4 years ago
Handle string literals within macro arguments (#685)

Fixes #683 and #691

The lexer's raw mode for reading macro args already attempted
to handle ...

d049ffc0f0a508f9d48d27e850692f54b6c062f8 authored almost 4 years ago
Allow `ds` to take multiple values to repeat for a count (#725)

Fixes #722

8c0275480c680ce610c9f4ce7d121197152a879c authored almost 4 years ago
Implement LOAD UNION and LOAD FRAGMENT

Fix #632

76d6ef869582a3c714a4b8c7839c2d445b4bfcb1 authored almost 4 years ago
Use macros to convert between radians and fixed-point 65536ths

c67a696a87a35ba3c2fcf10468a6043c2426643c authored almost 4 years ago
Make `@` relative to the start of a `ds` even at link time

Fix #737

ee20d9010e49bd243e57aa41ccc32bf5da99e0bf authored almost 4 years ago
Update rgbds(5) object file format documentation (#740)

2bc12447e2888ef60593242ec044ef60bc865d9d authored almost 4 years ago
-Wmacro-shift warns about shifting macro arguments too far (#741)

Fixes #735

cb61da8842d107e3a9825baf6567c0b7fe847ce6 authored almost 4 years ago
Update deprecated feature examples

Those have been removed, lol

122ba6eba5be69b702f837062caf74e7401928c5 authored almost 4 years ago
Cannot start a new section that's already on the stack

This is only relevant for FRAGMENT or UNION sections, since
normal ones would fail with "Section...

dddff0f4507f297c0bd36d77caf5180be7f56acd authored almost 4 years ago
Add FUNDING.yml to show the Sponsor button on the repository

a919f922a1372f0fd9617c6b71a6ebd92ec729c3 authored almost 4 years ago
Allow shifting macro arguments by a negative amount

Fixes #733

8f20620c1627fe4ea67d5ea6aceaf0505df5af29 authored almost 4 years ago
Correct the keywordDict size

The stale keywords XDEF and GLOBAL were removed,
so there can be fewer keyword nodes.

8415ce3ed0562384a197cea430968bc8f414987c authored almost 4 years ago
Correct some comments

nPCOffset no longer exists, and the lexer only
returns T_NEWLINE for EOF in raw mode.

ebb5aab6dbf82e07493386bed59ff48cbef3ae37 authored almost 4 years ago
Newlines in multi-line strings update the line number

This affects error and warning messages, and dbgPrint

96bce05be2d899fda544a480672cdf76c6737468 authored almost 4 years ago
Prefer `sizeof($$)` to `MAXSTRLEN + 1`

This makes `strsubUTF8` similar to `strrpl` and `strfmt`

fc2bf3d11d14170f5aeee171cbb3f3cf1bced825 authored almost 4 years ago
Separate extern getopt implementation from the unistd.h one

Fixes #710

464a3a4892f31bfbedda6b35f7a605ec673156ea authored about 4 years ago
Make EOF token name consistent across Bison versions

The "end of file" name apparently only became a default recently

88e1cc73024e3a2e242f5afce09966758c5fa589 authored about 4 years ago
Remove "EOF-newline" lexer hack

In preparation for an upcoming change
Makes for nicer error messages, complaining about EOF inst...

b3c0db218d564bbc9a801d8635591fd969c36e82 authored about 4 years ago
Change behavior of merging FRAGMENTs to constrain each fragment individually

Additionally, remove the deprecated merging of non-fragment SECTIONs

76446e6d00eb86ed8a55e5bcbf1eb40ce47bb59c authored about 4 years ago
Fix CI on macOS

Apple supplies version 2.3 (from 2006!!), which doesn't support `%empty`.

6623b1dc458633d344c83a4ba8f0310f9c6a3090 authored about 4 years ago
Remove stale keywords

They were removed from the grammar, but not the lexer

70bbb098d3b76909d27e0bff3c331f774073dfb0 authored about 4 years ago
Enable Bison warnings

-Wall should be old enough.
Also use %empty instead of comments

192606537759c3e65866f973b56f48046f60cf6d authored about 4 years ago
Attempt to recover from syntax errors with bison

Fixes #595

e3d355d9762b5f50697274b25b685a0e3c16981a authored about 4 years ago
Get rid of `asm.h` and `localasm.h`

No need to make them global

a679e0224603ca629bff991a470b8ad60ecfd053 authored about 4 years ago