Commit Graph

  • 35e1efc7f2 Moved misc/bug1048 as it is already correctly rejected by the compiler. acqn 2020-07-26 20:40:27 +08:00
  • 7e243e0f2c Allowed using all integer types including enum and char types to define bit-fields, but kept the currently behavior that all of them are treated as unsigned int. acqn 2020-07-26 20:12:59 +08:00
  • d8184fbe54 No longer insert all enums in the global symbol table. acqn 2020-07-26 20:12:59 +08:00
  • daa65199b3 Fixed underlying types of enums. Made enumerator diagnostics more sensible. Fixed Issue #1048 as a natural result. acqn 2020-07-26 20:12:55 +08:00
  • c272c73686 Add err test for char bit-fields #1047 Jesse Rosenstock 2020-07-28 13:47:47 +02:00
  • c0f2b69bef Add test case for sign extending < 1 byte Jesse Rosenstock 2020-07-19 22:59:44 +02:00
  • 04d16b3740 Make $WORKDIR for tests/err Jesse Rosenstock 2020-07-28 13:38:49 +02:00
  • cdd23edd37 Added building of samples. Oliver Schmidt 2020-07-27 17:59:24 +02:00
  • 4316242d7e Adjusted to 5df2de0629 (and slightly simplified). Oliver Schmidt 2020-07-27 17:47:14 +02:00
  • ed3f281b9e fix wording mrdudz 2020-07-27 14:40:27 +02:00
  • 81d3dedb41 Move comment block as requested compyx 2020-07-15 22:44:34 +02:00
  • 294b5d1cf1 C64 soft80 conio: shave off a few bytes and cycles compyx 2020-07-15 21:39:29 +02:00
  • 5df2de0629 Added test target. Oliver Schmidt 2020-07-22 23:27:04 +02:00
  • ffaae965d4 Merge branch 'master' of https://github.com/cc65/cc65 mrdudz 2020-07-22 15:56:23 +02:00
  • afe455238c added test related to issue #1113 mrdudz 2020-07-22 15:55:55 +02:00
  • 98b2d43c2b added tests related to pr #1110 mrdudz 2020-07-22 15:52:04 +02:00
  • ce06b20c6c add some details to the readme mrdudz 2020-07-22 15:31:39 +02:00
  • 844f5a9d33 hook up test/todo in the toplevel test makefile mrdudz 2020-07-22 15:12:29 +02:00
  • 6abf24e25e move test for issue #1077 to test/val mrdudz 2020-07-22 15:12:02 +02:00
  • e22e9c403c added testcase for issue #1098 mrdudz 2020-07-22 14:57:40 +02:00
  • 44c82eb1c3 Made da65 disassemble branch instructions with relative address expression operands if there's no label. Greg King 2020-07-21 18:25:26 -04:00
  • eb094ecf6a remove ifdef magic mrdudz 2020-07-22 00:21:23 +02:00
  • 4a9c5ff63b use uint16_t instead of magic ifdefs, leaving support for bit type in there incase we support it some day mrdudz 2020-07-21 23:59:05 +02:00
  • 6d518a61a5 Merge branch 'master' of https://github.com/cc65/cc65 mrdudz 2020-07-21 23:52:24 +02:00
  • df900e30b8 removed references to macros from common.h mrdudz 2020-07-21 23:50:23 +02:00
  • 77674352f6 Minor style change. Oliver Schmidt 2020-07-21 23:44:36 +02:00
  • 041f981960 rand() use XOR to break up unwanted pair correlation (#1107) Brad Smith 2020-07-21 17:38:18 -04:00
  • 7e1f4760e7 remove common.h from test/misc, its no more used mrdudz 2020-07-21 23:31:58 +02:00
  • 2bbea6779a properly configure sitest so it could work, if we had the respective features :) mrdudz 2020-07-21 23:04:03 +02:00
  • 9e43c0a569 added a test related to pr#1102 - we can now return structs by value when they are max. 4 bytes mrdudz 2020-07-21 21:04:41 +02:00
  • 145084c41c move test for issue #1075 to test/var mrdudz 2020-07-21 20:02:51 +02:00
  • 42c162c15e rework test for issue #1075 to return an exit code mrdudz 2020-07-21 19:58:36 +02:00
  • a0c80a8c72 move (now working) tests to test/val mrdudz 2020-07-21 19:24:39 +02:00
  • b2d7998241 update makefile to use $(NOT) as discussed with Oliver mrdudz 2020-07-21 19:15:41 +02:00
  • 07e18774f7 Added spaces around '|' with regex replacement. acqn 2020-07-21 22:41:31 +08:00
  • c66d0881b9 Made the enum/enumerator types clearer and improved DumpSymEntry() output. acqn 2020-07-21 15:16:47 +08:00
  • 18bd76bb90 Minor fixes and improvements. acqn 2020-07-21 13:09:41 +08:00
  • 65081aebed Made able to recognize global declarations of static arrays. Fixed Issue #975. acqn 2020-07-20 22:34:57 +08:00
  • 0250c87ac6 Fixed SC_* type masks by making them all bitwise-exclusive. acqn 2020-07-20 22:34:57 +08:00
  • e4fc7a0fec reworked pptest3 into an exectutable test and moved to test/val mrdudz 2020-07-21 15:30:35 +02:00
  • 010ed6d729 reworked pptest1/4/5 into executable tests and moved to test/val mrdudz 2020-07-21 14:58:15 +02:00
  • 638e254668 rework pptest2 into a runable test and move to test/misc (since it does not compile with cc65) mrdudz 2020-07-21 14:48:49 +02:00
  • b60b303c5d Added a missing asterisk to a "hardware" struct definition. Greg King 2020-07-20 21:40:44 -04:00
  • 517df130cc Made a regression test increment a variable after, instead of before, using it. Greg King 2020-07-20 17:16:11 -04:00
  • 5a9d76ad52 added test for issue #1108 mrdudz 2020-07-20 15:50:11 +02:00
  • 78342fa82c Fix for "auto" variables made "static" with the "-Cl" options. acqn 2020-07-20 20:40:41 +08:00
  • 71c2d27705 Removed an ED_IsBitField() test according to PR review. acqn 2020-07-20 07:36:14 +08:00
  • 2245783345 Fixed ability to do actual type conversion from bit-fields to integers. Note this doesn't try to fix the signedness issues. acqn 2020-07-19 21:26:55 +08:00
  • b67b8ddd38 Disabled applying 'sizeof' to bit-fields. acqn 2020-07-19 21:23:20 +08:00
  • 62a6e37487 Made the code handling '&expression' slightly tidier. acqn 2020-07-19 21:23:08 +08:00
  • 3c52ad1d9e New utility ED_DisBitField() to make an expression no longer a bit-field. acqn 2020-07-19 21:23:08 +08:00
  • fd0a6955da Changed "IsTypeStruct() || IsTypeUnion()" expressions into shorter "IsClassStruct()" expressions. Greg King 2020-07-19 14:30:22 -04:00
  • ee208aecd6 Removed unnecessary tool. Oliver Schmidt 2020-07-19 13:16:12 +02:00
  • 29c50ab25f Corrected the error message about struct/union members not found. acqn 2020-07-19 17:56:15 +08:00
  • bbcb39978c Add test of signed bitfields for #1095 Jesse Rosenstock 2020-07-18 23:12:07 +02:00
  • 768e03a474 Small fixes and tidy-up based on PR review. Renamed GetReplacementType() to GetStructReplacementType(). Clarified in comments that most *Struct* facilities work for unions as well. Made it clear in some error messages with regards to structs/unions. acqn 2020-07-19 13:47:48 +08:00
  • 0c3e1b491f Disabled -Wstruct-param by default. acqn 2020-07-18 23:30:09 +08:00
  • b45d373fd6 Fixed passing by value structs/unions <= 4 bytes in size to functions. Larger ones are forbidden for now. acqn 2020-07-18 23:30:09 +08:00
  • 9f67b45ea0 Fixed returning by value structs/unions <= 4 bytes in size from functions. Larger ones are forbidden for now. acqn 2020-07-18 23:30:09 +08:00
  • 66ecc0e52c New utility to get the proper replacement type for passing structs/unions by value. New utility to get basic type names such as 'struct', 'union' and so on. acqn 2020-07-18 23:30:09 +08:00
  • 333fa97326 Whitespaces/newlines fixes. acqn 2020-07-18 10:34:57 +08:00
  • 9198b3be00 Fixed '&function' and '&array'. acqn 2020-07-17 15:10:27 +08:00
  • d23b577331 More compiler flags on address types to match the location types of expressions. acqn 2020-07-16 01:07:53 +08:00
  • 2108489523 Fix for Issue #1075 and #1077. acqn 2020-07-15 20:22:28 +08:00
  • ba48dfe65d Fixed a typo in the CX16 document. Greg King 2020-07-16 14:06:23 -04:00
  • 0e55d33cc3 Fix info page building for newer linuxdoc Spiro Trikaliotis 2020-07-16 17:56:58 +02:00
  • 4296cbaf82 Added a 320x200x256 TGI driver to the Commander X16 library. Greg King 2020-07-15 17:11:38 -04:00
  • 72fff0cfbc atari.h: fix definition of KEY_UP Christian Groessler 2020-07-15 22:23:29 +02:00
  • ba0ef5938d Moved the font into a separate module in the library. Greg King 2020-07-15 04:55:38 -04:00
  • a02bec11e9 Another code style fix Olli Savia 2020-07-14 21:15:57 +03:00
  • b3703de983 Code style fixes Olli Savia 2020-07-14 12:19:46 +03:00
  • de5678af5d Added optimizations by dmsc Olli Savia 2020-07-13 16:59:47 +03:00
  • e2ec517aae Save another 3 bytes Olli Savia 2020-07-13 12:09:01 +03:00
  • 306f421aa9 Merge branch 'master' of https://github.com/cc65/cc65 mrdudz 2020-07-15 00:17:41 +02:00
  • 6035f1cb75 added missing gotox/gotoy functions mrdudz 2020-07-15 00:17:11 +02:00
  • 9023e975df Stopped the C128 mouse drivers from blocking certain keys such as '1', '2', and 'Q'. Greg King 2020-07-14 16:06:21 -04:00
  • 3558c0796d added a second test that checks all available characters (including inverse) mrdudz 2020-07-14 15:00:43 +02:00
  • f99a44d8e1 added rudimentary testing for the peek functions mrdudz 2020-07-14 14:24:19 +02:00
  • 1f2fdbd9b1 implemented conio peek functions for PCE target mrdudz 2020-07-14 14:22:29 +02:00
  • a4f1e37f0c increase the maximum amount of cycles, else the shift test will fail mrdudz 2020-07-13 21:26:31 +02:00
  • 5ad365c5df some tweaks to the moved tests to make them more suitable for automatic testing mrdudz 2020-07-13 21:26:07 +02:00
  • 882194c221 move a bunch of tests from testcode/lib to test/val (and a failing one to test/todo) mrdudz 2020-07-13 21:25:13 +02:00
  • d940c9aa85 added a bit more precise description mrdudz 2020-07-13 17:04:22 +02:00
  • e758110f61 added testcode to check petscii char mapping, related to issue #988 mrdudz 2020-07-13 17:00:17 +02:00
  • 390f972014 updated Makefile with exception rules for the added tests mrdudz 2020-07-13 15:16:26 +02:00
  • 5597b83d04 added testcase for issue #975 mrdudz 2020-07-13 15:13:38 +02:00
  • 36ff372149 added testcase for issue #760 mrdudz 2020-07-13 15:13:22 +02:00
  • bec140143b added testcase for issue #760 mrdudz 2020-07-13 15:13:06 +02:00
  • f8873c2508 added testcase for issue #250 mrdudz 2020-07-13 15:12:47 +02:00
  • f5d99106e6 added testcase for issue #1075 mrdudz 2020-07-13 15:12:30 +02:00
  • 693e3a7109 added testcase for issue #1048 mrdudz 2020-07-13 15:12:04 +02:00
  • a43cac580e Tiny optimization Olli Savia 2020-07-08 21:37:39 +03:00
  • bcb8b49907 Removed executable bit. Oliver Schmidt 2020-07-12 23:11:43 +02:00
  • 04cc463452 Implemented some CONIO peek functions. Oliver Schmidt 2020-07-12 22:19:38 +02:00
  • 727040d1ac Comment fix. acqn 2020-07-12 12:18:55 +08:00
  • 7d652d42dc Added a warning on promoting a decimal constant without a 'u'/'U' suffix to unsigned long. acqn 2020-07-02 10:30:02 +08:00
  • 381a32d9aa C64 soft80-conio cgetc: save 14 cycles in invertcursor compyx 2020-07-11 13:18:14 +02:00
  • 2c4dd5decf Shorten comment as requested compyx 2020-07-11 09:39:21 +02:00
  • e45e57d7ce C64 soft80 conio: save 4 bytes in firstinit compyx 2020-07-10 20:08:44 +02:00
  • fb7996b0ce Revert "C64 soft80 conio: save 6 bytes in firstinit" compyx 2020-07-10 19:56:34 +02:00