about summary refs log tree commit diff
path: root/imap.h (unfollow)
Commit message (Collapse)Author
2021-06-12Use SEARCH for a subset of thread rootsJune McEnroe
This does way less duplicate work by fetching all threads and all thread root envelopes once, then doing searches for subsets of thread roots.
2021-06-11Add margin between header navsJune McEnroe
2021-06-11Generate navigation for search pagesJune McEnroe
2021-06-11Generate arbitrary search pages and feedsJune McEnroe
First export ALL threads, then generate search pages. Skip search threads that weren't exported by the ALL search, i.e. non-root threads.
2021-06-11Generalize index.{atom,html} to search pagesJune McEnroe
2021-06-11Ignore test directoryJune McEnroe
Nothing generates this but I always use it for ./bubger -C test.
2021-06-11Remove -t truncate flagJune McEnroe
It can't actually be used correctly: two updates in quick succession can truncate the output before it is read, causing files to be missed.
2021-06-10Fix decoding adjacent encoded-wordsJune McEnroe
RFC 2047 6.2. Display of 'encoded-word's: > When displaying a particular header field that contains multiple > 'encoded-word's, any 'linear-white-space' that separates a pair of > adjacent 'encoded-word's is ignored. (This is to allow the use of > multiple 'encoded-word's to represent long strings of unencoded text, > without having to separate 'encoded-word's where spaces occur in the > unencoded text.)
2021-06-09Limit number of entries in index Atom feedJune McEnroe
2021-06-09Use LDADD variables and BINDIRJune McEnroe
2021-04-26Don't output "0 replies" at all 1.0aJune McEnroe
2021-04-25Fix address group spacingJune McEnroe
2021-04-22Only highlight the direct target message headerJune McEnroe
2021-04-22Handle trailing comments in message IDsJune McEnroe
Apparently some clients put a comment after the <messageID> (like this).
2021-04-22Don't URL-encode fragment linksJune McEnroe
Seems that actually makes them not work correctly when they contain weird things.
2021-04-22Fix handling groups in address listsJune McEnroe
2021-04-21Omit HTML nav from nested messagesJune McEnroe
We don't output mbox for nested messages, nor do we necessarily have a parent message on the same page.
2021-04-11Parse dates in a hopefully more portable fashionJune McEnroe
On GNU, struct tm doesn't have tm_gmtoff and %z or %Z in strptime do nothing. mktime(3) interprets the struct as local time, regardless of any tm_gmtoff, except on FreeBSD. Parse the zone portion of the date manually, subtract it from the struct tm fields, and call timegm(3). While here, correctly parse the optional seconds portion of the time.
2021-04-09Remove unnecessary capture group in URL regexJune McEnroe
That capture group actually makes the regex ambiguous, it seems, since apparently some implementations backtrack to match the . branch rather than the $ branch, leaving off a trailing character from the second capture group. Regardless, that trailing capture group is totally unnecessary and I don't know why it was there.
2021-03-13Exit on getopt failureJune McEnroe
Oops, missed this!
2021-03-08Respect DESTDIR 1.0June McEnroe
2021-03-08Remove mention of SORT extensionJune McEnroe
The SORT and THREAD extensions are specified together, but need not both be implemented, I don't think. We don't use SORT.
2021-03-08Port to LinuxJune McEnroe
2021-03-04Reference "Mailing List" post in READMEJune McEnroe
2021-03-03Remove DEPLOYMENT sectionJune McEnroe
There's not enough detail for it to be useful, and not enough room to provide enough detail either.
2021-03-03Add -t flag to truncate stdout before writing pathsJune McEnroe
2021-03-03Output updated pathsJune McEnroe
2021-03-03Sandbox with unveil(2) and pledge(2) on OpenBSDJune McEnroe
2021-03-03Target OpenBSDJune McEnroe
2021-03-02Expand READMEJune McEnroe
2021-03-01Generate properly populated reply Cc listsJune McEnroe
2021-01-18Match any non-context diff lines as "head"June McEnroe
The explicit state between Patch and Diff also allows applying markup to the diffstat in the future, perhaps.
2021-01-18Alphabetize STANDARDS sectionJune McEnroe
2020-12-14Fix MANDIR defaultJune McEnroe
2020-12-11Free threads and envelopes after concatJune McEnroe
Kind of important for the idle loop huh.
2020-12-11Add -i to idleJune McEnroe
And rewrite the entire main flow as separate loops with labels. I think it's much clearer and, importantly, much less indented.
2020-12-11Add imapIdleJune McEnroe
Handles re-IDLE-ing every 29 minutes and returns the first response it gets.
2020-12-09Add FILES section to READMEJune McEnroe
2020-12-08Handle mail with no trailing newline correctlyJune McEnroe
Embarrassing that my mail client produced such a thing.
2020-12-07Condense getservinfo and bounds checkJune McEnroe
2020-12-07Remove RCODE and ANCOUNT checkJune McEnroe
res_query already checks these.
2020-12-07Correctly handle . in nameStringJune McEnroe
2020-12-07Remove use of AI_DEFAULTJune McEnroe
This just causes getaddrinfo(3) to return EAI_BADFLAGS on FreeBSD, strangely.
2020-12-04Infer hostname from usernameJune McEnroe
2020-12-04Add DNS and SRV RFCs to STANDARDSJune McEnroe
2020-12-04Add -lresolv on macOSJune McEnroe
2020-12-04Implement getservinfo for SRV lookupJune McEnroe
2020-12-03Refactor patch markup generationJune McEnroe
2020-12-02Switch to inline default stylesheetJune McEnroe
2020-12-01Be even less weird about HTMLJune McEnroe