|
| 1 | +# CMock - Change Log |
| 2 | + |
| 3 | +## A Note |
| 4 | + |
| 5 | +This document captures significant features and fixes to the CMock project core source files |
| 6 | +and scripts. More detail can be found in the history on Github. |
| 7 | + |
| 8 | +This project is now tracking changes in more detail. Previous releases get less detailed as |
| 9 | +we move back in histroy. |
| 10 | + |
| 11 | +Prior to 2012, the project was hosted on SourceForge.net |
| 12 | +Prior to 2008, the project was an internal project and not released to the public. |
| 13 | + |
| 14 | +## Log |
| 15 | + |
| 16 | +### CMock 2.6.0 (January 2025) |
| 17 | + |
| 18 | +New Features: |
| 19 | + |
| 20 | + - Reintroduced option to run CMock without setjmp (slightly limited) |
| 21 | + - Significant speed improvements to parsing |
| 22 | + |
| 23 | +Significant Bugfixes: |
| 24 | + |
| 25 | + - Make return-thru-pointer calls const |
| 26 | + - Fix handling of static inlines |
| 27 | + - Fix some situations where parenthetical statements were misinterpreted as functions |
| 28 | + - Fix error in skeleton creation |
| 29 | + - Improvements towards making generated code fully C-compliant and warning free |
| 30 | + |
| 31 | +Other: |
| 32 | + |
| 33 | + - Improve error message wording where possible |
| 34 | + - Improve documentation |
| 35 | + - Updated to Ruby 3.0 - 3.3 |
| 36 | + - Reintroduce matrix testing across multiple Ruby versions |
| 37 | + |
| 38 | +### CMock 2.5.3 (January 2021) |
| 39 | + |
| 40 | +New Features: |
| 41 | + |
| 42 | + - Support mocks in sub-folders |
| 43 | + - Improved handling of static and inline functions |
| 44 | + - Stateless Ignore plugin added |
| 45 | + |
| 46 | +Significant Bugfixes: |
| 47 | + |
| 48 | + - Allow setting values to empty at command prompt |
| 49 | + - Improvements towards making generated code fully C-compliant and warning free |
| 50 | + |
| 51 | +Other: |
| 52 | + |
| 53 | + - Really basic mocking of cpp files (like C files with extern C) |
| 54 | + |
| 55 | +### CMock 2.5.2 (May 2020) |
| 56 | + |
| 57 | +Significant Bugfixes: |
| 58 | + |
| 59 | + - Fix whitespace errors |
| 60 | + - Fix Stop Ignore |
| 61 | + |
| 62 | +### CMock 2.5.1 (April 2020) |
| 63 | + |
| 64 | +New Features: |
| 65 | + |
| 66 | + - Add StopIgnore function to Ignore Plugin |
| 67 | + - Add ability to generate skeleton from a header. |
| 68 | + - Inline functions now have option to remove and mock (with Ceedling's help) |
| 69 | + |
| 70 | +Significant Bugfixes: |
| 71 | + |
| 72 | + - Convert internal handling of bools to chars from ints for memory savings |
| 73 | + - Convert CMOCK_MEM_INDEX_TYPE default type to size_t |
| 74 | + - Switch to old-school comments for supporting old C compilers |
| 75 | + - Significant improvements to handling array length expressions |
| 76 | + - Significant improvements to our "C parser" |
| 77 | + - Added brace-pair counting to improve parsing |
| 78 | + - Fixed error when `:unity_helper_path` is relative |
| 79 | + |
| 80 | +Other: |
| 81 | + |
| 82 | + - Improve documentation |
| 83 | + - Optimize speed for pass case, particularly in `_verify()` functions |
| 84 | + - Increased depth of unit and system tests |
| 85 | + |
| 86 | +### CMock 2.5.0 (October 2019) |
| 87 | + |
| 88 | +New Features: |
| 89 | + |
| 90 | + - New memory bounds checking. |
| 91 | + - New memory alignment algorithm. |
| 92 | + - Add `ExpectAnyArgs` plugin |
| 93 | + - Divided `CVallback` from `Stub` functionality so we can do both. |
| 94 | + - Improved wording of failure messages. |
| 95 | + - Added `:treat_as_array` configuration option |
| 96 | + |
| 97 | +Significant Bugfixes: |
| 98 | + |
| 99 | + - Fixed bug where `CMock_Guts_MemBytesUsed()` didn't always return `0` before usage |
| 100 | + - Fixed bug which sometimes got `CMOCK_MEM_ALIGN` wrong |
| 101 | + - Fixed bug where `ExpectAnyArgs` was generated for functions without args. |
| 102 | + - Better handling of function pointers |
| 103 | + |
| 104 | +Other: |
| 105 | + |
| 106 | + - `void*` now tested as bytewise array comparison. |
| 107 | + - Documentation fixes, particularly to examples. |
| 108 | + - Added `resetTest` to documentation |
| 109 | + - New handling of messaging to greatly reduce memory footprint |
| 110 | + |
| 111 | +### CMock 2.4.6 (November 2017) |
| 112 | + |
| 113 | +Significant Bugfixes: |
| 114 | + |
| 115 | + - Fixed critical bug when running dynamic memory. |
| 116 | + |
| 117 | +### CMock 2.4.5 (September 2017) |
| 118 | + |
| 119 | +New Features: |
| 120 | + |
| 121 | + - Simple threading of mocks introduced. |
| 122 | + |
| 123 | +Significant Bugfixes: |
| 124 | + |
| 125 | + - Improvements to handling pointer const arguments. |
| 126 | + - Treat `char*` separately from an array of bytes. |
| 127 | + - Fixed handling of string arguments. |
| 128 | + - Preserve `const` in all arguments. |
| 129 | + - Fixed race condition when `require`ing plugins |
| 130 | + |
| 131 | +Other: |
| 132 | + |
| 133 | + - Expand docs on `strict_mock_calling` |
| 134 | + |
| 135 | +### CMock 2.4.4 (April 2017) |
| 136 | + |
| 137 | +New Features: |
| 138 | + |
| 139 | + - Add `INCLUDE_PATH` option for specifying source |
| 140 | + |
| 141 | +Significant Bugfixes: |
| 142 | + |
| 143 | + - Parsing improvements related to braces, brackets, and parenthesis |
| 144 | + - `ReturnThruPtr` checks destination not null before copying data. |
| 145 | + - Stub overrides Ignore |
| 146 | + - Improvements to guessing memory alignment based on datatypes |
| 147 | + |
| 148 | +Other: |
| 149 | + |
| 150 | + - Reorganize testing into subdirectory to not clutter for new users |
| 151 | + - Docs switching to markdown from pdf |
| 152 | + |
| 153 | +### CMock 2.4.3 (October 2016) |
| 154 | + |
| 155 | +New Features: |
| 156 | + |
| 157 | + - Support multiple helper header files. |
| 158 | + - Add ability to use `weak` symbols if compiler supports it |
| 159 | + - Add mock suffix option in addition to mock prefix. |
| 160 | + |
| 161 | +Significant Bugfixes: |
| 162 | + |
| 163 | + - Improved UNICODE support |
| 164 | + |
| 165 | + |
| 166 | + |
0 commit comments