1 |
2003-09-10 David Ayers <d.ayers@inode.at> |
2 |
|
3 |
* EOControl/EOFault.m |
4 |
(+[EOFault respondsToSelector:]): Use GSObjCRuntime functions and |
5 |
correct casts. |
6 |
(-[EOFault respondsToSelector:]): Correct casts. |
7 |
|
8 |
* EOControl/EOKeyComparisonQualifier.m |
9 |
* EOControl/EOKeyValueCoding.m |
10 |
* EOControl/EOKeyValueQualifier.m |
11 |
* EOControl/EOQualifier.m |
12 |
* EOControl/EOSortOrdering.m |
13 |
(-[NSObject compare:]): Add declaration to prepare for removal |
14 |
of declaration from -base. |
15 |
(-[EOKeyComparisonQualifier evaluateWithObject:]): Adapt vraiables |
16 |
and casts to use correct prototype. |
17 |
(-[EOKeyValueQualifier evaluateWithObject:]): Ditto |
18 |
(-[NSArray computeMaxForKey:]): Ditto. |
19 |
(-[NSArray computeMinForKey:]): Ditto. |
20 |
|
21 |
2003-08-25 Matt Rice <ratmice@yahoo.com> |
22 |
|
23 |
* *.h/m: Updated to new header layout. |
24 |
* Tools/eoutil.m: Added missing include. |
25 |
|
26 |
2003-08-23 David Ayers <d.ayers@inode.at> |
27 |
|
28 |
* EOControl/EOKeyValueCoding.h/m: Rewritten and documented. |
29 |
Declared and documented EOKeyValueCoding categories currently |
30 |
implemented by gnustep-base/Foundation in NSKeyValueCoding. |
31 |
Removed FOUNDATION_HAS_KVC conditionals as gnustep-base/Foundation |
32 |
implement NSKeyValueCoding. |
33 |
(-[NSObject takeStoredValuesFromDictionary:]): Added declaration |
34 |
reportedly missing in Apple's headers to compelte EOKeyValueCoding |
35 |
declarations. |
36 |
Most implementations rewritten. |
37 |
|
38 |
* EOControl/EONull.h/m: Define EONull to NSNull to allow pointer |
39 |
equality checks. Implement EONull as NSNull subclass that returns |
40 |
the NSNull instance. Remove old assertions. |
41 |
|
42 |
2003-07-11 David Ayers <d.ayers@inode.at> |
43 |
|
44 |
* *.m: Include GNUstep.h if GNUSTEP is not defined for OS X. |
45 |
|
46 |
2003-06-26 Manuel Guesdon <mguesdon@orange-concept.com> |
47 |
* config.h.in: |
48 |
o added EMIT_TODO control |
49 |
* EOAccess/EOAccessFault.m: |
50 |
o commented debug logs |
51 |
* EOAccess/EODatabaseContext.m: |
52 |
o more information in asserts |
53 |
o asserts |
54 |
o fix in -relayPrimaryKey:object:entity: for |
55 |
nil 1:1 relationship value |
56 |
o add -forgetSnapshotForGlobalID call in -refaultObject:withGlobalID:editingContext: |
57 |
o add -forgetSnapshotForGlobalID database call in -forgetSnapshotForGlobalID: |
58 |
* EOAccess/EOEntity.m: |
59 |
o logs |
60 |
o fix in -awakeObject:fromInsertionInEditingContext: to avoid |
61 |
setting already present values |
62 |
o reverted code in -awakeObject:fromInsertionInEditingContext: |
63 |
My (old) tests show that we create 1: object not on |
64 |
mandatory property but on propagatesPrimaryKey one |
65 |
if someone has an example of EOF creating an object |
66 |
here without propagatesPrimaryKey, please send it to me. |
67 |
* EOAccess/EOModelGroup.m: |
68 |
o don't autorelease return model group in -globalModelGroup as it will crash. I haven't find why :-( |
69 |
o logs |
70 |
|
71 |
* EOAccess/EOSQLExpression.m: |
72 |
o fix bug in -assembleSelectStatementWithAttributes:lock:qualifier: |
73 |
fetchOrder:selectString:columnList:tableList: |
74 |
whereClause:joinClause:orderByClause:lockClause: |
75 |
by adding () around where and join clause |
76 |
o add detail in sqlStringForSelector:value: exception |
77 |
* EOAdaptors/Postgres95/PostPostgres95Channel.m: |
78 |
o add more information on exceptions |
79 |
* EOAdaptors/Postgres95/Postgres95SQLExpression.m: |
80 |
o fix escaping string in -formatValue:forAttribute: |
81 |
o fix bug in -assembleSelectStatementWithAttributes:lock:qualifier: |
82 |
fetchOrder:selectString:columnList:tableList: |
83 |
whereClause:joinClause:orderByClause:lockClause: |
84 |
by adding () around where and join clause |
85 |
* EOAdaptors/Postgres95/Postgres95Value.m: |
86 |
o Change log in +newValueForDateType:length:attribute: |
87 |
* EOControl/EOCheapArray.m |
88 |
o removed some logs |
89 |
* EOAccess/EOClassDescription.m: |
90 |
o fix in -validateForUpdate |
91 |
o logs |
92 |
* EOControl/Debug.h: |
93 |
o donditional define of NSEmitTODO() |
94 |
* EOControl/EODetailDataSource.h/.m: |
95 |
o added -setDetailKey: |
96 |
* EOControl/EOEditingContext.m |
97 |
o logs |
98 |
* EOControl/EOFetchSpecification.m |
99 |
o logs |
100 |
* EOControl/EOKeyValueCoding.m: |
101 |
o fix in computeSum, computeAverage |
102 |
* EOControl/EOQualifier.m |
103 |
o logs |
104 |
* EOControl/EOSortOrdering.m |
105 |
o use valueForKeyPath: instead of valueForKey: to allow sort on related objects |
106 |
* EOControl/EOUndoManager.h |
107 |
o protection of include |
108 |
|
109 |
2003-06-23 David Ayers <d.ayers@inode.at> |
110 |
|
111 |
* EOControl/EONSAddOns.h/m: |
112 |
([NSString -parsedFirstVersionSubstring]): New method. |
113 |
* EOAdaptors/Postgres95/Postgres95Adaptor.h/m: Added include of |
114 |
pg_config.h to access PG_VERSION. Added databaseVersion to list |
115 |
of meaningful connectionDictionary keys. |
116 |
(postgresClientVersion): New function. |
117 |
* EOAdaptors/Postgres95/Postgres95Channel.h/m: Added instance |
118 |
variable to hold the version of the database server. |
119 |
(pgResultDictionary): New static function for debuging. |
120 |
([Postgres95Channel -_readServerVersion]): New method to set Server |
121 |
Version. |
122 |
([Postgres95Channel -openChannel]): Call _readServerVersion method. |
123 |
([Postgres95Channel -describeTableNames]): Adapt select statement |
124 |
according to database version. |
125 |
* Postgres95/Postgres95SQLExpression.m: |
126 |
([Postgres95SQLExpression +dropTableStatementsForEntityGroup:]): |
127 |
Adapt select statement according to database version supplied in |
128 |
connectionDictionary of the entites model. |
129 |
|
130 |
2003-06-22 David Ayers <d.ayers@inode.at> |
131 |
|
132 |
* EOControl/EOFault.m ([EOFault -respondsToSelector:]): Adapt to |
133 |
current GSObjCRuntime API. |
134 |
* EOControl/EOUndoManager.h: Correct includes. |
135 |
* EOAdaptors/Postgres95/Postgres95Channel.m |
136 |
([Postgres95Channel -describeTableNames]): Removed incorrect code |
137 |
left by copy and paste action. Reported by Markus Hitter |
138 |
<mah@jumping.de>. |
139 |
|
140 |
2003-06-01 David Ayers <d.ayers@inode.at> |
141 |
|
142 |
* gdl2.make.in: Set GDL2 as auxiliary preprocessor flag. |
143 |
|
144 |
2003-05-22 David Ayers <d.ayers@inode.at> |
145 |
|
146 |
* config/postgres.m4: Added /usr/include/postgresql to include |
147 |
search path. |
148 |
* EOControl/EOClassDescription.m |
149 |
([EOClassDescription +classDescriptionForClass:): Replaced |
150 |
deprecated GSObjCName() with GSNameFromClass(). |
151 |
* EOControl/EOQualifier.m |
152 |
([EOQualifier +qualifierWithQualifierFormat:varargList:]): Replaced |
153 |
deprecated GSObjCSelectorName() with GSNameFromSelector(). |
154 |
|
155 |
2003-05-20 David Ayers <d.ayers@inode.at> |
156 |
|
157 |
* EOControl/EOFault.m ([EOFault respondsToSelector:]): Temporarily |
158 |
add private declaration of GSObjCGetMethod() until the replacement |
159 |
is in place. |
160 |
|
161 |
2003-05-16 David Ayers <d.ayers@inode.at> |
162 |
|
163 |
* EOAccess/EOAttribute.m ([EOAttribute -encodeIntoPropertyList:]): |
164 |
Encode missing aattributes as reported by Dirk Lattermann. Also |
165 |
corrected encoding of parameterDirection. |
166 |
([EOAttribute initWithPropertyList:owner:]): Corrected parsing of |
167 |
parameterDirection to account for WO 4.5 compatibility and |
168 |
previous encodings. |
169 |
|
170 |
2003-05-14 David Ayers <d.ayers@inode.at> |
171 |
|
172 |
* EOAccess/EODatabaseDataSource.m ([EODatabaseDataSource |
173 |
-initWithEditingContext:entityName:fetchSpecificationName:]): |
174 |
Create default fetch specification if we cannot obtain one from |
175 |
the entity by name as reported by Dirk Lattermann. |
176 |
* EOAccess/EOEntity.h/m |
177 |
([EOEntity -addFetchSpecification:withName:]): Corrected name and |
178 |
initialization as reported by Dirk Lattermann. |
179 |
|
180 |
2003-05-08 David Ayers <d.ayers@inode.at> |
181 |
|
182 |
* EOControl/EOObjectStoreCoordinator.m ([EOObjectStoreCoordinator |
183 |
+initialize]): Insure EODatabaseContext is setup to receive |
184 |
notifications. |
185 |
* EOControl/EOKeyGlobalID.m ([EOKeyGlobalID |
186 |
+globalIDWithEntityName:keys:keyCount:zone:]): Use AUTORELEASE |
187 |
instead of autorelease. |
188 |
* EOControl/EOFault.m ([EOFault +initialize]): Fix initialization |
189 |
of cached class variable. |
190 |
* EOAccess/EODatabaseContext.m |
191 |
([EODatabaseContext -dealloc]): Corrected debug logs. |
192 |
([EODatabaseContext +databaseContextWithDatabase:]): Use |
193 |
AUTORELEASE instead of autorelease. |
194 |
([EODatabaseContext -initWithDatabase:]): Ditto. |
195 |
([EODatabaseContext |
196 |
-objectsWithFetchSpecification:editingContext:]): Ditto. |
197 |
([EODatabaseContext |
198 |
-_dbOperationWithGlobalID:object:entity:operator:]): Ditto. |
199 |
([EODatabaseContext -recordChangesInEditingContext]): Ditto. |
200 |
([EODatabaseContext |
201 |
-relayAttributesInRelationship:sourceObject:destinationObject:]): |
202 |
Ditto. |
203 |
([EODatabaseContext |
204 |
-createAdaptorOperationsForDatabaseOperation:attributes:]): |
205 |
Ditto. |
206 |
([EODatabaseContext -_fireFault:]): Ditto. |
207 |
([EODatabaseContext -_batchToOne:withHandler:]): Ditto. |
208 |
([EODatabaseContext -_commitTransaction]): Ditto. |
209 |
([EODatabaseContext -handleDroppedConnection]): Use |
210 |
RELEASE instead of release. |
211 |
([EODatabaseContext -databaseOperationForObject:]): Ditto. |
212 |
([EODatabaseContext -_fireArrayFault:]): Ditto. |
213 |
|
214 |
2003-05-05 David Ayers <d.ayers@inode.at> |
215 |
|
216 |
* EOAccess/EOEntity.m: Replaced autorelease with AUTORELEASE. |
217 |
([EOEntity -addRelationship:]): Update _relationshipByName cache. |
218 |
|
219 |
2003-05-02 David Ayers <d.ayers@inode.at> |
220 |
|
221 |
* EOControl/EOKeyValueCoding.h: Use base/Foundation |
222 |
NSUnknownKeyException for EOUnknownKeyException to allow use of |
223 |
base/Foundation NSKeyValueCoding. |
224 |
* EOControl/EOKeyValueCoding.m: Add EOTargetObjectUserInfoKey and |
225 |
EOUnknownUserInfoKey. |
226 |
([NSObject +flushAllKeyBindings]): Add method. |
227 |
* GNUmakefile: Remove setting of GNUSTEP_MAKEFILES. |
228 |
* EOAccess/GNUmakefile: Ditto. |
229 |
* EOAdaptors/GNUmakefile.in: Ditto. |
230 |
* EOAdaptors/Postgres95/GNUmakefile.in: Ditto. |
231 |
* EOControl/GNUmakefile: Ditto. |
232 |
* EOModeler/GNUmakefile: Ditto. |
233 |
* Tools/GNUmakefile: Ditto. |
234 |
* EOAccess/EOSQLExpression.m: Import GSCategories.h only for |
235 |
NeXT_Foundation_Library. |
236 |
* EOControl/EOKeyValueCoding.m: Ditto. |
237 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext -setDelegate:]): |
238 |
Fixed assignment in while loop as reported by Stephane Corthesy. |
239 |
* EOControl/EOAndQualifier.m |
240 |
([EOAndQualifier +qualifierWithQualifiers:]), |
241 |
([EOAndQualifier -initWithQualifiers:]): Use GS_USEIDLIST to |
242 |
optimize vararg list to array conversion. |
243 |
* EOControl/EOOrQualifier.m |
244 |
([EOOrQualifier +qualifierWithQualifiers:]), |
245 |
([EOOrQualifier -initWithQualifiers:]): Ditto. |
246 |
* EOControl/EOClassDescription.m |
247 |
([EOClassDescription +classDelegate]): Make access to static |
248 |
variable thread safe. |
249 |
* EOControl/EOEdtitingContext.m: Added declarations to avoid |
250 |
compiler warnings. |
251 |
|
252 |
2003-05-02 Stephane Corthesy <stephane@sente.ch> |
253 |
|
254 |
* EOControl/EOControl.h: Added inclusion of EOArrayDataSource.h. |
255 |
* EOControl/EOEdtitingContext.m: Added declaration of |
256 |
+[EOEditingContext(EOEditingContextPrivate) |
257 |
_observeUndoManagerNotifications] to avoid compiler warnings. |
258 |
* EOControl/EONSAddOns.m ([NSObject |
259 |
-resultsOfPerformingSelector:withEachObjectInArray:defaultResult:]): |
260 |
Added cast to avoid compiler warning. |
261 |
|
262 |
2003-04-18 Mirko Viviani <mirko@objectlab.org> |
263 |
|
264 |
* EOAccess/EOAttribute.m ([EOAttribute -awakeWithPropertyList:]): set |
265 |
the prototype. |
266 |
([EOAttribute -encodeIntoPropertyList:]): likewise. |
267 |
([EOAttribute -serverTimeZone]): return the value from the prototype. |
268 |
([EOAttribute -columnName]): likewise. |
269 |
([EOAttribute -readFormat]): likewise. |
270 |
([EOAttribute -writeFormat]): likewise. |
271 |
([EOAttribute -scale]): likewise. |
272 |
([EOAttribute -precision]): likewise. |
273 |
([EOAttribute -width]): likewise. |
274 |
([EOAttribute -allowsNull]): likewise. |
275 |
([EOAttribute -isReadOnly]): likewise. |
276 |
([EOAttribute -valueClassName]): likewise. |
277 |
([EOAttribute -externalType]): likewise. |
278 |
([EOAttribute -valueType]): likewise. |
279 |
|
280 |
* EOAccess/EOAttribute.h: removed ivar _prototypeName. |
281 |
|
282 |
* EOAccess/EOModel.m ([EOModel -prototypeAttributeNamed:]): implemented. |
283 |
* EOAccess/EOAdaptor.m|.h ([EOAdaptor -prototypeAttributes]): renamed |
284 |
from +prototypes and implemented. |
285 |
|
286 |
2003-04-15 Mirko Viviani <mirko@objectlab.org> |
287 |
|
288 |
* EOAccess/EOAdaptorContext.h: include EODefines.h and NSString.h |
289 |
|
290 |
2003-04-01 David Ayers <d.ayers@inode.at> |
291 |
|
292 |
* EOControl/EODeprecated.h: Replaces EODepricated.h. |
293 |
The original post was correct. Sorry! |
294 |
* EOAccess/EODeprecated.h: Ditto. |
295 |
* EOAccess/GNUmakefile: Ditto. |
296 |
* EOControl/EOUndoManager: Ditto. |
297 |
|
298 |
* EOControl/EOClassDescription: Added some comments. Tidied line |
299 |
breakage. |
300 |
([EOClassDescription +delegete]): Moved to category named Deprecated. |
301 |
([EOClassDescription +setDelegate:]): Ditto. |
302 |
([EOClassDescription -displayNameForKey:]): Use AUTORELEASE macro. |
303 |
([NSObject -snapshot]): Ditto. |
304 |
([NSObject -updateFromSnapshot]): Ditto. |
305 |
([NSObject -addObject:toPropertyWithKey:]): Ditto. |
306 |
([NSObject -removeObject:fromPropertyWithKey:]): Ditto. |
307 |
([NSException +validateExceptionWithFormat:]): Ditto. |
308 |
([NSException +aggregateExceptionWithExceptions:]): Ditto. |
309 |
([NSException -exceptionAddingEntriesToUserInfo:]): Ditto. |
310 |
* EOControl/EOKeyValueCoding.h/m: |
311 |
([NSObject unableToSetNullForKey:]): Implemented. |
312 |
|
313 |
|
314 |
2003-03-31 David Ayers <d.ayers@inode.at> |
315 |
|
316 |
* EOControl/EOFault.m ([EOFault respondsToSelector:]): Replaced |
317 |
usage of potential future runtime function name with current |
318 |
function name. |
319 |
|
320 |
2003-03-30 David Ayers <d.ayers@inode.at> |
321 |
|
322 |
* *.h/m, *.h/m): |
323 |
Used #include instead of depricated #import. Avoid including |
324 |
entire library headers. Use export macro where applicable. |
325 |
|
326 |
* EOControl/GNUmakefile: Removed EOKeyValueCodingBase.m/h and |
327 |
EOUndoMananger.h. Added EOArrayDataSource.m/h, EODefines.h |
328 |
and EODepricated.h. |
329 |
* EOControl/EODefines.h: Updated for GDL2 & gnustep-make. |
330 |
* EOControl/EODebug.h: Updated. |
331 |
* EOControl/EODepricated.h: Updated for current state of GDL2. |
332 |
([NSObject +flushClassKeyBindings]): Added declaration. |
333 |
([EOClassDescription +setDelegate:]): Added declaration. |
334 |
([EOClassDescription +delegate]): Added declaration. |
335 |
(EOUndoManager): Moved declaration of interface here. |
336 |
* EOControl/EOKeyValueCoding.m |
337 |
([EOClassDescription +flushClassKeyBindings]): Added empty |
338 |
implementation. |
339 |
([NSObject takeStoredValuesFromDictionary:]): Cache EONull |
340 |
instance and use it instead of isKindOfClass:. |
341 |
* EOControl/EOEditingContext.m |
342 |
([EOEditingContext +initialize]): Tidied. |
343 |
([EOEditingContest -deleteObject]): Use NSUndoManager instead of |
344 |
EOUndoManager. |
345 |
* EOControl/EOQualifier.m |
346 |
([NSArray -filteredArrayUsingQualifier:]): Added minor |
347 |
optimization tweak. |
348 |
* EOControl/EOClassDescription.m: Removed inactive commented |
349 |
code. Added private declerations of EOAccess methods to avoid |
350 |
compiler warnings. |
351 |
([EOClassDescription +initialize]): Tidied. |
352 |
([EOClassDescription -classDescriptionForClass:]): Use |
353 |
GSObjCName() instead of objc runtime routines. |
354 |
* EOControl/EOFault.m: Exchanged direct usages of ObjC runtime |
355 |
routines with NS/GSObjCRuntime abstraction API. |
356 |
([EOFault +superclass]): Ditto. |
357 |
([EOFault +targetClassForFault:]): Ditto. |
358 |
([EOFault -respondsToSelector:]): Ditto. |
359 |
([EOFault +initialize]): Cache static class variable. |
360 |
([EOFault +isKindOfClass]): Use static class variable. |
361 |
([EOFault +handlerForFault:]): Ditto. |
362 |
([EOFault +targetClassForFault:]): Ditto. |
363 |
([EOFault -dealloc]): Ditto. |
364 |
* EOControl/EOGenericRecord.m: |
365 |
([EOGenericRecord +initialize]): Tidied. |
366 |
* EOControl/EOKeyComparisonQualifier.m: Tidied documentation. |
367 |
* EOControl/EOKeyValueQualifier.m: Ditto. |
368 |
* EOControl/EONSAddOns.h/m: Added declarations to surpress |
369 |
compiler warnings. |
370 |
([NSObject -eoCompareOnName:]): Adjusted casts to surpress |
371 |
compiler warnings. |
372 |
(GSUseStrictWO451Compatibility): Added function. |
373 |
(GDL2GlobalLock, GDL2GlobalRecursive): Ditto. |
374 |
* EOControl/EONull: Remove implementations for foundation |
375 |
libraries without key value coding and fully rely on NSNull. |
376 |
Added assertions in all intance methods as instances should never |
377 |
be created. |
378 |
([EONull +allocWithZone:]) Corrected method name so it will |
379 |
actually be used. |
380 |
* EOControl/EOSortOrdering.m |
381 |
([NSArray sortedArrayUsingKeyOrderArray:]): Tidied. |
382 |
([NSMutableArray sortUsingKeyOrderArray:]): Ditto. |
383 |
([EONull compareAscending:]): Sync with referencs implementation. |
384 |
([EONull compareDescending:]): Ditto. |
385 |
([EONull compareCaseInsensitiveAscending:]): Ditto. |
386 |
([EONull compareCaseInsensitiveDescending:]): Ditto. |
387 |
|
388 |
* EOAccess/EOAdaptor.h: Added comment about API compatibility. |
389 |
* EOAccess/EOAdaptor.m ([EOAdaptor -contexts]): Return array of |
390 |
adaptor contexts rather tham GC-wrapper objects containing adaptor |
391 |
contexts. |
392 |
([EOAdaptor -databaseEncoding]): Use GSEncodingName() instead of |
393 |
GetEncodingName(). |
394 |
* EOAccess/EODatabaseContext.m |
395 |
([EODatabaseContext -_turnFault:gid:editingContext:isComplete:]): |
396 |
Use GSObjCClass() instead of trying to access isa by dereferencing |
397 |
from id with incorrect member. |
398 |
* EOAccess/EOModel.m ([EOModel -entityNames]): Sort returned array |
399 |
to insure comparable output. |
400 |
* EOAccess/EOSQLExpression.m |
401 |
([EOSQLExpression sqlStringForArrayOfQualifiers:operation:]): |
402 |
Added cast to surpress compiler warning. |
403 |
* EOAccess/EOUtilities.m |
404 |
([EOObjectStoreCoordinator setModelGroup:]): Ditto. |
405 |
* EOAccess/EORelationship.h ([EORelationship -docComment]): |
406 |
Added declaration. |
407 |
* EOAccess/GNUmakefile: Added EODefines.h and EODepricated.h. |
408 |
|
409 |
* Tools/*.m: Use RCS_ID macro. |
410 |
* Tools/EOAttribute+GSDoc.h: |
411 |
([EOAttribute gsdocContentWithTagName:idPtr:]): Corrected Typo. |
412 |
* Tools/EOModel+GSDoc.h/m: |
413 |
([EOModel gsdocContentSplittedByEntities:idPtr:]): Ditto. |
414 |
* Tools/EORelationship+GSDoc.m: |
415 |
([EORelationship gsdocContentWithTagName:idPtr:]): Change variable |
416 |
type to supress compiler warnings. |
417 |
* Tools/eoutil.m (dump): Initialize variables to supress compiler |
418 |
warnings. |
419 |
* Tools/gsdoc-model.m: Include GSCategories.h to supress compiler |
420 |
warnings. |
421 |
(main): Added cast to supress compiler warning. Fixed typo in |
422 |
method invocation. |
423 |
|
424 |
2003-03-25 Stephane Corthesy <stephane@sente.ch> |
425 |
|
426 |
* EOControl/EODefines.h: Added new file for export/win32 support. |
427 |
* EOControl/EODepricated.h: Added new file for depricated features. |
428 |
* EOControl/EOControl.h: Added EOArrayDataSource.h and EODefines.h. |
429 |
* EOControl/EOArrayDataSource.h/m: Added new files. Some methods |
430 |
(<NSCoding> and qualifier bindings) are empty stubs. |
431 |
* EOControl/EODebug.h: Use export macro instead of explicit extern for |
432 |
function and symbol declarations. |
433 |
* EOControl/EOGlobalID.h: Ditto. |
434 |
* EOControl/EONull.h: Ditto. |
435 |
* EOControl/EOObjectStore.h: Ditto. |
436 |
* EOControl/EOOrQualifier.m: Replaced autorelease by AUTORELEASE |
437 |
and fixed typo. |
438 |
* EOControl/EOQualifier.m |
439 |
([NSArray -filteredArrayUsingQualifier:]): Implemented. |
440 |
* EOControl/EONSAddOns.m: Use volatile in some exception handlers |
441 |
(man longjmp for more info). |
442 |
* EOControl/EOSortOrdering.h/m |
443 |
([EOSortOrdering -copyWithZone:]): Implemented <NSCopying>. |
444 |
([EOSortOrdering -encodeWithKeyValueArchiver:]): Implemented. |
445 |
|
446 |
* EOAccess/EODefines.h: Added new file for export/win32 support. |
447 |
* EOAccess/EODepricated.h: Added new file for depricated features. |
448 |
* EOAccess/EOAccess.h: Added EODefines.h. |
449 |
* EOAccess/EOSQLExpression.h/m: Fixed typo for |
450 |
EOPrimaryKeyConstraintKey. |
451 |
* EOAccess/EOExpressionArray.h/m: Use volatile for variables usein |
452 |
in exception handlers. (man longjmp for more info) |
453 |
* EOAccess/EODatabase.h: Use export macro instead of explicit |
454 |
extern for function and symbol declarations. |
455 |
* EOAccess/EOEntity.h: Ditto. |
456 |
* EOAccess/EOModel.h: Ditto. |
457 |
* EOAccess/EOSchemaGeneration.h: Ditto. |
458 |
* EOAccess/EOSQLExpression.h: Ditto. |
459 |
* EOAccess/EOUtilities.h: Ditto. |
460 |
* Tools/eoutil.m (dump): Implemented use of -postinstall option. |
461 |
Corrected bug when getting adaptor's expression class. Renamed |
462 |
symbol EOPrimaryKeyContraintsKey into EOPrimaryKeyConstraintsKey. |
463 |
|
464 |
2003-03-21 Manuel Guesdon <mguesdon@orange-concept.com> |
465 |
* EOAccess/EODatabaseContext.m: |
466 |
o added assert in _primaryKeyForObject: |
467 |
o in -recordChangesInEditingContext test |
468 |
nil/eonull on relationshipCommitedSnapshotValue and |
469 |
relationshipSnapshotValue instead of only nil testing |
470 |
o in -recordChangesInEditingContext fix for value changing |
471 |
testing when commitedSnapshotValue is nil/EONull |
472 |
|
473 |
* EOAccess/EOEntity.m: |
474 |
o logs |
475 |
o fix in inverseRelationshipClassPropertyNames to test on |
476 |
destination entity property names |
477 |
* EOControl/EOClassDescription.m: |
478 |
o logs |
479 |
* EOControl/GNUmakefile: |
480 |
o added EONSAddOns.h |
481 |
* EOCOntrol/EOKeyValueCoding.m: |
482 |
o fixes in NSArray -computeXXForKey: |
483 |
* EOAccess/EOSQLExpression.m: |
484 |
o assert in -sqlStringForKeyValueQualifier: |
485 |
o -sqlStringForArrayOfQualifiers:operation: |
486 |
hanlde different qualifier cases using isKindOfClass: |
487 |
may probably be improved |
488 |
o logs |
489 |
* EOControl/EOEditingContext.m: |
490 |
o fix in unprocessedInfo (invert/change swap). |
491 |
* EOControl/EOQualifier.m |
492 |
o -qualifierWithQualifierFormat:varargList: |
493 |
raise exception if operator is unknwon |
494 |
* EOControl/EOMutableKnownKeyDictionary.m: |
495 |
o add precision in exception message |
496 |
* EOAccess/EORelationship.m: |
497 |
o more info in some logs |
498 |
o fix in -_sourceRowToForeignKeyMapping for foreign keys |
499 |
which are not in primaryKey. |
500 |
* EOControl/EODatabaseOperation.m: |
501 |
o in -setDatabaseOperator: Don't Delete a not inserted object |
502 |
* EOControl/EOAccessFault.m: |
503 |
o logs |
504 |
o EOAccessFaultHandler: -dealloc fix: call super dealloc |
505 |
o implement faultWillFire: This fix a hard memory problem |
506 |
* EOControl/EOFault.m: |
507 |
o -dealloc: fix possible infinite loop |
508 |
o logs |
509 |
* EOCheapCopyArray.m: |
510 |
o ucomment retain/release/... |
511 |
o fix shallowCopy for memory management. |
512 |
This was causing hard memory trouble |
513 |
|
514 |
2003-03-12 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
515 |
|
516 |
* EOControl/EOClassDescription.m ([EOClassDescription +initialize]): |
517 |
initialize (if present) the default model group. This helps |
518 |
+classDescriptionFor* to work correctly. |
519 |
|
520 |
2003-03-06 David Ayers <d.ayers@inode.at> |
521 |
|
522 |
* config/postgres.m4: Updated CPPFLAGS and LIBS to account for |
523 |
distributions default installations. |
524 |
* configure: Regenerated. |
525 |
|
526 |
* Tools/EOAttribute+GSDoc.m ([EOAttribute -gsdocContentWithPtr:]): |
527 |
Removed superfluous semicolon in method definition. |
528 |
|
529 |
* EOAccess/EODatabaseContext.m: Fixed minor typo in comment. |
530 |
|
531 |
* EOAccess/EOEntity.m ([EOEntity -description]): Return the |
532 |
description of the encoded property list. |
533 |
([EOEntity -debugDescription]): Implements original description |
534 |
method. |
535 |
([EOEntity -classProperties]): Added cast to supress compiler |
536 |
warning. |
537 |
|
538 |
2003-02-24 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
539 |
|
540 |
* EOAccess/EOUtilities.h: added EOObjectStoreCoordinator. |
541 |
|
542 |
2003-02-17 David Ayers <d.ayers@inode.at> |
543 |
|
544 |
* EOControl/EOSortOrdering.m: Added documentation. |
545 |
Check FOUNDATION_HAS_KVC to determine whether EONull categories |
546 |
should be applied to NSNull instead. |
547 |
([EOSortOrdering +sortOrderingWithKey:selector:]): Use AUTORELEASE |
548 |
instead of -autorelease. |
549 |
([EOSortOrdering -initWithKey:selector:]): Use ASSIGNCOPY instead |
550 |
of ASSIGN to set key to insure immutability. |
551 |
([EOSortOrdering -description]): Implemented. |
552 |
([NSArray (EOKeyBasedSorting) compareUsingSortOrderings()): New |
553 |
function. |
554 |
([NSArray (EOKeyBasedSorting) -sortedArrayUsingKeyOrderArray:]): |
555 |
Reimplemented using [NSArray -sortedArrayUsingFunction:context:] |
556 |
with new compareUsingSortOrderings() function. |
557 |
([NSMutableArray (EOKeyBasedSorting) -sortUsingKeyOrderArray:]): |
558 |
Reimplemented using [NSMutableArray -sortUsingFunction:context:] |
559 |
with new compareUsingSortOrderings() function. |
560 |
([NSMutableArray -_sortUsingKeyOrder:fromIndex:count:]): Removed. |
561 |
|
562 |
|
563 |
2003-02-13 David Ayers <d.ayers@inode.at> |
564 |
|
565 |
* EOControl/EOAndQualifier.m: Added documentation. |
566 |
([EOAndQualifier +qualifierWithQualifiers:]), |
567 |
([EOAndQualifier -initWithQualifiers:]): Synchronize implementation. |
568 |
([EOAndQualifier -initWithQualifierArray:]): Change ASSIGN to |
569 |
ASSIGNCOPY when setting qualifier array (insuring immutability). |
570 |
([EOAndQualifier -copyWithZone:]): remove (use implementation from |
571 |
superclass). |
572 |
|
573 |
* EOControl/EOKeyComparisonQualifier.m: Added documentation. |
574 |
([EOKeyComparisonQualifier |
575 |
+qualifierWithLeftKey:operatorSelector:rightKey:]): Use |
576 |
AUTORELEASE() instead of -autorelease. |
577 |
([EOKeyComparisonQualifier |
578 |
-initWithLeftKey:operatorSelector:rightKey:]): Use ASSIGNCOPY |
579 |
instead of ASSIGN to insure immutable keys. Added comment about |
580 |
possible selector assertion. |
581 |
([EOKeyComparisonQualifier -copyWithZone:]): remove (use |
582 |
implementation from superclass). |
583 |
([EOKeyComparisonQualifier -evaluateWithObject:]): Try to call the |
584 |
receivers selector before attempting to fallback on other |
585 |
mechanisms to evaluate the object. Adjusted local variable names |
586 |
and fixed fallback Equal, NotEqual and Contains comparisons. |
587 |
([EOKeyComparisonQualifier -description]): Fall back to |
588 |
NSStringFromSelector() if +stringForOperatorSelector returns nil. |
589 |
|
590 |
* EOControl/EOKeyValueQualifier.m: Added documentation |
591 |
([EOKeyValueQualifier +qualifierWithKey:operatorSelector:value:]): Use |
592 |
AUTORELEASE() instead of -autorelease. |
593 |
([EOKeyValueQualifier -initWithKey:operatorSelector:value:]): Use |
594 |
ASSIGNCOPY instead of ASSIGN to insure immutable key. Added |
595 |
comment about possible selector assertion. |
596 |
([EOKeyValueQualifier -copyWithZone:]): remove (use implementation |
597 |
from superclass). |
598 |
([EOKeyValueQualifier -evaluateWithObject:]): Try to call the |
599 |
receivers selector before attempting to fallback on other |
600 |
mechanisms to evaluate the object. Adjusted local variable names |
601 |
and fixed fallback Equal, NotEqual and Contains comparisons. |
602 |
([EOKeyValueQualifier -description]): Fall back to |
603 |
NSStringFromSelector() if +stringForOperatorSelector returns nil. |
604 |
|
605 |
* EOControl/EONotQualifier.m: Added documentation. |
606 |
([EONotQualifier -copyWithZone:]): remove (use implementation from |
607 |
superclass). |
608 |
([EONotQualifier -evaluateWithObject:]): Implemented. |
609 |
|
610 |
* EOControl/EOOrQualifier.m: Added documentation. |
611 |
([EOOrQualifier +qualifierWithQualifiers:]), |
612 |
([EOORQualifier -initWithQualifiers:]): Synchronize implementation. |
613 |
([EOOrQualifier -copyWithZone:]): remove (use implementation from |
614 |
superclass). |
615 |
([EOOrQualifier -evaluateWithObject:]): Corrected implementation. |
616 |
|
617 |
* EOControl/EOQualifier.m: Added documentation |
618 |
([EOQualifier +initialize]), (getKey()): Replace autorelease with |
619 |
AUTORELEASE(). |
620 |
([EOQualifier -copyWithZone:]): RETAIN() instead of NSCopyObject(). |
621 |
([EOQualifier +variableWithKey:]): Corrected implementation. |
622 |
|
623 |
2003-02-06 David Ayers <d.ayers@inode.at> |
624 |
|
625 |
* EOAccess/EOModel.m |
626 |
([EOModel -encodeTableOfContentsIntoPropertyList:]), |
627 |
([EOModel -initWithPropertyList:owner:]), |
628 |
([EOModel -encodeIntoPropertyList:]), ([EOModel -addEntity:]), |
629 |
([EOModel -removeEntity:]), ([EOModel -beautifyNames]), |
630 |
([EOModel -setCreateMutableObjects:]): |
631 |
Do not access _entities until cache is triggered. |
632 |
* EOAccess/EOModel.m |
633 |
([EOModel +findPathForModelNamed:]), |
634 |
([EOModel -gcDecrementRefCountOfContainedObjects]), |
635 |
([EOModel -storedProcedures]), ([EOModel -initWithContentsOfFile:]), |
636 |
([EOModel -initWithTableOfContentsPropertyList:path:]), |
637 |
([EOModel -initWithPropertyList:owner:]), |
638 |
([EOModel -_classDescriptionNeeded:]), ([EOModel -_entityForClass:]), |
639 |
([EOModel -_addEntityWithPropertyList:]), ([EOModel -_addEntity:]), |
640 |
([EOModel -_verifyBuiltEntityObject:named:]): |
641 |
replaced NSDebugMLLog with EOFLOGObject/ClassLevelArgs. |
642 |
* EOAccess/EOModel.m ([EOModel -description]), ([EOModel |
643 |
-addEntity]), ([EOModel removeEntity]): Make temporary objects |
644 |
autoreleased versions instead explicit release handling. |
645 |
|
646 |
* EOAccess/EOAdaptor.m ([EOAdaptor +adaptorWithName:]): |
647 |
reinserted accessing adaptor class by principal class of bundle as |
648 |
fallback in case EOAdaptorClassName isn't found. Raise an |
649 |
exception if the provided class is not a subclass of EOAdaptor. |
650 |
* EOAccess/EOAdaptor.m ([EOAdaptor +adaptorWithName:]), |
651 |
([EOAdaptor -fetchedValueForValue:attribute]), |
652 |
([EOAdaptor -fetchedValueForStringValue:attribute]): |
653 |
replaced NSLog/NSDebugMLLog with EOFLOGObject/ClassLevelArgs. |
654 |
* EOAccess/EOAdaptor.m ([EOAdaptor +adaptorWithModel:]), |
655 |
([EOAdaptor +adaptorWithName:]), |
656 |
([EOAdaptor +availableAdaptorNames]): |
657 |
replaced autorelease with AUTORELEASE(). |
658 |
|
659 |
* EOAdaptors/Postgres95Adaptor/Info.plist: Added |
660 |
EOAdaptorClassName entry. |
661 |
|
662 |
|
663 |
2003-02-04 Stephane Corthesy <stephane@sente.ch> |
664 |
|
665 |
* Tools/eoutil.m: implemented. |
666 |
|
667 |
* EOAndQualifier.m: replaced autorelease by AUTORELEASE |
668 |
* EOClassDescription.m: added #include <gnustep/base/objc-gnu2next.h> |
669 |
and note about subclassing NSClassDescription |
670 |
* EOEditingContext.m: removed EOAccess inclusion; note that we need to |
671 |
rewrite -faultForRawRow:entityNamed:editingContext: to break dependency |
672 |
to EOAccess |
673 |
* EOFault.m: implemented +doesNotRecognizeSelector: |
674 |
* EOFaultHandler.m: added #include <objc/objc-class.h> and #include |
675 |
<objc/Protocol.h> |
676 |
* EOFetchSpecification.m: added #import <Foundation/NSDictionary.h> |
677 |
* EOGenericRecord.h: declaration of -valueForKey: and |
678 |
-takeValue:forKey: needs to be done only when !FOUNDATION_HAS_KVC |
679 |
* EOGenericRecord.m: removed #import <EOAccess/EOEntity.h> and #import |
680 |
<EOAccess/EORelationship.h>; added #include <objc/objc-class.h>; |
681 |
declared +eoCalculateSizeWith:forArray:; corrected +initialize (doesn't |
682 |
return a value); renamed +removeDestoyedObject: to |
683 |
+removeDestroyedObject:; modified |
684 |
-initWithEditingContext:classDescription:globalID: to no longer depend |
685 |
on EOAccess via EOEntity; some methods need to be implemented only when |
686 |
!FOUNDATION_HAS_KVC (else they are already correctly implemented in |
687 |
NSObject), some others only when FOUNDATION_HAS_KVC |
688 |
(-handleQueryWithUnboundKey: and handleTakeValue:forUnboundKey:); in |
689 |
-smartTakeValue:forKey:, removed dependency to EOAccess via |
690 |
EORelationship; corrected problem with macro NSDebugMLog, which should |
691 |
be replaced by other macro anyway; modified -eoCalculateSizeWith: to no |
692 |
longer depend on EOAccess via EOEntity |
693 |
* EOGlobalID.m: added #include <stdio.h> and #include <string.h>; added |
694 |
cast in +assignGloballyUniqueBytes: |
695 |
* EOKeyComparisonQualifier.m: added casts |
696 |
* EOKeyGlobalID.m: replaced retain by RETAIN |
697 |
* EOKeyValueCoding.h: removed #import |
698 |
<EOControl/EOKeyValueCodingBase.h>; added - (id)storedValueForKeyPath: |
699 |
(NSString *)key; declared some methods only when !FOUNDATION_HAS_KVC; |
700 |
declared hidden methods for MacOS X. |
701 |
* EOKeyValueCoding.m: added #include <ctype.h>; implemented some |
702 |
methods only when !FOUNDATION_HAS_KVC; corrected problem with macros |
703 |
NSDebugMLog/NSWarnLog, which should be replaced by other macro anyway; |
704 |
declared -[NSMutableDictionary(EOKeyValueCodingPrivate) |
705 |
takeValue:forKeyPath:isSmart:]; corrected zombie in |
706 |
-[NSMutableDictionary(EOKeyValueCoding) takeValue:forKeyPath:isSmart:] |
707 |
* EOKeyValueQualifier: added casts |
708 |
* EOMutableKnownKeyDictionary.m: added #warning about missing method; |
709 |
moved method implementation to avoid warning |
710 |
* EONSAddOns.m: added casts |
711 |
* EOObjectStoreCoordinator.m: corrected problem with macro NSDebugMLog, |
712 |
which should be replaced by other macro anyway |
713 |
* EOQualifier.m: added #include <gnustep/base/GSObjCRuntime.h>; |
714 |
corrected problem with macro NSDebugLog, which should be replaced by |
715 |
other macro anyway; replaced retain by RETAIN; in -doesContain:, no |
716 |
need to test against NSMutableArray class |
717 |
* EOSortOrdering.m: replaced retain by RETAIN; avoid autoreleased |
718 |
objects; replaced mutableCopy by initWithArray:copyItems: |
719 |
|
720 |
2003-02-03 Stephane Corthesy <stephane@sente.ch> |
721 |
|
722 |
* Postgres95Adaptor.m: made some changes to externalTypeNames (needs |
723 |
to be reviewed completely!); avoided needless autoreleased object |
724 |
* Postgres95Channel.m: avoided needless autoreleased object ; added |
725 |
arg to NSDebugMLLog (should be replaced by other log macro); use |
726 |
macros RETAIN, AUTORELASE; when invoking PQexec, added ending ";" to |
727 |
statement (necessary for inserts, at least) |
728 |
* Postgres95SQLExpression.m: replaced #import <EOAccess/EOAccess.h> by |
729 |
smaller #imports; commented out use of external type 'datetime' |
730 |
(obsolete?); corrected bug in +formatValue:forAttribute: (error when |
731 |
escaping special characters); overloaded |
732 |
+dropTableStatementsForEntityGroup: to append CASCADE (maybe this |
733 |
should be done in EOSQLExpression class?), else it is not possible to |
734 |
drop tables which contain foreign key constraints; overloaded |
735 |
+prepareConstraintStatementForRelationship:sourceColumns: |
736 |
destinationColumns: to append DEFERRABLE INITIALLY DEFERRED (maybe this |
737 |
should be done in EOSQLExpression class?) |
738 |
* Postgres95Values.h: made Postgres95Values inherit from NSObject, else |
739 |
ObjC runtime doesn't like it and crashes! |
740 |
|
741 |
* EOAdaptor.m: added #import <Foundation/NSData.h>; corrected bug when |
742 |
instantiating adaptor: class name needs to be taken exclusively from |
743 |
infoDictionary, because a framework's principalClass is indeterminate |
744 |
(is it?); corrected var type; added empty implementation of |
745 |
EOLoginPanel class (is the method named |
746 |
"administraticeConnectionDictionaryForAdaptor:" correct? Shouldn't it |
747 |
be "administrativeConnectionDictionaryForAdaptor:" ??) |
748 |
* EOAttribute.m: added #include <string.h>; use -[NSTimeZone name] |
749 |
instead of -[NSTimeZone timeZoneName] (also on GNUstep?) |
750 |
* EODatabaseChannel.m: corrected bug with macro NSDebugMLog (which |
751 |
should be replaced by other macro...); in -fetchObject, added support |
752 |
for raw rows (works for me, but I'm not sure whether it is totally |
753 |
correct: _fetchSpecifications ivar is used nowhere!); avoided use of |
754 |
autoreleased objects; in |
755 |
-_selectWithFetchSpecification:editingContext:, uncommented last part |
756 |
to allow support for raw rows. |
757 |
* EODatabaseContext.h: added #import <Foundation/NSDate.h> |
758 |
* EODatabaseContext.m: #import <Foundation/NSKeyValueCoding.h> only |
759 |
when FOUNDATION_HAS_KVC? ; added declaration of -entityForGlobalID:; |
760 |
replaced some retain by RETAIN; in |
761 |
objectsWithFetchSpecification:editingContext:, added support for raw |
762 |
rows (adapted code of non raw rows => needs refactoring); added missing |
763 |
cast; corrected bug with macro NSDebugMLog (which should be replaced by |
764 |
other macro...) |
765 |
* EODatabaseDatasource.m: added #import <Foundation/NSEnumerator.h>; |
766 |
added declaration of |
767 |
-_partialInitWithEditingContext:entityName:fetchSpecificationName: |
768 |
* EOEntity.m: corrected bugs with lazy loading of ivars by using |
769 |
_flags.updating, in -initWithPropertyList:owner:, and by using methods |
770 |
instead of direct access to ivars; in -classProperties, corrected |
771 |
problem with vars containing sometimes strings, sometimes |
772 |
EOAttribute/EORelationship! (very weird way of lazy initialization... |
773 |
Should be reviewed); added use of _flags.updating in -relationships and |
774 |
-attributes; in -isPrimaryKeyValidInObject:, no longer tests against |
775 |
[NSNull null], because [EONull null] == [NSNull null]; replaced some |
776 |
retain by RETAIN; in -addAttribute:, -removeAttribute:, |
777 |
-addRelationship: and -removeRelationship:, corrected nasty bug due to |
778 |
mutableCopy: now we are independant of mutableCopy implementation (deep |
779 |
or shallow copy), as implementation changed these last days and might |
780 |
change again. Added -_setClassName: to allow modification without |
781 |
calling willChange, when necessary (init); modified _setIsEdited to |
782 |
test _flags.updating; in -awakeObject:fromInsertionInEditingContext:, |
783 |
corrected conditions to create relationship (propagatesPrimaryKey has |
784 |
nothing to do with it, whereas isMandatory is important) |
785 |
* EOModel.m: added #include <gnustep/base/GSObjCRuntime.h> and #import |
786 |
<Foundation/NSPathUtilities.h>; changed search strategy for models by |
787 |
using NSSearchPathForDirectoriesInDomains(); replaced some retain by |
788 |
RETAIN; avoided use of mutableCopy and copy |
789 |
* EORelationship.m: replaced some retain by RETAIN; avoided use of |
790 |
mutableCopy and copy |
791 |
* EOSQLExpression.m: added declaration of +sqlExpressionWithEntity:; |
792 |
added +foreignKeyConstraintStatementsForEntityGroup: and |
793 |
+foreignKeyConstraintStatementsForEntityGroups:; in |
794 |
+createTableStatementsForEntityGroup:, corrected call to listString; in |
795 |
+schemaCreationStatementsForEntities:options:, reordered defaults[] to |
796 |
allow correct SQL generation (you drop first, then create) and |
797 |
corrected method to invoke for EOForeignKeyConstraintsKey; corrected |
798 |
-columnTypeStringForAttribute: and -addCreateClauseForAttribute: |
799 |
* EOSchemaGeneration.h: corrected documentation |
800 |
* EOStoredProcedure.m: added #import <Foundation/NSEnumerator.h> |
801 |
* EOUtilities.h: removed duplicate delcaration of -objectsOfClass: |
802 |
* EOUtilities.m: added #import <EOControl/EOGenericRecord.h>; corrected |
803 |
bug with macro NSDebugMLog (which should be replaced by other |
804 |
macro...); corrected type casting; added type casting. |
805 |
|
806 |
2003-02-02 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
807 |
|
808 |
* EOControl/EOGenericRecord.m ([EOGenericRecord +initialize]): import |
809 |
NSAutoreleasePool. |
810 |
* EOControl/EOGlobalID.m ([EOGlobalID +initialize]): removed dependency |
811 |
from EOAccess. |
812 |
* EOControl/EOFetchSpecification.m ([EOFetchSpecification |
813 |
+initialize]): likewise. |
814 |
([EOFetchSpecification +fetchSpecificationNamed:entityNamed:]): readded |
815 |
since it is replaced by the category in EOUtilitites ! |
816 |
|
817 |
2003-01-31 Manuel Guesdon <mguesdon@orange-concept.com> |
818 |
* EOAccess/EOAdaptorChannel.m: |
819 |
o replaced NSDebugMLLog by EOFLOGObjectLevel/EOFLOGObjectLevelArgs |
820 |
* EOAccess/EOAttribute.m: |
821 |
o replaced NSDebugMLLog by EOFLOGObjectLevel/EOFLOGObjectLevelArgs |
822 |
* EOAccess/EODatabaseChannel.m: |
823 |
o replaced NSDebugMLLog by EOFLOGObjectLevel/EOFLOGObjectLevelArgs |
824 |
o Move registration for EODatabaseChannelNeddedNotification |
825 |
from +load to +initialize. (David Ayers <d.ayers@inode.at>) |
826 |
* EOAccess/EODatabaseContext.m: |
827 |
o Move registration for EODatabaseChannelNeddedNotification |
828 |
from +load to +initialize. (David Ayers <d.ayers@inode.at>) |
829 |
* EOAccess/EOEntity.m: |
830 |
o in - (void) _setIsEdited, autorelease instead of destroy |
831 |
* EOAccess/EORelationship.m |
832 |
o -validateValue: don't raise not implemented exception |
833 |
o initialize variables in -foreignKeyInDestination |
834 |
* EOAccess/EOSQLExpression.m: |
835 |
o added NSAsserts |
836 |
o use anyRelationshipNamed: instead of relationshipNamed: to |
837 |
find hidden relationships |
838 |
* EOControl/EOClassDescription.m |
839 |
o -displayNameForKey: use -stringWithCapacity instead |
840 |
of +alloc -initWithCapacity (missing autorelease) |
841 |
o -validationExceptionWithFormat: initialize variables |
842 |
o -aggregateExceptionWithExceptions: initialize variables |
843 |
o -aggregateExceptionWithExceptions: autorelease copied value |
844 |
o -exceptionAddingEntriesToUserInfo: initialize variables |
845 |
o -exceptionAddingEntriesToUserInfo: autorelease copied userInfo |
846 |
o -snapshot autorelease copied value |
847 |
o -updateFromSnapshot: autorelease copied value |
848 |
* EOControl/EOFetchSpecification.h: |
849 |
o added +fetchSpecificationWithEntityName:qualifier:sortOrderings:usesDistinct:isDeep:hints: |
850 |
o added +fetchSpecificationWithEntityName:qualifier:sortOrderings:usesDistinct: |
851 |
* EOControl/EOFetchSpecification.m: |
852 |
o added +fetchSpecificationWithEntityName:qualifier:sortOrderings:usesDistinct:isDeep:hints: |
853 |
o added +fetchSpecificationWithEntityName:qualifier:sortOrderings:usesDistinct: |
854 |
o removed +fetchSpecificationNamed:entityNamed: (implemented in EOUtilities) |
855 |
o Insure that EODatabaseContext is initialized early. (David Ayers <d.ayers@inode.at>) |
856 |
* EOControl/EOGenericRecord.m |
857 |
o in -eoFormatSizeDictionary: handle /0 |
858 |
o in +eoCalculateAllSizeWith: don't de-fault objects |
859 |
o in +eoCalculateAllSizeWith: manage a local autorelease pool |
860 |
* EOControl/EOKeyValueCoding.h: |
861 |
o added -smartTakeValue:forKey: |
862 |
o -smartTakeValue:forKeyPath: |
863 |
o -storedValuesForKeyPaths: |
864 |
* EOControl/EOGlobalID.m: |
865 |
o Insure that EODatabaseContext is initialized early. (David Ayers <d.ayers@inode.at>) |
866 |
* EOControl/EOQualifier.m: |
867 |
o +operatorSelectorForString:]): Parse 'doesContain' instead of |
868 |
'contains' (David Ayers <d.ayers@inode.at>) |
869 |
* EOControl/EODebug.m: |
870 |
o include NSDebug.h |
871 |
|
872 |
2003-01-21 David Ayers <d.ayers@inode.at> |
873 |
|
874 |
* EOControl/EOQualifier.m ([EOQualifier +allQualifierOperators]): |
875 |
([EOQualifier +relationalQualifierOperators]): |
876 |
([EOQualifier +stringForOperatorSelector:]): fixed array |
877 |
initialization and renamed 'contains' to 'doesContain'. |
878 |
|
879 |
2003-01-16 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
880 |
|
881 |
* EOControl/EOObserver.m: Added implementation for EODelayedObserver |
882 |
and EODelayedObserverQueue. |
883 |
|
884 |
2003-01-16 David Ayers <d.ayers@inode.at> |
885 |
|
886 |
* EOAdaptors/Postgres95/Postgres95Adaptor.m: |
887 |
Added import of NSDebug.h/EODebug.h |
888 |
Removed NSLog of connection information |
889 |
|
890 |
* EOAdaptors/Postgres95/Postgres95Channel.m |
891 |
* EOAdaptors/Postgres95/Postgres95Context.m |
892 |
* EOAdaptors/Postgres95/Postgres95Expression.m |
893 |
* EOAdaptors/Postgres95/Postgres95Value.m: |
894 |
Added import of NSDebug.h/EODebug.h |
895 |
|
896 |
* EOControl/EOControl.h: |
897 |
Added import of EOUndoManager.h |
898 |
|
899 |
* EOControl/EOObserver.m: |
900 |
Added empty implementation for EOObserverProxy |
901 |
|
902 |
2002-12-31 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
903 |
|
904 |
* EOControl/EOFault.m ([EOFault -editingContext]): simplified. |
905 |
Converted NSDebug* to EOFLOGObjectLevel. |
906 |
|
907 |
* EOAccess/EOUtilities.m|.h ([EOObjectStoreCoordinator -modelGroup]), |
908 |
([EOObjectStoreCoordinator -setModelGroup:]): moved from EOControl/ |
909 |
EOObjectStoreCoordinator.m |
910 |
|
911 |
* EOAccess/EOUtilities.m|.h ([EOFetchSpecification |
912 |
+fetchSpecificationNamed:entityNamed:]): moved from EOControl/ |
913 |
EOFetchSpecification.m |
914 |
|
915 |
* EOControl/EOFetchSpecification.m ([EOFetchSpecification |
916 |
+fetchSpecificationNamed:entityNamed:]): return nil. |
917 |
|
918 |
* EOAccess/EOAccessFault.m|.h ([EOFault -databaseContext]): moved from |
919 |
EOControl/EOFault.m |
920 |
|
921 |
* added missing include, include config.h in all .m files. |
922 |
|
923 |
* EOControl/EOEditingContext.m ([EOEditingContext -tryToSaveChanges]), |
924 |
([EOEditingContext -saveChanges:]): use respondsToSelector: |
925 |
|
926 |
2002-12-30 Markus Hitter <mah@jump-ing.de> |
927 |
|
928 |
* EOAdaptors/Postgres95/Postgres95Channel.m ([Postgres95Channel |
929 |
-describeTableNames]): implemented. |
930 |
|
931 |
2002-12-30 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
932 |
|
933 |
* EOAccess/EOSQLExpression.h: added missing declaration. |
934 |
|
935 |
* EOAccess/EORelationship.m ([EORelationship -removeJoin:]): added cast. |
936 |
|
937 |
* EOAccess/EOModel.m ([EOModel -dealloc]): removes observer correctly. |
938 |
|
939 |
* EOAccess/EODatabaseContext.h: added missing declaration. |
940 |
|
941 |
* EOControl/EOFetchSpecification.m ([EOFetchSpecification |
942 |
-copyWithZone:]): fixed cast. |
943 |
([EOFetchSpecification -hints]): added cast. |
944 |
|
945 |
* EOControl/EOClassDescription.m ([NSException |
946 |
+validationExceptionWithFormat:]), ([NSException |
947 |
+aggregateExceptionWithExceptions:]), |
948 |
([NSException -exceptionAddingEntriesToUserInfo:]): renamed local |
949 |
variables. |
950 |
|
951 |
* rearranged header inclusion in all sources. |
952 |
|
953 |
2002-12-29 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
954 |
|
955 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext -initializeObject: |
956 |
row:entity:editingContext:]): set nil instead of EONull |
957 |
|
958 |
* EOControl/EONull.m: included config.h |
959 |
|
960 |
2002-12-17 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
961 |
|
962 |
* EOAccess/EOEntity.m ([EOEntityClassDescription |
963 |
-inverseForRelationshipKey:]): Fixed to return a relationship name that |
964 |
is a class property. |
965 |
|
966 |
2002-12-14 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
967 |
|
968 |
* EOAccess/EORelationship.m ([EORelationship |
969 |
-foreignKeyInDestination]): use destinationEntity to search for pk. |
970 |
|
971 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext |
972 |
-_buildPrimaryKeyGeneratorListForEditingContext:]): check if the |
973 |
relationship propagates the pk to an entity pk. |
974 |
([EODatabaseContext -relayAttributesInRelationship:sourceObject: |
975 |
destinationObject:]): record updates for relationship with fk and the |
976 |
ones that propatates pk. |
977 |
|
978 |
2002-12-08 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
979 |
|
980 |
* EOAccess/EOEntity.m ([EOEntity -classDescriptionForInstances]): |
981 |
retain newly created classDescription. |
982 |
|
983 |
* EOAccess/EOAdaptor.m ([EOAdaptor -isValidQualifierType:model:]): |
984 |
implemented. |
985 |
|
986 |
* EOControl/GNUmakefile (libgnustep-db2control_HEADER_FILES): removed |
987 |
GCObject.h |
988 |
|
989 |
* EOAccess/EODatabaseContext.m: |
990 |
* EOAccess/EORelationship.m: |
991 |
* EOAccess/EOEntity.m: |
992 |
* EOControl/EOMutableKnownKeyDictionary.m: |
993 |
* EOControl/EOEditingContext.m: replaced EOFLOGObjectLevelArgs with |
994 |
EOFLOGObjectLevel in absence of args. (fixed problems with gcc 2.95) |
995 |
|
996 |
2002-12-07 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
997 |
|
998 |
* EOAccess/EOEntity.m ([EOEntity -isPrimaryKeyValidInObject:]): check |
999 |
for NSNull objects. |
1000 |
|
1001 |
2002-12-06 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1002 |
|
1003 |
* EOAccess/EOUtilities.h: added prototype. |
1004 |
|
1005 |
2002-12-05 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1006 |
|
1007 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext |
1008 |
+_registerDatabaseContext:]): added a warning if the specified model |
1009 |
is not found. |
1010 |
* EOAdaptors/Postgres95/Makefile.preamble.in (LIBRARIES_DEPEND_UPON): |
1011 |
added postgres libs here. |
1012 |
|
1013 |
2002-12-04 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1014 |
|
1015 |
* EOModeler/EOModelExtensions.m ([EOEntity -classAttributes]): |
1016 |
([EOEntity -classScalarAttributes]): |
1017 |
([EOEntity -classNonScalarAttributes]): |
1018 |
([EOEntity -classToManyRelationships]): |
1019 |
([EOEntity -classToOneRelationships]): fixed to use class properties. |
1020 |
|
1021 |
* EOAccess/EOEntity.m ([EOEntity -initWithPropertyList:owner:]): read |
1022 |
<entityName>.fspec only if exists. |
1023 |
|
1024 |
* EOControl/EOKeyValueCoding.m ([NSArray -valueForKeyPath:]): |
1025 |
implemented the case of invoking an aggregate function using a simple |
1026 |
key. |
1027 |
|
1028 |
* EOControl/EOGenericRecord.m ([EOGenericRecord |
1029 |
-_infoForInstanceVariableNamed:retType:retSize:retOffset:]): renamed |
1030 |
GSObjCFindInstanceVariable in GSFindInstanceVariable |
1031 |
|
1032 |
* config/postgres.m4: check in /usr/local/include and /usr/local/lib |
1033 |
* EOModeler/GNUmakefile: install headers in EOModeler/ |
1034 |
|
1035 |
2002-12-01 Manuel Guesdon <mguesdon@orange-concept.com> |
1036 |
* EOAccess/EODatabase.m |
1037 |
o in -entityForObject: test for EONull or nil instead of just nil |
1038 |
* EOAccess/EODatabaseContext.m: |
1039 |
o in -valuesForKeys:object: test for EONull or nil instead of just nil |
1040 |
* EOControl/EOGenericRecord.m: |
1041 |
o replaced GSObjCFindVariable by GSObjCFindInstanceVariable |
1042 |
o replaced GSObjCGetValue by GSGetValue |
1043 |
o replaced GSObjCSetValue by GSSetValue |
1044 |
* EOAccess/EOSQLExpression.m: |
1045 |
o changed assertion message in -sqlStringForAttributeNamed: |
1046 |
* EOAccess/EOSQLQualifier.m: |
1047 |
o finished EOAndQualifier -schemaBasedQualifierWithRootEntity implementation |
1048 |
o done EOOrQualifier -schemaBasedQualifierWithRootEntity implementation |
1049 |
o modified EOKeyValueQualifier -schemaBasedQualifierWithRootEntity: |
1050 |
to use EONull for EONull value relationship attribute value |
1051 |
so it will make sql like is null instead of = NULL which |
1052 |
doesn't work on Postgresql. |
1053 |
|
1054 |
2002-11-30 Manuel Guesdon <mguesdon@orange-concept.com> |
1055 |
* EOAccess/EODatabaseContext.m |
1056 |
o logs |
1057 |
o changes in _primaryKeyForObject: to handle |
1058 |
inserted "child" of already existing object case |
1059 |
* EOControl/EODetailDataSource.m: |
1060 |
o implemented -description |
1061 |
|
1062 |
2002-11-28 Richard Frith-Macdonald <rfm@gnu.org> |
1063 |
|
1064 |
* EOAccess/EOEntity.m: Patch by David Ayers. |
1065 |
* EOAccess/EOExpressionArray.m: Update for latest GSObjCRuntime stuff. |
1066 |
* EOControl/EOGenericRecord.m: ditto |
1067 |
* Tools/Makefile.preamble: Fix library lookup for link |
1068 |
|
1069 |
|
1070 |
2002-11-27 Richard Frith-Macdonald <rfm@gnu.org> |
1071 |
|
1072 |
* gdl2.make.in: simplify libraries ... let which_lib sort them out. |
1073 |
* Tools/GNUmakefile.preamble: ditto |
1074 |
|
1075 |
2002-11-27 Manuel Guesdon <mguesdon@orange-concept.com> |
1076 |
* EOAccess/EOModel.m: |
1077 |
o fixed typo in -entityNamed: |
1078 |
|
1079 |
2002-11-27 Richard Frith-Macdonald <rfm@gnu.org> |
1080 |
|
1081 |
* EOAccess/EOModel.h: |
1082 |
* EOAccess/EOModel.m: Appplied David Ayers patch for programmatic |
1083 |
model manipulation. Fixed typo. Use NSFileManager rather than |
1084 |
mkdir(). Tidied some use of autorelease for memory efficiency etc. |
1085 |
* EOControl/EOGenericRecord.m: update to use GSFindInstanceVariable() |
1086 |
|
1087 |
2002-11-26 Manuel Guesdon <mguesdon@orange-concept.com> |
1088 |
|
1089 |
* EOAccess/EOEntity.m: |
1090 |
o implemented flattened relationship handling in |
1091 |
-EOEntity _parseRelationshipPath: |
1092 |
* EOAccess/EOAccessFault.m: |
1093 |
o fixed logs in -EOAccesFaultHandler dealloc |
1094 |
o added [super dealloc] in -EOAccesFaultHandler dealloc |
1095 |
o added logs in -EOAccessArrayFaultHandler dealloc |
1096 |
* EOAdaptors/Postgres95/Postgres95Channel.m: |
1097 |
o removed log |
1098 |
* EOAccess/EOAdaptorChannel.m |
1099 |
o Handle direct SQL query case in |
1100 |
-dictionaryWithObjects:forAttributes:zone: |
1101 |
* EOAccess/EOClassDescription.m |
1102 |
o implement some cases in -addObject:toBothSidesOfRelationshipWithKey: |
1103 |
* EOControl/EOGenericRecord.m: |
1104 |
o avoid infinit loop in -description |
1105 |
* EOAccess/EODatabaseContext.m |
1106 |
o implement some cases in -entitiesOnWhichThisEntityDepends: |
1107 |
o changed return type of -entitiesOnWhichThisEntityDepends: |
1108 |
|
1109 |
2002-11-25 Richard Frith-macdonald <rfm@gnu.org> |
1110 |
|
1111 |
Tagged all files as 'with-extensions' |
1112 |
Committed new versions of very many files with dependency on the |
1113 |
obsolete extensions library removed. gdl2 should now only need |
1114 |
the base library (or perhaps MacOS-X foundation plus a port of the |
1115 |
Additions library from the base library package, when someone wants |
1116 |
to do the port). |
1117 |
|
1118 |
2002-11-24 Richard Frith-macdonald <rfm@gnu.org> |
1119 |
|
1120 |
* EOAdaptors/Makefile.postamble: New file to clean configure |
1121 |
generated files. |
1122 |
* EOAdaptors/Postgres95/Makefile.postamble: New file to clean configure |
1123 |
generated files. |
1124 |
* EOAdaptors/Postgres95/Makefile.preamble: remove .. generated |
1125 |
automatically. |
1126 |
Fixes suggested by David Ayers |
1127 |
|
1128 |
2002-11-18 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1129 |
|
1130 |
* EOControl/EOKeyValueQualifier.m: |
1131 |
* EOControl/EOAndQualifier.m: |
1132 |
* EOControl/EOKeyComparisonQualifier.m: |
1133 |
* EOControl/EONotQualifier.m: |
1134 |
* EOControl/EOOrQualifier.m: remove references to EOAccess. |
1135 |
|
1136 |
2002-11-16 Richard Frith-macdonald <rfm@gnu.org> |
1137 |
|
1138 |
* EOAccess/EOExpressionArray.m: Correct reference to obsolete |
1139 |
behavior function call (removed from public api a few years back |
1140 |
and recently removed from internal code too). |
1141 |
* EOControl/EOFault.m: Remove GNU property list method no longer |
1142 |
used/nneeded. |
1143 |
|
1144 |
2002-11-14 Manuel Guesdon <mguesdon@orange-concept.com> |
1145 |
|
1146 |
* EOAcces/EODatabaseDataSource.m: |
1147 |
o corrected bug in -description |
1148 |
* EOAdaptors/Postgres95/Postgres95SQLExpression.m |
1149 |
o change in +formatValue:forAttribute: to handle string value for dates |
1150 |
|
1151 |
2002-11-14 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1152 |
|
1153 |
* EOAdaptors/*, EOAccess/*, EOControl/*: removed some warnings. |
1154 |
|
1155 |
2002-11-13 Manuel Guesdon <mguesdon@orange-concept.com> |
1156 |
* EOAcces/EODatabaseContext.m: |
1157 |
o corrected bug |
1158 |
o logs |
1159 |
* EOAccess/EODatabaseOperation.m: |
1160 |
o -setDatabaseOperator: change to not update deleted objetcs |
1161 |
* EOAccess/EOEntity.m: |
1162 |
o -_attributesToFetch added exception handling |
1163 |
* EOAccess/EOSQLExpression: |
1164 |
o use sqlExpressionWithEntity instead of alloc/init |
1165 |
* EOControl/EOEditingContext.m: |
1166 |
o _processOwnedObjectsUsingChangeTable:deleteTable: |
1167 |
bug correction in new/existing value handling |
1168 |
o doc |
1169 |
* EOControl/EOGenericRecord.m: |
1170 |
o log changes |
1171 |
* EOControl/EOKeyValueCoding.m: |
1172 |
o added -takeStoredValue:forKeyPath: |
1173 |
o added -storedValuesForKeyPaths: |
1174 |
o corrected bug in NSArray -valueForKey: |
1175 |
o corrected bugs in NSArray -valueForKeyPath: |
1176 |
* EOAccess/EOUtilities.m |
1177 |
o handle nil value in rawRowsMatchingValue:forKey:entityNamed: |
1178 |
o handle nil value in objectsMatchingValue:forKey:entityNamed: |
1179 |
o handle nil value in objectWithPrimaryKeyValue:entityNamed: |
1180 |
* EOAccess/EOAttribute.m |
1181 |
o destroy docComment in -dealloc |
1182 |
* EOAdaptors/Postgres98/Postgres95Values.m: |
1183 |
o comment |
1184 |
o use stringWithCString.. instead of alloc/init/release |
1185 |
* EOControl/EOMultipleKnownKeyDictionary.h |
1186 |
o added -debugDescription |
1187 |
* EOControl/EONull.m: |
1188 |
o added -NSNull -valueForKey: |
1189 |
* EOAccess/EOQualifier.m: |
1190 |
o in getKey: autorelease key |
1191 |
o in -qualifierWithQualifierFormat:varargList: |
1192 |
user [NSMutableArray array] instead [NSMutableArray new]/DESTROY |
1193 |
to avoid memory leak if an exception is raised |
1194 |
|
1195 |
2002-11-04 David Ayers <d.ayers@inode.at> |
1196 |
|
1197 |
* EOControl/EOSortOrdering.m: |
1198 |
o changed -sortedArrayUsingKeyOrderArray: |
1199 |
* EOControl/EOQualifier.m: |
1200 |
o improved -qualifierWithQualifierFormat: parsing |
1201 |
|
1202 |
2002-10-31 David Ayers <d.ayers@inode.at> |
1203 |
|
1204 |
* EOControl/EOQualifier.m: |
1205 |
o improved -qualifierWithQualifierFormat: parsing |
1206 |
o added NSNumber -initWithString as EOQualiferExtra |
1207 |
* EOControl/EOKeyValueQualifier.m: |
1208 |
o changed -description |
1209 |
* EOControl/EOKeyComparisonQualifier.m: |
1210 |
o changed -description |
1211 |
|
1212 |
2002-09-22 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1213 |
|
1214 |
* Makefile.postamble: install gdl2.make. |
1215 |
|
1216 |
2002-09-22 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1217 |
|
1218 |
* configure.ac: added adaptors configuration. |
1219 |
* config/postgres.m4: check for postgres db. |
1220 |
* EOAdaptors/Postgres95/GNUmakefile.in: new file. |
1221 |
* EOAdaptors/Postgres95/Makefile.preamble.in: new file. |
1222 |
|
1223 |
2002-09-20 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1224 |
|
1225 |
* configure.ac: new file. |
1226 |
* gdl2.make.in: new file. |
1227 |
* config.h.in: new file. |
1228 |
|
1229 |
2002-09-20 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1230 |
|
1231 |
* Indented all the sources and removed many warnings. |
1232 |
* Moved EOCheapArray.m|h, EONSAddOns.m|h and EODebug.m|h to EOControl. |
1233 |
* Moved EOUtilities.m|h to EOAccess. |
1234 |
* Moved EOQualifierSQLGeneration in EOAccess/EOSQLQualifier |
1235 |
|
1236 |
2002-06-03 Manuel Guesdon <mguesdon@orange-concept.com> |
1237 |
* EOAdaptors/Postgres95/Postgres95SQLExpression.m: |
1238 |
o NSWarn -> NSWarnLog |
1239 |
* EOControl/EOKeyValueArchiver.m: |
1240 |
o added -isThereValueForKey: in EOKeyValueUnarchiver |
1241 |
* EOControl/EOKeyValueArchiver.h: |
1242 |
o added -isThereValueForKey: in EOKeyValueUnarchiver |
1243 |
* EOControl/EOSQLExpression.m: |
1244 |
o changes for usesDistincts |
1245 |
o logs |
1246 |
* EOAccess/EODatabaseChannel.m: |
1247 |
o fix for refetched objects |
1248 |
* EOAccess/EODatabaseContext.m: |
1249 |
o fixes in recordChangesInEditingContext |
1250 |
* EOAccess/EODatabaseDataSource.m: |
1251 |
o logs |
1252 |
* EOAccess/EONSAddOns.h/.m |
1253 |
o added NSArray -arrayExcludingObject: |
1254 |
o added NSArray -containsIdenticalObjectsWithArray: |
1255 |
* EOAccess/EORelationship.h/.m: |
1256 |
o added isBidirectional: and associated methods (for use with smartTakeValue:forKey:) |
1257 |
* EOControl/EOClassDescription.h/.m: |
1258 |
o added -relationshipNamed: |
1259 |
o added -anyRelationshipNamed: |
1260 |
* EOControl/EOGenericRecord.m: |
1261 |
o added -smartTakeValue:forKey: |
1262 |
* EOControl/EOObjectStoreCoordinator.m: |
1263 |
o logs |
1264 |
|
1265 |
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> |
1266 |
* EOControl/EOEditingContext.m: |
1267 |
o changes in -saveChangesInEditingContext: to avoid return in the middle of the method |
1268 |
o logs |
1269 |
* EOAccess/EODatabaseContext.m: |
1270 |
o add rollbackChanges on exception in -saveChangesInEditingContext: |
1271 |
o corrected bug in initializeObject:row:entity:editingContext: |
1272 |
o logs |
1273 |
* EOControl/EOKeyValueQualifier.m: |
1274 |
o implementation of flatten case in -schemaBasedQualifierWithRootEntity: |
1275 |
o logs |
1276 |
* EOControl/EODetailDataSource.m |
1277 |
o correct bugs by using -decodeObjectForKey: in -initWithKeyValueUnarchiver: |
1278 |
o changed _masterEntityName to _masterClassDescriptionName |
1279 |
o added -classDescriptionForObjects |
1280 |
o logs |
1281 |
* EOControl/EODetailDataSource.h: |
1282 |
o changed _masterEntityName to _masterClassDescriptionName |
1283 |
o added -classDescriptionForObjects |
1284 |
* EOControl/EODataSource.m: |
1285 |
o logs |
1286 |
* EOControl/EOGenericRecord.m: |
1287 |
o added -willChange call in _setValueForKey:object:selector:type:size:offset: |
1288 |
* EOControl/EOMutableKnownKeyDictionary.m: |
1289 |
o corrected bug in -containsObjectsNotIdenticalTo: |
1290 |
o logs |
1291 |
* EOAccess/EOSQLExpression.m: |
1292 |
o logs |
1293 |
* EOAdaptors/Postgres95/Postgres95SQLExpression.m: |
1294 |
o logs |
1295 |
o corrected bugs for empty strings in +formatValue:forAttribute: |
1296 |
* EOAccess/EODatabaseDataSource.m |
1297 |
o logs |
1298 |
* EOAccess/EOEntity.m |
1299 |
o logs |
1300 |
* EOControl/EOQualifier.m: |
1301 |
o logs |
1302 |
* EOControl/EOOrQualifier.m: |
1303 |
o logs |
1304 |
* EOControl/EOAndQualifier.m: |
1305 |
o logs |
1306 |
* EOControl/EOObserver.m: |
1307 |
o logs |
1308 |
* EOAccess/EODatabase.m: |
1309 |
o logs |
1310 |
o avoid fault access in -entityForObject: |
1311 |
|
1312 |
2002-04-15 Manuel Guesdon <mguesdon@orange-concept.com> |
1313 |
* EOAccess/EOFetchSpecification.m: |
1314 |
o changed -fetchSpecification into +fetchSpecification |
1315 |
* EOAccess/EOKeyValueCoding.m: |
1316 |
o logs |
1317 |
o corrected bug: added special case "count" in NSArray -valueForKeyPath: |
1318 |
* EOAccess/EOGenericRecord.m: |
1319 |
o logs |
1320 |
* EOControl/EODetailDataSource.h: |
1321 |
o added -initWithKeyValueUnarchiver: |
1322 |
* EOControl/EODetailDataSource.m: |
1323 |
o added -initWithKeyValueUnarchiver: |
1324 |
* EOControl/EOKeyValueArcher.m: |
1325 |
o added EOKeyValueArchivingContainer +keyValueArchivingContainer |
1326 |
o corrected not autorelease bug in -_objectForPropertyList: |
1327 |
o logs |
1328 |
* EOControl/EODatabaseDataSource.m: |
1329 |
o logs |
1330 |
|
1331 |
2002-04-01 Manuel Guesdon <mguesdon@orange-concept.com> |
1332 |
* EOAccess/EOModel.h: |
1333 |
o added +version |
1334 |
* EOAccess/EOStoredProcedure.h: |
1335 |
o added +storedProcedureWithPropertyList:owner: |
1336 |
* EOAccess/EOEntity.h: |
1337 |
o added +entityWithPropertyList:owner: |
1338 |
o added -setDocComment: |
1339 |
o added +entityClassDescriptionWithEntity: |
1340 |
* EOAccess/EOEntity.m: |
1341 |
o corrected bug in _keyMapForIdenticalKeyRelationshipPath: (dictionary construction) |
1342 |
* EOAccess/EOEntityPriv.h: |
1343 |
o retyped -_parseDescription:isFormat:arguments:; |
1344 |
* EOAccess/EORelationship.h: |
1345 |
o added +relationshipWithPropertyList:owner: |
1346 |
* EOAccess/EOAttribute.h: |
1347 |
o added +attributeWithPropertyList:owner: |
1348 |
o added -setInternalInfo: |
1349 |
o added -_normalizeDefinition:path: |
1350 |
|
1351 |
* EOAccess/EOAttribute.m: |
1352 |
o use an id instead of a string for userInfo,... |
1353 |
o added -setInternalInfo: |
1354 |
* EOAccess/EOExpressionArray.h: |
1355 |
o added -valueForSQLExpression: |
1356 |
|
1357 |
2002-04-01 Manuel Guesdon <mguesdon@orange-concept.com> |
1358 |
* EOControl/EODetailDataSource.h/.m: |
1359 |
o added +detailDataSourceWithMasterDataSource:detailKey: |
1360 |
* EOAccess/EODatbaseDataSource.m: |
1361 |
o changed allocations |
1362 |
* EOAccess/EODatabase.m: |
1363 |
o changed allocations |
1364 |
* EOAccess/EOEntity.m: |
1365 |
o changed allocations |
1366 |
o corrected not autorelease bug in EOEntity -classDescriptionForInstances |
1367 |
* EOControl/EOGlobalID.h/.m: |
1368 |
o added EOTemporaryGlobalID +temporaryGlobalID |
1369 |
* EOControl/EIEditingContext.m: |
1370 |
o changed allocations |
1371 |
* EOControl/EOKeyValueQualifier.m: |
1372 |
o changed allocations |
1373 |
* EOControl/EOObjectStoreCoordinator.m: |
1374 |
o changed allocations |
1375 |
* EOKeyComparisonQualifier.m: |
1376 |
o added +qualifierWithLeftKey:operatorSelector:rightKey: |
1377 |
* EONotQualifier.m: |
1378 |
o added +qualifierWithQualifier: |
1379 |
* EOQualifier.m: |
1380 |
o changed allocations |
1381 |
* EOAccess/EOAdaptorContext.h/.m: |
1382 |
o added +adaptorContextWithAdaptor: |
1383 |
* EOAdaptors/Postgres95/Postgres9Adaptor.m: |
1384 |
o changed allocations |
1385 |
* EOAdaptors/Postgres95/Postgres9Channel.m: |
1386 |
o changed allocations |
1387 |
* EOAdaptors/Postgres95/Postgres9Context.m: |
1388 |
o changed allocations |
1389 |
* EOAccess/EOModel.h/.m: |
1390 |
o added +model |
1391 |
* EOAccess/EOAdaptorChannel.h/.m |
1392 |
o added +adaptorChannelWithAdaptorContext: |
1393 |
* EOAdaptors/Postgres95/Postgres9Values.m: |
1394 |
o changed allocations |
1395 |
|
1396 |
2002-03-29 Manuel Guesdon <mguesdon@orange-concept.com> |
1397 |
* EOAccess/EODatabaseOperation.m |
1398 |
o logs |
1399 |
* EOAccess/EODatabaseContext.h/.m |
1400 |
o logs |
1401 |
o added +databaseContextWithDatabase: |
1402 |
o change allocations |
1403 |
* EOAccess/EORelationship.m |
1404 |
o logs |
1405 |
o corrected not autorelease bug in _foreignKeyForSourceRow: |
1406 |
o added +relationshipWithPropertyList:owner: |
1407 |
* EOAccess/EOJoin.h/.m: |
1408 |
o added +joinWithSourceAttribute:destinationAttribute: |
1409 |
|
1410 |
* EOAccess/EOSQLExpression.m: |
1411 |
o added +sqlExpressionWithEntity: |
1412 |
* EOAccess/EOAttribute.m: |
1413 |
o added +attributeWithPropertyList:owner: |
1414 |
|
1415 |
* EOAdaptors/Postgres95/Postgres95Channel.m |
1416 |
o logs |
1417 |
* EOAccess/EODatabaseChannel.m |
1418 |
o logs |
1419 |
o added +databaseChannelWithDatabaseContext: |
1420 |
* EOAccess/EOFault.m: |
1421 |
o logs |
1422 |
* EOAccess/EOFetchSpecification.m/.h |
1423 |
o added +fetchSpecification |
1424 |
* EOControl/EOUtilities.m: |
1425 |
o corrected not autorelease bug in -objectsMatchingValues:entityNamed: |
1426 |
o change qualifiers allocations |
1427 |
* EOAccess/EOAndQualifier.m: |
1428 |
o added EOAndQualifier +qualifierWithQualifierArray: |
1429 |
o added EOAndQualifier +qualifierWithQualifiers: |
1430 |
* EOAccess/EOOrQualifier.m: |
1431 |
o added EOOrQualifier +qualifierWithQualifierArray: |
1432 |
* EOAccess/EOQualifier.h |
1433 |
o added EOAndQualifier +qualifierWithQualifierArray: |
1434 |
o added EOOrQualifier +qualifierWithQualifierArray: |
1435 |
* EOAccess/EOEntity.m: |
1436 |
o changed EOMutableKnownKeyDictionary allocation in -_dictionaryForProperties |
1437 |
* EOAccess/EOMutableKnownKeyDictionary.h/.m: |
1438 |
o added +dictionaryFromDictionary:subsetMapping: |
1439 |
* EOAccess/EOModel.h/.m |
1440 |
o added +modelWithContentsOfFile: |
1441 |
o corrected not autorelease bug |
1442 |
o allocation changes |
1443 |
* EOAccess/EOModelGroup.m: |
1444 |
o Changed EOModel allocation |
1445 |
* EOAccess/EODatabase.h/.m: |
1446 |
o added +databaseWithModel: |
1447 |
* EOAccess/EOAccessFault.h/.m |
1448 |
o added EOAccessFaultHandler +accessFaultHandlerWithGlobalID:databaseContext:editingContext: |
1449 |
o added EOAccessArrayFaultHandler |
1450 |
+accessArrayFaultHandlerWithSourceGlobalID:relationshipName:databaseContext:editingContext: |
1451 |
* EOAccess/EODatabaseOperation.h/.m: |
1452 |
o added EODatabaseOperation +databaseOperationWithGlobalID:object:entity: |
1453 |
* EOAccess/EOAdaptorOperation.h/.m: |
1454 |
o added EOAdaptorOperation +adaptorOperationWithEntity: |
1455 |
* EOAccess/EODatabaseDataSource.m: |
1456 |
o allocation changes |
1457 |
* EOAccess/EOStoredProcedure.m: |
1458 |
o corrected not autorelease bug in -initWithPropertyList:owner: |
1459 |
|
1460 |
|
1461 |
2002-03-28 Manuel Guesdon <mguesdon@orange-concept.com> |
1462 |
* EOAccess/EODatabaseChannel.m |
1463 |
o removed logs |
1464 |
o changed logs |
1465 |
* EOAdaptors/Postgres95/Postgres95Channel.m |
1466 |
o removed logs |
1467 |
* EOAccess/EORelationship.m: |
1468 |
o NSAssert |
1469 |
o added _docComment and associated methods |
1470 |
* EOAccess/EORelationship.h: |
1471 |
o added _docComment and associated methods |
1472 |
* EOAccess/EOSQLExpression.m: |
1473 |
o NSAssert |
1474 |
o logs |
1475 |
* EOAccess/EOEntity.m: |
1476 |
o doc |
1477 |
o logs |
1478 |
o added _docComment and associated methods |
1479 |
* EOAccess/EOEntity.h: |
1480 |
o added _docComment and associated methods |
1481 |
|
1482 |
* EOAccess/EOModel.h/.m: |
1483 |
o added -adaptorClassname |
1484 |
o added _version and -version |
1485 |
o added _docComment and associated methods |
1486 |
* EOAccess/EOAttribute.h/.m: |
1487 |
o added _docComment and associated methods |
1488 |
|
1489 |
* EOAccess/EOAdaptorChannel.m |
1490 |
o logs |
1491 |
* EOAdaptors/Postgres95/Postgres95SQLExpression.m: |
1492 |
o corrected bug in formatValue:forAttribute: |
1493 |
* added Tools/ |
1494 |
|
1495 |
2002-03-25 Manuel Guesdon <mguesdon@orange-concept.com> |
1496 |
* EOAccess/GNUmakefile: |
1497 |
o removed -SystemProjects System |
1498 |
o added -Declared EOAccess |
1499 |
* EOControl/GNUmakefile: |
1500 |
o removed -SystemProjects System |
1501 |
o added -Declared EOControl |
1502 |
* EOAdaptors/Postgres95/GNUmakefile: |
1503 |
o removed -SystemProjects System |
1504 |
o added -Declared EOAdaptors/PostgreSQL |
1505 |
* EOControl/EOGenericRecord.m: logs |
1506 |
* EOAccess/EODebug.h: added EOFLOGClassFnStartCond EOFLOGClassFnStopCond |
1507 |
* EOAccess/EODatabaseChannel.m: logs |
1508 |
* EOAccess/EORelationship.m: |
1509 |
o setDefinition |
1510 |
o corrected bug in _makeFlattenedInverseRelationship |
1511 |
* EOAccess/EOEntity.m |
1512 |
o logs |
1513 |
* EOControl/EOQualifier.h |
1514 |
o added qualifierWithKey:operatorSelector:value: |
1515 |
* EOControl/EOKeyValueQualifier.m: |
1516 |
o added qualifierWithKey:operatorSelector:value: |
1517 |
* EOAccess/EOModel.m: |
1518 |
o removed assert for non EOGenericRecord class in -_classDescriptionNeeded: |
1519 |
|
1520 |
2002-03-07 Manuel Guesdon <mguesdon@orange-concept.com> |
1521 |
Too much changes |
1522 |
|
1523 |
2001-04-10 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1524 |
|
1525 |
* EOAccess/EOSQLExpression.m ([EOSQLExpression |
1526 |
+foreignKeyConstraintStatementsForRelationship:]): implemented. |
1527 |
|
1528 |
2001-04-07 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1529 |
|
1530 |
* EOControl/EOKeyValueCoding.m: import EOControl.h |
1531 |
* EOControl/EONull.m: likewise. |
1532 |
* EOAccess/EOModel.m ([EOModel -writeToFile:]): implemented. |
1533 |
([EOModel -encodeTableOfContentsInfoPropertyList:]): implemented. |
1534 |
* EOAccess/EORelationship.m ([EORelationship -setEntity:]): remove self |
1535 |
from previous entity. |
1536 |
([EORelationship -setDefinition:]): remove joins. |
1537 |
|
1538 |
2001-01-12 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1539 |
|
1540 |
* EOModeler: new library. |
1541 |
* EOModeler/EOModelExtensions.m/.h: EOModeler categories needed by |
1542 |
eogenerator. |
1543 |
* EOControl/EOKeyValueCoding.m ([NSArray -valueForKey:]): fixed @x key. |
1544 |
|
1545 |
2001-01-06 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1546 |
|
1547 |
* EOControl/EOControl.h: defined FOUNDATION_HAS_KVC to use Foundation |
1548 |
key value coding. |
1549 |
* EOAccess/EOAttribute.m ([EOAttribute |
1550 |
-adaptorValueByConvertingAttributeValue:]): use EONull null object. |
1551 |
* EOAccess/EOSQLExpression.m ([EOSQLExpression -sqlStringForSelector: |
1552 |
value:]): likewise. |
1553 |
* EOControl/EOKeyValueCoding.m ([NSObject -takeValuesFromDictionary:]): |
1554 |
([NSObject -takeStoredValuesFromDictionary:]): likewise. |
1555 |
defined FOUNDATION_HAS_KVC to use Foundation key value coding. |
1556 |
|
1557 |
2001-01-03 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1558 |
|
1559 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext |
1560 |
-faultForGlobalID:editingContext:]): use the correct class property |
1561 |
array. |
1562 |
|
1563 |
2000-12-23 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1564 |
|
1565 |
* EOAccess/EOEntity.m ([EOEntity -isPrimaryKeyValidInObject:]): fixed. |
1566 |
Do not returns from inside an exception handler. |
1567 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext |
1568 |
-prepareForSaveWithCoordinator:editingContext:]): bug fix. Do not |
1569 |
release an autoreleased object. |
1570 |
* EOAccess/EODatabaseDataSource.m ([EODatabaseDataSource |
1571 |
-fetchSpecificationForFetch]): fixed fetch qualifier. |
1572 |
* EOControl/EOKeyValueQualifier.m ([EOKeyValueQualifier |
1573 |
-copyWithZone:]): do not copy _value. |
1574 |
* EOControl/EOAndQualifier.m ([EOAndQualifier -copyWithZone:]): use |
1575 |
correct zone. |
1576 |
* EOControl/EOOrQualifier.m ([EOOrQualifier -copyWithZone:]): likewise. |
1577 |
* EOControl/EOKeyComparisonQualifier.m ([EOKeyComparisonQualifier |
1578 |
-copyWithZone:]): likewise. |
1579 |
|
1580 |
2000-12-20 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1581 |
|
1582 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext |
1583 |
-_recordChangesForObjects:operator:]): create dbOperation with the |
1584 |
correct entity for to-many relationship objects. |
1585 |
|
1586 |
2000-12-11 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1587 |
|
1588 |
* EOAccess/EOModel.m ([EOModel -_registerClassDescForClass:]): |
1589 |
check for NULL _entitiesByClass |
1590 |
([EOModel -dealloc]): release _entitiesByClass |
1591 |
([EOModel -removeEntity:]): bug fix. |
1592 |
|
1593 |
* EOAdaptors/Postgres95/Postgres95Channel.m ([Postgres |
1594 |
-_evaluateCommandsUntilAFetch]): raise an exception on error. |
1595 |
|
1596 |
2000-12-10 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1597 |
|
1598 |
* EOControl/EOKeyValueCoding.m (newGetStoredBinding): fixed value of |
1599 |
class variable. |
1600 |
|
1601 |
2000-12-09 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1602 |
|
1603 |
* EOAccess/EOModel.m ([EOModel -_registerClassDescForClass:]): fixed |
1604 |
class description registration. |
1605 |
([EOModel -_registerClassDescForEntityName:]): likewise. |
1606 |
([EOModel -addEntity:]), ([EOModel -removeEntity:]): save EOEntity in |
1607 |
_entitiesByClass. |
1608 |
|
1609 |
2000-12-08 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1610 |
|
1611 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext |
1612 |
-prepareForSaveWithCoordinator:editingContext:]): get the object value |
1613 |
if the key is a class property. |
1614 |
Added code to handle propagatesPrimaryKey for to many relationships. |
1615 |
Fixed code that merges pk values. |
1616 |
* EOControl/EOClassDescription.m ([EOClassDescription -awakeObject: |
1617 |
fromInsertionInEditingContext:]): use NSMutableArray for to many |
1618 |
relationships. |
1619 |
|
1620 |
2000-12-08 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1621 |
|
1622 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext -faultForGlobalID: |
1623 |
editingContext:]): set only class property's object values. |
1624 |
([EODatabaseContext -faultForRawRow:entityNamed:editingContext:]): |
1625 |
likewise. |
1626 |
([EODatabaseContext -_recordChangesForObjects:operator:]): likewise. |
1627 |
([EODatabaseContext -batchFetchRelationship:forSourceObjects: |
1628 |
editingContext:]): get key value from snapshot rather than in the |
1629 |
object. |
1630 |
|
1631 |
2000-12-06 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1632 |
|
1633 |
* EOControl/EOKeyValueCoding.m ([NSObject |
1634 |
-handleQueryWithUnboundKey:]): raise an EOUnknownKeyException with |
1635 |
the correct userInfo. |
1636 |
([NSObject -handleTakeValue:forUnboundKey:]): likewise. |
1637 |
* EOAccess/EOEntity.m ([EOEntity -isPrimaryKeyValidInObject:]): |
1638 |
check valueForKey: exception. |
1639 |
* EOControl/EOClassDescription.m ([NSObject -changesFromSnapshot:]): |
1640 |
check for EONull values as toMany relationship array. |
1641 |
* EOControl/EOEditingContext.m ([EOEditingContext |
1642 |
-processRecentChanges]): check for EONull values in dictionary. |
1643 |
* EOAccess/EOModel.m ([EOModel -initWithPropertyList:owner:]): check |
1644 |
for an exception in the entity awakeWithPropertyList method. |
1645 |
* EOAccess/EOJoin.m ([EOJoin -initWithSourceAttribute: |
1646 |
destinationAttribute:]): raise exception if source or destination is |
1647 |
nil. |
1648 |
|
1649 |
2000-12-05 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1650 |
|
1651 |
* EOAccess/EODatabaseChannel.m ([EODatabaseChannel -fetchObject]): |
1652 |
fixed refreshing objects. |
1653 |
* EOControl/EOKeyValueCoding.m ([NSArray -valueForKey:]): fixed array |
1654 |
and string selector. |
1655 |
* EOAccess/EOUtilities.m ([EOEditingContext -objectsForEntityNamed:]): |
1656 |
([EOEditingContext -primaryKeyForObject:]), ([EOEditingContext |
1657 |
-entityForObject:]): implemented. |
1658 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext |
1659 |
-prepareForSaveWithCoordinator:editingContext:]): lock the database |
1660 |
context. |
1661 |
([EODatabaseContext -commitChanges]), ([EODatabaseContext |
1662 |
-rollbackChanges]): unlock the database context |
1663 |
([EODatabaseContext -registerLockedObjectWithGlobalID:]): fixed zone |
1664 |
size. |
1665 |
|
1666 |
2000-12-04 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1667 |
|
1668 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext |
1669 |
-_recordChangesForObjects:operator:]): when updating relationship keys |
1670 |
look also in the object snapshot. |
1671 |
|
1672 |
2000-12-03 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1673 |
|
1674 |
* EOAccess/EOSQLExpression.m ([EOSQLExpression |
1675 |
-sqlStringForKeyValueQualifier:]): bug fix. |
1676 |
* EOAccess/EOUtilities.m ([EOEditingContext -objectsMatchingValue: |
1677 |
forKey:entityNamed:]): implemented. |
1678 |
|
1679 |
2000-12-01 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1680 |
|
1681 |
* EOAccess/EOUtilities.m/.h: new files. |
1682 |
* EOAccess/EOAccess.h: addes EOUtilities.h |
1683 |
|
1684 |
2000-11-23 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1685 |
|
1686 |
* EOControl/EOEditingContext.m ([EOEditingContext |
1687 |
-initializeObject:withGlobalID:editingContext:]): ensure that the next |
1688 |
'willChange' notification will be processed for the initialized object. |
1689 |
* EOAccess/EOEntity.m ([EOEntity -globalIDForRow:]): fixed globalID |
1690 |
values order for compound PKs. |
1691 |
|
1692 |
2000-11-22 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1693 |
|
1694 |
* EOAccess/EODatabaseOperationPriv.h: new file. |
1695 |
* EOAccess/EODatabaseOperation.m ([EODatabaseOperation |
1696 |
-_setGlobalID:]): new method. |
1697 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext |
1698 |
-prepareForSaveWithCoordinator:editingContext:]): fixed propagates |
1699 |
primary key code. |
1700 |
([EODatabaseContext -_recordChangesForObjects:operator:]): in toOne rel |
1701 |
discard PK to PK joins. Discard 'empty' toOne rels. |
1702 |
([EODatabaseContext -_setGlobalID:forDatabaseOperation:): new method. |
1703 |
It replaces the globalID for the gived operation. |
1704 |
* EOAccess/EORelationship.m ([EORelationship |
1705 |
-initWithPropertyList:owner:]): check for 'propagatesPrimaryKey'. |
1706 |
* EOAccess/EOSQLExpression.m ([EOSQLExpression |
1707 |
-addOrderByAttributeOrdering:]): use compare selector defines. Call |
1708 |
-sqlStringForAttributeNamed: for the sortOrdering key. |
1709 |
|
1710 |
2000-11-19 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1711 |
|
1712 |
* EOControl/EOFault.m ([EOFault +makeObjectIntoFault:withHandler:]): |
1713 |
do not turn into fault the nil object. |
1714 |
* EOControl/EOEditingContext.m ([EOEditingContext |
1715 |
-refaultObject:withGlobalID:editingContext:]): does nothing if objects |
1716 |
is nil. |
1717 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext |
1718 |
-refaultObject:withGlobalID:editingContext:]): likewise. |
1719 |
([EODatabaseContext -refaultObject:withGlobalID:editingContext:]): does |
1720 |
not remove the snapshot. |
1721 |
([EODatabaseChannel -fetchObject]): fix for refreshing object. |
1722 |
* EOControl/EOSortOrdering.m ([NSMutableArray |
1723 |
-_sortUsingKeyOrder:fromIndex:count:]): use defined value for compare |
1724 |
selectors. Fix when aValue or bValue are nil. |
1725 |
([EONull -compareAscending:]), ([EONull -compareDescending:]), |
1726 |
([EONull -compareCaseInsensitiveAscending:]): ([EONull |
1727 |
-compareCaseInsensitiveDescending:]): if value to be compared is be |
1728 |
treat it as EONull. |
1729 |
|
1730 |
2000-11-18 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1731 |
|
1732 |
* EOControl/EOEditingContext.m ([EOEditingContext |
1733 |
-processRecentChanges]): get toOne and toMany keys from object instead |
1734 |
of the editingContext. |
1735 |
|
1736 |
* EOAccess/EODatabaseContext.m ([EODatabaseContext |
1737 |
-_recordChangesForObjects:operator:]): new method. Fixed foreign key |
1738 |
update for inserted objects of toOne relationships. Fixed dictionary |
1739 |
and foreign key update for toMany relationships. |
1740 |
([EODatabaseContext -recordChangesInEditingContext]): moved code into |
1741 |
-_recordChangesForObjects:operator: and check changes also in inserted |
1742 |
objects. |
1743 |
([EODatabaseContext -_dbOperationWithObject:operator:]): new method. |
1744 |
Find db operation for the given object and operator. |
1745 |
([EODatabaseContext -commitChanges]), ([EODatabaseContext |
1746 |
-rollbackChanges]): reset ivars if no transaction in progress. |
1747 |
|
1748 |
2000-11-16 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1749 |
|
1750 |
* EOControl/EOEditingContext.m ([EOEditingContext |
1751 |
-_handleObjectsChangedInStoreNotification:]): refault updated objects. |
1752 |
|
1753 |
* EOAccess/EODatabaseChannel.m ([EODatabaseChannel -fetchObject]): |
1754 |
fixed notification for refreshed objects. |
1755 |
* EOAccess/EOSQLExpression.m ([EOSQLExpression |
1756 |
-sqlStringForAttribute:]): fix id attribute is derived. |
1757 |
* EOAccess/EOEntity.m ([EOEntity -setAttributesUsedForLocking:]): fix |
1758 |
release of the array when no valid attributes are found. |
1759 |
([EOEntity -setPrimaryKeyAttributes:]): likewise. |
1760 |
* EOAccess/EODatabase.m ([EODatabase -forgetSnapshotsForGlobalIDs:]): |
1761 |
([EODatabase -forgetSnapshotForGlobalID:]): use defined userInfo string |
1762 |
instead of an hardcoded one. |
1763 |
|
1764 |
2000-11-05 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1765 |
|
1766 |
* EOControl/EOSortOrdering.m ([NSArray |
1767 |
-sortedArrayUsingKeyOrderArray:]): implemented. |
1768 |
([NSMutableArray -sortUsingKeyOrderArray:]): not fully implemented. |
1769 |
([NSMutableArray -_sortUsingKeyOrder:fromIndex:count:]): modified |
1770 |
gnustep-base shell sort. |
1771 |
([EOSortOrdering -initWithCoder:]): fixed. |
1772 |
([EONull -compareAscending:]): implemented. |
1773 |
([EONull -compareDescending:]): implemented. |
1774 |
([EONull -compareCaseInsensitiveAscending:]): implemented. |
1775 |
([EONull -compareCaseInsensitiveDescending:]): implemented. |
1776 |
|
1777 |
* EOAdaptors/Postgres95/Postgres95Channel.m ([Postgres |
1778 |
-_describeResults]): does not coerce attribute className. |
1779 |
* EOAdaptors/Postgres95/Postgres95Values.m: fixed pg calendar format. |
1780 |
* EOAdaptors/Postgres95/Postgres95SQLExpression.m ([Postgres -assembleSelectStatementWithAttributes:lock:qualifier:fetchOrder:selectString:columnList:tableList:whereClause:joinClause:orderByClause:lockClause:]): does not return |
1781 |
mutableCopy of the string. |
1782 |
([Postgres +formatValue:forAttribute:]): implemented. Added code from |
1783 |
Turbocat's development. |
1784 |
|
1785 |
* EOAccess/EOSQLExpression.m: does not return mutableCopy of a string. |
1786 |
([EOSQLExpression +formatValue:forAttribute:]): return value unchanged. |
1787 |
([EOSQLExpression -sqlStringForValue:attributeNamed:]): bug fix ? |
1788 |
moved code from +[formatValue:forAttribute:] |
1789 |
|
1790 |
* EOControl/EOAndQualifier.m ([EOAndQualifier |
1791 |
-sqlStringForSQLExpression:]): doesn't return mutableCopy of a string. |
1792 |
* EOControl/EOOrQualifier.m ([EOOrQualifier |
1793 |
-sqlStringForSQLExpression:]): likewise. |
1794 |
|
1795 |
* EOControl/EODetailDataSource.m ([EODetailDataSource |
1796 |
-initWithMasterClassDescription:detailKey:]): set |
1797 |
masterClassDescription. |
1798 |
|
1799 |
* EOAccess/EOSQLExpression.m |
1800 |
([EOSQLExpression -addCreateClauseForAttribute:]): |
1801 |
([EOSQLExpression -allowsNullClauseForConstraint:]): |
1802 |
([EOSQLExpression -columnTypeStringForAttribute:]): |
1803 |
([EOSQLExpression +dropTableStatementsForEntityGroup:]): |
1804 |
([EOSQLExpression +createTableStatementsForEntityGroup:]): |
1805 |
([EOSQLExpression +primaryKeyConstraintStatementsForEntityGroup:]): |
1806 |
([EOSQLExpression +primaryKeySupportStatementsForEntityGroup:]): |
1807 |
([EOSQLExpression +dropPrimaryKeySupportStatementsForEntityGroup:]): |
1808 |
([EOSQLExpression +createTableStatementsForEntityGroups:]): |
1809 |
([EOSQLExpression +dropTableStatementsForEntityGroups:]): |
1810 |
([EOSQLExpression +primaryKeyConstraintStatementsForEntityGroups:]): |
1811 |
([EOSQLExpression +primaryKeySupportStatementsForEntityGroups:]): |
1812 |
([EOSQLExpression +dropPrimaryKeySupportStatementsForEntityGroups:]): |
1813 |
([EOSQLExpression +appendExpression:toScript:]): |
1814 |
([EOSQLExpression +schemaCreationScriptForEntities:options:]): |
1815 |
([EOSQLExpression +schemaCreationStatementsForEntities:options:]): |
1816 |
([EOSQLExpression -prepareConstraintStatementForRelationship: |
1817 |
sourceColumns:destinationColumns:]): |
1818 |
([EOSQLExpression +createDatabaseStatementsForConnectionDictionary: |
1819 |
administrativeConnectionDictionary:]): |
1820 |
([EOSQLExpression +dropDatabaseStatementsForConnectionDictionary: |
1821 |
administrativeConnectionDictionary:]): |
1822 |
([EOSQLExpression +selectStatementForContainerOptions]): implemented. |
1823 |
|
1824 |
* EOAccess/EOEntity.m ([EOEntity -primaryKeyRootName]): bug fix: calls |
1825 |
-primaryKeyRootName on the _parent entity instead of -externalName. |
1826 |
|
1827 |
* EOAccess/EOSchemaGeneration.h: new file. |
1828 |
|
1829 |
* EOAccess/EOAccess.h: added EOSchemaGeneration.h |
1830 |
|
1831 |
* EOAccess/EOModel.m ([EOModel -initWithContentsOfFile:]):, |
1832 |
([EOModel -initWithTableOfContentsPropertyList:path:]): fixed _name and |
1833 |
_path. |
1834 |
([EOModel -initWithPropertyList:owner:]): use _path instead of _name. |
1835 |
|
1836 |
* EOAccess/EOModelGroup.m ([EOModelGroup +globalModelGroup]): search |
1837 |
models in bundles and frameworks. |
1838 |
|
1839 |
* EOAccess/EOAdaptor.m ([EOAdaptor +adaptorWithName:]): changed adaptor |
1840 |
from bundle to framework. Looks for <name>EOAdaptor.framework |
1841 |
([EOAdaptor -createDatabaseWithAdministrativeConnectionDictionary:]): |
1842 |
([EOAdaptor -dropDatabaseWithAdministrativeConnectionDictionary:]): |
1843 |
new methods. |
1844 |
* EOAccess/EOAdaptor.h: added include file |
1845 |
|
1846 |
* EOAccess/GNUmakefile: added LIBRARIES_DEPEND_UPON |
1847 |
* EOControl/GNUmakefile: Likewise. |
1848 |
|
1849 |
2000-10-05 Manuel Guesdon <mguesdon@orange-concept.com> |
1850 |
|
1851 |
* EOAccess/EODatabaseChannel.m: added NSDebugMLog and NSAssert |
1852 |
* EOAccess/EODatabaseDataSource.m: added NSDebugMLog and NSAssert |
1853 |
* EOAccess/EOEntity.m: added NSDebugMLog and NSAssert |
1854 |
* EOAccess/EOModel.m: modified -init |
1855 |
* EOControl/EOFetchSpecification.h/.m: added EOKeyValueUnarchiver support |
1856 |
* EOControl/EOKeyValueArchiver.h/.m: implemented EOKeyValueUnarchiver |
1857 |
* EOControl/GNUmakefile: added EOKeyValueArchiver |
1858 |
|
1859 |
2000-09-28 Manuel Guesdon <mguesdon@orange-concept.com> |
1860 |
|
1861 |
* EOAccess/EODatabaseContext.m: added NSDebugMLog and NSAssert |
1862 |
* EOAccess/EODatabaseChannel.m: added NSDebugMLog and NSAssert |
1863 |
* EOAdaptors/Postgres95/Postgres95Channel.m : added NSDebugMLog |
1864 |
and NSAssert |
1865 |
* EOAccess/EODatabase.m: added NSDebugMLog and NSAssert |
1866 |
|
1867 |
2000-09-24 Manuel Guesdon <mguesdon@orange-concept.com> |
1868 |
|
1869 |
* config.mak: added include directories in POSTGRES95_CFLAGS |
1870 |
|
1871 |
2000-09-23 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1872 |
|
1873 |
* EOControl/EOQualifier.m (getKey): fixed pointer in key-value parsing. |
1874 |
|
1875 |
2000-09-17 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1876 |
|
1877 |
* EOAdaptors/Postgres95/GNUmakefile: remove Postgres95Exceptions.h |
1878 |
|
1879 |
2000-09-17 Mirko Viviani <mirko.viviani@rccr.cremona.it> |
1880 |
|
1881 |
Patches by David Wetzel <dave@turbocat.de> |
1882 |
* EOAccess/EOAdaptorContext.m ([EOAdaptorContext -initWithAdaptor:]): |
1883 |
set default debug. |
1884 |
|
1885 |
* EOAccess/EOModel.m ([EOModel +findPathForModelNamed:]): look also |
1886 |
in the current dir. |
1887 |
|
1888 |
* EOControl/EOObjectStoreCoordinator.m ([EOObjectStoreCoordinator |
1889 |
-objectStoreForGlobalID:]), ([EOObjectStoreCoordinator |
1890 |
-objectStoreForObject:]), ([EOObjectStoreCoordinator |
1891 |
-objectStoreForFetchSpecification:]): bug fix: changed notification |
1892 |
object. |
1893 |
|
1894 |
|