[Gnustep-cvs] gnustep/dev-libs/gdl2 ChangeLog EOInterface/EOA...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: matt rice <[EMAIL PROTECTED]> 05/07/09 03:01:22 Modified files: dev-libs/gdl2 : ChangeLog dev-libs/gdl2/EOInterface: EOAssociation.m EOColumnAssociation.m EODisplayGroup.m EOGenericControlAssociation.m EOMasterDetailAssociation.m EOPopUpAssociation.m EOTableViewAssociation.m SubclassFlags.h Log message: * EOInterface/EOAssociation.m: New variable _objectToAssociations. (+objectDeallocated:): New private method. (+initialize): initialize _objectToAssociations. (-dealloc): Discard any pending notifications. (-establishConnection): Retain display groups we're bound to. Retain our self and register our object for dealloc notification. (-breakConnection): Release display groups we're bound to. Release our self and discard any pending notifications. (-subjectChanged): Add comment * EOInterface/EOColumnAssociation.m (-establishConnection): Assign our dg ivar after establishing connection. Use the dg ivar and move 2 if statements into one. * EOInterface/EODisplayGroup.m: Remove debugging class/category for emptyArray and emptyDictionary. (-indexesForObjectsIndeticalTo:): Fix typo by renaming to -indexesForObjectsIdenticalTo:. (-dealloc): Remove our self as an observer for any notifications, as an editor or message handler for our editing context, our observer proxies as observers from the observer center. Don't release array/dictionary ivars that are emptyArray or emptyDictionary. (-setSelectionIndexes:): Update to reflect change in method name. (-deleteSelection): Remove unused local var. (-fetch:): Call -redisplay. (-updatedObjectIndex:): Return -1 instead of 0 until this is implemented. (-setValue:forObject:key:): fix comment in exception handlers. * EOInterface/EOGenericControlAssociation.m: (-subjectChanged:): Remove unused local variable. * EOMasterDetailAssociation.m: (-establishConnection, -breakConnection, -subjectChanged): Implement. * EOInterface/EOPopUpAssociation.m: Remove unused local variables. * EOInterface/EOTableViewAssociation.m: (-breakConnection:): Remove our NSTableView object from the map table. (-subjectChanged:): Remove unused local variables. Release temporary retain on selection indexes. (+bindToTableView:displayGroup:): Don't retain the table views in the map table. Release the newly created association. (-dealloc): Remove self from the tvAssociationMap. * EOInterface/SubclassFlags.h: Fix bitmask on MatchKey1AspectMask. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-libs/gdl2/ChangeLog.diff?tr1=1.236&tr2=1.237&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-libs/gdl2/EOInterface/EOAssociation.m.diff?tr1=1.3&tr2=1.4&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-libs/gdl2/EOInterface/EOColumnAssociation.m.diff?tr1=1.2&tr2=1.3&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-libs/gdl2/EOInterface/EODisplayGroup.m.diff?tr1=1.4&tr2=1.5&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-libs/gdl2/EOInterface/EOGenericControlAssociation.m.diff?tr1=1.2&tr2=1.3&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-libs/gdl2/EOInterface/EOMasterDetailAssociation.m.diff?tr1=1.1&tr2=1.2&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-libs/gdl2/EOInterface/EOPopUpAssociation.m.diff?tr1=1.2&tr2=1.3&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-libs/gdl2/EOInterface/EOTableViewAssociation.m.diff?tr1=1.2&tr2=1.3&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-libs/gdl2/EOInterface/SubclassFlags.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
[Gnustep-cvs] gnustep/dev-libs/gdl2/DBModeler/Resources/SQLGenerator.gorm
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: matt rice <[EMAIL PROTECTED]> 05/07/09 01:52:07 gnustep/dev-libs/gdl2/DBModeler/Resources/SQLGenerator.gorm Update of /cvsroot/gnustep/gnustep/dev-libs/gdl2/DBModeler/Resources/SQLGenerator.gorm In directory savannah:/tmp/cvs-serv28568/SQLGenerator.gorm Log Message: Directory /cvsroot/gnustep/gnustep/dev-libs/gdl2/DBModeler/Resources/SQLGenerator.gorm added to the repository
[Gnustep-cvs] gnustep/dev-libs/gdl2 ChangeLog DBModeler/Adapt...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: matt rice <[EMAIL PROTECTED]> 05/07/09 02:07:42 Modified files: dev-libs/gdl2 : ChangeLog dev-libs/gdl2/DBModeler: AdaptorsPanel.m DefaultColumnProvider.m EOAdditions.m GNUmakefile KVDataSource.m MainModelEditor.m Modeler.m ModelerAttributeEditor.m ModelerEntityEditor.m ModelerTableEmbedibleEditor.m dev-libs/gdl2/DBModeler/Inspectors: RelationshipInspector.m Added files: dev-libs/gdl2/DBModeler: ConsistencyChecker.h ConsistencyChecker.m ConsistencyResults.h ConsistencyResults.m SQLGenerator.h SQLGenerator.m dev-libs/gdl2/DBModeler/Resources/ConsistencyResults.gorm: data.classes data.info objects.gorm dev-libs/gdl2/DBModeler/Resources/SQLGenerator.gorm: data.classes data.info objects.gorm Log message: * DBModeler/AdaptorsPanel.m (-init): Add parenthesis around assignment. Replace label with window title. (-runAdaptorsPanel:): Remove unused variable. * DBModeler/DefaultColumnProvider.m: Add missing braces, remove unused ivars. (-cellForColumnNamed:): Autorelease cells. * DBModeler/EOAdditions.m: New EOAttribute KVC methods -allowNull and -setAllowNull:. * DBModeler/GNUmakefile: Add new to project. * DBModeler/KVDataSource.m (-createObject:): Return nil after throwing exception. * DBModeler/MainModelEditor.m (-dragImageForRows:event:dragImageOffset:):: Enable drag and drop for relationships. (-initWithDocument:): Add parenthesis around assignment. Don't release the document window on close. (-ecStuff:): temporarily reload everything in the outline view when something changes. (-viewSelectedObject:): Remove NSLog. Rewrite editor activation. Fix leaks. * DBModeler/Modeler.m (-applicationWillFinishLaunching:): Add new menu items. Don't order our menu in. (-new:,-open:): Move document initializition to _newDocumentWithModel:. (-_newDocumentWithModel:,-newFromDatabase:): New methods. (-validateMenuItem:,-generateSQL:): Ditto. * DBModeler/ModelerAttributeEditor.m (-initWithParentEditor:): Remove unused variables. (-displayGroupDidChangeSelection:): return early if there is no longer a selection. * DBModeler/ModelerEntityEditor.m: (-canSupportCurrentSelection): Remove NSLog. (-displayGroupDidChangeSelection:): Ditto. (-dealloc:): New method. (-initWithParentEditor:): Remove unused variables. Add parens around assignment. Release local variables. * DBModeler/ModelerTableEmbedibleEditor: (-addDefaultTableColumnsForTableView:displayGroup:): Release table columns. (-addTableColumnForItem:tableView:): Ditto. * DBModeler/Inspectors/RelationshipInspector.m: (-selectedEntity, -selectedDestinationAttribute): New methods. (-selectedSourceAttribute, -indexOfSourceAttribute:): Ditto. (-indexOfDestinationAttribute:,joinWithSource:destination:): Ditto. (-selectedJoin:,updateConnectButton,): Ditto. (-refresh): Rewrite using new methods. (-numberOfRowsInTableView:): Add fallback return value. (-tableView:objectValueForTableColumn:row:): Ditto. (-tableView:selectionDidChange:): If a source or destination attribute is now selected, select its counterpart. (-tableView:shouldSelectRow:): New method to disallow entity selection if there is a destination entity. (-tableView:willDisplayCell:forTableColumn:row:): New method, set the cell text color to disabled text color, if we would disallow selection. (-connectionChanged:): Implement disconnection. * DBModeler/SQLGenerator.h/m: New files initial implementation. * DBModeler/Resources/SQLGenerator.gorm: Ditto. * DBModeler/ConsistencyChecker.h/m: Ditto. * DBModeler/ConsistencyResults.h/m: Ditto. * DBModeler/ConsistencyResults.gorm: Ditto. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewc
[Gnustep-cvs] gnustep/dev-libs/gdl2/DBModeler/Resources/ConsistencyResults.gorm
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: matt rice <[EMAIL PROTECTED]> 05/07/09 01:52:06 gnustep/dev-libs/gdl2/DBModeler/Resources/ConsistencyResults.gorm Update of /cvsroot/gnustep/gnustep/dev-libs/gdl2/DBModeler/Resources/ConsistencyResults.gorm In directory savannah:/tmp/cvs-serv28568/ConsistencyResults.gorm Log Message: Directory /cvsroot/gnustep/gnustep/dev-libs/gdl2/DBModeler/Resources/ConsistencyResults.gorm added to the repository
GUI/back changes in CVS
I just added changes to GUI and back that will in the end allow pattern images for GNUstep and the new MacOSX composite operator that uses an addtional alpha value. I wanted these changes to go into the next release as this will break binary compatibility between GUI and back. I have tested this change with xlib. It would be great, if somebody could test it before the release with art and winlib. I hope to finish the support for pattern colours over the weekend. What I wont eb working in is new composite operator for the art backend. The win backend had this already implemented for some time. Cheers Fred ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev
[Gnustep-cvs] gnustep/core/back ChangeLog Headers/gsc/GSGStat...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: Fred Kiefer <[EMAIL PROTECTED]> 05/07/09 00:10:08 Modified files: core/back : ChangeLog core/back/Headers/gsc: GSGState.h core/back/Source/gsc: GSContext.m GSGState.m GSStreamContext.m core/back/Source/xlib: XGGState.m Log message: dded partial implementation for pattern colour and alpha image composition. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/back/ChangeLog.diff?tr1=1.379&tr2=1.380&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/back/Headers/gsc/GSGState.h.diff?tr1=1.5&tr2=1.6&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/back/Source/gsc/GSContext.m.diff?tr1=1.14&tr2=1.15&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/back/Source/gsc/GSGState.m.diff?tr1=1.25&tr2=1.26&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/back/Source/gsc/GSStreamContext.m.diff?tr1=1.19&tr2=1.20&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/back/Source/xlib/XGGState.m.diff?tr1=1.31&tr2=1.32&r1=text&r2=text
[Gnustep-cvs] gnustep/core/gui ChangeLog Headers/AppKit/NSGra...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: Fred Kiefer <[EMAIL PROTECTED]> 05/07/08 23:51:49 Modified files: core/gui : ChangeLog core/gui/Headers/AppKit: NSGraphicsContext.h core/gui/Source: NSColor.m NSGraphicsContext.m NSImage.m Log message: Added methods for pattern colour and alpha image composition. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/ChangeLog.diff?tr1=1.2547&tr2=1.2548&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Headers/AppKit/NSGraphicsContext.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSColor.m.diff?tr1=1.54&tr2=1.55&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSGraphicsContext.m.diff?tr1=1.77&tr2=1.78&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSImage.m.diff?tr1=1.88&tr2=1.89&r1=text&r2=text
[Gnustep-cvs] gnustep/core/base ChangeLog Testing/GNUmakefile...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: Adam Fedor <[EMAIL PROTECTED]> 05/07/08 19:44:39 Modified files: core/base : ChangeLog core/base/Testing: GNUmakefile nsfilehandle.m Log message: Minor fixes CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/ChangeLog.diff?tr1=1.2560&tr2=1.2561&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Testing/GNUmakefile.diff?tr1=1.42&tr2=1.43&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Testing/nsfilehandle.m.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
[Gnustep-cvs] gnustep/core/make ChangeLog Documentation/news....
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: Adam Fedor <[EMAIL PROTECTED]> 05/07/08 19:40:55 Modified files: core/make : ChangeLog core/make/Documentation: news.texi Log message: Update for next version CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/make/ChangeLog.diff?tr1=1.1150&tr2=1.1151&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/make/Documentation/news.texi.diff?tr1=1.31&tr2=1.32&r1=text&r2=text
[Gnustep-cvs] gnustep/dev-apps/Gorm ChangeLog Gorm.m Palettes...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: Gregory John Casamento <[EMAIL PROTECTED]> 05/07/08 17:32:06 Modified files: dev-apps/Gorm : ChangeLog Gorm.m dev-apps/Gorm/Palettes/3Containers: GormNSOutlineView.m GormNSTableView.m Log message: Corrected issue with testing. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/Gorm/ChangeLog.diff?tr1=1.700&tr2=1.701&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/Gorm/Gorm.m.diff?tr1=1.197&tr2=1.198&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/Gorm/Palettes/3Containers/GormNSOutlineView.m.diff?tr1=1.13&tr2=1.14&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/Gorm/Palettes/3Containers/GormNSTableView.m.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
Re: fileSystemRepresentationWithPath:
On 2005-07-08 12:02:45 +0100 Leigh Smith <[EMAIL PROTECTED]> wrote: Digging deeper, the problem reduces to that NSFileManager - fileSystemRepresentationWithPath: is defined to return a unicode encoded const char * string, whereas NSBundle -load NSDebugFLLog() statements are assuming the string returned from fileSystemRepresentationWithPath: is an 8 bit char *, not unicode. Thanks ... the debug logging needs to be fixed for windows then. I'll try to do that. The __objc_dynamic_link() definition in win32-load.h calls LoadLibraryExW() which assumes (casts) it's filename parameter is unichar *. The problem seems to be that the string returned by fileSystemRepresentationWithPath: does not have the leading '\0' for latin unicode, but subsequent characters do have the leading '\0' hence the 'c' alone being displayed by the NSBundle debugging code (which prints using %s). I *think* that's correct ... shouldn't the nul byte appear second because intel uses little-endian byte order. My point being the lack of byteOrderMark, or a leading '\0' in the string, unless there is strange behaviour treating unichar * strings and casting them back to char *. I'll dig in further. My understanding is that windows does not expect to find a BOM in strings passed to its wide API. I wonder ... are you still using the old narrow character API when loading? I think perhaps you need to rerun configure to get the correct version of the file in place. ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev
[Gnustep-cvs] gnustep/core/base ChangeLog Source/objc-load.m
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: Richard Frith-Macdonald <[EMAIL PROTECTED]> 05/07/08 11:59:41 Modified files: core/base : ChangeLog core/base/Source: objc-load.m Log message: Print unicode filenames under mingw CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/ChangeLog.diff?tr1=1.2559&tr2=1.2560&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/objc-load.m.diff?tr1=1.20&tr2=1.21&r1=text&r2=text
[Gnustep-cvs] gnustep/core/base ChangeLog Headers/Foundation/...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: Richard Frith-Macdonald <[EMAIL PROTECTED]> 05/07/08 11:48:37 Modified files: core/base : ChangeLog core/base/Headers/Foundation: NSUserDefaults.h core/base/Source: GSArray.m GSCountedSet.m GSFileHandle.m GSSet.m GSString.m GSeq.h NSArchiver.m NSArray.m NSAttributedString.m NSCalendarDate.m NSCharacterSet.m NSConnection.m NSCountedSet.m NSData.m NSDictionary.m NSDistributedNotificationCenter.m NSFileManager.m NSMessagePort.m NSMessagePortNameServer.m NSMethodSignature.m NSNotification.m NSObject.m NSPipe.m NSPortCoder.m NSPropertyList.m NSRange.m NSScanner.m NSSerializer.m NSSet.m NSSocketPort.m NSSocketPortNameServer.m NSString.m NSThread.m NSTimeZone.m NSTimer.m NSURLHandle.m NSUnarchiver.m NSUserDefaults.m NSValue.m mframe.m core/base/Source/Additions: GSCategories.m GSMime.m GSObjCRuntime.m GSXML.m Unicode.m core/base/Tools: AGSHtml.m AGSIndex.m AGSOutput.m gdomap.c gdomap.h core/base/Tools/make_strings: make_strings.m Log message: Recommit gcc-4 tweaks CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/ChangeLog.diff?tr1=1.2558&tr2=1.2559&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Headers/Foundation/NSUserDefaults.h.diff?tr1=1.7&tr2=1.8&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/GSArray.m.diff?tr1=1.31&tr2=1.32&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/GSCountedSet.m.diff?tr1=1.22&tr2=1.23&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/GSFileHandle.m.diff?tr1=1.28&tr2=1.29&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/GSSet.m.diff?tr1=1.25&tr2=1.26&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/GSString.m.diff?tr1=1.102&tr2=1.103&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/GSeq.h.diff?tr1=1.19&tr2=1.20&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSArchiver.m.diff?tr1=1.64&tr2=1.65&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSArray.m.diff?tr1=1.149&tr2=1.150&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSAttributedString.m.diff?tr1=1.47&tr2=1.48&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSCalendarDate.m.diff?tr1=1.107&tr2=1.108&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSCharacterSet.m.diff?tr1=1.59&tr2=1.60&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSConnection.m.diff?tr1=1.142&tr2=1.143&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSCountedSet.m.diff?tr1=1.39&tr2=1.40&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSData.m.diff?tr1=1.152&tr2=1.153&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSDictionary.m.diff?tr1=1.114&tr2=1.115&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSDistributedNotificationCenter.m.diff?tr1=1.41&tr2=1.42&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSFileManager.m.diff?tr1=1.116&tr2=1.117&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSMessagePort.m.diff?tr1=1.19&tr2=1.20&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSMessagePortNameServer.m.diff?tr1=1.9&tr2=1.10&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSMethodSignature.m.diff?tr1=1.37&tr2=1.38&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSNotification.m.diff?tr1=1.28&tr2=1.29&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSObject.m.diff?tr1=1.199&tr2=1.200&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSPipe.m.diff?tr1=1.23&tr2=1.24&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/base/Source/NSPortCoder.m.diff?tr1=1.48&tr2=1.49&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/cor
fileSystemRepresentationWithPath:
c:\msys\1.0\home\leigh\Sources\FTDITest\ThummerComms.app \ThummerComms.exe: Uncaught exception NSInternalInconsistencyException, reason: NSApplication.m:217 Assertion failed in initialize_gnustep_backend. Can't load object file from backend at path c:/GNUstep/System/Library/ Bundles/ libgnustep-back.bundle The bundle is indeed at this location. I'm dubious about that ... there is a space in the path after the '.app' ... which is probably incorrect. Perhaps that's the cause of your trouble? Also, there is a space in 'c:/GNUstep/System/ Library/Bundles/ libgnustep-back.bundle' Any idea where the spaces come from? I rechecked the error message and the space seems to have been inserted by my mail client. I'm not sure what you mean by that ... it should definitely not do anything special with DOS drive separators. All that method does is provide a pointer to a region of memory containing a representation of the string in the specified character encoding. Digging deeper, the problem reduces to that NSFileManager - fileSystemRepresentationWithPath: is defined to return a unicode encoded const char * string, whereas NSBundle -load NSDebugFLLog() statements are assuming the string returned from fileSystemRepresentationWithPath: is an 8 bit char *, not unicode. The __objc_dynamic_link() definition in win32-load.h calls LoadLibraryExW() which assumes (casts) it's filename parameter is unichar *. The problem seems to be that the string returned by fileSystemRepresentationWithPath: does not have the leading '\0' for latin unicode, but subsequent characters do have the leading '\0' hence the 'c' alone being displayed by the NSBundle debugging code (which prints using %s). I'm almost certain there should be a leading '\0' in the unicode string returned by fileSystemRepresentationWithPath:? NSString -dataUsingEncoding:allowLossyConversion: has the following code: else if (encoding == NSUnicodeStringEncoding) { unichar*buff; buff = (unichar*)NSZoneMalloc(NSDefaultMallocZone(), sizeof(unichar)*(len+1)); buff[0] = byteOrderMark; [self getCharacters: &buff[1] range: ((NSRange){0, len})]; return [NSDataClass dataWithBytesNoCopy: buff length: sizeof(unichar)*(len+1)]; } Adding if (objc_load_module([object fileSystemRepresentation], stderr, _bundle_load_callback, NULL, NULL)) { const char *fsrp = [object fileSystemRepresentation]; NSLog(@"LMS Couldn't load module %0x, %0x, %0x, %0x\n", fsrp[0], fsrp [1], fsrp[2], fsrp[3]); _codeLoaded = NO; DESTROY(_loadingFrameworks); DESTROY(_currentFrameworkName); [load_lock unlock]; return NO; } to NSBundle -load when run with: openapp ThummerComms.app --GNU-Debug=NSBundle produces: 2005-07-08 10:51:56.000 ThummerComms.exe[528] Disallowed time zone name `W. Australia Standard Time'. 2005-07-08 10:51:56.000 ThummerComms.exe[528] Using time zone with absolute offset 0. 2005-07-08 10:51:56.000 ThummerComms.exe[528] File NSBundle.m: 823. In [NSBundle +mainBundle] Found main in c:/msys/1.0/home/leigh/ Sources/FTDITest/ThummerComms.app 2005-07-08 10:51:56.000 ThummerComms.exe[528] LMS self executablePath result = c:/GNUstep/System/Library/Bundles/libgnustep-back.bundle/./ libgnustep-back.dll 2005-07-08 10:51:56.000 ThummerComms.exe[528] File objc-load.m: 110. In objc_initialize_loading Debug (objc-load): initializing dynamic loader for c 2005-07-08 10:51:56.000 ThummerComms.exe[528] File objc-load.m: 174. In objc_load_module Debug (objc-load): Linking file c 2005-07-08 10:51:56.000 ThummerComms.exe[528] LMS Couldn't load module 63, 0, 3a, 0 2005-07-08 10:51:56.000 ThummerComms.exe[528] NSApplication.m:217 Assertion failed in initialize_gnustep_backend. Can't load object file from backend at path c:/GNUstep/System/Library/Bundles/ libgnustep-back.bundle Error (objc-load):126 c:\msys\1.0\home\leigh\Sources\FTDITest\ThummerComms.app \ThummerComms.exe: Uncaught exception NSInternalInconsistencyException, reason: NSApplication.m:217 Assertion failed in initialize_gnustep_backend. Can't load object file from backend at path c:/GNUstep/System/Library/Bundles/ libgnustep-back.bundle My point being the lack of byteOrderMark, or a leading '\0' in the string, unless there is strange behaviour treating unichar * strings and casting them back to char *. I'll dig in further. I would think the latter, but I'm not clear on what the policy of managing DOS pathnames is within the GNUstep community? This has changed ... current policy is to handle paths in either unix or windows format internally, and to expect the interface to the outside world to use native format paths (ie not to perform translations). Ok, thanks for the clarification. -- Leigh M. Smith [EMAIL PROTECTED] http://www.leighsmith.com ___
[Gnustep-cvs] GNUstep Testfarm Results
Test results for GNUstep as of Fri Jul 8 06:34:08 EDT 2005 If a particular system failed compilation, the logs for that system will be placed at ftp://ftp.gnustep.org/pub/testfarm If you would like to add your machine to this list, set up a cron job (make sure you set up your PATH and other environment variables correctly) to run the Startup/scripts/test-gnustep script (see the script comments for more info). Success Compile i386-unknown-netbsdelf2.0.2 Fri Jul 8 03:58:17 CEST 2005 Success Compile powerpc-apple-darwin7.9.0 Fri Jul 8 03:22:51 MDT 2005 Success Compile sparc-sun-solaris2.7 Fri Jul 8 02:08:01 EDT 2005
Re: NSFileManager fileSystemRepresentationWithPath: problem starting up Win32 libgnustep-back.bundle
On 2005-07-08 07:33:33 +0100 Leigh Smith <[EMAIL PROTECTED]> wrote: Compiling and installing GNUstep on a WinXP SP2 machine works pretty well, command line tools compile and run without problems. In the past applications have built and at least run. On the most recent (CVS head) version, my app dies attempting to load the bundle: 2005-07-07 09:15:25.000 AppComms.exe[3900] Disallowed time zone name `W. Australia Standard Time'. 2005-07-07 09:15:25.000 AppComms.exe[3900] Using time zone with absolute offset 0. 2005-07-07 09:15:25.000 AppComms.exe[3900] NSApplication.m:217 Assertion failed in initialize_gnustep_backend. Can't load object file from backend at path c:/GNUstep/System/Library/Bundles/ libgnustep-back.bundle Error (objc-load):126 c:\msys\1.0\home\leigh\Sources\FTDITest\ThummerComms.app \ThummerComms.exe: Uncaught exception NSInternalInconsistencyException, reason: NSApplication.m:217 Assertion failed in initialize_gnustep_backend. Can't load object file from backend at path c:/GNUstep/System/Library/Bundles/ libgnustep-back.bundle The bundle is indeed at this location. I'm dubious about that ... there is a space in the path after the '.app' ... which is probably incorrect. Perhaps that's the cause of your trouble? Also, there is a space in 'c:/GNUstep/System/Library/Bundles/ libgnustep-back.bundle' Any idea where the spaces come from? Tracing further, the problem is in NSString -fileSystemRepresentation which calls NSFileManager -fileSystemRepresentationWithPath: which is returning the string prior to ":", therefore "c:/GNUstep/System/ Library/Bundles/libgnustep-back.bundle" returns "c". NSFileManager -fileSystemRepresentationWithPath: uses NSString cStringUsingEncoding: NSUnicodeStringEncoding if the class is compiled with __MINGW__. What is the current policy? Should NSApplication initialize_gnustep_backend() be attempting to load "c:/GNUstep" rather than "/c/GNUstep", Yes. or should cStringUsingEncoding: properly handle DOS drive separators? I'm not sure what you mean by that ... it should definitely not do anything special with DOS drive separators. All that method does is provide a pointer to a region of memory containing a representation of the string in the specified character encoding. I would think the latter, but I'm not clear on what the policy of managing DOS pathnames is within the GNUstep community? This has changed ... current policy is to handle paths in either unix or windows format internally, and to expect the interface to the outside world to use native format paths (ie not to perform translations). ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev
[Gnustep-cvs] gnustep/dev-apps/test/Testsuite/base/NSTask lau...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: Richard Frith-Macdonald <[EMAIL PROTECTED]> 05/07/08 09:38:05 Modified files: dev-apps/test/Testsuite/base/NSTask: launch.m Log message: Conform to coding standards for indentation CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/NSTask/launch.m.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
[Gnustep-cvs] gnustep/dev-apps/test/Testsuite GNUmakefile bas...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: Richard Frith-Macdonald <[EMAIL PROTECTED]> 05/07/08 09:35:42 Modified files: dev-apps/test/Testsuite: GNUmakefile dev-apps/test/Testsuite/base/GenericTests: generic.h dev-apps/test/Testsuite/base/NSString: NSString_tests.h Log message: Fix bug in exception handling CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/GNUmakefile.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/GenericTests/generic.h.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/NSString/NSString_tests.h.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
[Gnustep-cvs] gnustep/dev-apps/Gorm ChangeLog GormCore/GormCu...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: Gregory John Casamento <[EMAIL PROTECTED]> 05/07/08 08:35:20 Modified files: dev-apps/Gorm : ChangeLog dev-apps/Gorm/GormCore: GormCustomClassInspector.m Log message: Added checks to prevent error when changing cell. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/Gorm/ChangeLog.diff?tr1=1.699&tr2=1.700&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/Gorm/GormCore/GormCustomClassInspector.m.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
[Gnustep-cvs] gnustep/dev-apps/test/Testsuite ChangeLog base/...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: Richard Frith-Macdonald <[EMAIL PROTECTED]> 05/07/08 08:51:30 Modified files: dev-apps/test/Testsuite: ChangeLog dev-apps/test/Testsuite/base/NSBundle: create.m dev-apps/test/Testsuite/base/NSString: NSString_base.m NSString_custom.m NSString_tests.h NSString_zero_hash.m nuls_in_strings.m test00.m test02.m Log message: Fix some bugs in base library tests. Also make some of the tests closer to conforming to GNUstep coding standards. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/ChangeLog.diff?tr1=1.10&tr2=1.11&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/NSBundle/create.m.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/NSString/NSString_base.m.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/NSString/NSString_custom.m.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/NSString/NSString_tests.h.diff?tr1=1.2&tr2=1.3&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/NSString/NSString_zero_hash.m.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/NSString/nuls_in_strings.m.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/NSString/test00.m.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/NSString/test02.m.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text
[Gnustep-cvs] gnustep/dev-apps/test/Testsuite ChangeLog base/...
CVSROOT:/cvsroot/gnustep Module name:gnustep Branch: Changes by: David Ayers <[EMAIL PROTECTED]> 05/07/08 07:13:54 Modified files: dev-apps/test/Testsuite: ChangeLog Added files: dev-apps/test/Testsuite/base/NSTask: launch.m Log message: * base/NSTask/launch.m: New test for correct handling of launching terminated tasks. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/ChangeLog.diff?tr1=1.9&tr2=1.10&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/dev-apps/test/Testsuite/base/NSTask/launch.m?rev=1.1
NSFileManager fileSystemRepresentationWithPath: problem starting up Win32 libgnustep-back.bundle
Compiling and installing GNUstep on a WinXP SP2 machine works pretty well, command line tools compile and run without problems. In the past applications have built and at least run. On the most recent (CVS head) version, my app dies attempting to load the bundle: 2005-07-07 09:15:25.000 AppComms.exe[3900] Disallowed time zone name `W. Australia Standard Time'. 2005-07-07 09:15:25.000 AppComms.exe[3900] Using time zone with absolute offset 0. 2005-07-07 09:15:25.000 AppComms.exe[3900] NSApplication.m:217 Assertion failed in initialize_gnustep_backend. Can't load object file from backend at path c:/GNUstep/System/Library/Bundles/ libgnustep-back.bundle Error (objc-load):126 c:\msys\1.0\home\leigh\Sources\FTDITest\ThummerComms.app \ThummerComms.exe: Uncaught exception NSInternalInconsistencyException, reason: NSApplication.m:217 Assertion failed in initialize_gnustep_backend. Can't load object file from backend at path c:/GNUstep/System/Library/Bundles/ libgnustep-back.bundle The bundle is indeed at this location. Tracing further, the problem is in NSString -fileSystemRepresentation which calls NSFileManager -fileSystemRepresentationWithPath: which is returning the string prior to ":", therefore "c:/GNUstep/System/ Library/Bundles/libgnustep-back.bundle" returns "c". NSFileManager -fileSystemRepresentationWithPath: uses NSString cStringUsingEncoding: NSUnicodeStringEncoding if the class is compiled with __MINGW__. What is the current policy? Should NSApplication initialize_gnustep_backend() be attempting to load "c:/GNUstep" rather than "/c/GNUstep", or should cStringUsingEncoding: properly handle DOS drive separators? I would think the latter, but I'm not clear on what the policy of managing DOS pathnames is within the GNUstep community? -- Leigh M. Smith [EMAIL PROTECTED] http://www.leighsmith.com ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev