1
0
Fork 0
Commit Graph

719 Commits

Author SHA1 Message Date
cage 22bce9cdd9 - made width of TOC customizable (when using tinmop in gemini fullscreen mode). 2021-11-12 21:06:28 +01:00
cage 01eef29432 - used an error message instead of a notification when opening a file that does not exists (thanks op\!). 2021-11-12 20:27:11 +01:00
cage ebddc9e1e6 - changed logic to guess if the window is displaying gemini contents;
- replaced window'stitle with the IRI of the gemini content streaming;

- fixed italian translation.
2021-11-12 19:12:03 +01:00
cage f05ca2f300 - removed duplicates in url history when printing gemini startpage in gemini full screen mode. 2021-11-12 15:04:19 +01:00
cage 7b8581c5e4 - added exclusive gemini client UI layout. 2021-11-12 15:00:34 +01:00
cage 63ee43ad3f - removed argument for ommand line switch 'gemini-client-only'. 2021-11-12 11:13:03 +01:00
cage 75a056cce0 - added command-line option for gemini fullscreen mode;
- cleaned up command line switch management.
2021-11-12 10:50:33 +01:00
cage e6f92f3621 - [gemini] ensured opening files with an external program if the size of the file is smaller than the cache size. 2021-11-10 16:21:18 +01:00
cage 2782317bb7 - [gemini] added customizable buffer size when opening partial gemini
content with an external program.

using  "no wait"  directive  can  be followed  by  "buffer NUMBER"  to
customize the cache  (in Mib) to be cached before  opening the partial
downloaded data.
2021-11-10 16:12:08 +01:00
cage 60a66d6ea9 - [gemini] prevented sending fragment part of the IRI to server;
- chaged prefix for links in gemini streams.
2021-11-07 10:31:01 +01:00
cage c3492c06c1 - [gemini] added 'search-message-gemini-fragment-event'
When  a fragment  is present  in a  uri/iri it  is used  as a  regular
expression to search in the *source* of the text, the window's content
is moved to shows the *rendered* line where matching occurred.
2021-11-06 12:32:03 +01:00
cage 5bbd5100c8 - changed 'raw-text' to 'source-line';
- added ocstring to 'search-gemini-fragment'.
2021-11-06 11:26:20 +01:00
cage 768e4a220b - added 'search-gemini-fragment' 2021-11-06 11:21:15 +01:00
cage b1b412ad89 - added 'match-words'. 2021-11-05 14:48:40 +01:00
cage 9d0e588b0b - fixed crash when completing an empty command line (pressing tab with
no string typed on the command line);
- fixed chrash when completing bookmark  entry with non word character
  (e.g. '[');
