summaryrefslogtreecommitdiff
path: root/src/func.cc
AgeCommit message (Collapse)Author
2012-03-27Rewrote the Value class to be based on boost::variant - this should reduce ↵Marius Kintel
memory footprint and improve performance
2012-02-18Kill warningsMarius Kintel
2012-02-18minor fixes: Don't copy input vectors, fixed a leak of a Value object + some ↵Marius Kintel
cosmetics
2012-02-15Added search functionAndrew Plumb
Search for characters, strings and integers in a lookup table and return the index (or indices) for matches.
2012-01-08bugfix: Infinite loop in deg2rad/rad2deg when giving it an inf number, e.g. ↵Marius Kintel
1/0. Reported by Triffid Hunter.
2011-11-12Added a len() functionGiles Bathgate
This returns the number of elements in a vector, and the length of a string. Added a basic test script that can be checked for echo output.
2011-11-09Only quote strings when using the stream operator. Fixes #35Marius Kintel
2011-11-09Make old way of specifying version work as wellMarius Kintel
2011-11-08Fix for dates being interpreted as octal numbersMarius Kintel
2011-11-06Slight refactoring of builtin function and module handlingMarius Kintel
2011-10-03Redefined version() to return the version as a vector. Added version_num() ↵Marius Kintel
to return a comparable number
2011-09-30Cleaned up some unnecessary includesMarius Kintel
2011-09-30Added version() functionMarius Kintel
2011-09-03Some cleanup of the Context classMarius Kintel
2011-09-03Ported a bunch of stuff from Qt to STLMarius Kintel
2011-08-12fix build errors on windowsdon bright
2011-04-12Ported recent changes to master into the visitor branchMarius Kintel
2011-01-21Merge branch 'master' of https://github.com/meta23/openscadmeta
Conflicts: openscad.pro
2011-01-21Copyright updatesMarius Kintel
2011-01-18change literal to help choose a proper overloadmeta
2011-01-18add missing includemeta
2011-01-17add C99 math for win32meta
2010-12-09Ported random function to visitor branchMarius Kintel
2010-12-09merged current masterMarius Kintel
2010-11-07Refactored some QString usage in the backend to std::stringMarius Kintel
2010-10-31coding stylekintel
git-svn-id: http://svn.clifford.at/openscad/trunk@575 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31Added a rands() function that returns a vector of random numbers.kintel
the function takes either 3 arguments or 4 rands(min,max,num) or rands(min,max,num,seed) git-svn-id: http://svn.clifford.at/openscad/trunk@574 b57f626f-c46c-0410-a088-ec61d464b74c
2010-07-09sign() function suggested by Dan Zuras and implemented by Giles Bathgatekintel
git-svn-id: http://svn.clifford.at/openscad/trunk@568 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-26Clifford Wolf:clifford
Added abs() function git-svn-id: http://svn.clifford.at/openscad/trunk@454 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-23Multiple non-MDI assumptions were made, setting CWD and assuming it didn't ↵kintel
change. Fix required to pass more context to nodes (functions). It's not totally clean, but it's a start. Fixes bugs: opening multiple files simultaneously only loaded the first file, refreshing an scad file referencing an external file failed if another scad file was opened in the meantime. git-svn-id: http://svn.clifford.at/openscad/trunk@451 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-21Clifford Wolf:clifford
Added exp(x), log(b, x), log(x) and ln(x) functions git-svn-id: http://svn.clifford.at/openscad/trunk@447 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-10Added sqrt()kintel
git-svn-id: http://svn.clifford.at/openscad/trunk@435 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-01Clifford Wolf:clifford
Added CGAL exception to all copyright notes, as it is suggested on: http://www.cgal.org/license.html http://www.fsf.org/licensing/licenses/index_html git-svn-id: http://svn.clifford.at/openscad/trunk@405 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-31added round(), ceil() and floor()kintel
git-svn-id: http://svn.clifford.at/openscad/trunk@387 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30header file reorgkintel
git-svn-id: http://svn.clifford.at/openscad/trunk@365 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30reorganized file structure layout. more to follow...kintel
git-svn-id: http://svn.clifford.at/openscad/trunk@364 b57f626f-c46c-0410-a088-ec61d464b74c
contact: Jan Huwald // Impressum