ObjFW  History of src/OFLocalization.m of 68b3d08ac1ebdc76

History of the file that is called src/OFLocalization.m at check-in 68b3d08ac1ebdc76

2018-07-28
18:45
Deleted: Rename OFLocalization -> OFLocale (check-in: [aa0384d1bf] user: js, branch: trunk, size: 0)
2018-05-26
14:49
[ec48586c81] part of check-in [b31bd48f90] Remove #define INTUITION_CLASSES_H hack

This has been fixed upstream in amiga-gcc. (check-in: [b31bd48f90] user: js, branch: trunk, size: 10448) [annotate] [blame] [check-ins using] [diff]

2018-05-13
19:24
[d4d11c9c0c] part of check-in [5831626f68] platform.h: Rename OF_AMIGAOS3 to OF_AMIGAOS_M68K

The reason for this is that, in theory, this also supports versions
older than 3. (check-in: [5831626f68] user: js, branch: trunk, size: 10510) [annotate] [blame] [check-ins using] [diff]

2018-04-23
22:19
[16040a43d0] part of check-in [b16fc262c0] Use more native AmigaOS APIs on AmigaOS 3 (check-in: [b16fc262c0] user: js, branch: trunk, size: 10506) [annotate] [blame] [check-ins using] [diff]
2018-04-22
17:48
[72ae978ca9] part of check-in [0b07c8fcfa] Make ObjFW compile for AmigaOS 3 (check-in: [0b07c8fcfa] user: js, branch: trunk, size: 10461) [annotate] [blame] [check-ins using] [diff]
16:13
[ae5afaaea8] part of check-in [fe2cbe0021] runtime: Define BOOL to be the same as bool

As we define the ABI, we can just replace BOOL with bool everywhere,
including in ObjFW itself. For the Apple platforms where BOOL and bool
are different, this is not a problem as BOOL and bool are passed and
returned the same way in the ABI.

This still defines BOOL to bool for compatibility, except on AmigaOS and
Wii, which both have its own BOOL type. (check-in: [fe2cbe0021] user: js, branch: trunk, size: 10403) [annotate] [blame] [check-ins using] [diff]

2018-04-15
17:41
[8b387494ee] part of check-in [eca1f56e3d] OFLocalization: Add support for AmigaOS 4 (check-in: [eca1f56e3d] user: js, branch: trunk, size: 10440) [annotate] [blame] [check-ins using] [diff]
14:50
[448b3a7501] part of check-in [5fcee684cb] OFLocalization: Fix setting the territory (check-in: [5fcee684cb] user: js, branch: 0.90, size: 8692) [annotate] [blame] [check-ins using] [diff]
14:49
[c0a1c16378] part of check-in [4dfd47aeaa] OFLocalization: Fix setting the territory (check-in: [4dfd47aeaa] user: js, branch: trunk, size: 9042) [annotate] [blame] [check-ins using] [diff]
2018-03-09
22:53
[50c7e0128e] part of check-in [defee30139] OFLocalization: Prevent calling -[init] twice (check-in: [defee30139] user: js, branch: trunk, size: 9041) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[961ffbf68a] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 8868) [annotate] [blame] [check-ins using] [diff]
2017-11-19
22:33
[6dc81e16f4] part of check-in [b62015c5b8] OFLocalization: Ignore missing language files (check-in: [b62015c5b8] user: js, branch: trunk, size: 8845) [annotate] [blame] [check-ins using] [diff]
2017-11-13
22:26
[857470cd08] part of check-in [209ea679c0] OFLocalization: Fix type mismatch (check-in: [209ea679c0] user: js, branch: trunk, size: 8709) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[e4a754b9ab] part of check-in [2f4e0df8be] Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (check-in: [2f4e0df8be] user: js, branch: trunk, size: 8705) [annotate] [blame] [check-ins using] [diff]

2017-06-04
18:48
[1e6c9574a4] part of check-in [c9621825fc] Treat MorphOS + ixemul as a separate platform

This reduces the ifdef hell and makes much more sense, as with ixemul,
no native calls are allowed. (check-in: [c9621825fc] user: js, branch: trunk, size: 8691) [annotate] [blame] [check-ins using] [diff]

01:30
[c0aec31b97] part of check-in [d974e769c5] OFLocalization: Add support for MorphOS + libnix (check-in: [d974e769c5] user: js, branch: trunk, size: 8776) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[39c2a63182] part of check-in [4af49a13c3] Small code style change

Casts are now written like types in variable declarations. (check-in: [4af49a13c3] user: js, branch: trunk, size: 6941) [annotate] [blame] [check-ins using] [diff]

2017-04-09
20:50
[306b376984] part of check-in [3d5b88d42e] Use LC_MESSAGES locale for messages (check-in: [3d5b88d42e] user: js, branch: trunk, size: 6926) [annotate] [blame] [check-ins using] [diff]
2017-03-12
23:40
[a996c854ff] part of check-in [1bf4f2e210] Fix compilation with --disable-files (check-in: [1bf4f2e210] user: js, branch: trunk, size: 6453) [annotate] [blame] [check-ins using] [diff]
01:06
[4d020bd421] part of check-in [58c2a71294] OFLocalization: Handle nil language / territory (check-in: [58c2a71294] user: js, branch: trunk, size: 6397) [annotate] [blame] [check-ins using] [diff]
01:00
[8a3ceeca0d] part of check-in [f14a6e94e4] Fix setting shared localization for NULL locale (check-in: [f14a6e94e4] user: js, branch: trunk, size: 6315) [annotate] [blame] [check-ins using] [diff]
2017-02-27
22:04
[b0fb42c722] part of check-in [0e82e3b843] OFLocalization: Don't lower language and territory

Instead, lowercase it before looking it up.

This allows getting the original values provided by setlocale(). (check-in: [0e82e3b843] user: js, branch: trunk, size: 6284) [annotate] [blame] [check-ins using] [diff]

2017-01-18
03:45
[0a1b003490] part of check-in [4c8d02cc0d] Move parsing of encoding names to a single place (check-in: [4c8d02cc0d] user: js, branch: trunk, size: 6457) [annotate] [blame] [check-ins using] [diff]
2017-01-17
03:23
[469e0664e7] part of check-in [7a27ce7b0b] Add ISO-8859-2 (check-in: [7a27ce7b0b] user: js, branch: trunk, size: 7501) [annotate] [blame] [check-ins using] [diff]
01:20
[e47e440130] part of check-in [238d47a1d6] Allow iso_8859-* spellings for encoding (check-in: [238d47a1d6] user: js, branch: trunk, size: 7329) [annotate] [blame] [check-ins using] [diff]
2017-01-16
03:28
[2eb0e472df] part of check-in [b240b71cec] OFLocalization: Accept a DOS codepage as well (check-in: [b240b71cec] user: js, branch: trunk, size: 7246) [annotate] [blame] [check-ins using] [diff]
2017-01-11
04:22
[9170e13ef8] part of check-in [0f88ccfb04] Add Windows-1251 encoding (check-in: [0f88ccfb04] user: js, branch: trunk, size: 6979) [annotate] [blame] [check-ins using] [diff]
2017-01-10
19:58
[5e507e5b86] part of check-in [0f2ed1e510] OFLocalization: Properly lowercase the language (check-in: [0f2ed1e510] user: js, branch: trunk, size: 6892) [annotate] [blame] [check-ins using] [diff]
19:39
[d001be40f2] part of check-in [e731dc4c75] Implement support for localized strings (check-in: [e731dc4c75] user: js, branch: trunk, size: 6883) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[ea48dae0ba] part of check-in [44f45c2e35] Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. (check-in: [44f45c2e35] user: js, branch: trunk, size: 5040) [annotate] [blame] [check-ins using] [diff]

06:26
Added: [fbc5149bde] part of check-in [06bcb21fc7] Add OFLocalization

This singleton gives access to all things locale, including the ability
to get localized strings.

This also adds the OF_LOCALIZED() macro. Its first argument is an ID for
the string to be localized and its second argument is the fallback
string to be used if it cannot retrieve the localized string. Following
that are variable name / value pairs to be replaced in the localized
string.

Getting translated strings is not implemented yet: Instead, it always
uses the fallback string.

This also switches ofhttp to localized strings. (check-in: [06bcb21fc7] user: js, branch: trunk, size: 5034) [annotate] [blame] [check-ins using]