Commit Graph

270 Commits (cc4b633e436ce028b911345b987e48ba5e96fae8)

Author SHA1 Message Date
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 0f9450137f Refactored resource path lookup 2014-08-27 16:00:15 -04:00
Marius Kintel 724fbbab5f Handle failure to convert cmd-line parameters to numbers. Fixes #908 2014-08-21 16:28:59 -04:00
shaina7837 c7ea10575a minor code cleanup 2014-08-18 10:29:38 +05:30
Marius Kintel e8407afc6d #703 Don't try to export empty objects 2014-08-17 12:38:06 -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 84b11c29d9 #894 compile fix for MDI mode, minor cleanup 2014-08-13 15:30:47 -04:00
shaina7837 9925639a45 no launching screen if filename is given at cmd line 2014-08-03 21:36:38 +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 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 ad11bd8cd2 launching screen 2014-08-01 22:32:55 +05:30
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 458d60faa6 Refactored the camera handling a bit, added --viewall cmd-line parameter 2014-06-19 17:47:38 -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
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
Tim V. Shaporev 298680ff1b attach to parent console and provide stdout/stderr for GUI app. under Windows 2014-05-17 09:02:44 +04:00
Marius Kintel 5da1861534 Merge pull request #787 from openscad/mdi+dockable-windows
Make editor and console windows dockable / make MDI mode a runtime option.
2014-05-13 00:43:46 -04:00
Torsten Paul 4fbbc09895 Make editor and console windows dockable and make MDI mode a runtime option. 2014-05-12 22:47:42 +02:00
Tim V. Shaporev 76389d83cc fixup issue 766 2014-05-03 19:44:22 +04:00
Marius Kintel e30a40f432 minor cleanup of stack handling 2014-04-10 01:23:01 -04:00
Don Bright 0d950338e1 fix issue #694 2014-04-04 23:40:23 -05:00
Torsten Paul 9f76288c74 Add AMF export via command line. 2014-03-30 22:59:18 +02:00
Marius Kintel 98957526c8 Merge branch 'unstable' into svg-export 2014-03-30 22:53:31 +02:00
Don Bright 590711aa26 fix build problem under qt5 2014-03-28 14:01:14 -05: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
Torsten Paul f6129ffdb8 Add SVG export via command line. 2014-03-02 19:26:21 +01:00
Don Bright 3de6986d8f Merge branch 'master' of github.com:openscad/openscad into issue680 2014-03-01 15:16:39 -06:00
Don Bright 780d897ff2 fix issue 680 2014-03-01 15:14:35 -06:00
Marius Kintel bbfddcdd85 killed warning; unused variable 2014-03-01 15:15:13 -05:00
Don Bright b2fbad4005 attempt to band-aid fix issue 677 by changing fromUtf8 to fromLocal8Bit 2014-02-27 17:42:22 -06:00
Don Bright afcf7239ab fix broken linux gui build!! 2014-02-26 18:29:57 -06:00
Don Bright ced162977f fix broken test build 2014-02-26 18:07:30 -06:00
Don Bright 36e0d73e69 enable qtaccessibility plugin so that screenreading of QAction menu works
(tested on Jaws screenreader demo on Windows 7, per bug report to mailing list
by Robert Jaquiss 2/25/2014)
2014-02-25 20:20:14 -06:00
Don Bright 020d65eff0 fix issue #671 (regression) 2014-02-24 18:38:45 -06:00
Marius Kintel bab951b344 Merge branch 'master' into unstable
Conflicts:
	src/CGALEvaluator.cc
	src/MainWindow.h
	src/MainWindow.ui
	src/import.cc
	src/mainwin.cc
	src/winconsole.c
	tests/CMakeLists.txt
