Commit Graph

44 Commits (master)

Author SHA1 Message Date
Torsten Paul da657d7543 Treat deprecation as warning message (fixes #1143). 2015-01-07 17:05:50 +01:00
Marius Kintel 4cd712d24d Merge remote-tracking branch 'origin/master' into stack-size-hack
Conflicts:
	src/context.h
	src/control.cc
	src/evalcontext.h
	src/localscope.cc
	src/module.cc
2014-11-25 11:25:37 -05:00
Marius Kintel 23c9dee265 bugfix: Correctly handle else scopes, handle overrides inside assign scopes 2014-11-25 00:45:00 -05:00
Marius Kintel 406e6e1bac #409 Pass Value objects as shared_ptr instances instead of by Value to battle excess stack usage 2014-11-23 00:59:17 -05:00
Marius Kintel ea1d561c46 Support variable assignment in local blocks. This should fix #347 but more testing is needed 2014-11-17 00:57:36 -05:00
Marius Kintel 328fbb9000 Allow slices to be specified independently of twist. Fixes #850 2014-06-26 16:43:12 -04:00
Tim V. Shaporev 0b4e4ee946 fixup issue 767 & func.cc cleanup
1) fixed last cases of duplicate calls to getArgValue() in builtin_lookup() and instantiate();
2) make sin_degrees() & cos_degrees() separate functions to use in other parts of code;
3) cleaned most of gcc warnings in func.cc
2014-06-04 14:04:21 +04:00
Marius Kintel e4dd4da818 #791 Handle twist=0 as no twist 2014-05-19 11:49:41 -04:00
Torsten Paul d8a1b5f7eb Convert Assignment to use shared pointers for Expressions (fixes #709). 2014-03-30 19:16:50 +02:00
Marius Kintel ab6192e465 Merge branch 'master' into unstable
Conflicts:
	src/openscad.cc
	src/printutils.h
2014-03-02 22:41:05 -05:00
Marius Kintel fbfc9b0879 Print each deprecation message only once per compilation. Fixes #678 2014-03-02 22:09:10 -05:00
Marius Kintel dc9429acac Use GeometryEvaluator instead of CGALEvaluator. A bunch of refactoring and fixes as a result of that. Renamed GUI menu items to reflect preview vs. render 2014-01-09 02:06:35 -05:00
Marius Kintel acd08b6f1a Green refactoring, but uncertain if we should keep it 2014-01-09 02:06:32 -05:00
Torsten Paul b49f51dab3 Moved get_fragments_from_r into Calc 2013-12-27 17:48:15 -05:00
Marius Kintel 3f936099fa Clamp linear_extrude height to 0. Fixes #405 2013-06-15 12:48:09 -04:00
Marius Kintel adffb9121f Added support for 2D scaling in linear_extrude 2013-05-10 18:01:50 +02:00
Marius Kintel 130e10778e Initial code to support scaling of linear_extrude(). Part of Issue #273 2013-05-10 13:45:28 +02:00
Marius Kintel f46118da22 Merge branch 'master' into issue352 2013-05-09 12:18:51 +02:00
Marius Kintel 14e1ad2363 Forgot to actually add most files in previous commit (#217) 2013-05-09 12:12:58 +02:00
Don Bright f8ad66c8bb fix issue 352 - require 'file' to be a string 2013-05-08 23:20:06 -05:00
Marius Kintel 9a297ecee5 Refactoring: Split out FileModule from Module, Added LocalScope renamed some confusing 'evaluate' methods to 'instantiate', added FileContext (not yet used) 2013-04-26 17:45:03 -04:00
Marius Kintel 64ed1eb9fe Experiment: Lazy evaluation of argument lists in evaluation context. Allows e.g. for loop variables to be dependent on each other 2013-04-26 17:42:32 -04:00
Marius Kintel 58bd9c9e3f Cleaned up argument list handling, related to #116 2013-04-18 18:34:14 -04:00
Marius Kintel a37813a899 Refactored context handling into using separate Module contexts and Eval contexts. This allows for recursive module calls, and cascading children. I believe this fixes issue #116 2013-04-09 00:28:16 -04:00
Marius Kintel 1b8b7aa5fa I think this should fix issue #217 2013-04-05 01:30:09 -04:00
don bright 8cc442369f fix bugs in build 2012-07-15 14:29:14 -05:00
Marius Kintel 2495df6bab Add timestamp to cache key for modules importing files. Fixes #141 2012-07-14 21:57:41 -04:00
Marius Kintel 3085bcc65c port to new value class after merge 2012-07-10 21:52:38 -04:00
Marius Kintel 5e47342406 Merge branch 'master' into value
Conflicts:
	src/linearextrude.cc
2012-07-10 21:42:59 -04:00
Marius Kintel deaeafea8d coding style 2012-07-07 16:30:04 -04:00
Don Bright aa8aee623a fix crash bug 2012-05-28 16:30:19 -05:00
Don Bright 352af3eab0 removed debugging 2012-05-28 14:33:20 -05:00
Don Bright e63218f2de remove debugging 2012-05-28 14:33:05 -05:00
Don Bright e1e2fac61b enable linear_extrude to use first unnamed parameter as height, if number 2012-05-28 14:32:24 -05:00
Marius Kintel 327310f190 Rewrote the Value class to be based on boost::variant - this should reduce memory footprint and improve performance 2012-03-28 00:05:58 +02:00
Marius Kintel eff1f7f8c9 Ported printutils away from Qt 2012-01-25 03:11:12 +01:00
Marius Kintel 02112071d4 Removed unused Qt include 2011-12-06 04:07:58 +01:00
Marius Kintel f73b8289f6 Correctly escape special characters in dumped strings. Fixes dumptest_import_dxf-tests 2011-11-07 03:59:40 +01:00
Marius Kintel aa94d42d2c Don't dump timestamp of included files, this wasn't really used anywhere 2011-11-07 02:37:44 +01:00
Marius Kintel 45161d4356 Slight refactoring of builtin function and module handling 2011-11-06 18:37:12 +01:00
Marius Kintel 91394ed8bd Bugfix: rotate_extruder and linear_extrude module toString() output was not parsable 2011-11-06 03:25:59 +01:00
don bright a1c698f422 enable build of cgalpngtest under windowsXP 2011-10-10 18:01:51 -05:00
Marius Kintel 84e98b178a Cleaned up some unnecessary includes 2011-10-01 01:36:30 +02:00
Marius Kintel bf3fb9634c Renamed some files and classnames for clarification 2011-09-30 03:11:28 +02:00