summaryrefslogtreecommitdiff
path: root/Pancake
AgeCommit message (Collapse)Author
2019-02-18Add the "gs" command for Gopher searchdefanor
2019-02-17Fix default URIs for Gopher searchesdefanor
Newer curl versions don't translate "?" into "%09", and it should be "%09".
2018-04-23Handle XHTML filename extensions and MIME typesdefanor
2018-02-21Use Redland bindings instead of rdf4hdefanor
It's faster, includes a proper triple store with querying, and generally should be more useful.
2018-02-08Introduce pandoc timeoutsdefanor
Sometimes pandoc takes unreasonably long time to parse a document (though it warns about that in the documentation), so a safeguard is needed.
2018-01-23Add initial RDF supportdefanor
With two types of caching: file-based for retrieved documents, and memory-based for predicate labels extracted from those.
2018-01-15Add CiteSeerX searchdefanor
2018-01-11Set curl's user agent to pancake by defaultdefanor
Some websites, e.g. acm.org, block clients that identify themselves as curl.
2018-01-09Leave empty lines around block quotationsdefanor
2018-01-01Update copyright yearsdefanor
2017-12-28Install and enable a few uncluttering XSLTs by defaultdefanor
2017-12-25Provide absolute URIs for pancake.eldefanor
2017-12-24Fix a typodefanor
2017-12-22Add 'renderInlines', remove 'inlines'defanor
'renderInlines' splits inline elements into lines (on newline) and renders them one-by-one, so that line positions can be tracked. The code is also a bit cleaner this way.
2017-12-22Split inline elements into lines in readInlinesdefanor
2017-12-22Revert "Handle newlines in storeLines"defanor
That wasn't a proper fix, and may lead to additional issues. This reverts commit 14468d50a6b22c67e656cd2b2a5fb4c7dad692b2.
2017-12-22Handle newlines in storeLinesdefanor
Usually there's none, but now it's possible for them to get there with --no-wrap. Perhaps that should be fixed too.
2017-12-22Extend noWrap prevention to listing sub-elementsdefanor
2017-12-22Partially delegate line wrapping to Emacsdefanor
Not for tables or lists, but for regular text lines. Using visual-line-mode for that by default.
2017-12-22Refine documentation annotations and function namesdefanor
2017-12-22Use a list of elements instead of enumerationdefanor
The list is ordered anyway, no need to keep numbers there.
2017-12-22Use enumeration instead of breadcrumbs for position trackingdefanor
Just to simplify it.
2017-12-21Set breadcrumbs for Plain elements' linesdefanor
2017-12-21Use a separate breadcrumb for spacing between blocksdefanor
2017-12-21Store breadcrumbs/positions for definition listsdefanor
2017-12-21Retain position on redisplay, reload, etcdefanor
Based on line numbers that are attached to document blocks, not dependent on window/terminal width. Some bits can still be refined/refactored, but here's the initial support.
2017-12-19Enable a user to specify a configuration filedefanor
This covers both command-line options and the "load config" (former "reload config") command.
2017-12-15Add the "redisplay" commanddefanor
2017-12-14Add the "set width" commanddefanor
This is mostly needed for embedding, since there doesn't seem to be any practical (let alone portable) standard way to notify pancake of emacs window size changes. In pancake.el, width adjustment is now getting done automatically whenever any other command gets issued.
2017-12-14Handle HXT errors and suppress warningsdefanor
2017-12-14Write HXT output properlydefanor
2017-12-13Add uncluttering/XSLT supportdefanor
2017-12-11Improve code style in a couple of placesdefanor
- `sum lens /= 0` implies `length lens /= 0`, so no need to check the latter after the former. - Don't use `concat` for just two elements.
2017-12-11Handle empty tablesdefanor
Don't try to estimate column widths if it leads to division by zero.
2017-12-08Set the PANCAKE environment variable for downloadersdefanor
2017-12-06Add a web.archive.org shortcut into the default configurationdefanor
Finding the last HTTP 200 response via the availability API, so a dummy "web-archive" scheme is added into the default configuration in order to use a custom command. The URI_ESCAPED environment variable is also introduced, though not used here -- but may be handy for similar custom commands.
2017-12-06Run curl with --compressed by defaultdefanor
Otherwise it fails on pages that are only available with compression.
2017-12-01Add missing documentation annotationsdefanor
2017-12-01Skip empty table headersdefanor
Pandoc adds them even when they are undefined, no need to add an additional horizontal rule in such a case.
2017-12-01Reduce spacing between blocksdefanor
Insert empty lines conditionally instead of doing that between every pair of blocks. It can be improved further, but looks slightly better than it used to this way.
2017-11-29Use renderBlocks for OrderedListdefanor
2017-11-28Use [ and ] instead of b and f for history navigationdefanor
Akin to info viewers, and these won't interfere with link enumeration. Also use "quit" instead of "q".
2017-11-28Introduce initial image supportdefanor
Pancake reports saved files to Emacs, Emacs inserts them into appropriate positions if they are images; `pancake-load-images' just sends "save" commands for all the images. `pancake-display-hook' was added as well, so that image loading can be requested automatically, among other things. There is a few things to improve: currently the images don't get sliced, there's no caching or parallelization, and no tracking of explicitly requested images.
2017-11-28Change the way images are rendered and denoteddefanor
Now it is more compact, and that's another step towards image support in the Emacs interface.
2017-11-28Prepend license notices to source filesdefanor
2017-11-26Add file savingdefanor
User commands are adjusted, and the code is slightly refactored in order to fit this better.
2017-11-26Distinguish image denotations from those for linksdefanor
Some kind of image support can be introduced in the future, and it's not quite correct to present images as links.
2017-11-25Parse Emacs "mode" file variablesdefanor
Mode names mostly match file extensions, so try to use those when other methods fail.
2017-11-24Don't skip empty linesdefanor
This is particularly important for code blocks.
2017-11-24Add missing documentation annotationsdefanor