Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-06 | Switch to new implementation | Harry Jeffery | |
2017-06-06 | Load paths from command line args | Harry Jeffery | |
2017-06-06 | Fix animated gif / slideshow support | Harry Jeffery | |
2017-06-06 | Don't mix ints and bools | Harry Jeffery | |
2017-06-06 | Fix redraw on viewport update | Harry Jeffery | |
2017-06-06 | Load paths from stdin | Harry Jeffery | |
2017-04-18 | Add basic commands to refactor | Harry Jeffery | |
2017-04-18 | Rough initial implementation of imv_run | Harry Jeffery | |
2017-04-18 | Implement imv_add_path | Harry Jeffery | |
2017-04-18 | Fix font_name crash | Harry Jeffery | |
2017-04-18 | Fix crash in imv_loader_free | Harry Jeffery | |
2017-04-18 | Add window set-up logic | Harry Jeffery | |
2017-04-18 | Start work on refactored imv | Harry Jeffery | |
2017-04-15 | Fix compiler warning | Harry Jeffery | |
2017-04-15 | Let commands take an arbitrary pointer | Harry Jeffery | |
2017-04-14 | Fix command text input | Harry Jeffery | |
2017-04-14 | Minor clean up of main.c | Harry Jeffery | |
2017-04-14 | Move parse_args to end of main.c | Harry Jeffery | |
2017-04-14 | Move some globals back to locals | Harry Jeffery | |
2017-04-14 | Move rendering into its own function | Harry Jeffery | |
2017-04-14 | Refactor navigator poll rate limiting | Harry Jeffery | |
2017-04-14 | Move event handling into its own function | Harry Jeffery | |
2017-04-14 | Refactor navigator to new style | Harry Jeffery | |
2017-04-14 | Refactor viewport to new style | Harry Jeffery | |
2017-04-14 | Refactor texture to new style | Harry Jeffery | |
2017-04-14 | Refactor loader to new style | Harry Jeffery | |
2017-04-14 | Let's not have imv_commands use hidden globals | Harry Jeffery | |
2017-04-14 | Add some aliases | Harry Jeffery | |
2017-04-14 | Add basic alias support | Harry Jeffery | |
2017-04-14 | Add a rough command mode | Harry Jeffery | |
2017-04-12 | Move basic functionality into commands | Harry Jeffery | |
2017-04-12 | Add basic command system | Harry Jeffery | |
2017-04-12 | Add generic list container | Harry Jeffery | |
2017-03-06 | Add command 'X' to remove image from disk too | Nicolas Cornu | |
2017-02-09 | Show image scale in window title | Mark Oteiza | |
2016-12-28 | Store getopt() return in a signed variable | crasm | |
On certain platforms [0] a char may be unsigned [1]. The loop for getopt would loop forever because: (char)-1 => 255 and 255 != -1 A signed char also worked. I don't know what that would mean for performance or portability. int feels simpler to me. [0]: I'm using Arch Linux ARM on the Samsung Chromebook 2, which is armv7h. Not sure about other ARM platforms. With this fix, imv appears to work correctly. details: https://archlinuxarm.org/platforms/armv7/samsung/samsung-chromebook-2 [1]: http://stackoverflow.com/questions/2054939/is-char-signed-or-unsigned-by-default#2054941 | |||
2016-12-23 | Fix indentation error | Harry Jeffery | |
2016-11-16 | Reset slideshow timer when image changed via 'x' | Harry Jeffery | |
When the user hits left/right to change image, the time left until the slideshow changes images is reset. If the user changes image by closing the current image, the timer is not reset. This patch resolves that. | |||
2016-10-23 | Simplify hex color parser | Dmitrij D. Czarkoff | |
It is actually a trivial task for strtoul + some bit shifting, so there is no need for two separate functions. | |||
2016-10-21 | Fix leak of images awaiting collection in loader | Harry Jeffery | |
2016-10-21 | Rework thread resource leak | Harry Jeffery | |
2016-10-20 | Cap playback delta-time to 100 ms | Harry Jeffery | |
This prevents imv from trying to "catch up" on the time that it was asleep for by playing the gif back at high speed. | |||
2016-10-09 | Be more correct in read_from_stdin() | Dmitrij D. Czarkoff | |
From read(2) manual page on OpenBSD: Error checks should explicitly test for -1. Code such as while ((nr = read(fd, buf, sizeof(buf))) > 0) is not maximally portable, as some platforms allow for nbytes to range between SSIZE_MAX and SIZE_MAX - 2, in which case the return value of an error-free read() may appear as a negative number distinct from -1. Proper loops should use while ((nr = read(fd, buf, sizeof(buf))) != -1 && nr != 0) Distingushing between error and eof would also help for debugging. | |||
2016-09-28 | Fix thread resource leak in loader | Harry Jeffery | |
2016-09-27 | Fix minor memory leak in load_font() | Harry Jeffery | |
2016-09-27 | Fix GetWidth/GetHeight typo in main.c | Harry Jeffery | |
2016-05-13 | Fix build of imv on GNU libc | Dmitrij D. Czarkoff | |
Previously imv used -std=gnu11 flag which activated GNU "extensions" of C11 standard. This masked a portability issue in imv: strduo(3) should not have been visible in `src/loader.c` without inclusion of `<string.h>` header. This have been fixed. To remidy GNU libc's stange choice to hide X/Open interfaces in C99 code by default _XOPEN_SOURCE macro was also set. (This should have no effect on most other platforms.) | |||
2016-05-01 | Make imv_navigator_add() return an integer value | Dmitrij D. Czarkoff | |
In case of error return non-zero value instead of cleaning up navigator. This way main loop may do some more cleanup, or maybe even act differently. | |||
2016-05-01 | Remove buf_size from struct imv_navigator | Dmitrij D. Czarkoff | |
Implementation details should not leak to other parts of the code. While at it, clean up initialization and destruction of navigator. | |||
2016-04-29 | Fix uninitialized use of "last_time" | Dmitrij D. Czarkoff | |
Set "last_time" to current time at declaration time, so that it holds at least something by the time it is used. |