ObjFW  Check-in [0a73af49f0]

Overview
Comment: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.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0a73af49f08c162d8b82121c79a6dd34caa504c206c8a0426c220ea80f5f455b
User & Date: js on 2017-04-30 13:35:16
Other Links: manifest | tags
Context
2017-05-01
11:52
OFMutableString_UTF8: Fix several bugs check-in: 80fbe5a1e2 user: js tags: trunk
2017-04-30
13:35
Use nonatomic for properties and clean up check-in: 0a73af49f0 user: js tags: trunk
2017-04-15
00:08
runtime/exception.m: Move #include <windows.h> check-in: ca2f806df3 user: js tags: trunk
Changes

Modified configure.ac from [2835276aa7] to [7302d431a0].

171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
AC_MSG_CHECKING(whether Objective C compiler supports properties)
AC_TRY_COMPILE([
	@interface Foo
	{
		id bar;
	}

	@property (retain, nonatomic) id bar;
	@end
], [
	Foo *foo = (id)0;
	[foo setBar: (id)0];
	foo = [foo bar];
], [
	AC_MSG_RESULT(yes)







|







171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
AC_MSG_CHECKING(whether Objective C compiler supports properties)
AC_TRY_COMPILE([
	@interface Foo
	{
		id bar;
	}

	@property (nonatomic, retain) id bar;
	@end
], [
	Foo *foo = (id)0;
	[foo setBar: (id)0];
	foo = [foo bar];
], [
	AC_MSG_RESULT(yes)

Modified src/OFApplication.h from [2f26626383] to [ce51a82a57].

132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
	void (*_SIGUSR2Handler)(id, SEL);
#endif
}

/*!
 * The name of the program (argv[0]).
 */
@property (readonly, assign) OFString *programName;

/*!
 * The arguments passed to the application.
 */
@property (readonly, assign) OFArray OF_GENERIC(OFString*) *arguments;

/*!
 * The environment of the application.
 */
@property (readonly, assign)
    OFDictionary OF_GENERIC(OFString*, OFString*) *environment;

/*!
 * @brief Returns the only OFApplication instance in the application.
 *
 * @return The only OFApplication instance in the application
 */







|




|




|







132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
	void (*_SIGUSR2Handler)(id, SEL);
#endif
}

/*!
 * The name of the program (argv[0]).
 */
@property (readonly, nonatomic) OFString *programName;

/*!
 * The arguments passed to the application.
 */
@property (readonly, nonatomic) OFArray OF_GENERIC(OFString*) *arguments;

/*!
 * The environment of the application.
 */
@property (readonly, nonatomic)
    OFDictionary OF_GENERIC(OFString*, OFString*) *environment;

/*!
 * @brief Returns the only OFApplication instance in the application.
 *
 * @return The only OFApplication instance in the application
 */

Modified src/OFHMAC.h from [978ea49e23] to [60c34cd9f4].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	Class <OFCryptoHash> _hashClass;
	id <OFCryptoHash> _outerHash, _innerHash;
	id <OFCryptoHash> _outerHashCopy, _innerHashCopy;
	bool _calculated;
}

/*! The class for the cryptographic hash used by the HMAC. */
@property (assign, readonly) Class <OFCryptoHash> hashClass;

/*!
 * @brief Returns a new OFHMAC with the specified hashing algorithm.
 *
 * @param hashClass The class of the hashing algorithm
 * @return A new, autoreleased OFHMAC
 */







|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	Class <OFCryptoHash> _hashClass;
	id <OFCryptoHash> _outerHash, _innerHash;
	id <OFCryptoHash> _outerHashCopy, _innerHashCopy;
	bool _calculated;
}

/*! The class for the cryptographic hash used by the HMAC. */
@property (readonly, nonatomic) Class <OFCryptoHash> hashClass;

/*!
 * @brief Returns a new OFHMAC with the specified hashing algorithm.
 *
 * @param hashClass The class of the hashing algorithm
 * @return A new, autoreleased OFHMAC
 */

Modified src/OFHTTPCookie.h from [8c06c4fb06] to [4d41b6f478].

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73

74
75
76
77
78
79
80
81
	bool _secure, _HTTPOnly;
	OFMutableArray OF_GENERIC(OFString*) *_extensions;
}

/*!
 * The name of the cookie.
 */
@property (copy) OFString *name;

/*!
 * The value of the cookie.
 */
@property (copy) OFString *value;

/*!
 * The date when the cookie expires.
 */
@property (copy) OFDate *expires;

/*!
 * The domain for the cookie.
 */
@property (copy) OFString *domain;

/*!
 * The path for the cookie.
 */
@property (copy) OFString *path;

/*!
 * Whether the cookie is only to be used with HTTPS.
 */
@property (getter=isSecure) bool secure;

/*!
 * Whether the cookie is only to be accessed through HTTP.
 */
@property (getter=isHTTPOnly) bool HTTPOnly;

/*!
 * An array of other attributes.
 */

@property (retain, readonly) OFMutableArray OF_GENERIC(OFString*) *extensions;

/*!
 * @brief Create a new cookie with the specified name and value.
 *
 * @param name The name of the cookie
 * @param value The value of the cookie
 * @return A new, autoreleased OFHTTPCookie







|




|




|




|




|














>
|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
	bool _secure, _HTTPOnly;
	OFMutableArray OF_GENERIC(OFString*) *_extensions;
}

/*!
 * The name of the cookie.
 */
@property (nonatomic, copy) OFString *name;

/*!
 * The value of the cookie.
 */
@property (nonatomic, copy) OFString *value;

/*!
 * The date when the cookie expires.
 */
@property (nonatomic, copy) OFDate *expires;

/*!
 * The domain for the cookie.
 */
@property (nonatomic, copy) OFString *domain;

/*!
 * The path for the cookie.
 */
@property (nonatomic, copy) OFString *path;

/*!
 * Whether the cookie is only to be used with HTTPS.
 */
@property (getter=isSecure) bool secure;

/*!
 * Whether the cookie is only to be accessed through HTTP.
 */
@property (getter=isHTTPOnly) bool HTTPOnly;

/*!
 * An array of other attributes.
 */
@property (readonly, nonatomic)
    OFMutableArray OF_GENERIC(OFString*) *extensions;

/*!
 * @brief Create a new cookie with the specified name and value.
 *
 * @param name The name of the cookie
 * @param value The value of the cookie
 * @return A new, autoreleased OFHTTPCookie

Modified src/OFHTTPRequest.h from [47ebc74e15] to [116a255b13].

81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
	OFDataArray *_body;
	OFString *_remoteAddress;
}

/*!
 * The URL of the HTTP request.
 */
@property (copy) OFURL *URL;

/*!
 * The request method of the HTTP request.
 */
@property of_http_request_method_t method;

/*!
 * The headers for the HTTP request.
 */
@property OF_NULLABLE_PROPERTY (copy)
    OFDictionary OF_GENERIC(OFString*, OFString*) *headers;

/*!
 * The cookies for the HTTP request.
 */
@property OF_NULLABLE_PROPERTY (copy)
    OFArray OF_GENERIC(OFHTTPCookie*) *cookies;

/*!
 * The entity body of the HTTP request.
 */
@property OF_NULLABLE_PROPERTY (retain) OFDataArray *body;

/*!
 * The remote address from which the request originates.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *remoteAddress;

/*!
 * @brief Creates a new OFHTTPRequest.
 *
 * @return A new, autoreleased OFHTTPRequest
 */
+ (instancetype)request;







|









|





|





|




|







81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
	OFDataArray *_body;
	OFString *_remoteAddress;
}

/*!
 * The URL of the HTTP request.
 */
@property (nonatomic, copy) OFURL *URL;

/*!
 * The request method of the HTTP request.
 */
@property of_http_request_method_t method;

/*!
 * The headers for the HTTP request.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy)
    OFDictionary OF_GENERIC(OFString*, OFString*) *headers;

/*!
 * The cookies for the HTTP request.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy)
    OFArray OF_GENERIC(OFHTTPCookie*) *cookies;

/*!
 * The entity body of the HTTP request.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, retain) OFDataArray *body;

/*!
 * The remote address from which the request originates.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *remoteAddress;

/*!
 * @brief Creates a new OFHTTPRequest.
 *
 * @return A new, autoreleased OFHTTPRequest
 */
+ (instancetype)request;

Modified src/OFHTTPResponse.h from [a921910845] to [8b2b368da6].

40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
 * The status code of the reply to the HTTP request.
 */
@property short statusCode;

/*!
 * The headers of the reply to the HTTP request.
 */
@property OF_NULLABLE_PROPERTY (copy)
    OFDictionary OF_GENERIC(OFString*, OFString*) *headers;

