Commit Graph
9 Commits
Author SHA1 Message Date
Daniel Eggert dd881edcce Add Command.Tag for command and response tags
`TaggedCommand(tag: "A1 NOOP\r\nA2 DELETE INBOX\r\nA3", command: .noop)`
was written verbatim, injecting a command; likewise `APPEND` start.
`TaggedResponse(tag: "* BYE x\r\nA1", …)` injected a response.

RFC 3501: `tag = 1*<any ASTRING-CHAR except "+">`. New `Command.Tag`
replaces the `String` in `TaggedCommand`, `TaggedResponse`, `Response`,
`CommandStreamPart`, `AppendCommand`, `BadCommand` and NIOIMAP's state
machine errors; `init?(_:)` validates, literals trap. The parser already
enforces the production. IMAPCommands converts its numeric tags.
2026-11-03 14:59:37 +01:00
Matt Diephouse f5fa7d3691 Implement OBJECTID+ extension (#840) 2026-10-30 13:47:17 +00:00
Daniel Eggert fbec780de3 Normalize malformed ENVELOPE address groups (#872) 2026-10-27 15:06:24 +01:00
Daniel Eggert 6c8cfaddcc Add a imperative IMAP client and an imap-tool CLI (#841) 2026-09-25 16:16:41 +01:00
Daniel Eggert e536be599e Reject invalid AuthenticationMechanism (#846) 2026-09-01 10:11:11 +02:00
Daniel Eggert c4d4d23e29 Drop pre-Swift 6.2 (#845) 2026-08-29 09:23:34 +02:00
Daniel Eggert 90124af395 Add proxy readme (#839) 2026-07-30 09:57:47 -04:00
Daniel Eggert dcba159054 Modernize the Proxy example (#835) 2026-07-18 21:54:14 +02:00
Daniel Eggert 1057994e93 Move examples into sub-dir (#834) 2026-07-18 12:00:06 +02:00