Commits
- Commit:
12ba5e21a1193b98af6ee1e5eb3da838d5c788f1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use wmove instead of mvwprintw with an empty format string
- 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:
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:
4c73b0e4524c9bb1be347c1197807e6297943147
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
d252d87ccdef3bf3619959f93601a9e74ffcc28f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include cmd.h only where it is really needed
- Commit:
6b6304293f8fd3ff967c28a82fa63bcb7240d46a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
guard against wprintw(window, "%.*s", 0, NULL)
even if textlen is zero, it still complains in syslog that the
string passed is NULL (which kind of makes sense actually.)
- Commit:
d35e18b31b0e05c6178a6bfa891dd2e2dadf3db1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
first draft of client certificate support
At the moment telescope loads a mapping host:port/path -> certificate
from a file and always uses it, no ways to change it, use a temporary
one, generate a new one, etc are provided yet.
The format of ~/.telescope/certs/certs is
host port path certificate file name
where the certificate file name is the name of a file inside
~/.telescope/certs.
~/.telescope/certs/ is ~/.local/share/telescope/ when using XDG.
- Commit:
d08fccd2fe31fb4f2415704ca8e867dc4d2e7480
- From:
- Omar Polo <op@omarpolo.com>
- Date:
removed -C/--colours flag
- 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:
fd29e8735f8d2276b3dce90c267f67742bc5bd06
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't strlcat in a loop
not that of a big deal, but since we memset() at the start, just add
the spaces directly instead of using strlcat. saves some cpu cycles.
- Commit:
5ab1e3c1bda423908dde9e027f496f9d25f5e4da
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix wrapping of link lines
- Commit:
4592900367c6b286fb4de7ef1dbb70d991b753f9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix comment
- Commit:
ad8e93f553f18c0c1f8e8963856b4a91c4438616
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add missing void to please clang
- 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:
0e7b2e99bcc7b27a70cab7a553746ca3ed98ccac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rate-limit the update of the download pane