• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

starwing / musubi / 20212836938
100%

Build:
DEFAULT BRANCH: master
Ran 14 Dec 2025 07:13PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Canceled at 23 Dec 2025 05:23AM UTC via web
20212836938

push

github

starwing
feat: release v0.5.0 with primary labels and cross-file ordering

Major features:
1. Primary label mechanism
   - Added mu_primary() API to mark labels as primary
   - Primary label determines header location in diagnostics
   - Automatic fallback to earliest label if no primary set
   - Lua: report:primary(), C: mu_primary(R)

2. Simplified report() constructors (Lua)
   - mu.report() - no arguments
   - mu.report(message) - error with message
   - mu.report(level, message) - custom level
   - Removed mu_location() API (breaking change)

3. Cross-file label ordering
   - Labels now ordered by: order → src_id → pointer
   - Simplified muG_make_groups: sort once, process sequentially
   - Better handling of multi-source diagnostics

4. Context lines support
   - Config option: context_lines (default: 0)
   - Shows N lines before/after labeled lines
   - Smart ellipsis handling for gaps
   - Lua: cfg:context_lines(n), C: config.context_lines = n

5. Charset extensions
   - Added line_margin elements: left, middle, right, single
   - Improved vbar/hbar crossing (draw vbar first)
   - Better visual continuity for margin labels

Implementation improvements:
- Replaced mu_Source.gidx with .inited flag (clearer semantics)
- Added mu_Source.line_count() function pointer
- New muG_calc_charpos() for unified byte/char conversion
- Optimized muG_init: leverages sorted label order
- Added muA_isempty() macro for better readability

Testing:
- 100+ test cases updated for new API
- Added 6 context_lines edge case tests
- All cross-file ordering tests passing
- Coverage maintained at 100%

Breaking changes:
- Removed mu_location() / report:location() API
- Use mu_primary() / report:primary() instead

Docs:
- README.md: Updated all examples for v0.5.0 API
- Added "Primary Label Mechanism" section
- Updated Lua/C API reference tables
- All code samples use new constructors
Source Files on build 20212836938
Detailed source file information is not available for this build.
  • Back to Repo
  • 4e8695ec on github
  • Prev Build on master (#20194230084)
  • Next Build on master (#20212874813)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc