summaryrefslogtreecommitdiff
path: root/src/module.cc
AgeCommit message (Collapse)Author
2014-02-10Fixed a bug failing to detect changes in underlying libraries. Should ↵Marius Kintel
improve some of the issues reported in #181
2014-02-09Cleaned up some module cache misbehaviors. Fixes #535Marius Kintel
2013-10-09bugfix related to #460: removed duplicate initializeModule()Marius Kintel
2013-10-04Merge branch 'bom-tree-std-stack' of git://github.com/steelman/openscad into ↵Marius Kintel
steelman-bom-tree-std-stack Conflicts: src/module.cc
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-08-18Enable module stack introspection from within an SCAD scriptŁukasz Stelmach
The _current_module and _parent_module variables have been replaced by a built-in function parent_module(n). It takes one numeric parameter n, and returns n-th element from the module stack. If no argument provided, n defaults to 1 and the function returns the name of the direct parent module. If n is equal 0 current module name is returned.
2013-08-17Introduce '_current_module' and '_parent_module' variablesŁukasz Stelmach
Add two built-in variables that provide access to the names of the current and the previously instantiated modules. Having these variables simplifies generation of BOMs and assembly graphs (e.g. with GraphViz). [std::stack]
2013-06-13Fixed a bug where changing a file during a large automatic reload could ↵Marius Kintel
cause a crash
2013-06-06Minor refactoring of include checksMarius Kintel
2013-06-06Increase recursion limit to 1000Marius Kintel
2013-06-06Don't auto-reload missing files, reduce warning output from periodically ↵Marius Kintel
called functions
2013-06-01Dump the else part of if-else blocks if it has any content. Part of #384Marius Kintel
2013-05-27Support locating previously missing modules. yet another part of #364Marius Kintel
2013-05-26Fixed remaining issue. We now correctly detect removal of files as changes. ↵Marius Kintel
Removed temporary debug output. Fixes #364
2013-05-25Search paths when looking for previously missing includes. Should provide ↵Marius Kintel
most of what's needed for #364
2013-05-20try to refactor the 'is_modified( includefile )' codeDon Bright
2013-05-19first refactoring towards fixing issue364Don Bright
2013-05-13bugfix: Fixed recursion crash (#346)Marius Kintel
2013-05-09Forgot to actually add most files in previous commit (#217)Marius Kintel
2013-04-26Modified parse to allow overloading of variables in local blocks. Also did ↵Marius Kintel
some minor cleanups while at it. Test cases missing
2013-04-26Further refactoring of scope/context mechanisms. Mostly related to the new ↵Marius Kintel
FileContext class. Not quite there yet, but almost
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-26Refactored assignments and assignments_var into one componentMarius Kintel
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-09Disable context debug outputMarius Kintel
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-04-05I think this should fix issue #217Marius Kintel
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-09-02Block recursion on circular or recursive inclusions. Fixes #187Marius Kintel
2012-03-28Less debug outputMarius Kintel
2012-02-17Handle include dependenciesMarius Kintel
2012-02-15Comment out some debug info to let tests passMarius Kintel
2012-02-15Initial implementation of ModuleCache and dependency tracking of used modulesMarius Kintel
2012-01-25Ported printutils away from QtMarius Kintel
2011-12-26Some light refactoring attempts, didn't get very far..Marius Kintel
2011-11-06Slight refactoring of builtin function and module handlingMarius Kintel
2011-09-04bugfix: context mixup after last foreach fixMarius Kintel
2011-09-04Ported use for Qt's foreach to BOOST_FOREACHMarius Kintel
2011-09-03Some cleanup of the Context classMarius Kintel
2011-09-03Ported a bunch of stuff from Qt to STLMarius Kintel
2011-09-02Refactoring: Moved color functionality into separate module and nodeMarius Kintel
2011-08-04De-Qt-ified AbstractNodeMarius Kintel
2011-04-12Ported recent changes to master into the visitor branchMarius Kintel
2011-01-21Copyright updatesMarius Kintel
2010-11-07Refactored some QString usage in the backend to std::stringMarius 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-20Clifford Wolf:clifford
Added cgaladv.cc with advanced transformations via CGAL (as of now only 3d minkowksi sum is implemented but more is planned) git-svn-id: http://svn.clifford.at/openscad/trunk@446 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-12Support for if-else statementskintel
git-svn-id: http://svn.clifford.at/openscad/trunk@436 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
contact: Jan Huwald // Impressum