Commit Graph

4674 Commits (241723dd8f4a14aafedff4b0ddee1364f051cbd6)

Author SHA1 Message Date
Torsten Paul 241723dd8f Merge branch 'stack-size-hack' of github.com:openscad/openscad into stack-size-hack
Conflicts:
	src/expr.cc
2014-11-24 23:46:39 +01:00
Torsten Paul dc8f559b85 Use class hierarchy for the different types of expressions. 2014-11-24 23:37:42 +01:00
Torsten Paul 756f8079d8 Add class to determine the current stack size. 2014-11-24 23:36:29 +01:00
Torsten Paul ba4c50c631 Add function to retrieve the maximum stack size. 2014-11-24 23:34:57 +01:00
Marius Kintel ab96a82629 Minor cleanup of recursion exception handling 2014-11-24 17:30:05 -05:00
Marius Kintel 54a111472f Initial experiment with using exceptions to handle stack overflows 2014-11-24 12:54:14 -05:00
Torsten Paul 6ed14dafb0 Remove big switch statement from expression evaluation.
The switch statement causes a huge stack overhead that is very bad for
evaluating recursive functions.
2014-11-24 00:53:46 +01:00
Torsten Paul 69451af578 Use heap for Context object. 2014-11-24 00:53:46 +01:00
Torsten Paul 609f665406 Extract PRINTB() from recursion stack. 2014-11-24 00:53:46 +01:00
Torsten Paul 1f73807097 Hack to track stack size in function evaluation. 2014-11-24 00:53:41 +01: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 ef262f62a2 Merge pull request #1021 from openscad/mdi-fixes
Fix MDI issues.
2014-11-16 16:45:56 -05:00
Torsten Paul 8cf85e0987 Fix MDI issues. 2014-11-16 19:35:16 +01:00
Marius Kintel 1263042fc9 typo 2014-11-15 17:28:33 -05:00
Marius Kintel 6e5edb5beb No need to run dxfpngtest on #899 2014-11-15 17:04:12 -05:00
Marius Kintel 61819efd4b Merge pull request #1018 from openscad/resource-lookup-fix
Resource lookup fix
2014-11-15 16:49:30 -05:00
Torsten Paul 66b22b24a5 Add path information to info output. 2014-11-15 22:44:46 +01:00
Torsten Paul e1db572688 Fix application path initialization for --info. 2014-11-15 22:44:46 +01:00
Torsten Paul 2d6ac803be Initialize application path. 2014-11-15 22:44:46 +01:00
Torsten Paul 7761c0887b Postpone color scheme initialization after the application path is set. 2014-11-15 22:44:46 +01:00
Torsten Paul 635bf29308 Throw an error if the application path is accessed before it's initialized. 2014-11-15 22:44:46 +01:00
Torsten Paul ce16eb5ce0 Lookup resource folder only once and add some debug output. 2014-11-15 22:44:46 +01:00
Torsten Paul 650a0d2d21 Add debug output for color scheme enumeration. 2014-11-15 18:39:17 +01:00
Marius Kintel 109c566e44 Merge pull request #1016 from mcguffin/master
BBEdit Lang Module: Enable Un/Comment selection in the Text menu
2014-11-15 12:05:44 -05:00
Jörn Lund 6e58efd370 Enable Un/Comment selection in the Text menu 2014-11-15 18:02:15 +01:00
Marius Kintel c16284abca Merge pull request #1015 from mermerico/master
Improved DXF output compatibility
2014-11-14 09:58:59 -05:00
mermerico 85a91d62a5 Improved DXF output compatibility
Changed coordinate order from [X1 X2 Y1 Y2] to [X1 Y1 X2 Y2]. Both orders are standard compliant but [X1 Y1 X2 Y2] is far more common and can be parsed linearly. Some libraries, like the python libraries dxfgrabber and ezdxf, cannot open [X1 X2 Y1 Y2] order.
2014-11-14 09:49:06 -05:00
Marius Kintel 1d9b664e85 #899 Updated testcase: Tagged as 2D test 2014-11-11 16:17:21 -05:00
Marius Kintel 43221a78e1 Updated test results after viewAll changes 2014-11-10 16:18:28 -05:00
Marius Kintel e6b8f83859 Use dev@openscad.org for notification emails 2014-11-10 15:19:21 -05:00
Marius Kintel 40aae17c0e Move software update menu handling to AutoUpdater. This should fix #714 2014-11-10 15:01:34 -05:00
Marius Kintel e518cb9089 bugfix: Correct order of recent files on splash screen 2014-11-08 23:00:56 -05:00
Marius Kintel 31b90d1acb Merge pull request #1008 from openscad/externalize-colorschemes2
Externalize colorschemes
2014-11-08 20:49:15 -05:00
Marius Kintel 4ef9f3e817 Bumped QScintilla to 2.8.4 2014-11-08 19:45:02 -05:00
Marius Kintel 03ac045802 #802 Slimmed down testcase 2014-11-07 10:56:58 -05:00
Marius Kintel 877c010269 #802 Updated test results 2014-11-07 10:03:15 -05:00
Marius Kintel be9853cd20 #791 Added testcase 2014-11-07 09:54:01 -05:00
Marius Kintel aba7ba7665 #584 updated test results 2014-11-07 09:37:25 -05:00
Marius Kintel 28d7d54502 Issue warning if trying to export previous F6 state. Fixes #48 2014-11-06 08:14:04 +01:00
Marius Kintel 92389b8589 Merge pull request #1003 from openscad/configure-window-reorder
Add option to disable window reordering by removing the dock window title bar
2014-11-05 21:28:13 +04:00
Marius Kintel 90f58ced7d Allow preview of designs with only background or highlight objects. Fixes #1005 2014-11-05 21:24:09 +04:00
Marius Kintel a3a6b66061 Ignore background nodes when checking for mixed 2D and 3D objects. Fixes #1004 2014-11-05 19:35:00 +04:00
Marius Kintel 4bc3d98509 #1004 Added testcase 2014-11-05 19:25:45 +04:00
Marius Kintel d74450eaad Allow pretty print of tests which fail with a non-zero return code 2014-11-05 19:25:05 +04:00
Marius Kintel 56866bc3d8 #1006 is a duplicate of #945 2014-11-05 19:05:56 +04:00
Marius Kintel 01b845397a Added buildonly option 2014-11-05 18:59:06 +04:00
Marius Kintel 7086f5fc37 Fixed build issue related to https://svn.boost.org/trac/boost/ticket/6455 2014-11-05 18:58:45 +04:00
Marius Kintel 1342db57cf Include debug objects in View All 2014-11-05 18:33:30 +04:00
Marius Kintel 162b453981 Merge remote-tracking branch 'origin/master' into externalize-colorschemes2 2014-11-05 18:26:10 +04:00
Marius Kintel 44af2b86ce Added color-schemes folder 2014-11-05 18:25:55 +04:00