Jump to content


Photo

Recommended Dev Environment


  • Please log in to reply
10 replies to this topic

#1 m00k00

m00k00

    Member

  • Members
  • PipPip
  • 10 posts

Posted 22 June 2015 - 08:08 AM

Hi peeps.

 

Now that i've got to know most of Blackbox, i want to patch / fix some stuff myself. That's why i'm trying to set up a good development environment. So i would like to ask what you guys are using for development and whether i would be allowed to create some pull requests on your GItHub project :)

 

Basically i usually prefer opensource development environments. I was thinking about maybe using Eclipse and Mingw or maybe Code::Blocks as IDE.

 

What i would like to investigate / fix is:

 

- Make CPU status for BBInterface work with dualcores / quadcores (or at least debug/fix the existing code for this)

- Add scrolling title to Winamp track display in BBInterface (like it is already implemented for iTunes)

- Maybe add desktop margin function for other screens than primary screen

- add the possibility for creating and maintaining more than one menu (or maybe you can tell me how to do this already now)

 

As i'm a software developer at day time already i'm pretty sure that i won't be able to work on this on a regulary basis ... so all of those goals are probably something for the long run. Still i would love to see some of this stuff happen and i'm pretty confident that my C/C++ skills should be enough to make this happen :D

 

I'm open for suggestions about a compiler / IDE and would love to hear what you are using and how you did set everything up.

 

Thanks in advance for all of your efforts, it's really appreciated!


  • pitkon and starstuff like this

#2 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 22 June 2015 - 10:11 AM

So glad to see another developer chipping in! We really need you guys :)

The list of things you wanna do/fix is great, but along with scrolling track title, I think what Winamp needs most is cover art (also already implemented in bbi for iTunes).

I am sure mojmir will be glad to guide you through the rest - and thanks for volunteering, people like you make this community work and Blackbox live on and prosper :yes:



#3 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 22 June 2015 - 10:48 AM

sorry, i am quite in a hurry now, so very briefly:

 

- the easiest way would be using some free form of visual studio. personaly i use 2012+ and i am quite used to it.

(there are two threads in here about setting this up)

- in theory the new build system is suitable for different compilers/ide/toolchains/whathaveyou, but in practice no one really tried it.

it should not be hard to make it work, but it requires moderate amount of... work ;)


  • m00k00 likes this

#4 m00k00

m00k00

    Member

  • Members
  • PipPip
  • 10 posts

Posted 22 June 2015 - 10:57 AM

Alright, thanks for the headsup. Is the Express version enough? I guess, because you mentioned the term "free" ;)



#5 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 22 June 2015 - 01:51 PM

maybe.. i remember someone already used it successully. i did not tried it personaly though

i think it's worth the try: you'll familiarize yourself with the cmake and bb and later you can switch to another toolchain


  • m00k00 likes this

#6 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 22 June 2015 - 02:30 PM

http://blackbox4wind...x-from-sources/

http://blackbox4wind...gging-blackbox/


  • pitkon and m00k00 like this

#7 m00k00

m00k00

    Member

  • Members
  • PipPip
  • 10 posts

Posted 22 June 2015 - 03:10 PM

 

Tried this on saturday with mingW already, but i failed miserably :D

Gonna give VisualStudio 2012 Express a shot ... i hope i have enough time tonight to try it.

 

Thanks for assisting me already ;)



#8 m00k00

m00k00

    Member

  • Members
  • PipPip
  • 10 posts

Posted 22 June 2015 - 08:27 PM

Yehaaa. I'm in business! I've managed to compile this thingy with ease using Microsoft Visual Studio 2013 Community Edition (https://www.visualst...io-community-vs). I basically used the same configure and build scripts you've provided for Visual Studio 2012 the only difference was that i've called it with

cmake -G "Visual Studio 12 Win64" 

instead of

cmake -G "Visual Studio 11 Win64" 

and

cmake -G "Visual Studio 12" 

instead of

cmake -G "Visual Studio 11"

for the 32bit build.

 

Compile time was like suuuper fast. This thingy rocks :D

 

[EDIT]

 

Alright, i was basically able to insert another menu item into the winamp submenu where you now can choose "Track Title (Scrolling)" ... it's even already constantly displaying "Test" now as a result for the moment :D This enum menu item /  polling type featuring WINAMP_POLLINGTYPECOUNT, WINAMP_POLLINGTYPE_*, agenttype_winamp_pollingnames and agenttype_winamp_friendlynames is still a little bit overwhelming to me, as i'm wondering whether its somehow easily doable to move the menu item "Track Title (Scrolling)" right under "Track Title" without destroying too much of the codes logic by bringing chaos into this order ... but i guess that's a usual problem one faces who's daily business is Java most of the time xD Btw: How shall I contribute my code later? Will you gimme a branch for myself where i can commit and push stuff and make pull requests to master, or will you provide master access? Alternatively we might be able to establish some weird construct with me forking the project and making pull requests for single feature branchs from my repo to yours  ... or something along those lines (i have no clue how the later thingy might actually work out, but i guess we cold find out) ;)

 

I will report back as soon as i've got something scrolling :D


  • pitkon likes this

#9 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 23 June 2015 - 06:07 AM

Alright, i was basically able to insert another menu item into the winamp submenu where you now can choose "Track Title (Scrolling)" ... it's even already constantly displaying "Test" now as a result for the moment :D This enum menu item /  polling type featuring WINAMP_POLLINGTYPECOUNT, WINAMP_POLLINGTYPE_*, agenttype_winamp_pollingnames and agenttype_winamp_friendlynames is still a little bit overwhelming to me, as i'm wondering whether its somehow easily doable to move the menu item "Track Title (Scrolling)" right under "Track Title" without destroying too much of the codes logic by bringing chaos into this order ... but i guess that's a usual problem one faces who's daily business is Java most of the time xD

 

Congrats! Remember, the scrolling title used on iTunes is a joke - I mean it scrolls once and then stops. Not very helpful if you need the info while listening to a song.

And I really hope your next endeavour will be album art... :D



#10 m00k00

m00k00

    Member

  • Members
  • PipPip
  • 10 posts

Posted 23 June 2015 - 02:57 PM

Congrats! Remember, the scrolling title used on iTunes is a joke - I mean it scrolls once and then stops. Not very helpful if you need the info while listening to a song.

And I really hope your next endeavour will be album art... :D

 

Good to know that the iTunes one is buggy ... i did not had the chance to try it myself yet, as i'm no iTunes user ;)

About the winamp album art: I will most likely take a look into this, although i have to admit i'm maybe kind of old-school never using album art at all ... only exception being Poweramp @ Android and only because it is able to download all this stuff on its own :D

 

Btw: is there some kind of coding guideline available somewhere? I'm kinda wondering, whether i would be allowed to change the order of some enum-like types or not :)


  • pitkon likes this

#11 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 23 June 2015 - 04:21 PM

Lol about album art. I like the option, like most of us users, but I know what you mean.

As for guidelines, not really, but it's a good idea to talk with all active developers so there won't be branches of branches. We saw this happening a lot in the past and I can't say BB benefited from it. Good of you to ask :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users