Commit Graph

17 Commits

Author SHA1 Message Date
Roland Stahn 3ba7de2cb7 Style fixes 2025-06-03 13:51:15 +02:00
Roland Stahn f60fe4b808 Add option 'create_error_stubs'
Proposal for issue #507
2025-06-02 11:44:37 +02:00
Mark VanderVoord a60383ec34 Update licenses to new standards... plus New Years bump 2025-01-01 12:05:55 -05: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 a642b1fe49 Update to latest Unity and therefore newer Rubocop standards. Tweaked scripts to match latest standards. 2023-11-22 17:40:07 -05:00
mvandervoord 67858837d1 Update coding style to match our own official coding guidelines 2020-03-18 19:16:58 -04:00
John Lindgren 3b123fb533 Don't assume that pointer-to-constant types have "const" removed.
1. Update treat_as table to include pointer-to-constant types.
2. Remove unnecessary casts in assignments and return statements.
3. Improve logic for adding "const" to types of function arguments.
4. It's no longer necessary to prepend "const" to function return type.
2017-09-12 15:54:47 -04:00
Mark VanderVoord 2ac0ccb27b fixed white space 2016-01-04 20:00:32 -05:00
Mark VanderVoord d4a0132117 - array plugin now handles const the way other plugins do. 2014-12-18 13:48:56 -05: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 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 f6ebb9de6a * updated CMock internal variable and function names to avoid naming conflicts.
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@152 bf332499-1b4d-0410-844d-d2d48d5cc64c
2010-01-10 02:24:59 +00:00
mvandervoord 06ef8bb221 * added callback plugin
* cleaned up plugin prioritization
* updated plain docs

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@148 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-12-04 18:52:59 +00:00
mvandervoord eee379f611 - added array/pointer "smart" mode support
- removed differentiation between array and pointer (since it doesn't exist at this point anyway)

git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@147 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-11-28 01:44:38 +00:00
mvandervoord dbb397adbe - better array and pointer support
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@146 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-11-27 03:40:48 +00:00
mvandervoord 0f857f24ec - foundation work towards more awesome pointer/array handling. not there yet, so don't try this at home kids.
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@145 bf332499-1b4d-0410-844d-d2d48d5cc64c
2009-11-26 00:55:02 +00:00