summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-09-13Merge pull request #476 from openscad/testfixesMarius Kintel
Testfixes
2013-09-13cleanupDon Bright
2013-09-13cleanDon Bright
2013-09-13cleanupDon Bright
2013-09-13cleanup, remove unused files and code, etcDon Bright
2013-09-13cleanups, tab fixes, remove redundant codeDon Bright
2013-09-13little tweaks, cleanups, tab fixing, eliminating commentsDon Bright
2013-09-13fix bug in 2d resize codeDon Bright
2013-09-12remove redundant codeDon Bright
2013-09-12cmdline throwntogether, integrate w chrysn tests, update resize testsDon Bright
2013-09-12rendersettings.h not neededDon Bright
2013-09-12lodepng: write RGB instead of RGBA: decoders differ on alpha renderingDon Bright
2013-09-12use background color when writing PNG with lodepngDon Bright
2013-09-12fix issue #430Don Bright
2013-08-21Merge branch 'master' of github.com:openscad/openscadMarius Kintel
2013-08-21Fixes two problems related to : lookup was dynamic rather than lexical, ↵Marius Kintel
assignment was done after all local variables causing it not to be copyable
2013-08-20Put back some stuff necessary for building on non-MSVC platforms for nowMarius Kintel
2013-08-20Merge branch 'master' of git://github.com/ivoknutsel/openscad into ↵Marius Kintel
ivoknutsel-master
2013-08-18Enable module stack introspection from within an SCAD scriptŁukasz Stelmach
The _current_module and _parent_module variables have been replaced by a built-in function parent_module(n). It takes one numeric parameter n, and returns n-th element from the module stack. If no argument provided, n defaults to 1 and the function returns the name of the direct parent module. If n is equal 0 current module name is returned.
2013-08-17Introduce '_current_module' and '_parent_module' variablesŁukasz Stelmach
Add two built-in variables that provide access to the names of the current and the previously instantiated modules. Having these variables simplifies generation of BOMs and assembly graphs (e.g. with GraphViz). [std::stack]
2013-08-14first step of dealing with issue #455Don Bright
2013-08-11fix #452Don Bright
2013-07-28In this commit i'll change just the Qt project, c and header files to get ↵Ivo Noorhoff
OpenSCAD building and working on Windows 7 compiled with Visual Studio Express 2012. A couple of things needed changing : * MSVC 2012 has no trunc or round, i have added those to mathc99 and included mathc99 to the files needed. The implementations were taken from boost. * MSVC 2012 stl does now allow accessing out of bounds elements in std:vector as an array, so "chain->objects[i]" will fail in "OpenCSGRenderer::renderCSGChain". Whatever the platform, it will me a good idea to change this code to something that does not trigger undefined behavior. * MSVC 2012 cannot figure out the types involved in "if (file_size == 80 + 4 + 50*facenum) {", i have added a cast to force it to "if (file_size == static_cast<std::streamoff>(80 + 4 + 50*facenum)) {". The next round would be regression testing and debugging and possibly more changes to the OpenSCAD main code. The round after that would be changing the .pro and .pri files to create correct visual studio solutions.
2013-06-26Merge branch 'master' into no-testprogramschrysn
Conflicts: tests/CMakeLists.txt tests/regression/csgtermtest/assign-expected.term tests/regression/csgtermtest/child-expected.term tests/regression/csgtermtest/circle-expected.term tests/regression/csgtermtest/color-expected.term tests/regression/csgtermtest/cube-expected.term tests/regression/csgtermtest/cylinder-expected.term tests/regression/csgtermtest/difference-expected.term tests/regression/csgtermtest/dxf_linear_extrude-expected.term tests/regression/csgtermtest/dxf_rotate_extrude-expected.term tests/regression/csgtermtest/echo-expected.term tests/regression/csgtermtest/for-expected.term tests/regression/csgtermtest/glide-expected.term tests/regression/csgtermtest/group-expected.term tests/regression/csgtermtest/hull-expected.term tests/regression/csgtermtest/if-expected.term tests/regression/csgtermtest/import-expected.term tests/regression/csgtermtest/import_dxf-expected.term tests/regression/csgtermtest/import_off-expected.term tests/regression/csgtermtest/import_stl-expected.term tests/regression/csgtermtest/intersection-expected.term tests/regression/csgtermtest/intersection_for-expected.term tests/regression/csgtermtest/linear_extrude-expected.term tests/regression/csgtermtest/minkowski-expected.term tests/regression/csgtermtest/mirror-expected.term tests/regression/csgtermtest/multmatrix-expected.term tests/regression/csgtermtest/polygon-expected.term tests/regression/csgtermtest/polyhedron-expected.term tests/regression/csgtermtest/projection-expected.term tests/regression/csgtermtest/render-expected.term tests/regression/csgtermtest/rotate-expected.term tests/regression/csgtermtest/rotate_extrude-expected.term tests/regression/csgtermtest/scale-expected.term tests/regression/csgtermtest/sphere-expected.term tests/regression/csgtermtest/square-expected.term tests/regression/csgtermtest/subdiv-expected.term tests/regression/csgtermtest/surface-expected.term tests/regression/csgtermtest/translate-expected.term tests/regression/csgtermtest/union-expected.term tests/regression/dumptest/circle-expected.csg tests/regression/dumptest/color-expected.csg tests/regression/dumptest/cube-expected.csg tests/regression/dumptest/cylinder-expected.csg tests/regression/dumptest/difference-expected.csg tests/regression/dumptest/dxf_linear_extrude-expected.csg tests/regression/dumptest/dxf_rotate_extrude-expected.csg tests/regression/dumptest/glide-expected.csg tests/regression/dumptest/import-expected.csg tests/regression/dumptest/import_dxf-expected.csg tests/regression/dumptest/import_off-expected.csg tests/regression/dumptest/import_stl-expected.csg tests/regression/dumptest/intersection-expected.csg tests/regression/dumptest/intersection_for-expected.csg tests/regression/dumptest/linear_extrude-expected.csg tests/regression/dumptest/minkowski-expected.csg tests/regression/dumptest/mirror-expected.csg tests/regression/dumptest/multmatrix-expected.csg tests/regression/dumptest/polygon-expected.csg tests/regression/dumptest/polyhedron-expected.csg tests/regression/dumptest/projection-expected.csg tests/regression/dumptest/render-expected.csg tests/regression/dumptest/rotate-expected.csg tests/regression/dumptest/rotate_extrude-expected.csg tests/regression/dumptest/scale-expected.csg tests/regression/dumptest/sphere-expected.csg tests/regression/dumptest/square-expected.csg tests/regression/dumptest/subdiv-expected.csg tests/regression/dumptest/surface-expected.csg tests/regression/dumptest/translate-expected.csg
2013-06-26Short circuit boolean logic - fixes #411Marius Kintel
2013-06-25normalize -nan and -0 in all output modeschrysn
having a stable output is not only relevant in testing, and with the main binary being used for more tests, having those normalizations takes load off the preparing scripts tests/{dumptest,echotest}
2013-06-25add .term output for CSG term exportchrysn
2013-06-25drop moduledumptest, use `openscad -o ${NAME}.ast`chrysn
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-25use openscad as a replacement for dumptest and echotestchrysn
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-21Close file as soon as possible to avoid potential readlocks being kept too ↵Marius Kintel
long. Might be enough for #415
2013-06-20Merge remote-tracking branch 'origin/epec-kernel'Marius Kintel
2013-06-19Added missing include stdint.h to work with gcc 4.8.1Miro Hrončok
Without this include, this was not possible to build with gcc 4.8.1: Build log (without this commit): http://kojipkgs.fedoraproject.org//work/tasks/1370/5521370/build.log
2013-06-19Leftover from previous mergeMarius Kintel
2013-06-18missed one conflictMarius Kintel
2013-06-18Merge remote-tracking branch 'origin/issue181' into epec-kernelMarius Kintel
Conflicts: src/MainWindow.h src/ModuleCache.cc src/mainwin.cc src/module.cc src/module.h src/parsersettings.cc testdata/modulecache-tests/cascade.sh testdata/modulecache-tests/cascade2.sh
2013-06-18Merge branch 'master' into epec-kernelMarius Kintel
2013-06-18Point documentation to openscad.org/documentation.htmlMarius Kintel
2013-06-18Removed 'Root Context' debug outputMarius Kintel
2013-06-15Merge branch 'master' of github.com:openscad/openscadDon Bright
2013-06-15track \ inside "" with sub-state. fixes #407Don Bright
2013-06-15Clamp linear_extrude height to 0. Fixes #405Marius Kintel
2013-06-14Merge pull request #402 from achiestdragon/masterMarius Kintel
mirror added to syntax highlighter
2013-06-14Added assert for issue #403Marius Kintel
2013-06-14 added , minkowski,echo,str,surface, and maths functions to highlighter ↵david powell
(although color for maths functions may need changeing )
2013-06-14 added mirror to transform highlightingdavid powell
2013-06-13Merge pull request #400 from achiestdragon/masterMarius Kintel
ui change to drop down menu Design
2013-06-13ui fix (spacers in design dropdown)david powell
2013-06-13Related to #399, reverted assignment evaluation order to be the same as in ↵Marius Kintel
2013.01 as the new implementation broke existing scripts. Added some experimental commented out code, which can be used as reference in the future
2013-06-13Fixed a bug where changing a file during a large automatic reload could ↵Marius Kintel
cause a crash
2013-06-08Merge branch 'master' of github.com:openscad/openscadMarius Kintel
contact: Jan Huwald // Impressum