Commit Briefs

Omar Polo

wording


Omar Polo

document the implicit mapping for text/gemini

and remove the explicit mapping from the documentation and test files.


Omar Polo

revise changelog


Omar Polo

hardcode the mapping text/gemini -> .gmi/.gemini

It's still possible to override this automatic mapping by just adding an entry like application/octet-stream gemini gmi in the `types' block.


Omar Polo

sync



Omar Polo

tweaks



Omar Polo

document the `types' behavior


Omar Polo

add an entry for text/gemini in the `types' example

if using `types' the internal listing is not used, so show how to add the entries for text/gemini when using /usr/share/misc/mime.types.




Omar Polo

wrong email...


Omar Polo

sync


Omar Polo

allow add_mime to fail

add_mime nows allocate dinamically copies of the passed strings, so that we can actually free what we parse from the config file. This matters a lot especially with lengthy `types' block: strings that reach the internal mapping are never free'd, so every manual addition is leaked.