ObjFW  All files named "src/OFFileIRIHandler.m"

History for src/OFFileIRIHandler.m

2024-04-21
11:16
Don't use _wutime64 on Windows

It seems to be buggy in some MinGW distributions and doesn't handle DST
correctly. file: [ae11241b71] check-in: [7eb995ad11] user: js, branch: trunk, size: 50113 [annotate] [blame] [check-ins using] [diff]

2024-04-16
23:50
Don't use readdir_r

readdir_r can easily lead to stack overflows if the path is longer than
the space reserved for d_name in dirent. While some OSes use a length of
MAXNAMLEN + 1, others use just 1. This could be worked around by always
allocating a buffer of sizeof(struct dirent) + MAXNAMLEN (which would
work only in case MAXNAMLEN is actually the longest readdir_r can
return), but is probably not worth the risk, especially as glibc has
entirely deprecated readdir_r and it is expected to be removed from
POSIX. file: [d9639e50f4] check-in: [c615b62ed8] user: js, branch: trunk, size: 50258 [annotate] [blame] [check-ins using] [diff]

2024-04-14
18:55
OFFileIRIHandler: Fix missing variable on Haiku file: [ef59c89349] check-in: [51dfaf9042] user: js, branch: trunk, size: 50568 [annotate] [blame] [check-ins using] [diff]
00:47
Remove unnecessary #include file: [f8ff31676a] check-in: [fa3529c18b] user: js, branch: trunk, size: 50509 [annotate] [blame] [check-ins using] [diff]
2024-04-08
00:21
Don't depend on EXTATTR_NAMESPACE_NAMES on NetBSD

NetBSD 9 doesn't have it. file: [0003c741c8] check-in: [e38777bbf2] user: js, branch: trunk, size: 50529 [annotate] [blame] [check-ins using] [diff]

2024-04-07
23:23
Add support for extended attributes on FreeBSD file: [cf4978d29a] check-in: [a19dde73d4] user: js, branch: trunk, size: 49996 [annotate] [blame] [check-ins using] [diff]
22:05
Add support for extended attributes on NetBSD file: [fa2705caf0] check-in: [153f39636e] user: js, branch: trunk, size: 49740 [annotate] [blame] [check-ins using] [diff]
2024-04-03
20:51
OFFileIRIHandler: Fix missing retain + autorelease file: [ac0201bdd3] check-in: [98e5c7dd28] user: js, branch: trunk, size: 45992 [annotate] [blame] [check-ins using] [diff]
17:50
Add support for typed extended attributes on Haiku file: [112ff9e77e] check-in: [c88d1d3054] user: js, branch: trunk, size: 45890 [annotate] [blame] [check-ins using] [diff]
02:34
Fix a typo file: [218769cb2b] check-in: [a653a058ce] user: js, branch: trunk, size: 45336 [annotate] [blame] [check-ins using] [diff]
02:16
Change license to LGPLv3 only file: [595af81463] check-in: [7413a728a7] user: js, branch: trunk, size: 45335 [annotate] [blame] [check-ins using] [diff]
01:10
Implement extended attributes on Haiku

Also disables hard links as those don't work on Haiku. file: [f57643608d] check-in: [6146e60fc5] user: js, branch: trunk, size: 45127 [annotate] [blame] [check-ins using] [diff]

2024-04-01
16:01
Define _LARGEFILE64_SOURCE to 1

Just defining it isn't enough on QNX, it needs to have a value. file: [b3f1e2319f] check-in: [fba60b6967] user: js, branch: trunk, size: 42034 [annotate] [blame] [check-ins using] [diff]

2024-03-29
13:59
OFFileManager: Fix getting non-existent xattr file: [5d5723dda2] check-in: [23cee06a0e] user: js, branch: 1.0, size: 41984 [annotate] [blame] [check-ins using] [diff]
2024-03-17
09:41
OFFileManager: Fix getting non-existent xattr file: [029e0b431e] check-in: [0fe644ef2c] user: js, branch: trunk, size: 42032 [annotate] [blame] [check-ins using] [diff]
08:56
OFFileManagerTests: Add more tests file: [75eba519f2] check-in: [150b8f07af] user: js, branch: trunk, size: 41910 [annotate] [blame] [check-ins using] [diff]
2024-03-03
23:34
OFFileIRIHandler: Correctly transform exception file: [7d64a7fa27] check-in: [b66e682fc6] user: js, branch: trunk, size: 41862 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [a48795d357] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 41622 [annotate] [blame] [check-ins using] [diff]
2023-10-24
21:12
Use GetModuleHandle where possible file: [ff186a2660] check-in: [84caa26d26] user: js, branch: trunk, size: 41622 [annotate] [blame] [check-ins using] [diff]
2023-08-28
18:57
OFFileIRIHandler: Fix undefined behavior file: [bf82260f3f] check-in: [77654f44d2] user: js, branch: trunk, size: 41613 [annotate] [blame] [check-ins using] [diff]
2023-08-22
15:19
-[fileExistsAtPath:]: Don't require S_ISREG file: [b18e6efaea] check-in: [140b7d93e3] user: js, branch: trunk, size: 41597 [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: [624183587b] check-in: [6d93db9f98] user: js, branch: trunk, size: 41675 [annotate] [blame] [check-ins using] [diff]

2023-04-24
22:04
Avoid redefinition of _LARGEFILE64_SOURCE file: [06f45f3b90] check-in: [0c471da638] user: js, branch: trunk, size: 40866 [annotate] [blame] [check-ins using] [diff]
2023-04-10
15:08
Work around newer amiga-gcc defining Class file: [67787a62da] check-in: [abbed5c008] user: js, branch: trunk, size: 40830 [annotate] [blame] [check-ins using] [diff]
2023-01-23
22:46
Support for extended attributes on macOS file: [bd2c9036f6] check-in: [1576930485] user: js, branch: trunk, size: 40786 [annotate] [blame] [check-ins using] [diff]
2023-01-22
23:01
Support for removing extended attributes on Linux file: [1c1ffcead0] check-in: [5a553951a5] user: js, branch: trunk, size: 39741 [annotate] [blame] [check-ins using] [diff]
22:43
Support for setting extended attributes on Linux file: [8c0c84267e] check-in: [a4c6c83384] user: js, branch: trunk, size: 39106 [annotate] [blame] [check-ins using] [diff]
21:48
Support for reading extended attributes on Linux file: [36e6332bf0] check-in: [565d2b3763] user: js, branch: trunk, size: 38403 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [a3dbfacaa2] check-in: [8939cbdb52] user: js, branch: trunk, size: 36620 [annotate] [blame] [check-ins using] [diff]
2022-12-24
22:04
OFFileIRIHandler: Translate EACCES on Windows

The _utime family of functions does not work on directories on Windows, in
which case it returns a rather surprising EACCES. Translate it to EISDIR,
which is more expected. file: [46b3e609f3] check-in: [ede0671032] user: js, branch: trunk, size: 36620 [annotate] [blame] [check-ins using] [diff]

2022-12-04
23:01
Include <syslimits.h> on DJGPP for PATH_MAX file: [07c4c6e7ac] check-in: [e76f2e482a] user: js, branch: trunk, size: 36400 [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
Renamed src/OFFileURIHandler.m → src/OFFileIRIHandler.m. Rename OFURI to OFIRI file: [b47c34a475] check-in: [23272e6d43] user: js, branch: trunk, size: 36353 [annotate] [blame] [check-ins using] [diff]