ObjFW  History of src/OFFileManager.m of 86f8767eca8d0fb9

History of file src/OFFileManager.m at check-in 86f8767eca8d0fb9

2024-04-03
17:50
Add support for typed extended attributes on Haiku file: [fee3c0b404] check-in: [c88d1d3054] user: js, branch: trunk, size: 28333 [annotate] [blame] [check-ins using] [diff]
02:16
Change license to LGPLv3 only file: [48b993c33e] check-in: [7413a728a7] user: js, branch: trunk, size: 26885 [annotate] [blame] [check-ins using] [diff]
2024-03-10
16:49
Avoid some unnecessary I/O file: [1db2f56a17] check-in: [6060a03291] user: js, branch: trunk, size: 26677 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [0ef3517469] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 26182 [annotate] [blame] [check-ins using] [diff]
2023-08-28
19:03
OFFileManager: More autorelease pools file: [c1beae22c2] check-in: [d97bba05d2] user: js, branch: trunk, size: 26182 [annotate] [blame] [check-ins using] [diff]
2023-08-09
09:08
Add OF_SINGLETON_METHODS file: [34c9baec0c] check-in: [36310f6263] user: js, branch: trunk, size: 26000 [annotate] [blame] [check-ins using] [diff]
2023-07-15
16:12
Add support for GNU/Hurd

Hurd does not have PATH_MAX, so different APIs need to be used on Hurd. file: [c425786752] check-in: [6d93db9f98] user: js, branch: trunk, size: 26147 [annotate] [blame] [check-ins using] [diff]

