1
0
Fork 0
Commit Graph

66 Commits

Author SHA1 Message Date
cage baffa09093 - [gemini] rendered again the focus mark when a gemini stream has ended. 2022-03-11 20:50:06 +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 8c1325cafa - prevented thread-window from disappears when resizing the terminal window's width. 2022-02-25 12:16:25 +01:00
cage 18110dbd42 - prevented crash when performing searching in an empty message window. 2022-02-11 14:01:44 +01:00
cage f5bef63cc6 - prevented chat window from opening when in gemini exclusive mode;
- fixed positioning of gemlog's subscription when in gemini exclusive mode.
2022-02-04 14:21:42 +01:00
cage 1fbdab1443 - [gemini] added commands: 'go-to-previous-link' and 'go-to-next-link'. 2021-11-26 14:10: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 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 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 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 f9cc367267 - [gemini] moved fitting of quoted lines to message window routines. 2021-10-22 15:07:36 +02:00
cage 9568b88e8d - fixed adjusting strategy functions when drawing gemini text. 2021-10-08 11:37:53 +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 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 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 81b581ff14 - [gemini] changed streaming animation. 2021-07-22 20:18:22 +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 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 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 5e3c19811b - trucated long lines in message window and allowed horizontal scrolling. 2021-06-27 13:13:28 +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 50c76209c5 - [gemini] removed removing of text from TOC entry. 2021-05-16 16:00:20 +02:00
cage 4a6e2fca3d - added a generated TOC for gemini files. 2021-05-16 15:23:55 +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 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 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 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 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 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 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