IDE - List thirdparty libraries used by code

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

IDE - List thirdparty libraries used by code

Post by Joakim Christiansen »

When using PB commands to write a program different third-party compiled code will be included in the executable or in forms of DLL's (depending on functions used). Some open source, some not (not that it matters)? All with different kinds of licenses that may or may not need to be included with your software if you release it.

So wouldn't a function in the IDE which outputs a list of used third-party libraries and a link to their website and/or license make sense to have? Me as a programmer would certainly like that, because I don't want to risk pissing someone off...
I like logic, hence I dislike humans but love computers.
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: IDE - List thirdparty libraries used by code

Post by le_magn »

+1
Image
PB Fanatic
User
User
Posts: 49
Joined: Wed Dec 17, 2014 11:54 am

Re: IDE - List thirdparty libraries used by code

Post by PB Fanatic »

How would the IDE know which license a third-party lib uses, if it uses one at all?
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: IDE - List thirdparty libraries used by code

Post by Shield »

PB Fanatic wrote:How would the IDE know which license a third-party lib uses, if it uses one at all?
Depending on the PB commands used in the project / source.
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: IDE - List thirdparty libraries used by code

Post by Shield »

Well, he says "PB commands". Of course it would only work with native procedures,
as there is no way to know what kind of third-party libraries custom functions may use.
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
PB Fanatic
User
User
Posts: 49
Joined: Wed Dec 17, 2014 11:54 am

Re: IDE - List thirdparty libraries used by code

Post by PB Fanatic »

I thought Joakim's request was so that if (for example) a third-party lib command uses JPEG compression, then the IDE should link to the JPEG license file. Or maybe he means just link to the third-party lib's license itself?
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Re: IDE - List thirdparty libraries used by code

Post by Joakim Christiansen »

Shield wrote:Well, he says "PB commands". Of course it would only work with native procedures,
as there is no way to know what kind of third-party libraries custom functions may use.
Indeed.
PB Fanatic wrote:I thought Joakim's request was so that if (for example) a third-party lib command uses JPEG compression, then the IDE should link to the JPEG license file. Or maybe he means just link to the third-party lib's license itself?
When it comes to third-party "user libs" you've added yourself to your PureBasic installation I guess it would be up to the developer to disclose whether it uses third-party code or not, the PB team can not be responsible for that.

But when it comes to the inbuilt PB commands/language using third-party code I think this should be able to be disclosed by using a special compiler flag and by the PB IDE itself when clicking a button to receive that information. In today's "open source world" I think this is important to respect.

EDIT:
I see that the information is at least provided under "Legal Information" in the help file (but it is easy for the common PB developer to miss). So it would still be handy to have a function built into the IDE for informing you about what is used and the respecting licenses.
I like logic, hence I dislike humans but love computers.
Post Reply