aboutsummaryrefslogtreecommitdiff
path: root/src/loader.c
AgeCommit message (Collapse)Author
2017-11-26Use imv_bitmap for bitmaps intead of FIBITMAPHarry Jeffery
2017-11-26Rename imv_texture -> imv_imageHarry Jeffery
2017-11-25Don't duplicate license text in all source filesHarry Jeffery
If moving to dual-licensing, this text will be confusing. It's also a lot of noise.
2017-11-24Make the loader interface opaqueHarry Jeffery
2017-11-24loader: Use event to pass image loading error to main threadHarry Jeffery
2017-11-24Sleep for longer when displaying still imagesHarry Jeffery
2017-11-24loader: Use SDL event queue to return imagesHarry Jeffery
2017-08-22Remove year from copyright noticesHarry Jeffery
It was falling out of date, and has no legal bearing to my knowledge.
2017-06-18Support loading image data from stdinHarry Jeffery
2017-04-18Fix crash in imv_loader_freeHarry Jeffery
2017-04-14Refactor loader to new styleHarry Jeffery
2016-10-21Fix leak of images awaiting collection in loaderHarry Jeffery
2016-10-21Rework thread resource leakHarry Jeffery
2016-09-28Fix thread resource leak in loaderHarry Jeffery
2016-05-13Fix build of imv on GNU libcDmitrij 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-04-26Fix reporting image changeDmitrij D. Czarkoff
Apparently bg_next_frame() functions marked first frames of gifs old before imv_loader_get_image() had a chance to report them to the main loop. Move unsetting of ldr->out_is_new_image to imv_loader_get_image(). Fixes #81.
2016-04-26Add vim modelinesDmitrij D. Czarkoff
2016-02-21Honour EXIF orientation tagDmitrij D. Czarkoff
2016-02-08Fix #78Harry Jeffery
If the gif disposal method is unspecified, default to compositing instead of full disposal.
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-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
2015-12-28Hide functions that are not exposed via headersDmitrij D. Czarkoff
2015-12-28Remove names from file copyright headersHarry Jeffery
2015-12-10Make imv_loader_get_image more informativeHarry Jeffery
2015-11-28Improve cancellation responsivenessHarry Jeffery
2015-11-28Improve responsiveness by allowing bg threads to co-existHarry Jeffery
2015-11-28Implement background frame loadingHarry Jeffery
2015-11-28Add some infrastructure for gif playbackHarry Jeffery
2015-11-28Load still images in the backgroundHarry Jeffery
2015-11-27Start performing loading in BGHarry Jeffery
2015-11-19Rename imv_image -> imv_loader to prepare for refactoringHarry Jeffery