From 5a1fc30fc6cecd8620d32c514cc69292d0da95e5 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Fri, 21 Jan 2011 22:39:34 +0100 Subject: Added support for specifying a VARIANT variable diff --git a/openscad.pro b/openscad.pro index 0e94eb0..ee237c5 100644 --- a/openscad.pro +++ b/openscad.pro @@ -1,3 +1,13 @@ +# Auto-include config_.pri if the VARIANT variable is give on the +# command-line, e.g. qmake VARIANT=mybuild +!isEmpty(VARIANT) { + message("Variant: $${VARIANT}") + exists(config_$${VARIANT}.pri) { + message("Including config_$${VARIANT}.pri") + include(config_$${VARIANT}.pri) + } +} + win32 { isEmpty(VERSION) VERSION = $$system(date /t) } else { -- cgit v0.10.1 From 76af8c45ef719f662b7688c53d506cd28c24682e Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 22 Jan 2011 01:28:01 +0100 Subject: Initial version of release checklist diff --git a/doc/release-checklist.txt b/doc/release-checklist.txt new file mode 100644 index 0000000..d0e1174 --- /dev/null +++ b/doc/release-checklist.txt @@ -0,0 +1,36 @@ +OpenSCAD Release Checklist +-------------------------- + +o Update version + release-linux.sh + publish-macosx.sh + FIXME: Windows + +o Update RELEASE_NOTES + +o Tag release + git tag "openscad-2011.01" + +o build source package + git archive --format=tar openscad-2011.01 --prefix=openscad-2011.01/ | gzip > openscad-2011.01.tar.gz + +o build binaries + Mac OS X + - publish-macosx.sh -> OpenSCAD-2011.01.dmg + Linux: FIXME 32 vs. 64 bit + - release-linux.sh + Windows: FIXME 32 vs. 64 bit + +o Set back version: release-linux.sh, publish-macosx.sh, FIXME: Windows + +o Upload + - Github + Upload manually here: https://github.com/openscad/openscad/downloads + FIXME: Write a script + + - Google code + - Get password from https://code.google.com/hosting/settings + ./scripts/googlecode_upload.py -u kintel -w -s "OpenSCAD 2011.11 Windows" -p openscad openscad-2011.01.win32.zip + ./scripts/googlecode_upload.py -u kintel -w -s "OpenSCAD 2011.11 Linux x86" -p openscad openscad-2011.01.linux-x86.tar.gz + ./scripts/googlecode_upload.py -u kintel -w -s "OpenSCAD 2011.11 Mac OS X" -p openscad openscad-2011.01.dmg + ./scripts/googlecode_upload.py -u kintel -w -s "OpenSCAD 2011.11 Source code" -p openscad openscad-2011.01.src.tar.gz -- cgit v0.10.1 From 26879007ae3e5de82e09512c4f18541063f949cf Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 22 Jan 2011 18:14:30 +0100 Subject: filenames are case sensitive on some filesystems diff --git a/src/dxfdim.cc b/src/dxfdim.cc index 060691b..4c53d86 100644 --- a/src/dxfdim.cc +++ b/src/dxfdim.cc @@ -34,7 +34,7 @@ #include "mathc99.h" #include -#include +#include #include QHash dxf_dim_cache; -- cgit v0.10.1 From 420c36603b8ba8e7fcf2988ccef4774130d39511 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Fri, 4 Feb 2011 14:07:22 +0100 Subject: suggestions for constants diff --git a/doc/TODO.txt b/doc/TODO.txt index a053b58..29c4d87 100644 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -143,6 +143,7 @@ o Language Frontend - Rethink for vs. intersection_for vs. group. Should for loops generate child lists instead, and make these passable to other modules or accessible by child()? + - constants: PI, TRUE, FALSE o DXF Import/Export - Use dxflib from RibbonSoft for import/export? -> investigate - Import -- cgit v0.10.1 From 07ec4e43b8bc1328e1815b3e259d0cbb62e17087 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 5 Feb 2011 17:06:34 +0100 Subject: clarify boolean wishes diff --git a/doc/TODO.txt b/doc/TODO.txt index 29c4d87..31e569f 100644 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -138,12 +138,11 @@ o Language Frontend the "Flex & Bison" O'Reilly book, "Start States and Nested Input Files", page 28, for an example. - Allow local variables and functions everywhere (not only on module level) - - allow 0/1 f/t FALSE/TRUE as boolean values - - allow any expression to be evaluated as boolean (e.g. 1 = true, 0 = false) + - allow any expression to be evaluated as boolean (!0 = true, 0 = false) - Rethink for vs. intersection_for vs. group. Should for loops generate child lists instead, and make these passable to other modules or accessible by child()? - - constants: PI, TRUE, FALSE + - constants: PI o DXF Import/Export - Use dxflib from RibbonSoft for import/export? -> investigate - Import -- cgit v0.10.1 From 4ebf146769b27afac33bcfdee9ee50d1f0d54b63 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Wed, 6 Apr 2011 15:16:06 +0200 Subject: Some wishes from Adrian diff --git a/doc/TODO.txt b/doc/TODO.txt index 31e569f..cca4a2a 100644 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -75,12 +75,16 @@ o 3D View - Improve mouse rotation - Add modifier key combos to handle pan and zoom on 1 mouse button systems - Show grid + - Measurement ticks on the axes that look like rulers that one can turn off and on. - 4 x split view w/orthogonal cameras? - Quick highlighting of object under the cursor in the editor - View All + - Allow specifying viewpoint in the scad file - overlay indicator displaying current view mode - OpenCSG rendering: Coincident surfaces causes z-buffer fighting. Is this somehow avoidable tuning the depth tests in OpenCSG? + - Use OpenGL picking to facilitate ray-tracing like features like measuring + thicknesses, distances, slot thicknesses etc. o Editor wishlist - More infrastructure for external editor (allow communication from the outside) - Preferences GUI for the features below -- cgit v0.10.1 From 4ed0748e3a32f42c4a1e4c626ee93dc7b90e324f Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Wed, 6 Apr 2011 15:16:35 +0200 Subject: Update from upstream diff --git a/scripts/macosx-sanity-check.py b/scripts/macosx-sanity-check.py index 243020f..3938d74 100755 --- a/scripts/macosx-sanity-check.py +++ b/scripts/macosx-sanity-check.py @@ -9,6 +9,9 @@ # # Author: Marius Kintel # +# This script lives here: +# https://github.com/kintel/MacOSX-tools +# import sys import os @@ -49,9 +52,14 @@ def lookup_library(file): def find_dependencies(file): libs = [] - p = subprocess.Popen(["otool", "-L", file], stdout=subprocess.PIPE, stderr=subprocess.PIPE) - output = p.communicate()[0] - if p.returncode != 0: return None + args = ["otool", "-L", file] + if DEBUG: print "Executing " + " ".join(args) + p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + output,err = p.communicate() + if p.returncode != 0: + print "Failed with return code " + str(p.returncode) + ":" + print err + return None deps = output.split('\n') for dep in deps: # print dep -- cgit v0.10.1 From 9103d2235cada5b54d5968cc82f881159f3fb92c Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Wed, 6 Apr 2011 15:16:59 +0200 Subject: Updated to latest version of 3rd party libs diff --git a/scripts/macosx-build-dependencies.sh b/scripts/macosx-build-dependencies.sh index ef4653c..e06a8ac 100755 --- a/scripts/macosx-build-dependencies.sh +++ b/scripts/macosx-build-dependencies.sh @@ -158,7 +158,7 @@ echo "Using basedir:" $BASEDIR mkdir -p $SRCDIR $DEPLOYDIR build_gmp 5.0.1 build_mpfr 3.0.0 -build_boost 1.44.0 +build_boost 1.46.1 build_cgal 3.7 -build_glew 1.5.6 +build_glew 1.5.8 build_opencsg 1.3.0 -- cgit v0.10.1