Commits
- 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
- Commit:
f63b8f7342aefba6b3dac50d6790981987c8faa8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
merge the fs into the ui process
The previous separation between the fs and ui process wasn't that good.
The idea was to have a `ui' process tightly sandboxed, but it was a lie
actually. `ui' was one imsg away from making internet connections and
accessing data on the disk, so it wasn't really limited in (almost) any
way.
Furthermore, having to serialize data to/from the fs proc started to
become not really maneagable.
As a first step to fix this situation, join the fs and ui process.
- Commit:
27dbcaab4fac08fbb43df9eb5f10781ff7015bb6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add must_select flag for enter_minibuffer
it only makes sense when entering the minibuffer with completions.
This flag is useful for functions like tag-select where the user types
something but one of the completions *must* be selected.