/*!
 * The cookies to set of the reply to the HTTP request.
 */
@property OF_NULLABLE_PROPERTY (copy)
    OFArray OF_GENERIC(OFHTTPCookie*) *cookies;

/*!
 * @brief Sets the protocol version of the HTTP request reply.
 *
 * @param protocolVersion The protocol version of the HTTP request reply
 */







|





|







40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
 * The status code of the reply to the HTTP request.
 */
@property short statusCode;

/*!
 * The headers of the reply to the HTTP request.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy)
    OFDictionary OF_GENERIC(OFString*, OFString*) *headers;

/*!
 * The cookies to set of the reply to the HTTP request.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy)
    OFArray OF_GENERIC(OFHTTPCookie*) *cookies;

/*!
 * @brief Sets the protocol version of the HTTP request reply.
 *
 * @param protocolVersion The protocol version of the HTTP request reply
 */

Modified src/OFHTTPServer.h from [77f81be914] to [8ee31cc729].

94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
	OFString *_name;
	OFTCPSocket *_listeningSocket;
}

/*!
 * The host on which the HTTP server will listen.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString* host;

/*!
 * The port on which the HTTP server will listen.
 */
@property uint16_t port;

/*!
 * The delegate for the HTTP server.
 */
@property OF_NULLABLE_PROPERTY (assign) id <OFHTTPServerDelegate> delegate;

/*!
 * The server name the server presents to clients.
 *
 * Setting it to `nil` means no `Server` header will be sent, unless one is
 * specified in the response headers.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *name;

/*!
 * @brief Creates a new HTTP server.
 *
 * @return A new HTTP server
 */
+ (instancetype)server;







|

















|







94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
	OFString *_name;
	OFTCPSocket *_listeningSocket;
}

/*!
 * The host on which the HTTP server will listen.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString* host;

/*!
 * The port on which the HTTP server will listen.
 */
@property uint16_t port;

/*!
 * The delegate for the HTTP server.
 */
@property OF_NULLABLE_PROPERTY (assign) id <OFHTTPServerDelegate> delegate;

/*!
 * The server name the server presents to clients.
 *
 * Setting it to `nil` means no `Server` header will be sent, unless one is
 * specified in the response headers.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *name;

/*!
 * @brief Creates a new HTTP server.
 *
 * @return A new HTTP server
 */
+ (instancetype)server;

Modified src/OFINICategory.h from [60cb5a925a] to [1a4f4e7d5d].

34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	OFString *_name;
	OFMutableArray *_lines;
}

/*!
 * The name of the INI category
 */
@property (copy) OFString *name;

/*!
 * @brief Returns the string value for the specified key, or `nil` if it does
 *	  not exist.
 *
 * If the specified key is a multi-key (see @ref arrayForKey:), the value of
 * the first key/value pair found is returned.







|







34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	OFString *_name;
	OFMutableArray *_lines;
}

/*!
 * The name of the INI category
 */
@property (nonatomic, copy) OFString *name;

/*!
 * @brief Returns the string value for the specified key, or `nil` if it does
 *	  not exist.
 *
 * If the specified key is a multi-key (see @ref arrayForKey:), the value of
 * the first key/value pair found is returned.

Modified src/OFIntrospection.h from [bc8548b155] to [07598bfdef].

53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
 * The selector of the method.
 */
@property (readonly) SEL selector;

/*!
 * The name of the method.
 */
@property (readonly, copy) OFString *name;

/*!
 * The type encoding for the method.
 */
@property OF_NULLABLE_PROPERTY (readonly) const char *typeEncoding;
@end








|







53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
 * The selector of the method.
 */
@property (readonly) SEL selector;

/*!
 * The name of the method.
 */
@property (readonly, nonatomic) OFString *name;

/*!
 * The type encoding for the method.
 */
@property OF_NULLABLE_PROPERTY (readonly) const char *typeEncoding;
@end

76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
	unsigned _attributes;
	OFString *_getter, *_setter;
}

/*!
 * The name of the property.
 */
@property (readonly, copy) OFString *name;

/*!
 * The attributes of the property.
 *
 * The attributes are a bitmask with the following possible flags:@n
 * Flag                          | Description
 * ------------------------------|-------------------------------------







|







76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
	unsigned _attributes;
	OFString *_getter, *_setter;
}

/*!
 * The name of the property.
 */
@property (readonly, nonatomic) OFString *name;

/*!
 * The attributes of the property.
 *
 * The attributes are a bitmask with the following possible flags:@n
 * Flag                          | Description
 * ------------------------------|-------------------------------------
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
 * OF_PROPERTY_DYNAMIC           | The property is dynamic
 */
@property (readonly) unsigned attributes;

/*!
 * The name of the getter.
 */
@property OF_NULLABLE_PROPERTY (readonly, copy) OFString *getter;

/*!
 * @return The name of the setter.
 */
@property OF_NULLABLE_PROPERTY (readonly, copy) OFString *setter;
@end

/*!
 * @class OFInstanceVariable OFIntrospection.h ObjFW/OFIntrospection.h
 *
 * @brief A class for describing an instance variable.
 */
@interface OFInstanceVariable: OFObject
{
	OFString *_name;
	const char *_typeEncoding;
	ptrdiff_t _offset;
}

/*!
 * The name of the instance variable.
 */
@property (readonly, copy) OFString *name;

/*!
 * The offset of the instance variable.
 */
@property (readonly) ptrdiff_t offset;

/*!







|




|

















|







100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
 * OF_PROPERTY_DYNAMIC           | The property is dynamic
 */
@property (readonly) unsigned attributes;

/*!
 * The name of the getter.
 */
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *getter;

/*!
 * @return The name of the setter.
 */
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *setter;
@end

/*!
 * @class OFInstanceVariable OFIntrospection.h ObjFW/OFIntrospection.h
 *
 * @brief A class for describing an instance variable.
 */
@interface OFInstanceVariable: OFObject
{
	OFString *_name;
	const char *_typeEncoding;
	ptrdiff_t _offset;
}

/*!
 * The name of the instance variable.
 */
@property (readonly, nonatomic) OFString *name;

/*!
 * The offset of the instance variable.
 */
@property (readonly) ptrdiff_t offset;

/*!
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
	OFMutableArray OF_GENERIC(OFProperty*) *_properties;
	OFMutableArray OF_GENERIC(OFInstanceVariable*) *_instanceVariables;
}

/*!
 * The class methods of the class.
 */
@property (readonly, copy) OFArray OF_GENERIC(OFMethod*) *classMethods;

/*!
 * The instance methods of the class.
 */
@property (readonly, copy) OFArray OF_GENERIC(OFMethod*) *instanceMethods;

/*!
 * The properties of the class.
 *
 * @warning **Do not rely on this, as this behaves differently depending on the
 *	    compiler and ABI used!**
 *







|




|







152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
	OFMutableArray OF_GENERIC(OFProperty*) *_properties;
	OFMutableArray OF_GENERIC(OFInstanceVariable*) *_instanceVariables;
}

/*!
 * The class methods of the class.
 */
@property (readonly, nonatomic) OFArray OF_GENERIC(OFMethod*) *classMethods;

/*!
 * The instance methods of the class.
 */
@property (readonly, nonatomic) OFArray OF_GENERIC(OFMethod*) *instanceMethods;

/*!
 * The properties of the class.
 *
 * @warning **Do not rely on this, as this behaves differently depending on the
 *	    compiler and ABI used!**
 *
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
 *	    introspection for every property that has been declared using
 *	    `@``property`, even if no `@``synchronize` or `@``dynamic` has been
 *	    used.
 *
 * @warning GCC does not emit any data for property introspection for the GNU
 *	    ABI.
 */
@property (readonly, copy) OFArray OF_GENERIC(OFProperty*) *properties;

/*!
 * The instance variables of the class.
 */
@property (readonly, copy)
    OFArray OF_GENERIC(OFInstanceVariable*) *instanceVariables;

/* TODO: protocols */

/*!
 * @brief Creates a new introspection for the specified class.
 *







|




|







179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
 *	    introspection for every property that has been declared using
 *	    `@``property`, even if no `@``synchronize` or `@``dynamic` has been
 *	    used.
 *
 * @warning GCC does not emit any data for property introspection for the GNU
 *	    ABI.
 */
@property (readonly, nonatomic) OFArray OF_GENERIC(OFProperty*) *properties;

/*!
 * The instance variables of the class.
 */
@property (readonly, nonatomic)
    OFArray OF_GENERIC(OFInstanceVariable*) *instanceVariables;

/* TODO: protocols */

