ObjFW  History of src/OFOptionsParser.m of bd2d723910df5ff3

History of file src/OFOptionsParser.m at check-in bd2d723910df5ff3

2024-04-03
02:16
Change license to LGPLv3 only file: [62d916df57] check-in: [7413a728a7] user: js, branch: trunk, size: 6473 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [e6b89648b2] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 6265 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [814583f5b6] check-in: [8939cbdb52] user: js, branch: trunk, size: 6265 [annotate] [blame] [check-ins using] [diff]
2022-08-30
00:48
OFObject: Small API change file: [c0426ac296] check-in: [4ad0c363f3] user: js, branch: trunk, size: 6265 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [6586be74a2] check-in: [1a86b8175b] user: js, branch: trunk, size: 6265 [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
Rename of_(re)alloc and add OFFreeMemory file: [4490adcde3] check-in: [498074dab9] user: js, branch: new-naming-convention, size: 6265 [annotate] [blame] [check-ins using] [diff]
14:21
of_map_table_functions_t -> OFMapTableFunctions file: [28d558d0f8] check-in: [943d9bd388] user: js, branch: new-naming-convention, size: 6252 [annotate] [blame] [check-ins using] [diff]
14:13
Always prefix functions with the type file: [ca8fd292f0] check-in: [eb0cfa6ff9] user: js, branch: new-naming-convention, size: 6262 [annotate] [blame] [check-ins using] [diff]
05:22
Rename of_options_parser_option_t file: [f1ad10653b] check-in: [91daa42649] user: js, branch: new-naming-convention, size: 6262 [annotate] [blame] [check-ins using] [diff]
01:32
of_unichar_t -> OFUnichar file: [80d23d5595] check-in: [2d3790870d] user: js, branch: new-naming-convention, size: 6297 [annotate] [blame] [check-ins using] [diff]
01:24
OF_NOT_FOUND -> OFNotFound file: [e9379b5360] check-in: [83dc0fe6e5] user: js, branch: new-naming-convention, size: 6300 [annotate] [blame] [check-ins using] [diff]
00:44
of_range_t -> OFRange file: [d1f92a8ca3] check-in: [d975c53a43] user: js, branch: new-naming-convention, size: 6302 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [9cfc874f7b] check-in: [374e1a1bfa] user: js, branch: trunk, size: 6296 [annotate] [blame] [check-ins using] [diff]
2020-11-29
06:11
OFOptionsParser: Fix wrong deallocation order file: [f95cee8e97] check-in: [36d7c17c98] user: js, branch: trunk, size: 6385 [annotate] [blame] [check-ins using] [diff]
2020-11-14
12:23
Rename of_malloc and of_calloc

The new names should be more accurate. file: [a5d08e3dd3] check-in: [627511b032] user: js, branch: trunk, size: 6393 [annotate] [blame] [check-ins using] [diff]

2020-11-05
02:27
Further reduce usage of -[allocMemoryWithSize:] file: [93ab00cf42] check-in: [da1fb6b21c] user: js, branch: trunk, size: 6394 [annotate] [blame] [check-ins using] [diff]
2020-11-01
11:35
OFString: Add -[substring{From,To}Index:] file: [194fc0cb2f] check-in: [4bbac7ab17] user: js, branch: trunk, size: 6412 [annotate] [blame] [check-ins using] [diff]
2020-10-10
14:27
OFObject: Change type of -[hash] to unsigned long

The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. file: [a777f53d6b] check-in: [aeb403a1ed] user: js, branch: trunk, size: 6537 [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
Update copyright file: [91dcfe7c0f] check-in: [c7f0229795] user: js, branch: trunk, size: 6532 [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
Use dot syntax file: [6af56770b0] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 6529 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [dbad6653d1] check-in: [0509d7a844] user: js, branch: trunk, size: 6545 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [0344a8c118] check-in: [7e5c81e186] user: js, branch: trunk, size: 6539 [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: [652b61f6f7] check-in: [2f4e0df8be] user: js, branch: trunk, size: 6516 [annotate] [blame] [check-ins using] [diff]

2017-09-28
23:02
Enable -Wnullable-to-nonnull-conversion and adjust file: [77a19bfe68] check-in: [2de9660312] user: js, branch: trunk, size: 6551 [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: [f1e270d342] check-in: [4af49a13c3] user: js, branch: trunk, size: 6488 [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: [03713bc866] check-in: [44f45c2e35] user: js, branch: trunk, size: 6482 [annotate] [blame] [check-ins using] [diff]

2016-06-04
18:49
OFMapTable: Rename valueForKey to objectForKey

The reason for this is that -[valueForKey:] could be confused with
Key Value Coding. file: [69cbd54c95] check-in: [1ba9c051a6] user: js, branch: trunk, size: 6476 [annotate] [blame] [check-ins using] [diff]

2016-02-28
16:08
OFOptionsParser: Make sure _options is terminated file: [917ac12657] check-in: [1808782994] user: js, branch: trunk, size: 6464 [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
Update copyright

While at it, also update the mail address. file: [cd91c0e4ec] check-in: [cec0f072f8] user: js, branch: 0.8, size: 2707 [annotate] [blame] [check-ins using] [diff]

00:41
Update copyright

While at it, also update the mail address. file: [1f9ec9effe] check-in: [2a27cf3000] user: js, branch: trunk, size: 6408 [annotate] [blame] [check-ins using] [diff]

2015-12-05
21:03
OFOptionsParser: Fix *isSpecifiedPtr not being set

It was not set for short options without arguments. file: [260ac6832a] check-in: [aa89a3c059] user: js, branch: trunk, size: 6404 [annotate] [blame] [check-ins using] [diff]

2015-12-03
20:56
OFOptionsParser: Fix a nil vs. NULL mishap file: [5e085ceea7] check-in: [13e226f9c8] user: js, branch: trunk, size: 6323 [annotate] [blame] [check-ins using] [diff]
2015-11-29
19:00
OFOptionsParser: Fix missing nil check file: [aa2c46db93] check-in: [2c0ca29a9c] user: js, branch: trunk, size: 6322 [annotate] [blame] [check-ins using] [diff]
11:43
Make properties a requirement and clean up code

This increases the required GCC version from 4.0 to 4.6 (exception:
Apple GCC, which already supports this with >= 4.0 starting with OS X
10.5). Since even GCC 4.6 is really old by now, there is no point in
still supporting something even older and making the code ugly because
of that. While some hardware and OS support was dropped from GCC 4.6
compared to GCC 4.0, there is nothing in there that would be an
interesting target with the exception of BeOS maybe - but a port to BeOS
can also be achieved using the Haiku support. The other dropped OSes are
mostly old versions of OSes while newer ones are still being supported
(and those newer versions of those OSes still support the same
hardware). file: [a330fd8ef3] check-in: [48980f2297] user: js, branch: trunk, size: 6233 [annotate] [blame] [check-ins using] [diff]

2015-11-28
19:47
Minor documentation improvements file: [b5a7737ef1] check-in: [650b4be224] user: js, branch: trunk, size: 6301 [annotate] [blame] [check-ins using] [diff]
18:56
OFOptionsParser: Reworked API

The new API allows long options and requires less manual parsing. file: [fbe9ab7d4c] check-in: [bfa913aebe] user: js, branch: trunk, size: 6304 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [3c15f89aa9] check-in: [cfd374b906] user: js, branch: trunk, size: 2703 [annotate] [blame] [check-ins using] [diff]
2014-06-21
21:43
Move all macros from OFObject.h to macros.h

This means that OFObject.h imports macros.h now, making it unnecessary
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. file: [b40bf8527b] check-in: [13ee56edf3] user: js, branch: trunk, size: 2697 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [400eee9b4e] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 2741 [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:12
Add OF_INVALID_INIT_METHOD. file: [b0427c629b] check-in: [35dafd5c57] user: js, branch: trunk, size: 2735 [annotate] [blame] [check-ins using] [diff]
2013-11-09
19:22
Added: Add OFOptionsParser. file: [aa4007b981] check-in: [4521cb6dbc] user: js, branch: trunk, size: 2844 [annotate] [blame] [check-ins using]