summaryrefslogtreecommitdiff
path: root/src/context.cc
AgeCommit message (Collapse)Author
2013-08-21Fixes two problems related to : lookup was dynamic rather than lexical, ↵Marius Kintel
assignment was done after all local variables causing it not to be copyable
2013-04-26Refactoring: Split out FileModule from Module, Added LocalScope renamed some ↵Marius Kintel
confusing 'evaluate' methods to 'instantiate', added FileContext (not yet used)
2013-04-26Experiment: Lazy evaluation of argument lists in evaluation context. Allows ↵Marius Kintel
e.g. for loop variables to be dependent on each other
2013-04-18Cleaned up argument list handling, related to #116Marius Kintel
2013-04-16Reinstate recursion guard to new context handling, fixes the last known ↵Marius Kintel
subissue of #116 and #328
2013-04-09Refactored context handling into using separate Module contexts and Eval ↵Marius Kintel
contexts. This allows for recursive module calls, and cascading children. I believe this fixes issue #116
2013-03-11Changed redeclaration of assignment so that the last declaration defines the ↵Marius Kintel
order. This hopefully fixes the confusing error message discussed on the mailing list nov 27-30 (Variable bug)
2012-10-10Detect recursive execution of functions to avoid a stack overflow crash. ↵Marius Kintel
Fixes #200
2012-06-04Merge branch 'master' into valueMarius Kintel
2012-06-04Don't prefix filenames which are already absolute with document path. Fixed #123Marius Kintel
2012-03-27Rewrote the Value class to be based on boost::variant - this should reduce ↵Marius Kintel
memory footprint and improve performance
2012-02-15Initial implementation of ModuleCache and dependency tracking of used modulesMarius Kintel
2012-01-25Ported printutils away from QtMarius Kintel
2012-01-14add boosty.h for compatability with boost <1.44donb
2012-01-09Don't use native() to extract strings from boost::filesystem::path() since ↵Marius Kintel
that will use wchar under Windows
2011-12-26Merge branch 'master' into boost_filesystemMarius Kintel
Conflicts: openscad.pro src/module.h
2011-12-26Some light refactoring attempts, didn't get very far..Marius Kintel
2011-12-23Merge branch 'master' into boost_filesystemMarius Kintel
Conflicts: tests/CMakeLists.txt
2011-12-19Changed the default value of to 2 to avoid breaking existing scripts which ↵Marius Kintel
assume a certain default tesselation behavior
2011-12-06Ported from QFileInfo to boost::filesystemMarius Kintel
2011-11-06Slight refactoring of builtin function and module handlingMarius Kintel
2011-11-05bugfix: PI constant didn't work in cmd-line mode. refactored away duplicate codeMarius Kintel
2011-09-06Added support for an untyped import() module, deprecating the explicitly ↵Marius Kintel
typed import_*() ones
2011-09-06Deprecated dxf_linear_extrude(), dxf_rotate_extrude() and the file ↵Marius Kintel
parameters to linear_extrude() and rotate_extrude()
2011-09-03Some cleanup of the Context classMarius Kintel
2011-09-03Ported a bunch of stuff from Qt to STLMarius Kintel
2011-04-12Ported recent changes to master into the visitor branchMarius Kintel
2011-02-05Proof of concept implementation of builtin constants.Giles Bathgate
2011-01-21Copyright updatesMarius Kintel
2010-10-31Ignore empty filenames when calculating absolute pathMarius Kintel
2010-02-28Clifford Wolf:clifford
Implemented 'use' statement git-svn-id: http://svn.clifford.at/openscad/trunk@459 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-10typo in warning messagekintel
git-svn-id: http://svn.clifford.at/openscad/trunk@429 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-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