1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-07 19:29:18 +00:00
Commit Graph

9717 Commits

Author SHA1 Message Date
jede
e0718314b3 Telestrat cfg : fix space 2022-06-25 00:21:19 +02:00
jede
590de7566d Telestrat : change default start address 2022-06-25 00:19:21 +02:00
Spiro Trikaliotis
6b7d23ca74 isequal with --wildcard: Allow DOS/Win paths
Allow a colon (':') at the second position of a DOS or Windows path, so
a path with drive specifier (i.e., "c:") is recognized as a path of the
wildcard should end with a colon.
2022-06-22 21:23:44 +02:00
Spiro Trikaliotis
a7b2a92fc2 isequal: add --wildcards option 2022-06-21 22:23:10 +02:00
Spiro Trikaliotis
c738c94935 Debugging fix 2022-06-20 23:13:49 +02:00
Spiro Trikaliotis
0d7fba2332 More make test output for debugging 2022-06-20 23:10:32 +02:00
Spiro Trikaliotis
b5b3654017 Un-silence Make 2022-06-20 23:07:36 +02:00
Spiro Trikaliotis
aa64234707 Testcases for case 2022-06-20 23:03:12 +02:00
Spiro Trikaliotis
3a5fee75a3 Remove TAB for reference file, too 2022-06-20 22:57:20 +02:00
Spiro Trikaliotis
b816ee6676 Remove TABs again 2022-06-20 22:53:46 +02:00
Spiro Trikaliotis
b3846ee1c4 Complete check of ld65 output
ld65 output was only checked for listing build before. No, both builds
are tested separately for better test coverage.
2022-06-20 22:19:22 +02:00
Spiro Trikaliotis
343bc1a489 More assert tests
Also test ldwarning and lderror options.
2022-06-20 22:16:55 +02:00
Spiro Trikaliotis
e9888a0c28 testcase for ca65 .align 2022-06-20 22:01:01 +02:00
Spiro Trikaliotis
77a6ea3704 Makefile fix for ld65 error processing 2022-06-20 16:34:14 +02:00
Spiro Trikaliotis
7476c86ba9 More .assert testcases
Add testcases with error generation.
2022-06-20 16:33:25 +02:00
Spiro Trikaliotis
2040da0520 Reorga of test/asm/listing/
add ref/ and control/ subdirectories, so the control files and result
files do not clutter the directory, and it is clear which file has which
purpose.
2022-06-20 16:30:51 +02:00
Greg King
68da626d9c Removed an environment experiment. 2022-06-20 03:08:47 -04:00
Spiro Trikaliotis
e17cb6d602 isequal: add --skip for both left and right file
isequal: New option --skip as a shortcut for --skipleft and --skipright
at once.

Use that for the .list-ref files, so they now contain the first line of
the output, too, which is ignored.
2022-06-19 22:42:44 +02:00
Spiro Trikaliotis
1446b7dcc3 isequal: Add options for better handling
--binary: handled binary files
--empty:  check if file is empty

--skipleft=<n>: Skip <n> lines at the start of the left (first) file
--skipright=<n>: Skip <n> lines at the start of the right (second) file

Note that --binary, --empty and one or both of --skipXXX are mutual
exclusive; that is, you cannot specify more than one of them at the same
time, or the behaviour will be unpredictable.
2022-06-18 23:50:26 +02:00
Spiro Trikaliotis
297a11fcec Add more assert tests 2022-06-18 22:22:27 +02:00
Spiro Trikaliotis
794ebd7a0b Test cases for .assert warnings 2022-06-18 21:04:36 +02:00
Greg King
16d259d2b4 Commented out the push command. 2022-06-17 21:44:42 -04:00
Greg King
268823fdbb Changed a line that Github Actions claimed was bad. 2022-06-17 21:22:43 -04:00
Greg King
a0e0c789db Went back to using actions/checkout@v2.
(Direct cloning doesn't support pushing with a hidden token.)

I'm putting this aside, for now. A Personal Access Token must be made for the repository. "git push" does a dry-run, so that the workflow will succeed.
2022-06-17 18:42:12 -04:00
Greg King
65c8b49430 Passed the token through the environment. 2022-06-17 13:52:45 -04:00
Greg King
43c0f5ecd7 Directly clone the document repo. 2022-06-17 12:58:56 -04:00
Greg King
997c67de35 Put doc.git next to cc65. 2022-06-17 09:00:53 -04:00
Greg King
0dab508c75 Find out where doc.git is. 2022-06-17 08:35:06 -04:00
Greg King
3f314c0ee9 Fixed the action/checkout steps.
I misunderstood that action's docs.
2022-06-17 08:18:51 -04:00
Greg King
86d68bea8c Experiment: checkout the second repo first.
Maybe that will give it the github.token that it needs.
2022-06-17 08:06:21 -04:00
Greg King
b4231401bd Trying a verbose Git push.
If I'm lucky, it will tell me more.
2022-06-17 05:38:59 -04:00
Greg King
0d5dbb2ce2 Tried to authorize a push by setting the access token explicitly. 2022-06-17 03:46:31 -04:00
Greg King
5b0023c3df Fixed a shell syntax bug. Try again. 2022-06-17 02:30:52 -04:00
Greg King
1628efd569 Added Github action steps that update the online documentation repo. 2022-06-17 01:44:40 -04:00
Spiro Trikaliotis
a9e0dba991 Remove TAB to comply to style 2022-06-16 21:59:37 +02:00
Spiro Trikaliotis
48ae6716ad Some test cases for ca65 2022-06-16 20:57:53 +02:00
Kevin Pulo
3ef8dd3c0c lynx: fix TGI_COLOR_DARKBROWN 2022-06-16 15:06:02 +10:00
mrdudz
5aa75ae81f handle loadaddr the same as with the other CBM targets 2022-06-06 14:01:16 +02:00
Bob Andrews
30dc9b8d1a
Merge pull request #1755 from rofl0r/fix_target_path
cl65: fix regression in --print-target-path
2022-06-04 16:33:46 +02:00
polluks2
e6e93f3d18
Fixed term #1553 2022-06-03 12:36:04 +02:00
polluks2
c2b8479ea3
Fixed typo 2022-05-30 17:10:33 +02:00
rofl0r
94e7b11870 cl65: fix regression in --print-target-path
since the "empty prefix means run from current dir" hack was removed,
cl65 --print-target-path no longer prints the path relative to the
binary, but the hardcoded library path which points to prefix, because
the code adds the hardcoded path first to the pathsearch, but then actually
only returns the first entry rather than looking whether the path exists.

closes #1754
2022-05-30 12:22:02 +00:00
Bob Andrews
dcdf7ade08
Merge pull request #1748 from smuehlst/issue-1747
Fix switched meaning of '\n' and '\r' for osic1p target
2022-05-19 01:04:17 +02:00
Stephan Mühlstrasser
44257b9b4a Fix switched meaning of '\n' and '\r'
When conio was implemented for the osic1p target, the cbm
target was used as a blueprint. But it was overlooked that the
cbm target encodes CR as 0x0A and LF as 0x0D, while the
osic1p target uses the ASCII encoding of CR and LF. Therefore
conio output of '\n' moved the active position to the start of the
line and '\r' moved the active position to the next line.

This change implements the correct semantics of '\n' and '\r'
in conio for the osic1p target.

Fixes #1747.
2022-05-18 18:57:52 +02:00
Greg King
93e94c8dea Fixed a multi-line comment.
The left border is thicker in cc65 than it is in VICE.
2022-05-18 05:09:48 -04:00
Bob Andrews
93ee91fb4b
Merge pull request #1644 from polluks2/missing-purple
Added more purple and removed the colour violet
2022-05-17 15:54:59 +02:00
Bob Andrews
e0cc3650e4
Merge branch 'master' into missing-purple 2022-05-17 15:34:51 +02:00
mrdudz
d30fc65dd5 add check for +x flag 2022-05-17 15:28:51 +02:00
mrdudz
91199c57e8 remove +x flag 2022-05-17 15:28:51 +02:00
Bob Andrews
25efedf3e6
Merge pull request #1745 from Compyx/codeopt-unused-var-fix
Fix set but unused variable
2022-05-17 14:47:19 +02:00