summaryrefslogtreecommitdiff
path: root/src/Fl_Image_Reader.cxx
AgeCommit message (Collapse)Author
2022-01-16Rename FL/fl_string.h to FL/fl_string_functions.hAlbrecht Schlosser
This is part 1 of the final fix for a previous name clash on case insensitive file systems (fl_string.h vs. Fl_String.H).
2021-10-01Refactor class Fl_Image_Reader to FLTK coding styleAlbrecht Schlosser
... and separate constructors for memory reader with and w/o length argument for better documentation.
2021-09-25Clarify return values and fix a minor issue (#271)Albrecht Schlosser
Fix: Fl_Image_Reader::seek() would not clear the error flag when reading from memory.
2021-09-25Enable error and EOF check in class Fl_Image_Reader (#271)Albrecht Schlosser
This is part 1 and a prerequisite for the fix of issue #271. It enables the user of this internal class (Fl_{BMP|GIF}_Image) to test for read errors and EOF (end of file) while reading. The method used to read data from memory got an optional third argument 'const long datasize = -1)' to limit the size of the memory block of data provided to the image reader. Default is -1 which means "unlimited" (backwards compatibility). Using only two arguments (w/o size limit) is deprecated and should only be done if the data size is not available.
2020-08-01Implement + deploy fl_strdup()Greg Ercolano
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-01-13Add missing Fl_Image_Reader filesAlbrecht Schlosser
Forgot to add these files. Sorry for the noise.