;> def init_with_options(view, options)
>>>view.initWithFrame options.delete(:frame)
>>> end
>>> end
>>>
>>> Then in your code you can just use it like any HotCocoa mapped class:
>>>
>>> my_new_view :frame => [0,0,10,10]
: blocker | Milestone: MacRuby 0.5
Component: MacRuby |Keywords: hotcocoa
-+--
I've seen people report this error on IRC, so maybe it has been fixed or
reported? Sorry if it has
way
>> to know each methods available and their parameters?
>
> I am afraid HotCocoa is no longer actively developed neither maintained (I
> recommend to avoid using it). The project lives on github now and people
> willing to help should do it there.
>
> http://github.com
going on here?
Cheers,
Isaac
___________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>> but I don't know where I can or should do that, or if I'm even on the
>>>> right track.
>>>>
>>>> Any hint of where I should get started would be appreciated.
>>>>
>>>
>>> I don't think HotCocoa expos
Hello
I just discovered Macruby and Hotcocoa, and I must say that I'm very excited
about it. Hotcocoa is nothing short of amazing and I love the ease with
which you can build a Mac application using Ruby.
The only problem I have though, is that I didn't find a real documentation
showin
udo macgem install hotcocoa
>
> It is recommended that you use MacRuby 0.11, but MacRuby 0.10 should still
> work.
>
> For those of you who don't know, HotCocoa is a MacRuby library that aims to
> simply the creation and configuration of Cocoa objects when creating Mac
> apps.
ecided to continue working
> on it, that's pretty much it. As Laurent said it's opensource, it's on Github
> so if anyone wants to work on it, just fork it!
>
> There was a time when HotCocoa was included in MacRuby, but there's no
ix
>
> 2010/10/2 Laurent Sansonetti :
>> Hi Michael,
>>
>> On Oct 1, 2010, at 7:07 PM, Michael Sokol wrote:
>>
>>> Hello
>>>
>>> I just discovered Macruby and Hotcocoa, and I must say that I'm very
>>> excited about it.
sponse,it just hang there ,and after almost a minute i see the `Hello from
HotCocoa` window
what's my problem ??
I'm using macruby 0.6 and SL 10.6.2
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mail
he past contributors), it is now time for
> a new release of HotCocoa. The best part is that it will be an official
> release, with rubygems and everything!
>
> You can install it from rubygems right now:
>
> sudo macgem install hotcocoa
>
> It is recommended that y
eworks in Cocoa.
If core audio needs to be simplified though a wonderful Ruby API then
it should be done with a wonderful Ruby API, but that is not HotCocoa,
its a core audio MacRuby library. Something that uses HotCocoa could
also use that wonderfully simplified core audio library. To try
new
Priority: minor| Milestone:
Component: MacRuby |Keywords: hotcocoa
-+--
Comment(by r...@…):
:target => self would not work because its the cal
ority: major| Milestone:
Component: MacRuby |Keywords: HotCocoa NSToolbar
-+--
If you have a toolbar and use a mix of default symbols and NSToolbarItems
then the to
gt; Technical editing and writing, programming, system design
> ___________
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
_______
MacRuby-devel
sly involved in the maintenance of the
> > project explain what would be involved in a new set of people
> > maintaining the code base?
>
> The blessed repository is on GitHub [1]. I'm sure Rich would love to accept
> patches for the from anyone who's interested in
I was thinking more in the vein of HotCocoa as a library full of Cocoa
conveniences for MacRuby rather than HotCocoa as an Xcode replacement for app
development. I feel like Rich originally started HotCocoa figuring it would
replace Xcode, but I think that as time has progressed that is maybe a
I'm working on a new HotCocoa sample and I need to subclass NSView to
override drawRect and add few more methods.
I would like to be able to reuse all the goodies from HotCocoa and the view
helper, what's the best way to do that?
-Matt
_______
Mac
Hi
I'm trying macrub & hotcocoa these days, and have a question, when i try
macgem list or macrake (after `hotcocoa hello`),it take so much time to get a
response,it just hang there ,and after almost a minute i see the `Hello from
HotCocoa` window
what's my problem ??
I
I wrote a quick summary a couple of days ago:
http://lists.macosforge.org/pipermail/macruby-devel/2009-May/001825.html
Let me know if you have any questions.
- Matt
On Fri, May 29, 2009 at 10:19 PM, Alex Vollmer wrote:
> Hey folks,
>
> Can anybody speak with some authority on the curr
Hi Jordan,
You should be filing bugs on github:
https://github.com/ferrous26/hotcocoa/issues
I've been able to run my own small apps as well as the example apps, on Lion,
with MacRuby 0.11. But if you log a bug with details then I will be happy to
look at it.
Thanks,
Mark
On
clude the new Rakefile.
>
> The deploy task is just like the build task in that it creates YourApp.app,
> but it additionally copies in the MacRuby framework. This should enable you
> to take that .app and share it with another who does not have MacRuby
> installed.
>
> Be
st are "unknown".
* http://www.macruby.org/trac/wiki/HotCocoaTutorial just
says "TODO".
* "MacRuby: The Definitive Guide" doesn't mention HotCocoa
in the Table of Contents.
If some folks here are using HotCocoa, I'd love to see some
Hi Rich,
Thanks for starting a new thread - I was just getting ready to pollute
the future of MacRuby thread with some more HotCocoa talk :)
Jordan:
"The goal of the project is to simplify the process of creating and
configuring Cocoa objects used when building native Mac apps&q
<http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
#391: HotCocoa on_notification method stopped functioning in MacRuby 0.5 under
Snow Leopard
--+-
Reporter: tre...@… | Owner: lsansone...@…
Type: defect
gt; He wrote some test cases for HotCocoa, namely: mapping_test.rb,
> mappings_test.rb, and plist_test.rb.
> And he also merged and tested Vincent's patch #209.
> http://www.macruby.org/trac/ticket/209
>
> So first, thanks to you both! :)
>
> There are still some problems, whi
| Milestone: MacRuby 0.5
Component: MacRuby |Keywords: hotcocoa crash
+---
Hi There,
Hope all is going well.
When creating a boilerplate hotcocoa project, running macrake builds the
project
y Duran to offer
the same type of experience for MacRuby/HotCocoa.
* Wrap commonly used obj-c libraries and document the process.
As usual, your help would be appreciated.
- Matt
_______
MacRuby-devel mailing list
[email protected]
org/trac/ticket/263>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
279>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
|
---+
Changes (by miskomarti...@…):
* status: closed => reopened
* resolution: fixed =>
Comment:
Hello guys, great work here with macruby/hotcocoa, thank you!
I am still experiencing this issue. I installed MacRuby 0.6
to update your Rakefile in the future. All
new Rakefiles when you execute hotcocoa will include the new
Rakefile.
The deploy task is just like the build task in that it creates
YourApp.app, but it additionally copies in the MacRuby framework.
This should enable you to take that .app and
ntaining the code base?
> >
> > The blessed repository is on GitHub [1]. I'm sure Rich would love to
> accept patches for the from anyone who's interested in working on it.
> >
> > Manfred
> >
> > [1] https://github.com/richkilmer/hotcocoa
> >
f?(String)
>> if @registration == :center
>> width = textwidth(txt)
>> x = x - width / 2
>>y = y + @fsize / 2
>> end
>> CGContextShowTextAtPoint(@ctx, x, y, txt, txt.length)
>>end
>> end
>> end
>>
>&
ant lookup
problem
which was fixed. Or might need more fixing…
Alexander had to add a work around for this as well, see
lib/hotcocoa/object_ext.rb.
The tests in sample-macruby/HotCocoa/graphics/*.rb all have failures.
(Should these be moved to test-macruby/cases/hotcocoa btw?)
The samples h
In the MacRuby tutorial (
http://www.macruby.org/documentation/tutorial.html ) there is a brief
section about Embedding MacRuby in Your Application, and when you use
HotCocoa's macrake deploy, it includes the framework also. However, the
smallest resulting app in MacRuby 0.5/HotCocoa 0.5
#391: HotCocoa on_notification method stopped functioning in MacRuby 0.5 under
Snow Leopard
--+-
Reporter: tre...@… | Owner: lsansone...@…
Type: defect
t creates
YourApp.app, but it additionally copies in the MacRuby framework.
This should enable you to take that .app and share it with another
who does not have MacRuby installed.
Best,
Rich
_______________
MacRuby-devel mailing list
[email protected]
omment:
committed
--
Ticket URL: <http://www.macruby.org/trac/ticket/263#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
g/trac/ticket/277#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
If you go down the road of fixing it, you might want to fork HotCocoa
and/or MacRuby in GitHub.
For HotCocoa, check out the other branches first in the network graph
below to see whether someone already fixed, and if not there then maybe
want to branch off of Rich's version, fix and do a
=> MacRuby 0.4
--
Ticket URL: <http://www.macruby.org/trac/ticket/147#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
ut as a pretty nifty gadget, although I can imagine it's a
>> lot of work to maintain it.
>>
>> /Felix
>>
>> 2010/10/2 Laurent Sansonetti :
>>> Hi Michael,
>>>
>>> On Oct 1, 2010, at 7:07 PM, Michael Sokol wrote:
>>>
>>&g
.include?(m)
+ raise ArgumentError, "Method `#{m}' isn't a KVO array accessor"
+ end
+
+ end
+
+ include c
+end
+
+end
--
1.6.0.2
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
a virus (it
> doesn't replicate, it is just something that freezes your computer). I
> wouldn't call it "Virus" in the gist either, if I were you.
>
> If it is a bug in HotCocoa, than it may be a bug (or at least undesired
> functionality if it freezes your Mac) in Ma
I started a library of convenience wrappers for macruby it's dj2/Bean
on github. Take a look and let me know what you think. Would love to
get more helpers in there.
Dan
On 2011-06-19, at 22:58, Joshua Ballanco wrote:
> I was thinking more in the vein of HotCocoa as a library full
& hotcocoa these days, and have a question, when i try
> macgem list or macrake (after `hotcocoa hello`),it take so much time to get
> a response,it just hang there ,and after almost a minute i see the `Hello
> from HotCocoa` window
>
> what's my proble
icket URL: <http://www.macruby.org/trac/ticket/169#comment:2>
MacRuby <http://macruby.org/>
___________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
eening.
--
Ticket URL: <http://www.macruby.org/trac/ticket/470#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
nstalled.
Best,
Rich
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi,
you must install the latest version of BridgeSupport.
- Petr
On May 22, 2011, at 3:48 PM, Jason Voegele wrote:
> Hi, I'm working on a new MacRuby application, and I'm using the updated
> HotCocoa from this fork: https://github.com/ferrous26/hotcocoa
>
> This versio
fixed
Comment:
committed
--
Ticket URL: <http://www.macruby.org/trac/ticket/261#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
ttp://www.macruby.org/trac/ticket/268>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
.
--
Ticket URL: <http://www.macruby.org/trac/ticket/272>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
ion: => fixed
--
Ticket URL: <http://www.macruby.org/trac/ticket/277#comment:2>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
ion: => fixed
--
Ticket URL: <http://www.macruby.org/trac/ticket/268#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
ion: => fixed
--
Ticket URL: <http://www.macruby.org/trac/ticket/279#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
ket URL: <http://www.macruby.org/trac/ticket/284#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
& Notes — http://alexvollmer.com
Track what you lend and borrow — http://moochbot.com
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
#375: MacRuby 0.5 beta 1 HotCocoa examples seg fault
-+--
Reporter: macr...@…|Owner: lsansone...@…
Type: defect | Status: closed
Priority: blocker
sible to JS
>> wso.setValue(self, forKey:"TheBridge")
>> end
>> win.will_close { exit }
>> end
>> end
>> end
>> end
>> Application.new.start
>>
>> Clicking on "tell" does not work. It seems, that the selector
#375: MacRuby 0.5 beta 1 HotCocoa examples seg fault
-+--
Reporter: macr...@…| Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker
sed
* resolution: => fixed
Comment:
committed
--
Ticket URL: <http://www.macruby.org/trac/ticket/258#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/ma
=> closed
* resolution: => fixed
Comment:
applied, thanks.
--
Ticket URL: <http://www.macruby.org/trac/ticket/271#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://li
URL: <http://www.macruby.org/trac/ticket/273>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
images on
creates.
--
Ticket URL: <http://www.macruby.org/trac/ticket/274>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
omment:
added constant map from this patch
--
Ticket URL: <http://www.macruby.org/trac/ticket/274#comment:8>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/ma
accessing the options.
--
Ticket URL: <http://www.macruby.org/trac/ticket/284>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
=> fixed
Comment:
applied the patch
--
Ticket URL: <http://www.macruby.org/trac/ticket/169#comment:7>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailm
ing.
--
Ticket URL: <http://www.macruby.org/trac/ticket/266#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hello all,
I discovered macruby since a few weeks and I'm really enthusiast.
I begun playing with it and really like the hotcocoa approach, but it seems
stopped since more than a year, is it still maintained ?
Anyway, I think I found a bug in the hotcocoa canvas part: the text method
draws
ich started the project, since it definitely achieves an
admirable degree of brevity over the equivalent ObjC code, but where do you
stop? How will we know when HotCocoa is "done"? :-)
- Jordan
___________
MacRuby-devel mailing list
MacRuby-devel@list
to integrate
>> it with complex views such as NSTableViews).
>>
>> The following article describes how to implement drag and drop in Cocoa:
>>
>>
>> http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/DragandDrop.html
>>
>> It eve
eating a box I don't
really want to see box(:title_position => :above_top, :alternateTitle =>
"blah"). Seems inconsistent to me.
--
Ticket URL: <http://www.macruby.org/trac/ticket/274#comment:2>
MacRuby <http://macruby.org/>
___________
tasks up to date
>> without having to update your Rakefile in the future. All new Rakefiles
>> when you execute hotcocoa will include the new Rakefile.
>>
>> The deploy task is just like the build task in that it creates
>> YourApp.app, but it additionally copies in the MacRuby
Metzger wrote:
> >
> > > Would anyone who was previously involved in the maintenance of the
> > > project explain what would be involved in a new set of people
> > > maintaining the code base?
> >
> > The blessed repository is on GitHub [1]. I
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
&g
e are still some problems, which may or may not be related to
MacRuby itself.
Where they do, they are most probably caused by the constant lookup
problem which was fixed. Or might need more fixing…
Alexander had to add a work around for this as well, see lib/hotcocoa/
object_ext.rb.
The tes
hing meaningful
with CoreData with just a few lines of code? If not, how much is considered
reasonable and why?
3. How will the folks working on HotCocoa know when they're "finished"?
(Related to both #1 and #2).
4. UIKit vs AppKit. Sure, right now only one of them are relevan
e hash parameter
list.
--
Ticket URL: <http://www.macruby.org/trac/ticket/274#comment:4>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
y E. Metzger wrote:
>> >
>> > > Would anyone who was previously involved in the maintenance of the
>> > > project explain what would be involved in a new set of people
>> > > maintaining the code base?
>> >
>
=> closed
* resolution: => fixed
* milestone: => MacRuby 0.6
Comment:
I fixed that problem yesterday night indeed.
--
Ticket URL: <http://www.macruby.org/trac/ticket/581#comment:2>
MacRuby <http://macruby.org/>
___________
MacRu
rk, 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.
>
available tasks.
--
Ticket URL: <http://www.macruby.org/trac/ticket/266>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
n the mapping constructors.
--
Ticket URL: <http://www.macruby.org/trac/ticket/274#comment:7>
MacRuby <http://macruby.org/>
___________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
ich for screening.
--
Ticket URL: <http://www.macruby.org/trac/ticket/278#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
at 1:58 AM, Joshua Ballanco wrote:
> I was thinking more in the vein of HotCocoa as a library full of Cocoa
> conveniences for MacRuby rather than HotCocoa as an Xcode replacement for app
> development. I feel like Rich originally started HotCocoa figuring it would
> replace Xcode, but
ug (or at least undesired
functionality if it freezes your Mac) in MacRuby or OS X, so you might
want to dig deeper and provide more info on version (and where you got
it, since it is in various places in GitHub) of HotCocoa.
Thanks!
Gary
On 3/29/11 5:27 PM, Vincenzo Piombo wrote:
Hi all,
I was
#391: HotCocoa on_notification method stopped functioning in MacRuby 0.5 under
Snow Leopard
--+-
Reporter: tre...@… |Owner: lsansone...@…
Type: defect| Status
drawRect callback for NSView for
example - perhaps to do some animation.
class MyView < NSView
def drawRect(r)
end
end
or, even better in some cases
a = view(:something)
class << a
def drawRect(r)
end
end
-Ben
___
MacRuby-devel mailing list
M
at it will be an official release,
with rubygems and everything!
You can install it from rubygems right now:
sudo macgem install hotcocoa
It is recommended that you use MacRuby 0.11, but MacRuby 0.10 should still
work.
For those of you who don't know, HotCocoa is a MacRuby library
Hi Michael,
Could you try if the webview/js bridge part of the code works, or
doesn't, in a normal MacRuby application? If it doesn't work, please
file a ticket on https://www.macruby.org/trac/newticket. If it does,
then it might be a HotCocoa problem, in which case please file
with changeset:2367
Thanks Rich
--
Ticket URL: <http://www.macruby.org/trac/ticket/316#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo
...@…):
* status: new => closed
* resolution: => fixed
Comment:
Thanks, closing!
--
Ticket URL: <http://www.macruby.org/trac/ticket/316#comment:2>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
to develop
and maintain using MacRuby. The problem here is that that is an extremely broad
goal. Everything that Isaac listed is currently aided by HotCocoa by using
different components of the project.
Some of the components, like the mappings and delegate builder, were designed
together and work
=> MacRuby 1.0
Comment:
The PPC support is not very stable, which could explain why you're
experiencing such problems.
--
Ticket URL: <http://www.macruby.org/trac/ticket/147#comment:2>
MacRuby <http://macruby.org/>
_______
MacRuby-devel
Comment:
Rich, can you look at this?
--
Ticket URL: <http://www.macruby.org/trac/ticket/169#comment:3>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/
fixed
Comment:
committed. should we change data=(value) to data_source=(value) ? just to
align with def data_source; dataSource; end
--
Ticket URL: <http://www.macruby.org/trac/ticket/260#comment:1>
MacRuby <http://macruby.org/>
_______
Mac
fixed
Comment:
added without custom methods since these are given via the new camel case
conversion
--
Ticket URL: <http://www.macruby.org/trac/ticket/272#comment:1>
MacRuby <http://macruby.org/>
_______
MacRuby-devel mailing
101 - 200 of 592 matches
Mail list logo