#
e4bd005d |
|
13-Jun-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Update jpeg package * Also make use of new build feature rules. * Since the hacky long_jump_buffer field has been removed from the jpeg_error_mgr struct in the new package, the structure is now wrapped in the JPEGTranslator code to achieve the same behavior.
|
#
546208a5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
03901b6c |
|
26-Jan-2011 |
Jérôme Duval <korli@users.berlios.de> |
Applied patchs from Karvjorm (tickets #7118, #7128, #7137) with fixes by myself: Localizations for JPEG, BMP, ICO translators. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40298 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b98ef4f9 |
|
25-Apr-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Alex Wilson (yourpalal): Converting the JPEG Translator to using the same BaseTranslator framework as many other translators are already using and converting it to using layout management for the interface. Great work! Thanks a lot! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36465 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b91634cb |
|
16-Jan-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* extended the jpeg_error_mgr structure to hold the jmp_buf that we need in the critical error handler. In the high level function, the jmp_buf is now allocated on the stack and placed in the "cinfo->err" structure. This should make the mechanism thread-safe. Unfortunately, we don't use the original libjpeg anymore as is, but this seems to be frozen code since a few years anyways. If you have any better suggestions, please don't hesitate to mention them! :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23560 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dbc936ac |
|
16-Jan-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* it was a really bad idea to invoke exit() on critical errors from an add-on that only loads bitmaps and is supposed to return a status_t error from the Translate() function, especially for people using this in mission critical applications. The requirements on the error handler that is to be installed for the jpeg library are not to return to the calling function for critical errors. C++ exceptions seem like the natural solution to the problem, but unfortunately, they simply don't seem to work, possibly because we are inside an add-on. Ingo had the idea to use setjmp() and longjmp() to go directly from the error handler back to the top level code and this works. I have implemented this from what I understand from reading the opengroup spec, but the compiler currently issues a warning. Feel free to fix. The desired effects are achieved though, the translator recovers correctly from broken jpg files now. Also, I don't know if the translator should somehow "uninstall" the breakpoint. Again, feel free to fix or tell me. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23559 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f13b5de6 |
|
12-Apr-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* EXIF data is now also parsed in case there was no ioExtension message passed in; the orientation was only honoured in case there was a message before. * Disabled error alerts; they are more annoying than helpful. * Bumped version to 1.2.0. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20664 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d8e2fb50 |
|
17-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Some cleanup: * fixed all warnings. * moved functions from the header into the source file. * added a TODO about the incorrect usage of BFont::Size() as font height in pixel!! * renamed some stuff to match our style guide a bit better - could need some more work here, it's still pretty messy. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15009 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
|
#
e4bd005daf2e3e3c7cb4dfa38e9bde7a578f08e0 |
|
13-Jun-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Update jpeg package * Also make use of new build feature rules. * Since the hacky long_jump_buffer field has been removed from the jpeg_error_mgr struct in the new package, the structure is now wrapped in the JPEGTranslator code to achieve the same behavior.
|
#
546208a53940a26c6379c48a7854ade1a8250fc5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
03901b6caef292719d42a1f355e63bcf9d73ac06 |
|
26-Jan-2011 |
Jérôme Duval <korli@users.berlios.de> |
Applied patchs from Karvjorm (tickets #7118, #7128, #7137) with fixes by myself: Localizations for JPEG, BMP, ICO translators. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40298 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b98ef4f94b232d4ea6c4c7906a3d023d177af56a |
|
25-Apr-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Alex Wilson (yourpalal): Converting the JPEG Translator to using the same BaseTranslator framework as many other translators are already using and converting it to using layout management for the interface. Great work! Thanks a lot! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36465 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b91634cbeadb62faf309d8c825ba7be7c8a37833 |
|
16-Jan-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* extended the jpeg_error_mgr structure to hold the jmp_buf that we need in the critical error handler. In the high level function, the jmp_buf is now allocated on the stack and placed in the "cinfo->err" structure. This should make the mechanism thread-safe. Unfortunately, we don't use the original libjpeg anymore as is, but this seems to be frozen code since a few years anyways. If you have any better suggestions, please don't hesitate to mention them! :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23560 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dbc936ac13c9ec220e33e278cc2bb48fb741940b |
|
16-Jan-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* it was a really bad idea to invoke exit() on critical errors from an add-on that only loads bitmaps and is supposed to return a status_t error from the Translate() function, especially for people using this in mission critical applications. The requirements on the error handler that is to be installed for the jpeg library are not to return to the calling function for critical errors. C++ exceptions seem like the natural solution to the problem, but unfortunately, they simply don't seem to work, possibly because we are inside an add-on. Ingo had the idea to use setjmp() and longjmp() to go directly from the error handler back to the top level code and this works. I have implemented this from what I understand from reading the opengroup spec, but the compiler currently issues a warning. Feel free to fix. The desired effects are achieved though, the translator recovers correctly from broken jpg files now. Also, I don't know if the translator should somehow "uninstall" the breakpoint. Again, feel free to fix or tell me. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23559 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f13b5de61ef55cf942542088982492a4d1255d73 |
|
12-Apr-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* EXIF data is now also parsed in case there was no ioExtension message passed in; the orientation was only honoured in case there was a message before. * Disabled error alerts; they are more annoying than helpful. * Bumped version to 1.2.0. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20664 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d8e2fb507a66c3f3c9353303adf6059f0ea4be50 |
|
17-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Some cleanup: * fixed all warnings. * moved functions from the header into the source file. * added a TODO about the incorrect usage of BFont::Size() as font height in pixel!! * renamed some stuff to match our style guide a bit better - could need some more work here, it's still pretty messy. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15009 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
|