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...
IDE - List thirdparty libraries used by code
- Joakim Christiansen
- Addict
- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
IDE - List thirdparty libraries used by code
I like logic, hence I dislike humans but love computers.
-
- User
- Posts: 49
- Joined: Wed Dec 17, 2014 11:54 am
Re: IDE - List thirdparty libraries used by code
How would the IDE know which license a third-party lib uses, if it uses one at all?
Re: IDE - List thirdparty libraries used by code
Depending on the PB commands used in the project / source.PB Fanatic wrote:How would the IDE know which license a third-party lib uses, if it uses one at all?
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
Re: IDE - List thirdparty libraries used by code
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.
as there is no way to know what kind of third-party libraries custom functions may use.
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
- Posts: 49
- Joined: Wed Dec 17, 2014 11:54 am
Re: IDE - List thirdparty libraries used by code
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?
- Joakim Christiansen
- Addict
- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
Re: IDE - List thirdparty libraries used by code
Indeed.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.
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.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?
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.