> I was wondering if there would be benefit to writing (a) Generator(s) ala'
> Rails' "rails" script for the stubbing out of apps and m,v,c ? Imagine:
>
> facet new
> facet g model
> …
>
> Thoughts?
I had started on rewriting my tools for that for MacRuby, actually based on the
same way Rail
> Can you import before it's open? I just assumed it wasn't accessible at all
> until enable? It looks like forgeplucker (http://home.gna.org/forgeplucker/)
> has support to pull tickets out of trac and dump to JSON. Should be pretty
> easy to go from JSON to GitHub API I'd expect.
Well, we’d o
> Can we get the issues section enabled on github and move off of Trac? (Not
> sure how hard it would be to import all of the old trac stuff to Github).
>
> Would be nice to consolidate everything in one place.
I think that’s an excellent idea. However, it’s probably better to first import
tick
The technology by the name “ARC” actually inserts the required code at compile
time and only for Objective-C(++). The principal of ARC, however, can be
applied to MacRuby.
On 7 apr. 2012, at 13:13, Henry Maddocks wrote:
>
> On 7/04/2012, at 6:13 PM, Joshua Ballanco wrote:
>
>> Regarding ARC,
> Yes, I'm still alive :) As you may have noticed, I have been absent
> here for a few months. Last year we got a baby, then we moved back to
> Europe. I decided to leave Apple a few months ago to achieve one of my
> dreams: work on a startup, in part so that I would be flexible in my
> time and be
And an ‘example’ of what it looks like :)
http://www.ustream.tv/recorded/16057682/highlight/188706
On 24 nov. 2011, at 02:52, Michael Johnston wrote:
> I added basic fsevents reloading in my fork
> (https://github.com/lastobelus/MacRubyReload)
>
> Should change to check an environment var firs
Here’s a GUI approach to using macirb:
https://github.com/alloy/Interactive-MacRuby
I didn’t have time to finish it yet, but it might still be useful.
On 24 nov. 2011, at 02:52, Michael Johnston wrote:
> I added basic fsevents reloading in my fork
> (https://github.com/lastobelus/MacRubyReload
Sounds like a CocoaPods spec for MCPKit might help out greatly in this case :)
There’s a MacRuby example app which shows how to use it with MacRuby:
https://github.com/CocoaPods/CocoaPods/blob/master/examples/MacRubySample/Podfile
On 17 nov. 2011, at 12:30, Jean-Denis MUYS wrote:
> Thanks for y
There’s also James by Florian Hanke: https://github.com/floere/james
On Mon, Nov 14, 2011 at 5:57 PM, Matt Aimonetti wrote:
> I extracted an old demo I had made for RubyConf which shows how to use the
> voice recognizer feature of OS X to implement an app which could be the Siri
> equivalent for
Hi,
I’ve just released CocoaPods 0.1.0 https://github.com/alloy/cocoapods, which
can now be used for OS X development. In addition it now also generated
BridgeSupport metadata files from the Pods, which makes it very easy to use
these libraries from MacRuby.
There is a MacRuby example which us
Great work, Mark!
On Fri, Oct 14, 2011 at 7:08 AM, Robert Lowe wrote:
> Mark,
>
> You're freaking amazing! (Not only for your commits to macruby) but for
> breathing life into hotcocoa. Damn.
>
> Appspec is sinisterly awesome in concept.
>
> Love it,
> - Rob
>
> PS: A Torontonian too, eh? Let m
Slightly offtopic: This gave me the idea to make CocoaPods handle BridgeSupport
for dependencies as well: https://github.com/alloy/cocoapods/issues/23
On 12 okt. 2011, at 03:30, Dominic Dagradi wrote:
> To use it from Ruby file, you don't need to require anything. Just
> drag-and-drop it into
Thanks everybody!
I’ll compile a list tomorrow and also add it to the github wiki.
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hey guys,
For an upcoming presentation I’m giving (on saturday at SecondConf) I’d like to
have an updated list of apps built with MacRuby which are available in the Mac
App Store.
So please let me know about your apps!
Cheers,
Eloy
___
MacRuby-devel
Actually, googling did reveal some Objective-C code for S3, which is a possible
workaround.
HTH
On 25 aug. 2011, at 21:25, Jeremy Smith wrote:
> This works when I try it in MRI. But this is what happens in Macruby. Is
> there a workaround?
>
> $ macirb -f
> irb(main):003:0> require
I haven’t used this library on MacRuby, so unless someone else knows of a
workaround the only solution is to fix it. It would be great if you could
reduce the actual problem to a few lines of code and file a ticket, even if
there's a workaround :)
Eloy
On 25 aug. 2011, at 21:25, Jeremy Smith w
In principle MRI is always right, so unless there's a comment or spec that
explains why we deviate it's a bug.
Eloy
On 24 aug. 2011, at 18:19, Steve Clarke wrote:
> I want to use PostgreSQL with macruby.
>
> At first I couldn't make this work. I eventually had some success and
> learned qu
You can install the gem with `sudo macgem install bundler --format-executable`,
which will create the bin wrapper like `/usr/bin/macbundler`.
On 21 aug. 2011, at 16:42, Jeremy Smith wrote:
> If I try to install bundler using "sudo macgem install bundler", it wants to
> over-write my existing bu
Our test fixture app should probably include a space in the name so we can
ensure this doesn't happen anymore.
On 21 jul. 2011, at 11:37, James Chen wrote:
> Mark,
>
> I saw this is fixed on github. Installed the July 21 nightly build and tried
> again. Now it has another error on lipo:
>
>
You probably want to make that a delegate of the application instance, not the
‘first responder’.
On 13 jul 2011, at 20:12, guillaume belleguic wrote:
> I'm using a delegate class for the first responder of my MainMenu.xib
>
> class AppDelegate
>
> def application(sender, openFile: a_f
Oops, thanks for the fix :)
On 28 jun 2011, at 18:21, Robert Lowe wrote:
> Value must be a pointer when passed
>
> value_to_pointer = Pointer.new(:object)
> value_to_pointer.assign(value)
>
> Regards,
> - Rob
>
> On 2011-06-28, at 12:08 PM, Eloy Duran wrote:
>
That’s untested code btw.
On Tue, Jun 28, 2011 at 6:08 PM, Eloy Duran wrote:
> I have no experience with Core Data, but if you are looking to make
> repetitive work easy then don't forget about the metaprogramming
> possibilities with Ruby. Taking your example, you could create
I have no experience with Core Data, but if you are looking to make
repetitive work easy then don't forget about the metaprogramming
possibilities with Ruby. Taking your example, you could create class
method like the following:
class Model
def self.core_data_accessor(name)
class_eval(%{
Thanks, I kept forgetting to fix that. However, it seems that the
version branches contain some more commits than the tags (not sure how
this happened), so I’ll need to do some more work by hand. I’ll do
this tonight.
On Tue, Jun 21, 2011 at 1:26 PM, Martin Schürrer wrote:
> Hi,
>
> one thing bug
Alas, it must be in the global namespace, as Objective-C has no notion
of namespacing.
On Mon, Jun 20, 2011 at 7:16 PM, Robert Lowe wrote:
> Is it possible to bind classes in xcode to a class within a class?
>
> Say for instance the file's owner of an app (NSApplication) to a class within
> a cl
As far as I know we have no control over this. I can only advise you to file a
ticket about this with Apple: https://bugreport.apple.com
On 12 jun 2011, at 23:09, Jakub Suder wrote:
> Hi,
>
> I wanted to ask about code completion (i.e. the method name
> suggestions that you get while typing) fo
Are you defining the ‘action’ method with a ‘sender’ argument? Because that's
the way it's picked up as being a method that should be exposed to IB. E.g.:
def peelBananas(sender)
# provide your optimized algorithm for peeling bananas
end
On 11 jun 2011, at 21:46, Jakub Suder wrote:
> Hi
In case you want 32-bit support, you will have to build your own MacRuby from
source. The reason we don't provide binary installers for it anymore is because
nobody on the team has 32-bit machines anymore and thus we can't ensure it will
work 100%.
To compile MacRuby as a universal binary:
$
Just as an extra FYI, you are indeed blocking the main thread by using
`sleep 1`, which is a synchronous call and thus in that one second no
other code on the same thread will have a chance to update your views.
On Wed, May 25, 2011 at 7:50 AM, Thomas R. Koll wrote:
> Laurent is right and and I t
Hi,
It seems that the nokogiri gem that you are bundling has been compiled against
a iconv installation in /opt/local (macports|homebrew). Some users probably
have it as well which is why they wouldn't complain, but people with a default
osx installation don't. Here's what it does on my system,
Yes you can compare MacRuby against 1.9.2. I *think* the best would be
to compare against 1.9 trunk, but Laurent might have to correct me on
that.
So yes, please file a ticket for this issue :)
On Wed, May 11, 2011 at 1:24 PM, anoiaque wrote:
> Hi,
>
> Suppose: class User; def self.all;end end
erver-tool-for-the-ruby-community
On Fri, May 6, 2011 at 2:27 PM, Alexander von Below wrote:
> What exactly can I do for you?
>
> Alex
>
> Am 06.05.2011 um 14:25 schrieb Eloy Duran:
>
>> Hi,
>>
>> In case there's anyone on this list with mac server(s), it wou
Hi,
In case there's anyone on this list with mac server(s), it would be
great if one, or some cpu time, could be donated to the
http://travis-ci.org project to support MacRuby and allow developers
to test their gems on MacRuby. In the case of MacRuby this would mean
running the full spec suite, a
> Also, I am very interested in helping with a test suite for ruby_deploy as
> there are other changes I'd like to make to it; I was having a bit of
> difficulty getting started due to how ruby_deploy wants to load the compiler.
> Please let me know how I can help!
I’ve just pushed a spec for `
zipped 12MB). My only question is, can I somehow speedup
> application start? Now it takes about 10 seconds (loading gems & project
> files).
>
> - Petr
>
> On May 5, 2011, at 12:13 PM, Eloy Duran wrote:
>
>> No it's not your fault, it seems the code assumes a EN
ems. My specific case was from the RSS
> module.
>
> https://www.macruby.org/trac/ticket/1020
>
> On 5 May 2011, at 14:39, Eloy Duran wrote:
>
>> Aha indeed! Yes we should definitely compile them imo. But I’m not
>> sure if there’s a good reason for excluding s
mpiled. Can
> be STDLIB compiled as well?
>
> - Petr
>
> On May 5, 2011, at 2:34 PM, Eloy Duran wrote:
>
>> No, that's not right. The embed code is run before the compile code
>> and the compile code uses the following to select all ruby files in
>> the Re
t 45MB (zipped 12MB). My only question is, can I somehow speedup
>> application start? Now it takes about 10 seconds (loading gems & project
>> files).
>>
>> - Petr
>>
>> On May 5, 2011, at 12:13 PM, Eloy Duran wrote:
>>
>>> No it's not your fault,
peedup
> application start? Now it takes about 10 seconds (loading gems & project
> files).
>
> - Petr
>
> On May 5, 2011, at 12:13 PM, Eloy Duran wrote:
>
>> No it's not your fault, it seems the code assumes a ENV variable
>> that's set by Xcode. Thi
No it's not your fault, it seems the code assumes a ENV variable
that's set by Xcode. This is the offending code:
compile_options = { bundle: true, output: obj, files: [source] }
# Use Xcode ARCHS env var to determine which archs to compile for
compile_options[:archs] = ENV
ut the rest of hot cocoa.
>
> Mark Rada
> mr...@marketcircle.com
>
>
>
> On 2011-04-29, at 10:47 AM, Eloy Duran wrote:
>
>> PS every now and then I work on getting my command-line builder to
>> where I want it to be, but I haven't had enough time yet:
>>
t.
On Fri, Apr 29, 2011 at 4:44 PM, Eloy Duran wrote:
> Create the app through xcode once, then use `xcodebuild` to build and
> `macruby_deploy` to package.
>
> On Fri, Apr 29, 2011 at 4:35 PM, Petr Kaleta wrote:
>> Hi,
>> is there any tutorial how to build standalone app
Create the app through xcode once, then use `xcodebuild` to build and
`macruby_deploy` to package.
On Fri, Apr 29, 2011 at 4:35 PM, Petr Kaleta wrote:
> Hi,
> is there any tutorial how to build standalone application package without
> Xcode?
>
> Right now I am developing it in Textmate and debug
When the crash occurs is it always the same? If so, please try to find the code
in your app, where the actual crash occurs, and create a simple self contained
reduction and create a ticket with the reduction. Please also add a comment
that says it only crashes sometimes.
HTH
On 8 apr 2011, at
If it works on MRI but not on MacRuby it's a bug. Unless someone with MacRuby
+Sequel experience can give you a workaround, the only course of action would
be to create a simple self contained reduction, by hunting down the code in
Sequel that's broken on MacRuby and create a ticket with the red
No need to apologize, you did the right thing :)
On 8 apr. 2011, at 06:16, Takao Kouji wrote:
> Hi,
>
> I'm sorry. I will talk about it other place.
>
> Thanks Kouji.
>
> On 2011/04/08, at 11:49, Takao Kouji wrote:
>
>> Hi,
>>
>> I have joined the "Mac Developer Program".
>> I am compiling
e HotCocoa), nor do
I think we shouyld hide it from the user, because all API docs use the
objc style selectors, so hiding this from the user would make it even
harder to translate objc code to MacRuby.
On Fri, Apr 1, 2011 at 2:57 PM, Thomas R. Koll wrote:
>
> Am 01.04.2011 um 14:54 schrieb Eloy
Code works for me, so it's not really clear to me which #transform
method you are missing. Regarding the style, I prefer to use
parenthesis, which makes it a bit clearer. If you really dislike it
and have to use it many times, you could of course wrap it:
$ macirb
irb(main):001:0> class NSAffineTr
I would have loved to come to the WWDC, but unfortunately can't make it...
Sorry for the useless answer, just wanted to share my pain ;)
On 28 mrt. 2011, at 22:25, Nick Ludlam wrote:
> Hey all,
> I was just wondering if Laurent or any of the other people involved with
> MacRuby are planning to
There's a ticket for that problem: http://www.macruby.org/trac/ticket/336, so
it should be fixed, at some point :)
On 20 mrt 2011, at 03:43, Morgan Schweers wrote:
> Greetings,
> Shoulda defines tests via:
>
> test_name = ["test: ", full_name, "should", "#{should[:name]}.
> "].flatten.join(' '
Christian / Matt,
Do you guys happen to know if the UIAutomation API is available as a objc API
as well? I'm currently using Nu for my BDD specs on the device itself with:
https://github.com/alloy/NuBacon (rewrite with objc core:
https://github.com/alloy/ObjectiveBacon) and have everything in p
, Andre Lewis wrote:
> HI Eloy, would you mind
> trying http://redwoodapp.com/system/Redwood_macruby_trunk.zip -- it bundles
> MacRuby 0.10/trunk, and is compiled for x86_64. Thanks!
> Andre
>
> On Sat, Mar 12, 2011 at 9:25 AM, Eloy Duran wrote:
>>
>> The app crashes on
The app crashes on startup on my macbook: core 2 duo, osx 10.6.6
12-03-11 18:18:02 Redwood[22169] starting Redwood
12-03-11 18:18:04 [0x0-0x475475].com.highgroove.redwood[22169]
dlopen(/System/Library/Frameworks/CoreFoundation.framework/Resources/BridgeSupport/CoreFounda
Hi,
I’ve just released MacBacon 1.3. This release adds more NSRunLoop helpers:
* you can now make the context a delegate and have spec execution
pause until a delegate method has been called
* pause spec execution until a KVO observable property of an object changes
I forgot to email the list whe
This worked fine on an older version of trunk that I had installed,
but with the current trunk I can confirm the same problem. Can you
please file a ticket?
On Thu, Mar 10, 2011 at 9:01 PM, Mark Rada wrote:
> Hey all,
>
> I am getting an error when I add a #to_s method to NSURL:
>
> ± irb
Something like this:
module Kernel
private
def NSLocalizedString(key, value)
NSBundle.mainBundle.localizedStringForKey(key, value:value, table:nil)
end
end
On 21 feb 2011, at 23:56, Charles Steinman wrote:
> On Mon, Feb 21, 2011 at 8:23 AM, Martin Hawkins
> wrote:
>> Changing the lin
o contains the new
>> benchmarking facilities (though I don't think that part was officially
>> adopted by MRI), it might be worth considering pulling from upstream.
>>
>> On Fri, Feb 11, 2011 at 9:37 AM, Eloy Duran wrote:
>> This *might* be because the minites
This *might* be because the minitest version in our stdlib is
outdated. You can try to install the minitest gem and require that
instead and see if that fixes it.
On Fri, Feb 11, 2011 at 3:24 PM, Gabriel Ayuso wrote:
> I wanted to try using mocha to write unit tests with mocks. After requiring
>
e time.
On Sat, Jan 29, 2011 at 11:08 AM, Eloy Duran wrote:
> Yes, what we need is a tool that resolves dependencies at release time
> and bundle these in the app. The app also have a shim that makes sure
> that if any of the bundled dependencies call Kernel#gem it doesn't
> br
Yes, what we need is a tool that resolves dependencies at release time
and bundle these in the app. The app also have a shim that makes sure
that if any of the bundled dependencies call Kernel#gem it doesn't
break. I.e. on the clients machine rubygems should not actually be
loaded to ensure as fast
Oops: s/i.e. iOS/e.g. iOS/ :)
On 25 jan 2011, at 18:59, Eloy Duran wrote:
> This is an outline of what I've *observed*:
>
> 1. OS X is the focus
> 2. Core of MacRuby is written as portable as possible. For example, by using
> CoreFoundation making it possible to have some
This is an outline of what I've *observed*:
1. OS X is the focus
2. Core of MacRuby is written as portable as possible. For example, by using
CoreFoundation making it possible to have someone port it by using CFLite.
3. For code that (currently) relies on OS X specific APIs, see point #1.
In a n
Great! :)
Aliases are quite awesome when used locally, they allow you to link to a file
that may move freely on the volume (and even across volumes iirc). However, I
think that for your installer this won't really be a requirement, i.e. the link
will probably always be in the unpacked directory
Xcode sets the env variable durin build time. So running this from a 'build
phas script' (or whatever it is called) should work. However, if you just run
this from the terminal it won't, as the env var isn't defined, so you should
set it yourself.
HTH
On 19 jan. 2011, at 17:12, Michael Hagedor
I'd love an installer that restores the original BS files. But I have
no idea how much time that would cost you…
On Wed, Jan 19, 2011 at 11:14 AM, Laurent Sansonetti
wrote:
> Hi Martin,
> Sorry for the late reply.
> Reverting to an earlier BridgeSupport is hard. Basically, you would need to
> fir
We’re working on a pretty big (code wise) product for designers, with
complete custom views based on CALayers. Besides that I'm working on a
Cocoa front-end for some simple input/output thingy that I can't
elaborate on too much atm… ;)
On Tue, Jan 18, 2011 at 8:41 PM, Gabriel Gilder
wrote:
> I'm
You're welcome Alan :)
Hmm, I wonder if this big impact is because of skipping evaling everytime,
which iirc is the only thing that evaluateString does, or something else is
happening... Have you also tried doing [rubyClass new] instead of alloc init? I
thought they should do the same.
On 17 j
Yes, last time I checked there were no IRB specs. Ours is a (mostly) cleanroom
rewrite: https://github.com/MacRuby/DietRB
On 12 jan 2011, at 22:27, Joseph Anthony Pasquale Holsten wrote:
> Is this testing different from rubyspec?
>
> On Jan 11, 2011, at 6:24 PM, Eloy Duran wrote:
&g
I was about to take a look at this, but then my girlfriend introduced me to
Rémi Gaillard… So as you can expect I didn't finish it :) Will have a look
tomorrow, feel free to file a ticket in the meantime.
Eloy
On 11 jan 2011, at 22:59, Laurent Sansonetti wrote:
> Hi Perry,
>
> We have such a
Hi,
I've just released a fork of the Bacon spec library for MacRuby. It
specifically differs in the fact that it is NSRunloop aware, which is most
visible in the `wait' method that allows you to schedule a block of assertions
for later on the runloop. To be clear, the main thread is never halte
The MacRuby specs are known to be a bit fragile, especially the GCD
ones. To run all RubySpec specs you can do rake spec:rubyspec.
On Thu, Jan 6, 2011 at 11:27 PM, Joel Reymont wrote:
> Is this normal?
>
> I built the latest trunk, i.e.
>
> commit 36f01b88ae4290e9963ef2d48f26e5bdacdf2b54
> Author
se we might be overlapping work on that
part.
On Fri, Jan 7, 2011 at 1:22 AM, Joel Reymont wrote:
>
> On Jan 7, 2011, at 12:20 AM, Eloy Duran wrote:
>
>> The IRB::Source class uses Ripper and might be of help as well.
>
> Why would it be beneficial to catch syntax errors before ex
The IRB::Source class uses Ripper and might be of help as well.
On 6 jan 2011, at 23:50, Laurent Sansonetti wrote:
> I would catch the SyntaxError exception and poke at its content.
>
> If you want to catch syntax errors ahead of execution, you can use the ripper
> extension, which is bundled i
It unfortunately still causes a segfault for my FSEvents RubyCocoa code in
Kicker :(
$ sudo gem install kicker
$ kicker -e 'ls -l'
Then after a change to a file in the current directory:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x
0
Hi Benjamin,
The problem that you show is because your input at line 6 starts with
‘>>’. For example:
$ macirb
irb(main):001:0> >> foo
SyntaxError: compile error
(irb):1: syntax error, unexpected tRSHFT
In case this masked an actual problem with IRB and/or Ruby’s bindings,
which is NOT the same
Could you please try to reduce the problem to a few lines of code and
create a ticket for it?
Cheers
On Thu, Dec 9, 2010 at 12:23 PM, Vegar Vikan wrote:
> Hi,
>
> I'm trying out another gem with macruby. This time it's Mechanize.
>
> I first tried with the nightly build from a couple of days ago
Normally a ticket is a good idea for any patches, but I have already merged
your patch in r4997. Thanks!
On 8 dec 2010, at 20:04, isaac kearse wrote:
> Thanks to Eloy for catching a typo in that last commit, updated here:
> https://github.com/isaac/MacRuby/commit/10ae5cec5bd577c8c472995c9a12ff9b
It shouldn't occur in the first place, actually. I.e. no Ruby code should lead
to a segfault. Can you create a ticket for this?
Thanks
On 6 dec 2010, at 22:03, Robert Rice wrote:
> Would it be possible to catch this error rather than allowing MacRuby to
> crash with a Segmentation fault:
>
>
Idem dito. Thanks a lot everyone! I had tons of fun :)
On 6 dec 2010, at 20:48, Matt Aimonetti wrote:
> Thanks to everyone who joined the fun, we went from around 230 unscreeened
> tickets to 32: http://www.macruby.org/trac/report/19
> We now have 80 open tickets scheduled for 1.0
> http://www.
Hi Vegar, as Laurent said on your stackoverflow ticket, sequel works
out-of-the-box on MacRuby trunk (and nightly):
$ /usr/local/bin/macruby -r rubygems -e "require 'sequel'; p 42"
42
Eloy
On Fri, Dec 3, 2010 at 10:16 AM, Vegar Vikan wrote:
> Hi,
>
> Someone says Sequel is possible to use with
If you’d prefer to work against the https://github.com/MacRuby/MacRuby
mirror, then by all means please do. I'll take pull requests, and
others will probably to, but it would be a good idea to send links to
these requests in the IRC channel too, as I *think* the emails will go
to a black hole.
How
Yup :)
On 30 nov. 2010, at 18:18, Emil Tin wrote:
>
> sounds great.
>
> but isn't saturday the 4th, not the 6th?
>
>
> emil tin
>
>
> On 30/11/2010, at 00.11, Laurent Sansonetti wrote:
>
>> Hi guys,
>>
>> Now that the vacations are behind us (well, behind me at least :)), it's
>> time t
As Matt said, the priorities are:
* check if a ticket is still valid on trunk
* reduce the ticket to an as small as possible code snippet
reproducing the problem
* then you can optionally fix it, but this is way less important than
the first two steps :)
Also, there are bound to come up lots of e
Great! Just want to make clear that it’s saturday the 4th of december. Looking
forward to helping you all out with helping us out! And now spread the word,
because there are enough tickets for everyone ;)
On Nov 30, 2010, at 12:11 AM, Laurent Sansonetti wrote:
> Hi guys,
>
> Now that the vacat
ll
>> want a better solution for MacRuby, but this will work in the
>> meantime.
>>
>> — Chuck
>>
>> On Wed, Nov 17, 2010 at 4:42 AM, Eloy Duran wrote:
>>> Regardless of the current state, having a real Protocol class and objects
>>> that y
You can pass two arguments to #methods, which are to include methods from
ancestors and to include Objective-C methods, So you probably want:
vector.methods(false, true)
On 21 nov 2010, at 18:55, András Zalavári wrote:
> Hi there!
>
> I'm having problems of getting a list of methods from Class
e install Bridge Support preview. The funny thing is thet with
> tha same version, system, etc the code is working on my iMac. but still does
> not on my macbook.
>
> Abny idea or suggestions? how to fix.
>
> On Tue, Nov 16, 2010 at 7:47 PM, Eloy Duran wrote:
> You can
I don't think you need the BS preview for that. I can create a BS file with: $
gen_bridge_metadata -f Security -o Security.bridgesupport
On 19 nov 2010, at 20:39, Joshua Ballanco wrote:
> Hey James,
>
> The C API for the Keychain is not annotated with a bridge support file by
> default in Snow
ot get lost in the semantic and/or the potentially trolling form ;)
>
> Back to hacking and learning!
>
> - Matt
>
>
>
> On Thu, Nov 18, 2010 at 8:01 AM, Eloy Duran wrote:
> I don’t want to discuss this at length, but “clearly an exaggeration” is not
> necessari
e any fear doing so. Something that newbies can have a hard time
with.
Cheers,
Eloy
On Nov 18, 2010, at 3:48 PM, Scott Ribe wrote:
> On Nov 18, 2010, at 3:02 AM, Eloy Duran wrote:
>
>> I see no problem with this, as long as you know what you’re doing (which is
>> with almos
> if x = logical_statement then
> do_something(x)
> else
> do_something_else
> end
>
> and whether you're coding in ruby, C/++, or whatever... it is almost always
> considered bad form. Avoid it not only for the reasons I mentioned before,
> but also to avoid the beat downs you'll get whenever
000#comment:2
>> But feel free to investigate more and reopen it if you find something new.
>>
>> Thanks,
>>
>> - Matt
>>
>> On Wed, Nov 17, 2010 at 9:05 AM, Alan Skipp wrote:
>> Ticket #1000 has been filed.
>> Does the 1000th ticket get a speci
y with the other project) and I had to
> explicitly call 'load_bridge_support_file' to get the framework working there
> also.
>
>
> On 17 Nov 2010, at 13:42, Eloy Duran wrote:
>
>> The BridgeSupport file should be in a BridgeSupport directory inside the
>> framework
The BridgeSupport file should be in a BridgeSupport directory inside the
framework’s Resources directory. For example, Foundation’s BridgeSupport file
is at:
/System/Library/Frameworks/Foundation.framework/Resources/BridgeSupport/Foundation.bridgesupport
On Nov 17, 2010, at 2:32 PM, Alan Skipp
Regardless of the current state, having a real Protocol class and objects that
you can use to check against should be the goal. Let's discuss this further on
the ticket from now on, for completeness sake.
On Nov 17, 2010, at 12:44 PM, Thibault Martin-Lagardette wrote:
> These structures are cur
;
> Even just comparing it to another protocol object using protocol ==
> Protocol.protocolWithName('...') leads to the same result.
>
> Any ideas as to how this could be made to work?
>
> On Nov 16, 2010, at 19:59 , Eloy Duran wrote:
>
>> I don't have an ex
I don't have an example of a class that uses conformsToProtocol: on the
delegate, so I can't give you a code example, but I would try to override the
conformsToProtocol: class and instance methods and return true for those you
support.
On 15 nov 2010, at 00:15, Martijn Walraven wrote:
> Hi,
>
You can check which macruby version you have, like so:
% macruby -v
MacRuby 0.8 (ruby 1.9.2) [universal-darwin10.0, x86_64]
Also:
* which OS versions do you have?
* did you install the BridgeSupport preview pkg?
Eloy
On 15 nov 2010, at 13:51, András Zalavári wrote:
> (I'm not sure if the previ
Can you provide a code snippet (irb) reproducing the exact problem you are
experiencing?
On Nov 10, 2010, at 5:59 AM, Russ McBride wrote:
>
> Has anyone gotten CorePlot working in a MacRuby app?
>
> http://code.google.com/p/core-plot/
>
> I'm working on re-writing the DatePlot app in
Normally this is not a bug. Most people lazy initialize instance variables, but
you will get warned if you ask it to be more verbose. However, I have been
unable to trigger it on MacRuby myself:
% ruby19 -w -e '!...@foo'
-e:1: warning: instance variable @foo not initialized
% macruby -w -e '!..
1 - 100 of 259 matches
Mail list logo