Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-17 | cmdline(): fix crash on file names without suffix | Jan Huwald | |
- fix witespace - fix error message: print file name | |||
2014-02-16 | allow 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-16 | add --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-16 | refractor command line parsing | Jan Huwald | |
- handle optional values with boost::optional<string> instead of char - handle -o/-s/-x without code duplication | |||
2014-02-16 | openscad.cc: remove unreachable error statements in option parser | Jan Huwald | |
2014-02-16 | write output to temporary file, commit only after completion | Jan 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-15 | openscad.cc: rename std::vector and std::string to vector and string | Jan Huwald | |
2014-02-15 | reduce 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-14 | compute application path without resorting to Qt | Jan 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-14 | Merge branch 'f_improve_help' into f_refractor_openscad | Jan Huwald | |
2014-02-13 | allow reading .scad files from standard inputHEADmasterf_read_stdin | Jan 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-13 | Automatize and improve --help outputf_improve_help | Jan 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-06 | Backported 2e3729ab2268f29ee4ff5898f629c4a10c2d6587 to master; redo ↵ | Marius Kintel | |
assemblePath for Win. redo openscad.com to handle spaces in filenames | |||
2014-02-05 | Qt5: Ported Q_WS usage to Q_OS | Marius Kintel | |
2014-02-04 | Added --csglimit parameter | Marius Kintel | |
2014-01-18 | killed warning | Marius Kintel | |
2014-01-07 | Mac fix: We need to use bundled resources when running bundled apps in ↵ | Marius Kintel | |
cmd-line node | |||
2014-01-03 | Added missing --version and --info to help output | Marius Kintel | |
2014-01-03 | Keep cmd-line and GUI separate in terms of preferences, handle experimental ↵ | Marius Kintel | |
tests separately, minor cleanups | |||
2014-01-02 | Add feature registry. | Torsten Paul | |
2013-12-08 | #559 Fix Qt font rendering on OS X 10.9 | Marius Kintel | |
2013-11-08 | Re-fix: don't add path to empty files. Fixes #536 | Marius Kintel | |
2013-10-30 | Invocation of openscad with an absolute path failed: | Henner Zeller | |
./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-25 | Use PRINTB for output which might be grabbed by OS launchers | Marius Kintel | |
2013-10-25 | bugfix: Allow unknown parameters. This fixes exit-on-launch issue on Mac | Marius Kintel | |
2013-10-22 | bugfix: starting without arguments caused a warning | Marius Kintel | |
2013-10-22 | bugfix: Don't use QApplication before it's instantiated | Marius Kintel | |
2013-10-07 | Mac needs to know if we're a GUI app in order to find bundled libraries, Use ↵ | Marius Kintel | |
Qt to find application path if available | |||
2013-10-04 | Mac build fix | Marius Kintel | |
2013-10-04 | Mac build fix for openscad_nogui | Marius Kintel | |
2013-10-04 | Make recent examplesdir changws work for MDI mode | Marius Kintel | |
2013-10-02 | fix broken build | Don Bright | |
2013-10-02 | Merge branch 'master' of github.com:openscad/openscad into issue480 | Don Bright | |
Conflicts: src/openscad.cc | |||
2013-09-25 | remove unused stuff | Vicnet | |
2013-09-21 | use debug symbols for test binaries. also remove echostream pointer | Don Bright | |
2013-09-21 | make echotest work on BSD, by adding .echo as recognized extension | Don Bright | |
2013-09-21 | moving towards making tests work on bsd again | Don Bright | |
2013-09-20 | restore missing digits. make --info work better. fix parser / path bug | Don Bright | |
2013-09-20 | allow openscad binary to be compiled with or without QT. use non-QT for tests. | Don Bright | |
2013-09-13 | Merge pull request #476 from openscad/testfixes | Marius Kintel | |
Testfixes | |||
2013-09-13 | little tweaks, cleanups, tab fixing, eliminating comments | Don Bright | |
2013-09-12 | cmdline throwntogether, integrate w chrysn tests, update resize tests | Don Bright | |
2013-09-12 | fix issue #430 | Don Bright | |
2013-06-25 | add .term output for CSG term export | chrysn | |
2013-06-25 | drop 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-25 | use openscad as a replacement for dumptest and echotest | chrysn | |
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-18 | Removed 'Root Context' debug output | Marius Kintel | |
2013-05-09 | Forgot to actually add most files in previous commit (#217) | Marius Kintel | |
2013-04-26 | Further refactoring of scope/context mechanisms. Mostly related to the new ↵ | Marius Kintel | |
FileContext class. Not quite there yet, but almost | |||
2013-04-26 | Refactoring: Split out FileModule from Module, Added LocalScope renamed some ↵ | Marius Kintel | |
confusing 'evaluate' methods to 'instantiate', added FileContext (not yet used) |