1
0
mirror of https://tildegit.org/sbgodin/HtmGem.git synced 2023-08-25 13:53:12 +02:00
Commit Graph

146 Commits

Author SHA1 Message Date
c49e214591 Merge branch 'master' into dev 2022-08-02 12:24:42 +02:00
e479114cf0
v1.4.1
* Adds link to /htmgem on the icon of the menu
* Fixes bug about CSS not applied correctly
* Fixes a bug about null by ref variable
2022-08-02 11:43:00 +02:00
ddac76e5fa Adds link to /htmgem on the icon of the menu 2022-08-02 11:41:47 +02:00
0daecbd624 Updates CHANGELOG 2022-08-02 08:43:36 +02:00
5075e7395d Adds base & circumlunar css, specification v0.16.1 2022-08-02 08:43:36 +02:00
a79347d339 Adds the CSS of https://gemini.circumlunar.space 2022-08-02 08:43:36 +02:00
de1e2c0664 Updates CHANGELOG 2022-08-02 08:43:36 +02:00
8207df2b2e Rewrites the documentation 2022-08-02 08:43:36 +02:00
babf80b5ab Fixes a margin bug in terminal.css 2022-08-02 08:43:36 +02:00
a4879c929c Fixes an error in include path for a test command 2022-08-02 08:43:36 +02:00
9bb14c4e03 Fixes a bug in git post-commit test validation 2022-08-02 08:43:36 +02:00
852e57d800 Removes the page-specific CSS 2022-08-02 08:43:36 +02:00
ef149dcad8 Adds favicon and uses define() for a constant 2022-08-02 08:43:00 +02:00
c36e9347a6 Adapts the Lagrange style
* #entete comes back to .menu-line
* the <hr> is removed by the style
2022-08-02 08:41:18 +02:00
0834fd3bc9 Adds the Lagrange style
Thanks to Eric <ortie10 at gmx.fr>
2022-08-02 08:41:18 +02:00
678778ba2c Make room for vendor CSS
* Creates a default directory for the default css.
* Changes the way to address CSS: "," used as "/" (see htmgem/css/index.gmi).
* "src" style replaces the "pre": display the source code onscreen.
* Removes the "None" style, useless after all.
* Removes the absolute stylesheet path, now always in /htmgem/css.
2022-08-02 08:41:18 +02:00
8e74403bc4 Fixes bug about CSS not applied correctly
The default CSS was loaded anyway, in addition to the custom css.
2022-08-02 08:41:18 +02:00
211518e098 Fixes a bug about null by ref variable 2022-08-02 08:41:18 +02:00
d68b403f33 Fixes bug about CSS not applied correctly
The default CSS was loaded anyway, in addition to the custom css.
2022-07-29 15:17:52 +02:00
b5083aaabd Fixes a bug about null by ref variable 2022-07-29 15:17:36 +02:00
0079c31e14 Updates changelog 2022-07-26 00:03:21 +02:00
1bc2e3b2bc
v1.4.0
* Adds the breadcrumbs at the top and the bottom of the page.
* Adds the text icon H͜͡m.
* Opens the external addresses in a new window/tab.
* Changes details in the 404 page.
* Manages UTF-8, UTF-16 and UTF-32 entry format.
* FIX: adds alt text of preformated texts.
* Enables to move and rename /htmgem.
* Allows to always run without the URL rewriting.
* Many code refactorings.
2021-04-12 09:53:00 +02:00
76ed024bbd Updates the Changelog 2021-04-11 22:32:58 +02:00
c11af12551 Adds the url path
* The /htmgem directory can be renamed and moved.
* Everything works without URL rewriting enabled.
2021-04-11 21:37:50 +02:00
a9fb49802a FIX adds alt property to preformated text in HTML 2021-04-05 11:46:22 +02:00
8cf174ecb3 Handles line feeds: Unix, Mac, Windows 2021-04-05 11:46:22 +02:00
cf54d98c61 Converts files from UTF-16 and UTF-32 to UTF-8
The resulting file (HTML) is in UTF-8.
2021-04-05 11:46:22 +02:00
6a8c220716 Opens external links in new windows 2021-04-03 20:40:59 +02:00
9471816b1e Removes useless statement 2021-04-02 23:37:49 +02:00
26ad4f7d98 Adds strict_types=1 2021-04-02 21:29:46 +02:00
f4e71cb2b6 Refactores and add tests for url resolving 2021-04-02 21:00:09 +02:00
ba5e465e17 Adds lang="" to raise no error on HTML validation 2021-03-30 10:01:50 +02:00
86f6ae918e
v1.3.0
* Enables browsing without URL Rewriting
* Unit testing
* Adds the BNF definition
* Rewriting of the French documentation
* Translation to English
* Adds debug.css
* Adds index.htm in case of Php not activated
2021-03-29 11:36:54 +02:00
a4a647d8e8 Updates changelog 2021-03-29 11:32:19 +02:00
1f38941e7f Adds index.htm in case of Php not activated 2021-03-28 22:44:48 +02:00
a24eb12df6 Ends BNF translation 2021-03-28 22:44:05 +02:00
9471c43674 Enables browsing without URL Rewriting 2021-03-28 22:41:45 +02:00
733450cb35 Translation to English 2021-03-27 23:31:47 +01:00
98e7098f29 refactoring, adds debug.css 2021-03-27 21:30:19 +01:00
76b27065ac Refactores the French documentation 2021-03-25 23:47:12 +01:00
731aa3bda2 Don't compress spaces for preformated text 2021-03-25 23:33:48 +01:00
5d74578efc typo 2021-03-25 22:39:52 +01:00
2261dac656 FIX: translate_to_gemtext.php 2021-03-25 19:08:57 +01:00
c858b733f4 Replaces several spaces to only one 2021-03-25 15:24:51 +01:00
91abafdce0 FIX: each blockquote lines are in <p> 2021-03-25 12:22:39 +01:00
c37549d50c Updates text.gmi.html to validate the unit testing
The file 'text.gmi.html' has to be changed for unit testing because the
quotes have been escaped since then.
2021-03-24 11:22:23 +01:00
7b58fc1a26 Merge remote-tracking branch master into dev 2021-03-24 11:18:57 +01:00
64b5c1506a Updates changelog 2021-03-24 11:09:37 +01:00
750632eaff Corrects the engine after unit testing
gemTextParser
* Removes the last empty lines of text files.
* Removes the last spaces (rtrim) even on preformated texts.
* Lines like "# " are possible, meaning an empty title.
* The line "=>" means an empty link.

GemtextTranslate_gemtext
* FIX: writes the alt text of preformated blocks
* Adds a space when quotation lines have value, otherwise lets ">".
* Adds a space when the link has values, otherwise not.
* A bit of reformating
2021-03-24 10:58:54 +01:00
46d239b8b3 Adds unit tests 2021-03-24 10:53:12 +01:00