Hi All,
There are several issues with fparser. First, I upgraded to gcc-4.7, fparser doesn't build, and we all know fparser doesn't get along with gcc upgrades. Second, fparser source code is obfuscated, for example in fp_identifier_parser.inc. some candidates: http://muparser.sourceforge.net/mup_features.html boost spirit calculator thanks, Dongxu |
The fparser library in LC code are outdated (v4.3), the last version are 4.4.3
see http://warp.povusers.org/FunctionParser/ but, for my, do not have problem to change with other "more clear" library. Must take in consideration the license muparser license: MIT fparser license: LGPL v3 boost spirit calculator license: ??? Rallaz |
Hi,
boost license is compatible with GPL, and the calculator is part of boost spirit examples. I haven't gathered enough info about it yet. for muparser, it's straight forward to make it a dependency of LC in linux. I'm not sure about the situation in windows/osx. I don't think we would include muparser source code of muparser in LC the same way as fparser. I suppose we can include in building script to download the source code, and build LC with it. If not network at building time, user are responsible to supply a muparser source code zip file. I don't know about how to do this exactly though. Thanks, Dongxu On Sat, Mar 31, 2012 at 8:40 AM, Rallaz [via LibreCAD] <[hidden email]> wrote: The fparser library in LC code are outdated (v4.3), the last version are 4.4.3 -- Dongxu Li, Ph.D. www.librecad.org |
In reply to this post by dxli
On Sat, Mar 31, 2012 at 7:31 AM, dxli [via LibreCAD]
<[hidden email]> wrote: > > some candidates: > > http://muparser.sourceforge.net/mup_features.html coincidentally, I'm the muparser maintainer in Debian and Ubuntu I know qtiplot and scidavis use it and it works great - it could be a good for LC. Just FYI, they improved their library versioning so that in theory all libmuparser2 are compatible with each other. They don't appear to follow libtool "age" and "revision," for example libmuparser.so.2.2.2 is not compatible with libmuparser.so.0. As for building, I think it's fair to either ship convenience copies or just tell users they need libmuparser.so.2 and headers to build (package libmuparser-dev on debian systems) For ease of distribution, I'd suggest muparser. ~Scott |
hi, if there's not much trouble on windows/osx side, we will choose muparser accordingly. the switching process seems to be trivial. I'm setting up a branch to test this idea. thanks, dongxu On Mar 31, 2012 11:11 AM, "showard314 [via LibreCAD]" <[hidden email]> wrote:
On Sat, Mar 31, 2012 at 7:31 AM, dxli [via LibreCAD] |
Administrator
|
I am good with muparser,
OSX has muparser in ports, so that's not going to be a problem. For Windows we put in the README instructions how to download muparser for LibreCAD to compile, much like what we do with Boost at the moment. Our Windows compiler user base is so low that I think it justifies the little bit of extra work. And these people that can do it won't have problems. I also agree that we shouldn't ship muparser with LibreCAD like what we currently do with fparser. Ries On Mar 31, 2012, at 11:11 AM, dxli [via LibreCAD] wrote:
|
hi all, so muparser is the way to go, and I will get this done before implementation of new tangential circle/ellipse drawing methods. thanks, dongxu On Mar 31, 2012 1:51 PM, "R. van Twisk [via LibreCAD]" <[hidden email]> wrote:
I am good with muparser, |
In reply to this post by dxli
it works for me now in the branch muparser.
tested in linux only. thanks, Dongxu |
In reply to this post by dxli
Hi everybody,
do you plan to switch to muparser before releasing LC 2.0 ? Best RoboMod |
Hi RoboMod,
We switched to muParser since 2.0.0alpha3, and 2.0.0beta1 is scheduled to be released in days. Thanks, dxli On Sun, Oct 7, 2012 at 2:58 PM, RoboMod [via LibreCAD] <[hidden email]> wrote: Hi everybody, -- Dongxu Li, Ph.D. www.librecad.org |
Hi dxli,
thanks. Do you have a deadline for RC of 2.0.0? Are there any things to regard when working on LC till you release the beta or RC? Best, RoboMod |
Hi RoboMod,
2.0 series is under feature freeze, and is in stablization stage. Features such as bezier/spline support, parabola/hyperbola entity types will be in 2.1 series instead. We don't have a deadline for the final release, but we may want to give it several months for us to smooth out bugs. Please feel free to help the process. dxli On Sun, Oct 7, 2012 at 3:39 PM, RoboMod [via LibreCAD] <[hidden email]> wrote: Hi dxli, -- Dongxu Li, Ph.D. www.librecad.org |
Free forum by Nabble | Edit this page |