Dave Wetzel
216724f0c0
load markup, not gorm
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30282 72102866-910b-0410-8b05-ffd578937521
2010-05-02 23:54:01 +00:00
Matt Rice
01d46e5527
* DBModeler/ModelerTableEmbedibleEditor.h/m: Remove usage of
...
NSMenuItem protocol.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30281 72102866-910b-0410-8b05-ffd578937521
2010-05-02 23:18:24 +00:00
Dave Wetzel
4983a5c38e
* DBModeler/Inspectors/AttributeInspector.*
...
* DBModeler/Inspectors/GNUmakefile
Moved to Renaissance for the Attribute Inspector
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30280 72102866-910b-0410-8b05-ffd578937521
2010-05-02 22:47:00 +00:00
Dave Wetzel
51b728a2b8
* DBModeler/Modeler.m: use sel_isEqual to check menu
...
* DBModeler/Resources/SQLGenerator.gsmarkup: make window resizeable
* DBModeler/CodeGenerator.m: add credits for initialCapitalString and
initialLowercaseString
use ASSIGN() in generated code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30260 72102866-910b-0410-8b05-ffd578937521
2010-04-29 18:14:30 +00:00
Dave Wetzel
2f65a25e2f
* EOControl/EOMutableKnownKeyDictionary.m
...
removed __PRETTY_FUNCTION__ from Asserts
removed NSLogs
* EOModeler/EOModelExtensions.m
added - (NSString *)cScalarTypeString
* DBModeler/CodeGenerator.h/m: new file
Added a Code Generator like EOGenerator from www.rubicode.com
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30256 72102866-910b-0410-8b05-ffd578937521
2010-04-29 02:28:23 +00:00
Dave Wetzel
671dac2c7b
EOInterface/* numberOfRowsInTableView returns NSInteger now
...
EOModeler/EOModelerDocument.m: do not insert a model into EditingContext.
EOModeler/EOModelerEditor.m: avoid crash
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30245 72102866-910b-0410-8b05-ffd578937521
2010-04-27 01:49:42 +00:00
Dave Wetzel
fea268900f
* EOControl/EOEditingContext.m:
...
added @implementation EOCustomObject (AssociationsHack)
re-added registerAssociationForDeallocHack
* EOControl/*: ported to new runtime and OS X
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30244 72102866-910b-0410-8b05-ffd578937521
2010-04-26 22:05:17 +00:00
Dave Wetzel
7e98e4bba8
replaced unsigned int with NSUInteger. works for me, but needs code review.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30243 72102866-910b-0410-8b05-ffd578937521
2010-04-26 21:58:31 +00:00
Dave Wetzel
e92812fdff
* EOAccess/EODatabaseContext.m
...
implemented _assertValidStateWithSelector:
fixed leaks
* EOAccess/Makefile.preamble: added -Werror-implicit-function-declaration
* EOAccess/*: ported to new runtime and OS X
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30242 72102866-910b-0410-8b05-ffd578937521
2010-04-26 21:52:42 +00:00
Dave Wetzel
3f1ad81647
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.h/m
...
added _evaluateExprInProgress
_evaluateExpression:withAttributes: returns number of affected rows now.
This removes the need for keeping the _pgResult alive.
(and leak)
fix includes for non-GNUstep platforms
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLContext.m
fix includes for non-GNUstep platforms
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.m
fix includes for non-GNUstep platforms
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
fix includes for non-GNUstep platforms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30238 72102866-910b-0410-8b05-ffd578937521
2010-04-26 20:48:27 +00:00
David Ayers
7d7f63a828
* EOAccess/EODatabaseContext.m
...
(prepareForSaveWithCoordinator:editingContext:): Correct logic
for primary key generation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30219 72102866-910b-0410-8b05-ffd578937521
2010-04-22 09:38:07 +00:00
David Ayers
1ac1fc7f7d
* DBModeler/ConsistencyChecker.m (attributeDetailsCheckForModel:)
...
Fix iterator variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30210 72102866-910b-0410-8b05-ffd578937521
2010-04-21 14:05:19 +00:00
David Ayers
677af06a20
* EOControl/EOObserver.h
...
(EODelayedObserver): Inherit from EOCustomObject
to be able to rely on implicit breaking of connections
during dealloc.
* EOInterface/EOAssociation.m
(establishConnection): Reactivate implicit connection handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30209 72102866-910b-0410-8b05-ffd578937521
2010-04-21 13:59:28 +00:00
Dave Wetzel
a8f69ea595
globalIDForRow: isFinal: - create EOKeyGlobalID ouside loop
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30201 72102866-910b-0410-8b05-ffd578937521
2010-04-20 06:14:21 +00:00
Dave Wetzel
4b25a97b64
start transaction in
...
objectsWithFetchSpecification: editingContext:
if none was in place before.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30200 72102866-910b-0410-8b05-ffd578937521
2010-04-20 06:11:53 +00:00
Fred Kiefer
ce2d3fb811
Fix a few compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30199 72102866-910b-0410-8b05-ffd578937521
2010-04-19 18:00:53 +00:00
Fred Kiefer
ab3613f0c2
Use NSUInteger and remove methods declared in super class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30198 72102866-910b-0410-8b05-ffd578937521
2010-04-19 17:43:01 +00:00
David Ayers
6b8476b76b
* EOAccess/EODatabaseContext.m
...
(qualifierForLockingAttributes:primaryKeyAttributes:entity:snapshot:)
Revert rewrite. Adapt to NSUInteger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30194 72102866-910b-0410-8b05-ffd578937521
2010-04-19 07:45:08 +00:00
David Ayers
234e98ea68
revert EODatabaseContext rewrite.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30193 72102866-910b-0410-8b05-ffd578937521
2010-04-19 07:32:31 +00:00
Dave Wetzel
d763dcfadd
remove hacks, adapt to EOCustomObject
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30192 72102866-910b-0410-8b05-ffd578937521
2010-04-19 07:15:37 +00:00
Dave Wetzel
0a68de0f7c
rewrote qualifierForLockingAttributes:primaryKeyAttributes:entity:snapshot:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30191 72102866-910b-0410-8b05-ffd578937521
2010-04-19 07:15:05 +00:00
Dave Wetzel
9e3ab48964
EOControl/EOControl.h: add EOCustomObject.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30177 72102866-910b-0410-8b05-ffd578937521
2010-04-17 11:51:20 +00:00
Dave Wetzel
6e8f3f92f3
EOCustomObject.h/m new class like in EOF3.
...
Use this as your EO's superclass or use EOGenericRecords
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30176 72102866-910b-0410-8b05-ffd578937521
2010-04-17 05:55:38 +00:00
David Ayers
462ff14dac
revert accidentally committed changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30161 72102866-910b-0410-8b05-ffd578937521
2010-04-14 21:08:00 +00:00
David Ayers
09805686bf
* EOMutableKnownKeyDictionary.h/m ([-initWithObjects:forKeys:count:]):
...
* EOFault.h/m ([-retainCount]):
* EOKeyGlobalID.h/m ([-hash]):
* EOMultiReaderLock.m ([-tryLockForReading]):
* EOCheapArray.h/m ([-initWithObjects:count:],[initWithCapacity:]):
* EOGlobalID.h/m ([-hash]): Use NS(U)Integer instead of int.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30160 72102866-910b-0410-8b05-ffd578937521
2010-04-14 21:06:05 +00:00
David Ayers
c557edfd4d
* EOControl/EONSAddOns.h (GDL2_ActivateAllGDL2Categories):
...
Remove obsolete declaration.
* EOControl/EONSAddOns.m (GDL2_ActivateAll): Remove.
(GDL2_Activate): Add assertions for parameters.
* EOControl/EOClassDescription.m (+[GDL2CDNSObject load])
* EOControl/EOKeyValueCoding.m (+[GDL2KVCNSObject load])
(+[GDL2KVCNSArray load], +[GDL2KVCNSDictionary load])
(+[GDL2KVCNSMutableDictionary load]): Setup classes individually
to insure the are available in the runtime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30116 72102866-910b-0410-8b05-ffd578937521
2010-04-09 17:44:00 +00:00
David Ayers
04fcac2a87
* DBModeler/Inspectors/AttributeInspector.m: Add missing guard to include.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30115 72102866-910b-0410-8b05-ffd578937521
2010-04-09 10:50:44 +00:00
David Ayers
2960b436cf
* EOInterface/EODisplayGroup.m (_qualifierForKey:value:defaultOperator:):
...
* EOAccess/EOUtilities.m (-rawRowsWithStoredProcedureNamed:arguments:):
* EOAccess/EOSQLExpression.m (addInsertListAttribute:value:):
* GDL2Palette/ConnectionInspector.m (_keysFromClassDescription:):
* DBModeler/Inspectors/AttributeInspector.m (setValueType:):
Initialize variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30114 72102866-910b-0410-8b05-ffd578937521
2010-04-09 10:43:59 +00:00
David Ayers
abd5a8bd20
* EOControl/EOSharedEditingContext.m
...
(-objectsByEntityName, -objectsByEntityNameAndFetchSpecificationName)
(objectForGlobalID:,faultForGlobalID:editingContext:,registeredObjects):
Initialize variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30113 72102866-910b-0410-8b05-ffd578937521
2010-04-09 10:27:15 +00:00
David Ayers
c4fa031137
* EOControl/EOClassDescription.m: Add declartions for method
...
replacement hack.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30112 72102866-910b-0410-8b05-ffd578937521
2010-04-09 10:19:31 +00:00
David Ayers
1c87eeae3a
* EOControl/EOGenericRecord.m
...
(_infoForInstanceVariableNamed:stringName:retType:retSize:retOffset:):
Rearrange initialization to avoid warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30111 72102866-910b-0410-8b05-ffd578937521
2010-04-09 10:09:41 +00:00
David Ayers
e2012a67ff
* DBModeler/ModelerEntityEditor.m
...
* DBModeler/ModelerTableEmbedibleEditor.m
* DBModeler/ModelerAttributeEditor.m: Rearrange includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30110 72102866-910b-0410-8b05-ffd578937521
2010-04-09 10:00:51 +00:00
David Ayers
456c230856
* EOControl/EOKeyValueCoding.m: Add declartions for method
...
replacement hack.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30109 72102866-910b-0410-8b05-ffd578937521
2010-04-09 09:52:16 +00:00
Fred Kiefer
febeda42a3
Add missin #includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30106 72102866-910b-0410-8b05-ffd578937521
2010-04-09 08:24:23 +00:00
David Ayers
ac331bbbc8
2010-04-07 David Ayers <ayers@fsfe.org>
...
* EOInterface/EOPopUpAssociation.m: Add missing include.
Reported by: German Arias.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30099 72102866-910b-0410-8b05-ffd578937521
2010-04-07 14:12:50 +00:00
David Ayers
5107816c46
* EOAccess/EORelationship.m (-[isToManyToOne]): Correct index
...
used to retrieved second relationship.
Bug #29369
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30080 72102866-910b-0410-8b05-ffd578937521
2010-03-30 09:38:12 +00:00
David Ayers
d3a53480c1
* Tools/EOModel+GSDoc.m (-[gsdocContentSplittedByEntities:idPtr:]):
...
Split out parameters into local variables. Fix format string to
match parameters.
Reported by: Federico Gimenez Nieto, Sergey Golovin.
Fix reported by: Richard Frith-Macdonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30079 72102866-910b-0410-8b05-ffd578937521
2010-03-30 09:29:41 +00:00
David Ayers
719c9cedc1
* EOControl/EONSAddOns.m (GSUseStrictWO451Compatibility): Avoid usage
...
of GS_INITIALIZED_LOCK.
* EOControl/EOPrivate.h/m (GDL2_AssignAtomicallyIfNil): New convenience
function for initializing variables in multithreaded environments.
Reported by: Tim Kack
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30078 72102866-910b-0410-8b05-ffd578937521
2010-03-30 09:10:01 +00:00
Richard Frith-MacDonald
61e2658de9
Methods to be added to a class must share the same superclass if they call super
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29966 72102866-910b-0410-8b05-ffd578937521
2010-03-15 14:00:23 +00:00
Richard Frith-MacDonald
a0d4e91907
avoid adding +load as an override
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29965 72102866-910b-0410-8b05-ffd578937521
2010-03-15 13:20:26 +00:00
Richard Frith-MacDonald
601409fef6
update for new objc runtime
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29958 72102866-910b-0410-8b05-ffd578937521
2010-03-15 08:56:06 +00:00
Matt Rice
34b5413f0f
* DBModeler/DiagramView.m: Add missing include.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29865 72102866-910b-0410-8b05-ffd578937521
2010-03-07 10:48:25 +00:00
Nicola Pero
757ee35042
Removed unused dependency rule
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29566 72102866-910b-0410-8b05-ffd578937521
2010-02-11 22:44:52 +00:00
Gregory John Casamento
541a65b800
* EOControl/EOKeyValueArchiver.h: Add forward declaration of
...
NSMutableArray.
* EOControl/EOQualifier.h: Add missing include for NSArray.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28419 72102866-910b-0410-8b05-ffd578937521
2009-07-29 08:06:55 +00:00
David Ayers
648ce9193b
* EOAccess/EOExpressionArray.m (-[valueForSQLExpression:):
...
Use _infix instead of @"." and skip if _infix is not set.
* EOAccess/EOSQLExpression
([EOSQLExpression-prepareSelectExpressionWithAttributes:]):
Set listString for "flattened attributes" for aggregate definitions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28408 72102866-910b-0410-8b05-ffd578937521
2009-07-24 17:11:50 +00:00
David Ayers
57ca86ebd6
* EOAccess/EOSQLQualifier.m
...
(-[initWithEntity:qualifierFormat:]): Implement.
(-[schemaBasedQualifierWithRootEntity:]): Ditto.
(-[sqlStringForSQLExpression:]): Ditto.
(-[dealloc]): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28407 72102866-910b-0410-8b05-ffd578937521
2009-07-24 16:43:07 +00:00
David Ayers
2883b0b21c
2009-06-24 Georg Fleischmann <g.fleischmann@vhf.de>
...
2009-06-24 David Ayers <ayers@fsfe.org>
* EOAccess/EOPrivate.h (EOQualifier <EOQualifierSQLGeneration>):
Declare.
* EOAccess/EOSQLQualifier.m
([EOQualifier schemaBasedQualifierWithRootEntity:]),
([EOQualifier sqlStringForSQLExpression:]): Add preliminary dummy
implementations.
([EONotQualifier schemaBasedQualifierWithRootEntity:]): Implement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28406 72102866-910b-0410-8b05-ffd578937521
2009-07-24 16:20:27 +00:00
David Ayers
8351843e41
* EOAdaptor/PostgreSQLAdaptor/EOPostgreSQLExpression.m
...
(+[formatValue:forAttribute:]): Do not escape underscore characters
in values.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28316 72102866-910b-0410-8b05-ffd578937521
2009-06-01 12:02:25 +00:00
David Ayers
8eda0f3a98
* EOControl/EOAndQualifier.m
...
* EOControl/EOKeyComparisonQualifier.m
* EOControl/EONotQualifier.m
* EOControl/EOOrQualifier.m
* EOControl/EOQualifier.m
* EOAccess/EOSQLQualifier.m: Include NSArray.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28315 72102866-910b-0410-8b05-ffd578937521
2009-06-01 11:51:06 +00:00
David Ayers
93563c9829
(revert last change)
...
2009-04-04 David Ayers <ayers@fsfe.org>
* EOControl/EOUndoManager.m (-[registerUndoWithTarget:selector:arg:]):
Defer to NSUndoManager's -[registerUndoWithTarget:selector:object:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28178 72102866-910b-0410-8b05-ffd578937521
2009-04-04 22:07:39 +00:00