Gorm, NSCollectionView

2013-04-12 Thread forumer
Hi, I would lile to open a xib file created under Xcode and that has an empty NSCollectionView, how can I slightly modify the GSXibKeyedUnarchiver to ignore this object or to display a dummy view ? Here is an extract of the xib file : -2147483382 YES

Re: Gorm, NSCollectionView

2013-04-12 Thread forumer
While I am at it, I would like to understand some parts of Gorm and to debug it so I tried this : $ gdb /usr/local/bin/Gorm Reading symbols from /usr/local/bin/Gorm...done. (gdb) b loadFileWrapper: No source file named loadFileWrapper. Make breakpoint pending on future shared library load? (y or

Re: Gorm, NSCollectionView

2013-04-13 Thread forumer
Le 13.04.2013 16:44, Gregory Casamento a écrit : Fred, I will be working on getting those files merged this weekend for the new classes.  I was very busy last week.  Ill advise as to my progress. Ok thanks. I also have some questions about debugging and gdb, is there any way of inspecting

Xib parser targeting .net

2013-04-14 Thread forumer
Hi, I just wanted to say that I have started a project to view and maybe later edit ui interfaces built with Xcode (or Gorm) and using the Xib format. This won't be of any interest for you because the goal is to integrate it inside Visual studio BUT the more I implement the more I need to do it

Xib parser targeting .net

2013-04-14 Thread forumer
For me the link you gave doesn't lead to any project. I could find https://github.com/smartmobili but none of the projects there fit your description. It would be great, if you could report back any errors or omission you find in the GNUstep keyed coding implementation. yes sorry actually

Question about objc category

2013-05-01 Thread forumer
Hi, I am reading the GNUstep source code and especially the parts that concern the loading of a Xib and I am currently looking at the following code : //https://github.com/gnustep/gnustep-gui/blob/master/Model/IBClasses.h @interface NSCustomObject : NSObject { NSString *className; id

Xib and keyed decoding

2013-05-23 Thread forumer
Hi, I am still trying to understand how things work during xib decoding and I tried to put some breakpoints inside NSBox initWithCoder but it freezed the virtual machine Before it crashes I was surprised to see that the debugger was passing by the other if ([aDecoder allowsKeyedCoding]) while

Re: Xib and keyed decoding

2013-05-24 Thread forumer
Could you tell me how to comment this part of code ? Le 23.05.2013 22:41, Fred Kiefer a écrit : The problem with the debugger freezing would still exist on a real machine. This is caused by some mouse capturing code that went into NSMenu to support some fancy theme a few years ago. This alwa

GNUStep on MacOS

2013-05-27 Thread forumer
Hi, I wanted to know if it's possible/easy to compile gnustep from sources on MacOS? Is there anything special to do ? Should I install a package manager like macports or Fink to get some missing dependencies ? Thanks ___ Gnustep-dev mailing list

Gorm and nib format

2013-06-03 Thread forumer
Hi, I wanted to test Gorm and I have converted a very simple xib file into a nib format (In Xcode 4.6, File->Export->Nib) and then I tried to load it inside Gorm but it didn't work. The converted xib file is a nib folder with 2 files inside : designable.nib (that is actually a copy of the xib

Re: Another simple reversing of OS X Foundation and CoreFoundation

2013-06-19 Thread forumer
Why do you want to transform GNUstep into something else ? Why do you want to implement exactly the same way it's done by Apple ? Maybe you are excited to discover technical details and I completely understand that but your discoveries won't be implemented. What you are trying to do I have alrea

Re: NSClassSwapper leaving dangling pointers?

2013-06-23 Thread forumer
Le 22.06.2013 17:07, Luboš Doležel a écrit : Hi, Im actually not porting the code - Im writing a Wine-like emulation layer called Darling to run OS X apps directly. This fact makes debugging slightly more difficult, but youre welcome to take a look at http://github.com/LubosD/darling. [7]

Gorm : Xib loading doesn't respect size

2013-06-23 Thread forumer
Hi, I am working a bit with Gorm these days and I have found some bugs but the most annoying to me is it doesn't respect the size. I took 3 screenshots of a sample xib, one with XCode on Mac and the two others with Gorm respectively on linux and windows and I have merged the result here : htt

Re: Gorm : Xib loading doesn't respect size

2013-06-24 Thread forumer
I would need to setup a dev. environment to debug gnustep on windows but in the mean time I am having a look at source code but I don't know which parts of code is used. Could you tell me if Win32Server.m is used when using the cairo backend ? In this case I don't really understand the GSScree

Re: Gorm : Xib loading doesn't respect size

2013-06-24 Thread forumer
Oh I think I understand what you are doing in GSScreenRectToMS and in this case I would propose something like : static inline RECT GSScreenRectToMS(HWND hwnd, NSRect r) { RECT r1; DWORD dwStyle = GetWindowLongPtr( hwnd, GWL_STYLE ) ; DWORD dwExStyle = GetWindowLongPtr( hwnd, GWL_EXS