Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-02 | imv: don't rely on glibc's lack of FILE sync on exit. | Érico Rolim | |
This issue was spotted on musl, where killing imv with the Q shortcut while it was waiting for image paths in stdin led to the application hanging until stdin received an EOF manually with ^D, since the stdin stream was locked by the fgets() function. Switching to pipes and a helper thread allows us to use read() for reading from STDIN_FILENO while still taking advantage of the fgets() logic for handling newlines and buffer size. read() is a thread cancellation point (fgets() is only an optional one), which makes it possible to cancel the helper thread cleanly and force the thread using fgets() to exit when the write-end of the pipe it's reading from is closed. | |||
2020-11-16 | imv, ipc: improve error checking for ipc creation. | Érico Rolim | |
Since this isn't essential functionality, it's ok to simply not provide it. In cases where XDG_RUNTIME_DIR was empty (but not unset) or set to a directory where the user didn't have write permissions, socket creation would fail and lead to segmentation faults in imv, due to the return value of imv_ipc_create() not being checked. | |||
2020-11-16 | imv: fix stdin prompt and use fputs. | Érico Rolim | |
Add newline to the prompt for reading paths from stdin. Since string formatting isn't being used, it's possible to use fputs() directly in the logging callback in imv.c. | |||
2020-08-31 | Fix bug handling multi-key binds | Harry Jeffery | |
2020-08-31 | colored overlay: config options in man, split rgba | Andreas Stallinger | |
split color_rgba into color_rgb and alpha added configuration options to man pages cleanup gitignore: the man pages output is now in the build directory, so there is no to ignore man pages individually | |||
2020-08-31 | colored overlay | Andreas Stallinger | |
* first steps for colored overlay * overlay color wip * add option for overlay position if overlay_positiion_bottom is true overlay is at the bottom * remove enum for overlay position | |||
2020-06-12 | Reset transforms on image switch. | Anton Älgmyr | |
2020-06-12 | Unify rotation commands, reset transformation properly | Anton Älgmyr | |
2020-06-12 | Add rotation and flipping commands. | Anton Älgmyr | |
Rotation can be done by any amount (not limited to multiples of 90). Commands allow flipping horizontally and vertically. The flips are done relative to the current rotation. | |||
2020-05-21 | fix nearest_neighbour upscaling method | nycex | |
2019-09-02 | console: Use icu to provide proper UTF-8 editing | Harry Jeffery | |
2019-08-30 | source: Refactor out common async logic | Harry Jeffery | |
2019-08-28 | imv: Warn about legacy bind syntax | Harry Jeffery | |
2019-08-28 | imv: Add aliases to improve backwards compatibility with v3 | Harry Jeffery | |
2019-08-25 | Added crop scaling method | Sebastian Parborg | |
Added a method that scales and crop the image so that the image will fill the whole window. Also made viewport update respect the current scaling mode. | |||
2019-08-25 | Add initial_pan option to set the starting pan position | Sebastian Parborg | |
2019-08-25 | Add upscaling method command | Sebastian Parborg | |
This works the same way as the existing scale command except that it changes the upscaling method. Also did some code reduction on the scaling command. | |||
2019-08-24 | imv: Move keyboard handling into window subsystem | Harry Jeffery | |
This is required as key repeating is going to need to be handled locally on Wayland, which means a slight refactor. | |||
2019-08-23 | wl_window: Maintain keyboard modifiers state | Harry Jeffery | |
2019-08-23 | Fix out of date scaling command defaults | Harry Jeffery | |
2019-08-23 | Update default config | Harry Jeffery | |
2019-08-21 | imv: Use generic list for backends, not a linked list | Harry Jeffery | |
2019-08-18 | imv: Add -c option to specify commands to run at startup | Harry Jeffery | |
2019-08-18 | imv: Add bind command | Harry Jeffery | |
2019-08-18 | x11_window: Use XCB to load keymap | Harry Jeffery | |
2019-08-16 | imv: Add index/all argument to close command | Harry Jeffery | |
2019-08-16 | Fix misspelling of slideshow_duration environment variable | rien333 | |
I noticed that echoing `$imv_slideshow_duration` always came up blank. Turns out, it's misspelled in imv.c. Correcting the spelling mistake makes it behave as expected. | |||
2019-08-15 | imv: Add imv_pid environment variable | Harry Jeffery | |
2019-08-15 | imv_load_config: Fix memory leak | Harry Jeffery | |
2019-08-15 | imv: Fix backend chain memory leak | Harry Jeffery | |
2019-08-15 | binds: Fix memory leak | Harry Jeffery | |
2019-08-13 | Wayland: Detect keyboard layout automatically | Harry Jeffery | |
2019-08-12 | Fix background color bug | Harry Jeffery | |
2019-08-07 | Update man pages | Harry Jeffery | |
2019-08-07 | ipc: Add ipc support to imv | Harry Jeffery | |
2019-08-07 | Don't quit when out of images | Harry Jeffery | |
2019-08-07 | navigator: Use generic list implementation | Harry Jeffery | |
2019-08-07 | Make aliases smarter | Harry Jeffery | |
2019-08-07 | imv: Improve slideshow command | Harry Jeffery | |
2019-08-07 | Add background colour command | Harry Jeffery | |
2019-08-07 | Rename some commands, and add some aliases | Harry Jeffery | |
2019-07-30 | Rename select_rel and select_abs to next,prev,goto | Harry Jeffery | |
2019-07-19 | Improve command prompt formatting | Harry Jeffery | |
2019-07-15 | Kill old debug logging | Harry Jeffery | |
2019-07-15 | Fix next frame command | Harry Jeffery | |
2019-07-13 | Remove OpenGL awareness from core logic | Harry Jeffery | |
2019-07-13 | Implement scroll input | Harry Jeffery | |
2019-07-13 | Handle mouse input | Harry Jeffery | |
2019-07-12 | Remove resizing, not supported in wayland yet | Harry Jeffery | |
2019-07-12 | Modernise event loop | Harry Jeffery | |