Hi,
On Tuesday, February 19, 2013 21:12 CET, Gregory Casamento
<[email protected]> wrote:
> No it's not related to dual cores. The machine I test on is a 3GHz Dual
> Core Machine and I have no problems at all.
>
> I've updated to the latest in SVN, and I don't see this. I'm not sure why
> it's not working for you.
>
> Can you tell me how you installed GNUstep? From packages or from source?
compiling Gorm with clang 3.2, having libobjc2 installed, I see some warnings
with
regard to changes Fred did in -gui some days ago. So probably this only applies
or
may help if John has -gui from SVN, and maybe also gorm from SVN installed?
Attached patch updates the signatures in Gorms methods. Could you give it
a try?
cheers,
Sebastian
>
> GC
>
>
> On Tue, Feb 19, 2013 at 2:48 PM, John B Thiel <[email protected]> wrote:
>
> > Platform:
> > Debian (wheezy/testing) Linux 3.2.0-1-686-pae, SMP, 2 cores, inside
> > VirtualBox v4.2.1, on Intel dual-core i5
> >
> > Pasteboard: ps ax | grep gpbs, reports:
> > /usr/bin/gpbs -GSStartupNotification GSStartup-GPBS --auto --daemon
> >
> > Note: the gpbs only starts up *after* I add a Window (or Panel) to a
> > new empty module. Prior to that Gorm is running, but the gpbs is not.
> > (significant?)
> >
> > Could it be related to 2 cores? I will test single if you think it
> > makes a difference.
> >
> > On Tue, Feb 19, 2013 at 10:40 AM, Gregory Casamento
> > <[email protected]> wrote:
> > > What platform is this on?
> > >
> > > GC
> > >
> > >
> > > On Tue, Feb 19, 2013 at 10:53 AM, John B Thiel <[email protected]>
> > wrote:
> > >>
> > >> On Gorm 1.2.16 on Debian Wheezy:
> > >>
> > >> Gorm starts ok, I can make a new empty module or application. I can
> > >> drag a Window or Panel to the module, which adds it and opens it.
> > >>
> > >> But then dragging any component from any of the groupings -- like
> > >> Button, Sliders / Grid / Calendar, etc...
> > >> into the new Window/Panel, just results in the component flying back;
> > >> it does not go into the window.
> > >>
> > >> Thanks for the great work on GNUStep.
> > >>
> > >> -- jbthiel
> > >>
> > >>
> > >> ps. Same effect as reported here:
> > >> http://lists.gnu.org/archive/html/help-gnustep/2006-05/msg00009.html
> > >>
> >
> > >
> > >
> > > --
> > > Gregory Casamento
> > > Open Logic Corporation, Principal Consultant
> > > yahoo/skype: greg_casamento, aol: gjcasa
> > > (240)274-9630 (Cell)
> > > http://www.gnustep.org
> > > http://heronsperch.blogspot.com
> >
>
>
>
> --
> Gregory Casamento
> Open Logic Corporation, Principal Consultant
> yahoo/skype: greg_casamento, aol: gjcasa
> (240)274-9630 (Cell)
> http://www.gnustep.org
> http://heronsperch.blogspot.com
$OpenBSD$
--- GormCore/GormObjectEditor.h.orig Fri Feb 22 20:07:56 2013
+++ GormCore/GormObjectEditor.h Fri Feb 22 20:08:15 2013
@@ -33,7 +33,7 @@
}
+ (void) setEditor: (id)editor forDocument: (id<IBDocuments>)aDocument;
- (void) draggedImage: (NSImage*)i endedAt: (NSPoint)p deposited: (BOOL)f;
-- (unsigned int) draggingSourceOperationMaskForLocal: (BOOL)flag;
+- (NSDragOperation) draggingSourceOperationMaskForLocal: (BOOL)flag;
- (BOOL) acceptsTypeFromArray: (NSArray*)types;
- (void) makeSelectionVisible: (BOOL)flag;
- (void) resetObject: (id)anObject;
$OpenBSD$
--- GormCore/GormObjectEditor.m.orig Fri Feb 22 19:31:49 2013
+++ GormCore/GormObjectEditor.m Fri Feb 22 19:35:42 2013
@@ -226,7 +226,7 @@ static NSMapTable *docMap = 0;
{
}
-- (unsigned) draggingEntered: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingEntered: (id<NSDraggingInfo>)sender
{
NSArray *pbTypes = nil;
@@ -246,7 +246,7 @@ static NSMapTable *docMap = 0;
return [self draggingUpdated: sender];
}
-- (unsigned) draggingUpdated: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingUpdated: (id<NSDraggingInfo>)sender
{
if (dragType == GormLinkPboardType)
{
@@ -316,7 +316,7 @@ static NSMapTable *docMap = 0;
}
}
-- (unsigned int) draggingSourceOperationMaskForLocal: (BOOL)flag
+- (NSDragOperation) draggingSourceOperationMaskForLocal: (BOOL)flag
{
return NSDragOperationLink;
}
$OpenBSD$
--- GormCore/GormPalettesManager.m.orig Fri Feb 22 19:24:31 2013
+++ GormCore/GormPalettesManager.m Fri Feb 22 20:09:38 2013
@@ -55,7 +55,7 @@
NSPasteboard *dragPb;
}
- (void) draggedImage: (NSImage*)i endedAt: (NSPoint)p deposited: (BOOL)f;
-- (unsigned int) draggingSourceOperationMaskForLocal: (BOOL)flag;
+- (NSDragOperation) draggingSourceOperationMaskForLocal: (BOOL)flag;
@end
@implementation GormPaletteView
@@ -128,7 +128,7 @@ static NSImage *dragImage = nil;
}
}
-- (unsigned int) draggingSourceOperationMaskForLocal: (BOOL)flag
+- (NSDragOperation) draggingSourceOperationMaskForLocal: (BOOL)flag
{
return NSDragOperationCopy;
}
@@ -143,7 +143,7 @@ static NSImage *dragImage = nil;
* dropped back on the palette (a window is normally created if the
* dnd drop is refused).
*/
-- (unsigned) draggingEntered: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingEntered: (id<NSDraggingInfo>)sender
{
return NSDragOperationCopy;;
}
$OpenBSD$
--- GormCore/GormSplitViewEditor.m.orig Fri Feb 22 19:36:45 2013
+++ GormCore/GormSplitViewEditor.m Fri Feb 22 19:37:37 2013
@@ -121,7 +121,7 @@
}
}
-- (unsigned) draggingEntered: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingEntered: (id<NSDraggingInfo>)sender
{
NSPasteboard *dragPb;
NSArray *types;
@@ -165,7 +165,7 @@
}
}
-- (unsigned) draggingUpdated: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingUpdated: (id<NSDraggingInfo>)sender
{
NSPasteboard *dragPb;
NSArray *types;
$OpenBSD$
--- GormCore/GormViewEditor.m.orig Fri Feb 22 19:35:53 2013
+++ GormCore/GormViewEditor.m Fri Feb 22 19:39:10 2013
@@ -1224,7 +1224,7 @@ static BOOL currently_displaying = NO;
}
}
-- (unsigned) draggingEntered: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingEntered: (id<NSDraggingInfo>)sender
{
NSPasteboard *dragPb;
NSArray *types;
@@ -1247,7 +1247,7 @@ static BOOL currently_displaying = NO;
}
}
-- (unsigned) draggingUpdated: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingUpdated: (id<NSDraggingInfo>)sender
{
return [self draggingEntered: sender];
}
@@ -1398,7 +1398,7 @@ static BOOL currently_displaying = NO;
return NO;
}
-- (unsigned int) draggingSourceOperationMaskForLocal: (BOOL) flag
+- (NSDragOperation) draggingSourceOperationMaskForLocal: (BOOL) flag
{
return NSDragOperationLink;
}
$OpenBSD$
--- GormCore/GormViewWithSubviewsEditor.m.orig Fri Feb 22 19:39:14 2013
+++ GormCore/GormViewWithSubviewsEditor.m Fri Feb 22 19:40:12 2013
@@ -293,7 +293,7 @@
return [selection count];
}
-- (unsigned) draggingEntered: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingEntered: (id<NSDraggingInfo>)sender
{
NSRect rect = [_editedObject bounds];
NSPoint loc = [sender draggingLocation];
@@ -365,7 +365,7 @@
[[self window] flushWindow];
}
-- (unsigned int) draggingUpdated: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingUpdated: (id<NSDraggingInfo>)sender
{
NSPoint loc = [sender draggingLocation];
NSRect rect = [_editedObject bounds];
$OpenBSD$
--- GormCore/GormWindowEditor.m.orig Fri Feb 22 19:40:24 2013
+++ GormCore/GormWindowEditor.m Fri Feb 22 19:40:54 2013
@@ -349,12 +349,12 @@
return NSDragOperationNone;
}
-- (unsigned) draggingEntered: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingEntered: (id<NSDraggingInfo>)sender
{
return NSDragOperationNone;
}
-- (unsigned) draggingUpdated: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingUpdated: (id<NSDraggingInfo>)sender
{
return NSDragOperationNone;
}
$OpenBSD$
--- Palettes/0Menus/GormMenuEditor.m.orig Fri Feb 22 19:24:32 2013
+++ Palettes/0Menus/GormMenuEditor.m Fri Feb 22 20:10:12 2013
@@ -66,7 +66,7 @@
- (void) deleteSelection;
- (id<IBDocuments>) document;
- (void) draggedImage: (NSImage*)i endedAt: (NSPoint)p deposited: (BOOL)f;
-- (unsigned int) draggingSourceOperationMaskForLocal: (BOOL)flag;
+- (NSDragOperation) draggingSourceOperationMaskForLocal: (BOOL)flag;
- (id) editedObject;
- (void) makeSelectionVisible: (BOOL)flag;
- (id<IBEditors>) openSubeditorForObject: (id)anObject;
@@ -522,7 +522,7 @@
*/
}
-- (unsigned int) draggingSourceOperationMaskForLocal: (BOOL)flag
+- (NSDragOperation) draggingSourceOperationMaskForLocal: (BOOL)flag
{
if (isLinkSource == YES)
return NSDragOperationLink;
@@ -530,7 +530,7 @@
return NSDragOperationCopy;
}
-- (unsigned) draggingEntered: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingEntered: (id<NSDraggingInfo>)sender
{
NSArray *types;
@@ -551,7 +551,7 @@
return [self draggingUpdated: sender];
}
-- (unsigned) draggingUpdated: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingUpdated: (id<NSDraggingInfo>)sender
{
if (dragType == IBMenuPboardType)
{
$OpenBSD$
--- Palettes/3Containers/GormTableViewEditor.m.orig Fri Feb 22 19:43:02 2013
+++ Palettes/3Containers/GormTableViewEditor.m Fri Feb 22 19:43:37 2013
@@ -413,12 +413,12 @@ static NSText *_textObject;
RELEASE(_editedCell);
}
-- (unsigned) draggingEntered: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingEntered: (id<NSDraggingInfo>)sender
{
return [self draggingUpdated: sender];
}
-- (unsigned) draggingUpdated: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingUpdated: (id<NSDraggingInfo>)sender
{
NSPasteboard *dragPb;
NSArray *types;
$OpenBSD$
--- Palettes/4Data/GormTextViewEditor.m.orig Fri Feb 22 19:44:10 2013
+++ Palettes/4Data/GormTextViewEditor.m Fri Feb 22 19:44:39 2013
@@ -91,12 +91,12 @@
[[textView enclosingScrollView] setPostsFrameChangedNotifications: NO];
}
-- (unsigned) draggingEntered: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingEntered: (id<NSDraggingInfo>)sender
{
return [self draggingUpdated: sender];
}
-- (unsigned) draggingUpdated: (id<NSDraggingInfo>)sender
+- (NSDragOperation) draggingUpdated: (id<NSDraggingInfo>)sender
{
NSPasteboard *dragPb;
NSArray *types;
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep