From lists at ruby-forum.com Thu Sep 1 12:39:50 2011 From: lists at ruby-forum.com (7stud --) Date: Thu, 01 Sep 2011 18:39:50 +0200 Subject: [wxruby-users] wxRuby wiki has been vandalized Message-ID: <23e3b103571828a373b82507e675accd@ruby-forum.com> http://wxruby.rubyforge.org/wiki/wiki.pl Is there any way to restore it? -- Posted via http://www.ruby-forum.com/. From sutniuq at gmx.net Thu Sep 1 13:54:48 2011 From: sutniuq at gmx.net (Quintus) Date: Thu, 01 Sep 2011 19:54:48 +0200 Subject: [wxruby-users] wxRuby wiki has been vandalized In-Reply-To: <23e3b103571828a373b82507e675accd@ruby-forum.com> References: <23e3b103571828a373b82507e675accd@ruby-forum.com> Message-ID: <4E5FC6E8.8000202@gmx.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 01.09.2011 18:39, schrieb 7stud --: > http://wxruby.rubyforge.org/wiki/wiki.pl > > Is there any way to restore it? > Sorry, I'm not sure what you mean. To me the site looks just fine (albeit being a bit outdated as wxRuby currently makes no releases*). Vale, Marvin *To quote one of the wxRuby devs (Alex Fenton I think): "Hibernation". -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOX8bdAAoJELh1XLHFkqhaVJEH/Rko5xnQaG2FwWruDbtQwqXw gIfuMy81PugNv8Po9yngmWtEBCnVhIoVwSPt9ijTEIcxRVUTUCGn6a874+3wjQD5 AyPRjTNAqArKYD/1EJPcjkFsiraRidWcm5foz8o5Ry2igStLi12hbHiCQzv88khw V8fSZEq5fxDWgu0irJXBuchOlsN64sbgH4SYCxlSJMKrhpBk6CLPxKNh961T6A9s tNvaqmdxu+NRVCVsUlkGCE1S08XT1DJBeOjpe6yQnM3mhfE6LdWyp7Z/38+8xj3F 7AH3NnxTeZQ+U6+z6wKWdv2lLKLerQEJXQAj1NMDZ5bUv0p5kFTlQYa9oyjOroU= =a84x -----END PGP SIGNATURE----- From wruyahoo05 at comcast.net Thu Sep 1 15:59:24 2011 From: wruyahoo05 at comcast.net (William Rutiser) Date: Thu, 01 Sep 2011 15:59:24 -0400 Subject: [wxruby-users] wxRuby wiki has been vandalized In-Reply-To: <4E5FC6E8.8000202@gmx.net> References: <23e3b103571828a373b82507e675accd@ruby-forum.com> <4E5FC6E8.8000202@gmx.net> Message-ID: <4E5FE41C.10406@comcast.net> On 2011-09-01 1:54 PM, Quintus wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Am 01.09.2011 18:39, schrieb 7stud --: >> http://wxruby.rubyforge.org/wiki/wiki.pl >> >> Is there any way to restore it? >> > Sorry, I'm not sure what you mean. To me the site looks just fine > (albeit being a bit outdated as wxRuby currently makes no releases*). > > Vale, > Marvin > > *To quote one of the wxRuby devs (Alex Fenton I think): "Hibernation". Quite a few pages have been changed. The perps replaced the text of the page with a line or two. You can find these by looking at "recent changes" for the last 90 days. They can be fixed by identifying a page's last revision the vandalism, editing that revision, then saving it. -- Bill From lists at ruby-forum.com Thu Sep 1 16:29:46 2011 From: lists at ruby-forum.com (7stud --) Date: Thu, 01 Sep 2011 22:29:46 +0200 Subject: [wxruby-users] wxRuby wiki has been vandalized In-Reply-To: <4E5FC6E8.8000202@gmx.net> References: <23e3b103571828a373b82507e675accd@ruby-forum.com> <4E5FC6E8.8000202@gmx.net> Message-ID: Marvin G?lker wrote in post #1019642: > > Sorry, I'm not sure what you mean. To me the site looks just fine > (albeit being a bit outdated as wxRuby currently makes no releases*). > The three links I posted are to pages with one line on them, e.g: Furrelaz? That's marvelously good to know. Those pages used to provide valuable information. -- Posted via http://www.ruby-forum.com/. From sutniuq at gmx.net Thu Sep 1 17:41:48 2011 From: sutniuq at gmx.net (Quintus) Date: Thu, 01 Sep 2011 23:41:48 +0200 Subject: [wxruby-users] wxRuby wiki has been vandalized In-Reply-To: References: <23e3b103571828a373b82507e675accd@ruby-forum.com> <4E5FC6E8.8000202@gmx.net> Message-ID: <4E5FFC1C.20202@gmx.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 01.09.2011 22:29, schrieb 7stud --: > Marvin G?lker wrote in post #1019642: > >> >> Sorry, I'm not sure what you mean. To me the site looks just >> fine (albeit being a bit outdated as wxRuby currently makes no >> releases*). >> > > The three links I posted are to pages with one line on them, e.g: Maybe my email program swallowed your links? I just see you posted a sole and single link. Here's a full quote of the message I received: ===================================================== > http://wxruby.rubyforge.org/wiki/wiki.pl > > Is there any way to restore it? > > -- Posted via http://www.ruby-forum.com/. > _______________________________________________ wxruby-users > mailing list wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo /wxruby-users ===================================================== > Quite a few pages have been changed. The perps replaced the text > of the page with a line or two. You can find these by looking at > "recent changes" for the last 90 days. I didn't look at the "Recent changes" page... Sorry for the noise. Vale, Marvin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOX/wOAAoJELh1XLHFkqhaAAwH/0g3oxTKjA+AxNf9TDCXMuPk Nzrp3qD9iK8k9Mw9mcG+M3ADDC7Etm1mDc2/Eq6s98vowT3PqYVOSHrzjx0KVIOo URcBH4BWVgY7vh+Yenio1CrCm74wm1uTdvDOIyPuN174pYM8gLjOeeqQ/RWDLsj1 Pp6NQ3WswjEaMv2wGTj2ijcxNFsUrTwvZLsxsEJxH/9HmGoCLhvobmtnv70FRe3O qbr+7jrDME+t7vTPSpqedKhkxlOCW92kQIIhkHdfj+CoDmIkuBTPa12CLkYrs+/R l/6SQI7UcRgb1gsLx9ANirZfbffBt7EB1MmhoBRnTeCJprd5jTC8BOnUuvKKua0= =TcYq -----END PGP SIGNATURE----- From sutniuq at gmx.net Sat Sep 3 16:04:22 2011 From: sutniuq at gmx.net (Quintus) Date: Sat, 03 Sep 2011 22:04:22 +0200 Subject: [wxruby-users] [patch] Rakefile made ready for Psych Message-ID: <4E628846.9080801@gmx.net> Hi there, I don't know wheather any of the wxRuby devs has tried to compile wxRuby on Ruby 1.9 with Psych enabled (Ruby's new YAML parser automatically used by RubyGems if available--Psych is available if libyaml was available when Ruby was compiled. Note this is NOT the case for most packaged Rubies (Ubuntu/Debian/Arch Linux for sure) for whatever reason). If you do $ rake wxRuby compiles just fine, but $ rake gem --trace gives you a wonderful backtrace you may have a look at here: http://pastie.org/2477361 To correct this, you just need to apply this patch against 2.0.1's rakefile. ============================================= --- rakefile.old 2011-09-03 21:30:22.495623323 +0200 +++ rakefile 2011-09-03 22:01:03.332381015 +0200 @@ -2,6 +2,12 @@ # Copyright 2004-2008 by wxRuby development team # Released under the MIT-style wxruby2 license +begin + require "psych" +rescue LoadError +end +require "yaml" + # Influential environment variables # WXRUBY_RELEASE : build a release version, stripped of debugging info # WXRUBY_DEBUG : build a debug version ============================================= Another question: Will there ever be a precompiled 64-bit version of wxRuby 2.0.1 for Linux? I can provide one, but I don't have the rights to push it to rubygems.org making it available for direct installation. Tell me where to put it, and you can download it and push it where it ought to be. Valete, Marvin From alex at pressure.to Tue Sep 6 13:04:46 2011 From: alex at pressure.to (Alex Fenton) Date: Tue, 06 Sep 2011 18:04:46 +0100 Subject: [wxruby-users] [patch] Rakefile made ready for Psych In-Reply-To: <4E628846.9080801@gmx.net> References: <4E628846.9080801@gmx.net> Message-ID: <4E6652AE.1040905@pressure.to> Hi On 03/09/2011 21:04, Quintus wrote: > I don't know wheather any of the wxRuby devs has tried to compile > wxRuby on Ruby 1.9 with Psych enabled (Ruby's new YAML parser > automatically used by RubyGems if available--Psych is available if > libyaml was available when Ruby was compiled. Note this is NOT the > case for most packaged Rubies (Ubuntu/Debian/Arch Linux for sure) for > whatever reason). If you do > > $ rake > > wxRuby compiles just fine, but > > $ rake gem --trace > > gives you a wonderful backtrace you may have a look at here: > http://pastie.org/2477361 Thanks very much for the report and patch. I've been using distro linux so hadn't come across it. Can the change be applied somewhere later, and nearer to the bug it tickles, instead of at the head of the main rakefile? For example, could it go at the start of rake/rakepackage.rb, before the requires there, since it seems to relate to gem tasks? Also, can it have a one-line comment note of the bug it fixes please, and the Ruby version affected? > Another question: Will there ever be a precompiled 64-bit version of > wxRuby 2.0.1 for Linux? I can provide one, but I don't have the rights > to push it to rubygems.org making it available for direct > installation. Tell me where to put it, and you can download it and > push it where it ought to be. Would be happy to accept and upload a 64-bit version, thank you. Please drop me a line off-list. alex From sutniuq at gmx.net Tue Sep 6 14:00:28 2011 From: sutniuq at gmx.net (Quintus) Date: Tue, 06 Sep 2011 20:00:28 +0200 Subject: [wxruby-users] [patch] Rakefile made ready for Psych In-Reply-To: <4E6652AE.1040905@pressure.to> References: <4E628846.9080801@gmx.net> <4E6652AE.1040905@pressure.to> Message-ID: <4E665FBC.1060200@gmx.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 06.09.2011 19:04, schrieb Alex Fenton: > Can the change be applied somewhere later, and nearer to the bug > it tickles, instead of at the head of the main rakefile? For > example, could it go at the start of rake/rakepackage.rb, before > the requires there, since it seems to relate to gem tasks? I'll try, but the problem is that it must come before any attempt to require yaml.rb, because otherwise Syck is already loaded. I'll post again when I know more. > Also, can it have a one-line comment note of the bug it fixes > please, and the Ruby version affected? Of course it can^^. And just for the record, I've experienced the problem with ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] Vale, Marvin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOZl+4AAoJELh1XLHFkqhaLQoIAJLg3bY8SK4Zy0T9uhwtrf8Y xed7Y4tDih2MiCtwqv3KMZL6411XXY0I8CZAh4yA+Z+UOFT39f2W3Y7vtqUlAJc8 qcTA2DfxNfh/VXXy4DkAUhbkd0bOFdBFzOGuWDGQPcDjjtA3L0vxEDtluutJUWuX KvG4e1N6I3JMK9OZJZ9yurByD2Zlv67W5Bx3AXD99jc5vEHA2a9Lvy+7dtP/iRVw x1ZeqETaY120bIxDZtUw4uieLYf6t+kgeMm2u2lMYRN446f2W5RrndDMlGwK7mSF 0zZSd57nv2NbHbDmZUWHNSVcIc6d7ktN28ubODIzKM5m9AuZmzeGwD6irjMVJyM= =mu5s -----END PGP SIGNATURE----- From lists at ruby-forum.com Mon Sep 12 18:06:53 2011 From: lists at ruby-forum.com (Tony Meier) Date: Tue, 13 Sep 2011 00:06:53 +0200 Subject: [wxruby-users] Reproducable FileDialog crashes on Win In-Reply-To: References: <243be0804da6eef0c16e7fadf97a2bd6@ruby-forum.com> <550018326e7b271022c76423f4924730@ruby-forum.com> Message-ID: <8f8667d8d965ebae3fb8918f0d2a2b53@ruby-forum.com> Hey Mario, appreciate your answer. I'm well aware of green vs. native threads. Of course I tried blocking the worker threads, just that isn't always easy when you're communicating with outboard equipment as I do. Plus: A file dialog shouldn't really cause any access to shared variables either. I tried switching to 1.9 (after I spent a while getting it to run) but the result was pretty much the same. It's sad, having spent over a year into this. But I'm giving up. Some (hopefully constructive) feedback on my collected experiences will follow in another thread. Thanks again for taking your time to answer me. T -- Posted via http://www.ruby-forum.com/. From lists at ruby-forum.com Mon Sep 12 18:25:41 2011 From: lists at ruby-forum.com (Tony Meier) Date: Tue, 13 Sep 2011 00:25:41 +0200 Subject: [wxruby-users] wxruby is dead? In-Reply-To: <93bd3b430de4f0be66b323fd601da903@ruby-forum.com> References: <93bd3b430de4f0be66b323fd601da903@ruby-forum.com> Message-ID: I'm sure that some people invested a lot of work into wxRuby and I appreciate that a lot. After having invested a lot of time into wxRuby (as a user) over the past 1.5 years, I can say that I believe I have an insight about what works and what doesn't. So is wxRuby dead? I don't think that question is relevant. The code certainly runs, there's a number of ports and when it works, it works fine (at least on win and linux, there are a number of flakes and differences with OSX) Should it be used for new projects? As long as they're not supposed to run on OSX, maybe. Is the documentation complete and up to date? no. If you're not up to checking the wxwidget docs and then looking at the port source to wxruby, I would strongly discourage from starting a new project with wxruby. there are enormous gaps in the documentation. Is it bugfree to an acceptable degree? I had no problems in single-threaded designs. Everything that involved a second thread (be it 1.8 or 1.9) was a disaster. And yes, I know the ins and outs of MT programming, I've been making my a C/C++ dev for embedded MT systems for 10+ years now. Is there an active community? no. this is the only forum I found on the web. no offense, but it's anything but active. Is it being maintained or are reported bugs being fixed? no. Over two years, I have not seen a single update or bug fix. wxRuby is a nice toy. Don't expect it to be anything else. -- Posted via http://www.ruby-forum.com/. From sutniuq at gmx.net Tue Sep 13 04:23:31 2011 From: sutniuq at gmx.net (Quintus) Date: Tue, 13 Sep 2011 10:23:31 +0200 Subject: [wxruby-users] wxruby is dead? In-Reply-To: References: <93bd3b430de4f0be66b323fd601da903@ruby-forum.com> Message-ID: <4E6F1303.9030002@gmx.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 13.09.2011 00:25, schrieb Tony Meier: > Is the documentation complete and up to date? no. If you're not up > to checking the wxwidget docs and then looking at the port source > to wxruby, I would strongly discourage from starting a new project > with wxruby. there are enormous gaps in the documentation. I'm sure the wxRuby devs appreciate each and every documentation patch. The docs are written in Textile and the textile files are included in the wxRuby source tarball, so there shouldn't be a problem. > Is it bugfree to an acceptable degree? I had no problems in > single-threaded designs. Everything that involved a second thread > (be it 1.8 or 1.9) was a disaster. And yes, I know the ins and outs > of MT programming, I've been making my a C/C++ dev for embedded MT > systems for 10+ years now. I absolutely agree with the multi-threading problem in wxRuby. Threads, be it 1.8's green threads or 1.9's native threads, are a pain in wxRuby. I learned how to manage multi-process programs due to this, but that has the mayor drawback of not working properly on Windows (although *this* is not a wxRuby problem, but a general Ruby one). > Is there an active community? no. this is the only forum I found on > the web. no offense, but it's anything but active. It could be more, indeed. > Is it being maintained or are reported bugs being fixed? no. Over > two years, I have not seen a single update or bug fix. There haven't been releases, that is true. But there *have* been some commits in the SVN trunk (check my post on Ruby-Talk relating to that), and they have been this year. > wxRuby is a nice toy. Don't expect it to be anything else. wxRuby is one of the last useful GUI toolkits for Ruby. There are others, sure, but from what I hear from others is this: * FxRuby is dead. * Tk is hardly usable, and looks as if it came right from the stone age. * Ruby-Gtk is unusable as well and not documented. * Shooes doesn't fit well for bigger applications and comes with it's own Ruby. * Some other GUI toolkits are platform-specific. So, probably the only other considerable GUI toolkit is QtRuby. If wxRuby isn't going to be a bit more active, I may look into that. Vale, Marvin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJObxL9AAoJELh1XLHFkqha6+oH/0cofyQYQyo92hkGcRtPvBoK P5dteP2ou9TwdMkoKiaP0kSA/0h3sdSP4pPU6RATAGqYFB8nqH/SgmTKuRC+vyxQ orbI8Zw3mrGC6UUXA6dsez4E2H0aQIpnU7XkuchDNb0UN112/9PLs/HHVvRvsJ/F ZHUQffIvRfcLDM0E6a7AfUXmNtU6FYHvs1IhLHqHxYaNgomsm6D2AB6YYnRtLeyB L2J4c2dq5MdUFJ+D55TtTBSgqeG29+pOCWy/biU7uUxelloNYRo5syjbs1GcBK/F /L2Su/kFTTumlnQfmoyH/7CwurIR0MCnGJ36HVXQLmfrFmmjLp7KOUT3jflIxJw= =J1QS -----END PGP SIGNATURE----- From lists at ruby-forum.com Tue Sep 13 20:34:58 2011 From: lists at ruby-forum.com (thiess cunningham) Date: Wed, 14 Sep 2011 02:34:58 +0200 Subject: [wxruby-users] ruby to solve a physics question Message-ID: <8a7cbe3ae734ed9067280f2963dbe744@ruby-forum.com> I am trying to solve one of my graduate level physics problems with ruby... Here is what I have so far... a6=0.0 for n1 in -10..10 for n2 in -10..10 for n3 in -10..10 if n1!=0 and n2!=0 and n3!=0 p=Math.sqrt(n1**2+n2**2+n3**2+n1*n2/1.414+n1*n3/1.41+n2*n3/1.414) a6+=(1/p)**6 end end end end puts a6 What I've got here is a 10x10x10 face-centered cubic lattice of atoms. What I want to do is find this constant a6= sum(1/Pij)**6. From a starting point I want the distance to every other atom location point in the structure, meanwhile inversing and power to the sixth each distance. Then I want to add all those up. This should return 14.4???? -- Posted via http://www.ruby-forum.com/. From sutniuq at gmx.net Wed Sep 14 13:29:09 2011 From: sutniuq at gmx.net (Quintus) Date: Wed, 14 Sep 2011 19:29:09 +0200 Subject: [wxruby-users] ruby to solve a physics question In-Reply-To: <8a7cbe3ae734ed9067280f2963dbe744@ruby-forum.com> References: <8a7cbe3ae734ed9067280f2963dbe744@ruby-forum.com> Message-ID: <4E70E465.8060801@gmx.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 14.09.2011 02:34, schrieb thiess cunningham: > I am trying to solve one of my graduate level physics problems > with ruby... Hi thiess, this is the wxRuby mailinglist, related to the wxRuby GUI toolkit. Your question should better be served on ruby-talk. Go to http://www.ruby-forum.com/forum/ruby for posting there. > Here is what I have so far... > > a6=0.0 for n1 in -10..10 for n2 in -10..10 for n3 in -10..10 if > n1!=0 and n2!=0 and n3!=0 > p=Math.sqrt(n1**2+n2**2+n3**2+n1*n2/1.414+n1*n3/1.41+n2*n3/1.414) > a6+=(1/p)**6 end end end end puts a6 > > What I've got here is a 10x10x10 face-centered cubic lattice of > atoms. What I want to do is find this constant a6= sum(1/Pij)**6. > From a starting point I want the distance to every other atom > location point in the structure, meanwhile inversing and power to > the sixth each distance. Then I want to add all those up. This > should return 14.4???? > I'm by no means someone who has any knowledge on how atom physics work, but a few notes on your code: * Don't use "for" in Ruby. There's the #each method that is the correct idiom for this. And four your specific case you should use: -10.upto(10) do |nx| ... end * The test against zero can be made much more readable with the Methods Integer#zero? and Integer#nonzero? * I'm not willing to dig into the giant term you pass to Math.sqrt. - From a first glance, you might want to have a look at the Enumerable#inject method, which you can use to easily sum up things that are computed the same way. * Be aware that doing math with floating-point numbers is always dangerous as they're not exact. The further you continue to compute with floating-point results you got, the more unprecise your final result will be. If I remember correctly, this is the industry standard to blame for this: http://en.wikipedia.org/wiki/IEEE_754-2008 As I noted before, post your question to ruby-talk. It's not related to wxRuby in any way. Vale, Marvin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOcORYAAoJELh1XLHFkqha3YgH/jv4i6v+5tLR/xdhN/LCMBeD iHyDj6/Qsrq7r7Xg8J1GeiuXpdZzk3GlkjlJTCJ1+4mgP+zsHW+G4XwlMwvQCX69 88tfeeOAV1KxyOcAbU6CQkD/1O6HTV5/CP0EwJOPN+kZEDnQSVXoax0chykstNLS EBvwbkjLaopfz5Hc5kXpsWFIeuMRO4OhW9eftmWm15zTjoscUOUcrAB+r8QUCeMq jzqod7vbxrk9lw6PE5e2TqQmPuD+haAOdsM3R9/FqKA5I4tLxXaxymlUme/aOAL2 kMB8t8huHOWEW0OdzhdCCAHT7UY13IGgiNXDpXF1WOhFo6re00if13oxaQ9kNsU= =mrX6 -----END PGP SIGNATURE----- From lists at ruby-forum.com Fri Sep 23 15:27:11 2011 From: lists at ruby-forum.com (Chase Wilson) Date: Fri, 23 Sep 2011 21:27:11 +0200 Subject: [wxruby-users] Ruby 1.8.6 Wxruby and Mac Message-ID: <12c510d10ddedee699a4d83d677c1ac8@ruby-forum.com> Hi, I'm trying to figure out how to get my application to work on a mac, but I can't seem to get passed the part of requiring the wxruby gem. For the hell of it, I tried running the application on 1.8.7 and the gem loads correctly, but some things don't work in this version (as expected). When trying to run this application in 1.8.6 I tried running it with the same command which worked in 1.8.7 which was: arch -i386 ruby -rubygems main.rb This didn't work, I got an error: BAD CPU TYPE The next command I tried was: arch -i386 -x86_64 ruby -rubygems main.rb That didn't work either and I get a lovely, LoadError , "No suitable image found." Any help with this would be greatly appreciated =) -- Posted via http://www.ruby-forum.com/. From lists at ruby-forum.com Fri Sep 23 15:30:21 2011 From: lists at ruby-forum.com (Chase Wilson) Date: Fri, 23 Sep 2011 21:30:21 +0200 Subject: [wxruby-users] Ruby 1.8.6 Wxruby and Mac In-Reply-To: <12c510d10ddedee699a4d83d677c1ac8@ruby-forum.com> References: <12c510d10ddedee699a4d83d677c1ac8@ruby-forum.com> Message-ID: Also some details: I'm using 2.01 wxruby and I've gotten this same issue on both Mac OS X 10.6.6 Snow Leopard and 10.7 lion. -- Posted via http://www.ruby-forum.com/. From lists at ruby-forum.com Sun Sep 25 21:06:12 2011 From: lists at ruby-forum.com (Chase Wilson) Date: Mon, 26 Sep 2011 03:06:12 +0200 Subject: [wxruby-users] Ruby 1.8.6 Wxruby and Mac In-Reply-To: <12c510d10ddedee699a4d83d677c1ac8@ruby-forum.com> References: <12c510d10ddedee699a4d83d677c1ac8@ruby-forum.com> Message-ID: So tried compiling my own version of wxruby, by following the instructions here: http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource but now running into problems when I run rake on wxruby-2.0.1 lipo: can't open input file: /var/folders/00/0045uWgZFUaHAhYRvxnpzE+++TI/-Tmp-//cccKenmu.out (No such file or directory) rake aborted! Command failed with status (1): -- Posted via http://www.ruby-forum.com/. From lists at ruby-forum.com Mon Sep 26 17:11:56 2011 From: lists at ruby-forum.com (Fred Kohler) Date: Mon, 26 Sep 2011 23:11:56 +0200 Subject: [wxruby-users] Ruby 1.8.6 Wxruby and Mac In-Reply-To: References: <12c510d10ddedee699a4d83d677c1ac8@ruby-forum.com> Message-ID: <251ee535d6e25b30589c10f704525c6b@ruby-forum.com> Chase Wilson wrote in post #1023716: > So tried compiling my own version of wxruby, by following the > instructions here: > http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource > > but now running into problems when I run rake on wxruby-2.0.1 > > lipo: can't open input file: > /var/folders/00/0045uWgZFUaHAhYRvxnpzE+++TI/-Tmp-//cccKenmu.out (No such > file or directory) > rake aborted! > Command failed with status (1): Unfortunately wxRuby and 64 bit Mac OS X don't work well together. See here: http://www.ruby-forum.com/topic/1745353 -- Posted via http://www.ruby-forum.com/. From mail at simonszu.de Tue Sep 27 11:47:40 2011 From: mail at simonszu.de (Simon Szustkowski) Date: Tue, 27 Sep 2011 17:47:40 +0200 Subject: [wxruby-users] Expanding a Button in a GridSizer vertically Message-ID: <7FC7BD28-1A39-4615-AC8D-0B681A8F5FAC@simonszu.de> Hi there, when adding a Button to a GridSizer cell, i can expand it with the EXPAND flag horizontally. But how can i expand it vertically, so that it will fill the whole cell? Thank you, Simon -------------- n?chster Teil -------------- Ein Dateianhang mit Bin?rdaten wurde abgetrennt... Dateiname : smime.p7s Dateityp : application/pkcs7-signature Dateigr??e : 4221 bytes Beschreibung: nicht verf?gbar URL : From sutniuq at gmx.net Tue Sep 27 12:55:56 2011 From: sutniuq at gmx.net (Quintus) Date: Tue, 27 Sep 2011 18:55:56 +0200 Subject: [wxruby-users] Expanding a Button in a GridSizer vertically In-Reply-To: <7FC7BD28-1A39-4615-AC8D-0B681A8F5FAC@simonszu.de> References: <7FC7BD28-1A39-4615-AC8D-0B681A8F5FAC@simonszu.de> Message-ID: <4E82001C.8030303@gmx.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 27.09.2011 17:47, schrieb Simon Szustkowski: > Hi there, Hi Simon, > when adding a Button to a GridSizer cell, i can expand it with the > EXPAND flag horizontally. But how can i expand it vertically, so > that it will fill the whole cell? Although I didn't use GridSizer yet, I suspect you'are looking for the :proportion option. Have a look at http://wxruby.rubyforge.org/doc/sizer.html , especially on the section "Controlling the space given to Sizer elements". > Thank you, > > Simon Vale, Marvin > > > _______________________________________________ wxruby-users > mailing list wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOggAOAAoJELh1XLHFkqha97wH/jBxd0f/11xyOMK7F9KiXEoU WF8jvJ9M+AZp+1punbBCq3LxqQMP36sIdUaFdL7G9ZOh9kJcyC03cT/3pMDi0kuX 1EjKvPy+1MZYuxzPCJZa7EFW4RSaqEPO++BjrMxRBu23fkZFUyjWDzoqYu83qXHr OC408iqJJqPphziWsOz9sIXcF5CZ28Zd3ZJMIqoer5mMPy2DyIAP62kNqg7IV7uf 2NztF3sIbfnFcOem5ybhEeZThuEjVTB3vydIHKHcBdwU8mlFF1rMcJLKpvFkzoYE +5Jghr2+lQGfexlKi/VUSl5kcCb2i1mT3KYbQcmz/FWCBtDuLvZPiWJLi7e/qvY= =JZB1 -----END PGP SIGNATURE----- From mail at simonszu.de Wed Sep 28 07:09:15 2011 From: mail at simonszu.de (Simon Szustkowski) Date: Wed, 28 Sep 2011 13:09:15 +0200 Subject: [wxruby-users] Expanding a Button in a GridSizer vertically In-Reply-To: <4E82001C.8030303@gmx.net> References: <7FC7BD28-1A39-4615-AC8D-0B681A8F5FAC@simonszu.de> <4E82001C.8030303@gmx.net> Message-ID: Hi, thanks for your help. But i think this is not what i am searching for. The :proportion option is controlling the size of each cell, but not how to expand a widget in this cell to the borders of the cell. The EXPAND flag expands the buttons horizontally, but i need them to expand vertically as well. When playing around with the :proportion flag, i only change the space between the buttons, but not resizing them at all, if you know what i mean... On 27.09.2011, at 18:55, Quintus wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Am 27.09.2011 17:47, schrieb Simon Szustkowski: >> Hi there, > > Hi Simon, > >> when adding a Button to a GridSizer cell, i can expand it with the >> EXPAND flag horizontally. But how can i expand it vertically, so >> that it will fill the whole cell? > > Although I didn't use GridSizer yet, I suspect you'are looking for the > :proportion option. Have a look at > http://wxruby.rubyforge.org/doc/sizer.html , especially on the section > "Controlling the space given to Sizer elements". > >> Thank you, >> >> Simon > > Vale, > Marvin > >> >> >> _______________________________________________ wxruby-users >> mailing list wxruby-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wxruby-users > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJOggAOAAoJELh1XLHFkqha97wH/jBxd0f/11xyOMK7F9KiXEoU > WF8jvJ9M+AZp+1punbBCq3LxqQMP36sIdUaFdL7G9ZOh9kJcyC03cT/3pMDi0kuX > 1EjKvPy+1MZYuxzPCJZa7EFW4RSaqEPO++BjrMxRBu23fkZFUyjWDzoqYu83qXHr > OC408iqJJqPphziWsOz9sIXcF5CZ28Zd3ZJMIqoer5mMPy2DyIAP62kNqg7IV7uf > 2NztF3sIbfnFcOem5ybhEeZThuEjVTB3vydIHKHcBdwU8mlFF1rMcJLKpvFkzoYE > +5Jghr2+lQGfexlKi/VUSl5kcCb2i1mT3KYbQcmz/FWCBtDuLvZPiWJLi7e/qvY= > =JZB1 > -----END PGP SIGNATURE----- > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users -------------- n?chster Teil -------------- Ein Dateianhang mit Bin?rdaten wurde abgetrennt... Dateiname : smime.p7s Dateityp : application/pkcs7-signature Dateigr??e : 4221 bytes Beschreibung: nicht verf?gbar URL :