Earlier quoted context omitted.
If you create a program that links with a GPL library, the program as a whole must itself also be GPL - which is not always acceptable. See section 5 of the GPL: https://www.gnu.org/licenses/gpl.html "You may convey a work based on the Program ... provided that you also meet all of these conditions: ... c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy"
Not always. I believe a common understanding is if it statically links with GPL code, then it spreads to your code. If it dynamically links then your program is not hit with GPL, as the user is able to change the dynamic library with their own. If what you dewxribed were the case, then the Tivoization lawsuit would have went differently instead of GPLv3 coming out.
Boden cross-platform framework: Native C++11, native widgets, no JavaScript
81–90 of 98 posts
Re: Boden cross-platform framework: Native C++11, native widgets, no JavaScript
#82A couple of questions I had that I didn’t seem answered in the README: * How is view positioning handled? Does Boden only allow for “list” layouts? * Can I use my own native components? * Can I call platform APIs?
Since all widgets are native, you can easily add your own child widgets to the containers. You can gain access to the native view objects via the "View::getCore" method. However, we do not have a good way yet to insert custom widgets into the Boden layout system. That is an area where more work is needed.
Regarding calling platform APIs: since the apps are written in C++ you can call any platform API you like. On Android you can also use the Boden helper classes (bdn::java::JClass, etc.) to make Java calls from C++. On iOS the easiest way is to create an Objective C++ file (.mm file extension). In there you can combine C++ and Objective C code freely.
Re: Boden cross-platform framework: Native C++11, native widgets, no JavaScript
#83Does something like this exist in Crystal-lang or Nim? Using native widgets to do cross-platform is appealing, but C++ ...?
Re: Boden cross-platform framework: Native C++11, native widgets, no JavaScript
#84Kotlin multi-platform also reuses native Widgets/UI but the DX doesn’t seem very polished yet. Does something like this exist in Crystal-lang or Nim? Using native widgets to do cross-platform is appealing, but C++ ...?
Re: Boden cross-platform framework: Native C++11, native widgets, no JavaScript
#85A couple of questions I had that I didn’t seem answered in the README: * How is view positioning handled? Does Boden only allow for “list” layouts? * Can I use my own native components? * Can I call platform APIs?
Boden dev here. Boden currently supports linear layouts (horizontal and vertical). We know that more is needed for a proper UI. Feedback is appreciated - let us know what you would like to see regarding layout options. Since all widgets are native, you can easily add your own child widgets to the containers. You can gain access to the native view objects via the "View::getCore" method. However, we do not have a good…
Re: Boden cross-platform framework: Native C++11, native widgets, no JavaScript
#86Earlier quoted context omitted.
Boden dev here. Boden currently supports linear layouts (horizontal and vertical). We know that more is needed for a proper UI. Feedback is appreciated - let us know what you would like to see regarding layout options. Since all widgets are native, you can easily add your own child widgets to the containers. You can gain access to the native view objects via the "View::getCore" method. However, we do not have a good…
I'm primarily an iOS developer (though, I've started looking into Android recently), so my point of view will be skewed towards that platform. If you're trying to write an iOS app, you probably want to expose AutoLayout, or at the very least the API provided by UIStackView. Plus, you will need to handle things like the navigation hierarchy, which on iOS does a lot of layout-related things for you.
Can you elaborate on why you feel AutoLayout support is needed? If Boden had a layout system of comparable power, would that solve this issue?
Re: Boden cross-platform framework: Native C++11, native widgets, no JavaScript
#87Re: Boden cross-platform framework: Native C++11, native widgets, no JavaScript
#88Earlier quoted context omitted.
I like the spirit of open source but every time I see GPL, I feel like it is an evil license that tries to consume everything it touches - even the stuff it has absolutely no rights for. That is not the spirit of open source. It has caused ages of headaches, law firms getting rich and unintentional business losses. How about a license that says "You cannot use it for any commercial use or closed source projects" so t…
GPL is not meant to prevent commercial uses, as long as the commercial uses are still with GPL. What I generally do is release source code of my program as public domain, even if it links with GPL libraries (it will be GPL if I am modifying an existing GPL program though), although require that the combination is GPL even though the files that are entirely my own writing will be public domain. To distribute the combi…
Since it is not possible to actually put the works into the public domain, this typically means that you retain all rights and license no rights to user. As such you should always include a fallback license, for example Apache or MIT or whatever you feel comfortable with for these jurisdictions.
[1] https://www.gesetze-im-internet.de/englisch_urhg/englisch_ur... (Subchapter 2)
Re: Boden cross-platform framework: Native C++11, native widgets, no JavaScript
#89SWT project also does the same in Java Desktop World. But it never really became widely used.
Re: Boden cross-platform framework: Native C++11, native widgets, no JavaScript
#90Earlier quoted context omitted.
I'm primarily an iOS developer (though, I've started looking into Android recently), so my point of view will be skewed towards that platform. If you're trying to write an iOS app, you probably want to expose AutoLayout, or at the very least the API provided by UIStackView. Plus, you will need to handle things like the navigation hierarchy, which on iOS does a lot of layout-related things for you.
It is an interesting thought to also use the native layout system on each platform. It might be challenging to provide an abstraction for the native layout that behaves consistently on all platforms, though. Can you elaborate on why you feel AutoLayout support is needed? If Boden had a layout system of comparable power, would that solve this issue?
That's simply how most apps are designed these days, since it makes it easy to support the ever-growing list of device sizes that iOS apps need to support.
> If Boden had a layout system of comparable power, would that solve this issue?
Sure, but you might need to keep in mind that iOS developers are used to using AutoLayout and need to learn how to do things in your new layout system.