Commit Graph

1252 Commits (4fd18f6d72d3690dec11c7241a8127fe37007dec)

Author SHA1 Message Date
Marius Kintel cca80a1559 bugfix: #562 didn't take into account that it's allowed with all X coordinates being negative 2013-12-14 17:44:05 -05:00
Marius Kintel 966f7eb624 #514 Change gcc 4.8.2 version check error to a warning 2013-12-12 01:15:34 -05:00
Brody Kenrick 3abf64249f Unicode support for strings
Add suport for using unicode strings in .scad files. Support iterating
across them/accessing them via [] and searching.
--------
Add GLIB (to build for test and normal build -- both with installed and
built locally development files).
Add support for unicode chars to length and search builtin functions and
[] for strings.
Added unicode testing functions.
Ad GLIB to library info page.
2013-12-08 18:35:35 -05:00
Marius Kintel eb046015d2 #559 Fix Qt font rendering on OS X 10.9 2013-12-08 15:17:17 -05:00
Marius Kintel 941b56e7f8 Merge branch 'master' of github.com:openscad/openscad 2013-12-06 01:08:29 -05:00
Marius Kintel ede5c4b688 delete ps when short-circuiting return, no need for explicit boost::format 2013-12-06 00:52:51 -05:00
David Eccles (gringer) e3317ecc64 Fail if any polygon points for rotate_extrude are less than 0 2013-12-06 00:39:48 -05:00
Marius Kintel f2fe074e1d clang fix: Clang claims to be gcc 2013-12-04 01:15:34 -05:00
Marius Kintel 69cbb17497 Killed warnings 2013-12-04 01:15:19 -05:00
Don Bright 791a49b9e8 build bug fix 2013-11-30 17:26:50 -06:00
Don Bright 9ea7713335 print errmsg for applyHull. add quotes around err msg in version check. 2013-11-30 15:43:00 -06:00
Don Bright 75692592e4 Merge branch 'master' into issue410x 2013-11-30 15:30:40 -06:00
Don Bright f175bae46a disallow gcc 4.8.2 2013-11-30 15:13:03 -06:00
Ricardo Markiewicz afe1fbcb53 Move main code inside Editor class
Before open a new file now we cleanup the Editor, so the new file get the cursor
on the first character.
2013-11-29 01:40:28 -03:00
Ricardo Markiewicz 7b64944738 Try to keep cursor and scroll in place on refresh
When the file is saving, the cursor position was resetting to the top and you should keep
scrolling by hand every time you save the file.

This patch saves the scroll and cursor position and set it again after the file is refreshed so
we can continue edition from where we were.
2013-11-29 00:16:40 -03:00
Don Bright faf008ce24 simplify nef polyhedron code. attempt to add test for bug 2013-11-26 20:29:29 -06:00
Don Bright cf9f19818c prevent crash in CGAL nef3. fix #issue 410 . also deal w qmake bug re .h files 2013-11-26 20:04:57 -06:00
Don Bright 825fbc7b9e revert to GMPQ number type kernel due to bugs like issue #481 2013-11-24 19:01:11 -06:00
Don Bright b204aba444 mxe64 build fix. make 'qt disabled' message less confusing on test binary. 2013-11-23 18:38:45 -06:00
Torsten Paul 34d7f37fe7 Fix compilation error on Ubuntu where uint32_t is not defined. 2013-11-23 15:12:44 +01:00
Marius Kintel 3e3caaa625 Removed eigen2 from build system and documentation. We now require eigen3 2013-11-15 15:48:43 -05:00
Torsten Paul f46bd3788f Change nbsteps() to uint32_t to make it independent from 32/64-bit platform. 2013-11-15 19:41:37 +01:00
Torsten Paul e6b2884805 Fix output of range expressions. 2013-11-11 01:38:34 +01:00
Torsten Paul 00a329f0bd Add support for handling negative step values in ranges (fixes #500). 2013-11-11 01:31:44 +01:00
Marius Kintel 7872e7a229 Re-fix: don't add path to empty files. Fixes #536 2013-11-08 00:53:58 -05:00
Marius Kintel 77829d0a3a Merge pull request #529 from t-paul/issue434
Add menu entry "Reset View" to reset viewport to initial settings
2013-11-04 14:32:24 -08:00
Marius Kintel 5aa01edb93 Fix potential memory alignment issue with eigen. This might make us dependent on eigen3, but it's about time anyway 2013-11-01 12:10:03 -04:00
Torsten Paul be4c72d9e9 Add menu entry "Reset View" to reset viewport to initial settings (fixes Issue #434). 2013-10-31 22:56:31 +01: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 8aa749f8b3 Merge pull request #510 from hzeller/master
Make keyboard events working for GQLView
2013-10-29 09:42:08 -07:00
Marius Kintel 9fe0beeddd Added newline 2013-10-28 22:15:10 -04:00
Henner Zeller 3e15f42113 o Key-press event in the QGLView were ignored, as it never got the
focus. Fix: Gain focus on mouse-click inside that view.
o QGLView: make zoom-in as well possible on '=' key. On American
  keyboards, the '=' key is right next to the '-' (Minus) key, while
  '+' (plus) requires Shift-equals.
o Provide a useful 'c' key-binding for 'center'. Very useful after
  getting lost in panning.
2013-10-24 22:56:55 -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
Torsten Paul bc4ace7e26 Add diameter variable to the sphere, cylinder and circle primitives (fixes #392).
When doing the lookup, the diameter value has priority so if both diameter
and radius are given, the radius value is ignored and a warning is printed.
2013-10-20 22:49:40 +02:00
Marius Kintel 170d4a5497 bugfix: previous commit broke debug builds 2013-10-20 14:38:33 -04:00
Marius Kintel a15b07a09c removed unused member variable 2013-10-20 14:38:11 -04:00
Marius Kintel 448f8b4142 Fixed an issue which caused us to traverse the entire tree for OpenCSG rendering traversals, where we didn't actually use the traversal results (for all nodes requiring CGAL) 2013-10-19 18:03:09 -04:00
Marius Kintel d2a729bdfa Ignore malformed polygons 2013-10-19 17:15:25 -04:00
Marius Kintel e77615be30 Merge branch 'children' of git://github.com/vicnet/openscad into vicnet-children
Conflicts:
	tests/CMakeLists.txt
2013-10-13 13:19:34 -04:00
Marius Kintel 0cacb434fc bugfix related to #460: removed duplicate initializeModule() 2013-10-08 23:40:16 -04:00
Marius Kintel 80e5d42f47 Merge branch 'master' of ../openscad into steelman-bom-tree-std-stack 2013-10-07 15:49:08 -07: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
Vicnet a9175af124 merge from origin 2013-10-07 16:15:19 +02:00
Vicnet eb27a0277f factorize Value::RangeType calculation and correct error 2013-10-07 16:04:43 +02:00
Vicnet 9bc73ac106 add range on children() 2013-10-07 16:04:43 +02:00
Vicnet e5484b1081 remove compliation warnings 2013-10-07 16:04:43 +02:00
Vicnet 2452aa8e88 factorize Value::RangeType method 2013-10-07 16:04:42 +02:00