History log of /haiku/src/kits/textencoding/character_sets.cpp
Revision Date Author Comments
# 1f8d9272 13-Apr-2013 Siarzhuk Zharski <zharik@gmx.li>

Make Windows-1250 encoding consistent with other

In sake of consistency with other Windows CP encodings:
* print_name is expanded to "Windows Central European (CP 1250)";
* B_MS_WINDOWS_1250_CONVERSION id looks like should be added into UTF8.h;
* mime_name set to NULL as other windows codepages have. That prevents
at least from duplicating too much 1250's in the Terminal, Mail and
StyledEdit encodings menus.


# 5b4fb267 09-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

textencoding: add CP-1250 encoding


# 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.


# d38ae623 22-Dec-2011 Aleksas Pantechovskis <alexp.frl@gmail.com>

Textencoding Kit localization support added.

* Textencoding Kit now uses localized names of available encodings;
* Default encoding for composing new messages in Mail application is now
configurable through localization feature. Fixes #8147.
* This contribution was made as part of GCI 2011 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# f6e4cbb9 15-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class
definitions).
* Minor cleanup here and there.


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


# 4ea89ce5 17-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

Looks like Be and Andrew mixed up UCS-2 and UTF-16; I added the UTF-16 conversion as well
now (which has a marker at the beginning of the file, unlike UCS-2).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19843 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


# e25788aa 11-Nov-2004 shatty <shatty@nowhere.fake>

add mail kit aliases: shift_jisx0213, euc-jisx0213


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


# f3479d99 08-Nov-2004 shatty <shatty@nowhere.fake>

add mail kit aliases


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


# 2f28cee0 06-Nov-2004 shatty <shatty@nowhere.fake>

add more aliases


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


# ea35f801 23-Oct-2004 shatty <shatty@nowhere.fake>

improved printing names


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


# 0cccf9ac 23-Oct-2004 shatty <shatty@nowhere.fake>

fix mimetype bugs in some ISO encodings, clean up print names for japanese encodings, and change the JIS 0208 encoding to ISO-2022-JP


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


# 2f4a64db 18-Jul-2004 shatty <shatty@nowhere.fake>

reduce namespace pollution


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


# aa19d245 29-Dec-2003 shatty <shatty@nowhere.fake>

MOVED:
---------------------------------------------------------------------------
RCS file: /cvsroot/open-beos/current/src/kits/support/character_sets.cpp,v
Working file: character_sets.cpp
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
----------------------------
revision 1.4
date: 2003/08/13 05:38:07; author: shatty; state: Exp; lines: +9 -0
refine the error handling behavior. note: we depart from the bebook specification for returning B_ERROR when no characters are converted. we do this in exactly one situation: when there are no bytes in the input. this behavior is the behavior given by the R5 libs themselves. not having this behavior caused an error in our stylededit as well. stylededit has been fixed to not exercise this functionality. also added in the two most popular chinese encodings for my own evil purposes. GB18030 support is required to legally sell an operating system in mainland china as well. GB18030 support encompasses GBK and GB2312, additionally.
----------------------------
revision 1.3
date: 2003/07/31 04:56:56; author: shatty; state: Exp; lines: +4 -6
fixed the 14th encoding, which is not FIXED japanese but rather JIS0208, yay!
----------------------------
revision 1.2
date: 2003/07/27 00:58:01; author: shatty; state: Exp; lines: +105 -370
added all the remaining R5 text encodings
----------------------------
revision 1.1
date: 2003/07/26 21:27:13; author: shatty; state: Exp;
initialize global character set array


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


# 1f8d9272512962516f02f5b13d368f6fda130032 13-Apr-2013 Siarzhuk Zharski <zharik@gmx.li>

Make Windows-1250 encoding consistent with other

In sake of consistency with other Windows CP encodings:
* print_name is expanded to "Windows Central European (CP 1250)";
* B_MS_WINDOWS_1250_CONVERSION id looks like should be added into UTF8.h;
* mime_name set to NULL as other windows codepages have. That prevents
at least from duplicating too much 1250's in the Terminal, Mail and
StyledEdit encodings menus.


# 5b4fb267ad682310816044be16427b98c5d7beda 09-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

textencoding: add CP-1250 encoding


# 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.


# d38ae623c3de51cc9c094bd72c43066a92750427 22-Dec-2011 Aleksas Pantechovskis <alexp.frl@gmail.com>

Textencoding Kit localization support added.

* Textencoding Kit now uses localized names of available encodings;
* Default encoding for composing new messages in Mail application is now
configurable through localization feature. Fixes #8147.
* This contribution was made as part of GCI 2011 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>


# f6e4cbb95290a74b33d012600438b84742b0e572 15-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class
definitions).
* Minor cleanup here and there.


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


# 4ea89ce5c83a08bfdd579f4ec14e8979cfc2266c 17-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

Looks like Be and Andrew mixed up UCS-2 and UTF-16; I added the UTF-16 conversion as well
now (which has a marker at the beginning of the file, unlike UCS-2).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19843 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


# e25788aa41f01e6070494a9f78dd985004260dcc 11-Nov-2004 shatty <shatty@nowhere.fake>

add mail kit aliases: shift_jisx0213, euc-jisx0213


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


# f3479d994e54df43ddef549909fed72ba7d12b73 08-Nov-2004 shatty <shatty@nowhere.fake>

add mail kit aliases


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


# 2f28cee0ca621463ea70134d69cac0f28556f232 06-Nov-2004 shatty <shatty@nowhere.fake>

add more aliases


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


# ea35f801c4a0f4e15febed63d8b7a5228340995a 23-Oct-2004 shatty <shatty@nowhere.fake>

improved printing names


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


# 0cccf9ac6d73bae5474180124db515ce97dc10e3 23-Oct-2004 shatty <shatty@nowhere.fake>

fix mimetype bugs in some ISO encodings, clean up print names for japanese encodings, and change the JIS 0208 encoding to ISO-2022-JP


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


# 2f4a64dbc02fa7e76a2108bee6db586a7c258132 18-Jul-2004 shatty <shatty@nowhere.fake>

reduce namespace pollution


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


# aa19d24552724640b67c09422331ebcb882b0717 29-Dec-2003 shatty <shatty@nowhere.fake>

MOVED:
---------------------------------------------------------------------------
RCS file: /cvsroot/open-beos/current/src/kits/support/character_sets.cpp,v
Working file: character_sets.cpp
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
----------------------------
revision 1.4
date: 2003/08/13 05:38:07; author: shatty; state: Exp; lines: +9 -0
refine the error handling behavior. note: we depart from the bebook specification for returning B_ERROR when no characters are converted. we do this in exactly one situation: when there are no bytes in the input. this behavior is the behavior given by the R5 libs themselves. not having this behavior caused an error in our stylededit as well. stylededit has been fixed to not exercise this functionality. also added in the two most popular chinese encodings for my own evil purposes. GB18030 support is required to legally sell an operating system in mainland china as well. GB18030 support encompasses GBK and GB2312, additionally.
----------------------------
revision 1.3
date: 2003/07/31 04:56:56; author: shatty; state: Exp; lines: +4 -6
fixed the 14th encoding, which is not FIXED japanese but rather JIS0208, yay!
----------------------------
revision 1.2
date: 2003/07/27 00:58:01; author: shatty; state: Exp; lines: +105 -370
added all the remaining R5 text encodings
----------------------------
revision 1.1
date: 2003/07/26 21:27:13; author: shatty; state: Exp;
initialize global character set array


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