[MacRuby-devel] MacRuby doesn't find kCGDesktopIconWindowLevel

2010-04-24 Thread Michel Steuwer
Hello everybody,

i'm new to MacRuby and currently trying my first Project.

I try to draw a NSPanel at the desktop window level.
Therefore, i would use the [window setLevel:kCGDesktopIconWindowLevel] method 
in Objective-C.
In MacRuby the call window.setLevel(kCGDesktopIconWindowLevel) doesn't work and 
produces the following log message:

undefined local variable or method `kCGDesktopIconWindowLevel' for 
#

Currently i have solved the Problem by using this work-around:
window.setLevel(CGWindowLevelForKey(2))

Why can't i use the call with the pre defined constant as i would in 
Objective-C ?

Thanks,
Michel

--
Michel Steuwer | [email protected]

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] MacRuby doesn't find kCGDesktopIconWindowLevel

2010-04-24 Thread robert gleeson
Hey,

In Ruby, constants are identified by a capital letter at the beginning of its 
name, and that is why a NameError exception is raised. 
If this Objective-C constant is available to you, I don't think it would be 
available as a local variable in MacRuby.

Maybe MacRuby encapsulates this data in a class somewhere - I have no idea  - 
Sorry :-)

Thanks,
Rob

On 24 Apr 2010, at 11:01, Michel Steuwer wrote:

> Hello everybody,
> 
> i'm new to MacRuby and currently trying my first Project.
> 
> I try to draw a NSPanel at the desktop window level.
> Therefore, i would use the [window setLevel:kCGDesktopIconWindowLevel] method 
> in Objective-C.
> In MacRuby the call window.setLevel(kCGDesktopIconWindowLevel) doesn't work 
> and produces the following log message:
> 
> undefined local variable or method `kCGDesktopIconWindowLevel' for 
> #
> 
> Currently i have solved the Problem by using this work-around:
> window.setLevel(CGWindowLevelForKey(2))
> 
> Why can't i use the call with the pre defined constant as i would in 
> Objective-C ?
> 
> Thanks,
> Michel
> 
> --
> Michel Steuwer | [email protected]
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] NSNotificationCenter observers, selectors and notifications

2010-04-24 Thread Allison Newman
Hi peoples,

I'm not sure if I'm doing something wrong here, or if it's a bug.  I'm trying 
to get a notification when a quicktime track finishes playing.  The 
documentation for NSNotificationCenter says:

notificationSelector
Selector that specifies the message the receiver sends notificationObserver to 
notify it of the notification posting. The method the selector specifies must 
have one and only one argument (an instance of NSNotification).

yet, if I use a selector that takes one argument, there is an error when the 
NSNotificationCenter tries to notify me:
2010-04-24 12:06:49.587 macruby[5042:903] -[Player 
track_finished_with_notifier]: unrecognized selector sent to instance 
0x2002c3d40

On the other hand, if I give a selector that doesn't take any arguments at all, 
it is in fact called by the NSNotificationCenter at the right moment.

I've included a quickly hacked up script that shows the problem at the end of 
this message.  I'm using macruby 0.5 on Snow Leopard, so maybe the bug (if it 
is indeed a bug, and not an error on my part) is already fixed...  To run the 
script you'll have to replace Evanescence and Going Under with a group/track 
that you have in your iTunes library...

Alli

#!/usr/local/bin/macruby

require 'rubygems'
require 'hotcocoa'

framework 'Cocoa'
framework 'QtKit'

include HotCocoa

class Player
def init
  NSNotificationCenter.defaultCenter.addObserver(self, selector: 
:track_finished, name:QTMovieDidEndNotification, object:nil)
  NSNotificationCenter.defaultCenter.addObserver(self, selector: 
:track_finished_with_notifier, name:QTMovieDidEndNotification, object:nil)
  movie = getQtMovieFromArtist('Evanescence', track:'Going Under')
  movie.volume = 30
  movie.play
  puts "playing..."
  sleep(10)
  self
  end


def getQtMovieFromArtist( artist, track:track_name)
iTunesXMLPath = "#{NSHomeDirectory()}/Music/iTunes/iTunes Music 
Library.xml"
iTunesData = NSDictionary.alloc.initWithContentsOfFile(iTunesXMLPath)
tracks = iTunesData.objectForKey('Tracks')
artist_db = tracks.find_all { |track| track[1]['Artist'] == artist}
track_db = artist_db.find{|track| track[1]['Name'] == track_name}
url = NSURL.URLWithString(track_db[1]['Location'])
errorptr = Pointer.new_with_type('@')
movie = QTMovie.movieWithURL(url, error:errorptr)
if (!movie)
  error = errorptr[0]
  puts "Error loading song: #{track_db[1]['Name']}  #{error.code} 
#{error.localizedDescription}"
end
movie
end

def track_finished
  NSLog( "track finished!")
end

def track_finished_with_notifier(notifier)
  NSLog("track finished with notifier #{notifier}")
  end

end

class Application
  def start
application :name => "Player" do |app|
  app.delegate = self
  Player.new
end
  end

  def on_new(sender)
Player.new
  end

  def on_close(sender)
w = NSApp.mainWindow
if w
  w.performClose self
else
  NSBeep()
end
  end
  
  def on_clear(sender)
w = NSApp.mainWindow
if w and w.respond_to?(:terminal)
  w.terminal.clear
else
  NSBeep()
end
  end

end

Application.new.start


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] MacRuby doesn't find kCGDesktopIconWindowLevel

2010-04-24 Thread Geoff Garside
I've not been able to generate a Bridge Support file for the AppKit.framework 
on my machine, but if you can then you can load the framework and then load the 
bridge support file and you should get access to those constants, I believe the 
k changes to K though.

The alternative would be to define those constants in a .rb file which you then 
require into your script.

Geoff

On 24 Apr 2010, at 11:09, robert gleeson wrote:

> Hey,
> 
> In Ruby, constants are identified by a capital letter at the beginning of its 
> name, and that is why a NameError exception is raised. 
> If this Objective-C constant is available to you, I don't think it would be 
> available as a local variable in MacRuby.
> 
> Maybe MacRuby encapsulates this data in a class somewhere - I have no idea  - 
> Sorry :-)
> 
> Thanks,
> Rob
> 
> On 24 Apr 2010, at 11:01, Michel Steuwer wrote:
> 
>> Hello everybody,
>> 
>> i'm new to MacRuby and currently trying my first Project.
>> 
>> I try to draw a NSPanel at the desktop window level.
>> Therefore, i would use the [window setLevel:kCGDesktopIconWindowLevel] 
>> method in Objective-C.
>> In MacRuby the call window.setLevel(kCGDesktopIconWindowLevel) doesn't work 
>> and produces the following log message:
>> 
>> undefined local variable or method `kCGDesktopIconWindowLevel' for 
>> #
>> 
>> Currently i have solved the Problem by using this work-around:
>> window.setLevel(CGWindowLevelForKey(2))
>> 
>> Why can't i use the call with the pre defined constant as i would in 
>> Objective-C ?
>> 
>> Thanks,
>> Michel
>> 
>> --
>> Michel Steuwer | [email protected]
>> 
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] NSNotificationCenter observers, selectors and notifications

2010-04-24 Thread Jakub Suder
Hi,

In ObjC, a method 'foo' that has one argument is referenced as 'foo:'
in such situations (with colon), not 'foo'. Try passing a string
"track_finished_with_notifier:" to the notification center.

Jakub Suder
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] MacRuby doesn't find kCGDesktopIconWindowLevel

2010-04-24 Thread Michel Steuwer
Hi,

I didn't find out how to use the kCGDesktopWindowLevel directly, but you can 
use the kCGDesktopWindowLevelKey constant if you use a capital K at the 
beginning.
So the call:

window.setLevel(CGWindowLevelForKey(KCGDesktopWindowLevelKey))

works.

I looked at the CoreGraphics.bridgesupport in
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Resources/BridgeSupport
and it only provides the constant kCGDesktopWindowLevelKey not 
kCGDesktopWindowLevel.

Thanks for the quick respond.

Michel

> I've not been able to generate a Bridge Support file for the AppKit.framework 
> on my machine, but if you can then you can load the framework and then load 
> the bridge support file and you should get access to those constants, I 
> believe the k changes to K though.
> 
> The alternative would be to define those constants in a .rb file which you 
> then require into your script.
> 
> Geoff
> 
> On 24 Apr 2010, at 11:09, robert gleeson wrote:
> 
>> Hey,
>> 
>> In Ruby, constants are identified by a capital letter at the beginning of 
>> its name, and that is why a NameError exception is raised. 
>> If this Objective-C constant is available to you, I don't think it would be 
>> available as a local variable in MacRuby.
>> 
>> Maybe MacRuby encapsulates this data in a class somewhere - I have no idea  
>> - Sorry :-)
>> 
>> Thanks,
>> Rob
>> 
>> On 24 Apr 2010, at 11:01, Michel Steuwer wrote:
>> 
>>> Hello everybody,
>>> 
>>> i'm new to MacRuby and currently trying my first Project.
>>> 
>>> I try to draw a NSPanel at the desktop window level.
>>> Therefore, i would use the [window setLevel:kCGDesktopIconWindowLevel] 
>>> method in Objective-C.
>>> In MacRuby the call window.setLevel(kCGDesktopIconWindowLevel) doesn't work 
>>> and produces the following log message:
>>> 
>>> undefined local variable or method `kCGDesktopIconWindowLevel' for 
>>> #
>>> 
>>> Currently i have solved the Problem by using this work-around:
>>> window.setLevel(CGWindowLevelForKey(2))
>>> 
>>> Why can't i use the call with the pre defined constant as i would in 
>>> Objective-C ?
>>> 
>>> Thanks,
>>> Michel
>>> 
>>> --
>>> Michel Steuwer | [email protected]
>>> 
>>> ___
>>> MacRuby-devel mailing list
>>> [email protected]
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



--
Michel Steuwer | [email protected]

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] NSPasteboard instance missing methods?

2010-04-24 Thread robert gleeson
Hey,

I'm fooling around with NSPasteboard - following the documentation found at:

http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/PasteboardGuide106/Articles/pbGettingStarted.html#//apple_ref/doc/uid/TP40008150-SW1

I've got an instance of NSPasteboard through:

"board = NSPasteboard.generalPasteboard"

but "board" doesn't respond to any methods mentioned later in the tutorial I 
posted.

I'm looking for the method: 
"canReadObjectForClasses" 

So I can continue on.

Thanks ahead of time,
Rob___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] Easy to reproduce bug.

2010-04-24 Thread robert gleeson
Hey,

I've been using a MacRuby nightly from a few days ago, and this bug is 
reproducible on that and
macruby-latest.pkg(I fetched it a few minutes ago):

To reproduce:

framework('corefoundation')
framework('appkit')

Thanks,
Rob
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Easy to reproduce bug.

2010-04-24 Thread Matt Aimonetti
Can you open a trac ticket please?

Here is what I get:

$ macirb
irb(main):001:0> framework 'CoreFoundation'
=> true
irb(main):002:0> framework 'AppKit'
=> true
irb(main):003:0>


