Commit Graph

4217 Commits (1a2fcc0559f864bece2e57bb2f217dcd6bf747c3)

Author SHA1 Message Date
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
Oskar Linde 38c7a24240 Add test case for issue 835 2014-06-23 10:15:39 +02:00
Marius Kintel 0dd3ac272b Handle cwd as outputdir 2014-06-21 19:05:50 -04: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 e097508472 Link with the correct C++ library on Mac. Added a fix for allowing folder names with regex special characters 2014-06-21 13:34:41 -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
Marius Kintel 458d60faa6 Refactored the camera handling a bit, added --viewall cmd-line parameter 2014-06-19 17:47:38 -04:00
Marius Kintel c6e21a6027 Report boost version, don't add BOOST_FILESYSTEM_VERION for recent boost versions 2014-06-19 17:43:35 -04:00
Marius Kintel 48e1d6a5a9 Allow other files than .scad as input 2014-06-16 21:13:18 -04:00
Marius Kintel 4ef994ac3e Pass full path to python script 2014-06-16 15:56:36 -04:00
Marius Kintel e344f7e478 Bugfix - png is the last arg + some better error output 2014-06-16 15:56:07 -04:00
Marius Kintel d77db77825 Rewrote csg-import-test to be able to export other file formats as well as pass extra parameters to OpenSCAD 2014-06-16 02:41:04 -04:00
Marius Kintel b93a6203fe Merge branch 'master' of github.com:openscad/openscad 2014-06-14 16:27:42 -04:00
Marius Kintel 9d09e6475e Disable failing test on Ubuntu 12.04 Gallium drivers 2014-06-14 16:27:37 -04:00
Marius Kintel 9ae42c355a Merge pull request #833 from openscad/fix-visibility-behavior
Ignore visibility change events when the window is closing (fixes #812).
2014-06-14 15:13:31 -04:00
Torsten Paul 0d9e627a8c Ignore visibility change events when the window is closing (fixes #812). 2014-06-14 15:30:48 +02:00
Marius Kintel fe8ce9335e Some tuning of versions of dependencies 2014-06-10 16:20:08 -04:00
Oskar Linde 05e2a1edf1 Mac: Add -stdlib=libc++ to testsuite on 10.9 and later 2014-06-10 02:09:29 -04:00
Marius Kintel 8793fed7db Merge branch 'master' of github.com:openscad/openscad 2014-06-10 01:40:45 -04:00
Marius Kintel c1701654fc #784 bugfix slightly changed twist behavior. Updating test results 2014-06-10 01:40:41 -04:00
Marius Kintel a7b4f2e5b7 #495 Updated test png to reflect correct behavior 2014-06-10 01:13:36 -04:00
Marius Kintel a5a3d8f4cf Some minor cleanup 2014-06-10 00:14:45 -04:00
Marius Kintel 27a2be8411 Applied Oskar's libc++ patches from #828 to master 2014-06-09 23:36:24 -04:00
Marius Kintel 3ccce0d7ee Added testcase for erosions issue 2014-06-09 23:03:33 -04:00
Marius Kintel 7b6153fed8 Updated expected file for #495 2014-06-09 22:48:29 -04:00
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
Marius Kintel db22a0191a Merge pull request #827 from purcell/patch-1
[scad-mode] Improved package description
2014-06-07 17:54:01 -04:00
Marius Kintel 7346c3136d Use mt-version of boost for MacPorts and Homebrew 2014-06-07 17:46:29 -04:00
Steve Purcell 36e007472b [scad-mode] Improved package description 2014-06-07 13:32:47 +01: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
Marius Kintel 026efa317f Merge pull request #823 from tim-caper/func.cc
fixup issue 767 & func.cc cleanup
2014-06-04 18:29:32 -04:00