- added macro 'gemini-parser:with-initialized-parser';
- added source  metadata (sourceline and source-line-id  to results of
  gemini parsing to IR (see: sexp->text-rows).
2021-11-05 11:13:05 +01:00
cage f2dba92f8b - added command 'open-next-visible-link';
- removed debug message.
2021-10-30 18:39:13 +02:00
cage dfdf303d1d - transform any line made from blank characters in vertical-space. 2021-10-27 14:24:46 +02:00
cage fe9792a576 - [gemini/parsing] transformed to vertical space a text line made from blank characters only. 2021-10-26 20:05:18 +02:00
cage 02a277894a - ensured a line is not added to a line in the slot 'normal-text'. 2021-10-26 18:50:31 +02:00
cage 26792b7c00 - [gemini] fixed crash occurred when rendering an empty quote line. 2021-10-25 18:47:55 +02:00
cage c3c9036427 - removed unused argument. 2021-10-25 18:21:18 +02:00
cage 41bf046a29 - [gemini] attached source line to each parsed gemtext node. 2021-10-24 15:53:31 +02:00
cage f9cc367267 - [gemini] moved fitting of quoted lines to message window routines. 2021-10-22 15:07:36 +02:00
cage bce702465c - [experimental][gemini] used URI's fragment as a search criteria for the gemini page (disabled by default). 2021-10-17 17:40:18 +02:00
cage c50de0dca2 - added a script to delete old posts. 2021-10-15 13:59:06 +02:00
cage dff23fe909 - allowed skipping posts using language type. 2021-10-13 15:01:15 +02:00
cage b437e2846b - added 'gemini-all-unread-posts', 'shuffle-tour', 'gemlog-add-unread-posts-tour', 'clear-tour'
'gemini-all-unread-posts'  give  user  the  choice to  add  all  the
  currently unread post to the link tour.
2021-10-10 12:38:37 +02:00
cage 76676f2d2f - added 'eval-command';
- added docstrings for scroll lock related functions.
2021-10-08 14:35:40 +02:00
cage f9f5a868b3 - fixed 'adjust-rows-select-last';
- rewinded selected row to first one when a new gemin page is loaded.
2021-10-08 12:11:00 +02:00
cage 40f6f0642a - forced scrolling to the last message when a new message has been posted on the chat window;
- added 'message-window-lock-scrolling' and 'message-window-unlock-scrolling' allowing users to choose their preferered way to render the gemini text (this is useful for gemini streaming services, like chat or similar).
2021-10-08 11:55:16 +02:00
cage 9568b88e8d - fixed adjusting strategy functions when drawing gemini text. 2021-10-08 11:37:53 +02:00
cage c924e8f636 - ensured, when program starts, that the init file in the user's home is loaded (if such init file exists). 2021-10-07 21:52:36 +02:00
cage 9005e9ec55 - ignored error when trying to open a shared configuration file (lisp code) on program start; search for a file in the user's home instead. 2021-10-07 21:24:37 +02:00
cage d622a02098 - [gemini] prevented signalling a condition when quitting the program
and a gemini text is streaming;

  if   there   is   some    gemini   text   streaming   the   function
  'ui:clean-temporary-file' will  remove the  file that  the streaming
  thread is  using for  caching. So when  the gemini  rendering thread
  returns will  try to remove the  already deleted file, leading  to a
  crash.
2021-10-04 20:42:39 +02:00
cage fd39d15050 - [gemini] prevented crash happening when trying to render a TOC from an empty gemtext. 2021-10-04 19:39:31 +02:00
cage 29c6f6b7d5 - updated building scripts;
- removed useless variable from 'configure.ac'

- changed dependency to cl-ppcre-unicode;

- fixed reader macro for 'os-utils:run-external-program'.
2021-09-27 20:50:02 +02:00
cage f044d1336a - fixed docstring. 2021-09-12 12:41:33 +02:00
cage dcde779d25 - notified an error when the manpage can not be printed on screen. 2021-09-12 12:16:29 +02:00
cage eaa0feb95c - prevented moving of the selected message in thread window when a thread is expanded. 2021-09-12 11:53:53 +02:00
cage c12f444111 - fixed thread-window:resync-rows-db, was not redrawing the window if no message was presents. 2021-09-11 21:54:52 +02:00
cage 49f9232288 - improved positioning of selected row in 'thread-window:resync-rows-db'. 2021-09-11 13:38:35 +02:00
cage 88891696bd - prevented moving selected message when updating a timeline backward. 2021-09-10 18:36:34 +02:00
cage 9b8aa8bd93 - prevented crash when mark or unmark for deletion an empty thread window. 2021-09-10 18:26:12 +02:00
cage ae266982cb - prevented moving selected message when updating a timeline. 2021-09-10 17:34:03 +02:00
cage fdd73cdd9d - added a command to open all the attachments of a post. 2021-09-09 18:27:32 +02:00
cage 686ebd619b - prevented quitting program when users does not input a valid answer at prompt asking for deleting temp files. 2021-09-09 15:22:50 +02:00
cage 2d03b99e99 - prevented quitting program when users does not input a valid answer at prompt asking for deleting pleroma messages. 2021-09-09 15:15:05 +02:00
cage 5f4789be79 - removed useless comment. 2021-09-04 14:17:41 +02:00
cage 3f27420848 - added group-id property to all gemtext elements. 2021-09-04 14:17:25 +02:00
cage 0aad24a134 - changed function name from 'header-group-id' to 'current-header-group-id'. 2021-09-04 11:04:03 +02:00
cage e5172b6d95 - [gemini] added 'pre-group-id' slot to gemini text preformatted line;
this  changes fixed  the selection  of a  TOC entry  when reading  a
  gemini text too.
2021-09-03 14:09:16 +02:00
cage c22e427f18 - highlighted current TOC entry while browsing gemini page/gempub;
- added hook:*before-rendering-message-visible-rows*;

- changed default: appending hooks by default in hook:add-hook.
2021-09-03 12:32:09 +02:00
cage d85a865eed - forced colors to selected line in line oriented-window. 2021-08-29 15:39:48 +02:00
cage c73861a9f2 - improved search command apropos. 2021-08-29 15:01:41 +02:00
cage cd64acd9e7 - removed debug message. 2021-08-29 11:33:10 +02:00
cage 21214137ff - added command to show bookmaks also to global keymap;
- switched to gemini keymap when opening a gemini page from memory.
2021-08-28 19:53:41 +02:00
cage df3bff9421 - fixed 'valid-results-p' when a global search is performed. 2021-08-28 16:59:50 +02:00
cage f388c9d0b2 - added 'apropos-help-global'. 2021-08-28 16:39:34 +02:00
cage adada59513 - updated manpage and docstring relative to gempub and tour mode. 2021-08-28 15:51:32 +02:00
cage e763158a8b - added more terms when searching gempub metadata ('<', '>', '<=', '<=', '=' '!='). 2021-08-28 14:20:34 +02:00
cage baf3f4c1ea - allowed line-oriented-window to render unselected items with
different color than foreground;
- capured parsing errors when querying gempub library.
2021-08-28 14:02:03 +02:00
cage e9c140233b - updated italian translation;
- updated welcome window's text.
2021-08-28 12:41:18 +02:00
cage 5f91506dd3 - added 'open-manual'. 2021-08-28 12:33:49 +02:00
cage a4d58b665b - allowed a custom init.lisp file in the config user home. 2021-08-28 11:28:24 +02:00
cage d8d5b9c100 - prevented non local links to be in tour mode when opening a gempub. 2021-08-27 14:30:28 +02:00
cage 4a81fad940 - automatically add a tour mode to browse the contents when opening a gempub. 2021-08-27 14:17:14 +02:00
cage 6a91bd4da7 - defined alias for 'zip-file-p' as 'gempub-file-p'. 2021-08-27 12:15:12 +02:00
cage 2bf39530c2 - wrote selected gempub entry in bold. 2021-08-26 21:13:58 +02:00
cage 8376d1b0fd - added toc when a gemini file is loaded from a local file. 2021-08-26 16:23:24 +02:00
cage 78de3329a8 - respected index metadata when opening a gempub file. 2021-08-26 16:08:51 +02:00
cage e2736ef3ef - prevented crash when probing for a zip file which size is less than the mazimum size of end of central directory registry. 2021-08-26 15:52:38 +02:00
cage 360aa448d3 - ensured 'gempub-metadata-find' returns a single row;
- ensured gempub paths are normalized before adding in the library;
- added opening of gempub files from gempub library window.
2021-08-26 15:47:27 +02:00
cage 2be45b4a25 - added a window to show gempub file's library. 2021-08-25 18:15:57 +02:00
cage a8dca176f3 - added a directory to store gempub, the software will sync the directory's contents with its internal metadata database. 2021-08-23 18:20:11 +02:00
cage ff5f8f0cd7 - [gempub] added extraction of metadata from gempub;
- added table to save gempub's metadata.
2021-08-22 12:56:35 +02:00
cage ebc9dea4cc - removed exiting from configure if unzip is not found.
- fixed test to add gempub-support in features.
2021-08-22 11:37:34 +02:00
cage 39d12cbb96 - added gempub-support in *features*;
- removed generated file config.lisp.in.
2021-08-22 11:28:56 +02:00
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
cage 76c8296aa4 - reorganized generic function. 2021-04-11 10:26:48 +02:00
cage 83356eed20 - exit from the program, without launching the debugger, when the
configuration  module was  not found  but  notify a  warning if  the
  module was  not essential  (like when loaded  from the  command line
  using switch "-M").
2021-04-10 21:14:20 +02:00
cage 540dea6825 - [gemini] ensured tail call when downloading a non-text file. 2021-04-10 19:15:06 +02:00
cage dd79fbb00c - fixed RE in 'open-attach-window:get-extension';
- fixed bug that prevented to open an attachment from cached file.
2021-04-10 14:42:16 +02:00
cage 6786d48f6d - rewritten rendering of text in message window
i got rid of slot support-text in message-window, so that class does
  not maintain a state.

- changed behaivour of split-line
  (split-line (format nil "~2%")) ; => ("" "")

  That is an emtpy line is returned as empty string and not skipped
  Thanks to people from IRC and cl-ppcre maintainer for help!

- [breaking changes] changed 'hooks:*before-prepare-for-rendering-message*
  with 'hooks:*before-rendering-message-text*.
2021-04-10 13:52:56 +02:00
cage ddb74a600f - [gemini] tag preformatted text lines with metadata (group-id and alt text). 2021-04-08 16:32:34 +02:00
cage ca2ace2551 - discouraged use of slot 'rows' for 'row-oriented-widget', used API instead. 2021-04-08 15:13:31 +02:00
cage 149c6931f2 - [gemini] removed unused arg from 'refresh-gemini-message-window'. 2021-04-07 15:23:15 +02:00
cage 3ca18e1fd9 - fixed searching in links or gemini pages: searching starts from the first row. 2021-04-06 19:59:58 +02:00
cage f6556fd4ff - fixed search in message window.
If more than  one occurence of the matched string  was present (in the
same line) drawing the last will overwrite the others.
2021-04-06 18:27:47 +02:00
cage 816a04812d - fixed search in message-window;
- there  was a  lot of  problems  related to  type of  an element  of
    'rows', they must be always a complex string

  - moreover there  was an incorrect  positioning of the  matching string
    when  character  with  column  width >1  was  present  before  the
    string compatible with the regex.
2021-04-05 18:10:14 +02:00
cage 9572f2a917 - changed 'source-text' to 'support-text'. 2021-04-05 17:33:16 +02:00
cage 97a0c10aa9 - removed debug message. 2021-04-05 16:29:19 +02:00
cage a0d566fb71 - fixed 'refresh-gemini-message-window', was always appending contents. 2021-04-05 16:28:52 +02:00
cage fc1aa5f1e6 - simplified 'refresh-gemini-message-window'. 2021-04-05 15:48:30 +02:00
cage eefb64eb8e - [gemini] fixed gemini text parser. 2021-04-05 15:37:59 +02:00
cage eaf23afb58 - [gemini] fixed rendering of quoted lines;
- [gemini] do not set, always append, source text when refreshing a gemini window.
2021-04-05 14:47:57 +02:00
cage fac77297e8 - [gemini] started coloring preformatted block. 2021-04-05 12:01:30 +02:00
cage 9e3269576d - [gemini] improved rendering of quoted text. 2021-04-03 15:03:24 +02:00
cage d7f074aa34 - [gemini] percent encoded paths when exploring local filesystems. 2021-04-03 13:04:40 +02:00
cage f1c8ec0ec1 - fixed crash when 'contains-clsr' is called
This function called cl-ppcre:create-scanner  but if the argument to
  this function can not be interpreted  as a valid regex (e.g "["), an
  error is signalled.

  This error is now captured and the string passed to 'create-scanner'
  is used as a mere sequence not a regular expression.

- [gemini] fixed bug that prevented a page to be reloaded;
- [gemini] use cache, if possible, when opening a gemini url.
2021-04-03 11:14:58 +02:00
cage 6690a1b6f7 - fixed, again fs:dirp;
- fixed iri parser (parses correctly IRI like mailto:...).
2021-04-01 20:33:29 +02:00
cage 61c39b6c62 - moved to an internal wrapping of 'mkstemp' to allow extensions in filename;
- [gemini] rendering all stream with MIME type "text/*" with this program.
2021-04-01 17:08:42 +02:00