2014-02-23 15:49:26 -05:00
Marius Kintel 3ac8895d7a Enable experimental features only for snapshot builds 2014-02-23 15:47:26 -05:00
Marius Kintel bd14e4bab3 Inspired by #386, delete main windows on close 2014-02-21 02:09:30 -05:00
Marius Kintel 7bb18bae69 Revert "Backported 2e3729ab22 to master; redo assemblePath for Win. redo openscad.com to handle spaces in filenames"
This reverts commit 55192e46a4.
2014-02-17 20:53:09 -05:00
Marius Kintel 55192e46a4 Backported 2e3729ab22 to master; redo assemblePath for Win. redo openscad.com to handle spaces in filenames 2014-02-06 00:44:03 -05:00
Marius Kintel 34333941d3 Merge branch 'master' into unstable 2014-02-05 01:08:44 -05:00
Marius Kintel 0f3de6ca8a Qt5: Ported Q_WS usage to Q_OS 2014-02-05 00:27:05 -05:00
Marius Kintel 17dc062904 csgtermtest output has changed after refactoring 2014-02-03 23:33:14 -05:00
Marius Kintel 528ef22104 Merge branch 'master' into unstable
Conflicts:
	src/openscad.cc
2014-02-03 22:55:58 -05:00
Marius Kintel c4e41d76e1 Added --csglimit parameter 2014-02-03 22:53:54 -05:00
Marius Kintel db20a3afac Added --debug to usage 2014-02-01 13:26:15 -05:00
Marius Kintel cdd23c5d63 Merge branch 'unstable' into printd0 2014-02-01 12:56:20 -05:00
Don Bright 36d5bde12b add '--debug=' option to openscad cmdline. see printutils.h for usage 2014-01-30 18:29:34 -06:00
Don Bright 2e3729ab22 redo assemblePath for Win. redo openscad.com to handle spaces in filenames 2014-01-28 23:08:04 -06:00
Marius Kintel 59fca2674a Merge branch 'master' into issue527
Conflicts:
	tests/regression/cgalpngtest/minkowski2-tests-expected.png
	tests/regression/opencsgtest/minkowski2-tests-expected.png
	tests/regression/throwntogethertest/minkowski2-tests-expected.png
2014-01-18 18:31:06 -05:00
Marius Kintel f881efe477 killed warning 2014-01-18 18:26:38 -05:00
Marius Kintel d4be9b4153 bugfix: Allow rendering empty images 2014-01-09 02:06:36 -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 f4ae95d9e5 Handle shared_ptr in signals/slots 2014-01-09 02:06:34 -05:00
Marius Kintel 1f488f851d Refactoring to facilitate more sharing of code between CGALEvaluator, GeometryEvaluator and CGALUtils 2014-01-09 02:06:34 -05:00
Marius Kintel 11b7624bbf Made CGAL_Nef_polyhedron a Geometry subtype, implemented 3D transforms, implemented projection, implemented render 2014-01-09 02:06:33 -05:00
Marius Kintel b8c15cfb8a Preliminary large refactoring: Created GeometryEvaluator as a replacement for PolySetEvaluator. Use ClipperLib for 2D CSG (first baby steps). This design is far from perfect but sacrifice design for staying in the green. This version is broken, but can render primitives. 2014-01-09 02:06:32 -05:00
Marius Kintel 20938506b6 Mac fix: We need to use bundled resources when running bundled apps in cmd-line node 2014-01-07 15:44:28 -05:00
Marius Kintel e3f416db27 Added missing --version and --info to help output 2014-01-03 14:57:06 -05:00
Marius Kintel 3d5b844679 Keep cmd-line and GUI separate in terms of preferences, handle experimental tests separately, minor cleanups 2014-01-03 02:31:57 -05:00
Torsten Paul 72865e17da Add feature registry. 2014-01-02 23:27:52 +01:00
Marius Kintel eb046015d2 #559 Fix Qt font rendering on OS X 10.9 2013-12-08 15:17:17 -05:00
Marius Kintel 7872e7a229 Re-fix: don't add path to empty files. Fixes #536 2013-11-08 00:53:58 -05:00
Henner Zeller a218869770 Invocation of openscad with an absolute path failed:
./openscad /home/username/foo.scad
.. because the curent working directory was always prepended; so
internally, it attempted to open $PWD + /home/username/foo.scad

