Commit Graph

2431 Commits (cc4b633e436ce028b911345b987e48ba5e96fae8)

Author SHA1 Message Date
Marius Kintel 1e2b28ac2f Merge remote-tracking branch 'origin/master' into translation2 2014-12-01 16:47:36 -05:00
Marius Kintel 57974baa13 Silence verbose debug output 2014-12-01 16:47:00 -05:00
Marius Kintel d6d814586c Merge pull request #1037 from openscad/issue949
Use FileContext when evaluating $vp{rtd} variables (fixes #949).
2014-12-01 10:56:32 -05:00
Marius Kintel 80050e94db merge fixes 2014-12-01 02:51:56 -05:00
Marius Kintel 5743064d56 Merge remote-tracking branch 'origin/master' into translation2 2014-12-01 02:34:28 -05:00
Marius Kintel a05fe72c6b Rewrote tessellation used for NefPolyhedron to PolySet conversion. Should fix #1033 2014-12-01 00:54:01 -05:00
Torsten Paul ef9f2f3289 Retain FileContext to lookup $vp{rtd} variables after compilation (fixes #949). 2014-11-30 16:37:17 +01:00
Torsten Paul 6263bfd269 Render crosshair a bit less intrusive. 2014-11-30 03:22:14 +01:00
Torsten Paul fcbd9fc024 Fix crosshair at the center of the display (fixes #1025). 2014-11-30 03:04:15 +01:00
Torsten Paul 3992cc547b Update drawing logic (fixes #1035).
- Draw negative part of the axis with stippled lines
- Calculate contrast color for axis based on background color
- Disable lighting for axis / crosshair
2014-11-30 03:04:01 +01:00
Marius Kintel 75b57cd9b5 Added some malformed polyhedron tests and fixed an assertion bug 2014-11-27 21:00:23 -05:00
Marius Kintel fac2340989 More correct handling of empty geometry. Should fix a few crash bugs 2014-11-27 20:40:37 -05:00
Marius Kintel c2775d4541 doc 2014-11-27 20:38:53 -05:00
Marius Kintel 91139402ea toPolygon2d() should never return NULL 2014-11-27 20:38:09 -05:00
Marius Kintel defb486a64 createGeometry() should never return NULL 2014-11-27 20:37:40 -05:00
Marius Kintel 4d6db2caa7 fixes crash when intersecting 3 or more 2d objects which results in an empty polygon 2014-11-27 15:27:09 -05:00
Torsten Paul a820487032 Simple implementation of tail-recursion elimination. 2014-11-26 22:53:10 +01:00
Marius Kintel 819f5d085f Moved Polygon typedef out of PolySet class 2014-11-26 15:22:15 -05:00
Marius Kintel 0b58b7d2b3 Compile fix: Don't include Carbon as it pollutes the global namespace with e.g. 'Polygon' 2014-11-26 15:02:44 -05:00
Marius Kintel ecbaec0849 Updated ClipperLib to 6.2.1 2014-11-25 17:41:08 -05:00
Marius Kintel b621287610 C++11 build fix 2014-11-25 17:40:49 -05:00
Marius Kintel 2e8d93d5be Some Expression refactoring 2014-11-25 17:08:14 -05:00
Marius Kintel b03345ec18 bugfix: dump of list comprehension if expression was buggy 2014-11-25 17:01:10 -05:00
Marius Kintel d99dea1db2 bugfix after merging master - dynamic memory caused contexts not to be destructed 2014-11-25 15:53:44 -05:00
Marius Kintel 32bc6ae516 inlined stack pointer retrieval to silence compiler warning 2014-11-25 15:06:20 -05:00
Marius Kintel 2644b19ce7 Reimplemented serialization of expression to string after last refactoring 2014-11-25 15:05:36 -05:00
Marius Kintel be9b0ee925 indentation 2014-11-25 11:26:14 -05: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 3612db6a2f Fixes crash during the second run of a failing recursive module 2014-11-24 20:44:39 -05:00
Marius Kintel f1b29e1db9 Removed old stack measurement code 2014-11-24 18:54:51 -05:00
Marius Kintel 15835271c2 Implemented stackLimit() for Mac OS X 2014-11-24 18:29:13 -05:00
Marius Kintel d8010a0659 Take a copy of the name of the recursive component, don't use a pointer to a temporary string 2014-11-24 18:25:38 -05:00
Marius Kintel e0fbeb8d95 Use StackCheck to detect module recursion 2014-11-24 18:12:58 -05:00
Torsten Paul aa586136ae Remove duplicate warning message. 2014-11-24 23:52:07 +01:00
Torsten Paul c206fab087 Merge branch 'stack-size-hack' of github.com:openscad/openscad into stack-size-hack 2014-11-24 23:46:57 +01:00
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
Marius Kintel 5debac7de0 Throw and catch RecursionException on module recursion 2014-11-24 17:44:39 -05:00
Marius Kintel edc64bdbe9 forgot exceptions.h 2014-11-24 17:43:13 -05: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 d381ec8bcf #347 Deprecated assign() 2014-11-20 18:31:24 -05:00
Marius Kintel 6a1bc270fd Removed unused member variable 2014-11-20 18:30:58 -05:00
Marius Kintel b2c205ba4c Merge remote-tracking branch 'origin/master' into translation2
Conflicts:
	tests/csgtexttest.cc
2014-11-17 21:56:53 -05:00
Marius Kintel 1afb706461 Merge remote-tracking branch 'origin/master' into translation2 2014-11-17 21:55:19 -05:00
Marius Kintel b83bf31ac4 Merge branch 'master' into issue347 2014-11-17 01:00:41 -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
Torsten Paul 8cf85e0987 Fix MDI issues. 2014-11-16 19:35:16 +01: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 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
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
Torsten Paul 99c617562c Remove obsolete LOCALE_PREFIX and update documentation. 2014-11-13 00:39:17 +01:00
Torsten Paul ca3672b19c Move translation files to locale folder instead of po.
While this is not the standard name for the files, this makes the
resource handling easier as the PlatformUtils code already handles
lookup for both installed and dev layouts. At least for Linux the
installed name would be /usr/share/locale, so we use that in source
too for now.
2014-11-13 00:24:44 +01:00
Torsten Paul 59c4dec623 Merge branch 'master' into translation2 2014-11-12 23:21:42 +01: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 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 7086f5fc37 Fixed build issue related to https://svn.boost.org/trac/boost/ticket/6455 2014-11-05 18:58:45 +04:00
Marius Kintel 162b453981 Merge remote-tracking branch 'origin/master' into externalize-colorschemes2 2014-11-05 18:26:10 +04:00
Marius Kintel 26da9ca983 Include debug objects in View All 2014-11-05 18:22:08 +04:00
Marius Kintel 3fd7d9da3c Unify resource path location, correctly find resources for the test suite on Mac 2014-11-05 16:45:14 +04:00
Marius Kintel 9205a378c4 Added ~/Library/Application Support as user config path on Mac 2014-11-05 16:14:14 +04:00
Torsten Paul a9cbabdbc2 Remove some obsolete dependencies to colormap.h. 2014-11-02 23:42:24 +01:00
Torsten Paul 46bffd3f4c Move default color scheme back into code. 2014-11-02 23:36:23 +01:00
Torsten Paul 34981284fc Use local AppData folder for user config on Windows. 2014-11-02 16:39:51 +01:00
Torsten Paul 7c3077b0f2 Read color schemes from additional user config path. 2014-11-01 23:06:36 +01:00
Torsten Paul e59a2f035e Handle color scheme lookup in test cases. 2014-11-01 20:51:36 +01:00
Torsten Paul 2ee58893f5 Move render color schemes to separate files. 2014-11-01 20:51:36 +01:00
Torsten Paul df119fec75 Add solarized render color map to match the editor color scheme. 2014-11-01 20:51:36 +01:00
Torsten Paul 0886944fcd Handle setting of additional color schemes. 2014-11-01 20:51:36 +01:00
Torsten Paul 23275dc927 Get color schemes from editor; Enumerate from resource folder for scintilla. 2014-11-01 20:51:36 +01:00
Torsten Paul 395795949e Move color scheme values into resource files. 2014-11-01 20:51:36 +01:00
Torsten Paul 63201e25fd Add option to disable window reordering by removing the dock window title bar. 2014-11-01 18:55:48 +01:00
Torsten Paul 5078f401e9 Change console minimum size to 10x10. 2014-11-01 17:24:28 +01:00
Marius Kintel a68b39ead7 Fix regression related to intersection with empty shapes. Fixes #996 2014-10-31 15:28:26 +04:00
Marius Kintel a93196eb7e Update settings for show/hide toolbars. Fixes #1001 2014-10-31 11:45:04 +04:00
Torsten Paul 7ad0a86b02 Fix crash in hull() with empty CGAL child geometry (fixes #990). 2014-10-21 20:57:18 +02:00
Torsten Paul ea39c70471 Ensure window is visible after restoring the window state (fixes #976). 2014-10-20 00:22:22 +02:00
Torsten Paul ebb7dde012 Fix status handling for docked windows.
Especially for the case where the windows are docked as tabs in the
same position, the "visibility-changed" signal does not work as close
indicator. The window is also treated as invisible when just the tab
is invisible, not only in case the window is closed.
2014-10-20 00:21:06 +02:00
Torsten Paul 6cd441e0f1 Port translation code to use resource path from PlatformUtils. 2014-10-19 01:43:45 +02:00
Torsten Paul e4071472ad Rename for easier translation. 2014-10-19 01:25:23 +02:00
Torsten Paul baf49d107f Add translations. 2014-10-19 01:25:23 +02:00
Torsten Paul 9e52f2fc1b Add N_() to allow adding translation keys without direct gettext() call. 2014-10-19 01:25:23 +02:00
Torsten Paul 05c3c3e76c Add gettext to new dialogs. 2014-10-19 01:25:23 +02:00
Torsten Paul c8a24971b6 Add preferences option to enable/disable localization. 2014-10-19 01:25:23 +02:00
Torsten Paul 929d909947 Set Qt text encoding to UTF-8. 2014-10-19 01:25:23 +02:00
Torsten Paul 8f2491cd0a Support linux packaging structure with shared locale folder. 2014-10-19 01:25:23 +02:00
Torsten Paul cfe14254d4 Handle resource layout on linux and add translation files to openscad.pro. 2014-10-19 01:25:23 +02:00
Torsten Paul afd52b3075 Fix compilation of test cases. 2014-10-19 01:25:23 +02:00
Torsten Paul a512a6442e Handle the MacOS application layout when finding resources. 2014-10-19 01:25:23 +02:00
Torsten Paul d620c8f40b Allow localization to be enabled/disabled by configuration settings.
This is only the logic to check the settings, no GUI.
Changing the setting requires a restart as disabling localization simply
skips the call to bindtextdomain() at the application start.
2014-10-19 01:25:23 +02:00
Torsten Paul ae2d19241e Use application resource path to locate the translation files. 2014-10-19 01:25:23 +02:00
Torsten Paul a7e3c8639c Fix compile problem on MinGW and force UTF-8 as encoding. 2014-10-19 01:25:23 +02:00
Torsten Paul 17244af2f9 Add more gettext calls. 2014-10-19 01:25:23 +02:00
don bright c559be20e1 Create basic gettext infrastructure and French language stub. 2014-10-19 01:25:14 +02:00
Torsten Paul 32874b6d92 Retain selection after comment/uncomment (fixes #986). 2014-10-17 23:42:34 +02:00
Marius Kintel f7b15e92a5 #244 Escape spaces in filenames 2014-10-14 16:31:09 -04:00
Marius Kintel a7eab14c29 Proper fix of the save-saveas problem 2014-10-13 15:34:47 -04:00
Marius Kintel 1ab34dc9d0 bugfix: Attempted to assign temporary variable to a const&, broke in debug mode. Fixes #980 2014-10-13 15:13:17 -04:00
Marius Kintel c577c7e501 Calling signals from outside is only possible with Qt5. This is probably the wrong hack anyway 2014-10-12 23:13:15 -04:00
Marius Kintel 1cc4f6be53 update the previous fix: SCN_SAVEPOINTLEFT() is only accessible in QScintilla >= 2.8, always save the file on actionSave() 2014-10-11 18:59:27 -04:00
Marius Kintel d064b9238f bugfix: When saving an unmodified file using Save As, the file wasn't actually saved 2014-10-11 18:38:34 -04:00
Marius Kintel 3dca2873e0 Handle arriving FileOpen events while the launchscreen is active, cleaned up some code, make static MainWindow handling more robust. Fixes #972 2014-10-09 22:13:18 -04:00
Marius Kintel a4b999e0d4 Use same UI inheritance style for launchingscreen as other components, indentation fixes 2014-10-09 17:21:15 -04:00
Marius Kintel 428cf27a03 Merge pull request #957 from openscad/restore_selection_for_find
Editor: Restore lost 'use selection for find' functionality
2014-10-02 02:11:43 -04:00
Marius Kintel 0993d5c9c2 Merge branch 'master' into scintilla-updates
Conflicts:
	src/MainWindow.ui
2014-10-02 02:10:55 -04:00
Marius Kintel 253b57f747 #964 Implemented a more robust polygon triangulator which will now handle intersecting edges properly. Should output more sane corner-case meshes, although they're not perfectly manifold 2014-10-02 01:38:05 -04:00
Marius Kintel 8eff7ed37b #964 Catch precondition exception for malformed (self-intersecting) polygons to avoid a crash 2014-10-01 00:43:34 -04:00
Marius Kintel 7343290ffc Removed empty toolbar subtypes 2014-09-30 17:25:01 -04:00
Marius Kintel a8e9f63928 Improved some variable naming 2014-09-30 17:18:40 -04:00
Marius Kintel bc86312997 bugfix: Font list was connected to wrong slot 2014-09-30 16:48:36 -04:00
Marius Kintel 7a1737c09f toolBar -> viewerToolBar, indendation fixes 2014-09-30 16:47:14 -04:00
Marius Kintel 6ed2acf791 Merge remote-tracking branch 'origin/master' into Toolbar2 2014-09-29 11:46:45 -04:00
Torsten Paul 1776bcd460 Add menu entry to convert tabs to spaces. 2014-09-19 23:25:49 +02:00
Torsten Paul cdb4120dcb Set indentation defaults. 2014-09-19 23:25:03 +02:00
Oskar Linde ec696b8240 Editor: Don't clear the findbox text if nothing is selected when hitting Ctrl+F 2014-09-19 22:36:08 +02:00
Oskar Linde e533d2a71a Mac: Findbuffer support 2014-09-19 22:35:20 +02:00
Torsten Paul ecc5622e7f Reapply keyboard shortcut fix from #770. 2014-09-19 21:58:39 +02:00
Marius Kintel 42507526b6 minor cosmetics 2014-09-19 14:17:04 -04:00
Oskar Linde 8d3d2fe9f4 Editor: Restore lost 'use selection for find' functionality 2014-09-19 19:52:59 +02:00
Oskar Linde b62079a632 Mark twist-free linear extrusions of convex polygons convex 2014-09-18 23:14:21 +02:00
Oskar Linde 2e1f24b4dc Bugfix. Fixes #953 2014-09-18 23:14:16 +02:00
Torsten Paul d039729878 Add "ViewAll" and remove "Crosshair" icon from toolbar. 2014-09-18 23:14:12 +02:00
Torsten Paul 97424f0447 Add keyboard shortcut to the tooltip of toolbar actions. 2014-09-18 22:55:06 +02:00
Marius Kintel e1fd9c83b8 #948 Allow export of collinear triangles to avoid creating holes in meshes 2014-09-15 20:51:41 -04:00
Torsten Paul e68fc74c87 Merge branch 'master' into Toolbar2
Conflicts:
	openscad.pro
	openscad.qrc
2014-09-15 21:49:47 +02:00
Marius Kintel 988333abb8 Merge branch 'master' of github.com:openscad/openscad 2014-09-15 15:43:05 -04:00
Marius Kintel 41348f2166 Merge branch 'launchingscreen' of github.com:openscad/openscad into launchingscreen 2014-09-15 15:35:24 -04:00
Marius Kintel d9ae0dab10 #894 Let enter key open last selected item, allow cursor keys for item selection 2014-09-15 15:35:21 -04:00
Torsten Paul c19df82b72 Use HTML to render the headline text. 2014-09-15 21:29:32 +02:00
Marius Kintel 52797177b2 Auto-fill search field for search&replace 2014-09-15 14:43:31 -04:00
Torsten Paul f8336029f1 Merge branch 'master' into launchingscreen
Conflicts:
	openscad.pro
2014-09-15 19:58:55 +02:00
Torsten Paul 131119fd28 Fix stylesheet issue (wrong scrollbar style; unreadable tooltips on MacOS). 2014-09-15 18:12:00 +02:00
Torsten Paul cbddc6313e Fix build. 2014-09-15 17:47:15 +02:00
Keven Villeneuve adbe4c9d86 Modernise help library info 2014-09-14 22:08:18 -04:00
Torsten Paul f9b0a7e9a9 Add more icons. 2014-09-14 21:39:15 +02:00
Torsten Paul c251683c20 Move ToolBar setup to GUI design file. 2014-09-14 21:17:27 +02:00
shaina7837 56ebdd92f1 Added toolbars in Designer, make search panel appear below toolbar 2014-09-14 20:40:29 +02:00
shaina7837 3fd08be98e render icon is shifted to rendering window toolbar 2014-09-14 20:39:59 +02:00
shaina7837 642407c241 improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
shaina7837 8e3b3e1919 added few more icons with tool tips 2014-09-14 20:39:17 +02:00
shaina7837 3f37cf8c50 toolbar splitted into two 2014-09-14 20:39:12 +02:00
shaina7837 efb23fc9bd toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
shaina7837 7345de27b1 toolbar set 2014-09-14 20:38:20 +02:00
Torsten Paul d67b01c7f2 Default to show welcome screen if no settings value available. 2014-09-14 04:00:17 +02:00
Torsten Paul 78e341cd4c Add bigger logo image. 2014-09-14 03:18:32 +02:00
Torsten Paul aec33dd75f Separate launching screen from main window and show before main window opens. 2014-09-14 02:08:57 +02:00
Torsten Paul 8c892907c2 Make welcome screen resizable and update some minor UI issues.
- Move images to icons folder
- Move "Show welcome screen" to advanced tab in preferences
- Set button styles via Qt stylesheet to handle hover and disable
- Rename config setting to "launcher/showOnStartup" and add default
2014-09-13 23:52:21 +02:00
Torsten Paul e7d3025753 Merge branch 'master' into launchingscreen
Conflicts:
	openscad.pro
	openscad.pro.user
	src/MainWindow.h
	src/Preferences.cc
	src/Preferences.h
	src/Preferences.ui
	src/mainwin.cc
	src/openscad.cc
2014-09-13 21:19:44 +02:00
Marius Kintel 51c54f2e5b Add --render=cgal option for test purposes (forces conversion to CGAL Nef polyhedron before rendering 2014-09-04 17:35:32 -04:00
Marius Kintel cfb15466e4 #337 Print warning on non-simple export instead of refusing to export 2014-09-04 17:34:53 -04:00
Marius Kintel efc552b0bf Only print one degenerate triangle warning per polyset 2014-09-04 14:40:03 -04:00
Marius Kintel fc26d25011 #915 Make QScintilla editor the default 2014-09-04 14:25:41 -04:00
Marius Kintel 0d304f7e43 #924 Made MDI and undocking options visible again 2014-09-04 12:18:46 -04:00
Marius Kintel 45a649d6ab #879 fix some keyboard binding issues 2014-09-03 15:00:52 -04:00
Marius Kintel 9ef3349e4e #879 fixed some minor layout and shortcut issues 2014-09-03 14:52:41 -04:00
Marius Kintel 845df0cce1 Merge remote-tracking branch 'origin/master' into scintillaeditor
Conflicts:
	scripts/mingw-x-build-dependencies.sh
2014-09-03 12:46:54 -04:00
Marius Kintel de2e1090ca Merge branch 'master' of github.com:openscad/openscad 2014-09-03 12:28:16 -04:00
Marius Kintel c7f8d283e2 Merge pull request #928 from openscad/mingw-master
MXE master / Fix Windows cache folder
2014-09-03 12:14:42 -04:00
Marius Kintel 546c8dd1d7 constness, codingstyle 2014-09-03 12:14:27 -04:00
Torsten Paul af9843d91b Remove code to add Windows font folder - handled by fonts.conf. 2014-09-03 17:46:27 +02:00
Torsten Paul 3d2290c203 Use FcMatchPattern to make alias replacement work. 2014-09-03 17:43:19 +02:00
Torsten Paul a95b14da42 Add platform abstraction for setenv() which is not supported on MinGW. 2014-09-03 00:36:05 +02:00
Marius Kintel 5dd4823936 Merge remote-tracking branch 'origin/master' into scintillaeditor 2014-08-28 12:04:12 -04:00
Marius Kintel db14aa2bba Tweaked font config handling to hopefully be more correct 2014-08-28 00:39:51 -04:00
Marius Kintel 9ee42012fc Return a canonical resources path 2014-08-28 00:39:20 -04:00
Marius Kintel 0f9450137f Refactored resource path lookup 2014-08-27 16:00:15 -04:00
Marius Kintel edded0f69d Bugfix: Added missing code for properly comparing booleans 2014-08-26 14:52:22 -04:00
Marius Kintel c4d3f22145 C++11 compile fix 2014-08-24 21:27:23 -04:00
Torsten Paul c5c5a02163 Implement indent/unindent and comment/uncomment. 2014-08-24 23:49:13 +02:00
Marius Kintel 99bc04c9ab #879 scintilla editor incorrectly reported a freshly opened file as modified 2014-08-24 17:40:46 -04:00
Marius Kintel 844edc9b78 cosmetics 2014-08-24 17:40:12 -04:00
Marius Kintel 07e620e611 Merge remote-tracking branch 'origin/master' into scintillaeditor 2014-08-24 17:10:35 -04:00
shaina7837 257af85259 brace matching, cursor display and line number scaling is fixed as per the todo list 2014-08-23 20:29:54 +05:30
Marius Kintel 03e5e43269 #879 bugfix: modificationChanged connectinon was made to the wrong component, cosmetics 2014-08-23 01:33:35 -04:00
Marius Kintel f6e02ffb0c cosmetics 2014-08-23 01:28:07 -04:00
Marius Kintel ee89658df3 Use selection as text for find function 2014-08-23 01:25:29 -04:00
Marius Kintel e3960304bd #879 Implemented wheel zoom for scintilla editor 2014-08-23 01:18:51 -04:00
Marius Kintel 6ecf72a976 #879 bugfix: emit contentsChanged instead of textChanged, cosmetics 2014-08-23 01:15:04 -04:00
Marius Kintel 8ab3f843c7 indentation 2014-08-23 00:57:57 -04:00
Marius Kintel c9b0a16843 Use #pragma once 2014-08-23 00:57:22 -04:00
Marius Kintel 3c45262ea8 cosmetics 2014-08-23 00:53:49 -04:00
Marius Kintel 759e926b9a Added Q_OBJECT macro to make slots work, made wrapping look more like existing editor 2014-08-22 18:54:09 -04:00
Marius Kintel 10f4a52985 #879 Handle document modification signals, make editor interface more abstract 2014-08-22 18:39:12 -04:00
Marius Kintel f6b74eb6e0 Fixed a search&replace bug, removed some unused code 2014-08-22 18:10:58 -04:00
Marius Kintel bd19da5d6e bugfix: superclass initialization was removed in last commit 2014-08-22 15:10:54 -04:00
Marius Kintel fe0f24602d #879 kill c++11 warning 2014-08-22 15:10:08 -04:00
Marius Kintel cea96185aa #879 made paste viewport translation and rotation work for scintilla editor 2014-08-22 14:22:33 -04:00
Marius Kintel 79f44ae7fa Fix file drops to legacy editor, misc. cosmetics 2014-08-22 14:17:24 -04:00
Marius Kintel c59d3aef79 indentation 2014-08-22 13:42:23 -04:00
Marius Kintel 138d5bc57e Merge remote-tracking branch 'origin/master' into scintillaeditor
Conflicts:
	src/MainWindow.h
	src/Preferences.ui
	src/mainwin.cc
2014-08-22 12:59:10 -04:00
Marius Kintel 574fbf97c5 Force shininess to 64 - this is reported to fix #71 2014-08-22 11:48:34 -04:00
Marius Kintel acb7fe8e96 Don't export malformed triangles (< 3 unique vertices) 2014-08-21 17:08:11 -04:00
Marius Kintel 724fbbab5f Handle failure to convert cmd-line parameters to numbers. Fixes #908 2014-08-21 16:28:59 -04:00
Marius Kintel 51c43af4f4 #337 Enabled conversion directly from Nef polyhedron to PolySets, making us able to deal with more manifold corner cases 2014-08-21 13:20:32 -04:00
Marius Kintel 3e5df1a965 added missing file cgalutils-tess.cc 2014-08-20 11:43:12 -04:00
Marius Kintel de6bcb1786 small reorg of cgalutils namespace 2014-08-19 22:02:08 -04:00
Marius Kintel b8bbd6f842 The minkowski module needs to pass on any given convexity value. Fixes #911 2014-08-19 13:13:20 -04:00
shaina7837 c7ea10575a minor code cleanup 2014-08-18 10:29:38 +05:30
shaina7837 b54710404a minor code cleanup 2014-08-18 09:43:43 +05:30
Marius Kintel 9d79d90104 #337 bugfix: We exported inner surfaces instead of outer ones 2014-08-17 15:07:02 -04:00
Marius Kintel 11952c4c0c PRINT -> PRINTD 2014-08-17 13:58:48 -04:00
Marius Kintel 2631cf6430 Merge pull request #873 from openscad/builtin-chr
Built-in chr()
2014-08-17 12:44:29 -04:00
Marius Kintel 9a1074ebbc #703 Ignore faces with <3 vertices while checking for convexity. Fixes crash 2014-08-17 12:42:24 -04:00
Marius Kintel 207b56d0a4 #703 Don't try to export empty objects 2014-08-17 12:41:45 -04:00
Marius Kintel e8407afc6d #703 Don't try to export empty objects 2014-08-17 12:38:06 -04:00
Marius Kintel b073521aa8 Silence fallback lookup warnings 2014-08-17 12:06:59 -04:00
Marius Kintel 6405456c8a Renamed CGAL_renderer to CGAL_OGL_Polyhedron for clarity 2014-08-15 13:04:34 -04:00
Marius Kintel 99e41df4db doc 2014-08-15 12:13:04 -04:00
shaina7837 91ed8723c3 font and size operations in preferences are working for qscintilla editor 2014-08-15 14:13:58 +05:30
Marius Kintel 717ff3b1ef forgot to add colormap class 2014-08-14 17:19:41 -04:00
Marius Kintel e70bc04197 Colormap functionality from pull request #816, mostly by Don Bright, includes new colormaps by shaina 2014-08-14 17:16:24 -04:00
Marius Kintel 5c3cfa4e98 Make real-time find work 2014-08-13 18:58:59 -04:00
Marius Kintel a25f02780e #879 Fix forward/backward search in the scintilla editor 2014-08-13 18:52:01 -04:00
Marius Kintel cfb2f350c8 Merge remote-tracking branch 'origin/master' into scintillaeditor 2014-08-13 16:57:15 -04:00
Marius Kintel 53a8841603 #894 Minor cleanup 2014-08-13 15:59:45 -04:00
Marius Kintel 84b11c29d9 #894 compile fix for MDI mode, minor cleanup 2014-08-13 15:30:47 -04:00
Marius Kintel 72c6982f85 Merge remote-tracking branch 'origin/master' into launchingscreen 2014-08-13 15:08:09 -04:00
shaina7837 fbc13a7456 added generic function in editor interface 2014-08-13 21:29:56 +05:30
shaina7837 7ef1e9b59e recents list in launching screen contains names of files instead of path 2014-08-13 09:43:24 +05:30
shaina7837 1ef69bb940 indent/unindent comment/uncomment menu items removed when scintilla editor is on 2014-08-11 20:09:50 +05:30
Torsten Paul 0760103ac7 Change FontDialog button to do "copy to clipboard". 2014-08-10 20:40:43 +02:00
Marius Kintel e9edb69603 Some adjustment of default color scheme 2014-08-10 00:56:04 -05:00
Marius Kintel ab62050727 Merge pull request #886 from openscad/fix-recursive-include
Fix recursive include handling by using canonical path (fixes #885).
2014-08-09 22:28:27 -05:00
Marius Kintel 080c9ea193 Merge remote-tracking branch 'origin/master' into scintillaeditor
Conflicts:
	scripts/macosx-build-dependencies.sh
2014-08-09 22:27:40 -05:00
Marius Kintel d4f240e272 Merge branch 'scintillaeditor' of github.com:openscad/openscad into scintillaeditor 2014-08-09 22:25:38 -05:00
shaina7837 46a948d302 find and replace working in scintillaeditor 2014-08-07 07:34:37 +05:30
shaina7837 7da7c07918 added solarized theme 2014-08-05 19:23:10 +05:30
shaina7837 fbceb0bdd8 added Monokai theme color scheme in scintilla editor 2014-08-05 07:52:30 +05:30
Torsten Paul c0c4fdf527 Handle $fn, $fa and $fs for CSG output. 2014-08-03 20:31:03 +02:00
Torsten Paul a4b9bb554d Lower number of segments generated for bezier path. 2014-08-03 20:31:03 +02:00
Torsten Paul b920352f98 Save original $fn value for CSG output. 2014-08-03 20:31:03 +02:00
shaina7837 a70c4eb8e2 added box style folding 2014-08-03 22:29:17 +05:30
shaina7837 9925639a45 no launching screen if filename is given at cmd line 2014-08-03 21:36:38 +05:30
shaina7837 9e4cf7f326 tab width made default 2014-08-03 17:59:10 +05:30
shaina7837 a23f54a416 changed tab with to 4 characters 2014-08-03 17:40:06 +05:30
shaina7837 958e6c89da made the size of launching screen fixed 2014-08-03 12:27:19 +05:30
shaina7837 24efe77962 QSettings header file added after QApplication 2014-08-02 21:11:10 +05:30
shaina7837 1ff309a9d2 #include<QSettings> added after #include<QApplication 2014-08-02 20:53:16 +05:30
shaina7837 b18631873e dialog box closed after selecting option 2014-08-02 19:38:02 +05:30
shaina7837 755c23391e added option in preferences to show launcher again 2014-08-02 11:46:07 +05:30
shaina7837 4ae7746b95 make checkbox working to show or hide launcher in launching screen 2014-08-02 10:36:06 +05:30
shaina7837 e637a75617 example button is disabled if nothing selected 2014-08-02 01:14:45 +05:30
shaina7837 4697a8268f launching screen examples working 2014-08-01 23:35:30 +05:30
shaina7837 ad11bd8cd2 launching screen 2014-08-01 22:32:55 +05:30
Torsten Paul 428790c771 Update to use boosty.h as older boost versions seem to be still in use. 2014-07-31 21:58:59 +02:00
Torsten Paul c5ce5a400c Fix recursive include handling by using canonical path (fixes #885). 2014-07-30 00:14:03 +02:00
Marius Kintel a8f1ec7319 Merge remote-tracking branch 'origin/master' into scintillaeditor 2014-07-23 23:42:28 -04:00
Marius Kintel 12f28fd194 Make autocenter preserve direction 2014-07-23 23:35:35 -04:00
Don Bright 02f91a7413 debugging messages. update diffpng
Conflicts:
	src/Camera.cc
	tests/CMakeLists.txt
2014-07-22 15:21:41 -04:00
Marius Kintel af8c3ee9d1 Merge remote-tracking branch 'origin/master' into scintillaeditor
Conflicts:
	src/PlatformUtils.cc
2014-07-22 14:48:45 -04:00
Marius Kintel b3d094a604 Fixed failing tests by adjusting some mistakes done while cherry-picking from the test_3d_export branch 2014-07-22 14:11:21 -04:00
Don Bright d2338e9e87 make default render like it was before. (bbox.center=center) 2014-07-22 14:00:45 -04:00
Marius Kintel d21dea3fd1 Removed debug info 2014-07-22 14:00:43 -04:00
Don Bright 209feff810 redo 2d tests to be viewed from the top down. experiment w altering viewall code
Conflicts:
	src/Camera.cc
	tests/CMakeLists.txt
	tests/regression/cgalpngtest/resize-2d-tests-expected.png
	tests/regression/cgalpngtest/rotate_extrude_dxf-tests-expected.png
	tests/regression/cgalpngtest/text-font-alignment-tests-expected.png
	tests/regression/cgalpngtest/text-font-direction-tests-expected.png
	tests/regression/cgalpngtest/text-font-simple-tests-expected.png
	tests/regression/cgalpngtest/text-font-tests-expected.png
	tests/regression/dumptest/resize-2d-tests-expected.csg
	tests/regression/opencsgtest/intersection2-tests-expected.png
	tests/regression/opencsgtest/resize-2d-tests-expected.png
	tests/regression/opencsgtest/rotate_extrude_dxf-tests-expected.png
	tests/regression/opencsgtest/text-font-alignment-tests-expected.png
	tests/regression/opencsgtest/text-font-direction-tests-expected.png
	tests/regression/opencsgtest/text-font-simple-tests-expected.png
	tests/regression/opencsgtest/text-font-tests-expected.png
	tests/regression/throwntogethertest/resize-2d-tests-expected.png
	tests/regression/throwntogethertest/rotate_extrude_dxf-tests-expected.png
	tests/regression/throwntogethertest/text-font-alignment-tests-expected.png
	tests/regression/throwntogethertest/text-font-direction-tests-expected.png
	tests/regression/throwntogethertest/text-font-simple-tests-expected.png
	tests/regression/throwntogethertest/text-font-tests-expected.png
2014-07-22 14:00:08 -04:00
Don Bright f3a0d5dc64 add --autocenter option to make it easier to test 2d objects properly
Conflicts:
	src/Camera.cc
	tests/CMakeLists.txt
2014-07-22 13:37:09 -04:00
Marius Kintel 28864037ee Split info() function into separate file as it depends on too many defines and external libs 2014-07-22 13:32:44 -04:00
Marius Kintel fef8e6a9a8 Correctly display OpenCSG version for test suite 2014-07-22 11:49:08 -04:00
Oskar Linde 7358e1108f Resolve issue #883 2014-07-22 11:11:57 +02:00
Marius Kintel 0852e707a6 Don't crash on infinite dimensions. Fixes #859 2014-07-17 17:59:42 -04:00
Marius Kintel f87ee92755 bugfix: don't crash on empty resize(). refactoring: added virtual copy() to geometry, moved resize() to CGAL_Nef_polyhedron. Fixes #862 2014-07-17 17:03:03 -04:00
Marius Kintel 68962e1c01 Allow building without scintilla 2014-07-17 15:28:23 -04:00
Marius Kintel 6b95307ae1 Improved editor tab layout 2014-07-17 15:28:14 -04:00
Marius Kintel 514a34a85f bugfix: always return a bool 2014-07-17 15:10:58 -04:00
Marius Kintel 66ec59eaae Added QScintilla version to library info 2014-07-17 15:10:39 -04:00
Marius Kintel 6270441341 Merge remote-tracking branch 'origin/master' into scintillaeditor
Conflicts:
	openscad.pro
	src/mainwin.cc
2014-07-17 15:07:42 -04:00
Marius Kintel c7aa75c558 Merge pull request #856 from openscad/fix-viewport-scoping
Fix viewport variable scoping
2014-07-17 11:14:01 -04:00
Torsten Paul 94fd976bad Add chr() function to convert numbers to unicode characters. 2014-07-13 18:43:44 +02:00
Torsten Paul f47edd1bfe Accept Macintosh/Roman charmap and always dump charmaps (as debug output). 2014-07-12 21:36:56 +02:00
Torsten Paul ca51057485 Read font index from fontconfig and check result from FcPatternGet(). 2014-07-12 21:36:56 +02:00
Torsten Paul 2b37c39861 Add filter for font table. 2014-07-12 21:36:56 +02:00
Torsten Paul f01afd7252 Add paste button to font list dialog. 2014-07-12 21:36:56 +02:00
Torsten Paul d86e9d43ee Fix text() CSG output and cleanup test cases.
- enable text feature in import-export test cases
- drop ParaType font as Liberation is needed for the composition regression
  test, so use this for other tests too
- drop Amiri bold font, which is not adding anything to coverage
2014-07-12 21:36:50 +02:00
shaina7837 91d4929af7 content modified message without modifying anything problem get solved 2014-07-11 20:32:30 +05:30
shaina7837 8ab18596ad runtime switching from simple editor to scintilla editor 2014-07-11 19:41:16 +05:30
Torsten Paul 6cb5e9218f Setup camera distance for both perspective and orthogonal mode. 2014-07-08 00:55:01 +02:00
Torsten Paul 3709fc30b2 Match gimbal camera orientation with values shown in GUI. 2014-07-08 00:55:01 +02:00
Torsten Paul ae1adbe785 Fix scoping issues when evaluating $vpt, $vpr, $vpd. 2014-07-08 00:55:01 +02:00
Torsten Paul 444ae5d705 Fix FreeType include handling. 2014-07-08 00:44:16 +02:00
Torsten Paul d413e4695b Use special handling for Windows/Symbol charmap only with charcodes >= 0xf000.
Some fonts with symbol encoding still have the charcodes in the ASCII
area instead of Unicode page 0xf000. To make those work too, the special
handling is only enabled in case the first charcode is >= 0xf000.
2014-07-07 23:28:03 +02:00
Torsten Paul f29d10a49f Select charmap when loading fonts and add workaround for windows symbol fonts. 2014-07-07 23:28:03 +02:00
Marius Kintel c47ba7c8ba Merge pull request #865 from openscad/feature/cam_center
Camera handling: Double click on a point of an object to set the camera center
2014-07-07 23:12:38 +02:00
Torsten Paul 90ef6c95a3 Fix render issue with combining chars intersecting with the base char.
Example: text("A\u030A", font = "Arial");

The fix relies on the winding order of the polygons reported by FreeType
to be correct, so the Clipper union operation keeps that information.
2014-07-06 18:41:41 +02:00
Oskar Linde b257891391 Camera handling: Double click on a point of an object to set the camera center 2014-07-06 07:40:46 +02:00
Torsten Paul ea21e0fbd5 Show font path in Library Info window. 2014-07-06 04:28:16 +02:00
Torsten Paul f820727fe8 Remove unused path lookup and move OPENSCAD_FONT_PATH to fontconfig. 2014-07-06 03:57:25 +02:00
Torsten Paul 29b22c49fe Add /Library/Fonts for MacOS. 2014-07-06 03:37:54 +02:00
Torsten Paul ffeae16728 Set default font and add loading of additional fontconfig config file. 2014-07-06 03:24:46 +02:00
Torsten Paul cac3de5461 Use const for std::string arguments. 2014-07-05 23:54:19 +02:00
Oskar Linde f9ac5053a1 Bugfix: Cmd-S on an unmodified document inserted an 's' 2014-07-05 22:13:51 +02:00
Marius Kintel 9fdc44b00f Merge branch 'master' of github.com:openscad/openscad 2014-06-26 19:42:20 -04:00
Torsten Paul bc17acf8fe Fix handling of multi-line comments.
If not eaten by the lexer, the comment content will be dumped to stdout
as default action.
2014-06-26 23:05:05 +02:00
Marius Kintel 328fbb9000 Allow slices to be specified independently of twist. Fixes #850 2014-06-26 16:43:12 -04:00
Marius Kintel 4bed4902e9 Bugfix: Zoom was broken for orthographic cameras. Fixes #853 2014-06-26 15:34:15 -04:00
Marius Kintel 7e5ad73c66 Removed unused code 2014-06-26 15:33:40 -04:00
Marius Kintel 0a566b3d83 Removed unused code 2014-06-26 15:33:22 -04:00
Marius Kintel 1085d3507a Set fixed point to 2^16 2014-06-26 15:32:52 -04:00
Marius Kintel f108798c00 Output debug info only in debug mode 2014-06-26 15:31:22 -04:00
Marius Kintel 705b913c18 Use transparency from color name. Fixes #852 2014-06-26 11:36:02 -04:00
Marius Kintel 8733b875f2 Output debug info only in debug mode 2014-06-25 23:54:10 -04:00
Marius Kintel d9fda460cc Popped path_stack once too many. Should fix #837 2014-06-24 19:23:06 -04:00
Marius Kintel b81ab0530d Output debug info only in debug mode 2014-06-24 19:22:15 -04:00
Marius Kintel ccb9495354 Merge branch 'master' into text-escape-sequences
Conflicts:
	tests/CMakeLists.txt
2014-06-24 18:32:14 -04:00
Torsten Paul 581928a8fd Fix no-break space handling. 2014-06-24 19:17:50 +02:00
Marius Kintel bbdfe9b706 Make concat() a primary feature (not experimental) 2014-06-23 22:42:11 -04:00
Torsten Paul d46b8a8465 Handle UTF-8 multi-byte characters in the lexer. 2014-06-23 23:21:16 +02:00
Torsten Paul 1a2fcc0559 Add support for \x \u and \U escape sequences.
For all escape sequences the 0 byte is illegal and converted to a space.

\x supports only the range from 0x01 to 0x7F as the values greater or
equal to 0x80 could produce illegal UTF-8 sequences.

\u allows to specify unicode codepoints with exactly 4 hex digits.

\U allows to specify unicode codepoints with exactly 6 hex digits.
2014-06-23 23:21:16 +02:00
Torsten Paul 62aebbbb37 Add encoding of \r. 2014-06-23 23:21:16 +02:00
Torsten Paul 86e87e45f9 Use toString() when generating echo() messages (fixes #838).
When using the Value << operator, strings are encoded (e.g. a newline
character is encoded as \n), but echo() should output the text as given.
2014-06-23 23:21:16 +02:00
Oskar Linde 681f03a2a7 Resolve #835 2014-06-23 10:15:39 +02:00
Marius Kintel d066648390 Added View->View All menu entry 2014-06-21 16:12:55 -04:00
Marius Kintel 4097aa887d Merge pull request #841 from openscad/viewport-variables
Add $vpd and make the viewport variables writeable
2014-06-21 15:35:56 -04:00
Marius Kintel 1ed3e4c4ad #840 bugfix: Set the up vector to Y axis in the case where we're looking down the Z axis 2014-06-21 14:53:31 -04:00
Marius Kintel 01e70046fb #810 removed unused code 2014-06-21 14:33:11 -04:00
Marius Kintel de3dc8461c #840 bugfix: Small axes had wrong rotation, adjusted size of the big axes after changing FOV to 45 degrees 2014-06-21 14:14:06 -04:00
Marius Kintel 49ff368c78 #840 Adjust default camera distance after changing FOV to 45 degrees 2014-06-21 14:12:52 -04:00
Marius Kintel 81d92f2254 Some cleanup of old eigen2 workarounds. Added fix to support cameras looking down the Z axis 2014-06-21 12:44:38 -04:00
Marius Kintel 96d17bd6e2 Updated Clipper to 6.1.3a 2014-06-21 12:43:19 -04:00
Torsten Paul b88564b9b2 Allow setting $vpt/$vpr/$vpd at top-level to set the viewport camera. 2014-06-21 18:29:51 +02:00
Torsten Paul fafcf1dbfa Add variable $vpd containing the viewport camera distance (Fixes #839). 2014-06-21 18:29:49 +02:00
shaina7837 6a67c0b6bb highlighting and background color set 2014-06-20 12:07:40 +05:30
Marius Kintel 458d60faa6 Refactored the camera handling a bit, added --viewall cmd-line parameter 2014-06-19 17:47:38 -04:00
shaina7837 0b6814f253 syntax highlighting implemented 2014-06-19 22:53:00 +05:30
shaina7837 25bf6dd20b new lexer added 2014-06-17 21:45:04 +05:30
shaina7837 9d35c792ed scad lexer added 2014-06-17 21:04:54 +05:30
Torsten Paul 0d9e627a8c Ignore visibility change events when the window is closing (fixes #812). 2014-06-14 15:30:48 +02:00
Torsten Paul f20ad99be9 Remove unnecessary include. 2014-06-13 20:37:45 +02:00
shaina7837 6ff02a9ada editor padding removed 2014-06-13 06:10:47 +05:30
shaina7837 6b8acb0d3a error indicator with line marker 2014-06-12 20:26:18 +05:30
shaina7837 9f276a5788 error indicator implemented 2014-06-12 13:31:28 +05:30
shaina7837 a297a1b0aa syntax highlighting 2014-06-11 15:59:05 +05:30
Marius Kintel 832725d957 Merge branch 'master' into minkowski-speedup 2014-06-09 22:03:52 -04:00
Marius Kintel aac577635a Merge pull request #826 from tim-caper/winconsole.c
use MS Windows API for Unicode and/or stdout support
2014-06-09 22:00:32 -04:00
Oskar Linde 6b8118c3fe Fix build on Travis 2014-06-09 01:28:14 +02:00
Oskar Linde e8bdf04d48 Fix second half of #495: Nef with holes get imported correctly (CGAL Bug) 2014-06-09 01:17:26 +02:00
Oskar Linde 8e16e2fecb Fix half of #495: Exported facets get correct orientation 2014-06-09 01:17:26 +02:00
Oskar Linde 331df90e4a Make Nef -> OpenGL conversion aware of face orientations allowing (but not enabling) Nef renderer to mark in purple or cull backfaces 2014-06-09 01:17:26 +02:00
Oskar Linde 6df806c60c Minkowski bugfix: Multi-convex shell polyhedra were incorrectly classified as convex 2014-06-08 15:24:24 +02:00
Torsten Paul c6a4332025 Use Scintilla editor only with DEFINES+=USE_SCINTILLA_EDITOR. 2014-06-07 17:43:52 +02:00
shaina 9a712c0c26 scintilla editor working 2014-06-07 17:43:52 +02:00
shaina 950ffe9722 layout problem of editor is solved 2014-06-07 17:43:52 +02:00
Marius Kintel 22e884d08f Quick and dirty fixup 2014-06-07 17:43:52 +02:00
shaina 59a71b7e6e added scintilla editor classes 2014-06-07 17:43:52 +02:00
shaina 5a0df4e6d9 legacyeditor 2014-06-07 17:43:46 +02:00
Oskar Linde acd6cb1a4e Bugfix: Work around Clipper's incorrect isHole status after offset() 2014-06-06 13:06:37 +02:00
Tim V. Shaporev 32e3daf767 use MS Windows API for Unicode and/or stdout support 2014-06-06 12:31:22 +04:00
Marius Kintel d90945db6a Merge branch 'winconsole2' of git://github.com/tim-caper/openscad into tim-caper-winconsole2
Conflicts:
	src/openscad.cc
2014-06-05 15:38:59 -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
Oskar Linde c3da736f4d Remove some c++11-syntax 2014-06-03 18:51:29 +02:00
Oskar Linde cb2c5029c0 Faster minkowski() 2014-06-03 18:51:29 +02:00
Oskar Linde 8c977a45e5 Make sure convex objects remain convex as Nef polyhedrons 2014-06-03 18:51:29 +02:00
Marius Kintel 1999898508 devicePixelRatio() was introduced in Qt-5.1.0 2014-05-31 15:52:08 -04:00
Marius Kintel ca3ff7cf66 Related to #737 - allow for nbsp (0xc2a0) characters on the cmd-line 2014-05-29 18:22:32 -04:00
Marius Kintel ef1c92ca2f #803 compile fix: Initializing static variables in a header file is a GNU extension 2014-05-28 22:53:32 -04:00
Marius Kintel 4ccda0f794 #784 bugfix: Missing conversion to radians 2014-05-28 22:52:21 -04:00
Marius Kintel ce24e2e29b Initialize FaceInfo properly. Caused problems with some compilers, e.g. on Ubuntu 12.04 2014-05-26 17:35:37 -04:00
Marius Kintel f18becefec Merge pull request #792 from openscad/list-comprehensions
List comprehensions && let() expression
2014-05-26 15:39:48 -04:00
Marius Kintel a6cc43f1f6 #810 Quickfix to improve progress feedback on CSG ops 2014-05-26 00:27:20 -04:00
Marius Kintel 38c24fe006 Merge branch 'master' into list-comprehensions 2014-05-25 16:00:10 -04:00
Marius Kintel 0ae6ea9c8a doc 2014-05-25 15:59:46 -04:00
Marius Kintel 89ade7c568 Attempt to fix some problems related to use of temporary objects after they've potentially been destructed 2014-05-25 00:50:19 -04:00
Marius Kintel e536e1ba19 Merge branch 'master' of https://github.com/openscad/openscad 2014-05-24 21:50:16 +02:00
Marius Kintel 447c260438 Ubuntu 12.04 build fixes 2014-05-24 21:41:04 +02:00
Marius Kintel 65edc63166 kill warning 2014-05-24 12:08:37 -04:00
Marius Kintel c9bbb3b9bf Use shared_ptr instead of managing memory manually 2014-05-23 17:44:14 -04:00
Marius Kintel 3c9d9a705a Merge branch 'master' into csg-import-tests 2014-05-22 23:44:41 -04:00
Marius Kintel db19afcf80 Updated include guards to #pragma once 2014-05-22 22:26:46 -04:00
Oskar Linde dd4e229a46 let()-expression: disable reassignments 2014-05-22 22:24:26 +02:00
Oskar Linde 0a610baf5b Refactor let and list comprehension expressions a little
to be more in line with the other expression evaluation refactoring to minimize stack space
2014-05-22 21:51:29 +02:00
Oskar Linde c67ef30b75 Merge remote-tracking branch 'origin/list-comprehensions' into list-comprehensions-and-let 2014-05-22 21:37:49 +02:00
Oskar Linde 02cb1f0ca8 Speed up 3D convex hull() by a few orders of magnitude by using a more suitable kernel 2014-05-22 21:15:34 +02:00
Oskar Linde 35c2a5e5ca Speed up 3D hull() slightly by avoiding converting the result to Nef 2014-05-22 20:09:54 +02:00
Marius Kintel 943e98ae80 Merge branch 'master' into text-module 2014-05-21 16:43:11 -04:00
Marius Kintel 2838795d63 #802 Added test, issue warning instead of crashing 2014-05-21 14:01:12 -04:00
Torsten Paul c64360d372 Merge branch 'master' into text-module
Conflicts:
	tests/CMakeLists.txt
2014-05-20 21:36:51 +02:00
Marius Kintel e64734f8fd bugfix: Empty import combined with real geometry caused an assert failure 2014-05-19 15:21:43 -04:00
Marius Kintel e4dd4da818 #791 Handle twist=0 as no twist 2014-05-19 11:49:41 -04:00
Torsten Paul 84eada804b Fix CSG output of offset(). 2014-05-18 17:32:10 +02:00
Marius Kintel acab1dda1c Mac fix: Only use NSLog when GUI launched 2014-05-17 14:28:22 -04:00
Marius Kintel f002fed152 bugfix: Don't try to export if a root geometry wasn't created 2014-05-17 13:04:45 -04:00
Marius Kintel 7a709b5e8b Merge pull request #785 from OskarLinde/vector_min_max
Make min() and max() handle vector argument
2014-05-17 11:59:01 -04:00
Marius Kintel 6a0d70033d Merge pull request #796 from OskarLinde/offset_bugfix
Offset bug with delta < 1
2014-05-17 11:57:50 -04:00
Marius Kintel e931c8ab83 bugfix: Dumptest failed to dump the highlight modifier 2014-05-17 11:53:11 -04:00
Oskar Linde dfa1748c81 Bugfix: Offset with rounded join_type calculated fragments incorrectly for delta < 1 2014-05-17 14:23:46 +02:00