/*!
 * @brief Creates a new introspection for the specified class.
 *

Modified src/OFLocalization.h from [93f8b830ad] to [5268bd2a18].

45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
}

/**
 * The language of the locale for messages.
 *
 * If the language is unknown, it is `nil`.
 */
@property OF_NULLABLE_PROPERTY (readonly, copy) OFString *language;

/*!
 * The territory of the locale for messages.
 *
 * If the territory is unknown, it is `nil`.
 */
@property OF_NULLABLE_PROPERTY (readonly, copy) OFString *territory;

/*!
 * The native 8-bit string encoding of the locale for messages.
 *
 * This is useful to encode strings correctly for passing them to operating
 * system calls.
 *
 * If the native 8-bit encoding is unknown, UTF-8 is assumed.
 */
@property (readonly) of_string_encoding_t encoding;

/*!
 * The decimal point of the system's locale.
 */
@property (readonly, copy) OFString *decimalPoint;

/*!
 * @brief Returns the shared OFLocalization instance.
 *
 * @warning If you don't use @ref OFApplication, this might be `nil`! In this
 *	    case, you need to manually allocate an instance and call
 *	    @ref init once.







|






|














|







45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
}

/**
 * The language of the locale for messages.
 *
 * If the language is unknown, it is `nil`.
 */
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *language;

/*!
 * The territory of the locale for messages.
 *
 * If the territory is unknown, it is `nil`.
 */
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *territory;

/*!
 * The native 8-bit string encoding of the locale for messages.
 *
 * This is useful to encode strings correctly for passing them to operating
 * system calls.
 *
 * If the native 8-bit encoding is unknown, UTF-8 is assumed.
 */
@property (readonly) of_string_encoding_t encoding;

/*!
 * The decimal point of the system's locale.
 */
@property (readonly, nonatomic) OFString *decimalPoint;

/*!
 * @brief Returns the shared OFLocalization instance.
 *
 * @warning If you don't use @ref OFApplication, this might be `nil`! In this
 *	    case, you need to manually allocate an instance and call
 *	    @ref init once.

Modified src/OFLocking.h from [9101d3d77b] to [1787b597ed].

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 *
 * @brief A protocol for locks.
 */
@protocol OFLocking <OFObject>
/*!
 * The name of the lock.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *name;

/*!
 * @brief Locks the lock.
 */
- (void)lock;

/*!







|







23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 *
 * @brief A protocol for locks.
 */
@protocol OFLocking <OFObject>
/*!
 * The name of the lock.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *name;

/*!
 * @brief Locks the lock.
 */
- (void)lock;

/*!

Modified src/OFMessagePackExtension.h from [dfd1b561fa] to [386dd06c1d].

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 * The MessagePack extension type.
 */
@property (readonly) int8_t type;

/*!
 * @return The data of the extension.
 */
@property (readonly, retain) OFDataArray *data;

/*!
 * @brief Creates a new OFMessagePackRepresentation with the specified type and
 *	  data.
 *
 * @param type The MessagePack extension type
 * @param data The data for the extension







|







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 * The MessagePack extension type.
 */
@property (readonly) int8_t type;

/*!
 * @return The data of the extension.
 */
@property (readonly, nonatomic) OFDataArray *data;

/*!
 * @brief Creates a new OFMessagePackRepresentation with the specified type and
 *	  data.
 *
 * @param type The MessagePack extension type
 * @param data The data for the extension

Modified src/OFOptionsParser.h from [28983a280a] to [06c158db08].

97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
 * In case it returned `=`, this contains the long option for which an
 * argument was specified even though the option takes no argument.
 *
 * @warning Unlike @ref lastOption, which returns the short option even if the
 *	    user specified a long option, this only returns the long option if
 *	    it was actually specified as a long option by the user.
 */
@property OF_NULLABLE_PROPERTY (readonly, copy) OFString *lastLongOption;

/*!
 * The argument for the last parsed option, or `nil` if the last parsed option
 * takes no argument.
 */
@property OF_NULLABLE_PROPERTY (readonly, copy) OFString *argument;

/*!
 * @brief Creates a new OFOptionsParser which accepts the specified options.
 *
 * @param options An array of @ref of_options_parser_option_t specifying all
 *		  accepted options, terminated with an option whose short
 *		  option is `\0` and long option is `nil`.







|





|







97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
 * In case it returned `=`, this contains the long option for which an
 * argument was specified even though the option takes no argument.
 *
 * @warning Unlike @ref lastOption, which returns the short option even if the
 *	    user specified a long option, this only returns the long option if
 *	    it was actually specified as a long option by the user.
 */
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *lastLongOption;

/*!
 * The argument for the last parsed option, or `nil` if the last parsed option
 * takes no argument.
 */
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *argument;

/*!
 * @brief Creates a new OFOptionsParser which accepts the specified options.
 *
 * @param options An array of @ref of_options_parser_option_t specifying all
 *		  accepted options, terminated with an option whose short
 *		  option is `\0` and long option is `nil`.

Modified src/OFSettings.h from [ceca8248e3] to [da0012a76b].

36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
	OFString *_applicationName;
}

/*!
 * The name of the application whose settings are accessed by the instance.
 */
@property (readonly, copy) OFString *applicationName;

/*!
 * @brief Create a new OFSettings instance for the application with the
 *	  specified name.
 *
 * @param applicationName The name of the application whose settings should be
 *			  accessed







|







36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
	OFString *_applicationName;
}

/*!
 * The name of the application whose settings are accessed by the instance.
 */
@property (readonly, nonatomic) OFString *applicationName;

/*!
 * @brief Create a new OFSettings instance for the application with the
 *	  specified name.
 *
 * @param applicationName The name of the application whose settings should be
 *			  accessed

Modified src/OFTCPSocket.h from [23290948e1] to [7e829b3ab1].

69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
	uint16_t _port;
#endif
}

/*!
 * The host to use as a SOCKS5 proxy.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *SOCKS5Host;

/*!
 * The port to use on the SOCKS5 proxy.
 */
@property uint16_t SOCKS5Port;

/*!







|







69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
	uint16_t _port;
#endif
}

/*!
 * The host to use as a SOCKS5 proxy.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *SOCKS5Host;

/*!
 * The port to use on the SOCKS5 proxy.
 */
@property uint16_t SOCKS5Port;

/*!

Modified src/OFTLSSocket.h from [a94a468056] to [b87af1f574].

58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
 * The delegate for the TLS socket.
 */
@property OF_NULLABLE_PROPERTY (assign) id <OFTLSSocketDelegate> delegate;

/*!
 * The path to the X.509 certificate file to use.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *certificateFile;

/*!
 * The path to the PKCS#8 private key file to use.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *privateKeyFile;

/*!
 * The passphrase to decrypt the PKCS#8 private key file.
 *
 * @warning You have to ensure that this is in secure memory protected from
 *	    swapping! This is also the reason why this is not an OFString.
 */







|




|







58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
 * The delegate for the TLS socket.
 */
@property OF_NULLABLE_PROPERTY (assign) id <OFTLSSocketDelegate> delegate;

/*!
 * The path to the X.509 certificate file to use.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *certificateFile;

/*!
 * The path to the PKCS#8 private key file to use.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *privateKeyFile;

/*!
 * The passphrase to decrypt the PKCS#8 private key file.
 *
 * @warning You have to ensure that this is in secure memory protected from
 *	    swapping! This is also the reason why this is not an OFString.
 */

Modified src/OFTarArchiveEntry.h from [1df86db3b4] to [0005919ebe].

61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
	OFString *_owner, *_group;
	uint32_t _deviceMajor, _deviceMinor;
}

/*!
 * The file name of the entry.
 */
@property (readonly, copy) OFString *fileName;

/*!
 * The mode of the entry.
 */
@property (readonly) uint32_t mode;

/*!
 * The size of the file.
 */
@property (readonly) uint64_t size;

/*!
 * The date of the last modification of the file.
 */
@property (readonly, copy) OFDate *modificationDate;

/*!
 * The type of the archive entry.
 *
 * See @ref of_tar_archive_entry_type_t.
 */
@property (readonly) of_tar_archive_entry_type_t type;

/*!
 * The file name of the target (for a hard link or symbolic link).
 */
@property (readonly, copy) OFString *targetFileName;

/*!
 * The owner of the file.
 */
@property (readonly, copy) OFString *owner;

/*!
 * The group of the file.
 */
@property (readonly, copy) OFString *group;

/*!
 * The device major (if the file is a device).
 */
@property (readonly) uint32_t deviceMajor;

/*!
 * The device major (if the file is a device).
 */
@property (readonly) uint32_t deviceMinor;
@end

OF_ASSUME_NONNULL_END







|














|











|




|




|













61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
	OFString *_owner, *_group;
	uint32_t _deviceMajor, _deviceMinor;
}

/*!
 * The file name of the entry.
 */
@property (readonly, nonatomic) OFString *fileName;

/*!
 * The mode of the entry.
 */
@property (readonly) uint32_t mode;

/*!
 * The size of the file.
 */
@property (readonly) uint64_t size;

/*!
 * The date of the last modification of the file.
 */
@property (readonly, nonatomic) OFDate *modificationDate;

/*!
 * The type of the archive entry.
 *
 * See @ref of_tar_archive_entry_type_t.
 */
@property (readonly) of_tar_archive_entry_type_t type;

/*!
 * The file name of the target (for a hard link or symbolic link).
 */
@property (readonly, nonatomic) OFString *targetFileName;

/*!
 * The owner of the file.
 */
@property (readonly, nonatomic) OFString *owner;

/*!
 * The group of the file.
 */
@property (readonly, nonatomic) OFString *group;

/*!
 * The device major (if the file is a device).
 */
@property (readonly) uint32_t deviceMajor;

/*!
 * The device major (if the file is a device).
 */
@property (readonly) uint32_t deviceMinor;
@end

OF_ASSUME_NONNULL_END

Modified src/OFThread.h from [d6804b022e] to [5cd28cdb35].

77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	OFString *_name;
}

#ifdef OF_HAVE_BLOCKS
/*!
 * The block to execute in the thread.
 */
@property (readonly, copy) of_thread_block_t threadBlock;
#endif

/*!
 * @brief Creates a new thread.
 *
 * @return A new, autoreleased thread
 */







|







77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	OFString *_name;
}

#ifdef OF_HAVE_BLOCKS
/*!
 * The block to execute in the thread.
 */
@property (readonly, nonatomic) of_thread_block_t threadBlock;
#endif

/*!
 * @brief Creates a new thread.
 *
 * @return A new, autoreleased thread
 */

Modified src/OFTimer+Private.h from [3b1ce81179] to [22f9803439].

15
16
17
18
19
20
21
22
23
24
25
26
 */

#import "OFTimer.h"

OF_ASSUME_NONNULL_BEGIN

@interface OFTimer ()
@property OF_NULLABLE_PROPERTY (retain, setter=OF_setInRunLoop:)
    OFRunLoop *OF_inRunLoop;
@end

OF_ASSUME_NONNULL_END







|




15
16
17
18
19
20
21
22
23
24
25
26
 */

#import "OFTimer.h"

OF_ASSUME_NONNULL_BEGIN

@interface OFTimer ()
@property OF_NULLABLE_PROPERTY (nonatomic, retain, setter=OF_setInRunLoop:)
    OFRunLoop *OF_inRunLoop;
@end

OF_ASSUME_NONNULL_END

Modified src/OFURL.h from [5188a3f0dd] to [336f088c44].

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
	uint16_t _port;
	OFString *_user, *_password, *_path, *_parameters, *_query, *_fragment;
}

/*!
 * The scheme part of the URL.
 */
@property (copy) OFString *scheme;

/*!
 * The host part of the URL.
 */
@property (copy) OFString *host;

/*!
 * The port part of the URL.
 */
@property uint16_t port;

/*!
 * The user part of the URL.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *user;

/*!
 * The password part of the URL.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *password;

/*!
 * The path part of the URL.
 */
@property (copy) OFString *path;

/*!
 * The parameters part of the URL.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *parameters;

/*!
 * The query part of the URL.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *query;

/*!
 * The fragment part of the URL.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *fragment;

/*!
 * @brief Creates a new URL.
 *
 * @return A new, autoreleased OFURL
 */
+ (instancetype)URL;







|




|









|




|




|




|




|




|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
	uint16_t _port;
	OFString *_user, *_password, *_path, *_parameters, *_query, *_fragment;
}

/*!
 * The scheme part of the URL.
 */
@property (nonatomic, copy) OFString *scheme;

/*!
 * The host part of the URL.
 */
@property (nonatomic, copy) OFString *host;

/*!
 * The port part of the URL.
 */
@property uint16_t port;

/*!
 * The user part of the URL.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *user;

/*!
 * The password part of the URL.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *password;

/*!
 * The path part of the URL.
 */
@property (nonatomic, copy) OFString *path;

/*!
 * The parameters part of the URL.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *parameters;

/*!
 * The query part of the URL.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *query;

/*!
 * The fragment part of the URL.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *fragment;

/*!
 * @brief Creates a new URL.
 *
 * @return A new, autoreleased OFURL
 */
+ (instancetype)URL;

Modified src/OFXMLAttribute.h from [58219da4a7] to [3c807a0561].

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@public
	OFString *_name, *_namespace, *_stringValue;
}

/*!
 * The name of the attribute.
 */
@property (readonly, copy) OFString *name;

/*!
 * The namespace of the attribute.
 */
#ifndef __cplusplus
@property OF_NULLABLE_PROPERTY (readonly, copy) OFString *namespace;
#else
@property OF_NULLABLE_PROPERTY (readonly, copy, getter=namespace)
    OFString *namespace_;
#endif

/*!
 * @brief Creates a new XML attribute.
 *
 * @param name The name of the attribute







|





|

|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@public
	OFString *_name, *_namespace, *_stringValue;
}

/*!
 * The name of the attribute.
 */
@property (readonly, nonatomic) OFString *name;

/*!
 * The namespace of the attribute.
 */
#ifndef __cplusplus
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *namespace;
#else
@property OF_NULLABLE_PROPERTY (readonly, nonatomic, getter=namespace)
    OFString *namespace_;
#endif

/*!
 * @brief Creates a new XML attribute.
 *
 * @param name The name of the attribute

Modified src/OFXMLElement.h from [703949fdec] to [1f4a21c910].

39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
	OFMutableDictionary OF_GENERIC(OFString*, OFString*) *_namespaces;
	OFMutableArray OF_GENERIC(OFXMLNode*) *_children;
}

/*!
 * The name of the element.
 */
@property (copy) OFString *name;

/*!
 * The namespace of the element.
 */
#ifndef __cplusplus
@property OF_NULLABLE_PROPERTY (copy) OFString *namespace;
#else
@property OF_NULLABLE_PROPERTY (copy, getter=namespace, setter=setNamespace:)
    OFString *namespace_;
#endif

/*!
 * The default namespace for the element to be used if there is no parent.
 */
@property OF_NULLABLE_PROPERTY (copy) OFString *defaultNamespace;

/*!
 * @brief Creates a new XML element with the specified name.
 *
 * @param name The name for the element
 * @return A new autoreleased OFXMLElement with the specified element name
 */







|





|

|
|





|







39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
	OFMutableDictionary OF_GENERIC(OFString*, OFString*) *_namespaces;
	OFMutableArray OF_GENERIC(OFXMLNode*) *_children;
}

/*!
 * The name of the element.
 */
@property (nonatomic, copy) OFString *name;

/*!
 * The namespace of the element.
 */
#ifndef __cplusplus
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *namespace;
#else
@property OF_NULLABLE_PROPERTY (nonatomic, copy,
    getter=namespace, setter=setNamespace:) OFString *namespace_;
#endif

/*!
 * The default namespace for the element to be used if there is no parent.
 */
@property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *defaultNamespace;

/*!
 * @brief Creates a new XML element with the specified name.
 *
 * @param name The name for the element
 * @return A new autoreleased OFXMLElement with the specified element name
 */

Modified src/OFZIPArchive.h from [5949a379de] to [f0d277203d].

46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
	    *_pathToEntryMap;
	OFStream *_lastReturnedStream;
}

/*!
 * The archive comment.
 */
@property (readonly, copy) OFString *archiveComment;

/*!
 * @brief Creates a new OFZIPArchive object with the specified seekable stream.
 *
 * @param stream A seekable stream from which the ZIP archive will be read
 * @return A new, autoreleased OFZIPArchive
 */







|







46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
	    *_pathToEntryMap;
	OFStream *_lastReturnedStream;
}

/*!
 * The archive comment.
 */
@property (readonly, nonatomic) OFString *archiveComment;

/*!
 * @brief Creates a new OFZIPArchive object with the specified seekable stream.
 *
 * @param stream A seekable stream from which the ZIP archive will be read
 * @return A new, autoreleased OFZIPArchive
 */

Modified src/OFZIPArchiveEntry.h from [1bb1b3db7f] to [51727c4cd0].

102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
	uint32_t _versionSpecificAttributes;
	int64_t _localFileHeaderOffset;
}

/*!
 * The file name of the entry.
 */
@property (readonly, copy) OFString *fileName;

/*!
 * The comment of the entry's file.
 */
@property (readonly, copy) OFString *fileComment;

