24 Commits

Author SHA1 Message Date
Mark VanderVoord f368744ca5 Updates for the new year 2026-01-23 11:19:02 -05:00
Mark VanderVoord a60383ec34 Update licenses to new standards... plus New Years bump 2025-01-01 12:05:55 -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
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
mvandervoord 13ee7c9eec Further cleanup based on server results 2020-03-19 11:29:17 -04:00
mvandervoord 9b393ad4fb Further style changes to match standard.
Pull in latest Unity.
Update testing parameters to include Ruby 2.7
2020-03-19 10:00:12 -04:00
mvandervoord 67858837d1 Update coding style to match our own official coding guidelines 2020-03-18 19:16:58 -04:00
Mark VanderVoord 17898f5078 Normalize all the line endings 2016-01-07 14:11:52 -05:00
mvandervoord 1c037f26aa - more cleanup
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@221 bf332499-1b4d-0410-844d-d2d48d5cc64c
2012-05-28 15:18:26 +00:00
mvandervoord 3b509800dd - Improved handling of pointer types as function arguments
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@220 bf332499-1b4d-0410-844d-d2d48d5cc64c
2012-05-28 15:01:59 +00:00
mvandervoord 66b0019821 - fixed issue where cmock wanted to treat function pointers as memory compares if they were not typedefs. This was ok on some platforms but not others.
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@197 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-12-08 16:59:32 +00:00
mvandervoord 840e38998b - support typedefs of pointer types in treat_as
- fixed multi-line typedef declaration rejection

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@179 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-07-19 14:02:42 +00:00
mvandervoord f201cf2903 - Fixed callback-after-arg-check so that it actually checks args
- Fixed ignore-when-ignoring-args-only
- Fixed error in memory comparisons when pointers used
- Fixed system testing of CMock(!)

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@167 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-06-19 20:11:13 +00:00
mvandervoord 36de9c6fc4 - added copyright notices to code (oops)
- protected against people using extern "C"

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@161 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-04-27 02:14:44 +00:00
mvandervoord 436ffe0fee - cleaned up an error or two when using memory compares
- can use array assertions for non-arrays
- can sometimes get away with normal assertions for arrays (doesn't yet go through array, just first element)
- made parsing_challenges test better

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@159 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-03-30 03:36:08 +00:00
mvandervoord 14d639bbd8 - made index follow alignment rules too
- added support to track line numbers
- tweaked color support

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@158 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-03-24 01:06:51 +00:00
mvandervoord e79a5f13d1 - added cmock.c file for handling generic parts
- switched to better memory management technique


git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@155 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-03-08 13:32:31 +00:00
mvandervoord a875949914 - fixed an error in pointer handling. beefed up tests
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@142 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-08-27 23:07:07 +00:00
mvandervoord 016cd32b1f - added some system tests for custom types and treat_as
- added some system tests for cexception support
- fixed some minor issues with cexception plugin

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@121 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-05-28 15:39:41 +00:00
mvandervoord 8fb0ca9d49 - added strict ordering support option
- updated yaml config file to use symbol for root (to be consistent with other places).


git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@72 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-04-11 03:06:09 +00:00
greg-williams c191121d2c Replaced array each_slice with equivalent code, since build failed on OSX with Ruby 1.6 and 1.7.
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@70 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-03-09 01:53:44 +00:00
mvandervoord 795d23bad2 - some cleanup of how to handle default and user defined types before tackling pointers
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@62 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-02-20 23:16:07 +00:00
mvandervoord e2b3365b16 * configurable to complain or use memcompare when can't find good helper
* fixed parser bug: * is now always with type, not argument
* more robust struct detection. now can find pointers as _ARRAY helpers
* other minor fixes

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@61 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-02-20 04:01:04 +00:00
mvandervoord 1a0764e117 - files i forgot yesterday
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@57 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-02-19 12:38:08 +00:00