tring("hello")
=> hello{
}
>> str.attribute(NSUnderlineStyleAttributeName, atIndex:0, effectiveRange:range)
=> nil
Cheers.
Watson
> I am trying to implement the following method of NSAttributedString in
> Macruby:
>
> - (id)attribute:(NSString *)attributeName atIndex:(NSUInteger)inde
Hi Gabriel,
MacRuby's classes implementation is based on Objective-C.
Ruby's Object class is alias of Objective-C's NSObject.
So, Ruby classes/methods and objects are Objective-C classes, methods
and objects respectively. The converse is also true.
Objective-C and MacRuby APIs can be interchangea
Hi,
We have known the problem to relate MacRuby.h with Xcode 4.3.3.
- http://lists.macosforge.org/pipermail/macruby-devel/2012-June/008857.html
- https://github.com/MacRuby/MacRuby/issues/107
To avoid this problem, please use Xcode 4.3.2 (or before), or set
framework search path to your project
Hi,
MacRuby does not load `rubygems' automatically.
So, you need 'require "rubygems"' before loading gem which you want.
Please refer to http://macruby.macosforge.org/trac/ticket/855
Thanks
2012/6/12 Jean-Denis MUYS :
> Hi again,
>
> It seems there is some issue with MacRuby installing gems,
Hi,
MacRuby does not support Mountain Lion yet.
Please use MacRuby with Lion or Snow Leopard.
Thanks
2012/6/12 Jean-Denis MUYS :
> Hello,
>
> After installing, in order:
>
> - Xcode 4.3.3 (update of 4.3.2)
> - Xcode 4.5DP1
> - MacRuby 0.12 binary distribution
>
> I create a new MacRuby project
2 à 12:20, Min Soo Kim a écrit :
>
>> Thank you for your efforts, team!
>> We are behind you from all over the world.
>>
>> from Seoul Korea,
>>
>> Min Soo Kim
>>
>> On Jun 11, 2012, at 6:20 PM, Watson wrote:
>>
>>> MacRuby 0.12 is now availabl
MacRuby 0.12 is now available.
What's new in this release (since 0.10):
- Improve stability and compatibility by total 1168 commits
- Changed RUBY_AUTHOR to "The MacRuby Team"
- Add support for XCode 4.3
- Drop support for XCode 4.2 and earlier
- Upgrade to RubyGems 1.8.20
- Upgrade to
Hi,
I think your report is relating with http://www.macruby.org/trac/ticket/1341
Thanks
2012/4/19 Sylvester Keil :
> Dear all,
>
> while debugging performance issues for a gem (bibtex-ruby) I noticed that
> MacRuby's StringScanner implementation creates new Regular Expression objects
> every
I fixed the MacRuby sample.
Please try with
https://github.com/MacRuby/MacRuby/compare/eabb31c507...9539a531a7
I think you will be able to build the MacRuby samples by buildall.rb:
$ ruby buildall.rb ~/tmp
Thanks
2012/4/17 Robert Rice :
> Hi Watson,
>
> The 2012-04-17 nightly fa
ll using Xcode 3.2.4. Does MacRuby now require Xcode 4?
>
> I backed up to the 1/1/2012 nightly. The 2/21/2012 nightly didn't have Xcode
> MacRuby templates.
>
> Thanks,
> Bob Rice
>
>
> On Apr 16, 2012, at 8:04 PM, Watson wrote:
>
>>> - Template and rb_n
> - Template and rb_nibtool was not installed.
I mistook. rb_nibtool was not installed.
If you will install Xcode, you might need to reinstall MacRuby.
2012/4/17 Watson :
> Hi
>
> Hmm, If Xcode was not installed, Installer might show "Installation Failed".
> https://g
Hi
Hmm, If Xcode was not installed, Installer might show "Installation Failed".
https://github.com/MacRuby/MacRuby/blob/master/misc/release/package_script/postinstall#L10
- MacRuby framework was installed in your environment. So, you can use
"macruby" command in Terminal.
- Template and rb_nibtoo
uilt on 10.8, at least.
>>
>> I don't have 10.8, but I heard there are problems with loading up
>> BridgeSupport files.
>>
>> If one of you guys can try to build the code and report the result of
>> your attempt, that would be helpful. If you fear the NDA t
>
>
>
> If there's any way I can help with that, please let me know.
>
>
>
>
> On Thu, Apr 12, 2012 at 7:04 AM, Watson wrote:
>>
>> Hi,
>>
>> We only added the install location to correspond to Xcode 4.3 for
>> template and rb_nibtool
Hi,
We only added the install location to correspond to Xcode 4.3 for
template and rb_nibtool.
I think we did not change template itself.
I had confirmed below combination when we corresponded to Xcode 4.3,
and MacRuby worked to expected.
OS X 10.6.8 + Xcode 3.2.6
OS X 10.6.8 + Xcode 4.2.
uilder uses a modified rake task which conflicted with recent
> changes so it stopped updating automatically. I have fixed the conflict and
> the nightly for the 21st should be up to date.
>
> -Bill
>
> On Feb 21, 2012, at 6:22 AM, Watson wrote:
>
>> Hi,
>>
>
Hi,
I installed Nightly Build (macruby_nightly-2012-02-21.pkg) from
http://www.macruby.org/files/nightlies/
However, It looks like recently commits (since 2012/02/10) is not applied.
$ wget http://www.macruby.org/files/nightlies/macruby_nightly-2012-02-21.pkg
$ sudo installer -pkg macruby_nightly
alled rb_nibtool from Interface Builder.
> why should we move the rb_nibtool?
With Xcode 4.2, rb_nibtool is installed in /Developer/usr/bin.
why should we move the Templetes?
I think it's the same answer about rb_nibtool.
Thanks,
2012/2/18 Sean Mateus :
> Hi Watson,
>
> can you
Hi,
If you want to move MacRuby's Templetes into User folder,
1. create "~/Library/Developer/Xcode/Templates/Application"
2. copy "misc/xcode4-templates/File Templates" and
"misc/xcode4-templates/Project Templates" into above folder.
However, I don't know whether move the rb_nibtool as same way
Hi,
it looks like the variable's scope issue.
I don't know detail why this crash happen yet.
for workaround, you could use variable $array or @array instead of array.
Thanks,
2012/1/13 Alan Skipp :
> I've been continuing with my efforts to implement Fibers using GCD and in the
> process I thi
Hi issac,
I don't understand reason of crashing yet.
However, it seems that MacRuby has been supported blocks as property.
https://gist.github.com/1517083/
Thanks,
2011/12/24 isaac kearse :
> Hi Watson,
>
> Thanks for taking a look!
>
> This is where it crashes in TwUI:
Hi,
Now I have seen your project.
Apparently, it is crashed by lib/views/ExampleTabBar.rb(line:10)
To determine the cause, I need more time.
Thanks,
2011/12/24 isaac kearse :
> I should have also mentioned that I can reproduce this crash on
> MacRuby 0.10, 0.11 and the latest nightly build.
>
like as:
frame = button.frame
frame.size.width = 20
button.setFrame(frame)
If make the badge too, it might easily using the
https://github.com/Perspx/PXSourceList :)
Thanks,
2011/12/13 François Boone :
> Hi,
>
> Thank-you very much Watson for your SourceListViewBased exam
b.com/Watson1978/MacRuby-Samples/tree/master/SourceListViewBased
2011/12/9 François Boone :
> Hi,
>
> With help of Matt and Watson, I have made a tree using Outline View object
> and it works fine.
> Now I would like to go one step further.
>
> I would like to use the Sourc
Hi,
My samples might help you slightly.
- https://github.com/Watson1978/MacRuby-Samples/tree/master/SourceList
- https://github.com/Watson1978/MacRuby-Samples/tree/master/SourceList2
- https://github.com/Watson1978/MacRuby-Samples/tree/master/SourceListBinding
enjoy! :)
2011/11/27 François Bo
Hi
> https://github.com/ferrous26/MacRuby/commit/e4525fc4f9d91ffbad155340b99710e750aef5b7
I merged Mark's patch.
This problem would be fixed with MacRuby nightly build.
Thanks.
2011/10/8 Mark Rada :
> It seems that I lied a little, the commit where I made the change is here:
>
> https://github.
Hi,
Maybe related to http://www.macruby.org/trac/ticket/742.
MacRuby ignore magic-comment, and uses default encoding UTF8.
Thanks.
2011/9/18 Steve Clarke :
> Code
>
>
> ABC='ABC'
> puts "ABC[0] encoding is #{ABC[0].encoding}"
> puts "?\\xff encoding is #{?\xff.encoding}"
>
>
> Output
>
Hi,
I filed this issue as #1383 of ticket.
Thank you.
2011/8/28 Eloy Duran :
> 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.
Hi,
According to the README, please install the LLVM if you will compile
the MacRuby.
https://github.com/MacRuby/MacRuby/blob/master/README.rdoc
Thanks,
2011/7/24 Conrad Taylor :
> Hi, is it necessary to the install llvm-config or llvm if you're using Mac
> OS 10.7 and Xcode 4.1?
> Thanks in adv
I filed a ticket as http://www.macruby.org/trac/ticket/1308
Thank you!
2011年5月29日12:22 Laurent Sansonetti :
> The free function pointer is not honored by MacRuby, yet. But it can
> be done :) Can you file a ticket?
>
> Thanks,
> Laurent
>
> On Sat, May 28, 2011 at 8:07 AM,
Hi,
I think that MacRuby needs to call a deallocating function which specified
with Data_Wrap_Struct() macro.
Thank you.
日付:2011年5月28日土曜日、時刻:23:13、差出人:Guido Soranzio:
> While experimenting with array controllers and NSTableViews, I was facing huge
> memory leaks. I thought the culprits were
Hi,
I committed a patch as
https://github.com/MacRuby/MacRuby/commit/65fee047a678ae8be9124176307969cbb1d57e6d
Thank you for your report! :)
Thanks
2011/4/9 Watson :
> Hi, everyone
>
> I think that we should implement callback functions for
> CRYPTO_set_locking_ca
Hi, everyone
I think that we should implement callback functions for
CRYPTO_set_locking_callback() and CRYPTO_set_id_callback() in
ext/openssl.
see http://www.openssl.org/support/faq.html#PROG1
> Multi-threaded applications must provide two callback functions to OpenSSL by
> calling CRYPTO_set_l
Hi,
I recommend that you would check the trend of the BridgeSupport.
http://www.macruby.org/blog/2010/12/15/bridgesupport-preview2.html
Regards
2011/3/6 Peter Jaros :
> Hey, all.
>
> I'm still seeing this bug in MacRuby 0.8:
>
> http://www.macruby.org/trac/ticket/648
> unrecognized runtime type
next
> end
> ensure
> puts
> end
> foo(nil)
>
> I'll create a ticket for that.
>
> On Jan 28, 2011, at 6:43 PM, Watson wrote:
>
> Hi,
>
> Now, I'm rebuilding all of MacRuby latest.
>
> But, it seems that does not finish forever with following b
Hi,
Now, I'm rebuilding all of MacRuby latest.
But, it seems that does not finish forever with following build log.
snip
./miniruby -I. -I./lib bin/rubyc --internal --arch x86_64 -C
"ext/ripper/lib/ripper/filter.rb" -o
"ext/ripper/lib/ripper/filter.rbo"
./miniruby -I. -I./lib bin/rubyc -
: 13.86sec
user system totalreal
13.79 0.22 14.01 ( 9.271439)
2011/1/22 Laurent Sansonetti :
> Hi Watson,
> This isn't good, rhash_modify() must be very fast, so calling OBJ_FROZEN and
> OBJ_UNTRUSTED is not good there.
> Can we look up
Hi.
I hope that "#763 : HotCocoa does not work with MacRuby Trunk." is
fixed so that works on MacRuby 0.6. :-)
Thank you!
2010/8/24 Laurent Sansonetti :
> On Aug 23, 2010, at 7:20 PM, Laurent Sansonetti wrote:
>> I will go through the tracker and identify release blockers (feel free to
>> reply
Hi.
I use the unit test of Ruby1.9.2 RC1 and test MacRuby itself :D
- http://github.com/Watson1978/test-macruby
- http://github.com/Watson1978/test-macruby/downloads
2010/7/10 Ryan Davis :
> So are you guys not testing your macruby code? I was hoping that the ruby
> community would bring the
Sorry.
Is Intel Core Duo a 32bit arch?
So, please build only 32bit.
Build a LLVM:
$ env UNIVERSAL=1 UNIVERSAL_ARCH="i386"
Build a MacRuby:
$ RC_ARCHS=i386 rake
2010/7/9 Watson :
> It might be good to build only 64bit. :)
>
> Build a LLVM:
> $ env UNIV
le
> or directory)
> make[2]: *** [/Users/below/dev/llvm-trunk/Release/bin/tblgen] Error 1
> make[1]: *** [TableGen/.makeall] Error 2
> make: *** [all] Error 1
>
> OS X 10.6.4, IntelCore Duo ...
>
> Any pointers?
>
> I have repeated the procedure and make sure I follow it
Hi.
Would you install LLVM as following? :D
$ svn co -r 106781 https://llvm.org/svn/llvm-project/llvm/trunk llvm-trunk
$ cd llvm-trunk
$ env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" CC=/usr/bin/gcc
CXX=/usr/bin/g++ ./configure --enable-bindings=none --enable-optimized
--with-llvmgccdir=/tmp
Hi.
Do you mean that it is a problem to use a MainThread?
I post a patch that do not use a MainThread.
Please check it.
Thank you!
timeout.rb.diff
Description: Binary data
On 2010/07/01, at 10:07, MacRuby wrote:
#768: Timeout is broken. It seems MacRuby does not dispatch the
Thread.
t
On Jun 28, 2010, at 5:16 PM, Watson wrote:
Hi, Laurent.
I watched a similar error message that I reported an issue:
https://www.macruby.org/trac/ticket/763
Thank you for your reply.
On 2010/06/29, at 9:00, Laurent Sansonetti wrote:
I found a better reduction:
$ VM_VERIFY_IR=1 arch
at 4:29 PM, Watson wrote:
Hi.
I will try on a better environment tomorrow. Could you give us the
crash report of miniruby? (It should be somewhere in ~/Library/
Logs/CrashReporter).
I send a crash report.
Thank you.
2010/6/28 Laurent Sansonetti :
Hi,
I tried running extconf.rb with 32-bit mi
quire './extconf.rb'"
> creating Makefile
> $
>
> I will try on a better environment tomorrow. Could you give us the crash
> report of miniruby? (It should be somewhere in ~/Library/Logs/CrashReporter).
>
> Laurent
>
> On Jun 27, 2010, at 11:01 AM, Watson
A build error occurs when I specified i386 arch only.
x86_64 arch only or Universal Binary build succeeded.
$ RC_ARCHS=i386 rake jobs=2
--- snip ---
./miniruby -I. -I./lib bin/rubyc --internal --arch i386 -C
"ext/ripper/lib/ripper/sexp.rb" -o "ext/ripper/lib/ripper/sexp.rbo"
./miniruby -I. -I./li
Thank you for your quick reply.
I found out that this problem is fixed.
Thank you!
2010/6/17 Laurent Sansonetti :
> Sorry about that... can you retry with r4232 ?
>
> Thanks,
> Laurent
>
> On Jun 16, 2010, at 3:37 PM, Watson wrote:
>
>> The error occurred when
The error occurred when I builded the MacRuby r4229.
Please fix a this error.
$ RC_ARCHS=x86_64 rake jobs=2 2>&1 | tee build_log.txt
$ cat build_log.txt
--- snip ---
/usr/bin/gcc-4.2 -std=c99 -I. -I./include -arch x86_64 -fno-common
-pipe -g -Wall -fexceptions -O3 -Wno-deprecated-d
49 matches
Mail list logo