/*!
 * The version which made the entry.
 *
 * The lower 8 bits are the ZIP specification version.@n
 * The upper 8 bits are the attribute compatibility.
 * See @ref of_zip_archive_entry_attribute_compatibility.







|




|







102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
	uint32_t _versionSpecificAttributes;
	int64_t _localFileHeaderOffset;
}

/*!
 * The file name of the entry.
 */
@property (readonly, nonatomic) OFString *fileName;

/*!
 * The comment of the entry's file.
 */
@property (readonly, nonatomic) OFString *fileComment;

/*!
 * The version which made the entry.
 *
 * The lower 8 bits are the ZIP specification version.@n
 * The upper 8 bits are the attribute compatibility.
 * See @ref of_zip_archive_entry_attribute_compatibility.

Modified src/exceptions/OFAcceptFailedException.h from [2bb3a9a132] to [d7a51572db].

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
	id _socket;
	int _errNo;
}

/*!
 * The socket which could not accept a connection.
 */
@property (readonly, retain) id socket;

/*!
 * @return The errno from when the exception was created.
 */
@property (readonly) int errNo;

/*!







|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
	id _socket;
	int _errNo;
}

/*!
 * The socket which could not accept a connection.
 */
@property (readonly, nonatomic) id socket;

/*!
 * @return The errno from when the exception was created.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFAddressTranslationFailedException.h from [55acd4cf7e] to [1e0f5699bd].

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
	OFString *_host;
	int _error;
}

/*!
 * The host for which the address translation was requested.
 */
@property (readonly, copy) OFString *host;

/*!
 * @brief Creates a new, autoreleased address translation failed exception.
 *
 * @param host The host for which translation was requested
 * @return A new, autoreleased address translation failed exception
 */







|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
	OFString *_host;
	int _error;
}

/*!
 * The host for which the address translation was requested.
 */
@property (readonly, nonatomic) OFString *host;

/*!
 * @brief Creates a new, autoreleased address translation failed exception.
 *
 * @param host The host for which translation was requested
 * @return A new, autoreleased address translation failed exception
 */

Modified src/exceptions/OFAlreadyConnectedException.h from [a032d893b7] to [d29f44b8a3].

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
	id _socket;
}

/*!
 * The socket which is already connected.
 */
@property (readonly, retain) id socket;

/*!
 * @brief Creates a new, autoreleased already connected exception.
 *
 * @param socket The socket which is already connected
 * @return A new, autoreleased already connected exception
 */







|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
	id _socket;
}

/*!
 * The socket which is already connected.
 */
@property (readonly, nonatomic) id socket;

/*!
 * @brief Creates a new, autoreleased already connected exception.
 *
 * @param socket The socket which is already connected
 * @return A new, autoreleased already connected exception
 */

Modified src/exceptions/OFBindFailedException.h from [e3c3bc0a45] to [8704ec525d].

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
	uint16_t _port;
	int _errNo;
}

/*!
 * The host on which binding failed.
 */
@property (readonly, copy) OFString *host;

/*!
 * The port on which binding failed.
 */
@property (readonly) uint16_t port;

/*!
 * The socket which could not be bound.
 */
@property (readonly, retain) id socket;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|









|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
	uint16_t _port;
	int _errNo;
}

/*!
 * The host on which binding failed.
 */
@property (readonly, nonatomic) OFString *host;

/*!
 * The port on which binding failed.
 */
@property (readonly) uint16_t port;

/*!
 * The socket which could not be bound.
 */
@property (readonly, nonatomic) id socket;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFChangeCurrentDirectoryPathFailedException.h from [06d981b4b5] to [db18cd1da4].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	OFString *_path;
	int _errNo;
}

/*!
 * The path of the directory to which the current path could not be changed.
 */
@property (readonly, copy) OFString *path;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	OFString *_path;
	int _errNo;
}

/*!
 * The path of the directory to which the current path could not be changed.
 */
@property (readonly, nonatomic) OFString *path;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFChangeOwnerFailedException.h from [38a02471a5] to [3ef254830f].

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
	OFString *_path, *_owner, *_group;
	int _errNo;
}

/*!
 * The path of the item.
 */
@property (readonly, copy) OFString *path;

/*!
 * The new owner for the item.
 */
@property (readonly, copy) OFString *owner;

/*!
 * The new group for the item.
 */
@property (readonly, copy) OFString *group;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|




|




|







28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
	OFString *_path, *_owner, *_group;
	int _errNo;
}

/*!
 * The path of the item.
 */
@property (readonly, nonatomic) OFString *path;

/*!
 * The new owner for the item.
 */
@property (readonly, nonatomic) OFString *owner;

/*!
 * The new group for the item.
 */
@property (readonly, nonatomic) OFString *group;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFChangePermissionsFailedException.h from [f9b823ad7a] to [bc22d5d3ad].

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
	mode_t _permissions;
	int _errNo;
}

/*!
 * The path of the item.
 */
@property (readonly, copy) OFString *path;

/*!
 * The new permissions for the item.
 */
@property (readonly) mode_t permissions;

/*!







|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
	mode_t _permissions;
	int _errNo;
}

/*!
 * The path of the item.
 */
@property (readonly, nonatomic) OFString *path;

/*!
 * The new permissions for the item.
 */
@property (readonly) mode_t permissions;

/*!

Modified src/exceptions/OFConditionBroadcastFailedException.h from [9019ee948c] to [30d4c356dc].

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
	OFCondition *_condition;
}

/*!
 * The condition which could not be broadcasted.
 */
@property (readonly, retain) OFCondition *condition;

/*!
 * @brief Returns a new, autoreleased condition broadcast failed exception.
 *
 * @param condition The condition which could not be broadcasted
 * @return A new, autoreleased condition broadcast failed exception
 */







|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
	OFCondition *_condition;
}

/*!
 * The condition which could not be broadcasted.
 */
@property (readonly, nonatomic) OFCondition *condition;

/*!
 * @brief Returns a new, autoreleased condition broadcast failed exception.
 *
 * @param condition The condition which could not be broadcasted
 * @return A new, autoreleased condition broadcast failed exception
 */

Modified src/exceptions/OFConditionSignalFailedException.h from [c104d72bed] to [08f88058e2].

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
	OFCondition *_condition;
}

/*!
 * The condition which could not be signaled.
 */
@property (readonly, retain) OFCondition *condition;

/*!
 * @brief Creates a new, autoreleased condition signal failed exception.
 *
 * @param condition The condition which could not be signaled
 * @return A new, autoreleased condition signal failed exception
 */







|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
	OFCondition *_condition;
}

/*!
 * The condition which could not be signaled.
 */
@property (readonly, nonatomic) OFCondition *condition;

/*!
 * @brief Creates a new, autoreleased condition signal failed exception.
 *
 * @param condition The condition which could not be signaled
 * @return A new, autoreleased condition signal failed exception
 */

Modified src/exceptions/OFConditionStillWaitingException.h from [1270e8108e] to [edaf7a58ce].

34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
	OFCondition *_condition;
}

/*!
 * The condition for which is still being waited.
 */
@property (readonly, retain) OFCondition *condition;

/*!
 * @brief Creates a new, autoreleased condition still waiting exception.
 *
 * @param condition The condition for which is still being waited
 * @return A new, autoreleased condition still waiting exception
 */







|







34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
	OFCondition *_condition;
}

/*!
 * The condition for which is still being waited.
 */
@property (readonly, nonatomic) OFCondition *condition;

/*!
 * @brief Creates a new, autoreleased condition still waiting exception.
 *
 * @param condition The condition for which is still being waited
 * @return A new, autoreleased condition still waiting exception
 */

Modified src/exceptions/OFConditionWaitFailedException.h from [77adef69bf] to [883461b962].

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
	OFCondition *_condition;
}

/*!
 * The condition for which could not be waited.
 */
@property (readonly, retain) OFCondition *condition;

/*!
 * @brief Creates a new, autoreleased condition wait failed exception.
 *
 * @param condition The condition for which could not be waited
 * @return A new, autoreleased condition wait failed exception
 */







|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
	OFCondition *_condition;
}

/*!
 * The condition for which could not be waited.
 */
@property (readonly, nonatomic) OFCondition *condition;

/*!
 * @brief Creates a new, autoreleased condition wait failed exception.
 *
 * @param condition The condition for which could not be waited
 * @return A new, autoreleased condition wait failed exception
 */

Modified src/exceptions/OFConnectionFailedException.h from [fdc6827f49] to [c487229992].

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
	uint16_t _port;
	int _errNo;
}

/*!
 * The socket which could not connect.
 */
@property (readonly, retain) id socket;

/*!
 * The host to which the connection failed.
 */
@property (readonly, copy) OFString *host;

/*!
 * The port on the host to which the connection failed.
 */