But:

$ macirb
irb(main):001:0> framework 'CoreFoundation'
=> true
irb(main):002:0> framework 'AppKit'
=> true
irb(main):003:0> exit
[matte...@matt-aimonettis-macbook macruby]$ macirb
irb(main):001:0> framework('corefoundation')
=> true
irb(main):002:0> framework('appkit')
unknown: warning: already initialized constant CFAllocatorContext
unknown: warning: already initialized constant CFArrayCallBacks
unknown: warning: already initialized constant CFBagCallBacks
unknown: warning: already initialized constant CFBinaryHeapCallBacks
unknown: warning: already initialized constant CFBinaryHeapCompareContext
unknown: warning: already initialized constant CFDictionaryKeyCallBacks
unknown: warning: already initialized constant CFDictionaryValueCallBacks
unknown: warning: already initialized constant CFFileDescriptorContext
unknown: warning: already initialized constant CFGregorianDate
unknown: warning: already initialized constant CFGregorianUnits
unknown: warning: already initialized constant CFMachPortContext
unknown: warning: already initialized constant CFMessagePortContext
unknown: warning: already initialized constant CFRange
unknown: warning: already initialized constant CFRunLoopObserverContext
unknown: warning: already initialized constant CFRunLoopSourceContext
unknown: warning: already initialized constant CFRunLoopTimerContext
unknown: warning: already initialized constant CFSetCallBacks
unknown: warning: already initialized constant CFSocketContext
unknown: warning: already initialized constant CFSocketSignature
unknown: warning: already initialized constant CFStreamClientContext
unknown: warning: already initialized constant CFStreamError
unknown: warning: already initialized constant CFStringInlineBuffer
unknown: warning: already initialized constant CFSwappedFloat32
unknown: warning: already initialized constant CFSwappedFloat64
unknown: warning: already initialized constant CFTreeContext
unknown: warning: already initialized constant CFUUIDBytes
unknown: warning: already initialized constant CFXMLAttributeDeclarationInfo
unknown: warning: already initialized constant
CFXMLAttributeListDeclarationInfo
unknown: warning: already initialized constant CFXMLDocumentInfo
unknown: warning: already initialized constant CFXMLDocumentTypeInfo
unknown: warning: already initialized constant CFXMLElementInfo
unknown: warning: already initialized constant
CFXMLElementTypeDeclarationInfo
unknown: warning: already initialized constant CFXMLEntityInfo
unknown: warning: already initialized constant CFXMLEntityReferenceInfo
unknown: warning: already initialized constant CFXMLExternalID
unknown: warning: already initialized constant CFXMLNotationInfo
unknown: warning: already initialized constant CFXMLParserCallBacks
unknown: warning: already initialized constant CFXMLParserContext
unknown: warning: already initialized constant
CFXMLProcessingInstructionInfo
macruby(51083,0x7fff70a51be0) malloc: *** error for object 0x10498d7c0:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap



Process: macruby [51083]
Path:
/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/bin/macruby
Identifier:  macruby
Version: ??? (???)
Code Type:   X86-64 (Native)
Parent Process:  bash [50716]

Date/Time:   2010-04-24 11:13:26.241 -0700
OS Version:  Mac OS X 10.6.2 (10C540)
Report Version:  6

Interval Since Last Report:  147902 sec
Crashes Since Last Report:   1
Per-App Crashes Since Last Report:   1
Anonymous UUID:  9B58BA8B-C3A5-49A8-941C-66F0937BC6C8

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x, 0x
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
objc[51083]: garbage collection is ON
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib 0x7fff859aafe6 __kill + 10
1   libSystem.B.dylib 0x7fff85a4be32 abort + 83
2   libSystem.B.dylib 0x7fff85963155 free + 128
3   libmacruby.dylib  0x0001000f1edd
bs_free_function_pointer + 77
4   libmacruby.dylib  0x0001000f2125 bs_element_free +
293
5   libmacruby.dylib  0x000100107dde
RoxorCore::bs_parse_cb(bs_element_type_t, void*, void*) + 270
6   libmacruby.dylib  0x0001000f2b61 bs_parser_parse +
2177
7   libmacruby.dylib  0x0001000f2fa5 bs_parser_parse +
3269
8   libmacruby.dylib  0x0001000f2fa5 bs_parser_parse +
3269
9   libmacruby.dylib  0x0001000f2fa5 bs_parser_parse +
3269
10  libmacruby.dylib  0x000100104d70
RoxorCore::load_bridge_support(char const*, char

[MacRuby-devel] [MacRuby] #665: Easy to reproduce bug

2010-04-24 Thread MacRuby
#665: Easy to reproduce bug
-+--
 Reporter:  r...@…|   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  blocker  |   Milestone:   
Component:  MacRuby  |Keywords:   
-+--
 Hey,

 I've been using a MacRuby nightly from a few days ago, and this bug is
 reproducible on that and
 macruby-latest.pkg(I fetched it a few minutes ago):

 To reproduce:

 {{{
 framework('corefoundation')
 framework('appkit')
 }}}

 Output:
 {{{
 hope:Headers robertgleeson$ macirb
 irb(main):001:0> framework('corefoundation')
 => true
 irb(main):002:0> framework('appkit')
 unknown: warning: already initialized constant CFAllocatorContext
 unknown: warning: already initialized constant CFArrayCallBacks
 unknown: warning: already initialized constant CFBagCallBacks
 unknown: warning: already initialized constant CFBinaryHeapCallBacks
 unknown: warning: already initialized constant CFBinaryHeapCompareContext
 unknown: warning: already initialized constant CFDictionaryKeyCallBacks
 unknown: warning: already initialized constant CFDictionaryValueCallBacks
 unknown: warning: already initialized constant CFFileDescriptorContext
 unknown: warning: already initialized constant CFGregorianDate
 unknown: warning: already initialized constant CFGregorianUnits
 unknown: warning: already initialized constant CFMachPortContext
 unknown: warning: already initialized constant CFMessagePortContext
 unknown: warning: already initialized constant CFRange
 unknown: warning: already initialized constant CFRunLoopObserverContext
 unknown: warning: already initialized constant CFRunLoopSourceContext
 unknown: warning: already initialized constant CFRunLoopTimerContext
 unknown: warning: already initialized constant CFSetCallBacks
 unknown: warning: already initialized constant CFSocketContext
 unknown: warning: already initialized constant CFSocketSignature
 unknown: warning: already initialized constant CFStreamClientContext
 unknown: warning: already initialized constant CFStreamError
 unknown: warning: already initialized constant CFStringInlineBuffer
 unknown: warning: already initialized constant CFSwappedFloat32
 unknown: warning: already initialized constant CFSwappedFloat64
 unknown: warning: already initialized constant CFTreeContext
 unknown: warning: already initialized constant CFUUIDBytes
 unknown: warning: already initialized constant
 CFXMLAttributeDeclarationInfo
 unknown: warning: already initialized constant
 CFXMLAttributeListDeclarationInfo
 unknown: warning: already initialized constant CFXMLDocumentInfo
 unknown: warning: already initialized constant CFXMLDocumentTypeInfo
 unknown: warning: already initialized constant CFXMLElementInfo
 unknown: warning: already initialized constant
 CFXMLElementTypeDeclarationInfo
 unknown: warning: already initialized constant CFXMLEntityInfo
 unknown: warning: already initialized constant CFXMLEntityReferenceInfo
 unknown: warning: already initialized constant CFXMLExternalID
 unknown: warning: already initialized constant CFXMLNotationInfo
 unknown: warning: already initialized constant CFXMLParserCallBacks
 unknown: warning: already initialized constant CFXMLParserContext
 unknown: warning: already initialized constant
 CFXMLProcessingInstructionInfo
 macruby(42228,0x7fff70affbe0) malloc: *** error for object 0x104c14cf0:
 pointer being freed was not allocated
 *** set a breakpoint in malloc_error_break to debug
 Abort trap
 }}}

 Running Mac OSX Leopard 10.6.3, and MacRuby nightly 2010-04-23
 (Tried with MacRuby nightly-latest.pkg as well)

 Thanks,
 Rob

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Easy to reproduce bug.

2010-04-24 Thread robert gleeson
Hey,

Yeah sorry I forgot - ticket is here:
https://www.macruby.org/trac/ticket/665

Thanks,
Rob
On 24 Apr 2010, at 19:16, Matt Aimonetti wrote:

> Can you open a trac ticket please?
> 
> Here is what I get:
> 
> $ macirb
> irb(main):001:0> framework 'CoreFoundation'
> => true
> irb(main):002:0> framework 'AppKit'
> => true
> irb(main):003:0> 
> 
> 
> But:
> 
> $ macirb
> irb(main):001:0> framework 'CoreFoundation'
> => true
> irb(main):002:0> framework 'AppKit'
> => true
> irb(main):003:0> exit
> [matte...@matt-aimonettis-macbook macruby]$ macirb
> irb(main):001:0> framework('corefoundation')
> => true
> irb(main):002:0> framework('appkit')
> unknown: warning: already initialized constant CFAllocatorContext
> unknown: warning: already initialized constant CFArrayCallBacks
> unknown: warning: already initialized constant CFBagCallBacks
> unknown: warning: already initialized constant CFBinaryHeapCallBacks
> unknown: warning: already initialized constant CFBinaryHeapCompareContext
> unknown: warning: already initialized constant CFDictionaryKeyCallBacks
> unknown: warning: already initialized constant CFDictionaryValueCallBacks
> unknown: warning: already initialized constant CFFileDescriptorContext
> unknown: warning: already initialized constant CFGregorianDate
> unknown: warning: already initialized constant CFGregorianUnits
> unknown: warning: already initialized constant CFMachPortContext
> unknown: warning: already initialized constant CFMessagePortContext
> unknown: warning: already initialized constant CFRange
> unknown: warning: already initialized constant CFRunLoopObserverContext
> unknown: warning: already initialized constant CFRunLoopSourceContext
> unknown: warning: already initialized constant CFRunLoopTimerContext
> unknown: warning: already initialized constant CFSetCallBacks
> unknown: warning: already initialized constant CFSocketContext
> unknown: warning: already initialized constant CFSocketSignature
> unknown: warning: already initialized constant CFStreamClientContext
> unknown: warning: already initialized constant CFStreamError
> unknown: warning: already initialized constant CFStringInlineBuffer
> unknown: warning: already initialized constant CFSwappedFloat32
> unknown: warning: already initialized constant CFSwappedFloat64
> unknown: warning: already initialized constant CFTreeContext
> unknown: warning: already initialized constant CFUUIDBytes
> unknown: warning: already initialized constant CFXMLAttributeDeclarationInfo
> unknown: warning: already initialized constant 
> CFXMLAttributeListDeclarationInfo
> unknown: warning: already initialized constant CFXMLDocumentInfo
> unknown: warning: already initialized constant CFXMLDocumentTypeInfo
> unknown: warning: already initialized constant CFXMLElementInfo
> unknown: warning: already initialized constant CFXMLElementTypeDeclarationInfo
> unknown: warning: already initialized constant CFXMLEntityInfo
> unknown: warning: already initialized constant CFXMLEntityReferenceInfo
> unknown: warning: already initialized constant CFXMLExternalID
> unknown: warning: already initialized constant CFXMLNotationInfo
> unknown: warning: already initialized constant CFXMLParserCallBacks
> unknown: warning: already initialized constant CFXMLParserContext
> unknown: warning: already initialized constant CFXMLProcessingInstructionInfo
> macruby(51083,0x7fff70a51be0) malloc: *** error for object 0x10498d7c0: 
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> Abort trap
> 
> 
> 
> Process: macruby [51083]
> Path:
> /Library/Frameworks/MacRuby.framework/Versions/0.6/usr/bin/macruby
> Identifier:  macruby
> Version: ??? (???)
> Code Type:   X86-64 (Native)
> Parent Process:  bash [50716]
> 
> Date/Time:   2010-04-24 11:13:26.241 -0700
> OS Version:  Mac OS X 10.6.2 (10C540)
> Report Version:  6
> 
> Interval Since Last Report:  147902 sec
> Crashes Since Last Report:   1
> Per-App Crashes Since Last Report:   1
> Anonymous UUID:  9B58BA8B-C3A5-49A8-941C-66F0937BC6C8
> 
> Exception Type:  EXC_CRASH (SIGABRT)
> Exception Codes: 0x, 0x
> Crashed Thread:  0  Dispatch queue: com.apple.main-thread
> 
> Application Specific Information:
> objc[51083]: garbage collection is ON
> abort() called
> 
> Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
> 0   libSystem.B.dylib 0x7fff859aafe6 __kill + 10
> 1   libSystem.B.dylib 0x7fff85a4be32 abort + 83
> 2   libSystem.B.dylib 0x7fff85963155 free + 128
> 3   libmacruby.dylib  0x0001000f1edd 
> bs_free_function_pointer + 77
> 4   libmacruby.dylib  0x0001000f2125 bs_element_free + 293
> 5   libmacruby.dylib  0x000100107dde 
> RoxorCore::bs_parse_cb(bs_element_type_t, void*, void*) + 270
> 6   libmacruby.dylib  0x000100

Re: [MacRuby-devel] [MacRuby] #665: Easy to reproduce bug

2010-04-24 Thread MacRuby
#665: Easy to reproduce bug
-+--
 Reporter:  r...@…|   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  blocker  |   Milestone:   
Component:  MacRuby  |Keywords:   
-+--

Comment(by mattaimone...@…):

 $ macirb
 irb(main):001:0> framework 'CoreFoundation'
 => true
 irb(main):002:0> framework 'AppKit'
 => true
 irb(main):003:0>


 But:

 $ macirb
 irb(main):001:0> framework 'CoreFoundation'
 => true
 irb(main):002:0> framework 'AppKit'
 => true
 irb(main):003:0> exit
 [matte...@matt-aimonettis-macbook macruby]$ macirb
 irb(main):001:0> framework('corefoundation')
 => true
 irb(main):002:0> framework('appkit')
 unknown: warning: already initialized constant CFAllocatorContext
 unknown: warning: already initialized constant CFArrayCallBacks
 unknown: warning: already initialized constant CFBagCallBacks
 unknown: warning: already initialized constant CFBinaryHeapCallBacks
 unknown: warning: already initialized constant CFBinaryHeapCompareContext
 unknown: warning: already initialized constant CFDictionaryKeyCallBacks
 unknown: warning: already initialized constant CFDictionaryValueCallBacks
 unknown: warning: already initialized constant CFFileDescriptorContext
 unknown: warning: already initialized constant CFGregorianDate
 unknown: warning: already initialized constant CFGregorianUnits
 unknown: warning: already initialized constant CFMachPortContext
 unknown: warning: already initialized constant CFMessagePortContext
 unknown: warning: already initialized constant CFRange
 unknown: warning: already initialized constant CFRunLoopObserverContext
 unknown: warning: already initialized constant CFRunLoopSourceContext
 unknown: warning: already initialized constant CFRunLoopTimerContext
 unknown: warning: already initialized constant CFSetCallBacks
 unknown: warning: already initialized constant CFSocketContext
 unknown: warning: already initialized constant CFSocketSignature
 unknown: warning: already initialized constant CFStreamClientContext
 unknown: warning: already initialized constant CFStreamError
 unknown: warning: already initialized constant CFStringInlineBuffer
 unknown: warning: already initialized constant CFSwappedFloat32
 unknown: warning: already initialized constant CFSwappedFloat64
 unknown: warning: already initialized constant CFTreeContext
 unknown: warning: already initialized constant CFUUIDBytes
 unknown: warning: already initialized constant
 CFXMLAttributeDeclarationInfo
 unknown: warning: already initialized constant
 CFXMLAttributeListDeclarationInfo
 unknown: warning: already initialized constant CFXMLDocumentInfo
 unknown: warning: already initialized constant CFXMLDocumentTypeInfo
 unknown: warning: already initialized constant CFXMLElementInfo
 unknown: warning: already initialized constant
 CFXMLElementTypeDeclarationInfo
 unknown: warning: already initialized constant CFXMLEntityInfo
 unknown: warning: already initialized constant CFXMLEntityReferenceInfo
 unknown: warning: already initialized constant CFXMLExternalID
 unknown: warning: already initialized constant CFXMLNotationInfo
 unknown: warning: already initialized constant CFXMLParserCallBacks
 unknown: warning: already initialized constant CFXMLParserContext
 unknown: warning: already initialized constant
 CFXMLProcessingInstructionInfo
 macruby(51083,0x7fff70a51be0) malloc: *** error for object 0x10498d7c0:
 pointer being freed was not allocated
 *** set a breakpoint in malloc_error_break to debug
 Abort trap



 Process: macruby [51083]
 Path:
 /Library/Frameworks/MacRuby.framework/Versions/0.6/usr/bin/macruby
 Identifier:  macruby
 Version: ??? (???)
 Code Type:   X86-64 (Native)
 Parent Process:  bash [50716]

 Date/Time:   2010-04-24 11:13:26.241 -0700
 OS Version:  Mac OS X 10.6.2 (10C540)
 Report Version:  6

 Interval Since Last Report:  147902 sec
 Crashes Since Last Report:   1
 Per-App Crashes Since Last Report:   1
 Anonymous UUID:  9B58BA8B-C3A5-49A8-941C-66F0937BC6C8

 Exception Type:  EXC_CRASH (SIGABRT)
 Exception Codes: 0x, 0x
 Crashed Thread:  0  Dispatch queue: com.apple.main-thread

 Application Specific Information:
 objc[51083]: garbage collection is ON
 abort() called

 Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
 0   libSystem.B.dylib 0x7fff859aafe6 __kill + 10
 1   libSystem.B.dylib 0x7fff85a4be32 abort + 83
 2   libSystem.B.dylib 0x7fff85963155 free + 128
 3   libmacruby.dylib  0x0001000f1edd
 bs_free_function_pointer + 77
 4   libmacruby.dylib  0x0001000f2125 bs_element_free +
 293
 5   libmacruby.dylib  

Re: [MacRuby-devel] [MacRuby] #665: Easy to reproduce bug

2010-04-24 Thread MacRuby
#665: Easy to reproduce bug
-+--
 Reporter:  r...@…|Owner:  lsansone...@…
 Type:  defect   |   Status:  closed   
 Priority:  blocker  |Milestone:  MacRuby 0.6  
Component:  MacRuby  |   Resolution:  fixed
 Keywords:   |  
-+--
Changes (by lsansone...@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.6


Comment:

 Should be fixed in r3961.

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] MacRuby doesn't find kCGDesktopIconWindowLevel

2010-04-24 Thread Laurent Sansonetti
Hi,

Looking at the CGWindowLevel.h header of the CoreGraphics framework:

enum {
  kCGBaseWindowLevelKey = 0,
...
  kCGDesktopIconWindowLevelKey,
...

#define kCGDesktopIconWindowLevel   \
  CGWindowLevelForKey(kCGDesktopIconWindowLevelKey)

$ ./miniruby -e "framework 'Cocoa'; p KCGDesktopIconWindowLevel"
/Users/lrz/src/macruby-trunk/-e:1:in `': uninitialized constant 
KCGDesktopIconWindowLevel (NameError)
$ ./miniruby -e "framework 'Cocoa'; p KCGDesktopIconWindowLevelKey"
18

It looks like the bridge support generator was not able to handle this #define 
notation. If you file a bug using http://bugreport.apple.com we can try to 
address this problem in a next version of Mac OS X.

In the meantime, a workaround is to use

CGWindowLevelForKey(KCGDesktopIconWindowLevelKey)

as you already figured out :-)

HTH,
Laurent

On Apr 24, 2010, at 3:51 AM, Michel Steuwer wrote:

> Hi,
> 
> I didn't find out how to use the kCGDesktopWindowLevel directly, but you can 
> use the kCGDesktopWindowLevelKey constant if you use a capital K at the 
> beginning.
> So the call:
> 
> window.setLevel(CGWindowLevelForKey(KCGDesktopWindowLevelKey))
> 
> works.
> 
> I looked at the CoreGraphics.bridgesupport in
> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Resources/BridgeSupport
> and it only provides the constant kCGDesktopWindowLevelKey not 
> kCGDesktopWindowLevel.
> 
> Thanks for the quick respond.
> 
> Michel
> 
>> I've not been able to generate a Bridge Support file for the 
>> AppKit.framework on my machine, but if you can then you can load the 
>> framework and then load the bridge support file and you should get access to 
>> those constants, I believe the k changes to K though.
>> 
>> The alternative would be to define those constants in a .rb file which you 
>> then require into your script.
>> 
>> Geoff
>> 
>> On 24 Apr 2010, at 11:09, robert gleeson wrote:
>> 
>>> Hey,
>>> 
>>> In Ruby, constants are identified by a capital letter at the beginning of 
>>> its name, and that is why a NameError exception is raised. 
>>> If this Objective-C constant is available to you, I don't think it would be 
>>> available as a local variable in MacRuby.
>>> 
>>> Maybe MacRuby encapsulates this data in a class somewhere - I have no idea  
>>> - Sorry :-)
>>> 
>>> Thanks,
>>> Rob
>>> 
>>> On 24 Apr 2010, at 11:01, Michel Steuwer wrote:
>>> 
 Hello everybody,
 
 i'm new to MacRuby and currently trying my first Project.
 
 I try to draw a NSPanel at the desktop window level.
 Therefore, i would use the [window setLevel:kCGDesktopIconWindowLevel] 
 method in Objective-C.
 In MacRuby the call window.setLevel(kCGDesktopIconWindowLevel) doesn't 
 work and produces the following log message:
 
 undefined local variable or method `kCGDesktopIconWindowLevel' for 
 #
 
 Currently i have solved the Problem by using this work-around:
 window.setLevel(CGWindowLevelForKey(2))
 
 Why can't i use the call with the pre defined constant as i would in 
 Objective-C ?
 
 Thanks,
 Michel
 
 --
 Michel Steuwer | [email protected]
 
 ___
 MacRuby-devel mailing list
 [email protected]
 http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>> 
>>> ___
>>> MacRuby-devel mailing list
>>> [email protected]
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> 
> 
> --
> Michel Steuwer | [email protected]
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] NSNotificationCenter observers, selectors and notifications

2010-04-24 Thread Thibault Martin-Lagardette
I concur.

The problem is that you call:
NSNotificationCenter.defaultCenter.addObserver(self, selector: :track_finished, 
name:QTMovieDidEndNotification, object:nil)

That means you tell the notification center to call "track_finished", not 
"track_finished:" :-)

-- 
Thibault Martin-Lagardette



On Apr 24, 2010, at 03:41, Jakub Suder wrote:

> Hi,
> 
> In ObjC, a method 'foo' that has one argument is referenced as 'foo:'
> in such situations (with colon), not 'foo'. Try passing a string
> "track_finished_with_notifier:" to the notification center.
> 
> Jakub Suder
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] NSPasteboard instance missing methods?

2010-04-24 Thread Laurent Sansonetti
Hi Robert,

At a glance it seems to be callable:

$ ./miniruby -e "framework 'Cocoa'; pb = NSPasteboard.generalPasteboard; p 
pb.canReadObjectForClasses([], options: [])"
false

Are you sure you're forming the selector correctly? The selector seems to be 
canReadObjectForClasses:options:.

Laurent

On Apr 24, 2010, at 9:10 AM, robert gleeson wrote:

> Hey,
> 
> I'm fooling around with NSPasteboard - following the documentation found at:
> 
> http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/PasteboardGuide106/Articles/pbGettingStarted.html#//apple_ref/doc/uid/TP40008150-SW1
> 
> I've got an instance of NSPasteboard through:
> 
> "board = NSPasteboard.generalPasteboard"
> 
> but "board" doesn't respond to any methods mentioned later in the tutorial I 
> posted.
> 
> I'm looking for the method: 
> "canReadObjectForClasses" 
> 
> So I can continue on.
> 
> Thanks ahead of time,
> Rob
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] NSNotificationCenter observers, selectors and notifications

2010-04-24 Thread Laurent Sansonetti
Also, note that you can use a symbol too, which is more efficient (they are 
only created once):

> NSNotificationCenter.defaultCenter.addObserver(self, selector: 
> :"track_finished:" name:QTMovieDidEndNotification, object:nil)

Laurent

On Apr 24, 2010, at 1:32 PM, Thibault Martin-Lagardette wrote:

> I concur.
> 
> The problem is that you call:
> NSNotificationCenter.defaultCenter.addObserver(self, selector: 
> :track_finished, name:QTMovieDidEndNotification, object:nil)
> 
> That means you tell the notification center to call "track_finished", not 
> "track_finished:" :-)
> 
> -- 
> Thibault Martin-Lagardette
> 
> 
> 
> On Apr 24, 2010, at 03:41, Jakub Suder wrote:
> 
>> Hi,
>> 
>> In ObjC, a method 'foo' that has one argument is referenced as 'foo:'
>> in such situations (with colon), not 'foo'. Try passing a string
>> "track_finished_with_notifier:" to the notification center.
>> 
>> Jakub Suder
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] NSPasteboard instance missing methods?

2010-04-24 Thread robert gleeson
Laurent,

Thanks! It works - I'm not sure what I did wrong, though. Maybe a typo? :-X
By the way, is it possible to see what Objective-C methods an object can 
respond to?

NSObject/Object#methods doesn't seem to list them on my side?

Thanks,
Rob

On 24 Apr 2010, at 21:34, Laurent Sansonetti wrote:

> Hi Robert,
> 
> At a glance it seems to be callable:
> 
> $ ./miniruby -e "framework 'Cocoa'; pb = NSPasteboard.generalPasteboard; p 
> pb.canReadObjectForClasses([], options: [])"
> false
> 
> Are you sure you're forming the selector correctly? The selector seems to be 
> canReadObjectForClasses:options:.
> 
> Laurent
> 
> On Apr 24, 2010, at 9:10 AM, robert gleeson wrote:
> 
>> Hey,
>> 
>> I'm fooling around with NSPasteboard - following the documentation found at:
>> 
>> http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/PasteboardGuide106/Articles/pbGettingStarted.html#//apple_ref/doc/uid/TP40008150-SW1
>> 
>> I've got an instance of NSPasteboard through:
>> 
>> "board = NSPasteboard.generalPasteboard"
>> 
>> but "board" doesn't respond to any methods mentioned later in the tutorial I 
>> posted.
>> 
>> I'm looking for the method: 
>> "canReadObjectForClasses" 
>> 
>> So I can continue on.
>> 
>> Thanks ahead of time,
>> Rob
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] NSPasteboard instance missing methods?

2010-04-24 Thread Laurent Sansonetti
By default #methods and friends do not return Objective-C selectors (especially 
since a lot of ruby libraries are using this and cannot handle objc-style 
selectors), but you can get them by passing the second argument as true.

$ /usr/local/bin/macirb
irb(main):001:0> framework 'Cocoa'
=> true
irb(main):002:0> NSTableView.new.methods
=> [:load_bridge_support_file, :Complex, :Rational, :enum_for, :to_enum, 
:object_id, :__id__, :define_singleton_method, :public_method, :method, 
:extend, :respond_to_missing?, :respond_to?, :public_send, :send, :__send__, 
:instance_exec, :instance_eval, :__callee__, :__method__, :tap, :is_a?, 
:kind_of?, :instance_of?, :instance_variable_defined?, :instance_variable_set, 
:instance_variable_get, :instance_variables, :public_methods, :private_methods, 
:protected_methods, :singleton_methods, :methods, :inspect, :to_s, :untrusted?, 
:untrust, :trust, :frozen?, :freeze, :untaint, :tainted?, :taint, :__type__, 
:dup, :clone, :eql?, :!~, :=~, :===, :nil?, :!=, :!, :equal?, :==]
irb(main):003:0> NSTableView.new.methods(true,true)
=> [:"validateProposedFirstResponder:forEvent:", :controlTextDidEndEditing, 
:_shouldSetObjectValueOnCellsForAnimations, :"moveRowsInRange:toIndex:", 
:"prepareDraggingDestinationView:forRowIndexes:draggingStyle:", 
:cacheReusableView, :addDropBetweenFeedbackViewsForRow, :defaultOwner, 
:"associateView:withColumn:", :rowData, :_nextGroupRowFromRow, 
:"_shouldFloatRow:inVisibleRange:", :"_delegate_viewForTableColumn:row:", 
:_delegateRowViewForRow, :addDropOnFeedbackViewsForRow, 
:"_backgroundImageForRow:withFrame:", :shouldUseViews, :_validateHitTest, 
:setDraggedColumnView, :_isInDesignMode, :addDropFeedbackViews, 
:removeDropFeedbackViewsFromOldRow, :archivedReusableViews, 
:_headerViewDraggedDistance, :draggedColumnView, 
:"_updateCellInView:atRow:column:", :makeRowViewForRow, :isDropTargetRow, 
:"makeViewForTableColumn:row:", :isViewBased, :_needsBackgroundToAnimate, 
:_backgroundImageWithFrame, :_needsBackgroundImageForAnimation, 
:_mutableSelectedRows, :_adjustFieldEditorAnimated, :_setTrackingAreasDirty, 
:hiddenRowIndexes, :"_addDraggingDestinationViewForRowIndexes:draggingStyle:", 
:_rowForView, :_showContextualMenuForEvent, :_shouldShowContextMenuForEvent, 
:_rowViewDrawsHorizontalGrid, ]

Laurent

On Apr 24, 2010, at 1:42 PM, robert gleeson wrote:

> Laurent,
> 
> Thanks! It works - I'm not sure what I did wrong, though. Maybe a typo? :-X
> By the way, is it possible to see what Objective-C methods an object can 
> respond to?
> 
> NSObject/Object#methods doesn't seem to list them on my side?
> 
> Thanks,
> Rob
> 
> On 24 Apr 2010, at 21:34, Laurent Sansonetti wrote:
> 
>> Hi Robert,
>> 
>> At a glance it seems to be callable:
>> 
>> $ ./miniruby -e "framework 'Cocoa'; pb = NSPasteboard.generalPasteboard; p 
>> pb.canReadObjectForClasses([], options: [])"
>> false
>> 
>> Are you sure you're forming the selector correctly? The selector seems to be 
>> canReadObjectForClasses:options:.
>> 
>> Laurent
>> 
>> On Apr 24, 2010, at 9:10 AM, robert gleeson wrote:
>> 
>>> Hey,
>>> 
>>> I'm fooling around with NSPasteboard - following the documentation found at:
>>> 
>>> http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/PasteboardGuide106/Articles/pbGettingStarted.html#//apple_ref/doc/uid/TP40008150-SW1
>>> 
>>> I've got an instance of NSPasteboard through:
>>> 
>>> "board = NSPasteboard.generalPasteboard"
>>> 
>>> but "board" doesn't respond to any methods mentioned later in the tutorial 
>>> I posted.
>>> 
>>> I'm looking for the method: 
>>> "canReadObjectForClasses" 
>>> 
>>> So I can continue on.
>>> 
>>> Thanks ahead of time,
>>> Rob
>>> ___
>>> MacRuby-devel mailing list
>>> [email protected]
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] Blogs posts and another links in macruby website

2010-04-24 Thread Daniel Lopes
I just forked macruby website and want to add some new links in
documentation page. The problem is the website doesn't have a space for
that.
I'm thinking in create a new session inside
http://localhost:4331/documentation.html with the title "Misc" or "Another
Resources". My idea is share this links for now:

Objective-C for Ruby developers, un not-so-petit interlude
(1/2)
Creating our very first Mac application with Ruby, how
exciting!
A gentle introduction to
MacRuby
http://public.me.com/johnmshea

And keep adding new posts. What do you think?
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Blogs posts and another links in macruby website

2010-04-24 Thread John Shea
Hi Daniel,
the last one on the list (mine) has code which is getting very old and
crusty now - developed on 0.4 - I am not sure the code is all that useful
anymore - in fact i was just about to remove the examples.

Feel free to take copies of course (very soon) - but I a doubt there is too
much of interest that cannot be found elsewhere in a much more modern (and
in much nicer ruby/macruby idiomatic) form.
Cheers,
J



On Sun, Apr 25, 2010 at 2:02 AM, Daniel Lopes wrote:

> I just forked macruby website and want to add some new links in
> documentation page. The problem is the website doesn't have a space for
> that.
> I'm thinking in create a new session inside
> http://localhost:4331/documentation.html with the title "Misc" or "Another
> Resources". My idea is share this links for now:
>
> Objective-C for Ruby developers, un not-so-petit interlude 
> (1/2)
> Creating our very first Mac application with Ruby, how 
> exciting!
> A gentle introduction to 
> MacRuby
> http://public.me.com/johnmshea
>
> And keep adding new posts. What do you think?
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel