#
caf3ea90 |
|
28-Sep-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
Remove unnecessary SetExplicitPreferredSize from translators using layouts.
|
#
5f61e00a |
|
12-Feb-2022 |
Dale Cieslak <dcieslak@yahoo.com> |
Add-Ons/Translators: Set About text for JPEG & JPEG2000 to B_PANEL_TEXT_COLOR The body text on the About tabs for the JPEG & JPEG2000 translators are BTextViews and so the default fg color is B_DOCUMENT_TEXT_COLOR. This patch forces them to use B_PANEL_TEXT_COLOR to match the rest of the panel. As a side note, trying to set the fg color in every translator via SetHighUIColor seems to have no effect and they seem to all default to using B_PANEL_TEXT_COLOR already (aside from the BTextViews in this commit). Fixes #15941 Change-Id: Ia97dcce082d7f1666c61a8d5ecefa3bcd5845b96 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4960 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
c7eabc40 |
|
13-May-2018 |
Murai Takashi <tmurai01@gmail.com> |
JPEGTranslator: Replace strncpy() with strlcpy() Replace strncpy() with strlcpy(), since destination size equals maximum number of characters to copy. Pointed by gcc8 [-Werror=stringop-truncation]. Change-Id: I3e2a98802ddb379890aefaf8c3f0efb1cd347188
|
#
863a6388 |
|
10-Jul-2016 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
JPEG translator: fix warnings and enable Werror Using setjmp and modifying local variables in the same function is not allowed. Fixes #12653.
|
#
f0650dc9 |
|
09-Dec-2015 |
looncraz <looncraz@looncraz.net> |
preferences: Convert to using Set*UIColor. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Patches 0023-0037 from looncraz, unmodified.
|
#
3292b902 |
|
02-May-2015 |
Humdinger <humdingerb@gmail.com> |
Unify version output ("v" vs "Version", sentence casing.
|
#
d9c440a5 |
|
24-Apr-2015 |
Janus <janus2@ymail.com> |
DataTranslations: use layout, standard format. * Fix jpeg, jpeg2000. * Partialy fixes #11999.
|
#
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.
|
#
bb4537c8 |
|
12-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
JPEGTranslator: fixes a 64 bit warning
|
#
7d48219b |
|
10-Jan-2012 |
Hannah Boneß <hannah@animux.de> |
Update layout building code in translators update layout builder code to new api in: * src/add-ons/translators/raw * src/add-ons/translators/exr * src/add-ons/translators/hvif * src/add-ons/translators/tga * src/add-ons/translators/webp * src/add-ons/translators/gif * src/add-ons/translators/sgi * src/add-ons/translators/tiff * src/add-ons/translators/jpeg * src/add-ons/translators/jpeg2000 * src/add-ons/translators/ppm Signed-off-by: Alex Wilson <yourpalal2@gmail.com>
|
#
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.
|
#
1da233a7 |
|
19-Feb-2011 |
Siarzhuk Zharski <zharik@gmx.li> |
Yet another localization fix in Data Translators. Partialy fixes #7129. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40577 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2e49ff35 |
|
19-Feb-2011 |
Siarzhuk Zharski <zharik@gmx.li> |
Fixing localization of JPEG and JPEG2000 translation add-ons. Partially fixing #7229. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40565 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
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
|
#
bf243977 |
|
18-Jan-2011 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Made local variables actually local. Both JPEGTranslator and JPEG200Translator were "exporting" gSettings symbol, which when loaded within a app (like Paladin) exporting the same global symbol was leading to a symbol resolution error. See #7114 for details. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40245 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7b5743ba |
|
27-Oct-2010 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
JPEG translator was reporting uninitialized input and output formats. That explain why a empty menu after JPEG Image was visible in any menu populated by BtranslationUtils::AddTranslationItems(, B_TRANSLATOR_BITMAP, ...), as seen for instance in Screenshot "Save As". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39159 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
|
#
7fd58091 |
|
26-Jan-2010 |
Jérôme Duval <korli@users.berlios.de> |
* updated libjpeg to version 8, as the previous version on trunk didn't look like version 7, the merge wasn't usable. I modified jpeglib.h to have the JPEGTranslator built. * added libjpeg to AboutSystem * JPEGTranslator now uses the shared library libjpeg.so git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35312 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fcc3e627 |
|
13-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdiner: Changed strings in add-ons to sentence case. This is case-add-ons.diff from #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35046 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ceeeb99a |
|
06-Aug-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
further cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32167 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c212b8f6 |
|
28-Jul-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Applied patch by richy_rich which removes BAlerts from jpeg and jpeg2000 translators. Fixes bug #3044 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31873 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b20d13f4 |
|
28-Jul-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
The JPEG translator config view was using its own layouting code, and its own version of a BTabView. This worked correctly on beos, but since it hardcoded some things, didn't look correct on haiku (due to the new look). I just removed the layouting code, and adapted the rest to fit well. This fixed the weird white line which was showing up. Note that the jpeg2000 translator needs to be fixed in the same way. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31871 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c095606e |
|
03-Nov-2008 |
Ryan Leavengood <leavengood@gmail.com> |
Fixed #3043, which was listed as a ShowImage bug but really was a bug in several translators which used the incorrect MIME type for the base Be Bitmap Format. Please when adding translators use image/x-be-bitmap, not just x-be-bitmap. Though I suppose the if statement in ShowImage could be changed to only look for x-be-bitmap at the end of the string when filtering, I think this is the proper fix. While I was editing the translators I also made the naming more consistant by adding the translator name in parenthesis after Be Bitmap Format for those that did not have it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28487 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
|
#
51623681 |
|
01-Jul-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed two crashing bugs I introduced in JPEG compression code in r20635. * Also broke big endian 32 to 24 bit conversion. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21539 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
|
#
9e34f742 |
|
10-Apr-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Now honours the orientation as specified in the EXIF tags; not very well tested, so it might happen that some rotations don't come out as expected... * This orientation can be overridden with a special "exif:orientation" setting passed via the ioExtension message. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20635 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52e8f46a |
|
10-Apr-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Now also saves the EXIF data in the supplied message in Translate() (decompress only, you cannot add EXIF data yet). * Preparations to honour the orientation of JPEG images stored in the EXIF tags. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20633 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
117da2d7 |
|
28-Oct-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Applied the changes I made to the JPEG translator to the JPEG2000 translator as well. * Further cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19141 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f9810471 |
|
29-Oct-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed build for GCC4, thanks to Ioan Molnar for the hint. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19138 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8687ff64 |
|
28-Oct-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* The tab view now uses the native look. * Big code cleanup. * The same changes has to be applied to the JPEG2000 translator... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19136 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
109d4881 |
|
27-Apr-2006 |
Stephan Aßmus <superstippi@gmx.de> |
changed translator name to JPEG[2000] Images to be in line with all the other image translators git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17252 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c016311b |
|
29-Dec-2005 |
Axel Dörfler <axeld@pinc-software.de> |
No longer annoys the user if there was no settings file (it asked to configure the settings in that case...). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15728 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
|
#
758b1d0e |
|
12-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixes that make Haiku build with gcc 4. Mainly out of the following categories: * Missing includes (like <stdlib.h> and <string.h>). * Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so. * Local variables shadowing parameters. * Default parameters in function definitions (as opposed to function declarations). * All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported explicitly from the std:: namespace now. * "new (sometype)[...]" must read "new sometype[...]", even if sometype is something like "const char *". * __FUNCTION__ is no longer a string literal (but a string expression), i.e. 'printf(__FUNCTION__ ": ...\n")' is invalid code. * A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes" is an invalid expression. * "friend class SomeClass" only works when SomeClass is known before. Otherwise the an inner class with that name is considered as friend. gcc 4 is much pickier about scopes. * gcc 4 is generally stricter with respect to type conversions in C. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 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
|
#
3292b90274c44e1485bdb127e31bbbcf80938a6a |
|
02-May-2015 |
Humdinger <humdingerb@gmail.com> |
Unify version output ("v" vs "Version", sentence casing.
|
#
d9c440a536ed06bdcb5ece683cd86be2c250c72b |
|
24-Apr-2015 |
Janus <janus2@ymail.com> |
DataTranslations: use layout, standard format. * Fix jpeg, jpeg2000. * Partialy fixes #11999.
|
#
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.
|
#
bb4537c8412181c830e790cf9498c4b4441f617a |
|
12-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
JPEGTranslator: fixes a 64 bit warning
|
#
7d48219b470e22b5147f0ae9adc8ee2049c981d3 |
|
10-Jan-2012 |
Hannah Boneß <hannah@animux.de> |
Update layout building code in translators update layout builder code to new api in: * src/add-ons/translators/raw * src/add-ons/translators/exr * src/add-ons/translators/hvif * src/add-ons/translators/tga * src/add-ons/translators/webp * src/add-ons/translators/gif * src/add-ons/translators/sgi * src/add-ons/translators/tiff * src/add-ons/translators/jpeg * src/add-ons/translators/jpeg2000 * src/add-ons/translators/ppm Signed-off-by: Alex Wilson <yourpalal2@gmail.com>
|
#
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.
|
#
1da233a71fe159b71ce7437b9acb5252adff4754 |
|
19-Feb-2011 |
Siarzhuk Zharski <zharik@gmx.li> |
Yet another localization fix in Data Translators. Partialy fixes #7129. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40577 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2e49ff35c518cb55348afb16521ab879696ec43b |
|
19-Feb-2011 |
Siarzhuk Zharski <zharik@gmx.li> |
Fixing localization of JPEG and JPEG2000 translation add-ons. Partially fixing #7229. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40565 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
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
|
#
bf243977ffd34197ad7c0820c2da5d21abea0402 |
|
18-Jan-2011 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Made local variables actually local. Both JPEGTranslator and JPEG200Translator were "exporting" gSettings symbol, which when loaded within a app (like Paladin) exporting the same global symbol was leading to a symbol resolution error. See #7114 for details. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40245 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7b5743bab44153eb9c94750234991a6cefbdd280 |
|
27-Oct-2010 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
JPEG translator was reporting uninitialized input and output formats. That explain why a empty menu after JPEG Image was visible in any menu populated by BtranslationUtils::AddTranslationItems(, B_TRANSLATOR_BITMAP, ...), as seen for instance in Screenshot "Save As". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39159 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
|
#
7fd580914a683b887b592cd7b052b963897354a9 |
|
26-Jan-2010 |
Jérôme Duval <korli@users.berlios.de> |
* updated libjpeg to version 8, as the previous version on trunk didn't look like version 7, the merge wasn't usable. I modified jpeglib.h to have the JPEGTranslator built. * added libjpeg to AboutSystem * JPEGTranslator now uses the shared library libjpeg.so git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35312 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fcc3e627e1aedc4075deb952c66068d542fe9abe |
|
13-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdiner: Changed strings in add-ons to sentence case. This is case-add-ons.diff from #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35046 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ceeeb99a7e520778ab803ea79ded31a999521cf7 |
|
06-Aug-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
further cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32167 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c212b8f649238f9e9b477216695b7a6a715ec9ca |
|
28-Jul-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Applied patch by richy_rich which removes BAlerts from jpeg and jpeg2000 translators. Fixes bug #3044 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31873 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b20d13f4a6298db963fb27771abb5748089aa07d |
|
28-Jul-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
The JPEG translator config view was using its own layouting code, and its own version of a BTabView. This worked correctly on beos, but since it hardcoded some things, didn't look correct on haiku (due to the new look). I just removed the layouting code, and adapted the rest to fit well. This fixed the weird white line which was showing up. Note that the jpeg2000 translator needs to be fixed in the same way. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31871 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c095606e75fe3c978e4749fd2ee5738a44c9af16 |
|
03-Nov-2008 |
Ryan Leavengood <leavengood@gmail.com> |
Fixed #3043, which was listed as a ShowImage bug but really was a bug in several translators which used the incorrect MIME type for the base Be Bitmap Format. Please when adding translators use image/x-be-bitmap, not just x-be-bitmap. Though I suppose the if statement in ShowImage could be changed to only look for x-be-bitmap at the end of the string when filtering, I think this is the proper fix. While I was editing the translators I also made the naming more consistant by adding the translator name in parenthesis after Be Bitmap Format for those that did not have it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28487 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
|
#
516236818d2b26b0322878d19c0401e1c1226ad5 |
|
01-Jul-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed two crashing bugs I introduced in JPEG compression code in r20635. * Also broke big endian 32 to 24 bit conversion. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21539 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
|
#
9e34f742aecbf7a375a3b44615dae73e678bc9ab |
|
10-Apr-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Now honours the orientation as specified in the EXIF tags; not very well tested, so it might happen that some rotations don't come out as expected... * This orientation can be overridden with a special "exif:orientation" setting passed via the ioExtension message. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20635 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52e8f46af75c2340b2bd3324c880f88cf2532022 |
|
10-Apr-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Now also saves the EXIF data in the supplied message in Translate() (decompress only, you cannot add EXIF data yet). * Preparations to honour the orientation of JPEG images stored in the EXIF tags. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20633 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
117da2d75f3b92fc1ac4b008012a4374fc2918bf |
|
28-Oct-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Applied the changes I made to the JPEG translator to the JPEG2000 translator as well. * Further cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19141 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f9810471965050ddc1afcb23fb4f72931f2f9ca7 |
|
29-Oct-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed build for GCC4, thanks to Ioan Molnar for the hint. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19138 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8687ff64ab50153bc6b591c7ebf509b726397cb9 |
|
28-Oct-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* The tab view now uses the native look. * Big code cleanup. * The same changes has to be applied to the JPEG2000 translator... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19136 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
109d4881b5a17a781b613b365dc8689467e0c4ee |
|
27-Apr-2006 |
Stephan Aßmus <superstippi@gmx.de> |
changed translator name to JPEG[2000] Images to be in line with all the other image translators git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17252 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c016311bca0ebf4aca5b152384bc2505e9c402f8 |
|
29-Dec-2005 |
Axel Dörfler <axeld@pinc-software.de> |
No longer annoys the user if there was no settings file (it asked to configure the settings in that case...). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15728 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
|
#
758b1d0e05fe1042cce6e00d194a147802d4f9be |
|
12-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixes that make Haiku build with gcc 4. Mainly out of the following categories: * Missing includes (like <stdlib.h> and <string.h>). * Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so. * Local variables shadowing parameters. * Default parameters in function definitions (as opposed to function declarations). * All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported explicitly from the std:: namespace now. * "new (sometype)[...]" must read "new sometype[...]", even if sometype is something like "const char *". * __FUNCTION__ is no longer a string literal (but a string expression), i.e. 'printf(__FUNCTION__ ": ...\n")' is invalid code. * A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes" is an invalid expression. * "friend class SomeClass" only works when SomeClass is known before. Otherwise the an inner class with that name is considered as friend. gcc 4 is much pickier about scopes. * gcc 4 is generally stricter with respect to type conversions in C. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 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
|