@property (readonly) uint16_t port;

/*!







|




|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
	uint16_t _port;
	int _errNo;
}

/*!
 * The socket which could not connect.
 */
@property (readonly, nonatomic) id socket;

/*!
 * The host to which the connection failed.
 */
@property (readonly, nonatomic) OFString *host;

/*!
 * The port on the host to which the connection failed.
 */
@property (readonly) uint16_t port;

/*!

Modified src/exceptions/OFCopyItemFailedException.h from [64f3dead99] to [f24e8a9d1f].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
	OFString *_sourcePath, *_destinationPath;
	int _errNo;
}

/*!
 * The path of the source item.
 */
@property (readonly, copy) OFString *sourcePath;

/*!
 * The destination path.
 */
@property (readonly, copy) OFString *destinationPath;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|




|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
	OFString *_sourcePath, *_destinationPath;
	int _errNo;
}

/*!
 * The path of the source item.
 */
@property (readonly, nonatomic) OFString *sourcePath;

/*!
 * The destination path.
 */
@property (readonly, nonatomic) OFString *destinationPath;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFCreateDirectoryFailedException.h from [23818d57ae] to [a1fc5de069].

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
	OFString *_path;
	int _errNo;
}

/*!
 * The path of the directory which couldn't be created.
 */
@property (readonly, copy) OFString *path;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|







28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
	OFString *_path;
	int _errNo;
}

/*!
 * The path of the directory which couldn't be created.
 */
@property (readonly, nonatomic) OFString *path;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFCreateSymbolicLinkFailedException.h from [13ad0c60ef] to [1236acb17b].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	OFString *_sourcePath, *_destinationPath;
	int _errNo;
}

/*!
 * The source for the symlink.
 */
@property (readonly, copy) OFString *sourcePath;

/*!
 * The destination for the symlink.
 */
@property (readonly, copy) OFString *destinationPath;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|




|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	OFString *_sourcePath, *_destinationPath;
	int _errNo;
}

/*!
 * The source for the symlink.
 */
@property (readonly, nonatomic) OFString *sourcePath;

/*!
 * The destination for the symlink.
 */
@property (readonly, nonatomic) OFString *destinationPath;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFEnumerationMutationException.h from [2313a27ca0] to [7d375be5f4].

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
	id _object;
}

/*!
 * The object which was mutated during enumeration.
 */
@property (readonly, retain) id object;

/*!
 * @brief Creates a new, autoreleased enumeration mutation exception.
 *
 * @param object The object which was mutated during enumeration
 * @return A new, autoreleased enumeration mutation exception
 */







|







28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
	id _object;
}

/*!
 * The object which was mutated during enumeration.
 */
@property (readonly, nonatomic) id object;

/*!
 * @brief Creates a new, autoreleased enumeration mutation exception.
 *
 * @param object The object which was mutated during enumeration
 * @return A new, autoreleased enumeration mutation exception
 */

Modified src/exceptions/OFGetOptionFailedException.h from [a87b823310] to [ac334310fe].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	OFStream *_stream;
	int _errNo;
}

/*!
 * The stream for which the option could not be retrieved.
 */
@property (readonly, retain) OFStream *stream;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	OFStream *_stream;
	int _errNo;
}

/*!
 * The stream for which the option could not be retrieved.
 */
@property (readonly, nonatomic) OFStream *stream;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFHTTPRequestFailedException.h from [cb615e1123] to [3ca5a6b23c].

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
	OFHTTPRequest *_request;
	OFHTTPResponse *_response;
}

/*!
 * The HTTP request which failed.
 */
@property (readonly, retain) OFHTTPRequest *request;

/*!
 * The response for the failed HTTP request.
 */
@property (readonly, retain) OFHTTPResponse *response;

/*!
 * @brief Creates a new, autoreleased HTTP request failed exception.
 *
 * @param request The HTTP request which failed
 * @param response The response for the failed HTTP request
 * @return A new, autoreleased HTTP request failed exception







|




|







35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
	OFHTTPRequest *_request;
	OFHTTPResponse *_response;
}

/*!
 * The HTTP request which failed.
 */
@property (readonly, nonatomic) OFHTTPRequest *request;

/*!
 * The response for the failed HTTP request.
 */
@property (readonly, nonatomic) OFHTTPResponse *response;

/*!
 * @brief Creates a new, autoreleased HTTP request failed exception.
 *
 * @param request The HTTP request which failed
 * @param response The response for the failed HTTP request
 * @return A new, autoreleased HTTP request failed exception

Modified src/exceptions/OFHashAlreadyCalculatedException.h from [823c11b0b0] to [95e7141d60].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	id _object;
}

/*!
 * The hash which has already been calculated.
 */
@property (readonly, retain) id object;

/*!
 * @brief Creates a new, autoreleased hash already calculated exception.
 *
 * @param object The hash which has already been calculated
 * @return A new, autoreleased hash already calculated exception
 */







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	id _object;
}

/*!
 * The hash which has already been calculated.
 */
@property (readonly, nonatomic) id object;

/*!
 * @brief Creates a new, autoreleased hash already calculated exception.
 *
 * @param object The hash which has already been calculated
 * @return A new, autoreleased hash already calculated exception
 */

Modified src/exceptions/OFInitializationFailedException.h from [21ed4cb06d] to [e1ada3b28a].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	Class _inClass;
}

/*!
 * The class for which initialization failed.
 */
@property (readonly, assign) Class inClass;

/*!
 * @brief Creates a new, autoreleased initialization failed exception.
 *
 * @param class_ The class for which initialization failed
 * @return A new, autoreleased initialization failed exception
 */







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	Class _inClass;
}

/*!
 * The class for which initialization failed.
 */
@property (readonly, nonatomic) Class inClass;

/*!
 * @brief Creates a new, autoreleased initialization failed exception.
 *
 * @param class_ The class for which initialization failed
 * @return A new, autoreleased initialization failed exception
 */

Modified src/exceptions/OFInvalidJSONException.h from [46da2546fe] to [958d67c1a9].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
	OFString *_string;
	size_t _line;
}

/*!
 * The string containing the invalid JSON representation.
 */
@property (readonly, copy) OFString *string;

/*!
 * The line in which parsing the JSON representation failed.
 */
@property (readonly) size_t line;

/*!







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
	OFString *_string;
	size_t _line;
}

/*!
 * The string containing the invalid JSON representation.
 */
@property (readonly, nonatomic) OFString *string;

/*!
 * The line in which parsing the JSON representation failed.
 */
@property (readonly) size_t line;

/*!

Modified src/exceptions/OFLinkFailedException.h from [9c2512d39f] to [ecccdc69a0].

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
	OFString *_sourcePath, *_destinationPath;
	int _errNo;
}

/*!
 * A string with the source for the link.
 */
@property (readonly, copy) OFString *sourcePath;

/*!
 * A string with the destination for the link.
 */
@property (readonly, copy) OFString *destinationPath;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|




|







28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
	OFString *_sourcePath, *_destinationPath;
	int _errNo;
}

/*!
 * A string with the source for the link.
 */
@property (readonly, nonatomic) OFString *sourcePath;

/*!
 * A string with the destination for the link.
 */
@property (readonly, nonatomic) OFString *destinationPath;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFListenFailedException.h from [bb950d96b0] to [7e1a5af823].

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
	id _socket;
	int _backLog, _errNo;
}

/*!
 * The socket which failed to listen.
 */
@property (readonly, retain) id socket;

/*!
 * The requested back log.
 */
@property (readonly) int backLog;

/*!







|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
	id _socket;
	int _backLog, _errNo;
}

/*!
 * The socket which failed to listen.
 */
@property (readonly, nonatomic) id socket;

/*!
 * The requested back log.
 */
@property (readonly) int backLog;

/*!

Modified src/exceptions/OFLockFailedException.h from [fa1530acfe] to [e653096b8b].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	id <OFLocking> _lock;
}

/*!
 * The lock which could not be locked.
 */
@property (readonly, retain) id <OFLocking> lock;

/*!
 * @brief Creates a new, autoreleased lock failed exception.
 *
 * @param lock The lock which could not be locked
 * @return A new, autoreleased lock failed exception
 */







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	id <OFLocking> _lock;
}

/*!
 * The lock which could not be locked.
 */
@property (readonly, nonatomic) id <OFLocking> lock;

/*!
 * @brief Creates a new, autoreleased lock failed exception.
 *
 * @param lock The lock which could not be locked
 * @return A new, autoreleased lock failed exception
 */

Modified src/exceptions/OFMalformedXMLException.h from [99678f2e6e] to [45e5c7b12b].

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
	OFXMLParser *_parser;
}

/*!
 * The parser which encountered malformed XML.
 */
