1
0
Fork 0
Commit Graph

117 Commits

Author SHA1 Message Date
cage 340f98b618 - removed debug code 2023-04-14 17:27:56 +02:00
cage 91e6298e7c - [GUI] printed information when streaming is started or finished;
- [GUI] increased width of bookmark window.
2023-04-14 17:13:41 +02:00
cage 559b5dae84 - [GUI] fixed leaking lines parameter when rendering preformatted text;
- [gemini] added a missing newline character in 'geminize-preformatted';
- [GUI] parsed standard colors for gemini window's text;
- [GUI] rendered the gemini  protocol rerror  responses to  the gemtext
  window instead of poppinu out a dialog window.
2023-03-12 15:36:13 +01:00
cage fa6844a2ab - [GUI] added code to deal with query input (status 10 and 11). 2023-03-12 12:35:01 +01:00
cage d4a871d769 - [gemini] returned the meta header to user when a protocol error occurred. 2023-03-12 11:42:55 +01:00
cage 24b0b07bb3 - [GUI] made link working for local files and gemtext files over gemini protocol. 2023-03-06 18:38:46 +01:00
cage d6fdf00253 - [GUI] transformed relative IRI to absolute in the rendered gemtext;
[GUI] printed IRI on the info-bar when moving cursor over links in the rendered gemtext.
2023-03-03 17:04:40 +01:00
cage 9e7feacf8e - [GUI] started a news thread where getting gemini stream's data.
- [GUI] added theming to gemtext.
2023-02-25 11:41:01 +01:00
cage d040aec005 - [gemini] improved format control for protocol error messages;
- [GUI] logged RPC request error instead of opening a dialog message when in debug mode;
- [GUI] added a draft of callback for opening a gemini address.

- [RPC] learnt that (error "string" arg1 arg2 ... argn), is similar to
  (error (format nil  "string" arg1 arg2 ... argn))  so (error (format
  nil "~a" "~c"))  is equal to (error "~c"); =>  format error (missing
  argument for format string)!
2023-02-19 14:52:53 +01:00
cage cfb05a6ea1 - log gemini and json, debug messages even if *features* does not
contains :debug-mode;
- [RPC] fixed 'gemini-stream-info';
- [RPC] added 'gemini-stream-parsed-line-slice';
- [RPC] added error handling for 'gemini-stream-parsed-line';
- [JSON-RPC] fixed encoding of error responses.
2023-01-06 11:56:21 +01:00
cage 59a9b69605 - added a new command 'delete-notifications';
- retrofitted 'add-metadata-to-parsed-gemini-lines' into the main gemini parser;
- fixed json generation of parsed lines in 'gemini-stream-info'.
2023-01-01 11:11:40 +01:00
cage f1df366cba - added 'list-id' as metadata for gemini list;
- added unit tests for gemini parser.
2022-12-30 15:03:59 +01:00
cage 3114264505 - added parameter 'initialize-parser' (default to nil), to reset
parser state in 'sexp->text-rows';

- added 'add-metadata-to-parsed-gemini-lines'

  This function  will add attributes (like  ':header-group-id') to the
  sexp   representation   of   a  gemini   stream   (structure:   (tag
  ((attribute-key attribute value)...) text line) )

- [JSON-RPC API] added a couple of public API function.
2022-12-30 11:07:30 +01:00
cage a87ea3b2ae - moved macro definition on top of the file. 2022-12-29 17:34:44 +01:00
cage 685f4e4db7 - added slot 'parsed-lines' to gemini-viewer:gemini-stream,
moreover used this slots when downloading a gemini stream

  This changes means that the parsing of gemini stream is no more done
  in program events but during the downloading thread.
  See, for example the changes in: 'gemini-viewer:make-gemini-download-event'

- added a parameter to prevent notification when downloading a gemini stream
  see 'gemini-viewer:request-stream-gemini-document-thread';

- added a  more human friendly  constants for each gemini  status code
  (e.g. +success+ for code 20).

- as the gemini parser has status added a parameter ('initialize-parser') to
  'gemini-parser:parse-gemini-file' (default to nil, do not initialize);

- initialize the gemini parser when needed.
2022-12-29 17:24:53 +01:00
cage f8bf6aa360 - [gemini] added better names for status code of a gemini response (e.g. '+20+' -> '+success+'). 2022-12-28 13:57:15 +01:00
cage 39878d6475 - wrapped 'babel:string-to-octets' in 'text-utils:string->octets'. 2022-12-25 12:53:07 +01:00
cage 1bfdf45ec9 - ignore errors when getting gemlog feeds data. 2022-11-25 18:46:34 +01:00
cage cf8664724a - [gemini] made the special variable gemini-parser:*raw-mode-data* thread local
There is  no sense to  share it  between multiple threads  parsing a
  gemini stream as the status of the parser (preformatted or not) from
  one could leaks into another.
2022-10-14 14:10:52 +02:00
cage 6196810bbb - [gopher] implemented a basic parser. 2022-08-21 11:39:40 +02:00
cage 333d77caf2 - [gemini] added missing mandatory argument to function that builds the redirect URI. 2022-08-19 10:48:56 +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 d45388e4dc - [gemini] remove redirect loop when the meta was an absolute URI. 2022-07-15 10:39:24 +02:00
cage de980b44b7 - [modules] added backlink to generated gemlog pages;
- [gemini] fixed rendering of links that starts with an emoji.
2022-07-13 17:08:37 +02:00
cage b004fd5f93 - removed direct call to babel:cotets-to-string, using 'to-s' wrapper, instead.
- [gemini] prevented crash when no previous link to open is found before the selected line.
2022-07-02 10:55:11 +02:00
cage 651b5fe963 - [gemini] added alt text even for preformatting end tag. 2022-06-14 16:04:56 +02:00
cage e8e4711074 - fixed symbol export for 'normalize path' (thanks op!). 2022-02-17 21:35:25 +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 2dd2a738a7 - adding user info in uri related functions. 2022-01-15 17:50:53 +01:00
cage b4ecbe49b0 - added a draft for a kami client. 2022-01-09 14:47:22 +01:00
cage 5e035458fe - skipped redirect if parsing of iri failed. 2021-11-15 18:17:21 +01:00
cage e5597c6a80 - added query to redirect if present in the redirect iri. 2021-11-15 18:11:36 +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 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 fe9792a576 - [gemini/parsing] transformed to vertical space a text line made from blank characters only. 2021-10-26 20:05:18 +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 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 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 377d95af51 - started with gemini link bookmark. 2021-08-16 14:22:47 +02:00
cage e28ae6ff1a - [gemini] used fuzzy matching when looking for URI in history. 2021-07-23 16:56:36 +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