summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-21Merge branch 'f_enable_cpp11' into f_refractor_openscadf_write_stdoutf_refractor_openscadJan Huwald
2014-02-21fix typof_enable_cpp11Jan Huwald
2014-02-21compile with -std=c++0x to support older C++11 compilersJan Huwald
2014-02-17cmdline(): fix crash on file names without suffixJan Huwald
- fix witespace - fix error message: print file name
2014-02-16allow writing to standard output from command line, update output handler to ↵Jan Huwald
lambda - cmdline can output to a file or cout - output handler uses lambda instead of function pointer - this allows removing Echostream with a one-liner
2014-02-16add --action cmdline, make -o optional, partially implement usage of stdout ↵Jan Huwald
as output_file This patch introduces the --action command line argument. It can override the action determined by the file name suffix and enables writing to stdout (where no suffix exists). -o is now optional and defaults to "<inputfile>.<action>".
2014-02-16refractor command line parsingJan Huwald
- handle optional values with boost::optional<string> instead of char - handle -o/-s/-x without code duplication
2014-02-16openscad.cc: remove unreachable error statements in option parserJan Huwald
2014-02-16write output to temporary file, commit only after completionJan Huwald
cmdline() is modified to write into <output_file>~ and only after succesful completion of the given command rename this file into <output_file>. In case of failure the file is deleted. This prevents dangling errorneous output files and overwriting valid (but old) files with new trash. This patch is required for robust use of OpenSCAD in Makefiles. In case of a crash the output file must not be touched. Otherwise the update file date will trick Makefile into assuming a succesful build.
2014-02-15openscad.cc: rename std::vector and std::string to vector and stringJan Huwald
2014-02-15reduce code redundancy in cmdline()Jan Huwald
- add a map of actions (lambdas) mapped by file suffixes - centralize creation of output file - factor out model checks (# of dims, simplicity) - use output_file instead of <suffix>_output_file
2014-02-14compute application path without resorting to QtJan Huwald
cmdline() determines the application path using either Qt or boost::filesystem, depending on wether Qt is enabled. With this patch we always use boost:filesystem.
2014-02-14Merge branch 'f_improve_help' into f_refractor_openscadJan Huwald
2014-02-13allow reading .scad files from standard inputHEADmasterf_read_stdinJan Huwald
This patch loads the root source code form standard input if "-" is given as file name. In this case handle_dep() is disabled for the root module but still executed for all included files.
2014-02-13Automatize and improve --help outputf_improve_helpJan Huwald
- replace the fixed string in help() with auto-generated strings obtained (via boost:program_options) from the option_descriptions - split visible options into two actions (-o, --info, ...) and options (which only modify actions) - merge and improve the description text of the options_description and the string found in help() - use local lambda help() in main to keep calls to ::help() short
2014-02-13compile as C++11Jan Huwald
2014-02-13Adapted wil1471's pull request #385 to masterMarius Kintel
2014-02-13Bugfix: GUI stayed locked if CGAL compile failedMarius Kintel
2014-02-11More comments to clarify #495Marius Kintel
2014-02-11Added testcase for #112Marius Kintel
2014-02-11Added test for issue exporting volume with a cavity - #495Marius Kintel
2014-02-11Fixed issue 1 of #598: Auto-compile on subsequent File->OpenMarius Kintel
2014-02-10Merge branch 'master' into export-menuMarius Kintel
2014-02-10Merge branch 'master' of github.com:openscad/openscadMarius Kintel
2014-02-10Move Export menu entries to a sub-menu of the File menu (fixes #474).Torsten Paul
2014-02-10Deprecated child()Marius Kintel
2014-02-10#504 Updated example: child() -> children()Marius Kintel
2014-02-10Fixed a bug failing to detect changes in underlying libraries. Should ↵Marius Kintel
improve some of the issues reported in #181
2014-02-10Added test for #181Marius Kintel
2014-02-10cosmeticsMarius Kintel
2014-02-09Cleaned up some module cache misbehaviors. Fixes #535Marius Kintel
2014-02-09Added test for #535Marius Kintel
2014-02-06Use homebrew-built libraries, use actual # of CPUsMarius Kintel
2014-02-06Backported #638 from unstableMarius Kintel
2014-02-06fix related to 6a1d91dc76ec819e85b180b8cdaf40ddd639a538Marius Kintel
2014-02-06syncMarius Kintel
2014-02-06Moved % modifier handling from node to nodedumper. This makes nodes with % ↵Marius Kintel
operators use the existing cache instead of recalculating the object
2014-02-06Remove automatic validity check at end of renderOskar Linde
In more complex cases, the final Nef_Polyhedron is_valid check() took up to 30 % of the total rendering time just to be able to say Valid: YES. In the case of cached geometry, the validity check was totally dominating the execution time when doing a render. This patch removes the automatic validity check, instead adding a menu command "Check Validity". Conflicts: src/mainwin.cc
2014-02-06Editor: Fix bug where replaceAll could enter an infinite loopOskar Linde
2014-02-06Editor: Subtle UI TweakOskar Linde
Return in the find or replace field will animate the triggered button
2014-02-06Editor: Implement Search & ReplaceOskar Linde
Conflicts: src/MainWindow.h
2014-02-06Editor: Reduce find panel bottom marginOskar Linde
2014-02-06Editor: Implemented simple Find functionalityOskar Linde
Conflicts: src/MainWindow.h
2014-02-06Backported 2e3729ab2268f29ee4ff5898f629c4a10c2d6587 to master; redo ↵Marius Kintel
assemblePath for Win. redo openscad.com to handle spaces in filenames
2014-02-05ifdef Qt5 methodMarius Kintel
2014-02-05Scale axis display on high-DPI displaysMarius Kintel
2014-02-05Qt5: Ported Q_WS usage to Q_OSMarius Kintel
2014-02-04Fix issue with boost and Apple namespace pollutionMarius Kintel
2014-02-04Qt5 qmake needs explicit includpathMarius Kintel
2014-02-04Build qt5Marius Kintel
contact: Jan Huwald // Impressum