@property (readonly, retain) OFXMLParser *parser;

/*!
 * @brief Creates a new, autoreleased malformed XML exception.
 *
 * @param parser The parser which encountered malformed XML
 * @return A new, autoreleased malformed XML exception
 */







|







28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
	OFXMLParser *_parser;
}

/*!
 * The parser which encountered malformed XML.
 */
@property (readonly, nonatomic) OFXMLParser *parser;

/*!
 * @brief Creates a new, autoreleased malformed XML exception.
 *
 * @param parser The parser which encountered malformed XML
 * @return A new, autoreleased malformed XML exception
 */

Modified src/exceptions/OFMemoryNotPartOfObjectException.h from [fcc4fbd4e2] to [1e0be12e1f].

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 * A pointer to the memory which is not part of the object.
 */
@property (readonly) void *pointer;

/*!
 * The object which the memory is not part of.
 */
@property (readonly, retain) id object;

/*!
 * @brief Creates a new, autoreleased memory not part of object exception.
 *
 * @param pointer A pointer to the memory that is not part of the object
 * @param object The object which the memory is not part of
 * @return A new, autoreleased memory not part of object exception







|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 * A pointer to the memory which is not part of the object.
 */
@property (readonly) void *pointer;

/*!
 * The object which the memory is not part of.
 */
@property (readonly, nonatomic) id object;

/*!
 * @brief Creates a new, autoreleased memory not part of object exception.
 *
 * @param pointer A pointer to the memory that is not part of the object
 * @param object The object which the memory is not part of
 * @return A new, autoreleased memory not part of object exception

Modified src/exceptions/OFMoveItemFailedException.h from [54c3f3a8f8] to [a65ba57dc8].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
	OFString *_sourcePath, *_destinationPath;
	int _errNo;
}

/*!
 * The original path.
 */
@property (readonly, copy) OFString *sourcePath;

/*!
 * The new path.
 */
@property (readonly, copy) OFString *destinationPath;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|




|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
	OFString *_sourcePath, *_destinationPath;
	int _errNo;
}

/*!
 * The original path.
 */
@property (readonly, nonatomic) OFString *sourcePath;

/*!
 * The new path.
 */
@property (readonly, nonatomic) OFString *destinationPath;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFNotImplementedException.h from [74aed7acb8] to [0d230b7593].

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 * The selector which is not or not fully implemented.
 */
@property (readonly) SEL selector;

/*!
 * The object which does not (fully) implement the selector.
 */
@property (readonly, retain) id object;

/*!
 * @brief Creates a new, autoreleased not implemented exception.
 *
 * @param selector The selector which is not or not fully implemented
 * @param object The object which does not (fully) implement the selector
 * @return A new, autoreleased not implemented exception







|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 * The selector which is not or not fully implemented.
 */
@property (readonly) SEL selector;

/*!
 * The object which does not (fully) implement the selector.
 */
@property (readonly, nonatomic) id object;

/*!
 * @brief Creates a new, autoreleased not implemented exception.
 *
 * @param selector The selector which is not or not fully implemented
 * @param object The object which does not (fully) implement the selector
 * @return A new, autoreleased not implemented exception

Modified src/exceptions/OFNotOpenException.h from [56b28e4c89] to [d9c378372c].

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
	id _object;
}

/*!
 * The object which is not open, connected or bound.
 */
@property (readonly, retain) id object;

/*!
 * @brief Creates a new, autoreleased not open exception.
 *
 * @param object The object which is not open, connected or bound
 * @return A new, autoreleased not open exception
 */







|







25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
	id _object;
}

/*!
 * The object which is not open, connected or bound.
 */
@property (readonly, nonatomic) id object;

/*!
 * @brief Creates a new, autoreleased not open exception.
 *
 * @param object The object which is not open, connected or bound
 * @return A new, autoreleased not open exception
 */

Modified src/exceptions/OFObserveFailedException.h from [8f26da8fac] to [e5acc95b6a].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	OFKernelEventObserver *_observer;
	int _errNo;
}

/*!
 * The observer which failed to observe.
 */
@property (readonly, retain) OFKernelEventObserver *observer;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	OFKernelEventObserver *_observer;
	int _errNo;
}

/*!
 * The observer which failed to observe.
 */
@property (readonly, nonatomic) OFKernelEventObserver *observer;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFOpenItemFailedException.h from [28c832ab41] to [f942b5ed03].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
	OFString *_path, *_mode;
	int _errNo;
}

/*!
 * The path of the item which could not be opened.
 */
@property (readonly, copy) OFString *path;

/*!
 * The mode in which the item should have been opened.
 */
@property (readonly, copy) OFString *mode;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|




|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
	OFString *_path, *_mode;
	int _errNo;
}

/*!
 * The path of the item which could not be opened.
 */
@property (readonly, nonatomic) OFString *path;

/*!
 * The mode in which the item should have been opened.
 */
@property (readonly, nonatomic) OFString *mode;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFReadOrWriteFailedException.h from [5e90c4069e] to [1d7baf9f13].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	size_t _requestedLength;
	int _errNo;
}

/*!
 * The stream which caused the read or write failed exception.
 */
@property (readonly, retain) id object;

/*!
 * The requested length of the data that could not be read / written.
 */
@property (readonly) size_t requestedLength;

/*!







|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	size_t _requestedLength;
	int _errNo;
}

/*!
 * The stream which caused the read or write failed exception.
 */
@property (readonly, nonatomic) id object;

/*!
 * The requested length of the data that could not be read / written.
 */
@property (readonly) size_t requestedLength;

/*!

Modified src/exceptions/OFRemoveItemFailedException.h from [c99022b142] to [748863371b].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
	OFString *_path;
	int _errNo;
}

/*!
 * The path of the item which could not be removed.
 */
@property (readonly, copy) OFString *path;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
	OFString *_path;
	int _errNo;
}

/*!
 * The path of the item which could not be removed.
 */
@property (readonly, nonatomic) OFString *path;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFSandboxActivationFailedException.h from [d2232b4386] to [f657c2f2e0].

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
	OFSandbox *_sandbox;
	int _errNo;
}

/*!
 * The sandbox which could not be activated.
 */
@property (readonly, retain) OFSandbox *sandbox;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
	OFSandbox *_sandbox;
	int _errNo;
}

/*!
 * The sandbox which could not be activated.
 */
@property (readonly, nonatomic) OFSandbox *sandbox;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFSeekFailedException.h from [9bb03e7e5f] to [f18e917b11].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	of_offset_t _offset;
	int _whence, _errNo;
}

/*!
 * The stream for which seeking failed.
 */
@property (readonly, retain) OFSeekableStream *stream;

/*!
 * The offset to which seeking failed.
 */
@property (readonly) of_offset_t offset;

/*!







|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	of_offset_t _offset;
	int _whence, _errNo;
}

/*!
 * The stream for which seeking failed.
 */
@property (readonly, nonatomic) OFSeekableStream *stream;

/*!
 * The offset to which seeking failed.
 */
@property (readonly) of_offset_t offset;

/*!

Modified src/exceptions/OFSetOptionFailedException.h from [e3905a469b] to [a575eb3117].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	OFStream *_stream;
	int _errNo;
}

/*!
 * The stream for which the option could not be set.
 */
@property (readonly, retain) OFStream *stream;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	OFStream *_stream;
	int _errNo;
}

/*!
 * The stream for which the option could not be set.
 */
@property (readonly, nonatomic) OFStream *stream;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFStatItemFailedException.h from [020d6b23a7] to [64e41887bc].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
	OFString *_path;
	int _errNo;
}

/*!
 * A string with the path of the item whose status could not be retrieved.
 */
@property (readonly, copy) OFString *path;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
	OFString *_path;
	int _errNo;
}

/*!
 * A string with the path of the item whose status could not be retrieved.
 */
@property (readonly, nonatomic) OFString *path;

/*!
 * The errno of the error that occurred.
 */
@property (readonly) int errNo;

/*!

Modified src/exceptions/OFStillLockedException.h from [ddc25e8052] to [54b7fb893b].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	id <OFLocking> _lock;
}

/*!
 * The lock which is still locked.
 */
@property (readonly, retain) id <OFLocking> lock;

/*!
 * @brief Creates a new, autoreleased still locked exception.
 *
 * @param lock The lock which is still locked
 * @return A new, autoreleased still locked exception
 */







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	id <OFLocking> _lock;
}

/*!
 * The lock which is still locked.
 */
@property (readonly, nonatomic) id <OFLocking> lock;

/*!
 * @brief Creates a new, autoreleased still locked exception.
 *
 * @param lock The lock which is still locked
 * @return A new, autoreleased still locked exception
 */

