register null internally if the notification returned nothing.
Adjust NSLog typespeficier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26748 72102866-910b-0410-8b05-ffd578937521
* EOAccess/EOPrivate.m (GDL2_AccessPrivateInit): Set initialized to YES.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26601 72102866-910b-0410-8b05-ffd578937521
(-_setInverseRelationship:): ... and move to local privat method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26596 72102866-910b-0410-8b05-ffd578937521
being shown twice when the New From Database... menu item was selected. The
login panel was not editable when displayed due to its backing.
* DBModeler/Modeler.m
(newFromDatabase:): Removed duplicate invocation of [adaptor runLoginPanel].
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/PostgreSQLLoginPanel.m
(init): Changed the panel's backing to NSBackingStoreBuffered instead of
NSBackingStoreRetained.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26584 72102866-910b-0410-8b05-ffd578937521
attempt to populate GNUSTEP_MAKEFILES by calling gnustep-config.
* GNUmakefile.in, EOInterface/GNUmakefile, EOAccess/GNUmakefile,
DBModeler/Inspectors/GNUmakefile, DBModeler/GNUmakefile, Tools/GNUmakefile,
EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
EOAdaptors/SQLiteAdaptor/GNUmakefile.in, EOAdaptors/GNUmakefile.in,
EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in, EOControl/GNUmakefile,
GDL2Palette/GNUmakefile, Documentation/GDL2Intro/GNUmakefile,
Documentation/GDL2Intro/Examples/GNUmakefile, Documentation/GNUmakefile,
EOModeler/GNUmakefile, common.make
Added logic to the local common.make to try to populate GNUSTEP_MAKEFILES by
calling gnustep-config, if GNUSTEP_MAKEFILES is not already populated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26583 72102866-910b-0410-8b05-ffd578937521
the item with tag, not item with index of the tag.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26581 72102866-910b-0410-8b05-ffd578937521
GNUSTEP_MAKEFILES if it is not already set.
* configure.ac, GNUmakefile.in
In the event that GNUSTEP_MAKEFILES is not set, attempt to obtain its value
by executing gnustep-config.
* configure
Regenerated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26554 72102866-910b-0410-8b05-ffd578937521
directives to avoid using deprecated methods, and also use a few newer methods
to improve the appearance. At some point, we should revisit these
NSTableView's as they seem to be candidates for re-factoring.
* DBModeler/ModelerEntityEditor.m, DBModeler/ModelerAttributeEditor.m
(initWithParentEditor:): Replaced use of the deprecated
[NSTableView setAutoresizesAllColumnsToFit:] on Mac OS X 10.4 and later with
[NSTableView setColumnAutoresizingStyle:]. Also, make use of
setUsesAlternatingRowBackgroundColors: and setGridStyleMask: to achieve an
appearance that more closely mimics EOModeler.
* DBModeler/MainModelEditor.m
(initWithDocument:): Replaced use of the deprecated
[NSTableView setAutoresizesAllColumnsToFit:] on Mac OS X 10.4 and later with
[NSTableView setColumnAutoresizingStyle:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26553 72102866-910b-0410-8b05-ffd578937521
Renaissance library. Replaced the gorm file with a gsmarkup file, and
modified the app code to use it.
* DBModeler/SQLGenerator.m
(init): Updated to load the gsmarkup file, rather than the nib.
(awakeFromGSMarkup): Replaces the previous awakeFromNib.
* DBModeler/Resources/SQLGenerator.gsmarkup
Initial import.
* DBModeler/Resources/SQLGenerator.gorm
Removed from repository.
* DBModeler/GNUmakefile
Replaced the SQLGenerator.gorm resource with SQLGenerator.gsmarkup. Removed
a dangling reference to ConsistencyResults.gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26522 72102866-910b-0410-8b05-ffd578937521
for an old unused hack.
* EOModeler/EOModelerDocument.m: Add some comments about the new hack.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26518 72102866-910b-0410-8b05-ffd578937521
menu.
* DBModeler/main.m
(main): Added code to load the application menu, as described in the
Renaissance tutorial.
* DBModeler/Modeler.m
(applicationWillFinishLaunching:): Removed code to manually created the
application's menu. This is now handled by Renaissance.
* DBModeler/Resources/Menu-GNUstep.gsmarkup,
DBModeler/Resources/Menu-Cocoa.gsmarkup
Initial import
* DBModeler/GNUmakefile
Added Renaissance to the list of libraries used by DBModeler. Added
Menu-Cocoa.gsmarkup and Menu-GNUstep.gsmarkup to the list of application
resources.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26516 72102866-910b-0410-8b05-ffd578937521
* DBModeler/GNUmakefile: Added DBModeler.icns to the list of resources, and
set DBModeler_APPLICATION_ICON so the icon will be set appropriately.
* DBModeler/Resources/DBModeler.icns: Initial import. Created with Icon
Composer using DBModeler.tiff. This will need to be replaced at some point
with an image that goes up to 512x512.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26515 72102866-910b-0410-8b05-ffd578937521
Use NULL instead of nil for an empty NSMenuItem action.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26514 72102866-910b-0410-8b05-ffd578937521
* Modeler.m
Changed use of the NSMenuItem protocol to the NSMenuItem class. The
NSMenuItem protocol is deprecated as of OS X 10.5.
Modified the menu creation code so that it creates a native-looking menu on
OS X. Added a top-level app menu, as well as a services menu.
Whitespace clean-up. Changed everything to spaces.
* AttributeCell.m
(drawWithFrame:inView:): Changed access of instance variable to use an
accessor method instead for showsFirstResponder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26513 72102866-910b-0410-8b05-ffd578937521
Add EOInterface, EOModeler, and DBModeler to SUBPROJECTS if GUI_LIB is
apple.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26512 72102866-910b-0410-8b05-ffd578937521
-[isValidAttributeUsedForLocking:],
-[isValidClassProperty:]): Test object equality as well as name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26484 72102866-910b-0410-8b05-ffd578937521
(getKey): Accept pointer to a va_list instead of the value.
Remove usage of useVAList
(_qualifierWithArgs): Ditto.
(qualifierWithQualifierFormat:arguments:): Pass NULL as va_list
pointer anddrop obsoleted va_list variable and useVAList parameter.
(qualifierWithQualifierFormat:varargList:): Copy va_list to local
variable before passing a reference to it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26470 72102866-910b-0410-8b05-ffd578937521
(-[prepareSelectExpressionWithAttributes🔒fetchSpecification:)]:
Conjoin the fetch specification qualifier with the restricting
qualifier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26428 72102866-910b-0410-8b05-ffd578937521
([NSArray-valueForKey:]):
Readd special handling of @count.
This make it WO45 compatible again.
The intermediate behavoir broke many WO bindings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26422 72102866-910b-0410-8b05-ffd578937521
(encodeIntoPropertyList:): Change key from attributes to arguments.
* EOAccess/EOAttribute.m (initWithPropertyList:owner:):
Handle parameter direction being a string containing a number.
Use boolValue instead of comparing against Y.
* EOAccess/Entity.m (encodeIntoPropetyList:): Encode flags as
strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26415 72102866-910b-0410-8b05-ffd578937521
(+qualifierWithQualifierFormat:varargList:),
(+qualifierWithQualifierFormat:arguments:)
(getKey): Don't use a pointer to a va_list. See
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14557
Also move variable argument parameters to the end
(_isLike): Fix a crash when matching the first character.
Fix handling of '*?' glob, comment.
(operatorSelectorForString:): Add contains.
(stringForOperatorSelector:): Change string for not equals..
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26395 72102866-910b-0410-8b05-ffd578937521
as is.
* EOControl/EOQualifier.m (getKey): Add some exceptions for invalid
qualifier formats, and parse binding variables.
(bindingKeys): Return the binding variable keys, not the qualifier keys
with binding variable values.
(EOQualifierVariable -description): Implement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26383 72102866-910b-0410-8b05-ffd578937521
Post notification only the first time the description is needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26331 72102866-910b-0410-8b05-ffd578937521
(-formatValue:forAttribute:): Use unichars, and getCharacter:.
in case insertString: modifies the string buffer.
* EOAdaptors/SQLiteAdaptor/SQLiteExpression.m (escapeString): Ditto.
Rename to escapeValue, since it works on values other than strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26320 72102866-910b-0410-8b05-ffd578937521
([NSArray-valueForKey:],[NSArray-valueForKeyPath:]):
Remove special handling of @count.
This is not WO45 compatible but is more consistent with KVC
in general and with current Cocoa implementations. Also any
sane key path using count with WO45 semantics will continue
to work as expected. This change could be reverted if a
valid use case of WO45 behavior arises.
([NSArray-computeSumForKey:],[NSArray-computeAvgForKey:],
[NSArray-computeMaxForKey:],[NSArray-computeMinForKey:]):
Call valueForKeyPath: on components with the rest of the
key path to allow for extended key paths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26314 72102866-910b-0410-8b05-ffd578937521