Use platform aware QDir functionality to only prepend the absolute
current working directory prefix, if the given path is relative.
2013-10-29 20:55:32 -07:00
Marius Kintel 60ce9748de Use PRINTB for output which might be grabbed by OS launchers 2013-10-25 00:48:31 -04:00
Marius Kintel 752f35eab6 bugfix: Allow unknown parameters. This fixes exit-on-launch issue on Mac 2013-10-25 00:45:24 -04:00
Marius Kintel 1fd3bec4fe bugfix: starting without arguments caused a warning 2013-10-22 19:39:51 -04:00
Marius Kintel 178309f357 bugfix: Don't use QApplication before it's instantiated 2013-10-22 11:30:15 -04:00
Marius Kintel aa1752a3a0 Mac needs to know if we're a GUI app in order to find bundled libraries, Use Qt to find application path if available 2013-10-07 15:47:08 -07:00
Marius Kintel 793ee8eb88 Mac build fix 2013-10-04 15:11:16 -07:00
Marius Kintel 5ed3e28b7a Mac build fix for openscad_nogui 2013-10-03 23:34:59 -04:00
Marius Kintel 7273e5b5a9 Make recent examplesdir changws work for MDI mode 2013-10-03 23:21:26 -04:00
Don Bright 204b3de3a0 fix broken build 2013-10-02 17:37:38 -05:00
Don Bright 7804a398a3 Merge branch 'master' of github.com:openscad/openscad into issue480
Conflicts:
	src/openscad.cc
2013-10-02 17:27:42 -05:00
Vicnet d3cb7e4a17 remove unused stuff 2013-09-25 13:43:32 +02:00
Don Bright 8c11a091d5 use debug symbols for test binaries. also remove echostream pointer 2013-09-21 10:25:36 -05:00
Don Bright efc6731774 make echotest work on BSD, by adding .echo as recognized extension 2013-09-21 09:04:01 -05:00
Don Bright 47ed2f1b12 moving towards making tests work on bsd again 2013-09-21 00:12:42 -05:00
Don Bright 5f36117b8f restore missing digits. make --info work better. fix parser / path bug 2013-09-20 01:54:53 -05:00
Don Bright 3eda281be1 allow openscad binary to be compiled with or without QT. use non-QT for tests. 2013-09-20 00:19:09 -05:00
Marius Kintel ead8749e99 Merge pull request #476 from openscad/testfixes
Testfixes
2013-09-12 22:06:17 -07:00
Don Bright 30fd8b250a little tweaks, cleanups, tab fixing, eliminating comments 2013-09-12 20:03:27 -05:00
Don Bright 6af6c311a1 cmdline throwntogether, integrate w chrysn tests, update resize tests 2013-09-12 00:17:17 -05:00
Don Bright ea92d9ce19 fix issue #430 2013-09-11 19:52:31 -05:00
chrysn b7170fe349 add .term output for CSG term export 2013-06-25 14:25:03 +02:00
chrysn 2006824c24 drop moduledumptest, use `openscad -o ${NAME}.ast`
src/openscad.cc code was copy/pasted from .csg section; some refactoring
might make things nicer, but i didn't dare change too much for lack of
language knowledge
2013-06-25 13:41:49 +02:00
chrysn 7d53e564aa use openscad as a replacement for dumptest and echotest
the echotest and dumptest still contain hacks to keep the delta to the
original unit tests minimal; possibly, some of these changes will make
it into the openscad program, at which time they can go away from there.
2013-06-25 13:41:48 +02:00
Marius Kintel 60e0edb211 Removed 'Root Context' debug output 2013-06-17 23:24:01 -04:00
Marius Kintel 14e1ad2363 Forgot to actually add most files in previous commit (#217) 2013-05-09 12:12:58 +02:00
Marius Kintel 9b740b558d Further refactoring of scope/context mechanisms. Mostly related to the new FileContext class. Not quite there yet, but almost 2013-04-26 17:45:03 -04: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 151593705f Disable context debug output 2013-04-09 01:04:36 -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