Skip to content

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 02 Dec 20:58
· 5 commits to master since this release
92c269a

Added

  • Modernized .tmLanguage Grammar Parity (email.tmBundle/Syntaxes/email.YAML-tmLanguage, email.tmLanguage):
    • Ported RFC 5322 header parsing (meta.block.header.eml) with uniform keyword.other.eml header scoping, Subject: (markup.heading.eml), Message-ID: (entity.name.label.eml), security/auth headers (ARC-*, Authentication-Results, DKIM/DomainKey/Message-Signature, Received-SPF), multi-line folded header continuations, key=value parameters, and unclosed-comment-safe parenthesized RFC 5322 comments (#10).
    • Ported structured Received: delivery trace highlighting (hop clauses, relay domains, transmission protocols, queue IDs, TLS tokens and comment parameters, relay IPs, and trailing timestamps) (#10).
    • Ported RFC 5322 timestamps, IPv4/IPv6 and [IPv6:...] address literals, email addresses (mailto: and <user@domain>), HTTP(S) URIs, and RFC 2047 ?Q?/?B? encoded-words across all IANA charsets and RFC 2231 language tags with single-line boundary guards (#10).
    • Ported header-driven single-part and nested multipart MIME routing (RFC 2046 boundaries + epilogue isolation) with embedded highlighting for text/html (text.html.basic), text/xml (text.xml), text/x-diff/text/x-patch (source.diff), text/calendar (RFC 5545 iCal), and message/rfc822 (attached .eml), plus Base64 text/image and Quoted-Printable blocks (#10).
    • Added regex code folding markers (foldingStartMarker / foldingStopMarker) compatible with both Sublime Text 3 and TextMate 2 (#10).
  • Editor Preferences (email.tmBundle/Preferences/*.tmPreferences):
    • Added Comments.tmPreferences (> reply quoting and ( ... ) header comments) and the complete Symbol List - *.tmPreferences suite (Headers, Message-ID, Parts, Implicit Parts, Attachments, Hide) for Goto Symbol and TextMate's symbol popup (#10).
  • Sublime Text 3 Python 3.3 Plugin (email_plugin.py, Default.sublime-commands, Context.sublime-menu):
    • Ported hover previews (inline Base64 images with magic-byte MIME detection, decoded Base64 text preview, Local + UTC timestamps), in-place decoders (Email: Decode Base64, Email: Decode Encoded-Words, Email: Decode Quoted-Printable), and Email: Export Attachment to File with full Python 3.3 compatibility and conditional Email submenu visibility scoped to text.eml (#10).
  • Build Tooling, Syntax Tests & CI (scripts/build_grammar.py, scripts/link_sublime.sh, tests/syntax_test_*.eml, tests/test_plugin.py):
    • Added scripts/build_grammar.py (with --check drift enforcement) to reproducibly compile email.YAML-tmLanguage → email.tmLanguage and scripts/link_sublime.sh for local Sublime Text 3 / TextMate 2 development (#10).
    • Ported 8 syntax test suites executed on Sublime Text 3 (Build 3211) in GitHub Actions alongside 30 Python unit tests (including Python 3.3 AST compatibility checks) and expanded CodeQL to scan both python and actions (#10).

Changed

  • Root Scope & Bundle Metadata: Aligned root grammar scope from source.eml to text.eml, removed stale .sublime-syntax (push / with_prototype) rules from email.tmLanguage, updated email.tmBundle/info.plist (name and description), and refreshed documentation (README.md, FEATURES.md, CONTRIBUTING.md, INSTALL.md, AGENTS.md, TODO.md) and demo screenshots (.github/ST3-demo.png, .github/TM2-demo.png) (#10).