aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
5 daysAdd pdf link type.•••* ennum-html.el (ennum-html-export-pdf): New function. (org-link-parameters): Add pdf. * ennum.el (ennum-setting): Add :pdf-width and :pdf-height settings. (ennum-publish-link): Add pdf link type. HEADmasterArun Isaac
5 daysIntern source images before any operation on them.•••Functions must operate on store items and produce store items. Thus, the set of store items is closed under the function. This closure frees the function to not care about the origin of the store item. Thus, the store item becomes a mere value to be passed around, rather than a place with special meaning. * ennum.el (ennum-publish-image): Only accept interned images. (ennum-publish-link, ennum-publish): Intern images before passing them to ennum-publish-image. Arun Isaac
5 daysInhibit file name handlers when serving static files.•••* ennum.el (ennum-server-start)[httpd/]: Inhibit file name handlers when serving static files. Arun Isaac
5 daysImplement the Cache Directory Tagging Specification.•••* ennum.el (ennum-eval): Mark store as a cache directory. Arun Isaac
2025-01-29Inhibit certain file name handlers during ennum builds.•••* ennum.el (ennum-inhibit-file-name-handlers): New variable. (ennum--file-hash): Inhibit file name handlers in ennum-inhibit-file-name-handlers when inserting file contents literally. Arun Isaac
2025-01-29Do not track features.•••Let us not track features. It is not possible to guarantee such strong controls without spawning a separate inferior process for the build. Also, many features put in non-reproducible values such as dates and times that disrupt the caching. If variables or functions are mutated, rebuilding manually is the user's problem. For final publishing, continuous integration systems need to be used anyway. * ennum.el (ennum-track-features, ennum-feature-hash): Delete variables. (ennum--feature-environment): Delete function. (ennum-eval): Do not print ennum-feature-hash. (ennum-publish): Do not recompute ennum-feature-hash. Arun Isaac
2022-08-21Actually use default :tag-directory setting.•••* ennum.el (ennum-setting): Actually use default :tag-directory setting. Arun Isaac
2022-08-20Fill paragraphs in sample text in README.•••* README.org (Post format): Fill paragraphs in sample text. Arun Isaac
2022-08-20Document ennum Tamil meaning.•••* README.org (Why is it called "ennum"?): New section. Arun Isaac
2022-08-20Advertise built-in link types among features.•••* README.org (Features): Advertise built-in link types. Arun Isaac
2022-08-20Document starting and stopping the local HTTP server.•••* README.org (Usage): Documenting starting and stopping the local HTTP server. Arun Isaac
2022-08-20Document post format.•••* README.org (Post format): New section. Arun Isaac
2022-08-19Advertise local HTTP server.•••* README.org (Features): List local HTTP server. (Features in detail)[Simple HTTP server to view blog locally]: New subsection. Arun Isaac
2022-08-19Add usage instructions.•••* README.org (Usage): New section. Arun Isaac
2022-08-19Add installation instructions.•••* README.org (Installation): New section. Arun Isaac
2022-08-19Rename :video-directory setting to :videos-directory.•••* ennum.el (ennum-setting, ennum-blog): Rename :video-directory setting to :videos-directory. (ennum-publish-link): Use :videos-directory setting instead of :video-directory. * ennum-html.el (ennum-html-link, ennum-html-follow-video): Use :videos-directory setting instead of :video-directory. Arun Isaac
2022-08-19Add README.•••* README.org: New file. Arun Isaac
2022-08-18Introduce :required-metadata setting.•••* ennum.el (ennum-mandatory-metadata): Delete variable. (ennum-setting): Define the :required-metadata setting. (ennum-blog): Document the :required-metadata property. (ennum--read-post): Use the :required-metadata setting instead of ennum-mandatory-metadata. Arun Isaac
2022-08-18Add trailing period to ennum-version docstring.•••* ennum.el (ennum-version): Add trailing period to docstring. Arun Isaac
2022-08-18Make ennum-blog customizable.•••* ennum.el (ennum-blog): Define using defcustom instead of defvar. Arun Isaac
2022-08-18Document ennum-blog variable.•••* ennum.el (ennum-blog): Add docstring. Arun Isaac
2022-08-18Rename :thumbnail-image-width property to :image-thumbnail-width.•••* ennum.el (ennum-publish): Use :image-thumbnail-width instead of :thumbnail-image-width. (ennum-setting): Rename :thumbnail-image-width property to :image-thumbnail-width. * ennum-html.el (ennum-html-export-thumbnail): Use :image-thumbnail-width instead of :thumbnail-image-width. Arun Isaac
2022-08-18Rename :default-image-width property to :image-width.•••* ennum.el (ennum-publish-link): Use :image-width instead of :default-image-width. (ennum-setting): Rename :default-image-width property to :image-width. * ennum-html.el (ennum-html-link): Use :image-width instead of :default-image-width. Arun Isaac
2022-08-18Make ennum-version a constant instead of a variable.•••* ennum.el (ennum-version): Define as a constant instead of as a variable. Arun Isaac
2022-08-18Mark query argument of httpd/ as unused.•••* ennum.el (ennum-server-start): Mark query argument of httpd/ as unused. Arun Isaac
2022-08-18Mark ennum-html-export-thumbnail desc argument as unused.•••* ennum-html.el (ennum-html-export-thumbnail): Mark desc argument as unused. Arun Isaac
2022-08-18Do not shadow default-directory dynamic variable.•••* ennum-html.el (expand-file-name*): Rename default-directory argument to base-directory. Arun Isaac
2022-08-18Create customization group.•••* ennum.el (ennum): New customization group. * ennum-image.el (ennum-image-convert-path, ennum-image-identify-path, ennum-image-jpegtran-path, ennum-image-optipng-path): Add to ennum customization group. Arun Isaac
2022-08-18Treat author name as plain text.•••* ennum.el (ennum--read-post): Treat author name as plain text. Do not export it using org. Arun Isaac
2022-08-17Replace first with seq-first.•••cl is deprecated. So we replace first from cl with seq-first from seq. * ennum.el: Do not require cl. (ennum--read-post, ennum-publish-index, ennum-publish-feed): Replace first with seq-first. Arun Isaac
2022-08-17Do not pattern match link objects, use the org API.•••* ennum.el (ennum--read-post): Do not pattern match link objects. Use the org API instead. Arun Isaac
2022-08-17Pass tongue argument to ennum-publish-index.•••Pass tongue argument to ennum-publish-index and ennum-publish-index-page instead of letting them discover it themselves. * ennum.el (ennum-publish): Pass tongue argument to ennum-publish-index. (ennum-publish-index): Accept tongue argument. Pass tongue argument to ennum-publish-index-page. (ennum-publish-index-page): Accept tongue argument. Arun Isaac
2022-08-17Use posts-directory argument in ennum-posts.•••* ennum.el (ennum-posts): Use posts-directory argument instead of querying for it again using ennum-setting. Arun Isaac
2022-08-17Move ennum-with-temporary-directory to top.•••* ennum.el (ennum-with-temporary-directory): Move to top. Arun Isaac
2022-08-17Move ennum-with-current-directory to top.•••* ennum.el (ennum-with-current-directory): Move to top. Arun Isaac
2022-08-17Move ennum-with-file-contents to top.•••* ennum.el (ennum-with-file-contents): Move to top. Arun Isaac
2022-08-17Do not pass comparison function to map-elt.•••* ennum.el (ennum-export-post, ennum-publish-index-page, ennum-assoc-prepend): Do not pass comparison function to map-elt. * ennum-html.el (ennum-html-inner-template): Do not pass comparison function to map-elt. Arun Isaac
2022-08-17Mark last-modified memoization argument as unused.•••The last-modified argument is only for invalidating memoized results of an older function call. Its value is not actually used. So, mark it as such to avoid a compiler warning. * ennum.el (ennum--file-hash, ennum--read-post): Mark last-modified memoization argument as unused. Arun Isaac
2022-08-15Link to video poster in images directory, not the video directory.•••* ennum-html.el (ennum-html-link): Link to video poster in images directory, not the video directory. v0.1.0Arun Isaac
2022-08-15Strip leading directory from other files.•••* ennum.el (ennum-publish): Strip leading directory from other files. (ennum-publish-generic): Prepend other files directory to find the source file. Arun Isaac
2022-08-15Optionally return files in the current directory.•••* ennum.el (ennum-directory-files): If directory is not provided, assume it is the current directory. Arun Isaac
2022-08-15Replace seq-do with dolist.•••* ennum.el (ennum--set-file-modes-recursively, ennum-store-item-union, ennum-publish-index-page, ennum--read-post): Replace seq-do with dolist. Arun Isaac
2022-08-15Localize conditional in chmod call.•••* ennum.el (ennum--set-file-modes-recursively): Compute only the mode conditionally, not the whole chmod call. Arun Isaac
2022-08-15Do not log video posters.•••* ennum-html.el (ennum-html-link): Do not log video posters. Arun Isaac
2022-08-15Register video link type.•••* ennum-html.el: Register video link type. (ennum-html-follow-video): New function. Arun Isaac
2022-08-15Expand ennum-copy docstring.•••* ennum.el (ennum-copy): Expand docstring. Arun Isaac
2022-08-15Re-indent.•••* ennum.el (ennum--feed-entry): Re-indent. Arun Isaac
2022-08-15Return only non-directory part of poster filename.•••* ennum.el (ennum-video-poster): Return only non-directory part of poster filename. Arun Isaac
2022-08-15Track variables provided by certain features.•••We track the value of variables provided by certain features. This is so that we rebuild correctly when the user sets a configuration variable. * ennum.el: Require loadhist. (ennum-track-features, ennum-feature-hash): New variables. (ennum--feature-environment): New function. (ennum-exp): Include ennum-feature-hash in hash computation. (ennum-publish): Recompute ennum-feature-hash. Arun Isaac
2022-08-15Do not double prepend directories to filenames.•••The return value of ennum-directory-files now includes the respective directories. There is no need to prepend the directory again. * ennum.el (ennum-posts, ennum-publish-generic): Do not prepend directory to filename. Arun Isaac