You can subscribe to this list here.
2002 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(3) |
Nov
|
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(1) |
Feb
(11) |
Mar
(9) |
Apr
(1) |
May
(5) |
Jun
(5) |
Jul
(4) |
Aug
(3) |
Sep
(15) |
Oct
(8) |
Nov
(9) |
Dec
(11) |
2004 |
Jan
(5) |
Feb
(2) |
Mar
(1) |
Apr
(3) |
May
(6) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
|
Dec
(3) |
2005 |
Jan
(1) |
Feb
(7) |
Mar
(6) |
Apr
(36) |
May
(20) |
Jun
(42) |
Jul
(21) |
Aug
(12) |
Sep
(56) |
Oct
(5) |
Nov
(55) |
Dec
(53) |
2006 |
Jan
(43) |
Feb
(83) |
Mar
(98) |
Apr
(42) |
May
(68) |
Jun
(55) |
Jul
(50) |
Aug
(104) |
Sep
(13) |
Oct
(70) |
Nov
(37) |
Dec
(42) |
2007 |
Jan
(56) |
Feb
(18) |
Mar
(43) |
Apr
(80) |
May
(65) |
Jun
(149) |
Jul
(103) |
Aug
(71) |
Sep
(62) |
Oct
(67) |
Nov
(72) |
Dec
(63) |
2008 |
Jan
(64) |
Feb
(63) |
Mar
(31) |
Apr
(42) |
May
(71) |
Jun
(62) |
Jul
(37) |
Aug
(25) |
Sep
(5) |
Oct
(2) |
Nov
(7) |
Dec
(14) |
2009 |
Jan
(20) |
Feb
(15) |
Mar
(19) |
Apr
(8) |
May
(7) |
Jun
|
Jul
(37) |
Aug
(12) |
Sep
(19) |
Oct
(5) |
Nov
(1) |
Dec
(4) |
2010 |
Jan
(5) |
Feb
(24) |
Mar
(16) |
Apr
(9) |
May
(4) |
Jun
|
Jul
|
Aug
(6) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(7) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(5) |
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: Yvon T. <tho...@fr...> - 2006-03-04 09:51:00
|
Le 4 mars 06 =E0 03:12, Tim Burks a =E9crit : > I wrote up an account of one conversion and put it online here: =20 > http://www.rubycocoa.com/the-rubification-of-rtw. OK, i've started one of my own, this is to let you some result. I've choosen the "NameAndAddress" example where the main.m is called =20 "NameAndAddress_main.m". first i've tried using a "NameAndAddress_main.rb" to mimic what's in =20 the original Obj_C project then, i've changed the line : return RBApplicationMain("rb_main.rb", argc, argv); to : return RBApplicationMain("NameAndAddress_main.rb", argc, argv); and add a new file "NameAndAddress_main.rb" having the following =20 content : require 'osx/cocoa' def NameAndAddress_main_init path =3D = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation rbfiles =3D Dir.entries(path).select {|x| /\.rb\z/ =3D~ x} rbfiles -=3D [ File.basename(__FILE__) ] rbfiles.each do |path| require( File.basename(path) ) end end if $0 =3D=3D __FILE__ then NameAndAddress_main_init ####### <=3D=3D=3D line 21 OSX.NSApplicationMain(0, nil) end and get the following error : /Users/yvon/work/CocoaRubyfication/NameAndAddress/build/Default/=20 NameAndAddress.app/Contents/Resources/NameAndAddress_main.rb:21: =20 uninitialized constant NameAndAddress_init (NameError) then i thought the prob arroses only because i've made use of a upper =20= case first letter for this file name, then i rearranged all to : nameAndAddress_main.rb and everything else accordingly. and i've discovered, what i've never used before, that a method, =20 within ruby, couldn't start with an upper case letter ))) hopping this could help others, Yvon |
From: Yvon T. <tho...@fr...> - 2006-03-04 08:11:08
|
Le 4 mars 06 =E0 08:34, Tim Burks a =E9crit : > I put all my Ruby code in a single file that I named "RTW.rb". =20 > "RTW" came from the initials of "Round Transparent Window"; I'm =20 > sorry for the confusion about that. > ok, i see, i've believed it was some idiomatic expression not =20 available to frenchies understanding ;-) i'd like doing a Rubyfication of my own following the reading of your =20= pages (which take roughly about one hour including two coffe cups ; =20 it's 9 in the morning here). but i want to choose a cocoa example wich implement the Apple Event =20 "Get URL", do you know one example implementing that in Obj-C ? because in one of my apps to responds to typing url in Sfari, as for =20 example, what does "Sogudi" , you type : man:plutil in the Safari's Url field and you get the man page on plutil... in case of success i'd like adding this example to you pages if you =20 permit and correct my poor english. and also i may have enough time in order to transalte your pages in =20 french, let me know if interested and, in case of yes, what are the =20 requirement, html format and so one to do that translation. best, Yvon |
From: Tim B. <tim...@gm...> - 2006-03-04 08:01:11
|
Yvon, On Mar 3, 2006, at 11:44 PM, Yvon Thoraval wrote: > > Le 4 mars 06 =E0 03:12, Tim Burks a =E9crit : > >> I wrote up an account of one conversion and put it online here: =20 >> http://www.rubycocoa.com/the-rubification-of-rtw. > > reading step 5 : > > did you forgot to initialize MAXCOUNT ? > yes, you're right about that, too! Thanks for pointing it out. In =20 my test program, I set it to 100 but forgot to mention that in the =20 writeup. I'll correct that in the text. > also i get a warning message (after adding CustomView.rb) at Run =20 > Log console : > > >> 2006-03-04 08:40:14.560 RoundTransparentWindow[3662] CustomView=20 >> (0x4effb0) - NSView not correctly initialized. Did you forget to =20 >> call super? > Unfortunately this is an unresolved problem with RubyCocoa. http://sourceforge.net/tracker/index.php?=20 func=3Ddetail&aid=3D1215220&group_id=3D44114&atid=3D438476 I'm torn about what to do about this. I suppose I should include it =20 in the article, since everyone sees it, but hopefully it is something =20= that we'll fix (or see fixed) soon. Tim > best, > > Yvon |
From: Tim B. <tim...@gm...> - 2006-03-04 07:58:20
|
Hi Yvon, You are right about oc_display -- this issue of name conflicts =20 between Ruby and Objective C is addressed in the next section (3.2). =20= I decided to leave the error (along with it's correction) in the =20 article to illustrate the problem. I put all my Ruby code in a single file that I named "RTW.rb". =20 "RTW" came from the initials of "Round Transparent Window"; I'm sorry =20= for the confusion about that. Tim On Mar 3, 2006, at 11:01 PM, Yvon Thoraval wrote: > > Le 4 mars 06 =E0 03:12, Tim Burks a =E9crit : > >> I wrote up an account of one conversion and put it online here: =20 >> http://www.rubycocoa.com/the-rubification-of-rtw. > > i'm reading step 3 right now, following an advice given by Jonathan =20= > Paisley, we could change the line (in Controller.rb) from : > > @itsWindow.display > to: > @itsWindow.oc_display > because display is allready used by ruby and get confused =20 > outputting (Run Log) : > > <CustomWindow: 0x4e8c30><CustomWindow: 0x4e8c30> > [...] > <0x4e8c30><CustomWindow: 0x4e8c30> > > each time we move the slider. > > another comment about your "RTW.rb" file for non english-mother-=20 > language readers, seems to be un clear )) > what does means RTW even if i understood it means something like =20 > "the related" file when you where speaking about Controller.m > > best, > > Yvon |
From: Yvon T. <tho...@fr...> - 2006-03-04 07:45:50
|
Le 4 mars 06 =E0 03:12, Tim Burks a =E9crit : > I wrote up an account of one conversion and put it online here: =20 > http://www.rubycocoa.com/the-rubification-of-rtw. reading step 5 : did you forgot to initialize MAXCOUNT ? also i get a warning message (after adding CustomView.rb) at Run Log =20 console : > 2006-03-04 08:40:14.560 RoundTransparentWindow[3662] CustomView=20 > (0x4effb0) - NSView not correctly initialized. Did you forget to =20 > call super? best, Yvon= |
From: Yvon T. <tho...@fr...> - 2006-03-04 07:03:45
|
Le 4 mars 06 =E0 03:12, Tim Burks a =E9crit : > I wrote up an account of one conversion and put it online here: =20 > http://www.rubycocoa.com/the-rubification-of-rtw. i'm reading step 3 right now, following an advice given by Jonathan =20 Paisley, we could change the line (in Controller.rb) from : @itsWindow.display to: @itsWindow.oc_display because display is allready used by ruby and get confused outputting =20 (Run Log) : <CustomWindow: 0x4e8c30><CustomWindow: 0x4e8c30> [...] <0x4e8c30><CustomWindow: 0x4e8c30> each time we move the slider. another comment about your "RTW.rb" file for non english-mother-=20 language readers, seems to be un clear )) what does means RTW even if i understood it means something like "the =20= related" file when you where speaking about Controller.m best, Yvon= |
From: Yvon T. <tho...@fr...> - 2006-03-04 06:02:27
|
Le 4 mars 06 =E0 03:12, Tim Burks a =E9crit : > > I wrote up an account of one conversion and put it online here: =20 > http://www.rubycocoa.com/the-rubification-of-rtw. > > I expect to post other conversions as I complete them. If anyone =20 > else is willing to share conversions of their own, I'd gladly host =20 > those online as well. > very good, i apreciate very much your effort, i'm reading your pages =20 right now hopping i could find a solution where i'm stuck : @appleEventManager=3DOSX::NSAppleEventManager.sharedAppleEventManager =20= ### OK @appleEventManager.setEventHandler_andSelector_forEventClass_andEventID(=20= self, 'GURL', <?>.kAEInternetSuite, <?>.kAEISGetURL) with two args in order to implement Apple Event "Get URL". thanks for your work ! Yvon=20= |
From: Tim B. <tim...@gm...> - 2006-03-04 02:12:46
|
Lately I've been converting some examples from Apple's Cocoa sample code library (http://developer.apple.com/samplecode/Cocoa/index.html) to Ruby. It's given me a few patterns to use for future RubyCocoa apps, and it's exposed some of the ways RubyCocoa applications can break when the instructions aren't strictly followed. I wrote up an account of one conversion and put it online here: http://www.rubycocoa.com/the-rubification-of-rtw. I expect to post other conversions as I complete them. If anyone else is willing to share conversions of their own, I'd gladly host those online as well. Tim |
From: Yvon T. <tho...@fr...> - 2006-03-03 12:41:13
|
Le 3 mars 06 =E0 13:20, Jonathan Paisley a =E9crit : > > OSX::NSAppleEventManager.sharedAppleEventManager > ok, thanks. Yvon= |
From: Jonathan P. <jp...@dc...> - 2006-03-03 12:20:40
|
On 3 Mar 2006, at 12:18, Yvon Thoraval wrote: > ok, then, i must first get a receiver "NSAppleEventManager" by using : > > @appleEventManager=OSX.NSApp.sharedAppleEventManage ??? No. sharedAppleEventManager is a class method on NSAppleEventManager, so you do: OSX::NSAppleEventManager.sharedAppleEventManager |
From: Yvon T. <tho...@fr...> - 2006-03-03 12:18:22
|
Le 3 mars 06 =E0 10:13, Jonathan Paisley a =E9crit : > Look at NSAppleEventManager =20 > setEventHandler:andSelector:forEventClass:andEventID: ok, then, i must first get a receiver "NSAppleEventManager" by using : @appleEventManager=3DOSX.NSApp.sharedAppleEventManage ??? /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/=20= objc/oc_wrapper.rb:17:in `ocm_send': =20 NSApplication#sharedAppleEventManager - methodSignature is nil. =20 (OSX::OCMessageSendException) from = /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/=20 ruby/osx/objc/oc_wrapper.rb:17:in `method_missing' from = /Users/yvon/work/RubyCocoa/BookmarksMerge/build/Development/=20 BookmarksMerge.app/Contents/Resources/Controller.rb:88:in `initialize' from = /Users/yvon/work/RubyCocoa/BookmarksMerge/build/Development/=20 BookmarksMerge.app/Contents/Resources/rb_main.rb:91 in #initialize or #awakeFromNib best, Yvon= |
From: Jonathan P. <jp...@dc...> - 2006-03-03 09:53:08
|
On 3 Mar 2006, at 9:50, Yvon Thoraval wrote: > ok, even if i build RubyCocoa with my own ruby ? If you rebuild RubyCocoa with your own ruby then it should be ok. |
From: Yvon T. <tho...@fr...> - 2006-03-03 09:50:32
|
Le 3 mars 06 =E0 10:43, Jonathan Paisley a =E9crit : > > Ah, ok. If you installed from one of the packages then it'll be =20 > using the Tiger ruby. right, this is what i've discovered this morning ))) > If you installed ruby libxml against your own ruby in /usr/local/=20 > lib then a rubycocoa app will not be able to find the libxml ruby =20 > libraries. You could try installing ruby libxml using /usr/bin/ruby. > ok, even if i build RubyCocoa with my own ruby ? i hope not ;-) Yvon= |
From: Jonathan P. <jp...@dc...> - 2006-03-03 09:43:19
|
On 3 Mar 2006, at 9:37, Yvon Thoraval wrote: > as far as i remeber well, i've only installed RubyCocoa, not build it. > > then, i need to build it Ah, ok. If you installed from one of the packages then it'll be using the Tiger ruby. If you installed ruby libxml against your own ruby in /usr/local/lib then a rubycocoa app will not be able to find the libxml ruby libraries. You could try installing ruby libxml using / usr/bin/ruby. |
From: Yvon T. <tho...@fr...> - 2006-03-03 09:37:41
|
Le 3 mars 06 =E0 10:10, Jonathan Paisley a =E9crit : > It ought to include libxml.bundle (assuming that's what the native =20 > code part of ruby libxml is called), but the libxml.dylib that =20 > comes from the Mac OS X installation will not be copied. > > However, if the native code libxml.bundle is coming from a gem, =20 > there's a bug in standaloneify that prevents it from working. Is =20 > that the case? not at the time being because i need first to get the right ruby =20 within XCode under RubyCocoa. i've not tried out standalinify.rb for that point yet. i'll investigate first on havibg ruby 1.8.4 within XCode. if tehir is a bugg within standaloneify i could arrange by myself =20 with a "cp -r something" afterwards... > >> may be XCode is using the Apple standard Ruby where i make use of =20 >> my installed ruby in "/usr/local" ? > > The ruby that gets used is dependent on which ruby you built =20 > RubyCocoa against. > as far as i remeber well, i've only installed RubyCocoa, not build it. then, i need to build it= |
From: Jonathan P. <jp...@dc...> - 2006-03-03 09:13:46
|
On 3 Mar 2006, at 8:41, Yvon Thoraval wrote: > i'd like to implement a CFBundleURLSchemes and i'm confuse about > how to receive the Apple Event "Get URL". Look at NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID: |
From: Jonathan P. <jp...@dc...> - 2006-03-03 09:11:35
|
> require 'xml/libxml' > > in my rb_main.rb > > does standaloneify.rb include libxslt.framework as > RubyCocoa.framework ? It ought to include libxml.bundle (assuming that's what the native code part of ruby libxml is called), but the libxml.dylib that comes from the Mac OS X installation will not be copied. However, if the native code libxml.bundle is coming from a gem, there's a bug in standaloneify that prevents it from working. Is that the case? > may be XCode is using the Apple standard Ruby where i make use of > my installed ruby in "/usr/local" ? The ruby that gets used is dependent on which ruby you built RubyCocoa against. |
From: Yvon T. <tho...@fr...> - 2006-03-03 08:41:33
|
Hey all, i'd like to implement a CFBundleURLSchemes and i'm confuse about how to receive the Apple Event "Get URL". some advices for that point ? best, Yvon |
From: Yvon T. <tho...@fr...> - 2006-03-03 06:49:42
|
Hey all, a littke question about standaloneify.rb suppose i put : require 'xml/libxml' in my rb_main.rb does standaloneify.rb include libxslt.framework as RubyCocoa.framework ? or does i have to include, with all the related, in my bundled app ? i ask this question because if i use "require 'xml/libxml'" in a little trying script it's OK, ruby found "xml/libxm" however using the latest from a XCode RubyCocoa project i get an error : /Users/yvon/work/RubyCocoa/BookmarksMerge/build/Development/ BookmarksMerge.app/Contents/Resources/rb_main.rb:13:in `require': no such file to load -- xml/libxml (LoadError) from /Users/yvon/work/RubyCocoa/BookmarksMerge/build/Development/ BookmarksMerge.app/Contents/Resources/rb_main.rb:13 may be XCode is using the Apple standard Ruby where i make use of my installed ruby in "/usr/local" ? if this is the case how could i specify, within XCode, the ruby to use ? best, Yvon |
From: Jonathan P. <jp...@dc...> - 2006-02-28 23:45:48
|
On 28 Feb 2006, at 22:39, Mario Pehle (Sorceforge) wrote: > I try to connect Core Image via RubyCocoa to Ruby. To write > processed images to hard disk, in need an image representation. In > one step I have to specify a CGRect as the region, which should be > taken for further steps. The CGRect is a struct defined in > CGGeometry (have a look at http://developer.apple.com/documentation/ > GraphicsImaging/Reference/CGGeometry/Reference/reference.html) > > In the sources of RubyCocoa I found a way to deal with enums, but > not with structs. Is this still implemented? And if "yes", how I > can make use of it? I don't think Core Image is properly supported yet in RubyCocoa (please correct me if I'm wrong). I seem to remember somebody else having a go at getting it to work a while back... I think arbitrary structs are not supported. However, since CGRect is structurally the same as an NSRect you can probably get away with this (untested): --- objc/ocdata_conv.m (revision 38) +++ objc/ocdata_conv.m (local) @@ -68,8 +68,15 @@ else if (strcmp(octype_str, @encode(NSRange)) == 0) { oct = _PRIV_C_NSRANGE; } - } - else if (octype_str[0] == '^') { + } else if (octype_str[0] == '{') { + if (strcmp(octype_str, @encode(CGRect)) == 0) { + oct = _PRIV_C_NSRECT; + } else if (strcmp(octype_str, @encode(CGPoint)) == 0) { + oct = _PRIV_C_NSPOINT; + } else if (strcmp(octype_str, @encode(CGSize)) == 0) { + oct = _PRIV_C_NSSIZE; + } + } else if (octype_str[0] == '^') { if (strcmp(octype_str, "^@") == 0) oct = _PRIV_C_ID_PTR; else |
From: Mario P. \(Sorceforge\) <sou...@er...> - 2006-02-28 22:39:25
|
Good afternoon, I try to connect Core Image via RubyCocoa to Ruby. To write processed images to hard disk, in need an image representation. In one step I have to specify a CGRect as the region, which should be taken for further steps. The CGRect is a struct defined in CGGeometry (have a look at http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html) In the sources of RubyCocoa I found a way to deal with enums, but not with structs. Is this still implemented? And if "yes", how I can make use of it? Mario |
From: Jonathan P. <jp...@dc...> - 2006-02-25 15:27:27
|
>> >> The best place to get advice is probably one of the >> Cocoa development >> lists, rather than ruby-related lists. > > I've already asked them, every time I solve a piece of > the puzzle, but I can't see the end yet. I just noticed there are some Objective C examples in /Developer/Examples/Bluetooth that get installed with Xcode. Probably worth building them and trying to get things working within the Apple-provided examples. Then you might have a better idea of how to express it with RubyCocoa. Hope that helps, Jonathan |
From: Davide V. <var...@ya...> - 2006-02-25 15:07:52
|
Jonathan, > > hmm, as I never code in objective-c before, I > don't > > know exactly what > NSApplication.sharedApplication.run > > should do, but I'll read the documentation and > > feedback you. > > According to this page: > > http://www.cocoadev.com/index.pl?IOBluetooth > > the bluetooth APIs are not well documented. I know, that's why I've so many difficulties :-) > I think > it may be best to > try to make an objective C sample program that works > before trying it > in RubyCocoa, just to eliminate any interference > from the RubyCocoa > bridge. Right. My original attempt was in squeak with the squeak/objectivec plugin, but I faced off a lot of problems, so I translated my trials in ruby, but the results are the same. > The best place to get advice is probably one of the > Cocoa development > lists, rather than ruby-related lists. I've already asked them, every time I solve a piece of the puzzle, but I can't see the end yet. > Good luck, Thanks Davide __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Yvon T. <tho...@fr...> - 2006-02-24 19:25:32
|
Le 24 f=E9vr. 06 =E0 20:15, Jonathan Paisley a =E9crit : > > I doubt the problem with nkf would be caused by a hardware fault. =20 > Did your friend manage to get a file access log from ktrace/kdump =20 > to identify the problem? > > right, i'll ask him, but the wrong computer belongs to his son, may =20 be he doesn't access to it every time ))) best, Yvon= |
From: Jonathan P. <jp...@dc...> - 2006-02-24 19:15:36
|
On 24 Feb 2006, at 18:47, Yvon Thoraval wrote: > on one computer a "G5 mono 1.8" it seems the prob comes from the > computer itself see "The Buggiest Macintosh. Ever?(TM)" > <http://www.g5freeze.com/index.html> > > on the other the bugg gad nothing to do with nkf nor standalonify.rb. I doubt the problem with nkf would be caused by a hardware fault. Did your friend manage to get a file access log from ktrace/kdump to identify the problem? |