summaryrefslogtreecommitdiff
path: root/src/module.h
AgeCommit message (Collapse)Author
2014-01-02Integrate feature registry with modules.Torsten Paul
In case a module is attached to a disabled feature, the module lookup will give a warning message and ignore that (builtin) module.
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-18Merge remote-tracking branch 'origin/issue181' into epec-kernelMarius Kintel
Conflicts: src/MainWindow.h src/ModuleCache.cc src/mainwin.cc src/module.cc src/module.h src/parsersettings.cc testdata/modulecache-tests/cascade.sh testdata/modulecache-tests/cascade2.sh
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-02Merge branch 'master' into issue181Marius Kintel
2013-06-01Dump the else part of if-else blocks if it has any content. Part of #384Marius Kintel
2013-05-28Minor refactoring, no longer automatically reloads if a dependency disappearsMarius Kintel
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-13bugfix: Fixed recursion crash (#346)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-18Cleaned up argument list handling, related to #116Marius 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-02-17Handle include dependenciesMarius Kintel
2012-02-15Initial implementation of ModuleCache and dependency tracking of used modulesMarius Kintel
2012-01-04Additional fixes after merging with masterMarius Kintel
2011-12-26Some light refactoring attempts, didn't get very far..Marius Kintel
2011-09-04Ported use for Qt's foreach to BOOST_FOREACHMarius Kintel
2011-09-03Ported a bunch of stuff from Qt to STLMarius 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-27Clifford Wolf:clifford
Added include<...> statement Prepared use<...> statement git-svn-id: http://svn.clifford.at/openscad/trunk@457 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-01-30header file reorgkintel
git-svn-id: http://svn.clifford.at/openscad/trunk@365 b57f626f-c46c-0410-a088-ec61d464b74c
contact: Jan Huwald // Impressum