Commits
- Commit:
b59bcb53ccddc0a8f27813afbf127e54f554ae42
- From:
- Omar Polo <op@omarpolo.com>
- Date:
garbage collect `dequeue_first_download'
- Commit:
fd984e767a8e0e4978cfe072899282a8265a911e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop the `buffer' flag for enqueue_download
it's unused as write_buffer now writes a buffer to the disk.
- 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:
868b3a8f52ea2f90a1965661798d977d307e3b38
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add write-buffer
saves a page to the disk. Also, changes the order of the downloads so
the new one is always at the top.
- Commit:
6219c17fe1ea063932a21f61ca5a1a1abb80017d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix prototype
- Commit:
84892515ec94204f7208e7492a31439f8c0f82e3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use download_cols to wrap the text in the download buffer
download_lines is a very small value, for a normally sized terminal is
exactly 5. This was the cause behind the download pane glitch, 5 was
used as *column number* for the reflow.
Now, to be honest, the exact width passed to wrap_page is not
important. wrap_page will only wrap the size string, which we know is
less than or equal to FMT_SCALED_STRSIZE-1 (6). We could also
hardcode the value eventually, but using download_cols reads better.
- Commit:
32ca52749c9f9639a7d19a050cf15b61a076dd19
- From:
- Omar Polo <op@omarpolo.com>
- Date:
pass the correct pointer
- Commit:
15f22b81b8b42898205eb6de1bb4ddf860e5bdf9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
swap the fields in download lines
- Commit:
fcd99a0d4765b480ed9fa260b253770a85313a1e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
switch to our new struct download for the downloads
- Commit:
a1a63cf5f5a3265b01ba841b9aafc55121c3f5f5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
wrap download page
- Commit:
1577540cfba6ba170eb61e67601af3c8fde3b9e6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add download and download.* line styles
- Commit:
3b5f459ef42c1d975ca5f15ed6402b5658f779f4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add side window for downloads