Commit Graph

  • 633cd17a3e Add enum size test case for #1050 Jesse Rosenstock 2020-08-01 22:30:36 +02:00
  • e1043fac12 Adjusted to https://github.com/cc65/cc65/pull/1124. Oliver Schmidt 2020-08-01 10:55:49 +02:00
  • 9c70bd44a6 Clarify comment about large shift Jesse Rosenstock 2020-07-31 16:52:22 +02:00
  • 847982c6bf Handle bit-field test after shift/mask Jesse Rosenstock 2020-07-31 08:41:05 +02:00
  • d0c7108dcf Change copyright notice to "The cc65 Authors" Jesse Rosenstock 2020-07-30 13:27:57 +02:00
  • 3df6c383c0 Add support for static_assert Jesse Rosenstock 2020-07-26 22:16:47 +02:00
  • c72fa735b9 Add test for #1139 Jesse Rosenstock 2020-07-30 17:21:56 +02:00
  • 2d5fd0fc63 Use char ops if possible for bit-field loads Jesse Rosenstock 2020-07-30 12:00:21 +02:00
  • e38f601fcc Fixed padding at the ends of structs with bit-fields. acqn 2020-07-29 15:09:53 +08:00
  • 8a511bb63d Fixed nested array initializers. acqn 2020-07-29 15:09:53 +08:00
  • 9075a853dc Allows one trailing comma before the closing curly of a struct/union initializer. acqn 2020-07-29 15:09:53 +08:00
  • 25d10d9d9a Fixed nested struct/union initialization. Fixed bit-fields offsets in anonymous structs. acqn 2020-07-29 15:09:53 +08:00
  • d6d667a688 Improved error handling with symbol redefinitions. acqn 2020-07-29 18:07:16 +08:00
  • 92de4fa0d0 Enabled to recognize labels when parsing local variable declarations. acqn 2020-07-29 15:08:54 +08:00
  • 19c81ed866 Fixed type mask usage. acqn 2020-07-29 19:51:47 +08:00
  • fb9b50ff9c Move type checks before bit-field width parsing Jesse Rosenstock 2020-07-29 22:45:59 +02:00
  • aaa0cf5448 Add err tests for bitfield width errors Jesse Rosenstock 2020-07-29 22:41:46 +02:00
  • a2561d07f3 Remove special-case bit-field width code Jesse Rosenstock 2020-07-29 14:04:52 +02:00
  • 74dda01919 Add test that plain int bitfields are unsigned Jesse Rosenstock 2020-07-29 13:32:26 +02:00
  • 8eab28012a Adjusted project name. Oliver Schmidt 2020-07-28 23:29:16 +02:00
  • cbb33f86e8 Disabled using non-int-size types to declare bit-fields. acqn 2020-07-28 11:17:17 +08:00
  • c37f9f1a41 Check if the integer size is known in GetIntegerTypeMin/Max() to prevent potential misuse. acqn 2020-07-27 19:20:07 +08:00
  • 0f412b6beb Small fixes according to PR review. acqn 2020-07-27 18:25:28 +08:00
  • 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