Skip to content

Feature: Partials#1131

Open
mkarlesky wants to merge 594 commits intomasterfrom
feature/partials
Open

Feature: Partials#1131
mkarlesky wants to merge 594 commits intomasterfrom
feature/partials

Conversation

@mkarlesky
Copy link
Copy Markdown
Member

Partials slice and dice source files and header files to allow testing and mocking of "private" functions (static, inline, etc.). Among other things, this allows mocking of functions inside the same source file under test.

But preservered other good changes
- Feature extraction loop handled growing a buffer with more small cunks just fine. It did not handle advancing within a large chunk to continue trying to find a feature.
- Function signature extraction did not properly recognize a declaration (ending with semicolon) or a function block (left curly brace) and adjust the scanner position appropriately.
- Added pattern matching task
- Added documentation output format to RSpec tasks used during development
- Modified `extract_contents()` for feature finding loop within IO buffer.
- Simplified `extract_next_feature()` to attempt to extract up to maximum buffer size but reset buffers for subsequent feature extraction attempt.
mkarlesky and others added 30 commits April 30, 2026 10:12
It’s aesthetically more pleasing and works more nicely with our docs
Relative ordering of the C statements in the source module for Partials generation is now preserved in the generated Partials.
MSVC, C11, and GCC
 - __declspec()
 - __attribute__()
 - etc.
Subprojects plugin was superseded by the Dependencies plugin long ago
Dependencies superseded subprojects long ago. These references are useless and confusing.
- New state managing data structures in place of problematic hashes
- Stages are well-managed as atomic units
- Reorganized lengthy single method into multple methods and multiple supporting objects
- Broke up local site CSS fixes from common styling
- Updated main and local mkdocs YAML to include common and local-only changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants