Mmh I suspect it is the broken strscan.bundle problem again.
What does happen if you type the following from the source directory?
$ /usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new
If you get a segmentation fault, could you attach the crash log from
Console.app?
Thanks,
On Nov 9, 2008, at 2:41 PM, Jordan K. Hubbard wrote:
On Nov 9, 2008, at 11:57 AM, Laurent Sansonetti wrote:
This could potentially be possible, if the objc code runs in the GC
environment. You could load MacRuby.framework from GDB (using
NSBundle), then initialize the runtime ([MacRuby
While I agree that HotCocoa should not aspire to wrap all APIs, I
think that providing a mapping file for NSWorkspace is nevertheless a
good idea.
#workspace could return the shared workspace by default (I'm not even
sure if you can get a different workspace instance) then we could
Building doing rake then sudo rake install should work fine.
Sometimes a bug is introduced in miniruby which results in empty
Makefiles in extensions.
The error in irb you got was due to a bug that I fixed yesterday.
It's the problem you get when using the development branch, it's not
On Dec 3, 2008, at 2:56 AM, Eloy Duran wrote:
On Dec 3, 2008, at 11:26 AM, Laurent Sansonetti wrote:
On Dec 3, 2008, at 2:09 AM, Eloy Duran wrote:
Hi Laurent,
I agree HotCocoa should be covered by tests, at least to catch
regressions.
HotCocoa was initially started as an experiment
On Dec 9, 2008, at 7:18 AM, Matt Mower wrote:
On Mon, Dec 8, 2008 at 10:51 AM, MacRuby ruby-
[EMAIL PROTECTED] wrote:
Replying to [comment:7 [EMAIL PROTECTED]:
Did you verify with {{{otool(1)}}} that your binary links against
the
version of MacRuby inside the bundle?
As far as I
Hi Jim,
Sorry for the late response!
Indeed the best way to make your C API available from MacRuby is to
cover it with a BridgeSupport file and load it, MacRuby will
reconstruct the corresponding API in the Ruby world. BridgeSupport
descriptions are language agnostic and can be loaded in
Hi Jim,
You're probably looking at an old BridgeSupport file. function_retval
and function_arg do not exist anymore since a very long time, and were
replaced by retval and arg.
You should be able to get the latest Foundation bridgesupport file
from here:
This is a GC bug somewhere that I still need to isolate and fix,
however this isn't critical and can be ignored for the moment.
# My guess is that it occurs during parsing.
Laurent
On Dec 29, 2008, at 10:30 AM, Eloy Duran wrote:
Hi,
While porting Rucola to MR, I noticed MR throws warnings
Yes, they will. This is a work in progress, though.
Laurent
On Dec 28, 2008, at 10:35 AM, Brad Hutchins wrote:
What about Ruby Gems? If they are 1.9 compatible. Will they work
on MacRuby?
___
MacRuby-devel mailing list
Dave,
The problem here is that you have a custom readline library in your
system. If you look at the bugs logged in the tracker you will see
some tips to make it work.
# I am considering rewriting the extensions build system to avoid this
kind of problems, but this won't be in 0.4.
Dr Nic,
FYI, if you use trunk, there is an Xcode target that calls
install_name_tool for you. You still have to hack your rb_main.rb file
to change $LOAD_PATH, though. In the case of a HotCocoa application,
everything is done for you once you do macrake deploy.
Laurent
On Jan 25, 2009,
Hi Robert,
This is quite strange!
Could you give us more details regarding your environment (OS version
+ CPU architecture).
Also, does the problem also happen if you do:
$ macruby -e NSBundle.bundleWithPath('/System/Library/Frameworks/
Cocoa.framework').load; p :ok
Or:
$ macruby -e
Hi Robert,
Could you print all environment variables from your shell's instance?
$ env
FYI, the Ruby path ($:) has nothing to do with the Mac OS X framework
path.
Laurent
On Jan 31, 2009, at 5:20 AM, Robert Schaaf wrote:
Josh,
Disk Utility shows only Mac OS Extended (Journaled). I
Hi Barry,
On Feb 4, 2009, at 7:46 PM, Barry Walker wrote:
I'm clearly in over my head here, but I'm hoping macruby can
simplify some complexity.
I've cobbled together an objective c framework with a class that
handles some IO Kit transactions. The framework seems to work with
objective
Thanks for the detective work Scott! Could you create a test case in
test/ruby/test_hash.rb and send us a patch? I would then merge it.
Laurent
On Feb 11, 2009, at 12:11 PM, M. Scott Ford wrote:
And the fix.
Change rb_hash_merge to use rb_obj_dup instead of rb_hash_dup.
On Feb 11, 2009,
That's a pretty good idea. I tried to make the Pointer class as simple
(and stupid) as possible but we might need some convenience APIs on
top of it, for those not familiar with the Objective-C encoding types.
Here is an API proposal based on Brian's snippet... thoughts?
class Pointer
def
Very nice work Matt :)
Is there a way to easily generate a patch against MacRuby trunk
somewhere from your github repository?
Laurent
On Feb 27, 2009, at 3:17 PM, Matt Aimonetti wrote:
And here is a quick video showing the end result:
http://screencast.com/t/5nAHRHQjL
100% Ruby (Well...
Hi Tim and Giampiero,
The roadmap is still pretty well what we would like to achieve, the
only problem is that 0.4 should have been released a few months ago :-
( I changed the wiki page and in theory 0.4 should be out soon, I will
start working on this this week-end.
We need to
Hi,
After several months of development and some slight delays, MacRuby
0.4 is now available. Get it here while it's still hot!
MacRuby is a version of Ruby 1.9, ported to run directly on top of Mac
OS X core technologies such as the Objective-C common runtime and
garbage collector, and the
to do with PPC (if you look at the tracker you should see a
report and how to fix the problem).
Laurent
On Mar 9, 2009, at 12:05 PM, Rich Morin wrote:
On Mon, Mar 9, 2009 at 2:52 PM, Laurent Sansonetti
You can learn more about MacRuby, and download a binary installer,
from the website:
http
Hi Frisco,
I would recommend to follow this tutorial instead, which should be
simpler (since it has pictures :-)).
http://developer.apple.com/mac/articles/scriptingautomation/cocoaappswithmacruby.html
Laurent
On Mon, Mar 16, 2009 at 7:16 AM, Frisco Del Rosario
fri...@laszlomail.com wrote:
The new website will make this kind of contributions easier :-)
Hopefully it should be live this week.
Sent from my iPhone
On Mar 16, 2009, at 12:07 PM, Matt Aimonetti mattaimone...@gmail.com
wrote:
Thanks Stephane I just added the release date, I guess we do need to
clean up this
Hi Martin Brian,
On Mar 17, 2009, at 9:25 PM, Brian Chapados wrote:
I think that if you need to make use extensive use of C
functions/libraries, then the least painful route is to wrap this
functionality in Objective-C classes. Writing Objective-C classes
that call your C code is easier than
Hi guys,
As some of you already noticed we have been working on a branch for a
few weeks and I thought it's now time to describe what has been done
and were we are going exactly.
I wrote a blog entry here:
http://www.macruby.org/blog/2009/03/28/experimental-branch.html
2 big features in
Most likely 0.6, unless someone volunteers to do it now :-)
Laurent
On Mar 28, 2009, at 12:48 PM, Jordan Breeding wrote:
Will OSA support be a 0.5 or a 0.6 task?
On Mar 28, 2009, at 14:37, Laurent Sansonetti
lsansone...@apple.com wrote:
Hi guys,
As some of you already noticed we have
Hello,
I'm curious, how did you manage to build MacRuby with clang? I thought
it did not support C++ yet. Did you use llvm-g++ maybe?
Laurent
On Mar 28, 2009, at 4:45 PM, रजनीश wrote:
Hello,
banchmark is already impressive when compared to 0.4.
I ran the benchmark with:
1. clang -03
Hi Charles,
On Mar 28, 2009, at 9:46 PM, Charles Oliver Nutter wrote:
Laurent Sansonetti wrote:
Hi guys,
As some of you already noticed we have been working on a branch for
a few weeks and I thought it's now time to describe what has been
done and were we are going exactly.
Very cool
On Mar 28, 2009, at 8:09 PM, रजनीश wrote:
Hello,
I'm curious, how did you manage to build MacRuby with clang? I
thought
it did not support C++ yet. Did you use llvm-g++ maybe?
Laurent
I just used g++. I haven't built llvm-gcc. That is too much trouble.
when '.c' then
I get a job immediately after
graduation in August and how busy that keeps me.
On Mar 28, 2009, at 14:56, Laurent Sansonetti
lsansone...@apple.com wrote:
Most likely 0.6, unless someone volunteers to do it now :-)
Laurent
On Mar 28, 2009, at 12:48 PM, Jordan Breeding wrote:
Will OSA
Hi John Edward,
On Mar 30, 2009, at 11:27 AM, John Shea wrote:
Hello Edward,
well since no one else has answered i will speculate a bit (it might
provoke someone wiser).
I assume that the Ruby and the Objective C class are magically married
together perhaps via some sort of proxy class -
On Apr 3, 2009, at 4:25 AM, Frisco Del Rosario wrote:
Brad Wilson:
This is untested, but I'd suggest trying:
def webView(sender, didReceiveTitle:title, forFrame:frame)
sender.window.setTitle(title)
end
FYI, you can also write
sender.window.title = title
As for the method not being
Applied in both trunk and branches/experimental. Thanks for the patch
Jason!
Laurent
On Apr 1, 2009, at 6:26 PM, Jason Morrison wrote:
Attaching patch to chmod 0755 the executables.
On Wed, Apr 1, 2009 at 9:03 PM, Jason Morrison
jason.p.morri...@gmail.com wrote:
Hi MacRuby,
I built
Hi Markus,
On Mar 31, 2009, at 11:29 AM, Markus Werner wrote:
Hello List,
I used the tutorial and tried to put the Macruby.framework into my
Bundle.
The executable already contains the right path to the framework
and I copied the Run Script from Embeded Mac Ruby Target to my
regular
On Apr 4, 2009, at 5:18 PM, Vincent Isambart wrote:
In the comments of Charlie's latest blog post, someone showed their
benchmarks of the 0.5 branch running
tak(). http://blog.headius.com/2009/04/how-jruby-makes-ruby-fast.html#comments
I'd like to do the same but rake isn't giving me a macruby
On Apr 4, 2009, at 7:57 PM, Charles Oliver Nutter wrote:
Laurent Sansonetti wrote:
For instance, the optimizations that are (and will be) implemented
in the experimental branch are not random but were selected after
having profiled a big MacRuby/Cocoa application and found many
areas
Another week, another status update on the experimental branch!
Unfortunately, the work done this week was pretty light.
- More work on IO (IO#readlines, IO#each_byte and IO#each_char).
- A better implementation for catch/throw was added.
- Tail-call elimination was introduced. This
Thanks for the report Rich. I think it's the Proc-leaving-scope bug
Vincent investigated a few days ago, we will fix it.
Laurent
On Apr 15, 2009, at 9:34 AM, Rich Morin wrote:
The download, build, and benchmark runs seem to have gone OK,
but the spec run failed:
Checked out revision
Hi Edward,
Context arguments in Objective-C are generally void pointers, which
makes them hard to use in Ruby. Also, since we run in Objective-C GC
mode, objects could potentially be collected since contexts do not set
up AFAIK write barriers.
I would recommend to set up an instance
Hi Alex,
On Apr 19, 2009, at 9:53 PM, Alex Vollmer wrote:
I have a bit of code that uses the Ruby base64 library and I would
like to package the MacRuby framework into my application. I've
added the Embed MacRuby target to my build and the MacRuby
framework shows up properly in my
Hi Frisco,
On Apr 20, 2009, at 2:24 AM, Frisco Del Rosario wrote:
I used macrake to build Demo.app in Developers/Examples/Ruby/MacRuby/
HotCocoa/demo. After a while, the beachball (it's not a beachball
anymore; what do people call the spinning thing that says your app
is hung?) spun, and I
Hi Alex,
On Apr 26, 2009, at 6:20 PM, Alex Vollmer wrote:
On Apr 26, 2009, at Apr 26, 10:09 AM, rebotfc wrote:
errorp = Pointer.new_with_type(@)
result = NSXMLDocument.alloc.initWithData(data,
options:NSXMLDocumentValidate, error:errorp)
# access error
errorp[0]
Ah cool. Thanks for
On Apr 27, 2009, at 2:23 PM, Brian Marick wrote:
On Apr 26, 2009, at 12:09 PM, rebotfc wrote:
errorp = Pointer.new_with_type(@)
result = NSXMLDocument.alloc.initWithData(data,
options:NSXMLDocumentValidate, error:errorp)
# access error
errorp[0]
So the RubyCocoa style of having
Here is the weekly status update of the experimental branch! I'm sure
you were all expecting it and holding your breath!
- Implemented BridgeSupport constants, in a lazy fashion (the symbol
is retrieved and converted at demand).
- The Pointer class was re-implemented. Same behavior as in
Hi Kevin,
On May 2, 2009, at 6:42 AM, Kevin McGuinness wrote:
Hi,
I'm wondering if it is possible to use the userData field of NSEvent
in
MacRuby. I want to add tracking rectangles to a NSView subclass, and
store
the object that is mouse has entered in the userData field.
Something
, ultimately.
Laurent
Sent from my iPhone
On May 7, 2009, at 2:22 PM, Brian Marick mar...@exampler.com wrote:
On May 7, 2009, at 4:19 PM, Matt Aimonetti wrote:
On May 4, 2009, at 5:35 PM, Laurent Sansonetti wrote:
We can pass more Cocoa examples thanks to that.
I've started translating the examples
Hi Łukasz,
On May 13, 2009, at 11:43 AM, Łukasz Adamczak wrote:
Hi,
After a few days smooth sailing and playing with MacRuby, I just hit
a wall:
How do I invoke something like this in MacRuby:
[[NSAppleEventManager sharedAppleEventManager] setEventHandler:self
Hi Jeremy,
That's a pretty good idea! Could you file a bug on the tracker so that
we do not forget about it?
Thanks,
Laurent
On May 12, 2009, at 10:18 AM, Jeremy Voorhis wrote:
Hello,
I've been learning Cocoa, Objective-C and macruby in tandem and I was
just wondering, are there any
Hi Łukasz,
This mailing-list was usually created for all people developing with
MacRuby, not necessarily people developing MacRuby itself. But I can
understand that the group name is ambiguous.
Just to let everyone know, there is absolutely no problem posting
anything related to MacRuby
Hi Rich,
I forgot to mention that 32-bit support is a bit b0rked for now, which
is probably what's problematic in your case.
Laurent
On May 29, 2009, at 1:59 PM, Rich Morin wrote:
As of revision 1634, my PPC build is still failing in spots.
See http://cfcl.com/rdm/macruby/2009.0529.0500
So, to recap, I think the following contributions will be welcome:
- Maintaining the website (blog, content, etc.) and writing tutorials.
There are lots of very interesting blog posts around that could I
think be transformed into a tutorial or into a recipe (shorter
tutorial). I think we
might help too.
Maybe I'm missing more extensions too. Don't hesitate to correct me.
Laurent
On May 30, 2009, at 1:54 PM, Martin Hess wrote:
Is there a list of which C extensions need to be moved FFI?
On May 29, 2009, at 3:31 PM, Laurent Sansonetti wrote:
So, to recap, I think
Another week, another status update on the experimental branch!
Highlights are:
- A much better Cocoa support. We are almost as stable as trunk, I
think. I was able to run a significant internal MacRuby application
with the experimental branch.
- The project is now able to be installed
On Jun 9, 2009, at 10:59 AM, Jordan K. Hubbard wrote:
On Jun 9, 2009, at 5:57 AM, Rich Morin wrote:
It's also pretty clear that any first-class development language
on Mac OS X, going forward, will have to support this. Ruby has
all sorts of block-based goodness already and Laurent is busily
Hi Scott!
Here is a code snippet that hijacks stdout using an NSPipe. The idea
is to first initialize the MacRuby VM (so that the standard descriptor
objects are created), then use dup2(2), then evaluate your Ruby
expressions.
#import Foundation/Foundation.h
#import MacRuby/MacRuby.h
The problem is that this is not an Xcode template but a skeleton app
(that you're supposed to copy).
If someone is willing to contribute a real Xcode template, then I
would be happy to bundle it.
Laurent
On Jun 17, 2009, at 10:11 AM, Matt Aimonetti wrote:
Thanks Eloy. If anyone can
Hi Conrad,
As Matt suggested, check out the README.rdoc file, which contains
instructions. These should work for 10.6.
If you have any issue let me know privately since 10.6 cannot be
discussed in public.
Good luck!
Laurent
On Wed, Jul 1, 2009 at 8:35 PM, Conrad Taylorconra...@gmail.com
Hi,
Our Rakefile-based system has only been tested with /usr/bin/rake, the
version that ships with Mac OS X and that uses Ruby 1.8.
I did not try with 1.9's rake (though it may perhaps work), and I am
sure that it won't work with macruby's macrake (this explains your
SEGV) for the
was being used during the build MacRuby 0.5. After
deactivating this port, everything is building successfully using
bison 2.3.0 which is the system default.
-Conrad
On Sun, Jul 5, 2009 at 8:19 PM, Laurent Sansonetti lsansone...@apple.com
wrote:
What's the version of your bison?
I am
Hi Mike,
Thanks a lot for the report, I think I fixed the problems in r1998.
Sorry for the inconvenience :-)
Laurent
On Jul 6, 2009, at 3:50 PM, Mike Sassak wrote:
Hello,
I'm trying to build the experimental branch out of SVN, but the rake
extensions task fails at line 320 of
Hi Timothy,
That sounds expected, Rational is not implemented yet in experimental :)
Laurent
On Jul 7, 2009, at 10:13 PM, Timothy Wood wrote:
% macirb
irb: warn: can't alias exit from irb_exit.
irb(main):001:0 require 'date'
NoMethodError: undefined method `Rational:' for Date:Class
This
for the
idea! =)
-tim
On Jul 7, 2009, at 11:59 PM, Matt Aimonetti wrote:
Ruby's DateTime is pretty bad, if you are still using MRI, you
might want to give http://github.com/jeremyevans/third_base/tree/master
a shot.
- Matt
On Tue, Jul 7, 2009 at 11:38 PM, Laurent Sansonetti lsansone
Hi Perry,
Which spec are you talking about specifically?
Laurent
On Jul 9, 2009, at 5:56 AM, Perry Smith wrote:
The spec says that a 'return' from a thread should raise a
LocalJumpError.
Looking at the code for RETURN_NODE in compiler.cpp, the question of
Is this a thread is never
in a Thread
- raises a LocalJumpError if used to exit a threadSEGV recieved in
SEGV handler
unknown: [BUG] Segmentation fault
Perry
Ease Software, Inc. ( http://www.easesoftware.com )
Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX
systems
On Jul 9, 2009, at 2:35 PM, Laurent
I think the plan is to tag these as critical. At least that's what
we have been doing for a while. Eloy might want to confirm this :-)
Laurent
On Jul 9, 2009, at 7:16 PM, Perry Smith wrote:
How do others feel about changing the tags on the tests that get
segv faults to something like
This is a regression introduced by my last commit, I was working on a
fix yesterday but it's not complete yet. I will continue today and
commit later :)
Laurent
On Jul 10, 2009, at 5:40 AM, Perry Smith wrote:
I just did svn update, rake clean, rake and got:
../../miniruby -I../..
in exceptional cases, or in very
explicit use cases like returning from a block (the other return
statements don't use an exception). Also the new runtime in the
upcoming version of Mac OS X seems to be faster.
Laurent
On Jul 9, 2009, at 2:50 PM, Laurent Sansonetti wrote:
I was planning
On Jul 10, 2009, at 12:44 PM, Perry Smith wrote:
On Jul 10, 2009, at 1:58 PM, Laurent Sansonetti wrote:
Indeed, raising an exception is very slow for us since we use C++
exceptions, but it's only used in exceptional cases, or in very
explicit use cases like returning from a block
Another update on the experimental branch!
Highlights are:
- A much better AOT (ahead-of-time) compiler, now available as a
separate command line executable, macrubyc. It can compile some
MacRuby sample code. Details at the very end of this message.
- IB support is back! Once you install
Here is another status update on the experimental branch. I forgot to
send this one earlier, sorry.
Highlights:
- Unicode strings! You can now create strings containing multibyte
characters in your MacRuby programs and apply the String methods on
them (even regular expressions!).
-
I had the exact same thought but I preferred to work on AOT
compilation first. Technically we could implement this idea easily
once the AOT compiler is complete.
Laurent
On Jul 27, 2009, at 2:25 AM, Rich Morin wrote:
This seems like an interesting possibility for MacRuby...
Hi Dan,
Thanks a lot for your patch! I committed it as well as a few
adjustments.
If I remove all tags from the complex and rational specs, we do have
11 failures vs 455 expectations, which is a huge progress!
Might be interesting to investigate these failing specs. I suspect
some of
Hi Tim,
As Matt mentioned on a separate mail, rubygems should be fully
supported (modulo C extensions) in the upcoming release, which should
be out before the end of the year if everything goes well.
I can't pronounce for Rails at this point, but we are approaching it
bit by bit, and we
Welcome back \o/
$ sw_vers
ProductName:Mac OS X
ProductVersion: 10.6
BuildVersion: 10A421a
$ rake spec:ci
(in /Users/lrz/src/macruby-experimental)
./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full
MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
rake aborted!
Command failed with status (): [./mspec/bin/mspec ci -I./lib -B ./
spec/mac...]
END Transcript:
On Sun, Aug 2, 2009 at 12:26 PM, Laurent Sansonetti
Hi Josh,
I'm not super confortable with this patch, because it relies too much
on README.rdoc, if we change it later it might break your change.
Also, I don't like automatic scripts because the user doesn't really
have the opportunity to customize what's happening.
I think the best
Committed in r2203, thanks!
Laurent
On Aug 3, 2009, at 6:54 PM, dan sinclair wrote:
Attached patch ports Integer#ord from Ruby 1.9.
dan
integer_ord.diff
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
Headlines:
- macirb should work as before. The local variable bug has been fixed.
- macrake should work as before. Running HotCocoa projects should
work, you can even build MacRuby with macrake.
- new YAML module, API compatible with syck, was added. It is still
under development, but
Hi John,
What's your environment (OS) and CPU?
Also, could you paste a few more lines? I assume it's failing to link
miniruby here.
Thanks,
Laurent
On Aug 5, 2009, at 1:32 AM, John-Paul Bader wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey guys,
i'm relatively new in the
Hi Conrad,
On Aug 5, 2009, at 2:00 AM, Conrad Taylor wrote:
Laurent
I'm seeing the following warning messages after sudo rake install:
unknown: warning: File::new() does not take block; use File::open()
instead
Sorry about that, I just fixed that in r2219.
Also, running rake spec:ci
On Aug 5, 2009, at 8:41 AM, Eloy Duran wrote:
Hi,
On Aug 5, 2009, at 5:31 PM, Clay Bridges wrote:
The google didn't yield much guidance on this. Before I started a
deep-dive on the MacRuby source, and/or the standard ruby way to
handle this sort of thing, I thought I would ask a couple of
It seems that the following command could be used:
$ sysctl hw.cpu64bit_capable
On my machines (all 64-bit unfortunately) this returns 1. Could one on
32-bit check that it returns 0?
Thanks,
Laurent
On Aug 5, 2009, at 3:29 AM, Eloy Duran wrote:
The latter seems a good option to me, if you
On Aug 4, 2009, at 1:59 PM, Laurent Sansonetti wrote:
I will proceed with the merge tomorrow at 3PM California time
(midnight Amsterdam time, 7AM Tokyo time). Feel free to commit
before, but please hold off your commits at that time :)
OK, I wasn't able to really merge the branch into trunk
, 2009, at 9:57 AM, Conrad Taylor wrote:
On Wed, Aug 5, 2009 at 4:27 PM, Laurent Sansonetti lsansone...@apple.com
wrote:
On Aug 4, 2009, at 1:59 PM, Laurent Sansonetti wrote:
I will proceed with the merge tomorrow at 3PM California time
(midnight Amsterdam time, 7AM Tokyo time). Feel free
The last SVN update is indeed r2272, committed 2009-08-10 10:10:24
-0700 today. The SVN repository is up to date and is the master copy
of the project.
Several people (including me) work a lot offline and commit after, to
not break the main branch. Some of them use git-svn :-)
HTH,
Awesome James!
I just committed it to trunk, in r2282.
Thanks a lot!
Laurent
On Aug 11, 2009, at 11:55 AM, James Granby wrote:
Hi,
I have made a template for NSDocument-based MacRuby applications and
would be very happy for it to be included in the next release, if it
would be helpful.
Sorry for the late response. I merged your patch in r2285.
Thanks a lot :)
Laurent
On Aug 9, 2009, at 8:55 PM, dan sinclair wrote:
Hello,
I started poking at the URI specs to see what I could get working.
The attached patch was required to make the specs run (URI provides
11 arguments
One more question.. are you sure you are on trunk and not on the
experimental branch anymore?
Laurent
On Aug 11, 2009, at 3:16 PM, Laurent Sansonetti wrote:
Did you run `sudo rake install'? I just installed trunk on another
machine and was able to find the template in Xcode (under the User
Hi Eloy,
I would also love to have a ffi-based zlib but we need zlib urgently
for RubyGems and I don't think our FFI implementation will be ready
soon. It is still our objective to finish FFI and maybe we can quickly
rewrite the extension in pure Ruby for the release. The current
On Aug 21, 2009, at 9:33 AM, Clay Bridges wrote:
I'm using MacRuby to test some of my ObjC classes. I was wondering if
there was a canonical way to monkey patch these classes.
Just open them as you would do in Ruby.
Consider, the following where Cell is an ObjC class:
irb(main):001:0
On Aug 21, 2009, at 2:06 PM, Clay Bridges wrote:
Forgive my caveman-programmer terminology, but it seems to overwrite
the class symbol. Extending Laurent's example (kind of):
gort:~ clay$ macruby -e p NSPredicate.object_id; p
NSPredicate.methods(false,true); class NSPredicate; def hey;end; end;
Hi Bruce,
The problem here is that you have a custom version of sqlite3 in /usr/
local, not compiled for both 32-bit and 64-bit architectures, and
picked by the linker since the Foundation system relies on it.
The MacRuby build system looks in /usr/local/lib in priority because
it's where
Hi Alistair,
This is very strange... could you try the following command?
$ macruby -e framework '/System/Library/Frameworks/Cocoa.framework';
p :ok
Also, maybe your filesystem is case sensitive? The default format is
case insensitive, in theory.
Laurent
On Aug 23, 2009, at 8:42 AM,
On Aug 23, 2009, at 8:29 PM, Bruce Hobbs wrote:
At 5:46 PM -0700 8/23/09, Laurent Sansonetti lsansone...@apple.com
wrote:
The problem here is that you have a custom version of sqlite3 in /
usr/
local, not compiled for both 32-bit and 64-bit architectures, and
picked by the linker since
Hi,
Sorry, it looks like the new GCD module was using a legacy API that
disappeared in the public version of Snow Leopard.
I think I fixed the problem in r2427, could you give it a try again?
Thanks,
Laurent
On Aug 29, 2009, at 12:38 AM, John-Paul Bader wrote:
Hey,
I'm a regular trunk
on the blog a step-by-step
description of how to build MacRuby for Snow Leopard. A little hand
holding would be appreciated, since many of us Mac types aren't
really terminal jockeys.
Thanks,
Bob Schaaf
On Aug 29, 2009, at 4:54 AM, Laurent Sansonetti wrote:
Hi,
Sorry, it looks like the new
]
Minnie:~ rwschaaf$ macirb
irb(main):001:0 1 = 1
SyntaxError: (irb):1: syntax error, unexpected '=', expecting $end
1 = 1
^
undefined method `[]' for nil:NilClass (NoMethodError)
Minnie:~ rwschaaf$
Can you reproduce this?
Thanks,
Bob Schaaf
On Aug 29, 2009, at 3:49 PM, Laurent Sansonetti
wrote:
Hi Laurent,
Thanks for the reply. I ran it and got:
~ $ macruby -e framework '/System/Library/Frameworks/
Cocoa.framework'; p :ok
:ok
My filesystem is definitely not case sensitive.
Alistair Holt
2009/8/24 Laurent Sansonetti lsansone...@apple.com
Hi Alistair,
This is very strange
Hi Alexey,
Looks like you found a bug in super :) Would you be willing to
contribute a snippet for test_vm/dispatch.rb? This is where we keep
all these weird cases to make sure we won't forget to fix them.
You can run the test using
$ ruby test_vm.rb --ruby=../miniruby dispatch
And also
Hi Dave,
trunk is the development branch of MacRuby therefore it happens that
sometimes things don't work as expected.
I'm currently working on IO stuff and sockets and I confirm that
macrake is broken because of this (though all the specs pass). If you
go back in time for a few
1 - 100 of 587 matches
Mail list logo