ObjFW  History of src/OFLocalization.m of ad2c53e367c797a8

History of file src/OFLocalization.m at check-in ad2c53e367c797a8

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

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

2018-05-13
19:24
platform.h: Rename OF_AMIGAOS3 to OF_AMIGAOS_M68K

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

2018-04-23
22:19
Use more native AmigaOS APIs on AmigaOS 3 file: [16040a43d0] check-in: [b16fc262c0] user: js, branch: trunk, size: 10506 [annotate] [blame] [check-ins using] [diff]
2018-04-22
17:48
Make ObjFW compile for AmigaOS 3 file: [72ae978ca9] check-in: [0b07c8fcfa] user: js, branch: trunk, size: 10461 [annotate] [blame] [check-ins using] [diff]
16:13
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. file: [ae5afaaea8] check-in: [fe2cbe0021] user: js, branch: trunk, size: 10403 [annotate] [blame] [check-ins using] [diff]

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

2017-06-04
18:48
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. file: [1e6c9574a4] check-in: [c9621825fc] user: js, branch: trunk, size: 8691 [annotate] [blame] [check-ins using] [diff]

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

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

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

Instead, lowercase it before looking it up.

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

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

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

06:26
Added: 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. file: [fbc5149bde] check-in: [06bcb21fc7] user: js, branch: trunk, size: 5034 [annotate] [blame] [check-ins using]