1
0
Fork 0
Commit Graph

208 Commits

Author SHA1 Message Date
cage 4b4f60269a - prevented crash when opening empty chat windows;
- fixed refreshing of chats.
2022-11-21 20:30:58 +01:00
cage 44c2509201 - removed empty line. 2022-11-20 11:30:19 +01:00
cage 89e8c73b4e - [gemini] prevented the script 'generate-gemlog.lisp' to export files that do not match .gmi extension;
- fixed wrong class name when printing mentions.
2022-11-19 20:46:39 +01:00
cage 4f24a67344 - added a configuraction directive to filter boost based on a regular expression matching the username. 2022-11-18 18:01:19 +01:00
cage 8206500f7a - added command 'print-mentions';
- highlight mentions in message window.
2022-11-17 14:03:03 +01:00
cage 6481a323f7 - added bookmarking of gopher addresses. 2022-08-31 14:03:39 +02:00
cage 0617f56885 - added module 'fetch-post-tree.lisp';
- changed the window type from gemini to standard type for printing the output from a module.
2022-08-23 16:36:34 +02:00
cage 008d5001a7 - taken into account the query of the original URI when combining it with a path. 2022-08-05 11:30:56 +02:00
cage b253aea8c0 - [gemini] prevented landing on debugger (or even crash) when DNS lookup fails. 2022-06-29 21:26:29 +02:00
cage cb202b26a7 - added captions for attachments. 2022-05-01 12:22:52 +02:00
cage a1ec070d03 - hooks:*before-composing-message*;
- removed memory leak in ssl-utils:dump-certificate;
- added an hook to remove footnotes added by tinmop in post's reply.
2022-04-06 19:34:49 +02:00
cage d9a8d03472 - used package local nickname instead us :use croatoan's symbols. 2022-03-21 21:42:50 +01:00
cage e5a9232752 - added a command to 'jump' between window in a zig-zag way;
- fixed crash when starting program in gemini fullscreen mode.
2022-03-06 12:49:17 +01:00
cage 8e9e19dd82 - added command 'gemini-jump-to-link';
- fixed layout in gemini full screen mode.
2022-02-25 16:37:43 +01:00
cage 1acad1fad9 - [gemini] added searching or jumping to first or last item in a TOC window. 2022-02-24 18:42:11 +01:00
cage 1234936175 - prevented a condition variable to be awaken even if condition is not actually met. 2022-02-11 14:12:02 +01:00
cage 31b9685737 - added a wrapper for 'fnmatch(3)';
- [kamid] upload works with wildcard (e.g. "/*.lisp");
- moved 'normalize-path' to filesystem-utils.
2022-01-28 12:24:24 +01:00
cage 339afc6ee0 - using the file explorer when opening a local directory. 2022-01-06 18:17:07 +01:00
cage 429acc7efe - added search in file explorer window. 2021-12-12 21:40:59 +01:00
cage 7619344a36 - implemented some features of tree filesystem window: expanding/closing nodes and renaming files or directory. 2021-12-10 15:30:56 +01:00
cage 815ab305a0 - fixed function's name. 2021-11-16 15:43:08 +01:00
cage 26bf79b6e4 - prevented sending a successful notification when the procedure to follow or unfollow an user failed. 2021-11-16 10:15:06 +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 7b8581c5e4 - added exclusive gemini client UI layout. 2021-11-12 15:00:34 +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 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 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 ae266982cb - prevented moving selected message when updating a timeline. 2021-09-10 17:34:03 +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 f388c9d0b2 - added 'apropos-help-global'. 2021-08-28 16:39:34 +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 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 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 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 377d95af51 - started with gemini link bookmark. 2021-08-16 14:22:47 +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 a0bfde0ede - made gemlog's updating non blocking. 2021-08-12 15:13:47 +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 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 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 6ffb2c5cc1 - [gemini] forced redraw of the window when rendering a new gemini stream. 2021-06-27 13:27:15 +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 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 b4a3dfabde - added feature: expand tree of posts fetching again even posts that was deleted before. 2021-06-13 14:07:47 +02: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 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 6ecc3fc5a0 - [gemini] ensured TOC is rendered only for rendering stream. 2021-05-16 15:38:26 +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 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 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 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 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 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 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 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 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 ef3724e986 - fixed 'uri:normalize-path';
- [gemini] cleaned paths when exploring local tree.
2021-03-28 16:43:21 +02:00
cage 02ea992ca8 - [gemini] expand 'pwd' when printing the directory's contents;
- [gemini] forced displaying of director with tinmop.
2021-03-28 15:00:00 +02:00
cage 8b50eec3be - [gemini] allowed exploring directory using relative path;
- [gemini]  allowed  opening  a  file using  tinmop  itself  (example:
  opening a gemini text file);
- added a more hi-level function to open a file with an external program.
  - this function  takes into account  the file that should  be opened
    with tinmop and uses 'xdg-open' as  fallback if the user did not
    specified an association program file-type.
2021-03-28 14:33:56 +02:00
cage 9dd77c549d - [gemini] allowed going back in history also when exploring a local filesystem. 2021-03-27 10:59:10 +01:00
cage 87377914a3 - [gemini] added a symbol to mark a directory when exploring local filesystem. 2021-03-27 10:37:05 +01:00
cage 6a82f892a1 - [gemini] added feature: open local directory. 2021-03-27 10:21:33 +01:00
cage 57776623aa - allowed, again, nil value for some message window data when loading a gemini resource. 2021-03-27 09:41:44 +01:00
cage db34a2f958 - [gemini] added feature: loading local gemini files from command line (switch: '-o'). 2021-03-27 09:19:13 +01:00
cage 11fa85ad79 - fixed test for deciding if a pair timeline/folder must be renumbered. 2021-03-21 14:36:47 +01:00
cage b73f982408 - reverted method of rendering of text in message window to a
line-based one.

The old method that packed text got from gemini stream in single event
was ugly and blocked the UI.

This version  revert to a line  by line rendering but  it is optimized
and does not gets slow with the size of the text the window holds.
2021-03-09 11:32:09 +01:00
cage b37c590265 - prevented crash when sending message to command did not worked.
Printing error to command line instead.
2021-02-02 20:44:18 +01:00
cage 17401274b5 - [gemini] added support for favicon.txt
the       implementation       more       or       less       follow
  gemini://mozz.us/files/rfc_gemini_favicon.gmi but it does render the
  first  character  of   the  file  instead  of   checking  for  emoji
  characters.
2021-01-28 15:35:26 +01:00
cage db3b014bb8 - [gemini] fixed reendering of 'seen' flag for gemini post;
- fixed italian translation.
2021-01-11 18:57:01 +01:00
cage 44b6c62e44 - [gemini]
- added command to refresh all gemlogs;
  - added scheduled refresh of all gemlogs;
  - fixed sorting of gemlog posts.
2021-01-10 13:01:03 +01:00
cage f09b0f4aa3 - [gemini]
- prevent crash when subscribing to an already subscribed gemlog;
  - added cancel of subscriptions.
2021-01-10 11:35:28 +01:00
cage a0f8c83681 - [gemini] added a draft for gemlog subscriptions. 2021-01-09 16:27:40 +01:00