|
Re: Horny Source code on Github |
Posted on: 2020/1/28 9:52
#61 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2006/12/2 0:31 From Poland
Posts: 301
|
@kas1e
The same way to reproduce, yes. You can try...Run Timi (soft synthesizer from Contribution on AOS4 FE CD) Run Horny/Settings. You have to have empty MIDI cluster window. Then try to CHANGE output (cycle gadget) to Timi. Do it second time or try to close settings and bang! If you use ADD button to add Timi to the cluster window everything is OK. I will test as soon as I'm home :) EDIT> Maybe a message 'you have to ADD sth before CHANGE' would be appropriate? |
|
_________________
Sam440 flex 800MHz RAM 1GB R9250 128MB OS4.1 SBLive! -> ![]() |
||
|
Re: Horny Source code on Github |
Posted on: 2020/1/28 15:24
#62 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2006/12/2 0:31 From Poland
Posts: 301
|
@kas1e
Quote: ...There is new version with that change... Yes, it did the trick! Thanks ![]() |
|
_________________
Sam440 flex 800MHz RAM 1GB R9250 128MB OS4.1 SBLive! -> ![]() |
||
|
Re: Horny Source code on Github |
Posted on: 2020/1/28 15:36
#63 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6926
|
@mr2
Ok good ! @Capehill Or i can just grab your changes, put in my repo, add the last fix for mr2's crash and put it in one commit to Timo's repo. What you think? |
|
|
Re: Horny Source code on Github |
Posted on: 2020/1/28 19:11
#64 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2007/7/14 21:30 From Lothric
Posts: 1284
|
@kas1e
Sure, please go ahead. |
|
|
Re: Horny Source code on Github |
Posted on: 2020/1/28 20:01
#65 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6926
|
@all
Added Capehill's fixes and my last one to forked repo: https://github.com/kas1e/midi-sequencer-amigaos/commits/master and made pull request to Timo, so once he accept it will be in main one. I was in hope to enable "-Werror" now, but can't because of one single error which throw at me gcc 8.2.0: Quote:
|
|
|
Re: Horny Source code on Github |
Posted on: 2020/1/28 20:07
#66 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2007/7/14 21:30 From Lothric
Posts: 1284
|
@kas1e
I worked it around, take a look at my patch, line 541 in Sequenzen.c. I think you can compare my branch against your and pull the changes using github, in case you did it manually. |
|
|
Re: Horny Source code on Github |
Posted on: 2020/1/28 20:23
#67 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6926
|
@Capehill
Oh you are right! Damn manual editing and just changed wrong line. Now all fine, and enable -werror by default too. Will pull-request that one as well |
|
|
Re: Horny Source code on Github |
Posted on: 2020/1/30 11:10
#68 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/2 3:55 From Italy, Perugia
Posts: 3407
|
ditto
|
|
|
Re: Horny Source code on Github |
Posted on: 2020/1/30 11:13
#69 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6926
|
@All
Pull request accepted, now all in official repo |
|
|
Re: Horny Source code on Github |
Posted on: 2020/2/1 12:43
#70 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2007/7/14 21:30 From Lothric
Posts: 1284
|
@kas1e
Fixed one issue reported by CppCheck: https://github.com/capehill/midi-seque ... ac30299aa93b143bef0f9155f |
|
|
Re: Horny Source code on Github |
Posted on: 2020/3/30 11:56
#71 |
---|---|---|
Just popping in
![]() ![]() Joined:
2014/10/29 11:00 From Finland
Posts: 31
|
Is Horny_test3.zip (28-Jan-2020) the latest binary?
|
|
_________________
X5000, Peg2, mA1 |
||
|
Re: Horny Source code on Github |
Posted on: 2020/3/30 12:49
#72 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 12:31 From Russia
Posts: 6926
|
@densho
Yes, nothing else done. |
|
|
Re: Horny Source code on Github |
Posted on: 2020/3/30 18:47
#73 |
---|---|---|
Just popping in
![]() ![]() Joined:
2014/10/29 11:00 From Finland
Posts: 31
|
@kas1e
Ok, so no new radical changes in code after that. Bugs with top-left dropmenu and scroll/resize bars are still there. Visually it looks like some of them are drawn in wrong coordinates ("0,0") in the main window. Drawing is probably handled differently in code but that what it looks like... Also, sometimes I can summon large down arrow at top-left corner when clicking at the low-right area where scroll bar arrow should be. Just load any of the sample projects provided with Horny and try clicking the low-right area where arrows are missing. So, anyone? :) |
|
_________________
X5000, Peg2, mA1 |
||
|
Re: Horny Source code on Github |
Posted on: 2020/6/8 13:26
#74 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/5/1 18:57 From Czech Republic
Posts: 1257
|
@densho
Quote: Bugs with top-left dropmenu and scroll/resize bars are still there. Visually it looks like some of them are drawn in wrong coordinates ("0,0") in the main window. [...] Also, sometimes I can summon large down arrow at top-left corner when clicking at the low-right area where scroll bar arrow should be. Just load any of the sample projects provided with Horny and try clicking the low-right area where arrows are missing. I've looked into this, and after some testing I'm afraid I have bad news ![]() The problem is not in the Horny code but in ReAction classes, namely the Slider Gadget and the Scroller Gadget. Somewhere between OS3.x and OS4.x the classes were changed apparently, and they can no longer get added to a traditional Intuition window, i.e. outside of a Layout Gadget group. This works fine in the OS3 version of the classes, hence no problems in the OS3 Horny version. But under OS4.1 the Slider does not display at all in an Intuition window, and the Scroller causes what Densho has described above. I've tested the classes in my own program, and the result is the same as in Horny. There is a good deal of custom rendering going on in the main window and the Note Editor, so I guess it would be quite challenging to try and rewrite them to use a ReAction layout. (The fact that the program code contains no comments and everything - functions and variables - is in German doesn't make it any easier.) Therefore, our best bet would be to ask an OS4 developer to have a look at and, hopefully, fix the Scroller and Slider gadget classes. I've recently asked Fredrik Wikstrom to fix a bug in the ClickTab Gadget, and he was kind to provide a quick fix (although God knows when this will be released). So maybe Fredrik is our man to get us Horny users - pun intended - out of trouble. |
|
_________________
The Rear Window blog AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition |
||
|
Re: Horny Source code on Github |
Posted on: 2020/6/11 19:21
#75 |
---|---|---|
Just popping in
![]() ![]() Joined:
2014/10/29 11:00 From Finland
Posts: 31
|
@trixie
Thanks for checking this. Using reaction gadgets outside of gadget group sounds like a not correct way to do it and maybe it was fixed in later reaction releases. Fredrik, are you reading this? Or can you Trixie submit a bug report? |
|
_________________
X5000, Peg2, mA1 |
||
|
Re: Horny Source code on Github |
Posted on: 2020/6/11 20:03
#76 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/5/1 18:57 From Czech Republic
Posts: 1257
|
@densho
Quote: Using reaction gadgets outside of gadget group sounds like a not correct way to do it Well, ReAction gadgets are BOOPSI gadgets, and Commodore's original BOOPSI system didn't have anything like the Layout Gadget. So the original BOOPSI gadgets were added to normal Intuition windows (there was no Window Class at that time, either). Most ReAction gadgets, I think, technically don't need to be put in a layout group, but doing so brings so many advantages for your GUI programming that most developers use the Window Class / Layout Gadget combo. Perhaps this is why it escaped everyone's attention that at some point the Scroller and the Slider stopped displaying correctly when added to a traditional window. Well, this is just a rhetorical exercise now because I am happy to report that Fredrik Wikstrom has fixed the problem in slider.gadget 53.17 and scroller.gadget 53.16. So we just need to hope that Hyperion has an OS update in store some time soon ![]() @OS4 MIDI users Fredrik has a DONATE button on his website www.a500.org, so why not show your appreciation by sending a small donation for his effort? ![]() |
|
_________________
The Rear Window blog AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition |
||
|
Re: Horny Source code on Github |
Posted on: 2020/6/11 23:20
#77 |
---|---|---|
Just popping in
![]() ![]() Joined:
2007/2/1 13:02 Posts: 98
|
@trixie
Do we really have to wait for a update to get both gadgets? ![]() |
|
|
Re: Horny Source code on Github |
Posted on: 2020/6/12 5:30
#78 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/5/1 18:57 From Czech Republic
Posts: 1257
|
@sinisrus
In the past you'd get the updated gadgets over AmiUpdate in no time. Now that this policy was ditched we have to wait for an official OS update (myself included, as I'm not a betatester). I know it's crazy. |
|
_________________
The Rear Window blog AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition |
||
|
Re: Horny Source code on Github |
Posted on: 2020/6/12 6:48
#79 |
---|---|---|
Just popping in
![]() ![]() Joined:
2007/1/10 21:56 From Stockholm Sweden
Posts: 161
|
@sinisrus @trixie
Have waited 3 1/2 years for an X5000 update.. Wish they would let more ppl betatest Amiga OS4.X. Asked Hyperion for an betatest N.D.A. , no response.. Asked A-Eon for an betatest N.D.A. , no response.. |
|
_________________
1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX<-2020 |
||
|
Re: Horny Source code on Github |
Posted on: 1/2 15:40
#80 |
---|---|---|
Just popping in
![]() ![]() Joined:
2014/10/29 11:00 From Finland
Posts: 31
|
Latest OS4.1FE Update2 fixes the scrollbars and dropdown menus, just like Trixie mentioned - very nice :)
Small donation sent to Frederic for fixing this, I suggest others do the same. There are small drawing issues still, but these are not showstoppers: ![]() Above happens when you load sample project and zoom the horizontal view, and depending windows size those black likes are drawn to scrollbar and window border. |
|
_________________
X5000, Peg2, mA1 |
||