2023-04-10
15:08
Work around newer amiga-gcc defining Class file: [b37b88e7db] check-in: [abbed5c008] user: js, branch: trunk, size: 25826 [annotate] [blame] [check-ins using] [diff]
2023-01-22
23:01
Support for removing extended attributes on Linux file: [b8c51c0d24] check-in: [5a553951a5] user: js, branch: trunk, size: 25782 [annotate] [blame] [check-ins using] [diff]
22:43
Support for setting extended attributes on Linux file: [b17fc97839] check-in: [a4c6c83384] user: js, branch: trunk, size: 25071 [annotate] [blame] [check-ins using] [diff]
21:56
Add missing #import to make GCC happy file: [5adb6092f8] check-in: [260c9acb96] user: js, branch: trunk, size: 24208 [annotate] [blame] [check-ins using] [diff]
21:48
Support for reading extended attributes on Linux file: [50ee140785] check-in: [565d2b3763] user: js, branch: trunk, size: 24189 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [64aa04c00e] check-in: [8939cbdb52] user: js, branch: trunk, size: 23288 [annotate] [blame] [check-ins using] [diff]
2022-12-04
23:01
Include <syslimits.h> on DJGPP for PATH_MAX file: [a02af7999a] check-in: [e76f2e482a] user: js, branch: trunk, size: 23288 [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
Rename OFURI to OFIRI file: [8e0e4b6a5f] check-in: [23272e6d43] user: js, branch: trunk, size: 23241 [annotate] [blame] [check-ins using] [diff]
2022-10-19
20:03
OFOnce: Add OF_ASSUME_NONNULL_* file: [5dfeac045a] check-in: [08c3161bde] user: js, branch: trunk, size: 23241 [annotate] [blame] [check-ins using] [diff]
2022-09-28
21:40
Rename OFUR{L -> I} in preparation for URI support file: [f5483886a4] check-in: [e7ab06503c] user: js, branch: trunk, size: 23240 [annotate] [blame] [check-ins using] [diff]
2022-09-25
14:03
OFChangeCurrentDirectory{Path ->}FailedException file: [2c5d56a419] check-in: [b83abbf019] user: js, branch: trunk, size: 23240 [annotate] [blame] [check-ins using] [diff]
14:00
OF{Retrieve -> Get}ItemAttributesFailedException file: [f4ba9689b3] check-in: [78032c89cb] user: js, branch: trunk, size: 23252 [annotate] [blame] [check-ins using] [diff]
13:06
OFGetCurrentDirectory{Path -> }FailedException file: [f7f7b80076] check-in: [4d1eba5829] user: js, branch: trunk, size: 23262 [annotate] [blame] [check-ins using] [diff]
2022-08-11
20:54
OFURLHandler: Add +[openItemAtURL:mode:] file: [dd95d5c2a1] check-in: [338d452f33] user: js, branch: trunk, size: 23270 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [8b48822fc3] check-in: [1a86b8175b] user: js, branch: trunk, size: 23325 [annotate] [blame] [check-ins using] [diff]
2022-01-29
19:24
Make ObjFW compile for MiNT file: [48c2f532a7] check-in: [8d027eadf3] user: js, branch: trunk, size: 23325 [annotate] [blame] [check-ins using] [diff]
2021-07-04
16:29
Fix symlink handling in subpathsOfDirectoryAtPath: file: [d2360d47e0] check-in: [ae44655c61] user: js, branch: trunk, size: 23273 [annotate] [blame] [check-ins using] [diff]
2021-07-03
13:56
Add -[OFFileManager subpathsOfDirectoryAtPath:] file: [452b87ebf4] check-in: [6985da09c8] user: js, branch: trunk, size: 23188 [annotate] [blame] [check-ins using] [diff]
2021-05-13
15:31
Move OFFileManager constants to a separate file

This allows including them from the Amiga linklib in the future. file: [49153fced5] check-in: [2bdf205dfd] user: js, branch: trunk, size: 22437 [annotate] [blame] [check-ins using] [diff]

2021-05-09
14:45
Merge trunk into branch "amiga-library"

All necessary changes to adjust for the changes made in trunk are
included in the merge commit. file: [4897ac9203] check-in: [3c88df0ce4] user: js, branch: amiga-library, size: 22436 [annotate] [blame] [check-ins using] [diff]

2021-04-29
23:42
Add OFFileTypeUnknown file: [de0d7b0760] check-in: [a7157045f1] user: js, branch: trunk, size: 23884 [annotate] [blame] [check-ins using] [diff]
2021-04-18
21:12
OF_RETAIN_COUNT_MAX -> OFMaxRetainCount file: [d0ff19a328] check-in: [b06b86d6f9] user: js, branch: new-naming-convention, size: 23816 [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
Rename of_(re)alloc and add OFFreeMemory file: [ebda9fe36c] check-in: [498074dab9] user: js, branch: new-naming-convention, size: 23819 [annotate] [blame] [check-ins using] [diff]
05:16
Rename all types in OFFileManager.h file: [abf911c67b] check-in: [c7bdb196d4] user: js, branch: new-naming-convention, size: 23806 [annotate] [blame] [check-ins using] [diff]
2021-04-04
18:46
Change -[contentsOfURLAtPath:] to return URLs

Returning strings is confusing for many as Foundation returns URLs here,
and URLs are often easier to work with during directory enumeration
anyway (no need to constantly append the current item to the base path). file: [89ccc3daf1] check-in: [9135c5fcb8] user: js, branch: trunk, size: 24481 [annotate] [blame] [check-ins using] [diff]

2021-03-07
20:25
*.m: Fold methods into one line where it fits file: [6804846ccf] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 24377 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:06
Update copyright file: [6e650b26ed] check-in: [27b401c7c2] user: js, branch: amiga-library, size: 22638 [annotate] [blame] [check-ins using] [diff]
22:04
Update copyright file: [638373cb3e] check-in: [374e1a1bfa] user: js, branch: trunk, size: 24445 [annotate] [blame] [check-ins using] [diff]
2020-11-14
12:28
Merge trunk into branch "amiga-library" file: [a8ce608fba] check-in: [a55863c2ed] user: js, branch: amiga-library, size: 22727 [annotate] [blame] [check-ins using] [diff]
12:23
Rename of_malloc and of_calloc

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

11:45
Merge trunk into branch "amiga-library" file: [22b7dac443] check-in: [25a6c00b82] user: js, branch: amiga-library, size: 22728 [annotate] [blame] [check-ins using] [diff]
2020-11-04
23:18
Remove of_free()

While it makes sense to wrap malloc and calloc to replace the error
checking with exceptions, it does not make sense to wrap free. file: [50c6f8c9c9] check-in: [3d8286feee] user: js, branch: trunk, size: 24535 [annotate] [blame] [check-ins using] [diff]

2020-10-25
23:33
Add of_{malloc,calloc,realloc,free} file: [356e95e601] check-in: [d0ae3bfd6c] user: js, branch: trunk, size: 24538 [annotate] [blame] [check-ins using] [diff]
2020-10-04
15:00
Merge trunk into branch "amiga-library" file: [f7e8bc7e28] check-in: [92335940e9] user: js, branch: amiga-library, size: 22817 [annotate] [blame] [check-ins using] [diff]
2020-08-25
00:11
OFNumber: Remove (u)int{8,16,32,64} methods

Since C guarantees minimum sizes for char, short, int, long and long
long, these can be used instead. file: [d64d08867d] check-in: [25c985fec1] user: js, branch: trunk, size: 24624 [annotate] [blame] [check-ins using] [diff]

2020-08-12
20:56
Avoid using (u)intmax_t in methods

It is not guaranteed that a type encoding for it exists. file: [942505065c] check-in: [d74f244ab7] user: js, branch: trunk, size: 24591 [annotate] [blame] [check-ins using] [diff]

2020-06-20
23:16
Add all public constants to linklib file: [4ed45d9cf1] check-in: [547e079e08] user: js, branch: amiga-library, size: 22766 [annotate] [blame] [check-ins using] [diff]
2020-05-17
14:08
Add support for non-Unicode Windows in all classes file: [c5306f3b5d] check-in: [494acfb3e0] user: js, branch: trunk, size: 24573 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [6f997251ad] check-in: [c7f0229795] user: js, branch: trunk, size: 24379 [annotate] [blame] [check-ins using] [diff]
2019-09-29
19:35
Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. file: [1b86de4488] check-in: [496695d778] user: js, branch: trunk, size: 24376 [annotate] [blame] [check-ins using] [diff]

2019-08-22
09:48
OFFileManager: Improved dir creation in sandbox file: [5c4544e132] check-in: [9d23c7e1f9] user: js, branch: trunk, size: 24349 [annotate] [blame] [check-ins using] [diff]
2019-08-10
02:06
Clean up the AmigaOS 4 library mess file: [cce81bf147] check-in: [3292a6fdbc] user: js, branch: trunk, size: 23355 [annotate] [blame] [check-ins using] [diff]
2019-06-17
02:33
Remove underscores from class names file: [fd1d5c75f5] check-in: [17d57e01ff] user: js, branch: trunk, size: 24058 [annotate] [blame] [check-ins using] [diff]
2019-04-21
09:58
Fix compilation on AmigaOS 4 with 53.30 SDK file: [3d2ebfc062] check-in: [50a6ffd4b1] user: js, branch: trunk, size: 24061 [annotate] [blame] [check-ins using] [diff]
2019-04-15
21:10
Use GetFileAttributesExW() instead of _wstat64()

Unlike _wstat64(), GetFileAttributesExW() works on drives. file: [05c7194aa4] check-in: [2339bc3407] user: js, branch: trunk, size: 23995 [annotate] [blame] [check-ins using] [diff]

2019-04-14
16:35
OFFileManager: Only open dos.library if HAVE_FILES file: [88398e5090] check-in: [40589ab9d4] user: js, branch: trunk, size: 23765 [annotate] [blame] [check-ins using] [diff]
2019-04-11
00:34
Make OFFileManager available with --disable-files

As OFFileManager also works with remote URLs, it makes sense to also
make it available when local files are disabled. In this case, all
path-based methods are unavailable. file: [8f91c19e94] check-in: [c52f38388c] user: js, branch: trunk, size: 23763 [annotate] [blame] [check-ins using] [diff]

2019-04-07
23:15
Adjust createDirectoryAtURL: to new path handling file: [5e553d195f] check-in: [e076f9c2ad] user: js, branch: trunk, size: 19797 [annotate] [blame] [check-ins using] [diff]
19:30
Improve -[OFURL pathComponents] file: [f668bb35ed] check-in: [b1d795b650] user: js, branch: trunk, size: 19939 [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
Use dot syntax file: [a70bd77335] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 19941 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [fd1f20d425] check-in: [0509d7a844] user: js, branch: trunk, size: 19975 [annotate] [blame] [check-ins using] [diff]
2018-11-04
17:51
ofarc: Use OFSandbox's new unveiling file: [1b81151f42] check-in: [dec64f3a50] user: js, branch: trunk, size: 19969 [annotate] [blame] [check-ins using] [diff]
2018-10-21
18:54
OFURLHandler: Do not depend on OFFileManager

This fixes --disable-files. file: [cedacc51c1] check-in: [ad3fc136ba] user: js, branch: trunk, size: 19363 [annotate] [blame] [check-ins using] [diff]

2018-08-25
18:58
OFFileManager: Make sure the FS is initialized file: [9bd4d12514] check-in: [698a1b8b13] user: js, branch: trunk, size: 22785 [annotate] [blame] [check-ins using] [diff]
2018-08-17
01:17
AmigaOS 4: Do not use libauto

libauto loads the libraries too late. file: [e01277d683] check-in: [d71abc5366] user: js, branch: trunk, size: 22647 [annotate] [blame] [check-ins using] [diff]

2018-08-16
22:33
Fix compilation for AmigaOS 4 file: [197757a9e0] check-in: [7413f500db] user: js, branch: trunk, size: 21946 [annotate] [blame] [check-ins using] [diff]
2018-07-28
18:45
Rename OFLocalization -> OFLocale file: [b0943bb0f4] check-in: [aa0384d1bf] user: js, branch: trunk, size: 21922 [annotate] [blame] [check-ins using] [diff]
2018-05-26
14:49
Remove #define INTUITION_CLASSES_H hack

This has been fixed upstream in amiga-gcc. file: [bcca1cec46] check-in: [b31bd48f90] user: js, branch: trunk, size: 21952 [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: [bdbcbaf8ab] check-in: [5831626f68] user: js, branch: trunk, size: 22014 [annotate] [blame] [check-ins using] [diff]

2018-04-24
00:06
Fix compilation for PSP file: [61a3729f18] check-in: [ae0899ef7c] user: js, branch: trunk, size: 22010 [annotate] [blame] [check-ins using] [diff]
2018-04-23
22:19
Use more native AmigaOS APIs on AmigaOS 3 file: [6bf29cf1ec] check-in: [b16fc262c0] user: js, branch: trunk, size: 21989 [annotate] [blame] [check-ins using] [diff]
2018-04-22
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: [96795739ab] check-in: [fe2cbe0021] user: js, branch: trunk, size: 21906 [annotate] [blame] [check-ins using] [diff]

2018-03-11
11:27
OFFileManager: fileURLWithPath: to convert to URL file: [74a0735e38] check-in: [711592a1c3] user: js, branch: trunk, size: 21943 [annotate] [blame] [check-ins using] [diff]
2018-02-17
00:38
Include <sys/syslimits.h> for PATH_MAX on PSP file: [65d0521303] check-in: [d67e97a311] user: js, branch: trunk, size: 22265 [annotate] [blame] [check-ins using] [diff]
00:30
Include <limits.h> when using PATH_MAX file: [59fa94222b] check-in: [a99399b1b5] user: js, branch: trunk, size: 22215 [annotate] [blame] [check-ins using] [diff]
2018-02-11
15:12
Fix DJGPP's getcwd() returning forward slashes file: [85bf245254] check-in: [86b1caa4d2] user: js, branch: trunk, size: 22195 [annotate] [blame] [check-ins using] [diff]
14:33
Add exception for currentDirectoryPath failing

This also changes OFFileManager to use a buffer with getcwd() rather
than depending on the extension that passing NULL as a buffer will
allocate one. file: [06ca9c602c] check-in: [d133fa0a89] user: js, branch: trunk, size: 21951 [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
Update copyright notice file: [cd0c9b6190] check-in: [7e5c81e186] user: js, branch: trunk, size: 21859 [annotate] [blame] [check-ins using] [diff]
2017-12-30
19:12
OFFileManager: Don't use OF_KINDOF

No methods other than the ones specified in OFURLHandler are used.
Using OF_KINDOF makes this id with GCC, so that GCC then is confused
which methods was meant. file: [69e30357fb] check-in: [f71d8c57e2] user: js, branch: trunk, size: 21836 [annotate] [blame] [check-ins using] [diff]

2017-12-29
21:33
OFURLHandler: Add methods for copy and move

Also refactor OFFileManager to make use of them. file: [d68d8af1f6] check-in: [c8defc67ad] user: js, branch: trunk, size: 21968 [annotate] [blame] [check-ins using] [diff]

16:00
OFFileManager: Refactor -[copyItemAtURL:toURL:]

Rather than just working for file URLs, this works with any URL now. file: [d50176e0c3] check-in: [b4835ea9b7] user: js, branch: trunk, size: 22793 [annotate] [blame] [check-ins using] [diff]

2017-11-13
01:18
Add OFURLHandler file: [bc7b129bce] check-in: [31e602a476] user: js, branch: trunk, size: 22719 [annotate] [blame] [check-ins using] [diff]
2017-11-12
21:42
OFFileManager: Symlinks take a destination path file: [344a7c8de0] check-in: [9db4db82ed] user: js, branch: trunk, size: 41705 [annotate] [blame] [check-ins using] [diff]
19:00
OFFileManager: Make all URL methods available

Methods dealing with URLs should not be unavailable just because the
local file system / operating system does not support them. file: [b1663cc4e4] check-in: [08fd4dc3bf] user: js, branch: trunk, size: 41969 [annotate] [blame] [check-ins using] [diff]

18:27
OFFileManager: Major API redesign

This removes all query methods and replaces them by a single one that
returns a dictionary. Not only does this allow querying multiple
attributes at once, it is also more extensible, as the previous
attributes were specific to file URLs. file: [4d18813037] check-in: [34fe205b84] user: js, branch: trunk, size: 41692 [annotate] [blame] [check-ins using] [diff]

2017-11-11
22:28
Make the default OFFileManager a singleton file: [8a6c87da20] check-in: [9a60a5adfc] user: js, branch: trunk, size: 37247 [annotate] [blame] [check-ins using] [diff]
2017-10-29
01:41
OFFileManager: Add URL versions of all methods file: [a4a8182fdb] check-in: [dd467ddb20] user: js, branch: trunk, size: 36970 [annotate] [blame] [check-ins using] [diff]
00:41
Fix conversion between URL and path on Win32

This also adds -[OFURL fileSystemRepresentation] to correctly convert a
URL back to a path in the local file system. file: [c6f7e83a5a] check-in: [b83d1414b1] user: js, branch: trunk, size: 31457 [annotate] [blame] [check-ins using] [diff]

2017-10-28
23:52
OFURL: Return a proper URL for +[fileURLWithPath:] file: [d45420d7bb] check-in: [8aa7f964bc] user: js, branch: trunk, size: 31368 [annotate] [blame] [check-ins using] [diff]
21:26
OFFileManager: Add -[currentDirectoryURL] file: [63200da91b] check-in: [9713afbd6d] user: js, branch: trunk, size: 31223 [annotate] [blame] [check-ins using] [diff]
2017-08-06
22:21
Add -[OFFileManager getUID:GID:ofItemAtPath:] file: [6c0ff405f2] check-in: [639dd9c244] user: js, branch: trunk, size: 30889 [annotate] [blame] [check-ins using] [diff]
2017-08-05
21:50
OFFileManager: s/\(modification\)Time/\1Date/ file: [bd75067227] check-in: [9c3423636f] user: js, branch: trunk, size: 30643 [annotate] [blame] [check-ins using] [diff]
2017-08-03
19:17
OFFileManager: Set errno to 0 before readdir()

glibc documents this as being required, as does POSIX. However, none of
the BSDs document this, and don't seem to require it. file: [f7096a9a7b] check-in: [e8005a3cc2] user: js, branch: 0.90, size: 30643 [annotate] [blame] [check-ins using] [diff]

2017-07-22
23:04
OFFile: Simplify mode

This removes "b" for binary and always uses binary, as there is no good
reason to not use binary. file: [7bb3d63d81] check-in: [23e57c5040] user: js, branch: trunk, size: 30629 [annotate] [blame] [check-ins using] [diff]

2017-06-11
18:16
Fix compilation on Windows file: [0f38891013] check-in: [82bd082de3] user: js, branch: trunk, size: 30631 [annotate] [blame] [check-ins using] [diff]
03:01
OFFileManager: Use native AmigaDOS APIs on MorphOS

This removes the last uses of the libnix wrappers from OFFileManager. file: [41cdb732b4] check-in: [769145b2a9] user: js, branch: trunk, size: 30585 [annotate] [blame] [check-ins using] [diff]

2017-06-10
22:54
OFFileManager: Fix wrong exception file: [5c318ce949] check-in: [ffcd588fc4] user: js, branch: trunk, size: 29058 [annotate] [blame] [check-ins using] [diff]
22:20
OFFileManager: More use of native APIs on MorphOS

This uses native AmigaDOS APIs for listing directory contents. file: [0288fa6217] check-in: [749855ed2b] user: js, branch: trunk, size: 29058 [annotate] [blame] [check-ins using] [diff]

21:08
OFFileManager: More use of native APIs on MorphOS

This uses native AmigaDOS APIs for directory-related operations. file: [1dffeceb89] check-in: [f119b9dc07] user: js, branch: trunk, size: 27990 [annotate] [blame] [check-ins using] [diff]

2017-06-05
21:57
OFFileManager: Don't use stat() on MorphOS file: [36a1dbfadd] check-in: [289f2b1272] user: js, branch: trunk, size: 25941 [annotate] [blame] [check-ins using] [diff]
17:36
Clean up exceptions a little

This removes several initializers that omitted the errNo. Removing those
forces to think about whether there is a meaningful errNo to set instead
of just omitting it. file: [2b969b9f4d] check-in: [4f36894ce7] user: js, branch: trunk, size: 25351 [annotate] [blame] [check-ins using] [diff]

2017-06-03
14:37
OFFileManager: Mask modes to ensure safe modes file: [ce2f7bd650] check-in: [4175b93242] user: js, branch: trunk, size: 25192 [annotate] [blame] [check-ins using] [diff]
12:46
Make of_(l)stat() private to OFFileManager

Everything else should just use OFFileManager. file: [4b4f8f0aeb] check-in: [4ebeb7e3a2] user: js, branch: trunk, size: 25470 [annotate] [blame] [check-ins using] [diff]

2017-05-27
10:33
Add unistd.h wrapper to make things less horrible file: [6281bc6839] check-in: [d31ec806ef] user: js, branch: trunk, size: 25234 [annotate] [blame] [check-ins using] [diff]
10:08
Make things work with glibc 2.17 and Clang 3.4.2 file: [a094a79fd3] check-in: [ec36a82d68] user: js, branch: trunk, size: 25398 [annotate] [blame] [check-ins using] [diff]
2017-05-22
23:31
Make includes of unistd.h and fcntl.h conditional file: [6850bf008a] check-in: [1287e77e04] user: js, branch: trunk, size: 25255 [annotate] [blame] [check-ins using] [diff]
2017-05-21
19:40
OFFileManager: Fix wrong #else file: [54d3223c13] check-in: [a2711b2a01] user: js, branch: trunk, size: 25197 [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: [f4973b705b] check-in: [4af49a13c3] user: js, branch: trunk, size: 25177 [annotate] [blame] [check-ins using] [diff]

2017-01-16
02:23
OFFileManager: Use EINVAL instead of ENOTSUP

ENOTSUP is for sockets. file: [6f389e5f28] check-in: [fc7f20ff34] user: js, branch: trunk, size: 25134 [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: [acaffe06a7] check-in: [44f45c2e35] user: js, branch: trunk, size: 25135 [annotate] [blame] [check-ins using] [diff]

06:26
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: [c2a222bc22] check-in: [06bcb21fc7] user: js, branch: trunk, size: 25129 [annotate] [blame] [check-ins using] [diff]

2016-07-04
21:40
-[destinationOfSymbolicLinkAtPath:] for Windows file: [bdb65f91bc] check-in: [7341924ced] user: js, branch: trunk, size: 25265 [annotate] [blame] [check-ins using] [diff]
20:30
Implement -[symbolicLinkExistsAtPath:] for Windows file: [065a5a9bcd] check-in: [0b886dd56d] user: js, branch: trunk, size: 23848 [annotate] [blame] [check-ins using] [diff]
2016-07-03
22:40
Add support for hardlinks and symlinks on Windows file: [d13c205905] check-in: [768b31dede] user: js, branch: trunk, size: 23528 [annotate] [blame] [check-ins using] [diff]
18:22
OFFileManager: Replace remove with unlink / rmdir

remove() is supposed to delete both, files and directories, but
unfortunately, on Windows it only works for files. Since there is an if
on the type anyway, use unlink() / rmdir() instead. file: [828aa0d8f5] check-in: [c52e685523] user: js, branch: trunk, size: 21990 [annotate] [blame] [check-ins using] [diff]

2016-04-24
16:58
OFFileManager: Fix nil that should be NULL file: [3f6812e137] check-in: [7c2b71f536] user: js, branch: trunk, size: 21722 [annotate] [blame] [check-ins using] [diff]
14:22
OFFileManager: Add methods to get owner and mode file: [75d768d86f] check-in: [fdffe0a0e7] user: js, branch: trunk, size: 21720 [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:41
Update copyright

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

2015-11-29
14:02
Make use of fast enumeration

Now that we require GCC >= 4.6 anyway, there's no more reason to not use
it anymore. file: [a3021efc2a] check-in: [6b13727ce0] user: js, branch: trunk, size: 20985 [annotate] [blame] [check-ins using] [diff]

2015-10-19
22:15
Add platform.h & make platform defines consistent file: [737527b063] check-in: [1ba08eebc5] user: js, branch: trunk, size: 21437 [annotate] [blame] [check-ins using] [diff]
2015-08-22
10:57
Added: Move file management to its own class

This makes it possible to add support for delegates for file management
operations and on top makes it easier to add support for file management
operations on URLs. file: [7e257a10c2] check-in: [f3c452dfef] user: js, branch: trunk, size: 21377 [annotate] [blame] [check-ins using]