Commits
- Commit:
98d3e6c172747dc58042bde09a848d3e03572934
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert telescope to use ev instead of libevent
libevent is a very cool library, I like the APIs and enjoy using
it. However, telescope is not as large and doesn't have as many
file descriptor, so libevent is quite ``too big'' for our needs.
ev started as a small event loop on top of poll(2) for amused, and
can be used here too, it just needed to grow the ability to handle
several timers, as we need quite some on telescope (in fact, we use
more timers than fds!)
- Commit:
50fd8b267750be705819a7036c7f08a8b4fc5432
- From:
- Omar Polo <op@omarpolo.com>
- Date:
support gopher urls for search; document default-search-engine
- Commit:
fd6c540b6faa6c802c92c9e209e2122ca3ddfa92
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add cmd_search to search using a search engine
This adds a new command `search', bound by default to `s', that
prompts for a query and loads and consult the ``oracle'' (the search
engine) using default_search_engine (which will be made customizable.)
It also temporarly supports only gemini URLs.
Feature requested by -fab-, thanks!
- Commit:
71bc16365736f1cc3212d46f3947806c1e33867b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add client_cert_temp flag to the struct tab
This way we can improve unload-certificate prompt. While here,
move the cert handling in make_request().
- Commit:
f7db6d139bba0fb56f0560533b77af219958ecc0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
some headers cleanup
try to not include headers from headers, and remove some redundant
include.
This helps in modularizing the codebase and also helps during
incremental compilations.
- Commit:
4fdc9933599cda6387d6c15f757faf4dda1bbd0a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add unload-certificate to stop using a certificate
- Commit:
d252d87ccdef3bf3619959f93601a9e74ffcc28f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include cmd.h only where it is really needed
- Commit:
4655add68bea2925dae643694004d6a3ac73c5d8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add client-certificate-info
- Commit:
5a39f5931f4b5be1d57d75c7f25cff8adae5f235
- From:
- Omar Polo <op@omarpolo.com>
- Date:
load and optionally remember client certificates
This adds use-certificate, a user function to start using a certificate
or switch to a different one. It asks whether to persist the
certificate, if not it will only be used for the current session.
use-certificate is implicitly called when the server replies with
a 6x status code.
- Commit:
a526f3ebd00fa568afc87f6869fffced402d8fa6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make cmd_home more robust
look exactly for /~user/, not just for a tilde that happens to be
inside the path like~this.
- Commit:
65c4966563d067115fc09f5e5c8c43a917b1cf03
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework the history management
It was a huge pile of spaghetti with useless utility functions and
lots of code reaching into the "data structure" (if you can call it
so) to do stuff.
Instead, provide a "module" with a clean interface and noone reaching
in the insides.
- Commit:
86294a09e56a395ff91a61d13b307d86ca404855
- From:
- Omar Polo <op@omarpolo.com>
- Date:
actually implement cmd_home
- Commit:
a36bb43a3e7eb5156105479fe02f05639d5f1d89
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add the up, root and home commands
These navigates respectively one level up in the path hierarchy, to
the root directory and to the "home".
The home is considered to be the first path component in the form of
~username.
`home' is yet to be implemented.
- Commit:
bd4a08a74023593128f1f6fac9e0f4a093a8441f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
start to refactor the rendering
Previously each vline (visual line) had a full copy of its associated
string, this changes it so it only slices a part of the parent line.
Reduces significantly the memory usage.
This actually worsen the emojify-link glitch reported by Freezr after
the some recent refactoring in the wrapping code. Not a big deal since
I'm about to restructure the whole rendering bit by bit (hopefully!)
- Commit:
d89eb764fd5d3a5ec0b5b30d85ecdc14789bb7cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
replace has_prefix with strncmp