some NS(U)Integer transitions to fix warnings about
comparisons against NSNotFound
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36232 72102866-910b-0410-8b05-ffd578937521
equality comparison with extraneous parentheses
all harmless, but in EOEntity.m it actually was wrong
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36231 72102866-910b-0410-8b05-ffd578937521
-sqlStringForSQLExpression:]: Pass on _qualifier not self.
Patch by Georg Fleischmann <Georg.Fleischmann@vhf.de>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@31383 72102866-910b-0410-8b05-ffd578937521
add - _deleteTrashAtPath:
avoid keeping unused files in the wrapper directory.
basically, .svn/.cvs/.git
as this does not change that often I am not moving this to an
external plist at the moment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30929 72102866-910b-0410-8b05-ffd578937521
valuesForKeys: -> dictionaryWithValuesForKeys:
(The old valuesForKeys: causes a log message on OSX)
some reformats and DebugLog removals
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30924 72102866-910b-0410-8b05-ffd578937521
-writeToFile:
Don't copy or move directories
create an dir only if we have none
* Apps/EOModelEditor/EOMEDocument.m
copy old wrapper dir to new tmp path/URL
The model overwrites our own files then.
Trash like .svn stays intact this way :-)
Only OSX at the moment.
see
http://savannah.gnu.org/bugs/index.php?30348
(#ifdef'd)
-keepBackupFile
return YES
* Apps/EOModelEditor/CodeGenerator.m
don't write code for EOGenericRecord or EOCustomObject
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30922 72102866-910b-0410-8b05-ffd578937521
-addEntity:
change error checks to be in sync with reference
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30897 72102866-910b-0410-8b05-ffd578937521
-initializeObject:withGlobalID:editingContext:
remove exessive checking
-initializeObject:row:entity:editingContext:
reformat, less IMPs, less logs
* EOControl/EOFault.h
+ retainCount
unsigned -> NSUInteger
* EOControl/EOFault.m
+ retainCount
unsigned -> NSUInteger
+ clearFault:
raise if argument is no fault
rewrote retain behaviour
it makes no sense to free objects here and use the pointers
this would mess up the whole memory and crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30886 72102866-910b-0410-8b05-ffd578937521
-isValidQualifierTypeForAttribute:
reformat, remove useless code
-qualifierForLockingAttributes:primaryKeyAttributes:entity:snapshot:
reformat
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.m
-isValidQualifierType:model:
remove logs, format
* Apps/EOModelEditor/Inspectors/AttributeInspector.gsmarkup
* Apps/EOModeler/EOModelExtensions.m
Rename the char into BOOL
You can use BOOL to create code that has BOOL values.
Apple seems to do this in newer code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30874 72102866-910b-0410-8b05-ffd578937521
-unableToFaultObject:databaseContext:
remove self from exception format printing
otherwise we create a loop...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30873 72102866-910b-0410-8b05-ffd578937521
include GNUstepBase/GNUstep.h on non-GNUSTEP platforms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30848 72102866-910b-0410-8b05-ffd578937521
-updateNeededForFileAtPath:content:canOverwrite:
do not overwrite files if canOverwrite = NO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30846 72102866-910b-0410-8b05-ffd578937521
add Additional Notes
* Apps/EOModelEditor/Inspectors/GNUmakefile
* Apps/EOModelEditor/GNUmakefile
* Apps/EOModeler/Makefile.preamble
add parent directories to search path as suggested by Sergey Golovin
* TODO
updated
* GDL2Palette/GNUmakefile
add ../Apps/EOModeler to ADDITIONAL_NATIVE_LIB_DIRS
(as suggested by Sergey Golovin)
It does not build on OS X, I need patches guys :-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30845 72102866-910b-0410-8b05-ffd578937521
add -_writePlist:toFile:
use it in -writeToFile:
this makes writing OPENSTEP plists work on OSX!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30842 72102866-910b-0410-8b05-ffd578937521
* EOAccess/EODatabase.h
add _doesReleaseUnreferencedSnapshots
add dummy for incrementSnapshotCountForGlobalID
add dummy for decrementSnapshotCountForGlobalID
add disableSnapshotRefcounting
* EOAccess/EODatabaseContext.m
retain EOAdaptorChannel created by adaptor
This is documented in WO 4.5.
Otherwise it gets closed after the request's
autorelease pool is drained.
I tested this on OSX with the BookStore example.
added some dummies for future implementation
refactor objectsWithFetchSpecification: editingContext:
refactor commitChanges
* EOAccess/EODatabaseChannel.m
reformat
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
add include
* EOControl/EOGenericRecord.m
add [self willChange] in setValue:forUndefinedKey:
this will make saving changes possible for EOGenericRecord
otherwise it was just showing them in memory
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30675 72102866-910b-0410-8b05-ffd578937521
fix include for less warnings on mac
* EOAccess/EOEntity.m
fix include for less warnings on mac
isPrimaryKeyValidInObject: 0 is NOT a valid PK value
* EOAccess/EOAdaptor.m
fix include for less warnings on mac
isDroppedConnectionException
add comment and remove logs
* EOAccess/EOSQLQualifier.m
* EOAccess/EODatabaseDataSource.m
* EOAccess/EOAdaptorContext.m
* EOAccess/EORelationship.m
* EOAccess/EOUtilities.m
* EOAccess/EOSchemaGeneration.m
* EOAccess/EOAdaptorChannel.m
* EOAccess/EODatabaseChannel.m
fix include for less warnings on mac
* EOAccess/EODatabaseContext.h
add support for shouldHandleDatabaseException (WO 4.5)
* EOAccess/EODatabaseContext.m
add support for shouldHandleDatabaseException
add [newRow addEntriesFromDictionary:objectPK]
to merge PKValues into the values of the EO.
without that it is impossible to work.
relayPrimaryKey: object: entity:
Hopefully fixed.
add _delegateHandledDatabaseException:
fixed _primaryKeyForObject: raiseException:
(we raise always for now)
* EOAccess/EOAdaptorChannel.h
add comment
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m
fix include for less warnings on mac
numberOfAffectedRows: search reverse to cover "INSERT 0 1" case.
The first zero is the OID number
refactored primaryKeyForNewRowWithEntity:
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLContext.h/m
disabled _primaryKeySequenceNameFormat
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
fixed formatValue: forAttribute:
* EOControl/EOEditingContext.m
* EOControl/EOFaultHandler.m
* EOControl/EOKeyValueQualifier.m
* EOControl/EOUndoManager.m
* EOControl/EOClassDescription.m
* EOControl/EOQualifier.m
* EOControl/EOOrQualifier.m
fix include for less warnings on mac
* EOControl/EOCustomObject.m
use getCString:maxLength:encoding instead of getCString
use setValue: forKey instead of takeValue: forKey:
change text in exceptions a bit
* EOControl/EOPrivate.h
use setValue: forKey instead of takeValue: forKey:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30633 72102866-910b-0410-8b05-ffd578937521
changed scrollView sizing
* Apps/EOModeler/EOMInspectorController.m
refactored view switching into a single method
disabled bounds logging
Be sure to get the lastest gui if you try this!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30582 72102866-910b-0410-8b05-ffd578937521
include EOSQLExpression.h
move methods around to fix warnings
* EOAccess/EOEntity.m
include EOFetchSpecification.h to fix warning
* EOAccess/EOAdaptor.m
fix Mime include
* EOAccess/EOStoredProcedure.m
fix warning in setExternalName:
* EOAccess/EODatabaseContext.m
include EOAttributePriv.h and EOSQLExpression.h to fix warning
entityForGlobalID: cast to EOKeyGlobalID to avoid warning.
use caching.
_fetchRawRowKeyPaths: fix warnings by using proper types.
processSnapshotForDatabaseOperation: set EONull value when needed.
avoid warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30569 72102866-910b-0410-8b05-ffd578937521
trying to fix offsets on X11
* Apps/EOModeler/EOModelExtensions.m
remove config.h include as suggested by David Ayers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30563 72102866-910b-0410-8b05-ffd578937521