Modified src/exceptions/OFThreadJoinFailedException.h from [d62a05a018] to [b0a33d7256].

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
	OFThread *_thread;
}

/*!
 * The thread which could not be joined.
 */
@property (readonly, retain) OFThread *thread;

/*!
 * @brief Creates a new, autoreleased thread join failed exception.
 *
 * @param thread The thread which could not be joined
 * @return A new, autoreleased thread join failed exception
 */







|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
	OFThread *_thread;
}

/*!
 * The thread which could not be joined.
 */
@property (readonly, nonatomic) OFThread *thread;

/*!
 * @brief Creates a new, autoreleased thread join failed exception.
 *
 * @param thread The thread which could not be joined
 * @return A new, autoreleased thread join failed exception
 */

Modified src/exceptions/OFThreadStartFailedException.h from [c8ac2ffd49] to [f57d5292ab].

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
	OFThread *_thread;
}

/*!
 * The thread which could not be started.
 */
@property (readonly, retain) OFThread *thread;

/*!
 * @brief Creates a new, autoreleased thread start failed exception.
 *
 * @param thread The thread which could not be started
 * @return A new, autoreleased thread start failed exception
 */







|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
	OFThread *_thread;
}

/*!
 * The thread which could not be started.
 */
@property (readonly, nonatomic) OFThread *thread;

/*!
 * @brief Creates a new, autoreleased thread start failed exception.
 *
 * @param thread The thread which could not be started
 * @return A new, autoreleased thread start failed exception
 */

Modified src/exceptions/OFUnboundNamespaceException.h from [928d59f73b] to [debc56d522].

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
	OFXMLElement *_element;
}

/*!
 * The unbound namespace.
 */
#ifndef __cplusplus
@property (readonly, copy) OFString *namespace;
#else
@property (readonly, copy, getter=namespace) OFString *namespace_;
#endif

/*!
 * The element in which the namespace was not bound.
 */
@property (readonly, retain) OFXMLElement *element;

/*!
 * @brief Creates a new, autoreleased unbound namespace exception.
 *
 * @param namespace_ The namespace which is unbound
 * @param element The element in which the namespace was not bound
 * @return A new, autoreleased unbound namespace exception







|

|





|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
	OFXMLElement *_element;
}

/*!
 * The unbound namespace.
 */
#ifndef __cplusplus
@property (readonly, nonatomic) OFString *namespace;
#else
@property (readonly, nonatomic, getter=namespace) OFString *namespace_;
#endif

/*!
 * The element in which the namespace was not bound.
 */
@property (readonly, nonatomic) OFXMLElement *element;

/*!
 * @brief Creates a new, autoreleased unbound namespace exception.
 *
 * @param namespace_ The namespace which is unbound
 * @param element The element in which the namespace was not bound
 * @return A new, autoreleased unbound namespace exception

Modified src/exceptions/OFUnboundPrefixException.h from [407b972aeb] to [a71ff8c82b].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	OFString *_prefix;
	OFXMLParser *_parser;
}

/*!
 * The unbound prefix.
 */
@property (readonly, copy) OFString *prefix;

/*!
 * The parser which encountered the unbound prefix.
 */
@property (readonly, retain) OFXMLParser *parser;

/*!
 * @brief Creates a new, autoreleased unbound prefix exception.
 *
 * @param prefix The prefix which is unbound
 * @param parser The parser which encountered the unbound prefix
 * @return A new, autoreleased unbound prefix exception







|




|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	OFString *_prefix;
	OFXMLParser *_parser;
}

/*!
 * The unbound prefix.
 */
@property (readonly, nonatomic) OFString *prefix;

/*!
 * The parser which encountered the unbound prefix.
 */
@property (readonly, nonatomic) OFXMLParser *parser;

/*!
 * @brief Creates a new, autoreleased unbound prefix exception.
 *
 * @param prefix The prefix which is unbound
 * @param parser The parser which encountered the unbound prefix
 * @return A new, autoreleased unbound prefix exception

Modified src/exceptions/OFUndefinedKeyException.h from [c3627ed7f5] to [f9eca6d772].

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
	OFString *_key;
	id _value;
}

/*!
 * The object on which the key is undefined.
 */
@property (readonly, retain) id object;

/*!
 * The key which is undefined.
 */
@property (readonly, copy) OFString *key;

/*!
 * The value for the undefined key
 */
@property (readonly, retain) id value;

/*!
 * @brief Creates a new, autoreleased undefined key exception.
 *
 * @param object The object on which the key is undefined
 * @param key The key which is undefined
 *







|




|




|







28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
	OFString *_key;
	id _value;
}

/*!
 * The object on which the key is undefined.
 */
@property (readonly, nonatomic) id object;

/*!
 * The key which is undefined.
 */
@property (readonly, nonatomic) OFString *key;

/*!
 * The value for the undefined key
 */
@property (readonly, nonatomic) id value;

/*!
 * @brief Creates a new, autoreleased undefined key exception.
 *
 * @param object The object on which the key is undefined
 * @param key The key which is undefined
 *

Modified src/exceptions/OFUnknownXMLEntityException.h from [e64939ed60] to [0621e944b7].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	OFString *_entityName;
}

/*!
 * The name of the unknown XML entity.
 */
@property (readonly, copy) OFString *entityName;

/*!
 * @brief Creates a new, autoreleased unknown XML entity exception.
 *
 * @param entityName The name of the unknown XML entity
 * @return A new, autoreleased unknown XML entity exception
 */







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	OFString *_entityName;
}

/*!
 * The name of the unknown XML entity.
 */
@property (readonly, nonatomic) OFString *entityName;

/*!
 * @brief Creates a new, autoreleased unknown XML entity exception.
 *
 * @param entityName The name of the unknown XML entity
 * @return A new, autoreleased unknown XML entity exception
 */

Modified src/exceptions/OFUnlockFailedException.h from [338cc55ad1] to [c826d237ba].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	id <OFLocking> _lock;
}

/*!
 * The lock which could not be unlocked.
 */
@property (readonly, retain) id <OFLocking> lock;

/*!
 * @brief Creates a new, autoreleased unlock failed exception.
 *
 * @param lock The lock which could not be unlocked
 * @return A new, autoreleased unlock failed exception
 */







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	id <OFLocking> _lock;
}

/*!
 * The lock which could not be unlocked.
 */
@property (readonly, nonatomic) id <OFLocking> lock;

/*!
 * @brief Creates a new, autoreleased unlock failed exception.
 *
 * @param lock The lock which could not be unlocked
 * @return A new, autoreleased unlock failed exception
 */

Modified src/exceptions/OFUnsupportedProtocolException.h from [e0d81af19e] to [18c828c8b6].

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
	OFURL *_URL;
}

/*!
 * The URL whose protocol is unsupported.
 */
@property (readonly, retain) OFURL *URL;

/*!
 * @brief Creates a new, autoreleased unsupported protocol exception.
 *
 * @param URL The URL whose protocol is unsupported
 * @return A new, autoreleased unsupported protocol exception
 */







|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
	OFURL *_URL;
}

/*!
 * The URL whose protocol is unsupported.
 */
@property (readonly, nonatomic) OFURL *URL;

/*!
 * @brief Creates a new, autoreleased unsupported protocol exception.
 *
 * @param URL The URL whose protocol is unsupported
 * @return A new, autoreleased unsupported protocol exception
 */

Modified src/exceptions/OFUnsupportedVersionException.h from [5edcb1131f] to [9f155bbade].

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	OFString *_version;
}

/*!
 * The version which is unsupported.
 */
@property (readonly, copy) OFString *version;

/*!
 * @brief Creates a new, autoreleased unsupported version exception.
 *
 * @param version The version which is unsupported
 * @return A new, autoreleased unsupported version exception
 */







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
	OFString *_version;
}

/*!
 * The version which is unsupported.
 */
@property (readonly, nonatomic) OFString *version;

/*!
 * @brief Creates a new, autoreleased unsupported version exception.
 *
 * @param version The version which is unsupported
 * @return A new, autoreleased unsupported version exception
 */

Modified tests/RuntimeTests.m from [ba845e988f] to [18f9bfe4a7].

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@end

@interface RuntimeTest: OFObject
{
	OFString *_foo, *_bar;
}

@property (copy, nonatomic) OFString *foo;
@property (retain) OFString *bar;

- (id)nilSuperTest;
@end

@implementation RuntimeTest
@synthesize foo = _foo;







|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@end

@interface RuntimeTest: OFObject
{
	OFString *_foo, *_bar;
}

@property (nonatomic, copy) OFString *foo;
@property (retain) OFString *bar;

- (id)nilSuperTest;
@end

@implementation RuntimeTest
@synthesize foo = _foo;