Commits
- Commit:
a74e6b4d71a264f0ca2fd27e25b1acfb811508fc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reset timer id after cancelling it
- 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:
07a751ac2365bdee6d0002632efa996d1dfcfb12
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typofix
- Commit:
4e74baf8b1d5cee7981909776791860b436fa33c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
guard against malformed 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:
3c56c523c37b8b505cafdd3e5d62d3d72b76ae29
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove half-bake idea
turns out telescope is not ready to generate certificate in the ui
process, a separate helper will be added for it, so remove this
option for now.
- 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:
cbe2da3279946cae9bb365a672e6600268de9cce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move struct cmd and cmds declaration in cmd.h
- Commit:
c171304b1ea3f9decda9c0bfdbbcba6cf399ba26
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tweak use-certificate yornp question
- 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:
d2e2bebcbe7fa3d2d6f9ee84f479d6d0241da8ca
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bp_select: call exit_minibuffer() when done
Currently it is still fine to access ministate after
exit_minibuffer(). In the future, if we ever support recursive
minibuffers it won't.
So, defer the exit_minibuffer() call and use minibuffer_compl_text()
instead of peeking into ministate.
While here, also add the "Bookmarked" message when it successfully
bookmarked the page.
- Commit:
ba8a119df2b3646ede6415168bd7f56bde6d090a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix bookmark_page() failure check
it returns -1/0 not 0/1
- 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:
449ea6fe32441d2fd3875c5eee5d0c77800cfa7d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
apply load-url-use-heuristic for command line arguments too
This semplifies a bit the handling. humanify_url() now takes the base
URL which we can then use when not using the heuristics.
Command-line arguments now take an implicit base of <file://$PWD/>
when the heuristics are disabled, so that foo.gmi resolves to the
local file even without <./>.
See github issue #10.
- Commit:
cc71f6cb128ea70d8fd676c4cac46c3f25c0f7a5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert ir_select_reply() to iri