Compare commits
2 Commits
63611f46c9
...
9a2f0ddc89
Author | SHA1 | Date |
---|---|---|
Romain de Laage | 9a2f0ddc89 | |
Romain de Laage | 3fd7bddeeb |
|
@ -0,0 +1,11 @@
|
||||||
|
# Help about Scorpius
|
||||||
|
|
||||||
|
Scorpius is a Gtk Gemini file viewer. You CAN'T make Gemini requests for the moment. You can browse by clicking on links or by enter a file path in the search bar in the upper left corner then click on 'Go !'.
|
||||||
|
|
||||||
|
## Contact Me
|
||||||
|
|
||||||
|
You can contact me by email : romain.delaage@rdelaage.ovh
|
||||||
|
|
||||||
|
## Git repository
|
||||||
|
|
||||||
|
=> https://git.rdelaage.ovh/rdelaage/scorpius
|
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
Welcome on Scorpius. This is a simple Gnome Gemini file viewer. I will (maybe, it depends on how much time I can spend on it) try to make a simple Gtk Gemini browser with project.
|
Welcome on Scorpius. This is a simple Gnome Gemini file viewer. I will (maybe, it depends on how much time I can spend on it) try to make a simple Gtk Gemini browser with project.
|
||||||
|
|
||||||
|
## How to use Scorpius ?
|
||||||
|
|
||||||
|
You could read the help :
|
||||||
|
=> help.gmi Help !
|
||||||
|
|
||||||
## Why ?
|
## Why ?
|
||||||
|
|
||||||
Because I'm a gnome lover and, for the moment, all the Gemini client I saw aren't beautiful. Of course there is Lagrange but it is not well integrated in Gnome environment.
|
Because I'm a gnome lover and, for the moment, all the Gemini client I saw aren't beautiful. Of course there is Lagrange but it is not well integrated in Gnome environment.
|
||||||
|
|
|
@ -115,7 +115,7 @@ parseFile (const char *path)
|
||||||
beginUrl++;
|
beginUrl++;
|
||||||
|
|
||||||
//Get URL lenght
|
//Get URL lenght
|
||||||
while (beginUrl + urlLen < size && line[beginUrl + urlLen] != ' ')
|
while (beginUrl + urlLen < size && line[beginUrl + urlLen] != ' ' && line[beginUrl + urlLen] != '\n')
|
||||||
urlLen++;
|
urlLen++;
|
||||||
|
|
||||||
//mark end of url
|
//mark end of url
|
||||||
|
@ -136,7 +136,7 @@ parseFile (const char *path)
|
||||||
//If not text, text = url
|
//If not text, text = url
|
||||||
if (beginText == size)
|
if (beginText == size)
|
||||||
#ifdef TESTGEMPARSE
|
#ifdef TESTGEMPARSE
|
||||||
addLink (line + beginUrl, links[linkNumber]);
|
addLink (line + beginUrl, line + beginUrl);
|
||||||
#else
|
#else
|
||||||
addLink (render, links[linkNumber], links[linkNumber]);
|
addLink (render, links[linkNumber], links[linkNumber]);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue