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