bal-stan
2bcc723e10
Always cast memcpy dest pointers to const void
2025-02-13 18:06:27 +00:00
Mark VanderVoord
49435d9f33
Merge pull request #425 from ThrowTheSwitch/cmock_2_6_rc
...
CMock 2.6 Release Candidate
v2.6.0
2025-01-01 12:16:21 -05:00
Mark VanderVoord
f767b67162
Move to latest Unity. Update Release Notes for the pending release.
2025-01-01 12:13:48 -05:00
Mark VanderVoord
a60383ec34
Update licenses to new standards... plus New Years bump
2025-01-01 12:05:55 -05:00
Mark VanderVoord
d5e938e4b1
- refactor to match coding standards.
...
- test against Ruby 3.3 also.
2024-10-23 16:01:48 -04:00
Mark VanderVoord
7d6ec0354a
If a short-path cannot be created, fallback to absolute path, even though it's more verbose.
2024-10-23 15:35:37 -04:00
Mark VanderVoord
43618c8c78
🐛 Fix problem if unity helper path is specified as relative path starting with ..
2024-10-03 10:03:33 -04:00
Mark VanderVoord
74b8ed295a
Bump dependencies
2024-08-01 13:55:45 -04:00
Mark VanderVoord
6b0587fce5
Fixes to latest stylistic warnings.
2024-08-01 12:12:08 -04:00
Mark VanderVoord
c83f8bddf2
Working towards gemifying and automatically reporting version.
2024-08-01 11:47:58 -04:00
Mark VanderVoord
119f6607d9
Don't need to escape symbols in brackets
2024-04-02 19:28:29 -04:00
Mark VanderVoord
df73448935
Remove some stuff that shouldn't really be in config file.
2024-04-02 19:13:31 -04:00
Mark VanderVoord
9cc8fb5302
Let's enable validation of examples. failures should trip errors.
...
Also make them verbose so we can see what is going on.
2024-04-02 18:44:35 -04:00
Mark VanderVoord
93e2f528cc
Update example project to handle pointers of different sizes and not complain on modern platforms.
2024-04-02 17:40:40 -04:00
Mark VanderVoord
ecaccb428b
🪲 remove unused AbortFrame ( #316 )
2024-03-26 22:29:06 -04:00
Mark VanderVoord
714619eefb
🪲 protect against bad filenames with multiple .c instances in them ( #348 )
2024-03-22 22:04:30 -04:00
Mark VanderVoord
001bbeca51
🪲 :fail_on_unexpected_calls options now insists on required :ignore plugin ( #376 )
2024-03-22 21:41:45 -04:00
Mark VanderVoord
597a6d86eb
Finish giving clues when you've chosen the wrong AndReturn version.
...
ReturnArrayThruPtr (and others) now protect sizes in parenthesis #415
2024-03-21 11:35:21 -04:00
Mark VanderVoord
3a6f1f29a3
🪲 Fixed issue where -oblah.yml isn't parsed by powershell.
...
:fern: `-o blah.yml` also accepted as valid input now.
2024-03-20 15:55:59 -04:00
Mark VanderVoord
0240b4ae19
⬆️ Updated Unity and CException to latest versions.
2024-03-14 09:00:56 -04:00
Mark VanderVoord
07a0e257b5
🪲 Added fail messages when using Expect for ExpectAndReturn or vice versa. (see issue #462 )
2024-03-14 08:59:31 -04:00
Mark VanderVoord
7925641d7d
📝 Add Code of Conduct and Contributing docs
2024-03-13 15:07:47 -04:00
Mark VanderVoord
4fb4fba206
Jump to next release of unity and cexception.
2024-03-09 20:09:05 -05:00
Mark VanderVoord
dddd01dfa7
copied change from pr 468
2024-03-09 19:08:11 -05:00
Mark VanderVoord
3232b72205
fixed wrong quote usage.
2024-02-21 14:58:23 -05:00
Mark VanderVoord
083bbd6a38
Add to verbosity of failures to find prototypes in headers.
2024-02-21 13:52:07 -05:00
Mark VanderVoord
cac4907c27
Add Argument Validation documentation, because it's a common question.
2023-11-29 11:44:06 -05:00
Mark VanderVoord
95d29ee087
Add part of our new "standard" documentation for status! woo!
2023-11-22 23:59:19 -05:00
Mark VanderVoord
c2e3c742ba
Fix test for const feature of return-thru-pointer
2023-11-22 20:05:20 -05:00
Mark VanderVoord
b032cfa09b
Merge branch 'master' into cmock_2_6_rc
2023-11-22 19:58:51 -05:00
Mark VanderVoord
9192a95089
Merge pull request #453 from NovaNekmit/NovaNekmit-patch-1
...
Make ReturnMemThruPtr pointers const
2023-11-22 19:57:55 -05:00
Mark VanderVoord
4f73b40698
Bump to the latest rubocop
2023-11-22 19:47:19 -05:00
Mark VanderVoord
a642b1fe49
Update to latest Unity and therefore newer Rubocop standards. Tweaked scripts to match latest standards.
2023-11-22 17:40:07 -05:00
Mark VanderVoord
32049399b3
Fixes to the temp_sensor example.
2023-11-22 15:52:54 -05:00
Mark VanderVoord
097b3ec42a
Let's see how we're doing if we only run on Ruby 3.x
2023-11-22 15:02:17 -05:00
Mark VanderVoord
161d58bf54
Merge branch 'master' into cmock_2_6_rc
2023-11-13 22:33:50 -05:00
Mark VanderVoord
6cf8fb9b71
Fix to incorrect handling of static inlines.
...
Fix to Ruby deprecated interfaces.
Fix to keep up with new C standards.
2023-11-13 22:33:16 -05:00
Mark VanderVoord
c548629a47
Merge pull request #457 from Hannes103/sizeof-void
...
add check to prevent sizeof(void) generation
2023-08-23 08:32:14 -04:00
Hannes Bachl
5328a51508
add check to prevent sizeof(void) generation
2023-08-23 11:32:58 +02:00
NovaNekmit
6d9236d4ee
Fix typos
2023-08-09 21:58:16 +02:00
NovaNekmit
9b34c01213
Update test
2023-08-09 17:12:42 +02:00
NovaNekmit
65706fa6fb
Make ReturnMemThruPtr pointers const
2023-08-09 15:53:02 +02:00
Mark VanderVoord
a3a48e8b1d
Merge pull request #451 from informatimago/treat_as-better-error-message
...
Added a user-friendly error message when processing bad :treat_as
2023-07-29 07:50:07 -04:00
Pascal J. Bourguignon
c05e08d99e
Added a user-friendly error message when processing bad :treat_as
...
When the indentation after :treat_as mappings is wrong, we may get a symbol as ctype.
The error signaled by gtype.gsub is not userfriendly, so instead, we test for symbols
and issue a user friend error message in that case.
2023-07-28 11:10:54 +02:00
Mark VanderVoord
ed29ce388f
Merge pull request #437 from alufers/master
...
fix: Don't smush macros which have an escaped empty line at the end
2023-05-08 09:18:03 -04:00
alufers
3caf511b8f
fix: Don't smush macros which have an escaped empty line at the end
...
nanopb has a habit of generating macros which end with an escaped empty line (for example for messages which are empty). They look like this:
#define some_msg_t_FIELDLIST(X, a) \
#define some_msg_t_CALLBACK NULL
This caused CMock to strip all of the newlines after the backslash instead of only one, which the backslash was escaping.
This in turn caused both the macros to be in one line, causing a compile error in the generated mock.
2023-04-26 14:16:41 +02:00
Mark VanderVoord
e4ba3be48b
newer rubies are confused about the first array argument to some functions when the array is empty... so we name the parameters when we pass them to clear things up.
2023-02-07 08:00:51 -05:00
Mark VanderVoord
bbfaf0425f
Handle yaml.load in a way that is ruby version agnostic.
2023-02-06 16:46:48 -05:00
Mark VanderVoord
69258f7034
Tweaks to self-test action script and bump version info
2023-02-06 16:24:23 -05:00
Mark VanderVoord
0b28344d23
bump version
2023-02-06 16:13:29 -05:00