aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-06Tweak default scaling modeHarry Jeffery
2017-06-06check_stdin_for_paths shouldn't be publicHarry Jeffery
2017-06-06Switch to new implementationHarry Jeffery
2017-06-06Load paths from command line argsHarry Jeffery
2017-06-06Fix animated gif / slideshow supportHarry Jeffery
2017-06-06Don't mix ints and boolsHarry Jeffery
2017-06-06Fix redraw on viewport updateHarry Jeffery
2017-06-06Load paths from stdinHarry Jeffery
2017-04-18Add basic commands to refactorHarry Jeffery
2017-04-18Rough initial implementation of imv_runHarry Jeffery
2017-04-18Implement imv_add_pathHarry Jeffery
2017-04-18Fix font_name crashHarry Jeffery
2017-04-18Fix crash in imv_loader_freeHarry Jeffery
2017-04-18Add window set-up logicHarry Jeffery
2017-04-18Start work on refactored imvHarry Jeffery
2017-04-15Fix compiler warningHarry Jeffery
2017-04-15Let commands take an arbitrary pointerHarry Jeffery
2017-04-14Fix command text inputHarry Jeffery
2017-04-14Minor clean up of main.cHarry Jeffery
2017-04-14Move parse_args to end of main.cHarry Jeffery
2017-04-14Move some globals back to localsHarry Jeffery
2017-04-14Move rendering into its own functionHarry Jeffery
2017-04-14Refactor navigator poll rate limitingHarry Jeffery
2017-04-14Move event handling into its own functionHarry Jeffery
2017-04-14Refactor navigator to new styleHarry Jeffery
2017-04-14Refactor viewport to new styleHarry Jeffery
2017-04-14Refactor texture to new styleHarry Jeffery
2017-04-14Refactor loader to new styleHarry Jeffery
2017-04-14Let's not have imv_commands use hidden globalsHarry Jeffery
2017-04-14Add some aliasesHarry Jeffery
2017-04-14Add basic alias supportHarry Jeffery
2017-04-14Add a rough command modeHarry Jeffery
2017-04-12Move basic functionality into commandsHarry Jeffery
2017-04-12Add basic command systemHarry Jeffery
2017-04-12Add generic list containerHarry Jeffery
2017-03-08Merge pull request #104 from alkino/masterHarry Jeffery
Add command 'X' to remove image from disk too
2017-03-06Add command 'X' to remove image from disk tooNicolas Cornu
2017-02-09Show image scale in window titleMark Oteiza
2016-12-28Merge pull request #100 from crasm/masterHarry Jeffery
Store getopt() return in a signed variable
2016-12-28Store getopt() return in a signed variablecrasm
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-23Fix indentation errorHarry Jeffery
2016-11-23Merge pull request #99 from eXeC64/wall-of-textHarry Jeffery
Unconditionally echo build commands
2016-11-22Simplify VERSION handlingDmitrij D. Czarkoff
Also, use default abbreviation length, so that abbreviated object name in VERSION would match github's display of commit IDs.
2016-11-22Unconditionally echo build commandsDmitrij D. Czarkoff
2016-11-22Separate preprocessor flags from compiler flags, libs from linker flagsDmitrij D. Czarkoff
PR #98 hints that we were venturing into downstream's territory: compiler and linker flags may be OS-specific, while preprocessor flags and libraries are our responsibility. Provide clean separation between these categories. Downstreams may still need to provide "--std=c99" in CFLAGS though.
2016-11-17Describe command "d" in manualDmitrij D. Czarkoff
Fixes #97.
2016-11-16Reset 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-23Don't advertise hash sign usage with '-b' optionDmitrij D. Czarkoff
Most shells would interpret the hash sign as start of the comment, so command with an unescaped hash sign will result in rather puzzling error message: $ imv -b #C0C0C0 files... Unknown argument 'b'. Aborting. Although there is obvious workaround (detect 'b' in '?' case of getopt switch and put more appropriate message), it generally makes more sense to suggest plain hex values for input.
2016-10-23Simplify hex color parserDmitrij D. Czarkoff
It is actually a trivial task for strtoul + some bit shifting, so there is no need for two separate functions.
2016-10-22Release v2.1.3Harry Jeffery