Commit Graph

1078 Commits (837b574351cdaddaebed6c4b0ba281b7e20c2a0f)

Author SHA1 Message Date
don bright ed24425305 add system-gl.cc 2013-01-24 04:11:14 +01:00
don bright 009baca904 move imageutils platform stuff to qmake build file mv system-gl. fix gcc warning 2013-01-24 04:10:24 +01:00
don bright e7ea8e12a9 get rid of compiler error by moving Eigen::Vector3d to end of class def 2013-01-24 04:04:47 +01:00
don bright 1e7636e364 add files removed from test path 2013-01-24 04:02:31 +01:00
don bright e82b056e81 basic parse of .png output filename. basic command line option "--render" 2013-01-24 03:51:15 +01:00
don bright ddebb3991c add another to About dialog 2013-01-22 05:25:42 +01:00
don bright 3eb1394997 documentation fixup 2013-01-22 03:57:27 +01:00
don bright bc395c95f6 rewrite wrapper using popen. add 1 name to abt dialog 2013-01-22 03:43:55 +01:00
Marius Kintel 2e65c6ddc5 Merge pull request #238 from openscad/issue234
Issue234
2013-01-21 16:38:48 -08:00
Marius Kintel 784b503f0d Merge pull request #240 from openscad/colah_highlighter
Colah highlighter
2013-01-21 16:34:59 -08:00
don bright 1af090c7b3 add wrapper code from nop head, mod build scripts 2013-01-21 14:25:14 +01:00
Marius Kintel 52c9fd7adc Updated copyright year to 2013 2013-01-17 15:18:30 -05:00
Marius Kintel 7f4cfc5ada Added some fixme's related to quitting while doing a long calculation. It sometimes causes a crash atm. 2013-01-17 13:31:12 -05:00
Marius Kintel 6f73b1e858 Credit goes to chrysn, using his handle instead of his real name 2013-01-17 11:21:53 -05:00
Marius Kintel bcfbe9cdf3 Merge pull request #245 from openscad/final_tweaks
Final  tweaks
2013-01-17 08:11:51 -08:00
don bright 05fa73b27a US-style Trademark disclaimer 2013-01-17 16:43:46 +01:00
Marius Kintel ce1969c4da Show Qt version in Library Info 2013-01-17 10:23:10 -05:00
don bright 136139ca01 CONFIG= should read CONFIG+= -- otherwise it causes bizare build errors 2013-01-17 16:16:45 +01:00
don bright 202c57773e allow dxf deps writing 2013-01-17 03:51:33 +01:00
Marius Kintel db8d891943 bugfix: Wrong slot names for OpenCSG warning dialog 2013-01-13 18:28:13 -05:00
don bright 99a0b67cd4 remove duplicate test from test list. clarify speed lanuage on large file 2013-01-13 10:16:21 -06:00
don bright d7d9ef3bcd Merge branch 'master' of github.com:openscad/openscad into colah_highlighter 2013-01-13 05:06:50 +01:00
don bright 49fe4998d0 doc length tested ok. remove FIXME note 2013-01-13 05:06:15 +01:00
don bright d615939791 balance colors, fix bug in numbers, highlight more stuff 2013-01-12 20:07:15 -06:00
don bright 59910af66a highlight numbers and brackets as well 2013-01-12 18:29:30 -06:00
don bright 987cd438f6 fix qt4.4, old gcc, and mention Giles' Rapcad higlighter 2013-01-13 00:37:20 +01:00
don bright f4f06d48d8 fix for gcc. simplify mainwin.cc a bit. 2013-01-13 00:01:24 +01:00
don bright 3ff8ca36b5 note about speed on qt < 4.6 2013-01-12 16:48:19 -06:00
don bright 1d9d3ef804 oops % should not be bold 2013-01-12 16:39:45 -06:00
don bright 8f986a3399 make it work on Qt less than 4.6 2013-01-12 16:36:07 -06:00
don bright 2c6d69645f now passes all tests in 'manual test suite' 2013-01-12 16:11:19 -06:00
don bright 3b7bc56bde rewrite large bit of syntax highlighter, add 'manual' test instructions 2013-01-12 14:05:10 -06:00
don bright 0c44bd1472 add three people. update copyright date to 2013. 2013-01-10 00:31:57 +01:00
don bright 2834e4265b Merge branch 'master' of github.com:openscad/openscad into colah_highlighter 2013-01-08 21:36:19 -06:00
don bright cd152aaefc add to acknowledgements 2013-01-08 21:35:36 -06:00
don bright b0cefc0f3b merge, by hand, Christopher Olah's syntax highlighter code 2013-01-08 21:15:14 -06:00
don bright a82651de31 remove QCodeEditor inspired by Giles Bathgates Jan 7 2012 email to list 2013-01-08 20:07:28 -06:00
Marius Kintel 810f1a8618 Don't just ignore geometric nodes having zero volume/area - when doing difference/intersection, they tend to turn negative objects into positive ones. Fixes #221 2013-01-08 13:26:25 -05:00
Marius Kintel 8cea6834f6 bugfix for recently introduced bug: Render negative 2D objects slightly thicker than positive objects to avoid z-buffer tearing with OpenCSG rendering 2013-01-08 13:24:54 -05:00
don bright 00ac79c111 remove unneeded frand functions 2013-01-06 18:12:00 +01:00
don bright 3825a72499 clarify that its not nondeterministic, we are supporting older systems
where the C++/boost random_device stuff doesn't work.
boost random_device in particular has a lot of issues with old versions
not working, with -lboost_random not being installed by default, etc,
that complicate the build too much.
2013-01-06 11:06:55 -06:00
don bright 8aa349b15f also use process ID to seed pseudo random number generator 2013-01-06 17:35:31 +01:00
don bright db97148584 fix typo 2013-01-06 10:09:21 -06:00
don bright 30922740a1 remove boost::random_device, move min/max out of the random generator loop 2013-01-06 17:03:37 +01:00
don bright 84c6d45eaa experimental workaround for boost linker problems w random_device 2013-01-06 06:31:41 +01:00
don bright f40b6a672a switch builtin_rands() to use boost::random per issue 234 2013-01-06 06:27:42 +01:00
Marius Kintel 101510c5cb Merge pull request #235 from openscad/mxebuild_fix
Mxebuild fix
2013-01-05 14:57:08 -08:00
don bright db9a78f028 cleanup 2012-12-30 01:18:08 +01:00
Marius Kintel bc7ff5aa8d Ignore dimension when evaluating control modules mixed with geometry children. Fixes #229 2012-12-27 17:30:13 +01:00
don bright 9deb7de38e CONFIG=skip_version_check should be += otherwise qmake has bizarre problems (bison doesnt get called??) 2012-12-23 16:58:22 -06:00
don bright 76923ebd9a CGAL<4.0.2 has strange errors with clang. notify user explicitly to upgrade. 2012-12-20 15:28:13 -06:00
Marius Kintel ffae0bb3a5 Merge branch 'master' of github.com:openscad/openscad 2012-12-14 20:42:46 +01:00
Marius Kintel c0612a9ed0 Explicitly use UTF-8 as file encoding to avoid Windows automatically falling back to cp1252. Fixes #223 2012-12-08 09:53:53 +01:00
Marius Kintel a64f932693 Render all 2D objects 1mm high in OpenCSG/Throwntogether mode 2012-12-08 09:47:31 +01:00
don bright fcaa4811e2 move flattr image to right-hand side. 2012-12-03 20:38:46 -06:00
don bright 29c22aa55d tidy up html for QTextBrowser. add shortcut for 'help' 2012-12-03 20:22:39 -06:00
don bright 5624a0e426 hand code html to remove qt cruft. makes it easier to change, and easier
to spit out to cmdline (eventually)
2012-12-03 20:04:20 -06:00
don bright 0778a55a40 actually assign copyright to Marius + Clifford, to eliminate any
problems with Debian.
2012-12-03 08:59:57 +01:00
don bright b64139788c fix tabs in svg.cc 2012-12-03 08:52:21 +01:00
Marius Kintel b796d6c554 robustification: Postfix traversals used uninitialized response variable. Bug wasn't trigged by the current codebase though 2012-10-31 11:35:36 -04:00
Marius Kintel 2c2446e7ba Return on unknown ColorMode to avoid using uninitialized variable 2012-10-31 11:34:54 -04:00
Marius Kintel 467f896843 Merge branch 'master' into issue202svg 2012-10-30 09:43:49 -04:00
don bright 73d8d3cca4 fix possible crash bug 2012-10-29 11:46:40 +01:00
don bright f54797cfbd fixes for test suite and gcc 2012-10-28 20:22:04 +01:00
don bright 45e5cdea69 fix typo 2012-10-28 13:08:41 -05:00
don bright ec41b7e432 move failure-detection so there is only one reset of error behavior. 2012-10-28 13:01:10 -05:00
don bright 0473a0eff3 put eps and inf back in 2012-10-28 12:43:53 -05:00
don bright 434ebe017d more cleanup 2012-10-28 12:40:16 -05:00
don bright 66b6433ffe cleanup 2012-10-28 12:37:27 -05:00
don bright 66b9efb35e reduce linecount of bigbox code. minor cleaning. 2012-10-28 12:14:34 -05:00
don bright f39cb81549 remove debugging. cleanup 2012-10-28 11:51:43 -05:00
don bright 4ecd9fa8a4 refactor, cleanup, put code where it belongs, make simple logging class 2012-10-28 08:56:23 -05:00
don bright 1dbcd7f468 use a thin box, union the intersection w top of box and bottom of box 2012-10-24 05:45:40 -05:00
don bright 45a99bfe36 use target(), not source(), making 'simple' the 2d polygon
created during the 'flattening' process from 3d to 2d.
not sure why this works, but it does.
2012-10-24 04:14:52 -05:00
Marius Kintel ebf9ee0f9f Support specifying an OPENSCADPATH environment variable which will have precedence over the hardcoded library paths. First step of issue #125 2012-10-23 22:10:15 -04:00
Marius Kintel 5467bc9411 Make cmd-line overrides using -D work also for USEd modules. Fixes #211 2012-10-23 21:48:29 -04:00
Marius Kintel b7cc740b78 Detect circular includes. Probably the final commit for #75 2012-10-23 20:41:50 -04:00
don bright 5b92e171ea this svg-prints the 'marked' faces as dashed lines, revealing CGAL issues
with mark() and union() operations on Nef Polyhedron 2 objects.
2012-10-22 23:44:54 -05:00
don bright 30fad0d4e4 remove old dump code. improve debugging svg output. 2012-10-21 12:10:06 -05:00
don bright ddbdd58d16 add OpenSCAD version to about dialog title.
improve SVG debugging output for Nef3 and Nef2 polyhedra.
2012-10-18 22:31:37 -05:00
don bright 8191c292b0 refactor to make svg in 2d and 3d use same transformation code 2012-10-15 22:02:44 -05:00
don bright 56def4aef2 projection: fallback to 'large thin box' if intersection with plane fails.
also implement SVG debugging output for 2d + 3d Nef Polyhedrons.
2012-10-15 20:17:12 -05:00
Marius Kintel 65fc1d6b01 Detect recursive execution of functions to avoid a stack overflow crash. Fixes #200 2012-10-09 23:32:56 -04:00
Marius Kintel 165c29e159 cosmetics 2012-10-09 21:22:17 -04:00
Marius Kintel eebc87fe1f Fixed broken debug output 2012-10-08 22:22:27 -04:00
Marius Kintel 08e7ce3036 Catch CGAL assertion for projection nodes. Fixes #202 2012-10-08 21:05:23 -04:00
Marius Kintel 087b9bb7c3 Catch exceptions as const references. Related to #204 2012-10-08 20:49:02 -04:00
Marius Kintel 750e1f9f64 Catch exceptions as const references. Fixes #204 2012-10-08 20:45:47 -04:00
Marius Kintel 0cea83a35d Fixed weakness in parser causing modifier characters not to work in front of 'if' statements. Fixes #197 2012-10-07 15:24:08 -04:00
Marius Kintel fa9811c0f3 bugfix: parser errors wasn't treated correctly, causing cmd-line tools to return without an error code, as well as error highlighting in the editor being broken 2012-10-06 18:01:17 -04:00
Marius Kintel 3b6f16605c Fix bug where recently compiled module happened to receive the same pointer value as the module it replaced, causing dependency tracking not to work properly. Related to #75 2012-09-08 16:48:15 -04:00
Marius Kintel 66601933ab Enable opening of .csg files from from the GUI 2012-09-08 15:45:51 -04:00
Marius Kintel 502ecbb6ca Block recursion on circular or recursive inclusions. Fixes #187 2012-09-02 13:17:14 -04:00
Marius Kintel aab3c36f90 Merge pull request #189 from openscad/issue188
Issue188
2012-08-27 20:35:39 -07:00
Marius Kintel 0e9d66f532 Merge pull request #190 from openscad/colorwarn
color>1.0 warning (color([255,0,0]) per Joel Bodenmann rept to mail list
2012-08-27 20:29:15 -07:00
don bright 44d88f4001 compile fix, boost>=1.44 can use boost filesystem v3
if you pass BOOST_FILESYSTEM_VERSION=3 as a compiler define but try to
use boost filesystem v2 functions on these older boosts, (1.44, 1.45,
etc) you get compilation errors. by changing the boost version detection for v3,
we prevent the compile error.
2012-08-23 07:32:55 +02:00
don bright 2eb62f9173 color>1.0 warning (color([255,0,0]) per Joel Bodenmann rept to mail list 2012-08-23 00:18:10 +02:00
don bright 59080526a4 cleanup 2012-08-22 12:10:21 +02:00
don bright 94f32b7647 cleanuyp 2012-08-22 12:08:23 +02:00
don bright 15959bc32c stop crash bug reported by Giles Bathgate 2012-08-22 12:07:46 +02:00
Marius Kintel 51b83ff8dd bugfix: There is a bug in the stdc++ library on Mac OS 10.5 which messes up some STL templates. This should fix it, courtesy of http://stackoverflow.com/questions/3484043/os-x-program-runs-on-dev-machine-crashing-horribly-on-others 2012-08-22 00:22:35 -04:00
Marius Kintel 787572c07a Bugfix: rotate() with a vector argument with less that 3 elements used uninitialized variables, ending up being non-deterministic. Fixes #152 2012-08-22 00:13:19 -04:00
Marius Kintel 2f07f78932 Extracted the about box contents to an external file for easier editing 2012-08-21 21:08:55 -04:00
Marius Kintel 37f14683ab Compile fix for eigen3 2012-08-21 21:07:17 -04:00
Marius Kintel 7bca8b414b minor code compacting 2012-08-21 21:06:56 -04:00
Marius Kintel a629560cee Merge pull request #186 from openscad/issue185
Issue185
2012-08-21 17:31:28 -07:00
don bright d831b44474 clarify warning message 2012-08-21 03:10:06 +02:00
don bright a5da9c899b improve test scad 2012-08-21 01:40:06 +02:00
don bright f1d4a52f4c dont crash if there's infinity or NaN in transformation matrix 2012-08-21 01:33:13 +02:00
don bright b4c023d84b Capitalize 'duplicate' 2012-08-19 16:49:37 -05:00
don bright 4014997857 fix print statement 2012-08-19 16:45:24 -05:00
don bright f16d3a65a1 print only a single warning about intersecting vertices at dxf tessellation
, instead of spamming it over and over. also mention that it might be
due to intersecting lines, not just duplicate vertices (duplicate vertices
being perhaps generated by cgal's tessellator when it deals with intersecting
lines)
2012-08-19 16:43:04 -05:00
don bright ef51ee8a7f use the CGAL triangulation with intersections enabled. attempt to fix issue #159 2012-08-19 16:36:49 -05:00
don bright a9045315ba rewrite Eigen detection in CMakelists. cleanup files for pull request. 2012-08-19 07:58:30 -05:00
don bright 702525f69c cleanup for pull request 2012-08-19 07:31:23 -05:00
don bright ca03eec840 Merge branch 'master' of github.com:openscad/openscad into eigen3 2012-08-19 07:19:09 -05:00
don bright 5bba950304 Revert "Revert "Revert "more debug"""
This reverts commit 94de600995.
2012-08-19 07:13:57 -05:00
don bright 94de600995 Revert "Revert "more debug""
This reverts commit 4ef470be1f.
2012-08-19 07:13:49 -05:00
don bright 4ef470be1f Revert "more debug"
This reverts commit 8f17a48e2c.
2012-08-19 07:13:41 -05:00
don bright 8f17a48e2c more debug 2012-08-18 23:12:53 -05:00
don bright d656f556b8 debugging failed test: throwntogethertest polygons 2012-08-18 23:02:39 -05:00
don bright 7a2f91e51d update eigen version in README. dont use alignment in dxfdata vector. 2012-08-18 21:16:34 -05:00
Marius Kintel c1d5e82b43 Merge branch 'master' of github.com:openscad/openscad 2012-08-18 19:09:14 -04:00
Marius Kintel 3ac6b033b7 Lion compile fix 2012-08-18 19:08:50 -04:00
Marius Kintel 3ee8c09db2 Make OS checks independent of Qt 2012-08-18 19:08:07 -04:00
don bright c4d68588a6 modify build system to auto-detect eigen3, and fallback to eigen2 2012-08-19 00:14:17 +02:00
don bright 10c7607541 more eigen3 fixes.
1. finish converting 'using namespace boost::filsystem' to 'namespace fs = boost::filesystem'.

2. initial version of changes to CMakelists.txt for the regression test
2012-08-18 22:44:46 +02:00
don bright 9f6819e685 initial rework to enable eigen3 per issue #174.
1. enable eigen3 in qmake build system
2. convert Transform3d and cwise() per the eigen2->eigen3 porting faq online
3. get rid of 'using namespace boost::filesystem' as it conflicts with eigen3
2012-08-18 22:28:36 +02:00
don bright 8740ac3574 avoid compiler warning about unusued parameter 2012-08-18 19:40:21 +02:00
Marius Kintel f533757334 bugfix: default parameters should be in class declaration only 2012-08-18 13:00:00 -04:00
Marius Kintel 13d56f4925 Merge pull request #179 from openscad/issue176
fix issue #176
2012-08-18 09:49:01 -07:00
don bright 47a06c074f detect flaws in 'use' and 'include' statements. make locate_file consider directories as 'non files'. 2012-08-18 18:38:24 +02:00
don bright 42043dd97d maintain order of polygons in evaluateCGALMesh to fix issue 177. add option to dump more info to csgchain 2012-08-18 15:40:15 +02:00
don bright ad54d5ca24 fix issue 174 by maintaining order of pointdata during dxf import 2012-08-16 04:31:19 +02:00
Marius Kintel 88e0cf28d7 Merge pull request #169 from openscad/copyright_notices
Copyright notices
2012-08-13 12:59:01 -07:00
Marius Kintel faeebb18e4 Merge pull request #173 from openscad/issue160
Issue160
2012-08-13 12:55:57 -07:00
don bright 029f0f2ba9 rearrange to check once at init, then use set variable 2012-08-08 21:23:13 -05:00
don bright a57637e195 check if running under wine, then run swapbuffers() if so 2012-08-08 20:42:39 -05:00
don bright c825692a60 fix issue160 by adding updateGL() call after 'f5' (opencsg) 2012-08-05 22:09:15 -05:00
Don Bright 3ac131d39d QT minimum version was incorrect and did not match README. fixing. 2012-08-05 10:16:53 -05:00
don bright 967f5a57ab add nsis to list of tools 2012-08-05 06:12:51 -05:00
don bright 4cc87c32f4 Add info to 'about' window with acknowledgements, etc. 2012-08-04 11:49:45 -05:00
don bright fddad68a73 give Kintel and Wolf permission to alter the license 2012-08-03 20:11:13 -05:00
don bright 8e4bc5d598 change value so that ECHO works more like old Qstring.sprintf 2012-08-01 18:43:39 -05:00
don bright 24fbfdf955 fix broken mousewheel scrolling (bug introduced by ctrl-wheel-zoom feature) 2012-08-01 14:57:38 -05:00
Marius Kintel 1a02158ddc Merge pull request #150 from openscad/issue148
Issue148
2012-07-27 08:15:19 -07:00
Marius Kintel 67eeed386c bugfix: 3D initializer was used for 2D Vector2d 2012-07-26 10:05:41 -04:00
Marius Kintel f1634d545d Merge branch 'master' of github.com:openscad/openscad
Conflicts:
	scripts/linux-build-dependencies.sh
2012-07-23 22:43:43 -04:00
Marius Kintel dcb8c20119 Merge pull request #155 from openscad/fontsize_save
Fontsize save
2012-07-23 19:40:22 -07:00
don bright 7f64312172 clarify comment 2012-07-22 20:58:07 -05:00
don bright 86b5fc02f5 on control + mousewheel, zoomin/zoomout text (like firefox, IE, etc) 2012-07-22 20:56:01 -05:00
don bright b33a02b372 remove debugging statements 2012-07-22 20:45:12 -05:00
don bright 3c7a85af57 debugging and rearranging to find issue 2012-07-22 20:16:37 -05:00
don bright 2551905895 fix OpenCSG Warning bug where slots were not connected 2012-07-20 21:55:14 -05:00
don bright eda7a41335 cgal 4.0.2 has a bugfix re clang and gcc 4.7 ( issue #117 ) 2012-07-20 14:36:17 -05:00
don bright 8e9b2d2c49 fix typo 2012-07-20 09:00:14 +02:00
don bright 4750709867 fix crashbug, rept by MichaelAtOz, issue 148. add test. 2012-07-20 08:49:27 +02:00
don bright 8cc442369f fix bugs in build 2012-07-15 14:29:14 -05:00
Marius Kintel 1b38030f7e Merge branch 'master' of github.com:openscad/openscad 2012-07-14 21:58:55 -04:00
Marius Kintel 2495df6bab Add timestamp to cache key for modules importing files. Fixes #141 2012-07-14 21:57:41 -04:00
Marius Kintel 2aaccdcfac Don't use grabMouse() and setFocus(). Attempt to fix #53 2012-07-14 21:05:17 -04:00
don bright e1fe9a33a6 improve wording of CGAL warning + env var warning 2012-07-12 21:51:38 -05:00
don bright 018211a863 check versions of libraries at compile time - warn users. fix FIXME in openscad.pro 2012-07-13 03:40:07 +02:00
Marius Kintel 3085bcc65c port to new value class after merge 2012-07-10 21:52:38 -04:00
Marius Kintel 5e47342406 Merge branch 'master' into value
Conflicts:
	src/linearextrude.cc
2012-07-10 21:42:59 -04:00
Marius Kintel deaeafea8d coding style 2012-07-07 16:30:04 -04:00
Marius Kintel 0d619e5ac1 Merge branch 'master' into linear_extrude_argument 2012-07-07 16:02:51 -04:00
Marius Kintel 694382bba9 Merge branch 'master' into value
Conflicts:
	src/parsersettings.cc
2012-07-05 09:41:15 -04:00
don bright cc9fd5b33e Add link to Wikibooks manual for 'not 2-manifold' error on export. 2012-07-01 17:07:39 +02:00
Marius Kintel 54067c635d Fixed normalization bug: node limit wasn't checked properly and some cases triggered exponential expansion of nodes during normalization. Fixes #127 2012-07-01 02:08:45 +02:00
Marius Kintel 22c5f37424 Search for libraries from a list of paths. Preparations for issue #125 2012-06-24 16:29:28 +02:00
Marius Kintel 0e6b800155 Output filenames relative to document path when exporting .csg files from the command-line. Fixes #128 2012-06-23 23:05:46 +02:00
Marius Kintel 197a4e4d36 Merge branch 'master' into value 2012-06-04 11:34:27 +02:00
Marius Kintel 9698d1d2fb Don't prefix filenames which are already absolute with document path. Fixed #123 2012-06-04 11:23:37 +02:00
Marius Kintel 2836f0c372 Merge branch 'master' into caliston1 2012-06-04 07:48:42 +02:00
don bright a2902a527a fix glview to work with QT versions less than 4.7 2012-06-02 18:29:50 +02:00
don bright bf5eac6880 tweaks, add more documentation, fix opencsg.h bug 2012-05-29 01:50:31 +02:00
Don Bright aa8aee623a fix crash bug 2012-05-28 16:30:19 -05:00
Don Bright 352af3eab0 removed debugging 2012-05-28 14:33:20 -05:00
Don Bright e63218f2de remove debugging 2012-05-28 14:33:05 -05:00
Don Bright e1e2fac61b enable linear_extrude to use first unnamed parameter as height, if number 2012-05-28 14:32:24 -05:00
Don Bright f4d9383d29 cleanup unneeded #include, documentation 2012-05-28 12:05:35 -05:00
Don Bright dd2002a816 Tidy up code. Generate proper test png images. Merge branch 'master' into caliston1.
Conflicts:
	src/PolySetCGALEvaluator.cc
2012-05-28 11:48:46 -05:00
Marius Kintel 3217bba6cb Merge branch 'master' into value 2012-05-09 13:25:47 -04:00
Marius Kintel dc82399ce2 cosmetics 2012-05-02 11:56:39 -04:00
Marius Kintel b4d467ceda Moved examplesdir to mainwin 2012-05-02 11:55:24 -04:00
Marius Kintel 52a4607f32 Ported away from Qt 2012-05-02 11:54:27 -04:00
Marius Kintel c0d5a9bb30 Caught a CGAL precondition error which caused OpenSCAD to crash. Reported by Eric Packman 2012-04-26 21:43:57 -04:00
Marius Kintel 42c6751806 cosmetics 2012-04-24 23:55:25 -04:00
Clifford Wolf 6d53b35f5b Actually lock X for middle mouse button panning 2012-04-24 11:50:41 +02:00
Marius Kintel 04947a8905 Merge branch 'master' into value 2012-04-23 22:18:29 -04:00
Clifford Wolf f5a7e92367 Fixed x/y panning (middle mouse button) 2012-04-24 01:33:22 +02:00
Clifford Wolf 940946c060 Fixed rendering of crosshairs position 2012-04-24 01:20:48 +02:00
Clifford Wolf a718c4a59d Some trivial fixes for compiler warnings 2012-04-24 01:17:21 +02:00
Clifford Wolf dde401cadb Fixed build for old OpenCSG versions (no OPENCSG_VERSION_STRING) 2012-04-24 01:16:22 +02:00
Marius Kintel dda5195130 Align tesselation of cylinders and rotate_extrude. Fixes #108 2012-04-22 19:35:15 -04:00
Marius Kintel cab12ccb86 Merge branch 'master' into value 2012-04-04 01:47:55 +02:00
Marius Kintel 2c2731598a Missing NULL check on some normalization corner cases. Fixes #95 2012-04-04 01:46:50 +02:00
Marius Kintel d755dd61de Killed some warnings 2012-04-04 01:45:38 +02:00
Marius Kintel 3b375d8c11 Merge branch 'master' into value 2012-03-31 23:22:41 +02:00
Marius Kintel a13b9009c6 Implemented vector and matrix multiplication 2012-03-31 23:22:07 +02:00
Marius Kintel c869c6e6b2 Remove superfluous debug output. Fixes #103 2012-03-29 02:04:47 +02:00
Marius Kintel 3019295737 Less debug output 2012-03-28 03:53:09 +02:00
Marius Kintel 327310f190 Rewrote the Value class to be based on boost::variant - this should reduce memory footprint and improve performance 2012-03-28 00:05:58 +02:00
Marius Kintel f8228a61d0 fixed crash bug introduced in previous commit 2012-02-25 06:01:29 +01:00
Marius Kintel 6a9b8a56c1 Fix for missing GLU include by chrysn 2012-02-22 14:00:10 +01:00
Marius Kintel 70d9332902 bugfix: include dependency trackng didn't work for top-level includes. Reported by Gordon Wrigley 2012-02-22 13:50:38 +01:00
Marius Kintel c5703b4407 bugfix: Fix crash bug when using zero scale factors. Reported by Alan Cox 2012-02-19 13:09:02 +01:00
Marius Kintel 03bbd55c93 Fixed recently introduced bug: Don't clear console unless something is being compiled 2012-02-19 11:40:33 +01:00
Marius Kintel bddf392281 Bugfix: Unknown cmd-line options caused a crash. Reported by nop head. 2012-02-19 11:17:24 +01:00
Marius Kintel 6652ede2c2 nan vs. -nan fix to make inf-tests work under Linux 2012-02-18 18:37:26 +01:00
Marius Kintel 6038c8d6b1 Merge branch 'master' of github.com:openscad/openscad 2012-02-18 14:47:14 +01:00
Marius Kintel 5870c462d6 Reenable output in the OpenSCAD console 2012-02-18 14:48:11 +01:00
Marius Kintel 3300d3f85d Kill warnings 2012-02-18 14:47:08 +01:00
Marius Kintel 9d7446de46 minor fixes: Don't copy input vectors, fixed a leak of a Value object + some cosmetics 2012-02-18 13:44:24 +01:00
Marius Kintel 4f8c89ecf0 Merge branch 'search_function' of https://github.com/clothbot/openscad into clothbot-search_function 2012-02-18 12:51:51 +01:00
Marius Kintel 4b54876b7a Merge branch 'master' into modulecache 2012-02-17 23:08:29 +01:00
Marius Kintel 2316127e62 Handle include dependencies 2012-02-17 23:05:36 +01:00
Marius Kintel f71e9cf792 missing include boost/version.hpp 2012-02-17 21:08:55 +01:00
Marius Kintel 6845399e49 Print info about module cache size 2012-02-15 12:36:13 +01:00
Andrew Plumb 505e808067 Added search function
Search for characters, strings and integers in a lookup table and
return the index (or indices) for matches.
2012-02-14 23:04:40 -05:00
Andrew Plumb 5d6a259a8b Added vector math support.
Added vector dot-product, matrix*vec, vec*matrix and matrix*matrix
support.
2012-02-14 21:22:48 -05:00
Marius Kintel 7b9b798fdc Started on sanitizing compile handling in mainwindow 2012-02-15 01:32:38 +01:00
Marius Kintel abcd702a68 Minor clarification, cleanup file reading 2012-02-15 01:32:38 +01:00
Marius Kintel accb71b546 Simplify file reading 2012-02-15 01:32:37 +01:00
Marius Kintel 06ad8b5150 Reenable console output 2012-02-15 01:32:37 +01:00
Marius Kintel eaeec7aa9a Comment out some debug info to let tests pass 2012-02-15 01:32:37 +01:00
Marius Kintel 061c157547 Recursively handle dependencies after parsing 2012-02-15 01:32:37 +01:00
Marius Kintel caa6272fe8 Don't try to handle non-existing use'd libraries 2012-02-15 01:32:37 +01:00
Marius Kintel b9d218e137 Initial implementation of ModuleCache and dependency tracking of used modules 2012-02-15 01:32:37 +01:00
Marius Kintel 44ff853990 Renamed OpenGL Info to Library Info and added version info of other libraries there 2012-02-15 01:26:38 +01:00
Marius Kintel 68a10954cf Merge branch 'clothbot-master' 2012-02-15 00:53:13 +01:00
Marius Kintel 8a5f6a4abd Minor unsigned fixes 2012-02-15 00:13:07 +01:00
Marius Kintel 25f6593484 Fix bug including files from within an included file inside a folder. Reported by nop head. 2012-02-14 21:01:51 +01:00
Don Bright 4381762f5a rewrite documentation of visitor() 2012-02-13 20:42:36 -06:00
Don Bright 662da67571 fix debug printing 2012-02-13 19:56:38 -06:00
Don Bright e747b0bfb5 fix tab spacing. comment out debugging line. 2012-02-13 19:54:33 -06:00
Don Bright 7cca215cbe improve documentation 2012-02-13 19:48:18 -06:00
Don Bright 7fda151957 cleanup tabs + wording. 2012-02-13 19:31:11 -06:00
Don Bright fe06b3b034 fix crash. 2012-02-13 19:22:11 -06:00
Don Bright 319364b597 use shared_ptr in shell visitor. add dump() code. hide debug cout. 2012-02-13 18:43:38 -06:00
Marius Kintel f61c9c9fbc Merge branch 'master' of https://github.com/clothbot/openscad into clothbot-master
Conflicts:
	scripts/macosx-build-dependencies.sh
2012-02-14 01:33:44 +01:00
Andrew Plumb d4efb54284 Cleaned up unsigned int compiler warnings 2012-02-13 11:23:18 -05:00
Don Bright a76d5b02bd use Nef_polyhedron3 intersection to do projection(cut). 2012-02-10 20:15:16 -06:00
Marius Kintel a83fda0c3d Fixes #87 - don't mix positional and non-positional parameters with boost::format 2012-02-09 00:48:41 +01:00
Andrew Plumb c6807d4c57 Bugs ID'd by Qt Creator & setup for Mac OS X.
- Removing user-dependency in dep-build path.
- QT Creator complains about entries in Preferences.ui
- File opescad.pro.user by QT Creator on Mac OS X 10.7.
2012-02-06 09:12:15 -05:00
Marius Kintel e725437a5a Use unsigned int for count 2012-02-04 14:38:42 +01:00
Marius Kintel c2c67f2eac Added debug function for exporting a PolySet to STL 2012-02-03 23:06:16 +01:00
Marius Kintel cb363df358 Added test case and source code comments related to issue #80 2012-02-03 23:05:42 +01:00
Marius Kintel 34a5f89184 Gracefully handle errors converting a Nef polyhedron to a polyset. Fixes #77 2012-02-03 03:19:56 +01:00