Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu News / Gosu 0.7.47 released (+ 0.7.47.1 hot-fix gem)
- - By jlnr (dev) Date 2013-04-01 08:58
This is a follow-up release to yesterday's v0.7.46. I've tried to close as many input-related tickets on github as possible:

• All: Add msOther0 - msOther7 constants for extra mouse buttons
• All: Add constants: kbBacktick, kbMinus, kbEqual, kbBracketLeft, kbBracketRight, kbBackslash, kbSemicolon, kbApostrophe, kbComma, kbPeriod, kbSlash
• Windows: Add support for up to four gamepads
• Linux: Fix button_down/button_up/TextInput (thanks @oli-obk)
• Linux: Enable optimizations in CMake build files (thanks @oli-obk)
• Mac: Work around crashes in C++ exception handling
• Mac: Fix some gamepad bugs (e.g. unplugging when Gosu is running)
• Mac: Fix a bug where Gosu processes would not terminate while a song is running

Most of these suggestions were taken from the Gosu Exchange board, so thanks everyone :)
Reply
Parent - By jlnr (dev) Date 2013-04-01 09:38
This time I've been able to update the RubyGosu app wrapper as well: http://libgosu.org/downloads/gosu-mac-wrapper-0.7.47.tar.gz

I will need to wait until May before I can update the bundled Ruby & gems though.
Parent - - By SPK Date 2013-04-01 09:55 Edited 2013-04-01 10:13
Trying to update my gem gives me the following error:

RubyGosu_wrap.cxx: In function ‘void Init_gosu()’:
RubyGosu_wrap.cxx:11479:74: error: ‘kbRightMeta’ is not a member of ‘Gosu’
In file included from ../Gosu/Bitmap.hpp:9:0,
                 from ../Gosu/Gosu.hpp:14,
                 from RubyGosu_wrap.cxx:2227:

Edit: In Button.hpp#48-58
    kbLeftAlt = 0x38,
#if defined(GOSU_IS_WIN)
    kbRightAlt = 0xb8,
    kbLeftMeta = 0xdb,
    kbRightMeta = 0xdc,
#elif defined(GOSU_IS_X)
    kbRightAlt = 0x64,
    kbLeftMeta = 0x7d,
#else
# error this should not happen
#endif

The kbRightMeta is missing for X. It seems you merged ButtonsX and ButtonsWin. I looked at the ButtonsX but cannot determine the hex value for    
kbRightMeta = XK_Meta_R. If I had to guess I would say 0x7e :)
Parent - - By jlnr (dev) Date 2013-04-01 10:12
That was a bug in Gosu 0.7.46 that has been fixed in 0.7.47 - can you please try to install again? You were probably a few minutes too early :)
Parent - - By SPK Date 2013-04-01 10:14
Quick response. :P

Unfortunately I installed 0.7.47.
Parent - By jlnr (dev) Date 2013-04-01 11:52
You are right. Somehow I must have pushed very old code. Not sure how this happened - fixing now...
Parent - - By jlnr (dev) Date 2013-04-01 12:05 Edited 2013-04-01 12:32
Can you please retry now, with 0.7.47.1?

It works for me on Ubuntu 12.10. Thanks for reporting this issue! :)
Parent - By SPK Date 2013-04-01 16:58
spk@skuld:~> sudo gem update gosu
root's password:
Updating installed gems
Updating gosu
Fetching: gosu-0.7.47.1.gem (100%)
Building native extensions.  This could take a while...
Successfully installed gosu-0.7.47.1
file 'README.txt' not found
file 'COPYING' not found
file 'reference/gosu.rb' not found
file 'reference/Drawing_with_Colors.rdoc' not found
file 'reference/Order_of_Corners.rdoc' not found
file 'reference/Tileability.rdoc' not found
file 'reference/Z_Ordering.rdoc' not found
Installing ri documentation for gosu-0.7.47.1
Installing darkfish documentation for gosu-0.7.47.1
Gems updated: gosu

Working! Thousand thanks! :)
Up Topic Gosu / Gosu News / Gosu 0.7.47 released (+ 0.7.47.1 hot-fix gem)

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill