ObjFW  History of src/OFLocalization.h of 4642bc76b0985955

History of file src/OFLocalization.h at check-in 4642bc76b0985955

2018-07-28
18:45
Deleted: Rename OFLocalization -> OFLocale check-in: [aa0384d1bf] user: js, branch: trunk, size: 0
2018-01-03
19:49
Update copyright notice file: [0370df8ba7] check-in: [7e5c81e186] user: js, branch: trunk, size: 6849 [annotate] [blame] [check-ins using] [diff]
2017-11-18
18:50
Documentation: Use @brief for all properties file: [496ae36266] check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 6826 [annotate] [blame] [check-ins using] [diff]
17:45
Fix several Doxygen warnings file: [34aaf42873] check-in: [31e6b7ce9c] user: js, branch: trunk, size: 6798 [annotate] [blame] [check-ins using] [diff]
2017-11-04
20:54
Backport more nullability fixes file: [68b2b646cf] check-in: [903530213a] user: js, branch: 0.90, size: 6104 [annotate] [blame] [check-ins using] [diff]
2017-10-30
00:23
Add class properties where appropriate

This improves Swift compatibility. file: [049d31c9e7] check-in: [a2e849c681] user: js, branch: trunk, size: 6533 [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: [d21618db7e] check-in: [2f4e0df8be] user: js, branch: trunk, size: 6100 [annotate] [blame] [check-ins using] [diff]

2017-09-26
22:01
Many nullability fixes file: [03b54489d7] check-in: [319709fff1] user: js, branch: 0.90, size: 6086 [annotate] [blame] [check-ins using] [diff]
21:53
Many nullability fixes file: [03379b10b1] check-in: [52011fbfd6] user: js, branch: trunk, size: 6086 [annotate] [blame] [check-ins using] [diff]
2017-09-10
22:32
Add OFInvocation

Only support for storing an invocation, no support for invoking yet. file: [2ce88aec39] check-in: [d6553b4578] user: js, branch: trunk, size: 6076 [annotate] [blame] [check-ins using] [diff]

2017-05-13
16:29
Also use nonatomic for non-object properties file: [f635a4f99c] check-in: [f663d40cbd] user: js, branch: trunk, size: 6076 [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: [368d40b91d] check-in: [4af49a13c3] user: js, branch: trunk, size: 6065 [annotate] [blame] [check-ins using] [diff]

2017-04-30
13:35
Use nonatomic for properties and clean up

This changes retaining behavior, meaning properties are not returned
retained and autoreleased anymore, so a property returned from a getter
now needs to be manually retained and autoreleased before calling the
setter. However, this is rarely the case and not using atomic improves
performance. file: [5268bd2a18] check-in: [0a73af49f0] user: js, branch: trunk, size: 6041 [annotate] [blame] [check-ins using] [diff]

2017-04-09
20:50
Use LC_MESSAGES locale for messages file: [93f8b830ad] check-in: [3d5b88d42e] user: js, branch: trunk, size: 6026 [annotate] [blame] [check-ins using] [diff]
2017-03-12
23:40
Fix compilation with --disable-files file: [9465b8ba1c] check-in: [1bf4f2e210] user: js, branch: trunk, size: 6109 [annotate] [blame] [check-ins using] [diff]
2017-01-10
19:39
Implement support for localized strings file: [e9be33b3dd] check-in: [e731dc4c75] user: js, branch: trunk, size: 6053 [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: [93e52fa91a] check-in: [44f45c2e35] user: js, branch: trunk, size: 5495 [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: [1add140a90] check-in: [06bcb21fc7] user: js, branch: trunk, size: 5489 [annotate] [blame] [check-ins using]