Commit Graph

226 Commits (master)
 

Author SHA1 Message Date
seebye 32f415f0ca update documentation: image scalers 5 years ago
seebye d036689451 remove redundant code 5 years ago
seebye 072411ae21 add image scalers to python library 5 years ago
seebye c4c87e2a4b implement ImageScaler 5 years ago
seebye 3a25f48d20 replace custom exception with built-in exception 5 years ago
seebye 2f40534476 remove unused imported modules 5 years ago
seebye 4726d3caa5 cache resized images 5 years ago
seebye 56be1a83b6 remove unused function add_overlay_text 5 years ago
seebye 5309bf70d4 remove info message on images "Multi pane windows aren't supported"
mention the lacking tmux multi pane window support
5 years ago
seebye 685e49e164 force coroutine switch after synchronous drawing 5 years ago
seebye cfb274083e replace redudant if else code with min max code, refactoring 5 years ago
seebye aeccd6374a
Merge pull request #32 from seebye/Xshm-Image
Speed up drawing images by using shared memory
5 years ago
seebye 40138062cc use shape_rectangles instead of shape_mask, Xshape 5 years ago
seebye 40bf7fb176 refactoring, replace magic number 5 years ago
seebye 1b34c9e70a refactoring, fix indent, empty lines 5 years ago
seebye 6b576eaaf2 improve code format, add missing space 5 years ago
seebye d7259d59ee draw images by using shared memory 5 years ago
seebye d760421d23 import modules instead of functions 5 years ago
seebye 2a9e5834f0 escape map items in bash library 5 years ago
seebye d8d490abd1
Update README.md
replace read call with sleep as bash does not seem to support reading from stdin if the command is typed in the terminal
(it works fine if it's used in a script ¯\_(ツ)_/¯)
5 years ago
seebye b89ff8558a also search in mapped window list for pids 5 years ago
seebye 0b53bdd9d5 bugfix: (also) find unmapped windows by pid
Use query_tree() in order to find the windows associated to a given pid
as query_tree() returns all children of the root window unlike the
_NET_CLIENT_LIST property which just lists the mapped windows.
5 years ago
seebye 71424ed33d bug fix: ensure redrawing on executing an action 5 years ago
seebye f5b6f1b463 reuse loaded images in add action 5 years ago
seebye f4d101f0f1 improve phrasing (bash library) 5 years ago
seebye 42a776f452 add synchronous_lazy_drawing to the documentation of the python library 5 years ago
seebye f6bf5ec08b add gpl reminder to readme 5 years ago
seebye d8ef4cfc2e implement synchronous drawing
Allow to redraw windows synchronously instead of scheduling a redraw
5 years ago
seebye c003b42fb1 BatchList support late initialisation
Allow to construct a BatchList with a empty list.
It will be initialised as soon as a element was added.
5 years ago
seebye 5dfd2e5c57 api: enforce correct process management 5 years ago
seebye 2ed2982a10 bugfix: ensure unlocking 5 years ago
seebye 34aea454e8 release new version, releasecount 18 5 years ago
seebye b4091c81cd
Merge pull request #18 from seebye/tmux_session_unresponsive
extend tmux event receivers (processes) instead of overwriting it
5 years ago
seebye 13be42f8c2 extend tmux event receiver (processes) instead of overwriting it
Instead of replacing the receiver pid of SIGUSR1 extend the kill command
with the new pids.
(Or remove a few depends on whether ueberzug starts or exits)
5 years ago
seebye 3a5b83a2c9 always calculate terminal font size & padding by differences if possible
If X11 window size and TIOCGWINSZ differs always use the differences
to calculate the font size and window padding.
5 years ago
seebye f3cbf3f61f keep unmapped tmux client windows
if the window of a tmux client was unmapped it should still be on our
BatchList,
so we need to cache the window id as we won't be able to find window ids
by pids of unmapped windows

(E.g. fixed scenario: tmux query_window events received while window unmapped
-> ueberzug window disappears)
5 years ago
seebye 90f2a452ba fix crash on updating BatchList 5 years ago
seebye 495894915e rename module aio to files 5 years ago
seebye e0cf86e5f3 refactoring: fix pep8 5 years ago
seebye 6ff676d3f3 remove redundant code
Exceptions are already catched on updating an image,
so these exceptions shouldn't be thrown here.
E.g. a corrupt image should lead to an exception on adding it -> not
added
5 years ago
seebye 52ddd63dd0 fix crash if image corrupt 5 years ago
seebye 3f1a2dc3e4 refactoring improve structure transfering execution results 5 years ago
seebye f2ef3d0529 update version 5 years ago
seebye 72b1a9784c update terminal determination of font sizes & padding
termios.TIOCGWINSZ:
Some terminals return the size of the text area instead of the whole
window.
In this case we can easily get the right font size & padding.
5 years ago
seebye a49507cf6b force to include shell scripts in packages 6 years ago
seebye c1598903e6
Merge pull request #16 from seebye/lazy_drawing
lazily redraw windows by using asyncio
6 years ago
seebye 6e0497dd9f check batchlist isn't empty before calling it 6 years ago
seebye 8f4d685c62 lazily redraw windows by using asyncio
- drop unused mask extraction
- load images on first draw
- LineReader: read lines instantly if the file has data
  (used for reading stdin)
6 years ago
seebye 8dbcf9d4fe make lib folder importable 6 years ago
seebye 89d237f8f4
Merge pull request #15 from seebye/api
merge api v0
6 years ago