aeonofdiscord / ferret Goto Github PK
View Code? Open in Web Editor NEWA gopher client
License: Other
A gopher client
License: Other
Whenever I click on a link, ferret emits the warning:
(ferret:9074): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
and the adressbar shows gibberish, copy-pasted it is: \Uffffffff
or p-
or \UffffffffD
I tried on gopher://gopher.quux.org and gopher://tilde.town. The error message in the GTK-interface is: Could not open address
.
Currently search services (like Veronica) don't do anything in ferret, because showing the search box is slightly complicated. I'm trying to figure out the best way to either:
The second option is probably better, but comes with its own problems:
Right now ferret doesn't know what to do with binary or image files; it tries to display them as text, and fails. It should be enough, for now, to kick off a simple async worker that dumps files into the user's Downloads folder or the working directory.
Right now ferret is showing type codes on menus, which is minimally informative but not very readable. I'm gonna replace these with some SVG icons.
I have been trying to use the style.css
file to change the font size and/or font family. I have tried the following:
ferret-master/share/style.css
pre-compilation from 10px to 18px./usr/local/share/ferret/style.css
after compilation and installation from 10px to 18px.serif
and monaco
.None of the above has worked so far. Ferret always displays a sans-serif font that is relatively small (apparently matching the GtkTextView { font-family: sans; font-size: 10px; }
of the original style.css
file.
I'm running Devuan GNU/Linux 4.0 Chimaera (which is based off of Debian 11 Bullseye).
Tried this a while ago but it's not obvious how to make it work correctly in GTK.
$ ./build.sh
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vagrant/ferret/build
Scanning dependencies of target ferret
[ 25%] Building CXX object CMakeFiles/ferret.dir/src/main.cpp.o
[ 50%] Building CXX object CMakeFiles/ferret.dir/src/worker.cpp.o
[ 75%] Building CXX object CMakeFiles/ferret.dir/src/net.cpp.o
[100%] Linking CXX executable ferret
/usr/bin/ld: CMakeFiles/ferret.dir/src/main.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/lib/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ferret.dir/build.make:147: ferret] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/ferret.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
cp: cannot stat 'ferret': No such file or directory
All the content in the page gets redrawn every frame, which is a) an artifact of the way areaDraw() gets called by the UI library, and b) hugely inefficient for large files.
The best fix for this would be to cull nodes that fall outside the viewport when drawing, but as of right now libui doesn't provide a way to get the screen dimensions of a uiArea, so it'll need to be extended to make that work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.