#
8c58c0c5 |
|
29-Mar-2023 |
Augustin Cavalier <waddlesplash@gmail.com> |
BaseTranslator: Use PreferredSize() not ExplicitPreferredSize() in resize. The former will use the explicit preferred size if one is set; otherwise, it will use the computed preferred size; whereas the latter will only use the explicitly set one, which if it has not been set, will just be an empty BRect. Fixes #15434, #18329.
|
#
2913b1db |
|
18-Nov-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Compilation fixes for x86_64.
|
#
114d9946 |
|
03-Nov-2012 |
Rene Gollent <anevilyak@gmail.com> |
Don't pollute global namespace with min/max defines. Fixes build on new gcc4 revision.
|
#
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.
|
#
aec33db1 |
|
27-Nov-2011 |
Philippe Saint-Pierre <stpere@gmail.com> |
Replace inappropriate usage of strncpy by strlcpy
|
#
3927bd3c |
|
26-Nov-2011 |
Philippe Saint-Pierre <stpere@gmail.com> |
Prevent string overflow by replacing usage of strcpy by strncpy CID 8951, CID 10733, CID 10734, CID 10735, CID 10736, CID 10737, CID 10738, CID 10739
|
#
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
|
#
0537120f |
|
10-Jul-2010 |
Rene Gollent <anevilyak@gmail.com> |
Fix broken BaseTranslator code that was 100% guaranteed to crash any app making use of Translators. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37464 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
87f030bc |
|
10-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Patch by Jorma Karvonnen : localize BaseTranslator. Thanks ! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37462 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a76f629e |
|
05-Mar-2010 |
Ryan Leavengood <leavengood@gmail.com> |
Apply patch from Maxime Simon to make several translators use the Layout API. There are a few small changes from myself, such as adding a copyright for Maxime in files with bigger changes. Also because this patch was so old I had to do some manual patching, and added back the title and description on the TGA and TIFF translators. I think this improves things a lot, though there is still some work to do to improve the consistency of the translator settings views. I think this mostly fixes #2117, though I may leave the ticket open until a few more things are resolved. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35769 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
73f41f49 |
|
19-Jan-2010 |
Karsten Heimrich <host.haiku@gmx.de> |
* Introduce a new method to ask the translator if it can handle the image output size, if not it will not show up in the dynamically generated translator list. Folow up on ticket #4874. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35186 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0147f45a |
|
16-Nov-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Simplified the code, style improvement (brackets for multi-line if/else). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28674 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
19e5578e |
|
03-Aug-2006 |
DarkWyrm <darkwyrm@gmail.com> |
License updates git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18365 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
|
#
dfb8c585 |
|
05-Feb-2005 |
Matthew Wilber <mwilber@nowhere.fake> |
Updated with new Translation Kit version macro names. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11257 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c36e6575 |
|
29-Feb-2004 |
Matthew Wilber <mwilber@nowhere.fake> |
moved translate_direct_copy function from PNGTranslator to BaseTranslator git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6841 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
82418612 |
|
29-Feb-2004 |
Matthew Wilber <mwilber@nowhere.fake> |
improved magic number variable names git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6832 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c56079fb |
|
29-Feb-2004 |
Matthew Wilber <mwilber@nowhere.fake> |
Initial checking for shared translator code. Many of the translators share many lines of the same code. This code helps eliminate duplicate code, and should help the process of making translators easier git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6817 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2913b1dbd264f80e37d485f0dc40f5dcf63c14b2 |
|
18-Nov-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Compilation fixes for x86_64.
|
#
114d994682cc424f40892b11cc567f9f47a3a0be |
|
03-Nov-2012 |
Rene Gollent <anevilyak@gmail.com> |
Don't pollute global namespace with min/max defines. Fixes build on new gcc4 revision.
|
#
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.
|
#
aec33db178d1475aedf4ee37f385d4c85ed721a3 |
|
27-Nov-2011 |
Philippe Saint-Pierre <stpere@gmail.com> |
Replace inappropriate usage of strncpy by strlcpy
|
#
3927bd3c0d16367eef862660f7b7a5309b66a5a1 |
|
26-Nov-2011 |
Philippe Saint-Pierre <stpere@gmail.com> |
Prevent string overflow by replacing usage of strcpy by strncpy CID 8951, CID 10733, CID 10734, CID 10735, CID 10736, CID 10737, CID 10738, CID 10739
|
#
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
|
#
0537120f121f4c86021934580a23effb77982cbd |
|
10-Jul-2010 |
Rene Gollent <anevilyak@gmail.com> |
Fix broken BaseTranslator code that was 100% guaranteed to crash any app making use of Translators. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37464 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
87f030bc81b276703b25491b383c854c053a269f |
|
10-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Patch by Jorma Karvonnen : localize BaseTranslator. Thanks ! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37462 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a76f629efad0ba4d6518d918a39dbcc6097fe536 |
|
05-Mar-2010 |
Ryan Leavengood <leavengood@gmail.com> |
Apply patch from Maxime Simon to make several translators use the Layout API. There are a few small changes from myself, such as adding a copyright for Maxime in files with bigger changes. Also because this patch was so old I had to do some manual patching, and added back the title and description on the TGA and TIFF translators. I think this improves things a lot, though there is still some work to do to improve the consistency of the translator settings views. I think this mostly fixes #2117, though I may leave the ticket open until a few more things are resolved. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35769 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
73f41f49ecfa4f9bd7051bb5c6f764f65e6f5dcf |
|
19-Jan-2010 |
Karsten Heimrich <host.haiku@gmx.de> |
* Introduce a new method to ask the translator if it can handle the image output size, if not it will not show up in the dynamically generated translator list. Folow up on ticket #4874. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35186 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0147f45ad7c3380df90bc710cd4e3d32ddf3ec17 |
|
16-Nov-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Simplified the code, style improvement (brackets for multi-line if/else). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28674 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
19e5578effc583f701a8a42acdbd1a8349b20d92 |
|
03-Aug-2006 |
DarkWyrm <darkwyrm@gmail.com> |
License updates git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18365 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
|
#
dfb8c585c62977839ef1b23d60b197227de81231 |
|
05-Feb-2005 |
Matthew Wilber <mwilber@nowhere.fake> |
Updated with new Translation Kit version macro names. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11257 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c36e6575c84a11c223d165aff227885f2e92d8e1 |
|
29-Feb-2004 |
Matthew Wilber <mwilber@nowhere.fake> |
moved translate_direct_copy function from PNGTranslator to BaseTranslator git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6841 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8241861213ec0ae1e375b156152218fb5cdfcaa7 |
|
29-Feb-2004 |
Matthew Wilber <mwilber@nowhere.fake> |
improved magic number variable names git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6832 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c56079fb2280536dcae1e0f481f127a78a9acb83 |
|
29-Feb-2004 |
Matthew Wilber <mwilber@nowhere.fake> |
Initial checking for shared translator code. Many of the translators share many lines of the same code. This code helps eliminate duplicate code, and should help the process of making translators easier git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6817 a95241bf-73f2-0310-859d-f6bbb57e9c96
|