History log of /haiku/src/add-ons/translators/gif/GIFSave.cpp
Revision Date Author Comments
# 9a333ed1 12-Mar-2020 Murai Takashi <tmurai01@gmail.com>

GIFTranslator: Fix offset free

Re-offset red_error, green_error and blue_error when deleted,
since they are offseted at line 99, 109 and 120
after they are allocated.
Pointed out by Clang Static Analyzer

Change-Id: Ic12a754dff7049fc4fbfd25ababafd8243db6baa
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2354
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 2433b9e6 06-Mar-2014 John Scipione <jscipione@gmail.com>

Error if Write less than expected


# 2d612ef7 05-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Whitespace style fixes

Also remove break in last case.


# 78bfaa98 05-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: try hard to not throw an exception

... by calling new(std::nothrow)

Also try really hard not to leak any memory in the process.

Lots of error checking added to check if reads and writes fail
returning B_IO_ERROR and if initialization fails returning B_NO_MEMORY


# 33ef87cd 05-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: style fixes


# ead17dec 05-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Style fix, rename cs to colorSpace


# 5a7193d5 03-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Replace magic constants

Introduce GIFPrivate.h to define these magic constants

Also, make sure that we don't go over LZ_MAX_CODE bits


# 84bff752 01-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Log info messages with LOG_INFO not LOG_ERR


# 5e4c29a6 28-Feb-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Style fixes


# abfe23dc 14-Oct-2013 Philippe Saint-Pierre <stpere@gmail.com>

It now also uses the shared TranslatorSettings class, and localise its name
to be used in DataTranslations preflet.


# 70d59669 04-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

Applied following patches proposed by Jorma Karvonen:
#7135 #7140 #7141 #7145 #7186 #7188 #7191
#7136 #7187 #7184 #7185 #7192 #7138 #7139

with some changes and exclusions:
- all attempts to localize "fprintf(stderr,..." and "printf(..."
replaced by _untranslated_ "syslog(LOG_ERR ...";
- following *Translator.rdef files, that were not added in mentioned patches
were additionally created:
SGI, TIFF, RAW, RTF, PPM, WebP, EXR, STXT, WonderBrush, GIF, TGA;
- some small fixes for consistent catalogs building.

Thank you, Jorma! Please check. ;-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40357 a95241bf-73f2-0310-859d-f6bbb57e9c96


# eddec292 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* applied patch by kaliber that fixes more than 100 warnings - thanks a lot!
Closes #6349

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37670 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9949213a 19-Oct-2005 Stephan Aßmus <superstippi@gmx.de>

removed the redundant "translator" from the folder names, fixed some warnings in the JPEG2000Translator

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14449 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2433b9e64f20bdd8e65e01bcaf3b451a2322ddd1 06-Mar-2014 John Scipione <jscipione@gmail.com>

Error if Write less than expected


# 2d612ef7ae7c3c0c76a1b197b8098bd28a274abe 05-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Whitespace style fixes

Also remove break in last case.


# 78bfaa98e14d02fffe60aa9ac1d6c4943c8d09af 05-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: try hard to not throw an exception

... by calling new(std::nothrow)

Also try really hard not to leak any memory in the process.

Lots of error checking added to check if reads and writes fail
returning B_IO_ERROR and if initialization fails returning B_NO_MEMORY


# 33ef87cd9e55f3e271113c0212736478b8c6802c 05-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: style fixes


# ead17dec08d48e8d55fdc4b7c4ab4b4711884c3e 05-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Style fix, rename cs to colorSpace


# 5a7193d55818af7419e95ede22e678d45a0786bb 03-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Replace magic constants

Introduce GIFPrivate.h to define these magic constants

Also, make sure that we don't go over LZ_MAX_CODE bits


# 84bff7524538da9da3fbefc8e811b09042a52566 01-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Log info messages with LOG_INFO not LOG_ERR


# 5e4c29a6b7d6cf23b6ea0d9dd22bd4abf5c89c1a 28-Feb-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Style fixes


# abfe23dcf33fc8172f5deb50980ff6c6c8fd8a53 14-Oct-2013 Philippe Saint-Pierre <stpere@gmail.com>

It now also uses the shared TranslatorSettings class, and localise its name
to be used in DataTranslations preflet.


# 70d5966963513ff47a456ba70b7d2eec0f99648d 04-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

Applied following patches proposed by Jorma Karvonen:
#7135 #7140 #7141 #7145 #7186 #7188 #7191
#7136 #7187 #7184 #7185 #7192 #7138 #7139

with some changes and exclusions:
- all attempts to localize "fprintf(stderr,..." and "printf(..."
replaced by _untranslated_ "syslog(LOG_ERR ...";
- following *Translator.rdef files, that were not added in mentioned patches
were additionally created:
SGI, TIFF, RAW, RTF, PPM, WebP, EXR, STXT, WonderBrush, GIF, TGA;
- some small fixes for consistent catalogs building.

Thank you, Jorma! Please check. ;-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40357 a95241bf-73f2-0310-859d-f6bbb57e9c96


# eddec292d5dd8251a00851880e16e6a5c07c1e3f 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* applied patch by kaliber that fixes more than 100 warnings - thanks a lot!
Closes #6349

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37670 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9949213a25979d177b420bc71891c2bff02a331d 19-Oct-2005 Stephan Aßmus <superstippi@gmx.de>

removed the redundant "translator" from the folder names, fixed some warnings in the JPEG2000Translator

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14449 a95241bf-73f2-0310-859d-f6bbb57e9c96