1
0
Fork 0
Commit Graph

542 Commits

Author SHA1 Message Date
cage aaf27c5932 - added zip-info:list-entries. 2021-08-21 12:34:45 +02:00
cage 453178e0e0 - fixed typo. 2021-08-20 17:54:49 +02:00
cage 7971b9f587 - sorted directory entries when rendering a directory using tinmop. 2021-08-20 17:52:09 +02:00
cage 84bfb55b32 - added draft of gpub support;
- updated tranlation template files and italian translation.
2021-08-20 17:36:01 +02:00
cage 50cc7727e6 - added 'temporary-directory'. 2021-08-20 17:04:23 +02:00
cage 1e37af8772 - added dependency on 'unzip';
- added 'unzip-file';
- fixed zip-info conatant name.
2021-08-20 14:23:21 +02:00
cage 7685e64a77 - added function 'zip-file-p' to recognize zip files. 2021-08-20 12:00:14 +02:00
cage ee82cf2d72 - prevented crash when opening tour mode links and configuration directive 'open-message-link-window.close-after-select' values 'yes'. 2021-08-16 21:39:13 +02:00
cage ca353ae982 - added deletion of bookmark's entries. 2021-08-16 15:28:37 +02:00
cage 804ce88de8 - added a title to bookmark page. 2021-08-16 14:30:59 +02:00
cage 377d95af51 - started with gemini link bookmark. 2021-08-16 14:22:47 +02:00
cage 0a3d7baa9d - prevented a race condition occurring when accessing the database on program quit. 2021-08-15 19:11:05 +02:00
cage a1cf6de9da - move cursor to the end of th estring when browsing command line's history. 2021-08-14 21:48:02 +02:00
cage 16733f12ef - complete in a different way things that looks like local paths when opening gemini address.
- prevented a crash when opening a directory that does not exists on local filesystem.
2021-08-14 21:44:47 +02:00
cage 0247325a5d - fixed regression: command apropos works again. 2021-08-14 16:09:10 +02:00
cage 5217636b34 - prevented two messages with the same message-index presents in the same folder and timeline. 2021-08-14 14:38:42 +02:00
cage 0d9d83280e - refactored gemlog updating event. 2021-08-14 11:22:26 +02:00
cage 15dfebff46 - ignored error when refreshing gemlogs. 2021-08-14 11:17:10 +02:00
cage 56b837c1fe - forced resizing of suggestion window when terminal is resized. 2021-08-13 12:41:04 +02:00
cage 423779986a - improved macro 'when-window-shown' to prevent crash of the program when terminal window is too small. 2021-08-13 12:14:58 +02:00
cage d04f4e001b - added loading module for abbreviation by default in config file.
- prevented crash when teminal height was to small to fits suggetion window.
2021-08-12 22:40:49 +02:00
cage a0bfde0ede - made gemlog's updating non blocking. 2021-08-12 15:13:47 +02:00
cage 2c6497a6f0 - prevented crash when suggestion windows are shown
when the width of the terminal was too thin  paginating the suggestions failed.
2021-08-07 13:22:33 +02:00
cage 8d086ba6c4 - allowed switching off abbreviations on the command-window. 2021-08-06 19:07:45 +02:00
cage 5c8e1d5828 - added a module to expand abbreviations for the command window. 2021-08-06 18:25:15 +02:00
cage 0c245ebc65 - [gemini] added a procedure to import tls certificates. 2021-08-03 18:31:34 +02:00
cage d97bad8d3b - made less confusing complete command line. 2021-07-31 17:24:28 +02:00
cage d2b2605a89 - relaxed a bit the tour mode indices parser (allow multiple consecutive separator and comma as separator). 2021-07-31 14:21:59 +02:00
cage e6cd7b9ab4 - added a configuration directive to close the link window after a link has been selected. 2021-07-31 14:09:10 +02:00
cage a0c25ee8fe - prevented out of bound condition when scrolling message-window's
contents (this was actually a regression).
2021-07-31 11:42:12 +02:00
cage 69ee5ab811 - added a configuration directive to update subscription to gemlogs at starts;
- added scheduled events when program starts;
- made update to gemlog less blocking;
- increased default history purging threshold.
2021-07-31 11:06:48 +02:00
cage bdb4ae1fd4 - added client.lisp 2021-07-26 19:56:49 +02:00
cage 5e230407c6 - added adjust-strategy-last to show text in message-window;
- removed call to 'adjust-selected-rows' when redrawing message-window;
- fixed 'adjust-selected-rows', wa never actually called.
2021-07-26 19:03:10 +02:00
cage 7a919d64f1 - wrapped function in '(eval-when..'.
- updated/fixed Changelog.
2021-07-26 16:29:58 +02:00
cage 8209d5739c - [gemini] added "no wait" directive when downloading non gemini text format from gemini
allow opening file before it is downloaded completely.
2021-07-25 18:36:06 +02:00
cage dc8df6c91f - suppressed printing of three notes. 2021-07-25 13:27:54 +02:00
cage fa12f56d10 - revert to old completion method for non URI;
- added type declaration to remove optimization note.
2021-07-25 12:44:35 +02:00
cage 90d7713c65 - implemented cut line from point (using "^K") in command window. 2021-07-23 21:44:05 +02:00
cage d1445f42de - fixed typo. 2021-07-23 19:59:31 +02:00
cage 16cc131bed - [gemini] added moving selected uri from suggestion window using Tab key. 2021-07-23 19:56:46 +02:00
cage 6e92455667 - resetted selected item position when a 'suggestion-window' is shown. 2021-07-23 19:14:23 +02:00
cage 3ba5b83015 - changed the way the input is completed, complete with current selected item in suggestion window. 2021-07-23 18:46:13 +02:00
cage e28ae6ff1a - [gemini] used fuzzy matching when looking for URI in history. 2021-07-23 16:56:36 +02:00
cage 81b581ff14 - [gemini] changed streaming animation. 2021-07-22 20:18:22 +02:00
cage 40b39837d5 -[gemini] allowed open gemini links from gemlog subscription window;
- highlighted a mit more matched characters in 'suggestion-window'.
2021-07-22 18:55:19 +02:00
cage 0fea0d59b4 - fixed padding when fitting suggestions into 'suggestion-win'. 2021-07-22 16:29:51 +02:00
cage 819c90f179 - allowed selecting a suggestion from suggestion-window;
- highlighted matching characters in suggestion window.
2021-07-22 14:59:29 +02:00
cage e5f93bd632 - [gemini] removed link prefix for link labels that starts with an emoji;
- [gemini] removed splitting of long link labels;
- fixed output stream of 'print-debug'.
2021-07-17 12:13:04 +02:00
cage 2015066c61 - removed link prefix if link line starts with an emoji. 2021-07-16 19:24:27 +02:00
cage 0972cc3ed0 - [gemini fixed validity check for client certificate (thanks op!). 2021-07-16 11:32:36 +02:00
cage 946ba4923e - made clear source and license of the emojis;
- fixed docstring (thanks op!);
- prevented a crash when refresh of chats hits a network error.
2021-07-15 21:17:24 +02:00
cage f0f682d271 - renamed 'starts-with-emoji-p' to 'starting-emoji'. 2021-07-15 20:36:38 +02:00
cage 09f35f4989 - added 'starts-with-emoji-p'. 2021-07-15 18:44:44 +02:00
cage 87a87296f6 - improved 'emojip'. 2021-07-15 17:41:50 +02:00
cage 5753a7404a - refactored some emoji-related code. 2021-07-15 12:45:12 +02:00
cage e981c6589e - added 'emojip'. 2021-07-15 12:41:43 +02:00
cage a44d42201a - [gemini] changed animation when streaming data. 2021-07-14 21:24:41 +02:00
cage bb07663a0a - added a visual hint while a gemini page is streaming contents. 2021-07-14 19:00:23 +02:00
cage d20ff6d304 - changed croatoan's 'window-position' to 'widget-position';
- updated version of croatoan known to works with tinmop in building script.
2021-07-10 17:15:09 +02:00
cage 8d2d411f14 - implemented a minimal 9p client. 2021-07-10 14:22:03 +02:00
cage 4407ef3426 - remved the BOM from a gemini text stream. 2021-07-09 13:54:29 +02:00
cage 91bae49372 - added a welcome window. 2021-07-03 12:34:05 +02:00
cage 287055f576 -[gemini] removed preformatted line truncate;
- [gemini] colored the alt text as the preformatted line (when shown).
2021-06-28 15:04:26 +02:00
cage 5fbb86419c - do not show marks for empty lines. 2021-06-27 14:02:47 +02:00
cage f6d87b15ec - marked that there is content on the left in message window when
scrolling horizontally.
2021-06-27 13:48:57 +02:00
cage 6ffb2c5cc1 - [gemini] forced redraw of the window when rendering a new gemini stream. 2021-06-27 13:27:15 +02:00
cage 5e3c19811b - trucated long lines in message window and allowed horizontal scrolling. 2021-06-27 13:13:28 +02:00
cage 05a06d1dad - fixed find-user-id-from-exact-acct, was returning a wrong user id. 2021-06-25 20:59:02 +02:00
cage 4c950d9052 - [gemini] prevented repainting of the message-window if not needed when streaming gemini text from the net. 2021-06-20 13:04:47 +02:00
cage f4b92f92f2 - [gemini] ensured the certificate is sent when performing a request. 2021-06-18 21:17:14 +02:00
cage 70d9fb5c0c - changed macro with a function. 2021-06-18 17:48:56 +02:00
cage f39e396762 - refactoring TOFU error recovery. 2021-06-18 17:10:58 +02:00
cage 4dae983197 - [gemini] prevented crash when a gemlog changed certificate and post's list is refreshed. 2021-06-18 17:01:11 +02:00
cage 3d332e4503 - changed three dots with ellipsis. 2021-06-17 20:04:08 +02:00
cage fa10de925e - [gemini] ensured we have not to wait a stream is completed before opening a new one. 2021-06-17 19:41:03 +02:00
cage c8d1e6aa2b - ensured windows are cleared when terminal is resized. 2021-06-17 15:48:00 +02:00
cage 204f32cff7 - rearrange TOC window on resize. 2021-06-17 15:45:43 +02:00
cage b5b1611a7e - fixed spacing. 2021-06-17 15:23:24 +02:00
cage 073ccb8640 - prevented crash when closing program while a gemini page was rendering. 2021-06-17 15:07:40 +02:00
cage 334d5389ff - increased priority for message window text searching event. 2021-06-17 14:44:49 +02:00
cage ea6485271d - [gemini] allowed scrolling of a gemini page when focus is on the TOC. 2021-06-16 19:18:30 +02:00
cage 34284f9a51 - fixed regression: searching in links window does not get stuck at the first occurence. 2021-06-16 19:08:41 +02:00
cage 68c250e03c - fixed regression: searching in the message window does not get stuck at the first occurence. 2021-06-16 18:33:16 +02:00
cage c2f3f155aa - shadowed 'split-lines' from croatoan.
- fixed regex for opening some files with tinmop

(example: Open a gemini file with tinmop only if a local file or served trough gemini protocol.
2021-06-16 16:14:09 +02:00
cage de53c838c1 - [gemini] allowed save in tour the selected link. 2021-06-13 16:02:12 +02:00
cage b4a3dfabde - added feature: expand tree of posts fetching again even posts that was deleted before. 2021-06-13 14:07:47 +02:00
cage 8ea2f82bd6 - [gemini] changed TOC callback: jump to page's section when selecting TOC entry. 2021-06-13 12:17:43 +02:00
cage 392ba67adf - fixed selected-row-delete
- redraw following request window when an entry is deleted.
2021-06-12 21:15:50 +02:00
cage c361ecc679 - fixed a regression that made the program crashs when adding an attachment to a post. 2021-06-05 21:47:37 +02:00
cage 857c220004 - improved appearance of keybindigs tree. 2021-05-30 13:30:15 +02:00
cage f6465768b8 - wrapped call to external editor to catch errors and print a message. 2021-05-29 14:48:02 +02:00
cage c323ef3847 - made clear that "ed" is the standard editor. 2021-05-28 20:58:22 +02:00
cage e81f1fe19f - removed useless code as an editor is always found. 2021-05-28 20:55:22 +02:00
cage 66b2fe7af2 - improved check for the environment variables related to editor. 2021-05-28 20:53:23 +02:00
cage 8ef29b1eae - removed check, the configuration directive for editor can be omitted by the user. 2021-05-28 20:38:27 +02:00
Omar Polo 61c8adb649 allow editor to be nil 2021-05-28 17:47:19 +00:00
cage cedbf01b03 - made geometry of notification window customizable (via configuration file). 2021-05-22 19:41:36 +02:00
cage 29807c0823 - made some stylistic changes to client's (pleroma) authorization procedures. 2021-05-22 14:06:26 +02:00
cage d99c84238c Merge branch 'master' of omar-polo/tinmop into master 2021-05-22 11:15:43 +00:00
Omar Polo 0c8e2226aa if -> when 2021-05-22 11:12:05 +00:00
Omar Polo b0ad8361d5 don't unnecessarly bind *output-stream* 2021-05-22 11:10:13 +00:00
Omar Polo 9deaf57738 reply to the HTTP client before closing the connection 2021-05-22 10:59:21 +00:00
Omar Polo 2373769f4e always close the client socket 2021-05-22 10:49:51 +00:00
cage deaf94299a - decrease mentions count on the modeline when a status that contains a mention is opened. 2021-05-22 12:23:15 +02:00
cage c2e8e38249 - added mentions rendering in the thread window modeline. 2021-05-22 10:42:01 +02:00
cage 63f214c8b3 - [gemini] ensured cached text file are opened with tinmop or user defined programs. 2021-05-18 19:50:50 +02:00
cage 3b30cbd091 - [gemini] refresh TOC when rendering a cached gemini file. 2021-05-18 19:38:49 +02:00
cage b7c64d1e78 - [gemini] prevented moving docus to message window when opening a link. 2021-05-17 19:08:08 +02:00
cage eb9bb569f8 - [gemini] recycled TOC window between gemini pages. 2021-05-17 19:04:07 +02:00
cage 76a11da2fc - [gemini] fixed regression opening gemini link is possible again;
- prevented hiding of notifications by the gemini TOC window.
2021-05-16 16:19:14 +02:00
cage 50c76209c5 - [gemini] removed removing of text from TOC entry. 2021-05-16 16:00:20 +02:00
cage d5f5bad33c - [gemini] fixed row moving in TOC window. 2021-05-16 15:43:11 +02:00
cage 6ecc3fc5a0 - [gemini] ensured TOC is rendered only for rendering stream. 2021-05-16 15:38:26 +02:00
cage 8423ca7d38 - [gemini] fixed parser, made many parser state variables from
function local to thread local;
- fixed 'line-oriented-widget:append-new-rows';  uses slots  instead of
  accessors  as, for  example, message  window skips  invisible lines
  when specialzed (on message-window) method 'rows' is called.
2021-05-16 15:23:55 +02:00
cage 4a6e2fca3d - added a generated TOC for gemini files. 2021-05-16 15:23:55 +02:00
cage 3b92318814 - prevented rendering gemini files in the message window when a toot is shown. 2021-05-16 15:23:48 +02:00
cage 088e760503 - [gemini] fixed parsing of gemlog pages. Subtitle was never recognized even if actually present. 2021-05-14 14:49:37 +02:00
cage cd11e04658 - got rid of 'prepare-new-search' and 'cleanup-after-search';
- fixed misc:safe-subseq (subseq sequence -1)' does not signa an error anymore.
2021-05-13 15:32:31 +02:00
cage 5201953a08 - [gemini] fixed parsing of quoted lines, an empty line can be part of the quote. 2021-05-09 17:01:51 +02:00
cage 5f8c20ce7d - wrapped sb-ext:run-program;
- do not load configuration files if cli options '-h' or '-v' are used.
2021-05-09 16:32:32 +02:00
cage f74e6a9361 - performed a cleanup of searching even if the search string is empty or is not a valid regular expression. 2021-05-06 17:10:37 +02:00
cage 844dd1b931 - [gemini] expand tilde when trying to open a local file or directory. 2021-05-06 16:59:11 +02:00
cage 37bab5740b - [gemini] improved tour-mode
the command accepts space separated list  of link index or link ranges
(e.g: "5-7 1 2").
2021-05-04 11:52:42 +02:00
cage e319ccd112 - prevented out of bound condition when scrolling message-window's
contents.

  When  user switched  from a  page to  another shorter  the scrolling
  position was  not restored,  pointing outside  the actual  text line
  counts. This prevent the correct rendering of the page (a blank page
  is shown instead) and crash the software if scrolling up.

  Thanks op!
2021-05-02 16:28:50 +02:00
cage 92ee1357b6 - [gemini] fixed order of links when showing tour-mode's queue (thanks op!). 2021-05-02 15:53:33 +02:00
cage 5cbde371da - improved docstring for tour-mode. 2021-05-02 13:49:20 +02:00
cage ba316e84a0 - [gemini] improved tour-mode, allow collect links by regex not only by indices. 2021-05-02 13:47:06 +02:00
cage 528700907f - added a command to show the tour's queue. 2021-05-01 20:25:15 +02:00
cage 864dc959e6 - added tour mode to explore geminispace. 2021-05-01 13:44:50 +02:00
cage a89334c6bf - removed hardcoded list of windows that loose focus when focus is changed. 2021-05-01 11:23:18 +02:00
cage 29c09553d1 -[gemini] removed loop when going back in history.
when follownig  a redirect  both the original  (the redirect)  and the
actual URI was saved in the history.   So if an user, after followed a
redirect, tried to go back would reach the same redirect, this generated
a loop.
2021-04-28 20:56:37 +02:00
cage 8e924ded74 - implemented a new method to move focus between windows (using 'M-arrowkeys'). 2021-04-28 16:26:10 +02:00
cage bcb6867a61 - fixed procedures that extract extension from a local path or an URI. 2021-04-27 19:04:11 +02:00
cage f5ff5cd94d - fixed 'make-gemini-iri', was crashing the program when 'port' argument was null. 2021-04-26 19:14:35 +02:00
cage 1d850fffa4 - fixed text-utils:percent-encoded-p, an empty string is not percent-encoded;
- raised a better error when an empty string is entered as a gemini address.
2021-04-25 16:12:49 +02:00
cage c5ccfa2d26 - [gemini] omitted default port when building URI. 2021-04-24 16:12:14 +02:00
cage a2e9016bf7 - used 'mkstemps' intead of 'mkstemp' as the latter does not supports
suffix and the temporary keeps the same names.
2021-04-23 21:25:28 +02:00
cage be6f2a9551 - fixed end position for 'visible-rows' 2021-04-21 16:36:45 +02:00
cage 02894dcc64 - optimized module 'rewrite-message-urls.lisp'. 2021-04-21 16:29:50 +02:00
cage 0cd1f77c7f - fixed rendering of text: all text is now rearranged to fit the
window.
2021-04-20 20:28:04 +02:00
cage d9ebbe84ab - quote meta characters when matching for RE, searching for a common prefix from a bag of strings. 2021-04-16 18:34:27 +02:00
cage 7c9a8e3ee2 - [gemini] allowed to connect to host using ip address instead of hostname. 2021-04-16 15:03:58 +02:00
cage 90bad8b21c - fixed 'make-gemini-iri', was building wrong IRI with ipv6 address as host. 2021-04-16 14:44:22 +02:00
cage 32e1394422 - trimmed square brackets from ip literal when parsing an IRI. 2021-04-16 14:15:41 +02:00
cage 1b3efc62f6 - [gemini] prevented trimming of preformatted gemtext line. 2021-04-16 14:05:42 +02:00
cage a9ce526dce - added 'remove-corrupting-utf8-chars' to clean up rendered text from trouble characters. 2021-04-13 18:32:48 +02:00
cage a4630f08af -[gemtext] added metadata for list and link lines. 2021-04-13 17:29:25 +02:00
cage a91ec4c7ae -[gemtext] added metadata to header lines;
- fixed processing of follow requests.
2021-04-13 17:02:30 +02:00
cage 15bbb49d5e - [gemini] added feature to toggle preformatted block on/off;
- [gemini] trimmed alt-text;

- reworded some functions.
2021-04-11 15:19:45 +02:00
cage 84a8029c9a - specialized message-window' to skip invisible rows. 2021-04-11 11:06:39 +02:00