aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-16Provide some feedback to users when no arguments are givenHarry Jeffery
2016-01-16Trim usage information for -hHarry Jeffery
2016-01-15Merge pull request #76 from czarkoff/loaderHarry Jeffery
Loading image data from standard input
2016-01-14Note new syntax in README.mdDmitrij D. Czarkoff
2016-01-14Loading image data from standard inputDmitrij D. Czarkoff
This commit changes processing of arguments: * When called without arguments (with or without flags), imv reads list of files from standard input. * When called with "-" among arguments, read image data from standard input.
2016-01-13Use PATH_MAX for buffers holding pathsDmitrij D. Czarkoff
2016-01-13Sort static functionsDmitrij D. Czarkoff
2016-01-13Declare static functions above all codeDmitrij D. Czarkoff
2016-01-13Remove "imv_loader_" prefix from static functionsDmitrij D. Czarkoff
2016-01-13In 'void *' functions return NULL instead of 0Dmitrij D. Czarkoff
2016-01-13Fix strict build on GCCHarry Jeffery
2016-01-13Merge pull request #74 from czarkoff/masterHarry Jeffery
Add Travis CI support
2016-01-13Gather status of eXeC64/imv in Travis indicatorDmitrij D. Czarkoff
2016-01-12Add explicit CFLAGS to .travis.ymlDmitrij D. Czarkoff
Include "-Werror" among flags, so that it is easier to catch compiler warnings.
2016-01-09Add Travis CI supportDmitrij D. Czarkoff
Unfortunately, Travis only wants to use Ubuntu LTS releases, so at least until next Ubuntu LTS release we are stuck with ancient cmocka version. So no automated testing yet.
2016-01-07Merge pull request #73 from czarkoff/testHarry Jeffery
Test
2016-01-06Add test for file change detectionDmitrij D. Czarkoff
2016-01-06Fix navigator_add testDmitrij D. Czarkoff
It was not fixed after imv_navigator_poll_changed() function was changed.
2016-01-01Merge pull request #72 from czarkoff/timeoutsHarry Jeffery
Timeouts
2016-01-01Include <limits.h>Dmitrij D. Czarkoff
2015-12-30Reduce amount of stat(2) callsDmitrij D. Czarkoff
Add 8-bit variable that is passed to imv_navigator_poll_changed(). Decrement it on each run of main loop. When it gets to 0, call stat(2).
2015-12-30Allow fractional slideshow timeoutDmitrij D. Czarkoff
Accept slideshow timeout expressed as fractional numbers. It is intentionally lax, so that arguments like ".1" or "5." are accepted and give no surprises.
2015-12-30Merge pull request #71 from czarkoff/mandocHarry Jeffery
Rewrite manual page using mdoc(7) markup language
2015-12-30Fix several issues with manualDmitrij D. Czarkoff
2015-12-29Rewrite manual page using mdoc(7) markup languageDmitrij D. Czarkoff
2015-12-28Merge pull request #70 from czarkoff/generalHarry Jeffery
Hide functions that are not exposed via headers
2015-12-28Add -Wmissing-prototypes to default CFLAGSDmitrij D. Czarkoff
2015-12-28Hide functions that are not exposed via headersDmitrij D. Czarkoff
2015-12-28Remove names from file copyright headersHarry Jeffery
2015-12-28Add AUTHORS fileHarry Jeffery
2015-12-28Merge pull request #68 from czarkoff/reloadHarry Jeffery
Use stat(2) to monitor file changes
2015-12-28Add checks for malloc(3)Dmitrij D. Czarkoff
Exit(3) if memory allocation fails.
2015-12-28Use stat(2) to monitor file changesDmitrij D. Czarkoff
Makes file monitoring in imv completely POSIX.
2015-12-28Use realloc(3) for extending bufferDmitrij D. Czarkoff
It may save some CPU cycles if there is enough space to grow the array without copying memory chunks. Two side effects of the change: proper error checking added and dangerous memcpy(3) call removed.
2015-12-27Merge pull request #66 from czarkoff/masterHarry Jeffery
Drop `obj` target
2015-12-27Drop "obj" targetDmitrij D. Czarkoff
It was introduced to make object files depend on $(BUILDDIR) so that creating it could be moved into separate rule, executed once. That was a bad idea, because "obj" had to be phony, thus making all targets that depend on it obsolete between runs of make. This change introduces order-only rule that makes object files depend on $(BUILDDIR) without obsoleting other targets.
2015-12-26Merge pull request #65 from czarkoff/buildHarry Jeffery
More changes to build infrastructure
2015-12-26Use simply expanded variables wherever possibleDmitrij D. Czarkoff
Recursively expanded variables (VAR = CONTENT) are evaluated when used. Simply extended variables (VAR := CONTENT) are expanded immediately, and remain stable throughout lifetime of the process, reducing fragility of build system.
2015-12-26Generate all files in build directoryDmitrij D. Czarkoff
* Allow building off read-only source tree. * Allow setting build directory from environment. These changes allow parallel building of imv for multiple architectures, which is used by package management systems of some operating systems.
2015-12-26Make "uninstall" target remove the same files "install" installsDmitrij D. Czarkoff
2015-12-26Fix usage examplesHarry Jeffery
Fixes #61
2015-12-26Improve readability of g_optionsHarry Jeffery
The default options block was getting quite ridiculous to try and read. Let's improve the readability.
2015-12-26Merge pull request #64 from czarkoff/masterHarry Jeffery
Build infrastructure improvements
2015-12-26Merge pull request #62 from czarkoff/fontHarry Jeffery
Use default font
2015-12-25Document default font change in help textDmitrij D. Czarkoff
2015-12-25Document default font in manualDmitrij D. Czarkoff
Also reference the fonts.conf(5) manual, which explains fonts configuration.
2015-12-25Fix verbose buildDmitrij D. Czarkoff
2015-12-25Merge pull request #63 from czarkoff/stdinHarry Jeffery
Don't use "stdin" variable name
2015-12-25Add verbose modeDmitrij D. Czarkoff
If V variable is set to any value, commands will be echoed to standard output.
2015-12-25Make installation locations more configurableDmitrij D. Czarkoff
This might be desired when platform has its own, custom layout (eg. OpenBSD or Solaris), or when user wants to install the program to his home directory.