Vitaliy Filippov
80abdc1da0
Experimental circular/spherical/cylindric bend modifier (issue openscad/openscad#815 )
2015-05-23 13:45:15 +03:00
Vitaliy Filippov
045a3b93b0
Use Delaunay triangulation, for both STL and OFF export
2015-05-23 13:45:15 +03:00
Marius Kintel
42d6629156
Merge pull request #1339 from openscad/export-to-clipboard
...
Add "Export to Clipboard" to copy the current 3d view to the system clipboard.
2015-05-18 22:20:28 -04:00
Torsten Paul
ff2427cc1e
Move to Edit->Copy Viewport and add shortcut SHIFT-CTRL-C.
2015-05-16 17:41:52 +02:00
Marius Kintel
5451fabcc1
Merge pull request #1346 from ArchimedesPi/fixup-some-coverity-defects
...
Fix some defects from Coverity (WIP)
2015-05-15 15:45:11 -04:00
Liam Marshall
9641e9bd7f
oops can't delete a pointer address
2015-05-15 14:25:08 -05:00
Liam Marshall
365c562a17
Fix #1 of 2 in 25081 (OffscreenContextGLX.cc)
2015-05-15 14:20:46 -05:00
Liam Marshall
a1a238a9cd
Fix memory leak 25072 (ModuleCache::evaluate)
2015-05-15 14:07:42 -05:00
Liam Marshall
7223f2ac05
Preserve output state so that everything afterwards doesn't get turned into hex
2015-05-15 13:43:23 -05:00
Liam Marshall
1752fcee8c
Easier fix for 93925 (control.cc)
2015-05-15 13:31:20 -05:00
Liam Marshall
4f1132e5a6
Fix memory leak 25008
2015-05-15 13:15:31 -05:00
Liam Marshall
306cece150
Fix memory leak 25035
2015-05-15 13:11:55 -05:00
Liam Marshall
289d84aac0
Fix memory leak 93925
2015-05-15 12:52:12 -05:00
Liam Marshall
38b93fe7a7
Fix memory leak 25100
2015-05-15 12:46:30 -05:00
Marius Kintel
031e016df7
Fix resource path search; the 'libraries' folder isn't always installed. Fixes #1342
2015-05-14 22:32:00 -04:00
Marius Kintel
52f5fe2e92
Merge pull request #1343 from ArchimedesPi/quiet-mode
...
Implement quiet mode
2015-05-14 22:14:21 -04:00
Marius Kintel
f71e0acbbb
Merge pull request #1338 from ArchimedesPi/axes-colorscheme
...
Add a axes-color option for color schemes
2015-05-14 22:12:37 -04:00
Marius Kintel
59f63b5e17
Merge pull request #1337 from openscad/script-detect
...
Simple detection of script and direction based on given text.
2015-05-14 22:10:44 -04:00
Marius Kintel
cd4ced5456
Merge pull request #1327 from openscad/issue1254-qscintilla-fedora
...
Workaround for Fedora 21 builds (fixes #1254 ).
2015-05-14 22:08:47 -04:00
Liam Marshall
2c6d783eb7
Change bacl to black axes for Cornfield
2015-05-14 14:48:12 -05:00
Liam Marshall
1ab390d115
Don't suppress error messages
2015-05-13 17:38:47 -05:00
Liam Marshall
c31a96454c
Need to add quiet to OpenSCAD namespace
2015-05-13 11:23:15 -05:00
Liam Marshall
5239121706
Make PRINT_NOCACHE respect OpenSCAD::quiet
2015-05-13 11:21:55 -05:00
Liam Marshall
061537e773
Add OpenSCAD::quiet definition
2015-05-13 11:21:36 -05:00
Liam Marshall
02db2e15a4
Make -q toggle a global variable for quiet mode
2015-05-13 11:18:32 -05:00
Liam Marshall
4f4ddb938a
Add --quiet,-q option
2015-05-13 11:16:24 -05:00
Liam Marshall
17f9941a08
Make default blue color a bit darker
2015-05-12 17:37:00 -05:00
Torsten Paul
591c98e979
Add "Export to Clipboard" to copy the current 3d view to the system clipboard.
2015-05-12 23:48:17 +02:00
Liam Marshall
ca9f9d9d9c
axes-color for Tomorrow Night
2015-05-12 15:53:26 -05:00
Liam Marshall
0c2af2defa
axes-color for Tomorrow
2015-05-12 15:53:19 -05:00
Liam Marshall
8e53c29612
axes-color for Sunset
2015-05-12 15:53:11 -05:00
Liam Marshall
e6cd3fdda1
axes-color for StarNight
2015-05-12 15:50:22 -05:00
Liam Marshall
f9b074c473
axes-color for Nature
2015-05-12 15:50:14 -05:00
Liam Marshall
3511e7079f
axes-color for Monotone
2015-05-12 15:47:49 -05:00
Liam Marshall
7fb626fb08
axes-color for Metallic
2015-05-12 15:45:53 -05:00
Liam Marshall
55affd0273
axes-color for DeepOcean
2015-05-12 15:44:56 -05:00
Liam Marshall
c2f2ba5293
axes-color for beforedawn
2015-05-12 15:43:31 -05:00
Liam Marshall
69e6707c62
axes-color for solarized
2015-05-12 15:41:54 -05:00
Liam Marshall
9fb5893540
Map axes-color in JSON files to AXES_COLOR
2015-05-12 15:26:08 -05:00
Liam Marshall
cdbd08a4d3
Default for axis color (for testing)
2015-05-12 15:25:53 -05:00
Liam Marshall
98b6cf3d19
Add AXES_COLOR to `enum RenderColor`
2015-05-12 15:22:26 -05:00
Liam Marshall
5e3cd59eeb
Switch from getContrastColor to getColor in GLView
...
* Removed bgcontrast
* Added new `Color4f axescolor` obtained by `ColorMap::getColor(...,
AXES_COLOR)`
* Switched showAxes and showScalemarkers to `axescolor`
2015-05-12 15:09:20 -05:00
Torsten Paul
9f372cff41
Simple detection of script and direction based on given text.
...
This adds a simple detection logic based on the hb_unicode_script()
function provided by harfbuzz. Automatic script selection will only
happen if no valid parameter was given (basically only in case of
a missing script parameter in text()).
If different scripts are found in a single text, the resulting value
is HB_SCRIPT_UNKNOWN.
2015-05-09 18:05:07 +02:00
Marius Kintel
89371f60cf
Merge pull request #1335 from hroncok/patch-1
...
Czech translation: Add missing space
2015-05-04 15:02:58 -04:00
Miro Hrončok
c94e62878a
Czech translation: Add missing space
2015-05-04 20:12:53 +02:00
Marius Kintel
2dbf9755c3
Version splitting used wrong variable, causing version() to return [0,0,0]. Fixes #1329
2015-04-28 10:21:02 -04:00
Marius Kintel
0e1b0daf36
#1254 Backport some code to boost filesystem V2, for old RedHat version
2015-04-26 16:11:51 -04:00
Marius Kintel
e21b321323
Allow compiling against libstdc++ and c++03
2015-04-26 16:11:10 -04:00
Torsten Paul
cc4b633e43
Workaround for Fedora 21 builds ( fixes #1254 ).
...
Fedora installs qscintilla2.prf in the wrong location and has a different
naming scheme than the one used in Ubuntu so the existing workaround fails.
This adds yet another workaround to detect the different naming for the
Qt5 version of the QScintilla2 library.
2015-04-26 16:45:04 +02:00
Marius Kintel
c45f2b5f36
Merge branch 'master' of github.com:openscad/openscad
2015-04-25 21:31:17 -04:00
Marius Kintel
2b3392266f
Merge pull request #1326 from openscad/issue1325
...
Fixes Issue #1325
2015-04-25 16:57:05 -04:00
Marius Kintel
e6989526ca
#1325 Fixed crash when polygons with > 3 indices turn out to be degenerate
2015-04-25 15:20:09 -04:00
Marius Kintel
12a43fd942
bugfix: bash substitution of SHORTVERSION was wrong
2015-04-21 11:10:24 -04:00
Marius Kintel
172f1bfd3e
bugfix: bash substitution of SHORTVERSION was wrong
2015-04-21 11:10:02 -04:00
Marius Kintel
4d0745d337
Revert "Bumped version to 2015.03-1"
...
This reverts commit a209035a83
.
2015-04-21 11:09:23 -04:00
Marius Kintel
a209035a83
Bumped version to 2015.03-1
2015-04-21 10:41:44 -04:00
Marius Kintel
b3ae7fa1ff
Merge pull request #1319 from openscad/issue1317
...
Fixed bug reversing result of is_nan(), causing normals vectors to somet...
2015-04-21 01:56:00 -04:00
Marius Kintel
167b8825f7
Fixed bug reversing result of is_nan(), causing normals vectors to sometime be exported as 0 0 0. Fixes #1317
2015-04-21 01:33:25 -04:00
Marius Kintel
a1bece5c51
Merge pull request #1316 from openscad/issue1288
...
Grab framebuffer before opening file dialog. Should fix #1288
2015-04-17 10:14:02 -04:00
Marius Kintel
728a114594
#1288 Grab framebuffer before opening file dialog to avoid the dialog being part of hte grabbed frame
2015-04-16 11:11:28 -04:00
Marius Kintel
4d3800cc89
Merge pull request #1313 from clothbot/patch-3
...
Removed deprecated assign statement
2015-04-16 00:32:12 -04:00
Andrew Plumb
c32e271a0c
Sync up output with example023 cleanup.
2015-04-15 23:58:06 -04:00
Marius Kintel
6e5315b430
Merge pull request #1312 from clothbot/patch-2
...
Comment out search term not found WARNING
2015-04-15 22:08:24 -04:00
Marius Kintel
b718a23972
Fix gmp issue; ptrdiff_t not found. Fixes #1314
2015-04-15 21:45:21 -04:00
Marius Kintel
2e31b3e43a
Prefer http over ftp
2015-04-15 21:45:12 -04:00
Andrew Plumb
9897174a03
Found more search PRINTB warnings to remove
2015-04-15 18:29:05 -04:00
Marius Kintel
e87dab0bc6
Merge branch 'master' of https://github.com/openscad/openscad
2015-04-15 14:35:15 -07:00
Marius Kintel
e5e9f20f95
Prefer http over ftp
2015-04-15 14:35:12 -07:00
Marius Kintel
b9c8985377
Fix gmp issue; ptrdiff_t not found. Fixes #1314
2015-04-15 14:33:51 -07:00
Andrew Plumb
e8c8bda674
Manually removing WARNING echos.
2015-04-15 14:50:44 -04:00
Andrew Plumb
dee5885d9f
Manually removing WARNING echos.
2015-04-15 14:49:02 -04:00
Andrew Plumb
bb183558ae
Removing instead of just commenting out line.
2015-04-15 14:47:30 -04:00
Marius Kintel
ed2f4c2e22
Merge pull request #1315 from ankush1995/compile-gl
...
separate-compile
2015-04-15 13:22:38 -04:00
ankush1995
7e5394c6fa
separate-compile
2015-04-15 14:56:19 +05:30
Andrew Plumb
330b41656b
Removed deprecated assign statement
2015-04-13 19:24:51 -04:00
Andrew Plumb
3adfdad66d
Comment out search term not found WARNING
...
Returning empty result should be sufficient for detecting a no-match condition.
See forum discussion http://forum.openscad.org/Suppressing-quot-search-term-not-found-quot-warning-in-search-td12359.html
2015-04-13 18:46:43 -04:00
Marius Kintel
b7a011d0f1
Merge branch 'issue1276' into 2015.03
2015-04-13 13:21:15 -04:00
Marius Kintel
82f85cd328
Merge pull request #1311 from openscad/issue1276
...
Issue1276
2015-04-13 13:21:09 -04:00
Marius Kintel
f53b3a3ac1
Merge pull request #1310 from openscad/issue1284
...
Issue1284
2015-04-13 13:10:00 -04:00
Marius Kintel
c3736b0f30
#1276 Let FileModule::instantiate() catch all module recursions
2015-04-13 12:45:30 -04:00
Marius Kintel
25f927799d
#1284 Fix animation flicker by not updating camera while compiling
2015-04-12 22:02:03 -04:00
Marius Kintel
90a86be54b
Don't include build date. Fixes #1294
2015-04-01 17:12:27 -04:00
Marius Kintel
90094fff25
Merge pull request #1295 from openscad/issue1294
...
Don't include build date. Fixes #1294
2015-04-01 17:10:36 -04:00
Marius Kintel
38ef9fddde
Don't include build date. Fixes #1294
2015-04-01 17:09:57 -04:00
Torsten Paul
b2b4695f21
Switch to MXE hosted in openscad github / branch openscad-snapshot-build.
2015-03-30 23:47:36 -04:00
Marius Kintel
6c3c2de264
Merge pull request #1283 from Lenbok/scad-mode-updates
...
Updates to Emacs scad-mode
2015-03-30 23:29:24 -04:00
Lenbok
7632b065c6
Fix incorrect indentation for lines affected by # modifier
2015-03-28 15:38:13 +13:00
Lenbok
b43734c3e5
* Convert to being derived from cc-mode, as per a 2013 post from Lukasz
...
Stelmach. This yields better indentation (particularly for
continuations) as well as being simpler.
* Update keywords for the 2015.03 release (plus a couple missed from
earlier)
* Use separate highlighting style for deprecated keywords.
2015-03-28 13:59:45 +13:00
Torsten Paul
a5ec4587b6
Switch to MXE hosted in openscad github / branch openscad-snapshot-build.
2015-03-24 01:29:33 +01:00
Marius Kintel
1b840be127
Merge pull request #1280 from openscad/issue1264b
...
#1264 Backported to QScintilla 2.7, left a small bug when using 2.7 but ...
2015-03-23 16:30:57 -04:00
Marius Kintel
8b452f65f7
#1264 Backported to QScintilla 2.7, left a small bug when using 2.7 but we can live with it
2015-03-23 16:30:04 -04:00
Marius Kintel
85290e4d51
Merge pull request #1279 from openscad/issue1277
...
Update temporal variables for each evaluation, not for each compilation....
2015-03-23 15:28:54 -04:00
Marius Kintel
5ad4b13036
Update temporal variables for each evaluation, not for each compilation. This ensures that camera parameters are correct even if we reuse an already compiled document. Fixes #1277
2015-03-23 15:02:14 -04:00
Marius Kintel
3ac213d649
Merge pull request #1278 from openscad/issue1264
...
Reimplemented Replace All to work properly. Fixes #1264
2015-03-23 14:26:11 -04:00
Marius Kintel
5042d064b2
Reimplemented Replace All to work properly. Fixes #1264
2015-03-23 12:51:25 -04:00
Marius Kintel
2001f1302e
Merge pull request #1275 from openscad/mxe-c++11
...
Build fixes to compile on MXE with C++11 enabled.
2015-03-23 11:32:34 -04:00
Torsten Paul
c71e70c0f9
Build fixes to compile on MXE with C++11 enabled.
2015-03-22 14:17:36 +01:00
Marius Kintel
d37f4fbbab
install in normal location, set c++11 as default for dependencies
2015-03-20 20:16:55 -04:00
Marius Kintel
c5e1e2b9af
Merge remote-tracking branch 'origin/master' into c++11
2015-03-20 17:00:41 -04:00
Marius Kintel
c037625b65
Disable c++11 as default for now
2015-03-20 17:00:05 -04:00
Marius Kintel
21cce232bc
#1203 Explicitly set icon to make sure windows systems correctly set up the icon
2015-03-20 00:40:55 -04:00
Marius Kintel
2ab649c226
Allow resizing the main window smaller than the status bar label. Fixes #1260
2015-03-14 19:23:31 -04:00
Marius Kintel
363b27a614
Patch level release checklist
2015-03-14 16:17:38 -04:00
Marius Kintel
99eae18713
Release notes doesn't currently change for patch level releases
2015-03-14 16:17:20 -04:00
Marius Kintel
9ef1717459
Conflicts:
...
openscad.pro
scripts/publish-macosx.sh
scripts/publish-mingw-x.sh
scripts/release-common.sh
tests/CMakeLists.txt
2015-03-14 16:17:07 -04:00
Marius Kintel
9660ba84a0
Merge remote-tracking branch 'origin/master' into c++11
2015-03-14 15:46:49 -04:00
Marius Kintel
064cf23887
#1258 Moved test to issues after fixing
2015-03-13 15:52:52 -04:00
Marius Kintel
4a9d2d321a
Crashed attempting to access non-existing element. Fixes #1258
2015-03-13 15:45:40 -04:00
Marius Kintel
f3e28ca8b4
#1258 Added testcase
2015-03-13 15:34:52 -04:00
Marius Kintel
c2cb2377f5
Made Bezier code slightly more easy to read
2015-03-12 19:34:36 -04:00
Marius Kintel
72ca3c849d
Removed unused code
2015-03-12 19:33:33 -04:00
Torsten Paul
d2666c80ef
Activate special icon for nightly builds (using SUFFIX=-nightly).
2015-03-13 00:08:26 +01:00
Marius Kintel
067eec8743
Merge remote-tracking branch 'origin/master' into c++11
2015-03-12 01:38:29 -04:00
Marius Kintel
e78206d2aa
Separate out std/stdlib flags since ragel doesn't currently build with C++11
2015-03-12 01:38:12 -04:00
Marius Kintel
0eb91e0549
Ignore leading and trailing whitespace when comparings dumps, makes diffs a lot easier to read
2015-03-12 00:24:27 -04:00
Marius Kintel
541352acad
Removed use of deprecated rotate_extrude variant
2015-03-12 00:04:54 -04:00
Marius Kintel
c10bc224e5
Merge pull request #1255 from prokoudine/master
...
Completed Russian translation of OpenSCAD
2015-03-11 23:58:37 -04:00
Alexandre Prokoudine
ff829babab
Fixed and updated the header of ru.po
2015-03-11 16:19:15 +03:00
Alexandre Prokoudine
6d9bcad1e7
Completed and fixed Russian translation
2015-03-11 16:15:28 +03:00
Marius Kintel
394cc15fba
Merge remote-tracking branch 'origin/master' into c++11
2015-03-10 22:08:06 -04:00
Marius Kintel
f7df0edd85
Nightly icons
2015-03-10 17:18:39 -04:00
Marius Kintel
5e46cb2ff8
Add snapshot to CONFIG for snapshot builds
2015-03-10 17:18:17 -04:00
Marius Kintel
26e5684d08
Enable nightly icon for Mac
2015-03-10 17:17:21 -04:00
Marius Kintel
3a3eb3b8b9
Added hyperair
2015-03-10 17:00:18 -04:00
Marius Kintel
ca72a5ab5d
Reverted version to master after release
2015-03-10 10:46:46 -04:00
Marius Kintel
a7bf4fe69b
Bumped version to 2015.03
2015-03-10 10:45:40 -04:00
Marius Kintel
71cc091c26
Upload release version in correct location
2015-03-10 10:44:01 -04:00
Marius Kintel
6a0658df22
#1252 merged Spanish translation
2015-03-10 10:43:30 -04:00
Marius Kintel
15a7d74b69
Updated test results after adding echo(version())
2015-03-09 13:10:44 -04:00
Marius Kintel
b23bebe434
Added license
2015-03-09 12:33:06 -04:00
Marius Kintel
653e3cb116
typo
2015-03-09 12:13:37 -04:00
Marius Kintel
891b484bdc
Added assign() to deprecation list
2015-03-09 11:58:46 -04:00
Marius Kintel
4db81672ca
Remove empty categories. Revert hardcoding of categories
2015-03-09 11:36:57 -04:00
Marius Kintel
e7971b6a60
Revert "Hardcode example categories to make them easier to translate"
...
This reverts commit a4bbf2063b
.
2015-03-09 11:24:13 -04:00
Marius Kintel
08b97429a9
Use correct links to release notes
2015-03-09 03:42:58 -04:00
Marius Kintel
2091e6532b
various small updates
2015-03-09 02:50:05 -04:00
Marius Kintel
c4f42011fc
Disable test with z buffer tearing
2015-03-09 01:00:02 -04:00
Marius Kintel
061401ccfc
sync
2015-03-09 00:00:26 -04:00
Marius Kintel
424f37e17b
#1250 Don't tesselate convex polysets for rendering
2015-03-08 23:56:37 -04:00
Marius Kintel
3cda1c6f5a
bboxes should be recalculated after transformations. We could filter out rotation transforms but this is easier for now
2015-03-08 23:56:21 -04:00
Marius Kintel
df9a05e46c
Ignore throwntogethertest_issue964
2015-03-08 22:46:53 -04:00
Marius Kintel
f52061535e
Updated test result; order of polygons changes
2015-03-08 20:56:30 -04:00
Marius Kintel
7d1962b95a
wops, forgot to set the dirty bit in one place
2015-03-08 20:41:56 -04:00
Marius Kintel
cc1f9e1353
quickfix: Increase parser stack depth to allow for larger designs
2015-03-08 19:36:30 -04:00
Marius Kintel
28b347065d
Improved performance regression: create indexed polygon before tessellating, don't tessellate triangles
2015-03-08 19:35:20 -04:00
Marius Kintel
30f5343834
Optimization: Cache boundingbox, added append_poly with Polygon parameter
2015-03-08 19:32:10 -04:00
Marius Kintel
485edd57be
doc
2015-03-08 19:29:24 -04:00
Marius Kintel
66835e1ef4
Only show verbose debug info when --debug is turned on
2015-03-08 17:35:30 -04:00
Marius Kintel
78f3c283b0
Updated test results after fixing zero clamp surface issue
2015-03-07 23:17:33 -05:00
Marius Kintel
393772d1f8
fixed a small remaining surface issue; z values weren't clamped to 0
2015-03-07 23:17:11 -05:00
Marius Kintel
d98f892913
Updated test result after camera change
2015-03-07 19:34:47 -05:00
Marius Kintel
30d2440598
More camera fixes: Better viewall calculation, better switching between perspective and ortho
2015-03-07 19:02:51 -05:00
Marius Kintel
788293f68f
Updated test results after camera changes
2015-03-07 19:01:58 -05:00
Marius Kintel
f67c116c9d
Disable freetype issue on travis
2015-03-07 18:52:34 -05:00
Marius Kintel
2c2b9b15ac
Issue 899 is fixed
2015-03-07 18:50:55 -05:00
Marius Kintel
2dd29906ef
Merge branch 'master' of github.com:openscad/openscad
2015-03-07 18:33:18 -05:00
Marius Kintel
7cf1f3a7dd
#1246 Filter away nan/inf coordinates to avoid crashing libtess2
2015-03-07 18:33:09 -05:00
Marius Kintel
56723afa50
#1246 Added testcase
2015-03-07 18:14:12 -05:00
Marius Kintel
e4b55e2eed
Slightly modified camera tests, cgalpngtest-text-search-test is no longer heavy
2015-03-07 14:20:09 -05:00
Marius Kintel
ade90b2275
Merge pull request #1244 from openscad/translation-updates
...
Translation updates
2015-03-06 17:47:13 -05:00
Torsten Paul
e95f432781
Update German translation.
2015-03-06 23:34:21 +01:00
Torsten Paul
f7303223c0
Extract strings for translation from JSON file.
2015-03-06 23:26:06 +01:00
Marius Kintel
7392f7b159
Updated release checklist, related to VERSION
2015-03-06 14:24:51 -05:00
Marius Kintel
51346343d1
Merge branch 'master' of github.com:openscad/openscad
2015-03-06 11:41:13 -05:00
Marius Kintel
b9463833ff
Enable auto indent as default
2015-03-06 11:41:04 -05:00
Marius Kintel
91c6c3aa58
Changed default tab width to 4
2015-03-06 11:40:49 -05:00
Marius Kintel
5916197860
Merge pull request #1242 from hroncok/czech
...
Czech translation + .mo ignore
2015-03-06 10:30:34 -05:00
Marius Kintel
759e761b11
Merge pull request #1243 from dkreuter/master
...
scripts/check-dependencies.sh can't determine version of opencsg
2015-03-06 10:25:36 -05:00
David Kreuter
4ca4677265
Bugfix: scripts/check-dependencies.sh can't determine version of opencsg.
...
Grep doesn't return matching lines when it believes that the file is a binary.
The header for opencsg seems to trigger this behaviour. Added the -a switch to
the grep invocation to force interpretation as text file.
2015-03-06 12:21:29 +01:00
Miro Hrončok
8ba56e9e8d
Ignore .mo files lying next to .po files
2015-03-06 10:30:11 +01:00
Miro Hrončok
6339e7b655
Updated Czech translation
2015-03-06 10:29:16 +01:00
Marius Kintel
3e5846d969
#1239 Updated test results
2015-03-05 18:28:56 -05:00
Marius Kintel
d5e50a188a
fixed merge error
2015-03-05 17:58:13 -05:00
Marius Kintel
09a10152ad
Merge branch 'master' of github.com:openscad/openscad
2015-03-05 17:47:13 -05:00
Marius Kintel
f3eaa2a6c0
#1239 Updated test results
2015-03-05 17:45:22 -05:00
Marius Kintel
ca0fc467a6
#1239 Use Liberation Sans font
2015-03-05 17:43:50 -05:00
Marius Kintel
caf8954b19
Merge pull request #1241 from kevenv/master
...
Update french translation
2015-03-05 17:33:19 -05:00
Marius Kintel
778752a8dc
#1239 Updated test cases
2015-03-05 17:31:15 -05:00
Marius Kintel
6ca6d14b5c
Merge branch 'master' of github.com:openscad/openscad
2015-03-05 17:30:32 -05:00
Marius Kintel
a48551dffb
#1239 Changed font to a more generally available one
2015-03-05 17:30:29 -05:00
Keven Villeneuve
7b1e305be8
Update french translation
2015-03-05 17:30:18 -05:00
Marius Kintel
4e0ee77e24
Merge pull request #1240 from NeoTheFox/patch-3
...
Updated traslation
2015-03-05 17:24:29 -05:00
NeoTheFox
9bdac9db09
Updated traslation
2015-03-06 01:13:02 +03:00
Marius Kintel
0599ece998
Disable test which triggers floating point rounding issues
2015-03-05 17:02:21 -05:00
Marius Kintel
ab428bee47
Added 2015.03
2015-03-05 16:19:05 -05:00
Marius Kintel
671f7dc58b
cosmetics
2015-03-05 16:18:53 -05:00
Marius Kintel
4bda97761f
Merge remote-tracking branch 'origin/examples-cleanup'
2015-03-05 16:10:44 -05:00
Marius Kintel
f8e732e25a
Merge remote-tracking branch 'origin/master' into examples-cleanup
...
Conflicts:
locale/ru.po
2015-03-05 16:09:54 -05:00
Marius Kintel
928180f313
Minor feature
2015-03-05 16:05:52 -05:00
Marius Kintel
a8efc1200b
Merge branch 'master' of github.com:openscad/openscad
2015-03-05 15:57:59 -05:00
Marius Kintel
a2d0985737
#1158 Don't mix 2D and 3D objects
2015-03-05 15:57:48 -05:00
Marius Kintel
9a223a5df0
Updated version variable info
2015-03-05 15:44:06 -05:00
Marius Kintel
57a3b7c9aa
Updated version to 2015.03
2015-03-05 15:43:36 -05:00
Marius Kintel
08e3722bcb
Updated version variable info
2015-03-05 15:42:46 -05:00
Marius Kintel
8a735b1452
Merge pull request #1238 from NeoTheFox/patch-2
...
Updated traslation and fixed some errors
2015-03-05 15:25:43 -05:00
Marius Kintel
e7aeb2490c
Updated pre-release preparations
2015-03-05 15:23:29 -05:00
Marius Kintel
94798345ff
Updated copyright, added translators
2015-03-05 15:23:05 -05:00
Marius Kintel
a05c40de9d
Updated MCAD
2015-03-05 15:22:42 -05:00
NeoTheFox
010208e22b
Updated traslation and fixed some errors
2015-03-05 23:16:18 +03:00
Marius Kintel
bf60d0571c
Reran script to generate new strings
2015-03-05 14:58:43 -05:00
Marius Kintel
a46c43b444
Include all source files
2015-03-05 14:57:53 -05:00
Marius Kintel
a4bbf2063b
Hardcode example categories to make them easier to translate
2015-03-05 14:49:19 -05:00
Marius Kintel
66230e2680
Merge remote-tracking branch 'origin/master' into examples-cleanup
2015-03-05 14:35:04 -05:00
Marius Kintel
82e560aed4
Put appcast on files.openscad.org to be able to log activity
2015-03-05 14:34:23 -05:00
Marius Kintel
12abe07da4
Include basic sysinfo to app updater
2015-03-05 14:20:46 -05:00
Marius Kintel
1152e9a167
#1158 coding style
2015-03-05 10:38:35 -05:00
Marius Kintel
981aad9966
#1158 tabs to space
2015-03-05 10:30:13 -05:00
Marius Kintel
8761d340be
#1236 Updated test results after camera FOV change
2015-03-05 10:26:32 -05:00
Marius Kintel
66134448ac
#1236 slighty update camera parameters
2015-03-05 10:26:09 -05:00
Marius Kintel
4b9c56bcc5
#1158 Make text 3D
2015-03-05 10:25:22 -05:00
Marius Kintel
8a8926db3d
Merge remote-tracking branch 'origin/master' into examples-cleanup
2015-03-05 10:24:20 -05:00
Marius Kintel
039d0806e6
#1236 Revert camera FOV
2015-03-05 10:24:13 -05:00
Don Bright
252a870059
add some debugging for qsci
2015-03-05 02:36:46 -06:00
Don Bright
c7fb84685a
don't check gcc version, it has been removed from README
2015-03-05 02:28:50 -06:00
Don Bright
a40d9c9150
speed up gmp search
2015-03-05 02:21:51 -06:00
Marius Kintel
4b45893575
indentation
2015-03-03 23:49:34 -05:00
Marius Kintel
e24fb72092
doc
2015-03-03 23:49:07 -05:00
Marius Kintel
0d2c1f5466
Don't manually process events during MainWindows construction as it causes out-of-order execution of certain methods. Fixes #1235
2015-03-03 23:48:58 -05:00
Marius Kintel
1cb880401d
Updated release notes
2015-03-03 16:53:15 -05:00
Marius Kintel
e8ad157619
#1158 Added old examples back, updated expected results, general workover
2015-03-03 16:31:48 -05:00
Marius Kintel
83228e3ef2
Merge branch 'examples-cleanup' of github.com:openscad/openscad into examples-cleanup
2015-03-03 15:34:15 -05:00
Torsten Paul
ffb0129d03
Generate seeded random values to produce stable output for test cases.
2015-03-03 21:29:43 +01:00
Marius Kintel
c830906a3f
Merge remote-tracking branch 'origin/master' into examples-cleanup
2015-03-03 14:12:23 -05:00
Marius Kintel
78f83e17d2
Keep 05-osx-fonts.conf in fonts dir to make the fonts work in development mode
2015-03-03 13:25:53 -05:00
Marius Kintel
dc160d410d
#1158 Updated examples
2015-03-03 02:49:19 -05:00
Marius Kintel
5c7ebc0fda
Updated examples
2015-03-03 02:47:53 -05:00
Marius Kintel
928a3f5da7
updated example
2015-03-03 02:46:04 -05:00
Marius Kintel
4d0b59abfa
changed convexity
2015-03-03 02:45:41 -05:00
Marius Kintel
8fed5b2aa3
Removed star as it has been covered in other examples
2015-03-03 02:28:50 -05:00
Marius Kintel
c255dba121
Added polygon_areas example
2015-03-03 02:28:26 -05:00
Marius Kintel
6eaf6e9500
Allow 2D cross product
2015-03-03 02:28:01 -05:00
Marius Kintel
ce1e0d9b80
#1158 Minor cleanup
2015-03-03 01:26:25 -05:00
Marius Kintel
333d402f77
#814 Added list comprehension example
2015-03-03 01:25:54 -05:00
Marius Kintel
4a0071c1ba
#1158 Read example filenames from examples.json, allowing us to determine sorting order of examples, as well as ignore spurious files
2015-03-03 00:42:54 -05:00
Marius Kintel
6e44f62472
indentation
2015-03-03 00:41:34 -05:00
Marius Kintel
9fd3aa5f17
Merge remote-tracking branch 'origin/master' into examples-cleanup
2015-03-02 23:12:54 -05:00
Marius Kintel
fc436f6f9f
#1233 Correctly handle homogeneous components in transformation matrices
2015-03-02 17:16:56 -05:00
Marius Kintel
dfc516c5e1
#1233 Added testcase
2015-03-02 17:06:27 -05:00
Marius Kintel
43c500f0b8
Refactor: Moved _DxfData contents to main cc file as it's no longer related to dxfdata
2015-03-02 14:47:28 -05:00
Marius Kintel
4c6cc6aa78
Move private clase ZRemover to cc file
2015-03-02 14:46:45 -05:00
Marius Kintel
70ae4acdd0
Improve line number coloring
2015-03-02 13:11:53 -05:00
Marius Kintel
697399d4a2
bugfix: Sometimes, the margin wasn't wide enought to fit the line numbers, improved colors for no syntax highlighting
2015-03-02 13:11:34 -05:00
Marius Kintel
f54a968391
Merge remote-tracking branch 'origin/master' into examples-cleanup
2015-03-01 22:04:57 -05:00
Marius Kintel
70b1fc5c09
cosmetics
2015-03-01 20:45:11 -05:00
Marius Kintel
2b87482a70
Merge pull request #1231 from openscad/fix-new-button
...
Fix "New" button in launching screen.
2015-02-28 19:05:51 -05:00
Torsten Paul
0bbe4ea43e
Fix "New" button in launching screen.
...
The "New" button will cause the launching screen to return with an empty
selection of files. In this case, the dummy file name "" needs to remain
in the file list to allow the main window to open.
2015-03-01 00:55:59 +01:00
Marius Kintel
94d609addb
Merge branch 'master' of github.com:openscad/openscad
2015-02-27 10:19:23 -05:00
Marius Kintel
b4d00a3da2
Allow opening of multiple files on application launch on OS X. Fixes #1229
2015-02-27 10:19:21 -05:00
Marius Kintel
3c3ac52576
Merge pull request #1227 from openscad/alpha-marker-fix
...
Workaround for colors with alpha part in Qt4
2015-02-26 23:43:06 -05:00
Marius Kintel
b9e1b6603e
Bumped to Qt-5.4.1
2015-02-25 18:58:20 -05:00
Marius Kintel
7b8c98cfbd
Make 'show scale values' a slave of 'show axes'
2015-02-25 15:03:52 -05:00
Marius Kintel
994872359e
Indentation
2015-02-25 14:50:47 -05:00
Torsten Paul
c6bac0be69
Fix handling of colors with alpha value, Qt4 does not support that in QColor.
2015-02-25 20:15:11 +01:00
Torsten Paul
01df14d388
Use indicator 8 as documentation says the first 8 are reserved by lexers.
2015-02-25 20:14:29 +01:00
Marius Kintel
1dbeff48bd
Bugfix: Margin font didn't get set correctly, causing font spacing to be larger than necessary for small fonts
2015-02-25 11:32:09 -05:00
Marius Kintel
fb2e2fa08d
Removed duplicate fire of QComboBox signals
2015-02-25 11:31:30 -05:00
Marius Kintel
dd69750d48
Use same fontsize for margin and text
2015-02-24 15:53:48 -05:00
Marius Kintel
de595c0f9e
Bugfix: Correctly set font
2015-02-24 15:53:24 -05:00
Marius Kintel
656735f694
#1225 moved fixed test to issues
2015-02-23 21:28:41 -05:00
Marius Kintel
b13075d2a5
#1225 Fix nan or inf normal vector output
2015-02-23 21:21:31 -05:00
Marius Kintel
56f3552404
#1225 Added testcase
2015-02-23 19:12:44 -05:00
Marius Kintel
0dd3f004dd
#1223 Put back check for min value, to catch negative values
2015-02-23 02:17:02 -05:00
Marius Kintel
878cd0a8d8
Updated offset() to correct API
2015-02-23 01:59:34 -05:00
Marius Kintel
aaed62060c
#1223 Updated tests
2015-02-22 19:02:10 -05:00
Marius Kintel
40ecf515af
#1223 Made PNG surfaces behave similar to .dat files; scale max possible intensity to height=100
2015-02-22 19:00:59 -05:00
Marius Kintel
29e52ef4e0
#1223 PNG surfaces were 1 unit too large in the Y direction
2015-02-22 18:37:31 -05:00
Marius Kintel
8302aa830f
#865 remove debug info
2015-02-22 13:18:34 -05:00
Marius Kintel
c5b0a61911
#865 bugfix: Account for retina displays, fixed bug in relative vs. absolute positioning
2015-02-22 13:17:41 -05:00
Marius Kintel
d84d1e0250
Updated contributors
2015-02-22 13:02:03 -05:00
Marius Kintel
54ffa54fa3
Support both Qt4 and Qt5
2015-02-22 11:35:37 -05:00
Marius Kintel
bdc52fa6e6
Fixed erratic zooming on trackpads
2015-02-22 03:55:42 -05:00
Marius Kintel
54ad8c2039
#1206 Fix rounding of scale markers, Added 'e' character for large axis values
2015-02-22 03:15:45 -05:00
Marius Kintel
e7e8b30379
#1223 Improved testcases
2015-02-22 02:47:57 -05:00
Marius Kintel
5878da1c7d
#1223 Added testcase
2015-02-21 19:12:37 -05:00
Marius Kintel
2cf9de36e2
Disable opencsgtest_issue11105b for travis; Gallium issue
2015-02-20 00:38:55 -05:00
Marius Kintel
577f8129ae
Deal with known non-manifoldness
2015-02-20 00:28:13 -05:00
Marius Kintel
ef9b06040f
Disable opencsgtest_issue1215 for travis as it causes an OpenCSG rendering difference
2015-02-20 00:22:09 -05:00
Marius Kintel
979cb37381
#904 Moved fixed tests to issues
2015-02-20 00:16:41 -05:00
Marius Kintel
38280a10ae
#1105 moved fixed tests to issues
2015-02-19 23:59:11 -05:00
Marius Kintel
944ad096fc
#1221 Moved fixed tests to issues
2015-02-19 23:46:36 -05:00
Marius Kintel
0c74474c49
#1215 Moved fixed tests to issues
2015-02-19 23:44:57 -05:00
Marius Kintel
5c2c96a4f2
#13 Added another testcase
2015-02-19 23:39:09 -05:00
Marius Kintel
e23c79fd25
#945 Added another testcase
2015-02-19 23:27:46 -05:00
Marius Kintel
2b01887b7f
#1221 Adjusted related tests
2015-02-19 21:01:05 -05:00
Marius Kintel
bf3df9a81a
#1221 Always quantize vertices when converting from PolySet to Nef polyhedron
2015-02-19 20:59:39 -05:00
Marius Kintel
b7617fd82f
#1221 Added testcase
2015-02-19 20:21:02 -05:00
Marius Kintel
e4aae1cc62
#1215 Fixed corner case
2015-02-19 16:40:49 -05:00
Marius Kintel
7073e3a2f5
#1215 test case is known to be weakly manifold
2015-02-19 16:40:25 -05:00
Marius Kintel
da6fb17207
#1215 Enable exceptions in test suite
2015-02-17 17:18:48 -05:00
Marius Kintel
47d4954f8b
Updated expected test result
2015-02-17 17:18:26 -05:00
Marius Kintel
c9694935e1
Fixed crash in OFF and AMF export by applying workaround for #410
2015-02-17 17:18:05 -05:00
Marius Kintel
98fcfa43be
#1215 Added expected test results
2015-02-17 17:17:27 -05:00
Marius Kintel
54239a2534
Merge remote-tracking branch 'origin/master' into c++11
2015-02-17 15:28:58 -05:00
Marius Kintel
9dc76d2012
Bump CGAL to 4.5.2, don't automatically build 32-bit binaries in deployment mode
2015-02-16 23:52:55 -05:00
Marius Kintel
307afc53e0
#1215 Added new testcase
2015-02-16 14:41:14 -05:00
Marius Kintel
33d7023752
#1215 Repair non-manifold tessellation results, detect and report non-manifold results
2015-02-14 12:28:26 -05:00
Marius Kintel
d5d22158dd
#1215 Added support for optional --render parameter as well as optional manifoldness requirement to export_import_pngtest, slightly reorganized tests to use the new parameters
2015-02-14 12:26:54 -05:00
Marius Kintel
a3337c7af8
No need to link with Qt
2015-02-13 16:18:34 -05:00
Marius Kintel
946eb0efdf
Adjusted some non-manifold tests
2015-02-13 16:17:59 -05:00
Marius Kintel
e067bead92
Merge branch 'master' of github.com:openscad/openscad
2015-02-12 14:47:04 -05:00
Marius Kintel
c023b1eb30
ignore *.pyc
2015-02-12 14:46:30 -05:00
Marius Kintel
c8e12ad949
Minor reorg of expor-import tests to better handle manifoldness issues
2015-02-12 14:45:48 -05:00
Marius Kintel
6893d3efe2
Always run with --render=cgal for the first export
2015-02-12 14:45:25 -05:00
Marius Kintel
abd79418f1
Merge branch 'master' of github.com:openscad/openscad
2015-02-12 12:31:09 -05:00
Marius Kintel
09b3ab45d4
#1215 Added tests, check for weak manifoldness when running tests
2015-02-12 12:29:15 -05:00
Marius Kintel
faabc49266
Merge branch 'master' of github.com:openscad/openscad
2015-02-11 14:01:56 -05:00
Marius Kintel
8dd0102d4e
Bugfix: We sometimes did output extra null-triangles if the tessellator left consecutive unused vertices
2015-02-11 13:58:45 -05:00
Marius Kintel
7e64335450
Simplified debug checking and made debug output work for cgal test programs
2015-02-11 12:55:10 -05:00
Marius Kintel
6ac8d017b7
#669 Added DXX11 and LIBCXX11 options
2015-02-10 19:10:08 -05:00
Marius Kintel
8216e98afd
Merge remote-tracking branch 'origin/master' into c++11
2015-02-10 19:09:12 -05:00
Marius Kintel
b6558889b4
bugfix: Don't return a temporary string from exception::what
2015-02-10 18:59:11 -05:00
Marius Kintel
b567f844ad
#669 Support libc++ in macosx-sanity-check
2015-02-10 17:50:42 -05:00
Marius Kintel
137928fced
#669 C++11 build fix
2015-02-10 17:46:55 -05:00
Marius Kintel
7c2db84fe6
#669 Added C++11 support
2015-02-10 17:32:24 -05:00
Marius Kintel
65935b4466
Merge remote-tracking branch 'origin/master' into c++11
2015-02-10 17:31:12 -05:00
Marius Kintel
4b4f4386bb
Be nice (and C++11 compatible)
2015-02-10 17:31:00 -05:00
Marius Kintel
6576ee7d05
Merge remote-tracking branch 'origin/master' into c++11
2015-02-10 16:42:48 -05:00
Marius Kintel
2cbbf66586
Support high-resolution icons if present
2015-02-10 14:10:25 -05:00
Marius Kintel
0fefd42250
The margin checkerboard was a bit visually disturbing
2015-02-10 12:21:53 -05:00
Marius Kintel
571d2140c1
Updated Mac dependency build: Allow package selection on the cmd-line, allow forcing reinstall of already installed package
2015-02-09 19:19:00 -05:00
Marius Kintel
c2bd5c3537
Set the following enabled as default: show axes, show scalemarkers, automatic reload. Fixes #1205
2015-02-09 18:46:12 -05:00
Marius Kintel
c50d927216
Fixed bug in libtess. Fixes #1210
2015-02-09 18:42:17 -05:00
Marius Kintel
b2f2323f6b
#1210 Added test
2015-02-09 01:29:32 -05:00
Marius Kintel
fe4997b38c
Merge pull request #1207 from Lenbok/fix-qt-detection-hang
...
Fix problem with check-dependencies.sh during detection of qt
2015-02-06 00:42:38 +01:00
Lenbok
47f5815b49
Fix problem with check-dependencies.sh during detection of qt under
...
some circumstances.
- If qtchooser is installed but qmake could not be found (either qt4
or qt5), the check would hang due to grep expecting input from
stdin.
- If qtchooser is installed but qmake for qt5 is not installed, the
code would not actually check for the existence of qt4 qmake, since
the test for ! -e $qtpath doesn't do what you want when $qtpath is
empty.
2015-02-06 12:03:07 +13:00
Marius Kintel
e6557822f6
Removed obsolete file
2015-02-05 17:08:24 -05:00
Marius Kintel
6cecbc2a52
Removed unused images
2015-02-05 17:07:46 -05:00
Marius Kintel
a4508e3fb5
Removed obsolete files
2015-02-05 17:03:19 -05:00
Marius Kintel
37421bbbfa
#1186 bugfix: Use QString in slots
2015-02-05 12:08:38 -05:00
Marius Kintel
a203b55205
Reduce excessive degenerate polygon warnings
2015-02-05 12:08:08 -05:00
Marius Kintel
2631b40915
ignore out.*
2015-02-04 15:14:10 -05:00
Marius Kintel
448b38fe9e
Added Makefile for generating examples html pages. From @t-paul
2015-02-04 15:13:37 -05:00
Marius Kintel
d7d980675d
Improved curve rendering
2015-02-04 14:15:37 -05:00
Marius Kintel
4f49b35ba4
Made logo.scad use a module, and let logo_and_text.scad use<> that module
2015-02-04 13:48:11 -05:00
Marius Kintel
b578ff5c75
minor cleanup
2015-02-04 13:47:47 -05:00
Marius Kintel
ec0f42d648
minor cleanup
2015-02-04 13:47:34 -05:00
Marius Kintel
4deb7b2d64
Merge branch 'examples-cleanup' of github.com:openscad/openscad into examples-cleanup
2015-02-04 13:31:14 -05:00
Marius Kintel
d244807be8
minor cleanup
2015-02-04 13:31:12 -05:00
Marius Kintel
fd9553b510
minor cleanup
2015-02-04 13:31:00 -05:00
Torsten Paul
df51c85717
Add example for recursive module calls.
2015-02-04 19:27:31 +01:00
Torsten Paul
707afb2f4c
Add example for using the animation feature.
2015-02-04 19:27:31 +01:00
Marius Kintel
d3e9d2659e
Added CSG and CSG-modules examples
2015-02-04 13:21:20 -05:00
Marius Kintel
e7c684d5c7
Merge remote-tracking branch 'origin/master' into examples-cleanup
2015-02-04 12:36:30 -05:00
Marius Kintel
18d7237293
Renamed to logo.scad
2015-02-04 12:36:16 -05:00
Marius Kintel
4ce1a8d92f
Move cursor to end of console to avoid inheriting selected paragraph style. Fixes #1186
2015-02-04 01:20:53 -05:00
Marius Kintel
0fcc1fbf83
Force execution of the progress dialog to the GUI thread. Fixes #1194
2015-02-03 14:35:54 -05:00
Marius Kintel
8cb5adf0ca
Make sure GUI event processing happens in the GUI thread. Fixes #1194
2015-02-03 00:48:26 -05:00
Marius Kintel
00a3a1777e
#793 Don't try to tessellate empty geometry
2015-02-02 19:21:49 -05:00
Marius Kintel
707103b606
#793 Tessellate PolySets before rendering to properly support concave polygons
2015-02-02 18:57:21 -05:00
Marius Kintel
384c6af273
Output timing for convex decomposition when doing minkowski
2015-02-02 16:31:17 -05:00
Marius Kintel
32024588b5
bugfix: Specifying multiple --debug args didn't work
2015-02-02 15:56:35 -05:00
Marius Kintel
c0bcb36843
#842 bugfix: handle multiple consecutive NBSP characters
2015-02-02 14:08:53 -05:00
Marius Kintel
9cade2487e
Added NBSP tests
2015-02-02 14:05:49 -05:00
Marius Kintel
f669f4d84a
Merge branch 'master' of github.com:openscad/openscad
2015-02-01 18:43:21 -05:00
Marius Kintel
111197f694
#793 Added testcase
2015-02-01 18:43:18 -05:00
Marius Kintel
3aa0b63a05
Merge pull request #1201 from hroncok/czech
...
Updated the Czech translation after #1200 changes
2015-02-01 20:57:36 +01:00
Miro Hrončok
c5f7f66809
Updated the Czech translation after #1200 changes
2015-02-01 20:55:47 +01:00
Marius Kintel
bd53d58061
Merge pull request #1200 from openscad/translations-update
...
Translations update
2015-02-01 20:22:27 +01:00
Torsten Paul
c5ec54362e
Run translation-make.sh from test suite to validate *.po file syntax ( fixes #1180 ).
2015-02-01 20:11:29 +01:00
Torsten Paul
af8c938c8c
Update German translation.
2015-02-01 19:44:30 +01:00
Torsten Paul
fa233049c7
Fix translation of combobox values in preferences.
2015-02-01 19:44:11 +01:00
Torsten Paul
ef8cdc42d3
Update translations.
2015-02-01 19:41:21 +01:00
Marius Kintel
ea165eeb58
Wops, accidentally committed a change made for testing
2015-01-29 20:43:13 -05:00
Marius Kintel
5b216a5bd4
Changed behavior of something minkowski'ed with nothing: It should return the actual object without changes
2015-01-29 18:50:57 -05:00
Marius Kintel
f01826b28b
#1196 moved test to fixed issues
2015-01-29 18:36:33 -05:00
Marius Kintel
1d66d2154b
Filter empty children before performing minkowski sum. Fixes #1196
2015-01-29 18:35:12 -05:00
Marius Kintel
e4d7de133b
#1198 moved test to fixed issues
2015-01-29 17:54:58 -05:00
Marius Kintel
0ca04759bb
Bugfix: We forgot to align the first passed vertex. Fixes #1198
2015-01-29 17:45:09 -05:00
Marius Kintel
2b727e8ea2
#1198 Added testcase
2015-01-29 17:06:30 -05:00
Marius Kintel
07e1894f6e
Fixes crash when using rands() with min == max
2015-01-29 12:59:56 -05:00
Marius Kintel
b5c60a22e5
#1196 Added testcase
2015-01-29 12:24:12 -05:00
Marius Kintel
81ef1b896b
Merge pull request #1189 from hroncok/czech
...
Updated the Czech translation
2015-01-29 17:27:16 +01:00
Marius Kintel
c68533d3c6
#1189 Removed unused titles for progressbar and preferences toolbar
2015-01-29 11:26:38 -05:00
Marius Kintel
3fa3317233
minor fix: Call this->quit to correctly end application
2015-01-29 11:18:53 -05:00
Marius Kintel
41642f2cb5
Updated menu mnemonics to cover most of the entries
2015-01-29 11:16:31 -05:00
Marius Kintel
79b45e62b6
Fix test results after modifying default convexity for rotate_extrude
2015-01-29 00:52:53 -05:00
Marius Kintel
5f496b2554
Be helpful and set default convexity of rotate_extrude to 2
2015-01-29 00:11:52 -05:00
Marius Kintel
597d07f357
Catch infinite recursion in top-level assignments. Fixes #1192
2015-01-28 20:07:15 -05:00
Marius Kintel
2d721de753
Merge branch 'master' of github.com:openscad/openscad
2015-01-28 14:49:09 -05:00
Marius Kintel
ab2fa92eb5
Added test triggering #1192
2015-01-28 14:49:06 -05:00
Miro Hrončok
f2c263a1f4
Updated the Czech translation
2015-01-28 10:50:55 +01:00
Marius Kintel
c110962405
Merge pull request #1185 from kevenv/master
...
Update french translation
2015-01-28 01:18:58 +01:00
Keven Villeneuve
d347b72e49
Update french translation
2015-01-27 18:53:02 -05:00
Marius Kintel
99f69e92cd
Merge pull request #1182 from b4zz4/patch-1
...
update es.po
2015-01-27 22:58:38 +01:00
Bazza
44d846f16e
update es.po
...
add my name in code
2015-01-27 21:38:20 +00:00
Torsten Paul
0e90e3b5f7
Merge pull request #1179 from clothbot/patch-1
...
Mac build failing on line 908-909
2015-01-25 15:56:11 +01:00
Andrew Plumb
b5ee931d13
Mac build failing on line 908-909
...
Looks like lines 908-909 need to be reversed for my Mac OS X build to work on my latest git pull.
Error message is:
--snip--
msgfmt -c -v -o ./locale/ru/LC_MESSAGES/openscad.mo ./locale/ru.po
./locale/ru.po:908: missing 'msgstr' section
./locale/ru.po:910:7: syntax error
msgfmt: found 2 fatal errors
error running msgfmt
make: *** [OpenSCAD.app/Contents/MacOS/OpenSCAD] Error 1
--end-snip--
Andrew.
2015-01-25 09:51:11 -05:00
Marius Kintel
a87401031b
Merge pull request #1178 from NeoTheFox/patch-1
...
Update ru.po
2015-01-25 07:58:55 +01:00
Marius Kintel
c755854251
Don't translate messages going to the Library Info dialog
2015-01-25 01:55:46 -05:00
Marius Kintel
d6f0b7dc50
Flip faces when transforming using a mirroring transform. Fixes #1174
2015-01-25 01:53:04 -05:00
Marius Kintel
3722ce5d81
Merge branch 'master' of github.com:openscad/openscad
2015-01-25 01:50:39 -05:00
Marius Kintel
4c26959cf2
#1174 Added testcase
2015-01-25 01:49:36 -05:00
Marius Kintel
13a4e43de9
Merge branch 'master' of github.com:openscad/openscad
2015-01-25 01:37:37 -05:00
Marius Kintel
4a3245056b
Cosmetics
2015-01-24 23:51:07 -05:00
NeoTheFox
4ba92ece61
Update ru.po
...
Translated most of recent changes
2015-01-24 23:32:06 +03:00
Torsten Paul
181ee4823a
Update translations.
2015-01-24 20:51:40 +01:00
Marius Kintel
5a0c4b0ba8
Updated copyright year
2015-01-23 01:31:41 -05:00
Marius Kintel
25da58afb3
Updated with new cmd-line switches
2015-01-23 01:31:17 -05:00
Marius Kintel
60ae33f796
ignores..
2015-01-22 19:12:32 -05:00
Marius Kintel
0a1c74c2ef
Merge branch 'master' of github.com:openscad/openscad
2015-01-22 16:18:10 -05:00
Marius Kintel
c80bb8a624
Bumped freetype to 2.5.5
2015-01-22 16:18:07 -05:00
Marius Kintel
f5c667333e
Merge pull request #1171 from openscad/preview-render-icons
...
Added new Preview and Render icons from @atartanian
2015-01-22 20:21:38 +01:00
Marius Kintel
6167269377
Merge pull request #1173 from Qubotica/master
...
español
2015-01-22 07:11:27 +01:00
Marius Kintel
0a0275b502
Added new GEB example suggestion
2015-01-21 23:13:35 -05:00
b4zz4
ce2e3ec965
detalles faltantes
2015-01-21 22:36:55 -03:00
b4zz4
7f7369e064
add spanish
2015-01-21 22:33:07 -03:00
b4zz4
b14e698697
español
2015-01-21 22:23:43 -03:00
Marius Kintel
577e23c15a
Renamed and simplified the logo model
2015-01-21 19:19:59 -05:00
Marius Kintel
6fc671c961
Merge branch 'master' into examples-cleanup
2015-01-21 18:09:27 -05:00
Marius Kintel
630cb483d7
Added new Preview and Render icons from @atartanian
2015-01-21 17:43:04 -05:00
Marius Kintel
0ce207b950
Updated URL and release notes for snapshots
2015-01-21 12:52:53 -05:00
Marius Kintel
a70c49d20a
Merge branch 'master' of github.com:openscad/openscad
2015-01-21 11:18:25 -05:00
Marius Kintel
8e75fecacc
Display non-manifold warning after F6. Fixes #1162
2015-01-21 11:18:22 -05:00
Marius Kintel
9808b2c14f
Remember to update wikibooks on release
2015-01-21 10:01:18 -05:00
Marius Kintel
ff02f14308
Merge branch 'master' of github.com:openscad/openscad
2015-01-21 09:51:07 -05:00
Marius Kintel
eef129324f
Added test result
2015-01-21 09:39:37 -05:00
Marius Kintel
125fb788e1
Moved fixed bug to issues
2015-01-21 02:15:01 -05:00
Marius Kintel
dc9769e6ad
Moved fixed bug to issues
2015-01-21 02:14:43 -05:00
Marius Kintel
ce5a367b8f
Clean up incoming polygon. Fixes #1165
2015-01-21 02:13:13 -05:00
Marius Kintel
1a4599f213
#1165 updated expected image
2015-01-21 02:06:35 -05:00
Marius Kintel
83e3c5a7e1
Updated prerequisites
2015-01-21 01:09:09 -05:00
Marius Kintel
b64ef905a0
Clarified OS X build
2015-01-21 01:04:51 -05:00
Marius Kintel
c7a3e206d8
minor build fix; avoid generating empty -I or -L arguments. Needed for MacPorts build
2015-01-21 01:04:31 -05:00
Marius Kintel
083bf4313f
Allow the state to track cache lookup preference. This is important to allow lookups to prefer Nef polyhedrons in cases where PolySet->Nef fails due to zero triangles. Fixes #1027
2015-01-20 16:03:31 -05:00
Marius Kintel
3cb7731192
Merge branch 'master' of github.com:openscad/openscad
2015-01-20 15:01:23 -05:00
Marius Kintel
ceb01a3ef2
Merge pull request #1167 from TDeagan/export_icons_retry
...
Cleanup of files to add export icons to all export types.
2015-01-18 05:00:02 +01:00
Tim Deagan
b217b08394
Cleanup of files to add export icons to all export types.
2015-01-17 20:49:18 -06:00
Torsten Paul
a26870754e
Add example for recursive functions.
2015-01-17 19:39:27 +01:00
Torsten Paul
26156ea755
Add example for simple functions.
2015-01-17 19:39:17 +01:00
Torsten Paul
a3c32e5f87
Add Functions example category.
2015-01-17 19:39:05 +01:00
Marius Kintel
7a8574aee2
#1165 Added testcase
2015-01-16 14:37:47 -05:00
Marius Kintel
65e50b2be6
#13 Added testcases
2015-01-16 13:35:01 -05:00
Marius Kintel
e479ffba90
Use new tessellator for PolySet tessellation
2015-01-16 12:45:35 -05:00
Marius Kintel
f8a9af0e54
Removed unnecessary console output
2015-01-16 12:03:30 -05:00
Marius Kintel
11dec75290
Merge pull request #1160 from TDeagan/defaulticon
...
Set Windows Registry Defaulticon For Document Icon
2015-01-16 06:29:38 +01:00
Marius Kintel
0860021a52
Merge branch 'gui-updates'
2015-01-15 23:47:48 -05:00
Marius Kintel
d246814a2c
Merge branch 'master' into gui-updates
...
Conflicts:
src/MainWindow.ui
2015-01-15 23:47:36 -05:00
Marius Kintel
29d9d4e614
Revert "cosmetics" - this is apparently needed when using boost-1.46
...
This reverts commit 7283d06294
.
2015-01-15 23:16:11 -05:00
Marius Kintel
4fa3b71422
Merge pull request #1159 from openscad/extend-help-menu
...
Add cheat-sheet link to help menu
2015-01-15 22:53:36 -05:00
Marius Kintel
7283d06294
cosmetics
2015-01-15 22:51:50 -05:00
Marius Kintel
a038d693c7
debug output tweak
2015-01-15 22:51:38 -05:00
Marius Kintel
24f15e5738
Updated expected results after modifying examples to CC0
2015-01-15 22:48:40 -05:00
Marius Kintel
b23ca0407f
#1156 bugfix: Fix for polygons using the same vertex multiple times, but not consecutively
2015-01-15 22:01:30 -05:00
Marius Kintel
3f4e6705e8
#1156 bugfix: We were assuming monotone polygon indices with no duplicates. Caused a out of bounds write
2015-01-15 17:55:58 -05:00
Marius Kintel
1822865b58
Assert on invalid result
2015-01-15 17:54:29 -05:00
Marius Kintel
ebc1404e05
#1156 Added failing polygon test
2015-01-15 17:54:13 -05:00
Marius Kintel
fb55e1485b
#1156 PRINTDB bugfix
2015-01-15 17:25:57 -05:00
Tim Deagan
c54a2e8f0c
Removed redundant #include <QDir> statement
...
QDir was already being conditionally included prior to the gui function, including it at the top of the file was redundant.
modified: src/openscad.cc
2015-01-15 15:48:23 -06:00
Marius Kintel
d8d8ee3ab5
debug output
2015-01-15 16:17:31 -05:00
Marius Kintel
39e7442b92
#1156 Bugfix: We don't have userdata any longer
2015-01-15 16:07:06 -05:00
Marius Kintel
f7a5c1c78e
Updated expected results
2015-01-15 15:11:47 -05:00
Marius Kintel
0e23303cbc
doc
2015-01-15 15:05:04 -05:00
Marius Kintel
9087369863
Merge remote-tracking branch 'origin/master' into libtess2
2015-01-15 14:47:13 -05:00
Marius Kintel
1c52fad1d3
Moved libtess2-based tessellation to GeometryUtils, related refactoring
2015-01-15 14:47:05 -05:00
Marius Kintel
90b647ec48
Use iterator as dest instead of a vector, for flexibility
2015-01-15 14:38:34 -05:00
Marius Kintel
d7175c7d01
Added hash_value() for Vector3f
2015-01-15 14:38:04 -05:00
Tim Deagan
c0760e9904
Removal of openscad.cc cmdline section for registry change
...
Removal of the code block in the cmdline() section of openscad.cc that sets the Document Icon. This was necessary due to the follow:
"This is also used from the test framework which does not link with Qt. See Travis log:
/home/travis/build/openscad/openscad/src/openscad.cc:46:16: fatal error: QDir: No such file or directory"
modified: src/openscad.cc
2015-01-15 11:14:01 -06:00
Torsten Paul
33425115c5
Update dumptest reference files.
2015-01-15 17:29:11 +01:00
Torsten Paul
dcda8faa3d
Remove setting WhitespaceBackgroundColor from noColor() too.
2015-01-15 16:59:46 +01:00
Marius Kintel
b6d76e370c
update: no SVG/AMF import in this release
2015-01-15 10:04:18 -05:00
Torsten Paul
903ecfcfe7
Add example for image import with surface().
2015-01-15 02:04:56 +01:00
Torsten Paul
80da2525b4
Add example for indexed access using children().
2015-01-14 23:59:20 +01:00
Torsten Paul
d8b67df3a2
Add example for children().
2015-01-14 22:58:52 +01:00
Torsten Paul
9a8ba2c5d0
Add example for projection().
2015-01-14 21:48:03 +01:00
Torsten Paul
9fb0f14f67
Add example for rotate_extrude().
2015-01-14 20:33:02 +01:00
Torsten Paul
1e14e63947
Add cheat-sheet link to help menu
2015-01-14 20:01:53 +01:00
Torsten Paul
6260bbea62
Add basic linear_extrude() examples.
2015-01-14 19:30:24 +01:00
Marius Kintel
4af38828d2
Remaining example -> CC0
2015-01-14 11:47:56 -05:00
Marius Kintel
b2692d9a98
Changed license of most remaining examples to CC0
2015-01-13 23:51:56 -05:00
Marius Kintel
cce80c5a96
Merge pull request #1144 from openscad/examples-license-change
...
Change license for example files.
2015-01-13 22:56:15 -05:00
Marius Kintel
c30eeecfa2
Make sure we export the on-screen image. Fixes #1154
2015-01-13 22:29:33 -05:00
Marius Kintel
2e79055edc
sync with upstream
2015-01-13 21:39:00 -05:00
Marius Kintel
fc68e3571e
Convert all coordinates to float; the tessellator works in floats
2015-01-13 19:56:18 -05:00
Marius Kintel
39d6823872
Turn off gridding again
2015-01-13 19:21:46 -05:00
Marius Kintel
e03c0cebda
Polygon tests
2015-01-13 19:17:33 -05:00
Marius Kintel
7b16891cc5
Merge remote-tracking branch 'origin/master' into libtess2
2015-01-13 18:56:41 -05:00
Marius Kintel
f32eb7e84d
Grid Nef3 vertices when converting to PolySet
2015-01-13 18:54:35 -05:00
Marius Kintel
cd8607d87d
Always normalize normal vector, for safety
2015-01-13 18:51:00 -05:00
Marius Kintel
e3103c69c2
Don't tessellate triangles, ignore self-intersections, convert all coordinates to TESSfloat
2015-01-13 18:46:09 -05:00
Marius Kintel
da8f4d9933
Upstream sync
2015-01-13 18:35:20 -05:00
Marius Kintel
b0c822988b
sync with upstream
2015-01-13 16:52:23 -05:00
Marius Kintel
0b1925a417
Less intense debug output
2015-01-13 16:51:02 -05:00
Marius Kintel
e1c62ea152
Added some forgotten libraries
2015-01-13 13:30:50 -05:00
Marius Kintel
0e15b4bf54
Merge branch 'master' of github.com:openscad/openscad
2015-01-13 13:18:14 -05:00
Marius Kintel
4b60231d3b
Merge branch 'master' into libtess2
2015-01-13 13:14:51 -05:00
Marius Kintel
df2dae4e59
Added new tessellator using libtess2 instead of CGAL
2015-01-13 13:14:09 -05:00
Torsten Paul
366663610f
Clarify editor zoom to be font size change and add proper icons.
2015-01-13 02:26:12 +01:00
Torsten Paul
303217d0b9
Always set both height and viewer_distance ( fixes #1153 ).
...
The only exception is the initialization in the Constructor which seems
to matter for the test suite where the Camera is initialized with type
NONE. This still needs some investigation as unifying both variables into
a single one does break tests on Travis (but not locally).
2015-01-12 17:48:24 +01:00
Tim Deagan
47254dd021
Update STL export icons.
2015-01-12 17:32:36 +01:00
Torsten Paul
7b33e9eb67
Highlight export warnings in console window.
2015-01-12 17:31:14 +01:00
Torsten Paul
e84f7976a6
Update translation template file.
2015-01-12 17:13:06 +01:00
Marius Kintel
3bb9cd79c6
Merge pull request #1152 from openscad/win-version-detect
...
Extend Windows version detection (fixes #1076 ).
2015-01-11 21:30:45 -05:00
Tim Deagan
01a0299890
New multi-image icon file for Document Icon
...
Different images for different size icons are in the same .ico file. Windows will pick the correct size one as needed. This is built into openscad.exe via the openscad_win32.rc file.
new file: icons/openscad_doc.ico
2015-01-11 18:25:02 -06:00
Tim Deagan
ce5b38d96e
Add on-launch code to set Document Icon in windows registry
...
Since OpenSCAD doesn't distribute with additional image files, this means a new icon needs to be built into the .exe. This is accomplished by adding a line to the end of openscad_win32.rc file consisting of something like the following:
IDI_ICON2 ICON DISCARDABLE "icons/openscad_doc.ico"
which will get built into the exe as icon index 1 (icon index 0 is the current app icon.)
In the cmdline and gui functions in openscad.cc I added code to set the HKEY_CURRENT_USER/Software/Classes/OpenSCAD_File/DefaultIcon/Default value to the icon index 1 of openscad.exe
modified: openscad_win32.rc
modified: src/openscad.cc
2015-01-11 18:21:08 -06:00
Torsten Paul
668a5211ff
Fix ragel URL and bump to version 6.9.
2015-01-11 19:31:42 +01:00
Torsten Paul
094bc92090
Scale icons depending on font size.
2015-01-10 17:21:56 +01:00
Torsten Paul
197dd5ef3b
Add scale marker icon for dark theme.
2015-01-10 02:06:19 +01:00
Torsten Paul
ddd1228a51
Add settings entry to enable/disable warning display in the 3D view.
2015-01-10 00:54:52 +01:00
Torsten Paul
1ae9ed5ada
Allow true/false for boolean settings.
2015-01-10 00:54:13 +01:00
Torsten Paul
670d9a0833
Enable word wrap to prevent the message forcing a bigger viewport size.
2015-01-10 00:35:45 +01:00
Marius Kintel
4fc31db780
Merge branch 'master' of github.com:openscad/openscad
2015-01-09 18:14:27 -05:00
Marius Kintel
9f6b7b170d
#1105 Yet another testcase
2015-01-09 18:13:43 -05:00
Torsten Paul
cd5ecb5eeb
Make welcome screen work for dark themes.
2015-01-09 20:20:29 +01:00
Torsten Paul
bb7adc83cb
Add white icons.
2015-01-09 19:24:04 +01:00
Torsten Paul
ceae9d57d0
Merge branch 'toolbar' of https://github.com/openscad/openscad into gui-updates
...
Conflicts:
openscad.qrc
src/MainWindow.ui
2015-01-09 19:09:22 +01:00
Torsten Paul
5943704194
Fix icon selection for dark theme.
2015-01-09 19:04:43 +01:00
Torsten Paul
166e3df850
Remove setting the font size for the warning/error bar.
2015-01-09 18:20:07 +01:00
Torsten Paul
13ba427bb4
Extend Windows version detection ( fixes #1076 ).
...
As GetVersionEx() is deprecated and will not report Windows 8.1 without
additional resource file manipulation this is now using the code from
http://hg.m1xa.com/findversion (by M1xA / MIT license) which is using the
VerifyVersionInfo API.
2015-01-09 02:00:33 +01:00
Marius Kintel
76dc38008c
Merge pull request #1148 from openscad/fix-search-crash
...
Validate size of search vector entries (fixes #1147 ).
2015-01-08 17:00:26 -05:00
Torsten Paul
6e85c54fc4
Validate size of search vector entries ( fixes #1147 ).
2015-01-08 22:11:45 +01:00
Torsten Paul
10bee498e6
Fix duplicated output of DEPRECATED marker.
2015-01-08 19:34:37 +01:00
Torsten Paul
e3441b50a1
Move winconsole to separate folder.
2015-01-08 19:12:13 +01:00
Marius Kintel
35d25f394c
Normalize calculated normal vector also for polygons without holes
2015-01-08 00:16:45 -05:00
Marius Kintel
aeab04233b
Merge branch 'master' into warning-in-viewport
2015-01-08 00:00:03 -05:00
Marius Kintel
6e0d94ec44
Fixed merge error
2015-01-07 23:56:00 -05:00
Marius Kintel
e44c103b72
Fixed merge error
2015-01-07 23:55:38 -05:00
Marius Kintel
b893834c86
Merge remote-tracking branch 'origin/master' into warning-in-viewport
2015-01-07 23:51:45 -05:00
Marius Kintel
93a9db4917
Merge branch 'master' into warning-in-viewport
2015-01-07 23:42:15 -05:00
Marius Kintel
c8097c411e
Merge pull request #1131 from TDeagan/scalemarkers_numbered
...
Scalemarkers numbered
2015-01-07 23:41:38 -05:00
Marius Kintel
6a39812160
Stand-alone program for exporting a Nef polyhedron to STL
2015-01-07 14:10:31 -05:00
Marius Kintel
b519718b64
Another crash example
2015-01-07 13:50:14 -05:00
Torsten Paul
156d7ccefb
Clarify license for basic examples.
2015-01-07 19:35:41 +01:00
Marius Kintel
4538134990
#1105 Yet another testcase
2015-01-07 13:20:02 -05:00
Torsten Paul
c915ecfde0
Change license for example files.
2015-01-07 17:25:42 +01:00
Torsten Paul
da657d7543
Treat deprecation as warning message ( fixes #1143 ).
2015-01-07 17:05:50 +01:00
Marius Kintel
47fcde8d5c
Merge branch 'gridfix'
2015-01-07 10:56:31 -05:00
Marius Kintel
0bd0129f8f
bugfix: Apparently execution order wasn't deterministic, caused bugs on older gcc's
2015-01-07 02:09:37 -05:00
Marius Kintel
8c53981cfa
Killed compiler warnings
2015-01-07 02:06:25 -05:00
Marius Kintel
55b5d26965
Bugfix: Integer norm is only available in Eigen 3.2.3 ->
2015-01-07 01:02:29 -05:00
Marius Kintel
cfc879cd1c
Mac compile fix
2015-01-07 00:34:33 -05:00
Marius Kintel
74a93a3be8
Merge remote-tracking branch 'origin/gridfix'
2015-01-06 23:58:19 -05:00
Marius Kintel
1941a7fc0d
#1105 Workaround for CGAL problem: Don't trust normal vectors from Nef polyhedrons, normalize calculated normal vectors
2015-01-06 22:51:44 -05:00
Marius Kintel
5537e82274
Added printPolyhedron
2015-01-06 22:50:40 -05:00
Marius Kintel
2eda0b60a0
cosmetics
2015-01-06 22:50:07 -05:00
Marius Kintel
b302cb172b
Merge remote-tracking branch 'origin/master' into gridfix
2015-01-06 22:47:43 -05:00
Torsten Paul
dda527dabd
Show error/warning status in viewport.
2015-01-07 03:14:46 +01:00
Torsten Paul
7b2d01ff51
Use double backslashes to quote fontconfig input.
2015-01-07 00:50:58 +01:00
Marius Kintel
08fd033293
Be conservative and don't apply the CGAL hull fix to unknown versions without testing
2015-01-06 17:55:42 -05:00
Marius Kintel
61cf460a4f
Merge remote-tracking branch 'origin/master' into gridfix
2015-01-06 17:35:46 -05:00
Marius Kintel
02a2727983
sync
2015-01-06 17:35:19 -05:00
Marius Kintel
499a9717d7
#1105 Added another testcase
2015-01-06 17:35:04 -05:00
Marius Kintel
31f42ee81d
Merge remote-tracking branch 'origin/master' into gridfix
...
Conflicts:
src/cgalutils.cc
2015-01-06 12:44:17 -05:00
Marius Kintel
1a6a7392e7
#1089 Moved testcases to good tests
2015-01-06 12:39:49 -05:00
Marius Kintel
61c17092e1
#1089 Only apply convex_hull_3 bugfix to appropriate CGAL versions
2015-01-06 12:24:53 -05:00
Marius Kintel
82dbabac92
Apply convex hull bugfix from CGAL, work around next issue by avoiding using std::set iterators, updated test cases. Fixes #1089
2015-01-06 11:12:03 -05:00
Marius Kintel
a41c8716ec
Merge remote-tracking branch 'origin/master' into c++11
...
Conflicts:
openscad.pro
2015-01-06 01:10:04 -05:00
Marius Kintel
073b2e7740
Merge remote-tracking branch 'origin/master' into gridfix
2015-01-06 00:21:43 -05:00
Marius Kintel
a300cddfb5
Suppress a few test cases triggering Gallium bugs on Ubuntu-12.04
2015-01-06 00:14:14 -05:00
Marius Kintel
57fd4a20bc
Minor adjustment to testcase
2015-01-05 23:51:21 -05:00
Marius Kintel
4b41ccaa29
Minor adjustment to testcase
2015-01-05 23:47:48 -05:00
Marius Kintel
02d591556c
Moved tests from #936 to #945
2015-01-05 23:31:03 -05:00
Marius Kintel
abf9a96881
Fix crash when checking if invalid Nef3 is valid
2015-01-05 23:30:51 -05:00
Marius Kintel
87e483095b
Merge remote-tracking branch 'origin/master' into gridfix
2015-01-05 22:36:29 -05:00
Marius Kintel
ac6a302608
Merge branch 'master' of github.com:openscad/openscad
2015-01-05 21:43:32 -05:00
Marius Kintel
966add80a8
Run fixed bug test cases as part of the normal regression tests
2015-01-05 21:43:17 -05:00
Marius Kintel
4d454367f9
Run fixed bug test cases as part of the normal regression tests
2015-01-05 21:41:58 -05:00
Marius Kintel
27f8370c7b
Export blank image on empty top-level objects, instead of no image
2015-01-05 21:41:05 -05:00
Torsten Paul
d5600b855c
Merge pull request #1140 from t-paul/fix-tests
...
Fix test case failures caused by camera changes.
2015-01-06 02:35:41 +01:00
Torsten Paul
f3f343e101
Fix test case failures caused by camera changes.
2015-01-06 02:21:13 +01:00
Marius Kintel
10e3676a01
Added a test config 'Good' which includes all tests except Bugs
2015-01-05 20:03:20 -05:00
Marius Kintel
32b2d2ec97
Fixed buggy vertex quantizing and polygon tessellation. Should improve some corner cases
2015-01-05 18:22:58 -05:00
Marius Kintel
2fb01e5f83
Merge branch 'master' of github.com:openscad/openscad
2015-01-05 17:38:51 -05:00
Marius Kintel
26f8742023
Added convexValue()
2015-01-05 17:38:42 -05:00
Marius Kintel
adbd458aab
Merge branch 'master' of github.com:openscad/openscad
2015-01-05 17:37:37 -05:00
Marius Kintel
5a2b89981c
Minor fix: If we know that a PolySet is convex, there is no need to perform a computationally expensive test. Should improve #1090
2015-01-05 17:37:14 -05:00
Marius Kintel
bd5cdf9e34
Merge branch 'master' of github.com:openscad/openscad
2015-01-05 17:14:21 -05:00
Marius Kintel
8f6c8a2a03
Merge branch 'master' of github.com:openscad/openscad
2015-01-05 16:17:16 -05:00
Marius Kintel
90172fa5c3
#913 Added expected image
2015-01-05 16:14:02 -05:00
Marius Kintel
179ad1ea7c
#911 Added expected image
2015-01-05 16:13:21 -05:00
Marius Kintel
1e894bb152
#904 Added expected image
2015-01-05 16:11:51 -05:00
Marius Kintel
fe0b7dd334
#835 Added expected image
2015-01-05 16:10:02 -05:00
Marius Kintel
1ad4af8b0b
Collapse consequtive identical vertices instead of deleting the whole polygon. Fixes #1138
2015-01-05 16:04:48 -05:00
Marius Kintel
f79414a208
More debug output
2015-01-05 15:57:42 -05:00
Marius Kintel
fe1e300756
#1138 Added testcase
2015-01-05 15:31:59 -05:00
Marius Kintel
1896c3f09a
Gracefully handle malformed PolySets in minkowski. Fixes #1137
2015-01-05 14:33:54 -05:00
Marius Kintel
5786ba89ff
#1137 Added testcase
2015-01-05 14:32:59 -05:00
Marius Kintel
1a1f36035d
polyhedron debug output had indices reversed
2015-01-05 13:38:26 -05:00
Marius Kintel
d0cee28898
Merge branch 'master' of github.com:openscad/openscad
2015-01-05 13:36:06 -05:00
Marius Kintel
0cf6de75a4
Updated hosting issue. Fixes #1136
2015-01-05 13:36:03 -05:00
Marius Kintel
32229dc34b
Merge pull request #1135 from openscad/unify-camera
...
Unify zoom handling for perspective and orthogonal mode.
2015-01-05 12:43:56 -05:00
Torsten Paul
3c337449e9
Unify zoom handling for perspective and orthogonal mode.
2015-01-05 18:34:08 +01:00
Marius Kintel
578b70c40d
Merge pull request #1134 from openscad/orthogonal-zoom-fix
...
Orthogonal zoom fix
2015-01-05 11:04:20 -05:00
Marius Kintel
4ebc9ce4d0
sync
2015-01-05 10:52:11 -05:00
Marius Kintel
edae1b6980
Merge branch 'master' of github.com:openscad/openscad
2015-01-05 01:56:59 -05:00
Marius Kintel
5b865293a6
Library updates; qt-5.4.0, eigen-3.2.3, boost-1.57, cgal-4.5.1, glew-1.11, gettext-0.19.4, libffi-3.2.1, glib-2.42.1, libxml2-2.9.2
2015-01-05 01:56:24 -05:00
Marius Kintel
4b5ff845f7
Update README.md
2015-01-04 20:10:37 -05:00
Marius Kintel
2fd06f4b78
#1089 Correctly handle CGAL exception behavior
2015-01-04 13:38:06 -05:00
Marius Kintel
378c125b47
Merge branch 'master' of github.com:openscad/openscad
2015-01-04 12:24:48 -05:00
Marius Kintel
acb206dd18
#1089 Added minimal testcase
2015-01-04 12:24:46 -05:00
Marius Kintel
d920a29a3e
Merge pull request #1133 from openscad/svg-scaling-fix
...
Remove border from SVG viewport to fix scaling issues (fixes #1122 ).
2015-01-04 11:54:32 -05:00
Torsten Paul
8d401d3534
Use viewport height as "distance" for the status text in orthogonal mode.
...
While this is not strictly correct as the actual distance has no effect
in orthogonal mode, it's giving the user an indication of the zoom factor.
2015-01-04 17:09:27 +01:00
Torsten Paul
712049795f
Use correct eye position in orthogonal projection mode ( fixes #1058 ).
2015-01-04 17:09:27 +01:00
Torsten Paul
0e20a7cb17
Remove border from SVG viewport to fix scaling issues ( fixes #1122 ).
2015-01-04 16:09:44 +01:00
Marius Kintel
86daffdfd7
Merge branch 'master' of github.com:openscad/openscad
2015-01-03 16:44:16 -05:00
Marius Kintel
d997226f3c
#1089 Provide error message instead of crashing hard on CGAL hull exceptions
2015-01-03 16:43:28 -05:00
Torsten Paul
7cefaa7300
Drop setting the WhitespaceBackgroundColor.
...
QScintilla uses this color even when the whitespace is selected instead of
drawing it in the selection background color. This causes selection to
look strange when the whitespace display is enabled.
2015-01-03 19:28:42 +01:00
Tim Deagan
358ba86fc8
Swap out spaces for tabs
...
modified: src/GLView.h
modified: src/MainWindow.h
modified: src/QGLView.h
modified: src/mainwin.cc
QtCreator ignores the prefs and will only put in spaces instead of tabs. These are manual fixes in Notepad++ to try and keep the indents in the standard mode.
2015-01-02 01:32:37 -06:00
Marius Kintel
09e7bfc96d
#1129 Fixed crash when performing empty projection
2015-01-01 23:01:09 -05:00
Marius Kintel
b68ac5e6f2
fixed typo in last commit
2015-01-01 22:54:09 -05:00
Marius Kintel
f10d0c5d5f
#1129 Added testcase for empty projection crash
2015-01-01 22:50:58 -05:00
Marius Kintel
743732d874
Fix bug in harfbuzz build causing us to require OS X 10.9+
2014-12-31 15:31:27 -05:00
Marius Kintel
6fc720d1b7
Bumped Eigen to 3.2.2
2014-12-31 15:02:20 -05:00
Marius Kintel
f139c4b424
#1097 Test program do decompose an STL into multiple convex STL's and an OpenSCAD model importing them all with different colors
2014-12-31 14:45:34 -05:00
Marius Kintel
648b7acc22
Prefix some missing errors with 'ERROR:' to make highlighting work. Fixes #1123
2014-12-31 13:49:54 -05:00
Marius Kintel
15d1dbce28
Merge branch 'master' of github.com:openscad/openscad
2014-12-31 02:52:58 -05:00
Marius Kintel
4eaf8797c2
Small refactoring: Split out Polyhedron-related functions to from cgalutils.cc to cgalutils-polyhedron.cc
2014-12-31 02:52:56 -05:00
Torsten Paul
bebe08483f
The WrapFlagInMargin value is only available in QScintilla 2.7 and later.
...
This is a workaround for Debian 7 which has QScintilla 2.6.2. The "Margin"
setting is simply ignored and behaves as "None".
2014-12-30 13:58:48 +01:00
Torsten Paul
8d4d83f168
Fix build with Qt4.
2014-12-30 13:03:51 +01:00
Marius Kintel
bc30dca513
Merge pull request #1119 from openscad/scintilla-updates
...
Scintilla updates
2014-12-30 02:51:38 -05:00
Marius Kintel
e69513fa2e
#1119 Added missing slot to change tab key function
2014-12-30 02:49:47 -05:00
Tim Deagan
7a71e59f2d
Fix layout of number 6 character & add comments
...
The layout of the array that drives the 6 char was wrong. Additional
commenting added
2014-12-29 21:23:46 -06:00
Torsten Paul
9bcb38df48
Change settings handling to use Value objects.
2014-12-30 02:37:16 +01:00
Tim Deagan
1826aa98f7
Addition of header to support function to print scale marker position values on large axes.
...
modified: src/GLView.h
2014-12-29 15:00:37 -06:00
Tim Deagan
4823f26706
Addition of function to generate scale maker numeric values on large axes.
...
modified: src/GLView.cc
The added function takes the length of the axis (l), the currrent position on the axis (i) and the size of the divisions between i and uses a variety of arrays to decode the characters of the position into GL_LINES, GL_LINE_STRIPs, GL_LINE_LOOPs as appropriate. The various orientations required by the axis are handled by abstracting the line vertex sequences into arrays (set per axis.)
2014-12-29 14:55:15 -06:00
Torsten Paul
2c89f562a3
Update GUI to make options a bit clearer for the user.
2014-12-29 03:49:45 +01:00
Torsten Paul
6f9c4f7f09
Integrate with QSettings.
2014-12-29 00:29:09 +01:00
Marius Kintel
03f63c1c40
Minor compile fix
2014-12-28 16:05:54 -05:00
Marius Kintel
89419f50a1
#1105 Added testcase
2014-12-28 16:05:33 -05:00
Marius Kintel
06e2fc7d9b
#1105 Added example crashing CGAL
2014-12-28 15:32:57 -05:00
Marius Kintel
3f6a590a2f
Added stand-alone 2D tesselator
2014-12-27 17:58:20 -05:00
Marius Kintel
3e2ff23c00
Merge pull request #1115 from openscad/quantizevertices
...
Quantize vertices
2014-12-27 00:25:18 -05:00
Tim Deagan
b6dcea12d0
Merge remote-tracking branch 'upstream/master' into scalemarkers
...
merging the upstream/master branch into my working branch prior to syncing with my fork
12/26/2014 22:07 CST tim deagan
2014-12-26 22:07:03 -06:00
Tim Deagan
1068f61dc6
Add optional menu driven scaling tics to the large axes
...
Tim Deagan 12/26/2014
While add-on rulers can be extremely useful, there are many times that a quick scaling marker would be handy. This feature generates tics every 10 units, driven off the log10 of the l variable defining axes length. As you zoom in or out, the tics automatically re-scale themselves. Every tenth tic is slightly larger. A menu item is added to the view menu to enable or disable the feature.
I experimented with menu driven scaling (.01, .1, 1, 10, etc.), but using small increments when zoomed out brought the app to it's knees. Adding a visual indicator of the current scaling might be nice, but I'm nto sure where to put it (possibly below the small axes,) since it changes as zooming and would clutter the console.
Changes to be committed:
new file: images/scalemarkers.png
modified: openscad.qrc
modified: src/GLView.cc
modified: src/GLView.h
modified: src/MainWindow.h
modified: src/MainWindow.ui
modified: src/QGLView.h
modified: src/mainwin.cc
2014-12-26 21:44:31 -06:00
Marius Kintel
27b6f5e3e7
Merge pull request #1112 from openscad/stipple-fix
...
Enable GL_LINE_STIPPLE only for the block where a stipple pattern is used
2014-12-26 22:33:48 -05:00
Torsten Paul
6c25d5ccb6
Add more settings (AutoIndent / TabIndents / IndentationsUseTabs).
2014-12-27 02:59:11 +01:00
Torsten Paul
0cb6b3267a
Add editor settings.
2014-12-27 02:17:15 +01:00
Torsten Paul
dde4575c88
Add class to handle settings.
2014-12-27 00:12:23 +01:00
Torsten Paul
3a5ee3a4c6
Add GUI controls for editor settings.
2014-12-27 00:12:17 +01:00
Marius Kintel
cce016b97b
Merge remote-tracking branch 'origin/master' into quantizevertices
2014-12-26 14:08:09 -05:00
Torsten Paul
7ccdb778fc
Enable GL_LINE_STIPPLE only for the block where a stipple pattern is used ( fixes #1111 ).
2014-12-26 19:20:11 +01:00
Marius Kintel
3f0b16dd75
Merge branch 'master' of github.com:openscad/openscad
2014-12-25 17:27:40 -05:00
Marius Kintel
641ac4a506
#1107 Correctly display validity for objects which didn't yet touch CGAL
2014-12-25 17:27:13 -05:00
shaina7837
1ba2216108
reset view icon added
2014-12-26 00:56:31 +05:30
shaina7837
295f257bf8
undo redo icons added
2014-12-26 00:35:13 +05:30
Torsten Paul
0bf2d4e286
No need to update translation in release-common.sh it's done by the build.
2014-12-25 19:18:55 +01:00
shaina7837
2654bf9575
unindent duplicate image removed
2014-12-25 23:44:41 +05:30
shaina7837
040aac5e8f
Indent icon added
2014-12-25 23:34:28 +05:30
shaina7837
3bfa28c83d
indent image name changed
2014-12-25 23:27:28 +05:30
Torsten Paul
ec3f735d5c
Need to specify openscad.pro for qmake now.
2014-12-25 18:56:30 +01:00
Torsten Paul
82c8c7405d
Move readme to color scheme folder.
2014-12-25 18:54:16 +01:00
Torsten Paul
4cb7b42fb8
Add defines for MSYS2 build.
2014-12-25 18:52:20 +01:00
shaina7837
ed500abd39
indent unindent icons added
2014-12-25 23:12:32 +05:30
Torsten Paul
d2af825640
Enable resource lookup for Windows build (needed for dev and MSYS2 package).
2014-12-25 18:22:51 +01:00
Torsten Paul
fd4fe0816a
Fix style sheet to remove borders from QStatusBar items.
2014-12-25 18:22:51 +01:00
Torsten Paul
40602c99bc
Minor color scheme tweaks, mainly for brace matching colors.
2014-12-25 18:22:51 +01:00
Marius Kintel
c2643d82ea
#1069 Correctly fall back to CGAL minkowski if our convex decomposition-based minkowski fails. Fixes #1069 for now, but our convex-based minkowski should not fail
2014-12-23 22:50:38 -05:00
Marius Kintel
32c3e0d322
Merge pull request #1106 from openscad/gui-updates
...
Gui updates
2014-12-23 13:20:32 -05:00
Torsten Paul
ef83c5c911
Remove duplicate definition.
2014-12-23 19:15:23 +01:00
Torsten Paul
d296d93ddc
Quit application when last main window is closed ( fixes #1079 ).
2014-12-23 19:05:53 +01:00
Torsten Paul
0801fc432d
Add background to the drag&drop pixmap to make it better readable.
2014-12-23 18:42:16 +01:00
Torsten Paul
481665f8a3
Change layout to allow longer version number text.
2014-12-23 18:28:16 +01:00
Torsten Paul
c9a234a079
Add OK button, some Linux window managers do not add a close button to dialogs.
2014-12-23 18:27:39 +01:00
Marius Kintel
49ce79a633
Merge branch 'czech' of git://github.com/hroncok/openscad into hroncok-czech
...
Conflicts:
locale/cs.po
2014-12-23 11:57:45 -05:00
Miro Hrončok
9445d1297a
Minor corrections to Czech translation
2014-12-23 12:27:41 +01:00
Marius Kintel
bc98089aca
Mac release build fix
2014-12-23 01:18:27 -05:00
Marius Kintel
3812acf146
Merge branch 'jgelderloos-master'
2014-12-23 01:10:37 -05:00
Marius Kintel
a68560707f
Merge branch 'master' of github.com:openscad/openscad
2014-12-23 01:10:23 -05:00
Marius Kintel
cb290bfcaa
Merge remote-tracking branch 'origin/master' into jgelderloos-master
2014-12-23 01:09:10 -05:00
Marius Kintel
328cd7f362
#1028 Adjusted return values for errors
2014-12-23 01:07:35 -05:00
Marius Kintel
b48089e694
Merge branch 'master' of git://github.com/jgelderloos/openscad
2014-12-23 01:02:50 -05:00
Marius Kintel
9b00f69311
#1065 Made font cache progress dialog indeterminate also on Windows
2014-12-23 00:49:37 -05:00
Marius Kintel
22ed0780fa
Merge branch 'master' of github.com:openscad/openscad
2014-12-23 00:37:45 -05:00
Marius Kintel
c5e4715575
bugfix: highlighted differences didn't render correctly
2014-12-23 00:37:43 -05:00
Torsten Paul
5dc88d0eed
Switch between progress widget and status label.
2014-12-23 06:33:35 +01:00
Torsten Paul
3d9b66cf0f
Fix crash on startup for the MinGW version.
2014-12-23 06:33:35 +01:00
Marius Kintel
0007684c5b
Merge pull request #1077 from openscad/winconsole-fix
...
Use separate project for winconsole and don't statically link Qt
2014-12-23 00:32:15 -05:00
Marius Kintel
4c11d6b62f
Updated test results for offset tests
2014-12-23 00:09:05 -05:00
Marius Kintel
a10426acc3
Merge branch 'master' of github.com:openscad/openscad
2014-12-23 00:03:49 -05:00
Marius Kintel
756d3e2a97
Merge pull request #1102 from openscad/text-fixes-part6
...
Text fixes (part 6)
2014-12-23 00:03:34 -05:00
Torsten Paul
b37b49f407
Add version number to launching screen and main windows ( fixes #1101 ).
2014-12-23 03:56:17 +01:00
Torsten Paul
5ad36c82b6
Add OpenSCAD version to the status bar.
2014-12-23 03:33:42 +01:00
Torsten Paul
c4e895a813
Add drag&drop to the FontListDialog.
2014-12-23 03:07:27 +01:00
Marius Kintel
77a568cda0
Less verbose
2014-12-22 19:31:40 -05:00
Marius Kintel
d071ba16cb
Merge pull request #1087 from openscad/offset-updates2
...
Update offset() parameter handling.
2014-12-22 19:18:40 -05:00
Marius Kintel
0eb2c45f12
Merge branch 'master' of github.com:openscad/openscad
2014-12-22 18:58:27 -05:00
Marius Kintel
aeba95aa01
Windows build fix (msys2)
2014-12-22 18:58:25 -05:00
Torsten Paul
b2227c7191
Quote special characters when copying the font selector.
2014-12-23 00:05:42 +01:00
Torsten Paul
b5f5ffd142
Update German translation and merge new template.
2014-12-22 23:38:35 +01:00
Marius Kintel
f945ce3ad8
Correctly calculate arc_tolerance for Clipper
2014-12-22 16:58:22 -05:00
Marius Kintel
781ec4d7bf
Minor doc clarification
2014-12-22 16:58:03 -05:00
Marius Kintel
5fe30c66eb
Merge pull request #1094 from openscad/fontconfig-init
...
Use QtConcurrentRun to initialize FontConfig in a separate thread.
2014-12-22 11:23:20 -05:00
Marius Kintel
0c88f63e00
Merge pull request #1098 from hroncok/czech
...
Updated the Czech translation
2014-12-22 10:42:06 -05:00
Torsten Paul
594f548b20
Add color schemes "Tomorrow" and "Tomorrow Night".
...
See https://github.com/chriskempson/tomorrow-theme
2014-12-22 02:25:48 +01:00
Miro Hrončok
b79954237c
Updated the Czech translation
2014-12-21 23:23:25 +01:00
Marius Kintel
dea8dd9bd0
Merge pull request #1096 from openscad/win-updates
...
Win updates
2014-12-21 14:24:39 -05:00
Torsten Paul
b697003b0a
Handle different naming conventions for debug versions of QScintilla.
2014-12-21 17:56:51 +01:00
Torsten Paul
c278963a85
Path and filenames need to use system encoding ( fixes #1092 ).
2014-12-21 17:56:50 +01:00
Torsten Paul
8214cabe50
Remove qtcreator user configuration.
2014-12-21 17:56:47 +01:00
Marius Kintel
fa3cba12cc
Merge pull request #1093 from openscad/warning-highlight
...
Color code warning and error messages in the console window (fixes #855 ).
2014-12-21 00:02:39 -05:00
Torsten Paul
310ca16c1b
Update test reference file for norm().
2014-12-21 04:40:24 +01:00
Torsten Paul
98a9ea7e12
Use QtConcurrentRun to initialize FontConfig in a separate thread.
2014-12-21 03:49:20 +01:00
Torsten Paul
5a0ea7abe2
Color code warning and error messages in the console window ( fixes #855 ).
2014-12-21 02:12:06 +01:00
Torsten Paul
abdf80c494
Revert usage of the -Wa,-mbig-obj flag as that does not work on MXE.
2014-12-20 23:28:51 +01:00
Torsten Paul
7d863d2bf2
Updates to build on MSYS2.
2014-12-20 23:09:03 +01:00
Torsten Paul
4a75c57209
Move -DNOGDI to main project file.
...
This is not related to the cross build but a workaround when including
windows.h that also defines Polygon. So it's now enabled for all Windows
builds including MSYS2.
2014-12-20 21:46:30 +01:00
Torsten Paul
33a8c2baaa
Catch win32-mingw used when building on MSYS2.
2014-12-20 21:39:32 +01:00
Torsten Paul
ba2f150f33
Remove eigen2 detection, eigen3 is required.
2014-12-20 21:38:52 +01:00
Torsten Paul
b488242548
Swap colors so the bright red is only used for language keywords.
2014-12-20 17:30:37 +01:00
Torsten Paul
a603afb767
Add keyword lists.
2014-12-20 17:27:34 +01:00
Torsten Paul
128498a678
Allow reading the keyword lists from the color scheme files.
2014-12-20 17:27:18 +01:00
Torsten Paul
90b7dd82c2
Update lexer keywords.
2014-12-20 04:46:59 +01:00
Torsten Paul
b1871c6309
Fix color schemes (brace highlight / selection color / line-end markers).
2014-12-20 02:51:11 +01:00
Torsten Paul
ad51cadfbd
Update offset() parameter handling.
...
- Rounded offset is now using parameter r
- Using delta only or delta with camfer = false creates no chamfer
- Using delta with chamfer =true creates chamfer at delta distance
2014-12-19 16:48:13 +01:00
Marius Kintel
d72c121fa6
Minor Grid3 refactoring
2014-12-19 02:40:17 -05:00
Marius Kintel
0aa215b90c
Quantize vertices when building Nef polyhedrons from PolySets
2014-12-19 02:27:56 -05:00
Marius Kintel
f42dbea817
Merge pull request #1083 from Scalpel78/master
...
Added color scheme - Visual Studio
2014-12-17 16:48:20 -05:00
Frode Lillerud
69b644fcc2
Create visualstudio.json
2014-12-17 22:27:13 +01:00
Frode Lillerud
832fca9672
Delete visualstudio.json
2014-12-17 22:26:41 +01:00
Frode Lillerud
e34530f752
Create visualstudio.json
...
Color scheme similar to default in Visual Studio.
2014-12-17 22:26:12 +01:00
Marius Kintel
f0c7ee6d61
#1068 Attempt to fix the Windows line ending issue
2014-12-17 16:19:13 -05:00
Marius Kintel
450dd836fa
Added png of document icon
2014-12-17 15:52:51 -05:00
Marius Kintel
ca11624f52
#1065 Added new expected test result
2014-12-17 13:13:27 -05:00
Marius Kintel
6492d25265
#1065 The text module is no longer experimental
2014-12-17 12:56:52 -05:00
Marius Kintel
1aef9f2758
#1065 Show progress dialog while building font cache
2014-12-17 12:12:53 -05:00
Marius Kintel
3d0749b619
Improve displayed rendering time by including compilation time
2014-12-16 18:01:25 -05:00
Marius Kintel
0448b0f1db
#1076 Fix memory display on 64-bit Windows
2014-12-16 17:40:13 -05:00
Marius Kintel
a40b2848e9
killed compiler warning
2014-12-16 17:39:38 -05:00
Torsten Paul
1126a0ef17
Use separate project for winconsole and don't statically link Qt ( fixes #870 ).
2014-12-16 23:35:42 +01:00
Marius Kintel
93b6113edc
#1065 fix: It's allowed to pass NULL geometry to the preview renderer
2014-12-16 17:22:41 -05:00
Marius Kintel
fe3cae8120
#1065 Text preview optimization: Don't tesselate every frame
2014-12-16 17:03:06 -05:00
Torsten Paul
0f2806ab8a
Assume internally used strings are stored in UTF-8.
2014-12-16 21:31:00 +01:00
Torsten Paul
4be9a43b40
Add debug output for the Node Id Cache.
2014-12-16 21:21:06 +01:00
Marius Kintel
7bea0bef37
Merge branch 'master' of github.com:openscad/openscad
2014-12-16 13:04:13 -05:00
Marius Kintel
77c865d1be
Improved regex to correctly match quoted characters in strings
2014-12-16 13:03:12 -05:00
Marius Kintel
061fa9604a
Merge pull request #1071 from kevenv/master
...
Added french translation :)
2014-12-16 12:59:49 -05:00
Keven Villeneuve
db4e609dbd
Finish french translation
2014-12-14 10:21:08 -05:00
Keven Villeneuve
2c4c19d2d5
Correct some mistakes in the french translation
2014-12-14 00:45:15 -05:00
Keven Villeneuve
999e27d0da
Added french translation :)
2014-12-13 22:38:18 -05:00
jgelderloos
01ce545e1a
Merge branch 'master' of https://github.com/jgelderloos/openscad
2014-12-13 16:21:18 -05:00
jgelderloos
6f68330ce0
Changed exit codes to 0 and added help description to help menu #1028
2014-12-13 16:03:25 -05:00
Marius Kintel
14870d69de
#1066 Build fix
2014-12-12 14:35:42 -05:00
Marius Kintel
f1b1faad44
Preserve whitespace inside strings when creating cache keys. Fixes #1066
2014-12-12 14:06:28 -05:00
jgelderloos
023d22e5fe
Merge pull request #1 from openscad/master
...
update from main
2014-12-12 00:19:37 -05:00
Marius Kintel
ad69698f97
Changed stlcsgpngtest to render, not preview, to be able to reuse monotonepngtest results
2014-12-11 18:01:56 -05:00
Marius Kintel
1f032d0d7d
#803 Don't install OS X specific file on other platforms
2014-12-11 17:32:26 -05:00
Marius Kintel
723556b803
#964 Run correct tests
2014-12-11 17:27:08 -05:00
Marius Kintel
1bbbfad575
#964 Added test for checking correct export of nonmanifold objects
2014-12-11 17:24:35 -05:00
Marius Kintel
9fe80a3a66
Mac build fix
2014-12-11 17:23:45 -05:00
Marius Kintel
255fc1d58d
#1051 updated test results after suppressing repeated error messages
2014-12-11 17:04:33 -05:00
Marius Kintel
9da865604c
#600 Tag menu action roles to allow translated menu items to move to the correct Mac OS X menu
2014-12-11 16:58:20 -05:00
Marius Kintel
0a10aca8aa
#1051 Suppress warning and error output after 5 equal messages
2014-12-11 16:37:27 -05:00
Marius Kintel
c9aea8a6b6
Merge branch 'master' of github.com:openscad/openscad
2014-12-11 16:09:59 -05:00
Marius Kintel
9863aa9ab2
#1051 Detect recursion after 1M tail recursion iterations
2014-12-11 16:09:55 -05:00
Torsten Paul
dd274b744a
Fix download urls for freetype and ragel; bump freetype to 2.5.4.
2014-12-11 19:42:35 +01:00
Marius Kintel
df53d05bba
Merge pull request #1062 from openscad/sysinfo
...
Report system information in the 'Library Info' dialog
2014-12-10 22:45:15 -05:00
Marius Kintel
39612397fa
#1057 Sysinfo for Mac OS X
2014-12-10 22:44:39 -05:00
Marius Kintel
73b6700b69
Empty polysets are convex. Fixes crash in is_approximately_convex()
2014-12-09 17:46:03 -05:00
Marius Kintel
7e728fac6a
Improve polyset convexity check by tessellating polygons prior to testing. Fixes #1061
2014-12-09 16:53:11 -05:00
Torsten Paul
845bd5706e
Guard against reading huge files.
2014-12-09 22:46:09 +01:00
Marius Kintel
f32e03dffb
Merge branch 'master' of github.com:openscad/openscad
2014-12-09 16:42:05 -05:00
Marius Kintel
6d9329966a
#1061 fixed test build behaving differently from GUI build due to ENABLE_CGAL flag not being passed to all relevant sources. Added testcase
2014-12-09 16:42:02 -05:00
Torsten Paul
ba8446e8bf
Remove qtaccessiblewidgets as QTPLUGIN.
...
MXE now ships Qt-5.4.0-rc which has accessibility built-in. All other
platforms did not have it enabled so far.
2014-12-09 22:21:07 +01:00
Torsten Paul
f7816e02cd
Add system info (OS / CPUs/ RAM / Distribution (when on Linux)).
2014-12-09 22:21:04 +01:00
Torsten Paul
f4a6da7fb0
Try to detect if compiling with a 32bit or 64bit compiler.
2014-12-09 21:19:57 +01:00
Torsten Paul
3a90fa12fa
Merge pull request #1060 from openscad/qglformat-patch
...
Disable vertical refresh syncing.
2014-12-09 21:18:57 +01:00
Marius Kintel
2462799655
Handle a bunch of nullspace corner cases. Fixes #1029
2014-12-08 18:25:48 -05:00
Marius Kintel
7d8203fc52
Disabled less useful test
2014-12-08 18:24:09 -05:00
Marius Kintel
c03350e3cb
Added more nullspace tests
2014-12-08 17:53:40 -05:00
Marius Kintel
0a049f7ab2
removed fixed fixme
2014-12-08 17:53:19 -05:00
Torsten Paul
342af594ad
Disable vertical refresh syncing.
2014-12-08 18:54:39 +01:00
Marius Kintel
94aabb05b5
#1054 Fixed memory leak
2014-12-08 00:57:28 -05:00
Marius Kintel
ccea6fdde9
Bugfix: 2D scale or mirror sometimes caused flipped normals which caused larger issues downstream. Fixes #1055
2014-12-07 20:09:45 -05:00
Marius Kintel
6c6882fb2e
#1055 Doc: Clarify sanitized polygons
2014-12-07 19:54:31 -05:00
Marius Kintel
5695d7f445
#1055 added testcase
2014-12-07 19:47:43 -05:00
Marius Kintel
a606fe39b6
Minor testcase tweak
2014-12-07 19:38:48 -05:00
Marius Kintel
82b599e8ba
Bumped Qt to 5.3.2
2014-12-07 18:07:53 -05:00
Torsten Paul
399895bbfe
Fix translation file install target when running qmake on clean source.
2014-12-07 05:46:07 +01:00
Torsten Paul
771526b5ae
Fix install target for translation files.
2014-12-07 03:39:01 +01:00
Torsten Paul
04c194f6d6
Update .desktop file to include the install SUFFIX.
2014-12-07 03:38:02 +01:00
Torsten Paul
dcd0f23277
Fix make install with INSTALL_ROOT set, e.g. used by Debian package build.
2014-12-06 21:31:37 +01:00
Marius Kintel
49d265a750
Merge pull request #1053 from openscad/install-suffix
...
Add optional target suffix for the binary / installation folder.
2014-12-06 14:09:05 -05:00
Torsten Paul
2f4171f506
Add optional target suffix for the binary / installation folder.
...
This is mainly intended to be used for building snapshot binaries that
are able to install in parallel to a release build. E.g. by using the
parameter "SUFFIX=-nightly" for qmake, the target binary will be called
openscad-nightly and the resource base folder /usr/share/openscad-nightly.
2014-12-06 19:23:19 +01:00
Torsten Paul
50e79a6817
Fix evaluation of ! expressions.
2014-12-05 20:54:01 +01:00
Torsten Paul
092b9eeddc
Build with -DNOGDI by default to prevent name conflicts with windows.h.
2014-12-04 23:30:42 +01:00
Torsten Paul
80f1a31143
Update translation file generator scripts.
2014-12-04 23:20:25 +01:00
Marius Kintel
2316a42759
Merge pull request #988 from openscad/translation2
...
Translation2
2014-12-04 16:30:17 -05:00
Marius Kintel
9285222e29
Updated test result after moving recursion exception catch
2014-12-04 15:53:04 -05:00
Torsten Paul
a466638433
Remove automatic translation update as that always generates modified *.po files.
2014-12-04 20:52:07 +01:00
Torsten Paul
b6167b0b60
Merge branch 'master' into translation2
...
Conflicts:
src/PlatformUtils.h
2014-12-04 20:51:44 +01:00
Marius Kintel
8bd04b1417
Merge pull request #1030 from openscad/issue409
...
Optimize stack usage (#409 )
2014-12-04 14:05:15 -05:00
Torsten Paul
407da2ea8c
Move catch for function recursion detection.
...
Catching this at ModuleInstantiation::evaluate() should ensure the whole
function call is terminated with the first exception. Otherwise function
calls with multiple recursion points (e.g. function f(x) = f(x) + f(x);)
will still descent into the recursion multiple times.
2014-12-04 19:40:15 +01:00
Marius Kintel
8b9559a27c
Merge branch 'cmakeissues' of git://github.com/bmcage/openscad
...
Conflicts:
tests/CMakeLists.txt
2014-12-03 11:01:48 -05:00
Marius Kintel
87f532493e
#1047 Some more cleanup for NULLGL
2014-12-03 10:58:44 -05:00
Marius Kintel
88713b01cf
Merge branch 'nullglfix' of git://github.com/bmcage/openscad into bmcage-nullglfix
2014-12-03 10:13:12 -05:00
Torsten Paul
b894166dea
Add tests to check tail recursion eliminiation.
2014-12-02 22:45:08 +01:00
Benny Malengier
3e0ef9dd68
Needed changes to have NULLGL compiling.
...
Resulting prog compiles to output stl
2014-12-02 12:31:59 +01:00
Benny Malengier
6898b49a08
Revert "MCAD not available should not be a critical error, only a warning"
...
This reverts commit 96cde0a265
.
2014-12-02 12:22:42 +01:00
Marius Kintel
0067aafbb0
Forgot to commit Value -> ValuePtr fix to header
2014-12-01 17:34:47 -05:00
Marius Kintel
be595efd31
Merge remote-tracking branch 'origin/master' into issue409
...
Conflicts:
src/mainwin.cc
src/module.cc
2014-12-01 17:07:01 -05:00
Marius Kintel
a59e7d658e
Merge branch 'master' of github.com:openscad/openscad
2014-12-01 17:06:30 -05:00
Marius Kintel
582d5dde8c
#1030 bugfix: contexts need a parent, or it may crash
2014-12-01 16:52:04 -05:00
Marius Kintel
1e2b28ac2f
Merge remote-tracking branch 'origin/master' into translation2
2014-12-01 16:47:36 -05:00
Marius Kintel
57974baa13
Silence verbose debug output
2014-12-01 16:47:00 -05:00
Marius Kintel
d6d814586c
Merge pull request #1037 from openscad/issue949
...
Use FileContext when evaluating $vp{rtd} variables (fixes #949 ).
2014-12-01 10:56:32 -05:00
Benny Malengier
415349e873
Missing quotes in argument list target properties
2014-12-01 12:20:16 +01:00
Benny Malengier
96cde0a265
MCAD not available should not be a critical error, only a warning
2014-12-01 12:10:08 +01:00
Marius Kintel
80050e94db
merge fixes
2014-12-01 02:51:56 -05:00
Marius Kintel
5743064d56
Merge remote-tracking branch 'origin/master' into translation2
2014-12-01 02:34:28 -05:00
Marius Kintel
bb9e7f5277
Tagged stlpngtest_bad-stl-wing as a bug
2014-12-01 01:06:15 -05:00
Marius Kintel
a05fe72c6b
Rewrote tessellation used for NefPolyhedron to PolySet conversion. Should fix #1033
2014-12-01 00:54:01 -05:00
Torsten Paul
ef9f2f3289
Retain FileContext to lookup $vp{rtd} variables after compilation ( fixes #949 ).
2014-11-30 16:37:17 +01:00
Torsten Paul
471ff7718e
Merge pull request #1038 from openscad/issue1024+issue1035
...
Update drawing logic
2014-11-30 03:35:37 +01:00
Torsten Paul
6263bfd269
Render crosshair a bit less intrusive.
2014-11-30 03:22:14 +01:00
Torsten Paul
fcbd9fc024
Fix crosshair at the center of the display ( fixes #1025 ).
2014-11-30 03:04:15 +01:00
Torsten Paul
3992cc547b
Update drawing logic ( fixes #1035 ).
...
- Draw negative part of the axis with stippled lines
- Calculate contrast color for axis based on background color
- Disable lighting for axis / crosshair
2014-11-30 03:04:01 +01:00
Marius Kintel
cf418188b9
Added malformed offset tests
2014-11-27 21:15:29 -05:00
Marius Kintel
f36646730d
Added some malformed polygon tests
2014-11-27 21:02:35 -05:00
Marius Kintel
75b57cd9b5
Added some malformed polyhedron tests and fixed an assertion bug
2014-11-27 21:00:23 -05:00
Marius Kintel
fac2340989
More correct handling of empty geometry. Should fix a few crash bugs
2014-11-27 20:40:37 -05:00
Marius Kintel
c2775d4541
doc
2014-11-27 20:38:53 -05:00
Marius Kintel
91139402ea
toPolygon2d() should never return NULL
2014-11-27 20:38:09 -05:00
Marius Kintel
defb486a64
createGeometry() should never return NULL
2014-11-27 20:37:40 -05:00
Marius Kintel
1cca6c088a
Added tests for empty text results
2014-11-27 20:22:18 -05:00
Marius Kintel
77887bc2f8
Added surface not found tests
2014-11-27 19:19:02 -05:00
Marius Kintel
9c628225aa
Added some nullspace tests
2014-11-27 19:09:54 -05:00
Marius Kintel
096ba7026d
Added test for dxf file not found
2014-11-27 18:52:23 -05:00
Marius Kintel
23f1c4ac3f
Updated test results
2014-11-27 17:21:23 -05:00
Marius Kintel
1b9d62c907
Added test for mixing empty 2D and 3D objects
2014-11-27 17:19:01 -05:00
Marius Kintel
4d6db2caa7
fixes crash when intersecting 3 or more 2d objects which results in an empty polygon
2014-11-27 15:27:09 -05:00
Torsten Paul
a820487032
Simple implementation of tail-recursion elimination.
2014-11-26 22:53:10 +01:00
Marius Kintel
819f5d085f
Moved Polygon typedef out of PolySet class
2014-11-26 15:22:15 -05:00
Marius Kintel
0b58b7d2b3
Compile fix: Don't include Carbon as it pollutes the global namespace with e.g. 'Polygon'
2014-11-26 15:02:44 -05:00
Marius Kintel
e1da26bd8b
Merge remote-tracking branch 'origin/master' into c++11
2014-11-25 17:42:59 -05:00
Marius Kintel
ecbaec0849
Updated ClipperLib to 6.2.1
2014-11-25 17:41:08 -05:00
Marius Kintel
b621287610
C++11 build fix
2014-11-25 17:40:49 -05:00
Marius Kintel
437aa69292
Merge remote-tracking branch 'origin/master' into c++11
2014-11-25 17:13:01 -05:00
Marius Kintel
2e8d93d5be
Some Expression refactoring
2014-11-25 17:08:14 -05:00
Marius Kintel
74475395f4
Merge remote-tracking branch 'origin/master' into stack-size-hack
...
Conflicts:
src/expr.cc
2014-11-25 17:02:58 -05:00
Marius Kintel
b03345ec18
bugfix: dump of list comprehension if expression was buggy
2014-11-25 17:01:10 -05:00
Marius Kintel
d99dea1db2
bugfix after merging master - dynamic memory caused contexts not to be destructed
2014-11-25 15:53:44 -05:00
Marius Kintel
8ca812ac1a
Added infinite module recursion test
2014-11-25 15:28:48 -05:00
Marius Kintel
32bc6ae516
inlined stack pointer retrieval to silence compiler warning
2014-11-25 15:06:20 -05:00
Marius Kintel
2644b19ce7
Reimplemented serialization of expression to string after last refactoring
2014-11-25 15:05:36 -05:00
Marius Kintel
259d1b6435
Initialize StackCheck for all test drivers
2014-11-25 15:04:00 -05:00
Marius Kintel
09d85c79ac
Merge branch 'stack-size-hack' of github.com:openscad/openscad into stack-size-hack
2014-11-25 14:48:04 -05:00
Marius Kintel
247b8db57f
Merge remote-tracking branch 'origin/master' into stack-size-hack
2014-11-25 14:44:53 -05:00
Torsten Paul
5680dfc0e4
Fix test build.
2014-11-25 20:41:32 +01:00
Marius Kintel
0fa6154bbb
Updated test results of all* tests
2014-11-25 14:35:23 -05:00
Marius Kintel
df49d9e1a8
Added missing moduledump tests for list comprehension and let
2014-11-25 14:31:54 -05:00
Marius Kintel
07284b86ff
Added missing moduledump tests for offset and text
2014-11-25 14:30:03 -05:00
Marius Kintel
d73565f59f
Added missing moduledump tests for chr, concat, norm, cross, parent_module
2014-11-25 14:28:17 -05:00
Marius Kintel
be9b0ee925
indentation
2014-11-25 11:26:14 -05:00
Marius Kintel
4cd712d24d
Merge remote-tracking branch 'origin/master' into stack-size-hack
...
Conflicts:
src/context.h
src/control.cc
src/evalcontext.h
src/localscope.cc
src/module.cc
2014-11-25 11:25:37 -05:00
Marius Kintel
945be0020f
Updated tests
2014-11-25 00:45:19 -05:00
Marius Kintel
23c9dee265
bugfix: Correctly handle else scopes, handle overrides inside assign scopes
2014-11-25 00:45:00 -05:00
Marius Kintel
d195d05008
Test assignment in if, else and assign scopes
2014-11-25 00:44:12 -05:00
Marius Kintel
5072f0752a
Don't use assign now that it's deprecated
2014-11-25 00:43:48 -05:00
Marius Kintel
697944c4ef
Merge pull request #1022 from openscad/issue347
...
Support variable assignment in local blocks.
2014-11-24 22:09:15 -05:00
Marius Kintel
6b61e9b1a7
sync
2014-11-24 21:57:36 -05:00
Marius Kintel
3612db6a2f
Fixes crash during the second run of a failing recursive module
2014-11-24 20:44:39 -05:00
Marius Kintel
f1b29e1db9
Removed old stack measurement code
2014-11-24 18:54:51 -05:00
Marius Kintel
15835271c2
Implemented stackLimit() for Mac OS X
2014-11-24 18:29:13 -05:00
Marius Kintel
d8010a0659
Take a copy of the name of the recursive component, don't use a pointer to a temporary string
2014-11-24 18:25:38 -05:00
Marius Kintel
e0fbeb8d95
Use StackCheck to detect module recursion
2014-11-24 18:12:58 -05:00
Torsten Paul
aa586136ae
Remove duplicate warning message.
2014-11-24 23:52:07 +01:00
Torsten Paul
c206fab087
Merge branch 'stack-size-hack' of github.com:openscad/openscad into stack-size-hack
2014-11-24 23:46:57 +01:00
Torsten Paul
241723dd8f
Merge branch 'stack-size-hack' of github.com:openscad/openscad into stack-size-hack
...
Conflicts:
src/expr.cc
2014-11-24 23:46:39 +01:00
Marius Kintel
5debac7de0
Throw and catch RecursionException on module recursion
2014-11-24 17:44:39 -05:00
Marius Kintel
edc64bdbe9
forgot exceptions.h
2014-11-24 17:43:13 -05:00
Torsten Paul
dc8f559b85
Use class hierarchy for the different types of expressions.
2014-11-24 23:37:42 +01:00
Torsten Paul
756f8079d8
Add class to determine the current stack size.
2014-11-24 23:36:29 +01:00
Torsten Paul
ba4c50c631
Add function to retrieve the maximum stack size.
2014-11-24 23:34:57 +01:00
Marius Kintel
ab96a82629
Minor cleanup of recursion exception handling
2014-11-24 17:30:05 -05:00
Marius Kintel
54a111472f
Initial experiment with using exceptions to handle stack overflows
2014-11-24 12:54:14 -05:00
Torsten Paul
6ed14dafb0
Remove big switch statement from expression evaluation.
...
The switch statement causes a huge stack overhead that is very bad for
evaluating recursive functions.
2014-11-24 00:53:46 +01:00
Torsten Paul
69451af578
Use heap for Context object.
2014-11-24 00:53:46 +01:00
Torsten Paul
609f665406
Extract PRINTB() from recursion stack.
2014-11-24 00:53:46 +01:00
Torsten Paul
1f73807097
Hack to track stack size in function evaluation.
2014-11-24 00:53:41 +01:00
Marius Kintel
406e6e1bac
#409 Pass Value objects as shared_ptr instances instead of by Value to battle excess stack usage
2014-11-23 00:59:17 -05:00
Marius Kintel
d381ec8bcf
#347 Deprecated assign()
2014-11-20 18:31:24 -05:00
Marius Kintel
6a1bc270fd
Removed unused member variable
2014-11-20 18:30:58 -05:00
Marius Kintel
b2c205ba4c
Merge remote-tracking branch 'origin/master' into translation2
...
Conflicts:
tests/csgtexttest.cc
2014-11-17 21:56:53 -05:00
Marius Kintel
1afb706461
Merge remote-tracking branch 'origin/master' into translation2
2014-11-17 21:55:19 -05:00
Marius Kintel
b83bf31ac4
Merge branch 'master' into issue347
2014-11-17 01:00:41 -05:00
Marius Kintel
ea1d561c46
Support variable assignment in local blocks. This should fix #347 but more testing is needed
2014-11-17 00:57:36 -05:00
Marius Kintel
ef262f62a2
Merge pull request #1021 from openscad/mdi-fixes
...
Fix MDI issues.
2014-11-16 16:45:56 -05:00
Torsten Paul
8cf85e0987
Fix MDI issues.
2014-11-16 19:35:16 +01:00
Marius Kintel
1263042fc9
typo
2014-11-15 17:28:33 -05:00
Marius Kintel
6e5edb5beb
No need to run dxfpngtest on #899
2014-11-15 17:04:12 -05:00
Marius Kintel
61819efd4b
Merge pull request #1018 from openscad/resource-lookup-fix
...
Resource lookup fix
2014-11-15 16:49:30 -05:00
Torsten Paul
66b22b24a5
Add path information to info output.
2014-11-15 22:44:46 +01:00
Torsten Paul
e1db572688
Fix application path initialization for --info.
2014-11-15 22:44:46 +01:00
Torsten Paul
2d6ac803be
Initialize application path.
2014-11-15 22:44:46 +01:00
Torsten Paul
7761c0887b
Postpone color scheme initialization after the application path is set.
2014-11-15 22:44:46 +01:00
Torsten Paul
635bf29308
Throw an error if the application path is accessed before it's initialized.
2014-11-15 22:44:46 +01:00
Torsten Paul
ce16eb5ce0
Lookup resource folder only once and add some debug output.
2014-11-15 22:44:46 +01:00
Torsten Paul
650a0d2d21
Add debug output for color scheme enumeration.
2014-11-15 18:39:17 +01:00
Marius Kintel
109c566e44
Merge pull request #1016 from mcguffin/master
...
BBEdit Lang Module: Enable Un/Comment selection in the Text menu
2014-11-15 12:05:44 -05:00
Jörn Lund
6e58efd370
Enable Un/Comment selection in the Text menu
2014-11-15 18:02:15 +01:00
Torsten Paul
441160d8e8
Fix release package creation.
2014-11-14 21:31:42 +01:00
Marius Kintel
c16284abca
Merge pull request #1015 from mermerico/master
...
Improved DXF output compatibility
2014-11-14 09:58:59 -05:00
mermerico
85a91d62a5
Improved DXF output compatibility
...
Changed coordinate order from [X1 X2 Y1 Y2] to [X1 Y1 X2 Y2]. Both orders are standard compliant but [X1 Y1 X2 Y2] is far more common and can be parsed linearly. Some libraries, like the python libraries dxfgrabber and ezdxf, cannot open [X1 X2 Y1 Y2] order.
2014-11-14 09:49:06 -05:00
Torsten Paul
99c617562c
Remove obsolete LOCALE_PREFIX and update documentation.
2014-11-13 00:39:17 +01:00
Torsten Paul
ca3672b19c
Move translation files to locale folder instead of po.
...
While this is not the standard name for the files, this makes the
resource handling easier as the PlatformUtils code already handles
lookup for both installed and dev layouts. At least for Linux the
installed name would be /usr/share/locale, so we use that in source
too for now.
2014-11-13 00:24:44 +01:00
Torsten Paul
59c4dec623
Merge branch 'master' into translation2
2014-11-12 23:21:42 +01:00
Marius Kintel
1d9b664e85
#899 Updated testcase: Tagged as 2D test
2014-11-11 16:17:21 -05:00
Marius Kintel
43221a78e1
Updated test results after viewAll changes
2014-11-10 16:18:28 -05:00
Marius Kintel
e6b8f83859
Use dev@openscad.org for notification emails
2014-11-10 15:19:21 -05:00
Marius Kintel
40aae17c0e
Move software update menu handling to AutoUpdater. This should fix #714
2014-11-10 15:01:34 -05:00
Marius Kintel
e518cb9089
bugfix: Correct order of recent files on splash screen
2014-11-08 23:00:56 -05:00
Marius Kintel
31b90d1acb
Merge pull request #1008 from openscad/externalize-colorschemes2
...
Externalize colorschemes
2014-11-08 20:49:15 -05:00
Marius Kintel
4ef9f3e817
Bumped QScintilla to 2.8.4
2014-11-08 19:45:02 -05:00
Marius Kintel
03ac045802
#802 Slimmed down testcase
2014-11-07 10:56:58 -05:00
Marius Kintel
877c010269
#802 Updated test results
2014-11-07 10:03:15 -05:00
Marius Kintel
be9853cd20
#791 Added testcase
2014-11-07 09:54:01 -05:00
Marius Kintel
aba7ba7665
#584 updated test results
2014-11-07 09:37:25 -05:00
Marius Kintel
2bdf02d352
Cleaned up c++11 config a bit
2014-11-06 12:53:53 +01:00
Marius Kintel
637244d59e
Merge remote-tracking branch 'origin/master' into c++11
2014-11-06 12:41:54 +01:00
Marius Kintel
28d7d54502
Issue warning if trying to export previous F6 state. Fixes #48
2014-11-06 08:14:04 +01:00
Marius Kintel
92389b8589
Merge pull request #1003 from openscad/configure-window-reorder
...
Add option to disable window reordering by removing the dock window title bar
2014-11-05 21:28:13 +04:00
Marius Kintel
90f58ced7d
Allow preview of designs with only background or highlight objects. Fixes #1005
2014-11-05 21:24:09 +04:00
Marius Kintel
a3a6b66061
Ignore background nodes when checking for mixed 2D and 3D objects. Fixes #1004
2014-11-05 19:35:00 +04:00
Marius Kintel
4bc3d98509
#1004 Added testcase
2014-11-05 19:25:45 +04:00
Marius Kintel
d74450eaad
Allow pretty print of tests which fail with a non-zero return code
2014-11-05 19:25:05 +04:00
Marius Kintel
56866bc3d8
#1006 is a duplicate of #945
2014-11-05 19:05:56 +04:00
Marius Kintel
01b845397a
Added buildonly option
2014-11-05 18:59:06 +04:00
Marius Kintel
7086f5fc37
Fixed build issue related to https://svn.boost.org/trac/boost/ticket/6455
2014-11-05 18:58:45 +04:00
Marius Kintel
1342db57cf
Include debug objects in View All
2014-11-05 18:33:30 +04:00
Marius Kintel
162b453981
Merge remote-tracking branch 'origin/master' into externalize-colorschemes2
2014-11-05 18:26:10 +04:00
Marius Kintel
44af2b86ce
Added color-schemes folder
2014-11-05 18:25:55 +04:00
Marius Kintel
26da9ca983
Include debug objects in View All
2014-11-05 18:22:08 +04:00
Marius Kintel
9e882be319
#1005 Added testcase
2014-11-05 18:16:05 +04:00
Marius Kintel
3470e7ff3c
Merge remote-tracking branch 'origin/master' into externalize-colorschemes2
2014-11-05 17:03:42 +04:00
Marius Kintel
3fd7d9da3c
Unify resource path location, correctly find resources for the test suite on Mac
2014-11-05 16:45:14 +04:00
Marius Kintel
9205a378c4
Added ~/Library/Application Support as user config path on Mac
2014-11-05 16:14:14 +04:00
Marius Kintel
728f1337a2
#1006 Added testcase
2014-11-05 14:33:36 +04:00
Torsten Paul
a9cbabdbc2
Remove some obsolete dependencies to colormap.h.
2014-11-02 23:42:24 +01:00
Torsten Paul
46bffd3f4c
Move default color scheme back into code.
2014-11-02 23:36:23 +01:00
Torsten Paul
4306586adf
Set OPENSCAD_FONT_PATH also for the normal test cases.
...
This was already set for the export/import test cases as the exported
CSG files do not have the use<fontfile> statements. Due to differences
in the glyphs between the Liberation 2.00.1 we ship and the system
installed fonts some test cases (e.g. text_on_cube) did also fail.
2014-11-02 22:18:23 +01:00
Marius Kintel
7c677c968f
Added text tessellation test
2014-11-02 23:59:15 +04:00
Torsten Paul
34981284fc
Use local AppData folder for user config on Windows.
2014-11-02 16:39:51 +01:00
Torsten Paul
073c6fe2b3
Add color schemes to Windows installer.
2014-11-02 16:39:03 +01:00
Torsten Paul
7c3077b0f2
Read color schemes from additional user config path.
2014-11-01 23:06:36 +01:00
Torsten Paul
42fab36a05
Add color schemes to "make install".
2014-11-01 22:20:32 +01:00
Torsten Paul
e59a2f035e
Handle color scheme lookup in test cases.
2014-11-01 20:51:36 +01:00
Torsten Paul
2ee58893f5
Move render color schemes to separate files.
2014-11-01 20:51:36 +01:00
Torsten Paul
df119fec75
Add solarized render color map to match the editor color scheme.
2014-11-01 20:51:36 +01:00
Torsten Paul
0886944fcd
Handle setting of additional color schemes.
2014-11-01 20:51:36 +01:00
Torsten Paul
23275dc927
Get color schemes from editor; Enumerate from resource folder for scintilla.
2014-11-01 20:51:36 +01:00
Torsten Paul
395795949e
Move color scheme values into resource files.
2014-11-01 20:51:36 +01:00
Torsten Paul
63201e25fd
Add option to disable window reordering by removing the dock window title bar.
2014-11-01 18:55:48 +01:00
Torsten Paul
5078f401e9
Change console minimum size to 10x10.
2014-11-01 17:24:28 +01:00
Marius Kintel
a68b39ead7
Fix regression related to intersection with empty shapes. Fixes #996
2014-10-31 15:28:26 +04:00
Marius Kintel
cf979b3900
Bumped Ragel to 6.9 and harfbuzz to 0.9.35
2014-10-31 12:34:54 +04:00
Marius Kintel
6c703ab3ef
Bugfix: OpenCSG-1.4.0 installed the lib in the wrong location. Fixes #997
2014-10-31 12:34:19 +04:00
Marius Kintel
a93196eb7e
Update settings for show/hide toolbars. Fixes #1001
2014-10-31 11:45:04 +04:00
Marius Kintel
ccfc0c2401
Added testcase for #1000
2014-10-31 10:08:07 +04:00
Marius Kintel
4dfc70f439
Merge pull request #993 from openscad/hull-fix
...
Hull fix
2014-10-31 09:44:37 +04:00
Marius Kintel
fd5c9b8e4f
Merge branch 'master' of github.com:openscad/openscad
2014-10-31 09:40:46 +04:00
Torsten Paul
f66d274c6e
Add cubes to test case to ensure something is rendered.
2014-10-21 20:57:50 +02:00
Torsten Paul
7ad0a86b02
Fix crash in hull() with empty CGAL child geometry ( fixes #990 ).
2014-10-21 20:57:18 +02:00
Torsten Paul
346fc3622b
Merge pull request #991 from hroncok/test990
...
Test case for #990
2014-10-21 20:10:11 +02:00
Miro Hrončok
a23d463020
Test case for #990
2014-10-21 11:52:46 +02:00
Torsten Paul
1974cf863b
Update German translation, incorporating comments from #988 .
2014-10-21 00:02:53 +02:00
Marius Kintel
5d28e86e95
Merge branch 'master' of github.com:openscad/openscad
2014-10-19 20:00:39 -04:00
Marius Kintel
0e88cfdacb
Merge pull request #989 from openscad/window-handling-fix
...
Window handling fixes
2014-10-19 20:00:25 -04:00
Torsten Paul
ea39c70471
Ensure window is visible after restoring the window state ( fixes #976 ).
2014-10-20 00:22:22 +02:00
Torsten Paul
ebb7dde012
Fix status handling for docked windows.
...
Especially for the case where the windows are docked as tabs in the
same position, the "visibility-changed" signal does not work as close
indicator. The window is also treated as invisible when just the tab
is invisible, not only in case the window is closed.
2014-10-20 00:21:06 +02:00
Marius Kintel
5669f0d95f
Bumped CGAL to 4.5
2014-10-19 17:56:51 -04:00
Miro Hrončok
f0ce0e663e
Add Czech translation from #614 .
2014-10-19 18:38:09 +02:00
Torsten Paul
d6989488da
Fix typo in script.
2014-10-19 18:01:50 +02:00
Torsten Paul
27594848db
Fix translation file build on Windows; Use host gettext tools.
2014-10-19 17:41:22 +02:00
Torsten Paul
df0597c8bf
Update translations.
2014-10-19 01:43:48 +02:00
Torsten Paul
6cd441e0f1
Port translation code to use resource path from PlatformUtils.
2014-10-19 01:43:45 +02:00
Torsten Paul
e4071472ad
Rename for easier translation.
2014-10-19 01:25:23 +02:00
Torsten Paul
baf49d107f
Add translations.
2014-10-19 01:25:23 +02:00
Torsten Paul
9e52f2fc1b
Add N_() to allow adding translation keys without direct gettext() call.
2014-10-19 01:25:23 +02:00
Torsten Paul
989675324b
Make setting uic parameters work for both Qt4 and Qt5.
2014-10-19 01:25:23 +02:00
Torsten Paul
05c3c3e76c
Add gettext to new dialogs.
2014-10-19 01:25:23 +02:00
Torsten Paul
c8a24971b6
Add preferences option to enable/disable localization.
2014-10-19 01:25:23 +02:00
Torsten Paul
929d909947
Set Qt text encoding to UTF-8.
2014-10-19 01:25:23 +02:00
benderamp
4d17d80947
Add Russian translation for main window and preferences dialog
2014-10-19 01:25:23 +02:00
Torsten Paul
2a635f6797
Update translation files.
2014-10-19 01:25:23 +02:00
Torsten Paul
54a6f2addb
Integrate message catalog creation into build process.
2014-10-19 01:25:23 +02:00
Torsten Paul
e07d1d0320
Fix windows installer.
2014-10-19 01:25:23 +02:00
Torsten Paul
8f2491cd0a
Support linux packaging structure with shared locale folder.
2014-10-19 01:25:23 +02:00
Torsten Paul
cfe14254d4
Handle resource layout on linux and add translation files to openscad.pro.
2014-10-19 01:25:23 +02:00
Torsten Paul
afd52b3075
Fix compilation of test cases.
2014-10-19 01:25:23 +02:00
Torsten Paul
a512a6442e
Handle the MacOS application layout when finding resources.
2014-10-19 01:25:23 +02:00
Torsten Paul
ee4b2ffef5
Fix library references and translation scripts on MacOS.
2014-10-19 01:25:23 +02:00
Torsten Paul
d620c8f40b
Allow localization to be enabled/disabled by configuration settings.
...
This is only the logic to check the settings, no GUI.
Changing the setting requires a restart as disabling localization simply
skips the call to bindtextdomain() at the application start.
2014-10-19 01:25:23 +02:00
Torsten Paul
ae2d19241e
Use application resource path to locate the translation files.
2014-10-19 01:25:23 +02:00
Torsten Paul
a7e3c8639c
Fix compile problem on MinGW and force UTF-8 as encoding.
2014-10-19 01:25:23 +02:00
Torsten Paul
753f7160f9
Add German translation.
2014-10-19 01:25:23 +02:00
Torsten Paul
17244af2f9
Add more gettext calls.
2014-10-19 01:25:23 +02:00
don bright
21abad2dbd
Add Russian stub translation.
2014-10-19 01:25:23 +02:00
don bright
f12ff0597d
First attempt at getting .mo files working with windows (wine).
2014-10-19 01:25:23 +02:00
don bright
c559be20e1
Create basic gettext infrastructure and French language stub.
2014-10-19 01:25:14 +02:00
Marius Kintel
b66fb597fa
Merge pull request #987 from openscad/comment-fix
...
Retain selection after comment/uncomment (fixes #986 ).
2014-10-18 11:38:43 -04:00
Torsten Paul
32874b6d92
Retain selection after comment/uncomment ( fixes #986 ).
2014-10-17 23:42:34 +02:00
Marius Kintel
8d7d854e35
Merge pull request #985 from openscad/build-fix
...
Handle both Qt4 and Qt5 and add fallback in case of missing qscintilla2.prf
2014-10-17 13:34:28 -04:00
Torsten Paul
aefafd2ec5
Handle both Qt4 and Qt5 and add fallback in case of missing qscintilla2.prf.
2014-10-17 19:32:15 +02:00
Marius Kintel
f7b15e92a5
#244 Escape spaces in filenames
2014-10-14 16:31:09 -04:00
Marius Kintel
d20e1efbbd
doc
2014-10-13 23:13:48 -04:00
Marius Kintel
1bd15b45a6
#964 another testcase
2014-10-13 22:33:33 -04:00
Marius Kintel
a7eab14c29
Proper fix of the save-saveas problem
2014-10-13 15:34:47 -04:00
Marius Kintel
1ab34dc9d0
bugfix: Attempted to assign temporary variable to a const&, broke in debug mode. Fixes #980
2014-10-13 15:13:17 -04:00
Marius Kintel
c577c7e501
Calling signals from outside is only possible with Qt5. This is probably the wrong hack anyway
2014-10-12 23:13:15 -04:00
Marius Kintel
1cc4f6be53
update the previous fix: SCN_SAVEPOINTLEFT() is only accessible in QScintilla >= 2.8, always save the file on actionSave()
2014-10-11 18:59:27 -04:00
Marius Kintel
d064b9238f
bugfix: When saving an unmodified file using Save As, the file wasn't actually saved
2014-10-11 18:38:34 -04:00
Marius Kintel
3dca2873e0
Handle arriving FileOpen events while the launchscreen is active, cleaned up some code, make static MainWindow handling more robust. Fixes #972
2014-10-09 22:13:18 -04:00
Marius Kintel
a4b999e0d4
Use same UI inheritance style for launchingscreen as other components, indentation fixes
2014-10-09 17:21:15 -04:00
Marius Kintel
428cf27a03
Merge pull request #957 from openscad/restore_selection_for_find
...
Editor: Restore lost 'use selection for find' functionality
2014-10-02 02:11:43 -04:00
Marius Kintel
0993d5c9c2
Merge branch 'master' into scintilla-updates
...
Conflicts:
src/MainWindow.ui
2014-10-02 02:10:55 -04:00
Marius Kintel
253b57f747
#964 Implemented a more robust polygon triangulator which will now handle intersecting edges properly. Should output more sane corner-case meshes, although they're not perfectly manifold
2014-10-02 01:38:05 -04:00
Marius Kintel
8eff7ed37b
#964 Catch precondition exception for malformed (self-intersecting) polygons to avoid a crash
2014-10-01 00:43:34 -04:00
Marius Kintel
1121c96a11
#964 Added testcases
2014-09-30 19:38:43 -04:00
Marius Kintel
3b307fba93
Merge branch 'master' of github.com:openscad/openscad
2014-09-30 17:26:07 -04:00
Marius Kintel
6d81c37e6c
Merge pull request #950 from openscad/Toolbar2
...
Toolbar2
2014-09-30 17:25:54 -04:00
Marius Kintel
7343290ffc
Removed empty toolbar subtypes
2014-09-30 17:25:01 -04:00
Marius Kintel
a8e9f63928
Improved some variable naming
2014-09-30 17:18:40 -04:00
Marius Kintel
bc86312997
bugfix: Font list was connected to wrong slot
2014-09-30 16:48:36 -04:00
Marius Kintel
7a1737c09f
toolBar -> viewerToolBar, indendation fixes
2014-09-30 16:47:14 -04:00
Marius Kintel
e00292b445
Updated OpenCSG build to correctly set the install name
2014-09-30 15:27:24 -04:00
Marius Kintel
6ed2acf791
Merge remote-tracking branch 'origin/master' into Toolbar2
2014-09-29 11:46:45 -04:00
Marius Kintel
f98d565714
Use python's difflib instead of calling the diff cmd. Fixes issue where diff isn't always available on Windows. Fixed #960
2014-09-23 12:36:27 -04:00
Torsten Paul
4eb53d3355
Add fonts folder to 'make install'.
2014-09-21 21:38:40 +02:00
Torsten Paul
8d067fe3cb
Change categories property to only list a single main category.
2014-09-20 23:46:30 +02:00
Torsten Paul
1776bcd460
Add menu entry to convert tabs to spaces.
2014-09-19 23:25:49 +02:00
Torsten Paul
cdb4120dcb
Set indentation defaults.
2014-09-19 23:25:03 +02:00
Oskar Linde
ec696b8240
Editor: Don't clear the findbox text if nothing is selected when hitting Ctrl+F
2014-09-19 22:36:08 +02:00
Oskar Linde
e533d2a71a
Mac: Findbuffer support
2014-09-19 22:35:20 +02:00
Torsten Paul
ecc5622e7f
Reapply keyboard shortcut fix from #770 .
2014-09-19 21:58:39 +02:00
Marius Kintel
17fe75ea4a
Merge pull request #955 from openscad/issue953
...
Fix issue #953
2014-09-19 15:51:34 -04:00
Marius Kintel
42507526b6
minor cosmetics
2014-09-19 14:17:04 -04:00
Oskar Linde
8d3d2fe9f4
Editor: Restore lost 'use selection for find' functionality
2014-09-19 19:52:59 +02:00
Oskar Linde
b62079a632
Mark twist-free linear extrusions of convex polygons convex
2014-09-18 23:14:21 +02:00
Oskar Linde
2e1f24b4dc
Bugfix. Fixes #953
2014-09-18 23:14:16 +02:00
Torsten Paul
d039729878
Add "ViewAll" and remove "Crosshair" icon from toolbar.
2014-09-18 23:14:12 +02:00
Torsten Paul
97424f0447
Add keyboard shortcut to the tooltip of toolbar actions.
2014-09-18 22:55:06 +02:00
Marius Kintel
e1fd9c83b8
#948 Allow export of collinear triangles to avoid creating holes in meshes
2014-09-15 20:51:41 -04:00
Marius Kintel
cf8844c19d
Added testcase for #947
2014-09-15 18:41:30 -04:00
Marius Kintel
ff73aaaac7
OpenCSG-1.4.0 patch for Mac
2014-09-15 18:41:09 -04:00
Marius Kintel
72e09b6891
Updated to OpenCSG-1.4.0
2014-09-15 18:27:40 -04:00
Torsten Paul
e68fc74c87
Merge branch 'master' into Toolbar2
...
Conflicts:
openscad.pro
openscad.qrc
2014-09-15 21:49:47 +02:00
Marius Kintel
988333abb8
Merge branch 'master' of github.com:openscad/openscad
2014-09-15 15:43:05 -04:00
Marius Kintel
d5235f2b2c
Merge pull request #894 from openscad/launchingscreen
...
Launching screen
2014-09-15 15:42:51 -04:00
Marius Kintel
41348f2166
Merge branch 'launchingscreen' of github.com:openscad/openscad into launchingscreen
2014-09-15 15:35:24 -04:00
Marius Kintel
d9ae0dab10
#894 Let enter key open last selected item, allow cursor keys for item selection
2014-09-15 15:35:21 -04:00
Torsten Paul
c19df82b72
Use HTML to render the headline text.
2014-09-15 21:29:32 +02:00
Marius Kintel
52797177b2
Auto-fill search field for search&replace
2014-09-15 14:43:31 -04:00
Torsten Paul
f8336029f1
Merge branch 'master' into launchingscreen
...
Conflicts:
openscad.pro
2014-09-15 19:58:55 +02:00
Torsten Paul
131119fd28
Fix stylesheet issue (wrong scrollbar style; unreadable tooltips on MacOS).
2014-09-15 18:12:00 +02:00
Torsten Paul
cbddc6313e
Fix build.
2014-09-15 17:47:15 +02:00
Marius Kintel
5ff8bbfe11
Merge pull request #951 from kevenv/libraryinfo
...
Modernise help library info
2014-09-14 22:45:19 -04:00
Keven Villeneuve
adbe4c9d86
Modernise help library info
2014-09-14 22:08:18 -04:00
Torsten Paul
f9b0a7e9a9
Add more icons.
2014-09-14 21:39:15 +02:00
Torsten Paul
c251683c20
Move ToolBar setup to GUI design file.
2014-09-14 21:17:27 +02:00
shaina7837
56ebdd92f1
Added toolbars in Designer, make search panel appear below toolbar
2014-09-14 20:40:29 +02:00
shaina7837
3fd08be98e
render icon is shifted to rendering window toolbar
2014-09-14 20:39:59 +02:00
shaina7837
642407c241
improved syntax color scheme and added more icons
2014-09-14 20:39:33 +02:00
shaina7837
8e3b3e1919
added few more icons with tool tips
2014-09-14 20:39:17 +02:00
shaina7837
3f37cf8c50
toolbar splitted into two
2014-09-14 20:39:12 +02:00
shaina7837
efb23fc9bd
toolBar-subclass of QToolBar added
2014-09-14 20:39:05 +02:00
shaina7837
7345de27b1
toolbar set
2014-09-14 20:38:20 +02:00
Torsten Paul
d67b01c7f2
Default to show welcome screen if no settings value available.
2014-09-14 04:00:17 +02:00
Torsten Paul
78e341cd4c
Add bigger logo image.
2014-09-14 03:18:32 +02:00
Torsten Paul
aec33dd75f
Separate launching screen from main window and show before main window opens.
2014-09-14 02:08:57 +02:00
Torsten Paul
8c892907c2
Make welcome screen resizable and update some minor UI issues.
...
- Move images to icons folder
- Move "Show welcome screen" to advanced tab in preferences
- Set button styles via Qt stylesheet to handle hover and disable
- Rename config setting to "launcher/showOnStartup" and add default
2014-09-13 23:52:21 +02:00
Torsten Paul
e7d3025753
Merge branch 'master' into launchingscreen
...
Conflicts:
openscad.pro
openscad.pro.user
src/MainWindow.h
src/Preferences.cc
src/Preferences.h
src/Preferences.ui
src/mainwin.cc
src/openscad.cc
2014-09-13 21:19:44 +02:00
Marius Kintel
5252bae1f9
Merge pull request #941 from openscad/qscintilla-fedora20-fix
...
Use fallback if CONFIG+=qscintilla2 does not add a lib reference
2014-09-05 14:42:06 -04:00
Torsten Paul
d08e7bbe82
Use fallback if CONFIG+=qscintilla2 does not add a lib reference ( fixes #938 ).
2014-09-05 20:31:54 +02:00
Torsten Paul
155c275180
Add qscintilla2 to dependency list.
2014-09-05 19:58:31 +02:00
Torsten Paul
af69e95bbe
Check also lib64 path for glib-2.0; fixes detection on fedora20/64bit.
2014-09-05 18:43:37 +02:00
Marius Kintel
771f764533
Use --render=cgal in export-import tests, added testcase for #936
2014-09-04 17:36:52 -04:00
Marius Kintel
51c54f2e5b
Add --render=cgal option for test purposes (forces conversion to CGAL Nef polyhedron before rendering
2014-09-04 17:35:32 -04:00
Marius Kintel
cfb15466e4
#337 Print warning on non-simple export instead of refusing to export
2014-09-04 17:34:53 -04:00
Marius Kintel
f15a177132
Added expected files for #904
2014-09-04 14:43:34 -04:00
Marius Kintel
efc552b0bf
Only print one degenerate triangle warning per polyset
2014-09-04 14:40:03 -04:00
Marius Kintel
2c11e397d1
#904 testcase
2014-09-04 14:36:23 -04:00
Marius Kintel
fc26d25011
#915 Make QScintilla editor the default
2014-09-04 14:25:41 -04:00
Marius Kintel
15d596099c
Disabled some tests for Travis which fails due to Gallium 0.4 driver issues on Ubuntu 12.04
2014-09-04 13:49:12 -04:00
Marius Kintel
0d304f7e43
#924 Made MDI and undocking options visible again
2014-09-04 12:18:46 -04:00
Marius Kintel
c4485cfdeb
Merge pull request #879 from openscad/scintillaeditor
...
Scintilla Editor
2014-09-03 16:44:35 -04:00
Torsten Paul
dab35ffa40
Use strong bindings for the liberation font aliases.
2014-09-03 21:55:18 +02:00
Marius Kintel
45a649d6ab
#879 fix some keyboard binding issues
2014-09-03 15:00:52 -04:00
Marius Kintel
9ef3349e4e
#879 fixed some minor layout and shortcut issues
2014-09-03 14:52:41 -04:00
Marius Kintel
845df0cce1
Merge remote-tracking branch 'origin/master' into scintillaeditor
...
Conflicts:
scripts/mingw-x-build-dependencies.sh
2014-09-03 12:46:54 -04:00
Marius Kintel
de2e1090ca
Merge branch 'master' of github.com:openscad/openscad
2014-09-03 12:28:16 -04:00
Marius Kintel
c7f8d283e2
Merge pull request #928 from openscad/mingw-master
...
MXE master / Fix Windows cache folder
2014-09-03 12:14:42 -04:00
Marius Kintel
546c8dd1d7
constness, codingstyle
2014-09-03 12:14:27 -04:00
Marius Kintel
98fb23f6b3
Merge pull request #929 from openscad/fix-fontconfig
...
Fix fontconfig logic
2014-09-03 12:12:00 -04:00
Torsten Paul
af9843d91b
Remove code to add Windows font folder - handled by fonts.conf.
2014-09-03 17:46:27 +02:00
Torsten Paul
3d2290c203
Use FcMatchPattern to make alias replacement work.
2014-09-03 17:43:19 +02:00
Torsten Paul
64e66bb397
Move additional conf files for fontconfig back to previous location.
2014-09-03 15:37:57 +02:00
Torsten Paul
2959cd0f30
Install fontconfig configuration folder.
2014-09-03 00:36:05 +02:00
Torsten Paul
fde1b89cd9
Switch to MXE master branch using mingw-w64/static targets.
2014-09-03 00:36:05 +02:00
Torsten Paul
a95b14da42
Add platform abstraction for setenv() which is not supported on MinGW.
2014-09-03 00:36:05 +02:00
Marius Kintel
3a3ffc0118
Merge remote-tracking branch 'origin/master' into c++11
2014-09-02 00:16:38 -04:00
Marius Kintel
67c68634b6
Be more verbose when using c++11
2014-09-02 00:16:36 -04:00
Torsten Paul
89201c91c8
Suppress find error output.
2014-08-30 22:22:33 +02:00
Torsten Paul
2170e0ad2d
Detect qmake-qt5 first, use qmake as fallback (needed for fedora).
2014-08-30 21:32:21 +02:00
Torsten Paul
fdd5464835
Use OPENSCAD_LIBRARY include path only if it actually exists.
2014-08-30 21:23:03 +02:00
Torsten Paul
e00287c8a4
Update dependency script for fedora.
2014-08-30 21:07:22 +02:00
Marius Kintel
5dd4823936
Merge remote-tracking branch 'origin/master' into scintillaeditor
2014-08-28 12:04:12 -04:00
Marius Kintel
f1f4e4c778
Copy resourcess
2014-08-28 00:46:21 -04:00
Marius Kintel
fb1270ea66
Added OS X font config for binary distribution
2014-08-28 00:43:58 -04:00
Marius Kintel
2edfed69b3
Copy font config for Mac binary build. The same should be done for Windows
2014-08-28 00:42:53 -04:00
Marius Kintel
44fa788a34
Add system, MacPorts and Homebrew fonts for OS X
2014-08-28 00:42:07 -04:00
Marius Kintel
97b47c8ee3
To auto-load configs, we need to prefix the config files with a number
2014-08-28 00:41:13 -04:00
Marius Kintel
db14aa2bba
Tweaked font config handling to hopefully be more correct
2014-08-28 00:39:51 -04:00
Marius Kintel
9ee42012fc
Return a canonical resources path
2014-08-28 00:39:20 -04:00
Marius Kintel
0f9450137f
Refactored resource path lookup
2014-08-27 16:00:15 -04:00
Torsten Paul
efbfa064f0
Merge pull request #923 from openscad/linux-build-update
...
Update build scripts
2014-08-27 20:08:35 +02:00
Marius Kintel
abd14b6296
disable unused scheme
2014-08-26 16:35:16 -04:00
Torsten Paul
67f0275618
Build fontconfig with --prefix=/ to let it pick up system data.
2014-08-26 21:24:02 +02:00
Torsten Paul
28dd3c6ec4
Use https download link for gmp.
2014-08-26 21:24:02 +02:00
Torsten Paul
c90e8f24e1
Update to Eigen 3.2.2, boost 1.56, cgal 4.4.
2014-08-26 21:24:02 +02:00
Torsten Paul
bc643b3cf5
Add packages needed for static Qt5 builds.
2014-08-26 21:24:02 +02:00
Torsten Paul
09dd11c7c4
Include swrast_dri driver.
2014-08-26 21:24:02 +02:00
Torsten Paul
f415ee239f
Remove dependency to libpng when building freetype.
2014-08-26 21:24:02 +02:00
Torsten Paul
90b8ac026c
Add curl and libffi-dev to Debian dependencies.
2014-08-26 21:24:02 +02:00
Torsten Paul
d4ac26d693
Use blacklist approach to include library dependencies.
2014-08-26 21:24:02 +02:00
Torsten Paul
4bdc4c4247
Add static dependency builds for Qt5 and QScintilla2.
2014-08-26 21:24:02 +02:00
Torsten Paul
f7ea9f415b
Use OPENSCAD_LIBRARY include path only if it actually exists.
2014-08-26 21:24:02 +02:00
Marius Kintel
edded0f69d
Bugfix: Added missing code for properly comparing booleans
2014-08-26 14:52:22 -04:00
Torsten Paul
28ded1166e
Update MXE build to master branch and mingw-w64 to support qscintilla2.
2014-08-26 19:12:11 +02:00
Marius Kintel
c4d3f22145
C++11 compile fix
2014-08-24 21:27:23 -04:00
Marius Kintel
4cf5d76196
xcode ignores
2014-08-24 18:07:20 -04:00
Marius Kintel
95ed3141fd
#899 tagged failing test as a bug, added minimal test case
2014-08-24 18:06:19 -04:00
Torsten Paul
c5c5a02163
Implement indent/unindent and comment/uncomment.
2014-08-24 23:49:13 +02:00
Marius Kintel
b05a8eb0ca
Xcode fix: Run executable in correct working dir
2014-08-24 17:41:40 -04:00
Marius Kintel
99bc04c9ab
#879 scintilla editor incorrectly reported a freshly opened file as modified
2014-08-24 17:40:46 -04:00
Marius Kintel
844edc9b78
cosmetics
2014-08-24 17:40:12 -04:00
Marius Kintel
50853052a8
Merge remote-tracking branch 'origin/master' into scintillaeditor
2014-08-24 17:16:07 -04:00
Marius Kintel
dd230a0e76
Added hidden Xcode schemes
2014-08-24 17:15:55 -04:00
Marius Kintel
07e620e611
Merge remote-tracking branch 'origin/master' into scintillaeditor
2014-08-24 17:10:35 -04:00
Marius Kintel
0b5dc26511
Added Xcode project file for debugging aid on OS X
2014-08-24 17:10:19 -04:00
shaina7837
257af85259
brace matching, cursor display and line number scaling is fixed as per the todo list
2014-08-23 20:29:54 +05:30
Marius Kintel
03e5e43269
#879 bugfix: modificationChanged connectinon was made to the wrong component, cosmetics
2014-08-23 01:33:35 -04:00
Marius Kintel
f6e02ffb0c
cosmetics
2014-08-23 01:28:07 -04:00
Marius Kintel
ee89658df3
Use selection as text for find function
2014-08-23 01:25:29 -04:00
Marius Kintel
e3960304bd
#879 Implemented wheel zoom for scintilla editor
2014-08-23 01:18:51 -04:00
Marius Kintel
6ecf72a976
#879 bugfix: emit contentsChanged instead of textChanged, cosmetics
2014-08-23 01:15:04 -04:00
Marius Kintel
8ab3f843c7
indentation
2014-08-23 00:57:57 -04:00
Marius Kintel
c9b0a16843
Use #pragma once
2014-08-23 00:57:22 -04:00
Marius Kintel
3c45262ea8
cosmetics
2014-08-23 00:53:49 -04:00
Marius Kintel
759e926b9a
Added Q_OBJECT macro to make slots work, made wrapping look more like existing editor
2014-08-22 18:54:09 -04:00
Marius Kintel
10f4a52985
#879 Handle document modification signals, make editor interface more abstract
2014-08-22 18:39:12 -04:00
Marius Kintel
f6b74eb6e0
Fixed a search&replace bug, removed some unused code
2014-08-22 18:10:58 -04:00
Marius Kintel
bd19da5d6e
bugfix: superclass initialization was removed in last commit
2014-08-22 15:10:54 -04:00
Marius Kintel
fe0f24602d
#879 kill c++11 warning
2014-08-22 15:10:08 -04:00
Marius Kintel
cea96185aa
#879 made paste viewport translation and rotation work for scintilla editor
2014-08-22 14:22:33 -04:00
Marius Kintel
79f44ae7fa
Fix file drops to legacy editor, misc. cosmetics
2014-08-22 14:17:24 -04:00
Marius Kintel
c59d3aef79
indentation
2014-08-22 13:42:23 -04:00
Marius Kintel
138d5bc57e
Merge remote-tracking branch 'origin/master' into scintillaeditor
...
Conflicts:
src/MainWindow.h
src/Preferences.ui
src/mainwin.cc
2014-08-22 12:59:10 -04:00
Marius Kintel
574fbf97c5
Force shininess to 64 - this is reported to fix #71
2014-08-22 11:48:34 -04:00
Marius Kintel
8a9e0daa01
minor debug output fixes
2014-08-22 11:48:10 -04:00
Marius Kintel
acb7fe8e96
Don't export malformed triangles (< 3 unique vertices)
2014-08-21 17:08:11 -04:00
Marius Kintel
724fbbab5f
Handle failure to convert cmd-line parameters to numbers. Fixes #908
2014-08-21 16:28:59 -04:00
Marius Kintel
51c43af4f4
#337 Enabled conversion directly from Nef polyhedron to PolySets, making us able to deal with more manifold corner cases
2014-08-21 13:20:32 -04:00
Marius Kintel
39fc1faee5
#584 updated expected image
2014-08-21 01:17:54 -04:00
Marius Kintel
8359c4ad6f
#913 updated testcase result
2014-08-21 01:14:17 -04:00
Marius Kintel
54b9c90aef
#913 Updated test cases
2014-08-21 00:19:35 -04:00
Marius Kintel
3e5df1a965
added missing file cgalutils-tess.cc
2014-08-20 11:43:12 -04:00
Marius Kintel
04ac48f21c
#913 added testcase
2014-08-20 11:11:18 -04:00
Marius Kintel
de6bcb1786
small reorg of cgalutils namespace
2014-08-19 22:02:08 -04:00
Marius Kintel
4f4bf2b0b8
#911 updated test image
2014-08-19 13:14:52 -04:00
Marius Kintel
b8bbd6f842
The minkowski module needs to pass on any given convexity value. Fixes #911
2014-08-19 13:13:20 -04:00
Marius Kintel
377811123b
#911 Added testcase
2014-08-18 20:03:26 -04:00
Marius Kintel
426d5b9de0
Added missing expected files, disabled export test added by mistake
2014-08-18 19:15:32 -04:00
Marius Kintel
4a1962cb84
#112 Updated test images, added export tests
2014-08-18 15:39:01 -04:00
Marius Kintel
ce3b403c9b
#337 Added more corner case tests from previous bugs
2014-08-18 01:50:33 -04:00
shaina7837
c7ea10575a
minor code cleanup
2014-08-18 10:29:38 +05:30
shaina7837
b54710404a
minor code cleanup
2014-08-18 09:43:43 +05:30
Marius Kintel
e975ac3808
#337 Added more export tests, added failing export tests, handle 2D examples, added empty-union test
2014-08-17 16:06:25 -04:00
Marius Kintel
ac22552b84
Added correct expected image
2014-08-17 16:02:00 -04:00
Marius Kintel
9d79d90104
#337 bugfix: We exported inner surfaces instead of outer ones
2014-08-17 15:07:02 -04:00
Marius Kintel
11952c4c0c
PRINT -> PRINTD
2014-08-17 13:58:48 -04:00
Marius Kintel
2631cf6430
Merge pull request #873 from openscad/builtin-chr
...
Built-in chr()
2014-08-17 12:44:29 -04:00
Marius Kintel
9a1074ebbc
#703 Ignore faces with <3 vertices while checking for convexity. Fixes crash
2014-08-17 12:42:24 -04:00
Marius Kintel
207b56d0a4
#703 Don't try to export empty objects
2014-08-17 12:41:45 -04:00
Marius Kintel
e8407afc6d
#703 Don't try to export empty objects
2014-08-17 12:38:06 -04:00
Marius Kintel
b073521aa8
Silence fallback lookup warnings
2014-08-17 12:06:59 -04:00
Marius Kintel
be845d6444
#587 Reorganized some tests to better distinguish between 2D and 3D tests. Added DXF export tests
2014-08-17 11:17:35 -04:00
Marius Kintel
c01ea899f1
Missed tagging of lwpolyline tests as 2D
2014-08-15 14:46:22 -04:00
Marius Kintel
97512818cf
Missed tagging of projection-cut-tests as 2D
2014-08-15 14:41:50 -04:00
Marius Kintel
99fb4ecb34
Use the same test results for all STL/OFF export-import tests
2014-08-15 13:22:01 -04:00
Marius Kintel
6405456c8a
Renamed CGAL_renderer to CGAL_OGL_Polyhedron for clarity
2014-08-15 13:04:34 -04:00
Marius Kintel
49749da7dd
Updated expected image to pass DIFFPNG tests
2014-08-15 13:01:23 -04:00
Marius Kintel
99e41df4db
doc
2014-08-15 12:13:04 -04:00
Marius Kintel
134a1b9706
Removed duplicate DIFFPNG section
2014-08-15 12:12:50 -04:00
shaina7837
91ed8723c3
font and size operations in preferences are working for qscintilla editor
2014-08-15 14:13:58 +05:30
shaina7837
6a69510b13
fixed open buttons in launching screen
2014-08-15 10:42:12 +05:30
Marius Kintel
717ff3b1ef
forgot to add colormap class
2014-08-14 17:19:41 -04:00
Marius Kintel
5133984202
new test results
2014-08-14 17:17:18 -04:00
Marius Kintel
e70bc04197
Colormap functionality from pull request #816 , mostly by Don Bright, includes new colormaps by shaina
2014-08-14 17:16:24 -04:00
Marius Kintel
c5050b03b7
fontconfig check by Don Bright
2014-08-13 23:32:27 -04:00
Marius Kintel
5c3cfa4e98
Make real-time find work
2014-08-13 18:58:59 -04:00
Marius Kintel
a25f02780e
#879 Fix forward/backward search in the scintilla editor
2014-08-13 18:52:01 -04:00
Marius Kintel
cfb2f350c8
Merge remote-tracking branch 'origin/master' into scintillaeditor
2014-08-13 16:57:15 -04:00
Marius Kintel
53a8841603
#894 Minor cleanup
2014-08-13 15:59:45 -04:00
Marius Kintel
84b11c29d9
#894 compile fix for MDI mode, minor cleanup
2014-08-13 15:30:47 -04:00
Marius Kintel
72c6982f85
Merge remote-tracking branch 'origin/master' into launchingscreen
2014-08-13 15:08:09 -04:00
shaina7837
fbc13a7456
added generic function in editor interface
2014-08-13 21:29:56 +05:30
shaina7837
7ef1e9b59e
recents list in launching screen contains names of files instead of path
2014-08-13 09:43:24 +05:30
shaina7837
1ef69bb940
indent/unindent comment/uncomment menu items removed when scintilla editor is on
2014-08-11 20:09:50 +05:30
Torsten Paul
eabd27dd92
Merge pull request #906 from openscad/text-fixes-5
...
Change FontDialog button to do "copy to clipboard".
2014-08-10 21:27:54 +02:00
Torsten Paul
0760103ac7
Change FontDialog button to do "copy to clipboard".
2014-08-10 20:40:43 +02:00
Marius Kintel
e9edb69603
Some adjustment of default color scheme
2014-08-10 00:56:04 -05:00
Marius Kintel
50bf202df1
Merge branch 'master' of github.com:openscad/openscad
2014-08-09 23:15:30 -05:00
Marius Kintel
2bb08b41a7
Attempted to summarize changes in master
2014-08-09 23:15:13 -05:00
Marius Kintel
ab62050727
Merge pull request #886 from openscad/fix-recursive-include
...
Fix recursive include handling by using canonical path (fixes #885 ).
2014-08-09 22:28:27 -05:00
Marius Kintel
080c9ea193
Merge remote-tracking branch 'origin/master' into scintillaeditor
...
Conflicts:
scripts/macosx-build-dependencies.sh
2014-08-09 22:27:40 -05:00
Marius Kintel
d4f240e272
Merge branch 'scintillaeditor' of github.com:openscad/openscad into scintillaeditor
2014-08-09 22:25:38 -05:00
shaina7837
46a948d302
find and replace working in scintillaeditor
2014-08-07 07:34:37 +05:30
shaina7837
7da7c07918
added solarized theme
2014-08-05 19:23:10 +05:30
shaina7837
fbceb0bdd8
added Monokai theme color scheme in scintilla editor
2014-08-05 07:52:30 +05:30
Torsten Paul
fde73a4b27
Merge pull request #896 from openscad/text-fixes-4
...
Text fixes 4
2014-08-03 20:42:45 +02:00
Torsten Paul
c0c4fdf527
Handle $fn, $fa and $fs for CSG output.
2014-08-03 20:31:03 +02:00
Torsten Paul
a4b9bb554d
Lower number of segments generated for bezier path.
2014-08-03 20:31:03 +02:00
Torsten Paul
b920352f98
Save original $fn value for CSG output.
2014-08-03 20:31:03 +02:00
shaina7837
a70c4eb8e2
added box style folding
2014-08-03 22:29:17 +05:30
Torsten Paul
1c4603cef1
Merge pull request #898 from openscad/update-text-examples
...
Add version output to text examples and fix viewport orientation.
2014-08-03 18:56:27 +02:00
Torsten Paul
164b50b1b7
Add version output to text examples and fix viewport orientation.
2014-08-03 18:38:21 +02:00
shaina7837
9925639a45
no launching screen if filename is given at cmd line
2014-08-03 21:36:38 +05:30
Torsten Paul
63be176c11
Merge pull request #897 from openscad/macosx-build-fix
...
Update MacOS X dependency build.
2014-08-03 14:42:06 +02:00
Torsten Paul
475bf8a90f
Update MacOS X dependency build.
...
- use $NUMCPU for parallel build
- don't always rebuild libs when already installed
- switch to Qt 5.3.1 and disable most modules
- switch to eigen 3.2.1
- fix build order for ragel (needed by harfbuzz build)
2014-08-03 14:37:46 +02:00
shaina7837
9e4cf7f326
tab width made default
2014-08-03 17:59:10 +05:30
shaina7837
a23f54a416
changed tab with to 4 characters
2014-08-03 17:40:06 +05:30
shaina7837
958e6c89da
made the size of launching screen fixed
2014-08-03 12:27:19 +05:30
shaina7837
24efe77962
QSettings header file added after QApplication
2014-08-02 21:11:10 +05:30
shaina7837
1ff309a9d2
#include<QSettings> added after #include<QApplication
2014-08-02 20:53:16 +05:30
shaina7837
b18631873e
dialog box closed after selecting option
2014-08-02 19:38:02 +05:30
shaina7837
755c23391e
added option in preferences to show launcher again
2014-08-02 11:46:07 +05:30
shaina7837
4ae7746b95
make checkbox working to show or hide launcher in launching screen
2014-08-02 10:36:06 +05:30
shaina7837
e637a75617
example button is disabled if nothing selected
2014-08-02 01:14:45 +05:30
shaina7837
4697a8268f
launching screen examples working
2014-08-01 23:35:30 +05:30
shaina7837
ad11bd8cd2
launching screen
2014-08-01 22:32:55 +05:30
Torsten Paul
428790c771
Update to use boosty.h as older boost versions seem to be still in use.
2014-07-31 21:58:59 +02:00
Torsten Paul
c5ce5a400c
Fix recursive include handling by using canonical path ( fixes #885 ).
2014-07-30 00:14:03 +02:00
Marius Kintel
9c1bb00885
Updated expected images
2014-07-24 02:12:36 -04:00
Marius Kintel
20e97ac482
Removed unnecessary test related to old colorscheme experiments
2014-07-24 02:12:07 -04:00
Marius Kintel
40b5028955
Turn off camera debugging
2014-07-23 23:48:46 -04:00
Marius Kintel
a8f1ec7319
Merge remote-tracking branch 'origin/master' into scintillaeditor
2014-07-23 23:42:28 -04:00
Marius Kintel
ff3e65ad16
Updated expected images for 2D tests using autocenter and viewall
2014-07-23 23:36:42 -04:00
Marius Kintel
7de599324b
Adjust 2D test handling
2014-07-23 23:36:20 -04:00
Marius Kintel
12f28fd194
Make autocenter preserve direction
2014-07-23 23:35:35 -04:00
Marius Kintel
1c690dfe5d
Updated test image (forgotten as it was part of examples)
2014-07-22 18:05:41 -04:00
Marius Kintel
d4f769c15c
Updated test image (forgotten as it was part of examples)
2014-07-22 17:11:45 -04:00
Don Bright
858afffff8
add more expected images. remove accidentally added intermediate files.
...
Conflicts:
tests/regression/offpngtest/demo_cut-expected.png
tests/regression/offpngtest/difference-expected.png
tests/regression/offpngtest/fence-expected.png
tests/regression/offpngtest/rounded_box-expected.png
tests/regression/offpngtest/surface-expected.png
tests/regression/offpngtest/translation-expected.png
tests/regression/stlpngtest/demo_cut-expected.png
tests/regression/stlpngtest/difference-expected.png
tests/regression/stlpngtest/fence-expected.png
tests/regression/stlpngtest/rounded_box-expected.png
tests/regression/stlpngtest/surface-expected.png
tests/regression/stlpngtest/translation-expected.png
2014-07-22 17:11:41 -04:00
Marius Kintel
fbe08862ca
#879 change install name. qtmacdeploy requires a full install name path
2014-07-22 17:09:59 -04:00
Marius Kintel
c90cb30e50
Synced some remaining fixes from the test_3d_export branch
2014-07-22 16:23:05 -04:00
Don Bright
3b5893144d
run the diffpng image comparer without creating an output image, for speed
2014-07-22 16:09:56 -04:00
Marius Kintel
3bd56036a5
Tag all example tests correctly
2014-07-22 16:09:51 -04:00
Don Bright
d819ab6d32
new tests for stlpngtest offpngtest
...
Conflicts:
tests/regression/offpngtest/demo_cut-expected.png
tests/regression/offpngtest/difference-expected.png
tests/regression/offpngtest/fence-expected.png
tests/regression/offpngtest/rounded_box-expected.png
tests/regression/offpngtest/surface-expected.png
tests/regression/offpngtest/translation-expected.png
2014-07-22 16:09:34 -04:00
Don Bright
ac27854c8f
fix bug where --render was not using proper colorscheme due to
...
getFacetColor in OGL_helper.h not being overridden in CGAL_renderer.h
Conflicts:
src/CGALRenderer.cc
src/CGAL_renderer.h
src/OGL_helper.h
src/renderer.cc
tests/CMakeLists.txt
tests/export_import_pngtest.py
tests/regression/stlpngtest/demo_cut-expected.png
tests/regression/stlpngtest/difference-expected.png
tests/regression/stlpngtest/fence-expected.png
tests/regression/stlpngtest/rounded_box-expected.png
tests/regression/stlpngtest/surface-expected.png
tests/regression/stlpngtest/translation-expected.png
2014-07-22 15:55:40 -04:00
Marius Kintel
07da269643
Use --render when creating expected images
2014-07-22 15:45:21 -04:00
Marius Kintel
dec1abd827
turn off pretty-print debugging
2014-07-22 15:45:05 -04:00
Don Bright
92ef136967
re-doing the test generation for 3d formats that dont preserve color
2014-07-22 15:33:10 -04:00
Don Bright
cc6a0978cb
add test imgs for offpngtest and stlpngtest. updates to test_cmd and test_pretty_print
...
to handle missing expected images better and properly report img comparer.
tweak diffpng
Conflicts:
src/OGL_helper.h
tests/CMakeLists.txt
tests/diffpng.cpp
tests/test_3d_export.py
tests/test_pretty_print.py
2014-07-22 15:33:08 -04:00
Don Bright
02f91a7413
debugging messages. update diffpng
...
Conflicts:
src/Camera.cc
tests/CMakeLists.txt
2014-07-22 15:21:41 -04:00
Don Bright
3c71753332
tweak improvements for test pretty print logging. new intersection test img files
...
Conflicts:
tests/regression/opencsgtest/intersection2-tests-expected.png
tests/test_pretty_print.py
2014-07-22 15:18:18 -04:00
Don Bright
e5bb9d178d
add test imgs for offpngtest and stlpngtest. updates to test_cmd and test_pretty_print
...
to handle missing expected images better and properly report img comparer.
tweak diffpng
Conflicts:
src/OGL_helper.h
tests/CMakeLists.txt
tests/test_3d_export.py
tests/test_cmdline_tool.py
tests/test_pretty_print.py
2014-07-22 15:15:53 -04:00
Don Bright
07ad12f154
update diffpng.cpp
2014-07-22 15:09:42 -04:00
Don Bright
4d619a7e38
update diffpng
...
Conflicts:
tests/CMakeLists.txt
2014-07-22 15:09:36 -04:00
Don Bright
94d11adeb2
allow alternate image comparison tool diffpng based on Hector Yee's algorithm
...
Conflicts:
tests/CMakeLists.txt
2014-07-22 15:09:04 -04:00
Don Bright
901caedd01
fallback to diffpng if ImageMagick is missing
2014-07-22 15:02:27 -04:00
don bright
a44f844882
fix bug in imagemagick comparison detector
2014-07-22 15:02:20 -04:00
Don Bright
6f0bd738e7
test ImageMagick to see if two non-identical images are considered identical.
...
on failure, fall back to diffpng comparison (diffpng.cpp)
2014-07-22 15:02:13 -04:00
Don Bright
b3737d96c2
allow alternate image comparison tool diffpng based on Hector Yee's algorithm
...
Conflicts:
tests/CMakeLists.txt
tests/test_cmdline_tool.py
2014-07-22 15:02:05 -04:00
Marius Kintel
af8c3ee9d1
Merge remote-tracking branch 'origin/master' into scintillaeditor
...
Conflicts:
src/PlatformUtils.cc
2014-07-22 14:48:45 -04:00
Marius Kintel
b3d094a604
Fixed failing tests by adjusting some mistakes done while cherry-picking from the test_3d_export branch
2014-07-22 14:11:21 -04:00
Don Bright
d2338e9e87
make default render like it was before. (bbox.center=center)
2014-07-22 14:00:45 -04:00
Marius Kintel
d21dea3fd1
Removed debug info
2014-07-22 14:00:43 -04:00
Don Bright
209feff810
redo 2d tests to be viewed from the top down. experiment w altering viewall code
...
Conflicts:
src/Camera.cc
tests/CMakeLists.txt
tests/regression/cgalpngtest/resize-2d-tests-expected.png
tests/regression/cgalpngtest/rotate_extrude_dxf-tests-expected.png
tests/regression/cgalpngtest/text-font-alignment-tests-expected.png
tests/regression/cgalpngtest/text-font-direction-tests-expected.png
tests/regression/cgalpngtest/text-font-simple-tests-expected.png
tests/regression/cgalpngtest/text-font-tests-expected.png
tests/regression/dumptest/resize-2d-tests-expected.csg
tests/regression/opencsgtest/intersection2-tests-expected.png
tests/regression/opencsgtest/resize-2d-tests-expected.png
tests/regression/opencsgtest/rotate_extrude_dxf-tests-expected.png
tests/regression/opencsgtest/text-font-alignment-tests-expected.png
tests/regression/opencsgtest/text-font-direction-tests-expected.png
tests/regression/opencsgtest/text-font-simple-tests-expected.png
tests/regression/opencsgtest/text-font-tests-expected.png
tests/regression/throwntogethertest/resize-2d-tests-expected.png
tests/regression/throwntogethertest/rotate_extrude_dxf-tests-expected.png
tests/regression/throwntogethertest/text-font-alignment-tests-expected.png
tests/regression/throwntogethertest/text-font-direction-tests-expected.png
tests/regression/throwntogethertest/text-font-simple-tests-expected.png
tests/regression/throwntogethertest/text-font-tests-expected.png
2014-07-22 14:00:08 -04:00
Don Bright
f3a0d5dc64
add --autocenter option to make it easier to test 2d objects properly
...
Conflicts:
src/Camera.cc
tests/CMakeLists.txt
2014-07-22 13:37:09 -04:00
Marius Kintel
28864037ee
Split info() function into separate file as it depends on too many defines and external libs
2014-07-22 13:32:44 -04:00
Marius Kintel
50ac9c262c
cgal vs. nocgal build tweaks
2014-07-22 12:21:48 -04:00
Marius Kintel
fef8e6a9a8
Correctly display OpenCSG version for test suite
2014-07-22 11:49:08 -04:00
Oskar Linde
7358e1108f
Resolve issue #883
2014-07-22 11:11:57 +02:00
Oskar Linde
ba81166a2b
Add tests for issue #883
2014-07-22 11:11:23 +02:00
Marius Kintel
0852e707a6
Don't crash on infinite dimensions. Fixes #859
2014-07-17 17:59:42 -04:00
Marius Kintel
2790b4987f
Merge branch 'master' of github.com:openscad/openscad
2014-07-17 17:36:14 -04:00
Marius Kintel
f87ee92755
bugfix: don't crash on empty resize(). refactoring: added virtual copy() to geometry, moved resize() to CGAL_Nef_polyhedron. Fixes #862
2014-07-17 17:03:03 -04:00
Torsten Paul
d4ef0823d3
Add Coverity Status badge.
2014-07-17 22:27:34 +02:00
Torsten Paul
2e63a3ac86
Skip unit test run after coverity scan.
2014-07-17 21:32:06 +02:00
Marius Kintel
68962e1c01
Allow building without scintilla
2014-07-17 15:28:23 -04:00
Marius Kintel
6b95307ae1
Improved editor tab layout
2014-07-17 15:28:14 -04:00
Marius Kintel
74ec208581
QScintilla build script for Mac
2014-07-17 15:11:33 -04:00
Marius Kintel
514a34a85f
bugfix: always return a bool
2014-07-17 15:10:58 -04:00
Marius Kintel
66ec59eaae
Added QScintilla version to library info
2014-07-17 15:10:39 -04:00
Marius Kintel
597cdbe7b3
Fix to make debug builds correctly link against qscintilla on Mac/Windows
2014-07-17 15:09:50 -04:00
Marius Kintel
6270441341
Merge remote-tracking branch 'origin/master' into scintillaeditor
...
Conflicts:
openscad.pro
src/mainwin.cc
2014-07-17 15:07:42 -04:00
Torsten Paul
e84e6bb09c
Activate scan.coverity.com integration.
2014-07-17 20:34:22 +02:00
Marius Kintel
aadb85d86e
Less verbose irc output from travis
2014-07-17 11:37:12 -04:00
Marius Kintel
c7aa75c558
Merge pull request #856 from openscad/fix-viewport-scoping
...
Fix viewport variable scoping
2014-07-17 11:14:01 -04:00
Marius Kintel
bfc182c290
Merge pull request #876 from openscad/issue875-testcase
...
Test case for UTF-8 include / use (issue #875 ).
2014-07-17 11:12:44 -04:00
Torsten Paul
37686582d9
Test case for UTF-8 include / use (issue #875 ).
2014-07-17 00:54:12 +02:00
Torsten Paul
1269ef49c3
Add test cases for chr().
2014-07-13 19:18:48 +02:00
Torsten Paul
94fd976bad
Add chr() function to convert numbers to unicode characters.
2014-07-13 18:43:44 +02:00
Torsten Paul
247479ca67
Merge pull request #871 from openscad/text-fixes-3
...
Text fixes (part 3)
2014-07-12 23:01:24 +02:00
Torsten Paul
f47edd1bfe
Accept Macintosh/Roman charmap and always dump charmaps (as debug output).
2014-07-12 21:36:56 +02:00
Torsten Paul
ca51057485
Read font index from fontconfig and check result from FcPatternGet().
2014-07-12 21:36:56 +02:00
Torsten Paul
d0ba2903b3
Enable text for most test cases and update reference images.
2014-07-12 21:36:56 +02:00
Torsten Paul
2b37c39861
Add filter for font table.
2014-07-12 21:36:56 +02:00
Torsten Paul
f01afd7252
Add paste button to font list dialog.
2014-07-12 21:36:56 +02:00
Torsten Paul
d86e9d43ee
Fix text() CSG output and cleanup test cases.
...
- enable text feature in import-export test cases
- drop ParaType font as Liberation is needed for the composition regression
test, so use this for other tests too
- drop Amiri bold font, which is not adding anything to coverage
2014-07-12 21:36:50 +02:00
shaina7837
91d4929af7
content modified message without modifying anything problem get solved
2014-07-11 20:32:30 +05:30
shaina7837
8ab18596ad
runtime switching from simple editor to scintilla editor
2014-07-11 19:41:16 +05:30
Torsten Paul
7847fd0dad
Update camera settings for camortho test and update reference image.
2014-07-08 00:55:01 +02:00
Torsten Paul
6cb5e9218f
Setup camera distance for both perspective and orthogonal mode.
2014-07-08 00:55:01 +02:00
Torsten Paul
3709fc30b2
Match gimbal camera orientation with values shown in GUI.
2014-07-08 00:55:01 +02:00
Torsten Paul
ae1adbe785
Fix scoping issues when evaluating $vpt, $vpr, $vpd.
2014-07-08 00:55:01 +02:00
Torsten Paul
d8c325846d
Enable IRC notification for travis builds.
2014-07-08 00:46:59 +02:00
Torsten Paul
444ae5d705
Fix FreeType include handling.
2014-07-08 00:44:16 +02:00
Marius Kintel
8a2734da40
Merge pull request #868 from openscad/text-fixes2
...
Text fixes (part 2)
2014-07-08 00:30:12 +02:00
Torsten Paul
e8fac2ef97
Add example files for text() usage.
...
The test case images are currently not including the text as the example
test run does not include experimental features. This will need to be
updated once the text() feature is not experimental anymore.
2014-07-07 23:28:03 +02:00
Torsten Paul
0a5acbde25
Add test cases for composition and symbol font handling.
2014-07-07 23:28:03 +02:00
Torsten Paul
d413e4695b
Use special handling for Windows/Symbol charmap only with charcodes >= 0xf000.
...
Some fonts with symbol encoding still have the charcodes in the ASCII
area instead of Unicode page 0xf000. To make those work too, the special
handling is only enabled in case the first charcode is >= 0xf000.
2014-07-07 23:28:03 +02:00
Torsten Paul
f29d10a49f
Select charmap when loading fonts and add workaround for windows symbol fonts.
2014-07-07 23:28:03 +02:00
Marius Kintel
c47ba7c8ba
Merge pull request #865 from openscad/feature/cam_center
...
Camera handling: Double click on a point of an object to set the camera center
2014-07-07 23:12:38 +02:00
Marius Kintel
b9f20780a8
Merge pull request #866 from openscad/text-fixes
...
Text fixes
2014-07-06 19:43:33 +02:00
Torsten Paul
90ef6c95a3
Fix render issue with combining chars intersecting with the base char.
...
Example: text("A\u030A", font = "Arial");
The fix relies on the winding order of the polygons reported by FreeType
to be correct, so the Clipper union operation keeps that information.
2014-07-06 18:41:41 +02:00
Oskar Linde
b257891391
Camera handling: Double click on a point of an object to set the camera center
2014-07-06 07:40:46 +02:00
Torsten Paul
ea21e0fbd5
Show font path in Library Info window.
2014-07-06 04:28:16 +02:00
Torsten Paul
f820727fe8
Remove unused path lookup and move OPENSCAD_FONT_PATH to fontconfig.
2014-07-06 03:57:25 +02:00
Torsten Paul
29b22c49fe
Add /Library/Fonts for MacOS.
2014-07-06 03:37:54 +02:00
Torsten Paul
ffeae16728
Set default font and add loading of additional fontconfig config file.
2014-07-06 03:24:46 +02:00
Torsten Paul
cac3de5461
Use const for std::string arguments.
2014-07-05 23:54:19 +02:00
Marius Kintel
57c52e9351
Merge pull request #864 from openscad/bugfix/cmd_save
...
Bugfix: Cmd-S on an unmodified document inserted an 's'
2014-07-05 22:45:26 +02:00
Oskar Linde
f9ac5053a1
Bugfix: Cmd-S on an unmodified document inserted an 's'
2014-07-05 22:13:51 +02:00
Marius Kintel
9fdc44b00f
Merge branch 'master' of github.com:openscad/openscad
2014-06-26 19:42:20 -04:00
Torsten Paul
bc17acf8fe
Fix handling of multi-line comments.
...
If not eaten by the lexer, the comment content will be dumped to stdout
as default action.
2014-06-26 23:05:05 +02:00
Marius Kintel
328fbb9000
Allow slices to be specified independently of twist. Fixes #850
2014-06-26 16:43:12 -04:00
Marius Kintel
4bed4902e9
Bugfix: Zoom was broken for orthographic cameras. Fixes #853
2014-06-26 15:34:15 -04:00
Marius Kintel
7e5ad73c66
Removed unused code
2014-06-26 15:33:40 -04:00
Marius Kintel
0a566b3d83
Removed unused code
2014-06-26 15:33:22 -04:00
Marius Kintel
1085d3507a
Set fixed point to 2^16
2014-06-26 15:32:52 -04:00
Marius Kintel
f108798c00
Output debug info only in debug mode
2014-06-26 15:31:22 -04:00
Marius Kintel
705b913c18
Use transparency from color name. Fixes #852
2014-06-26 11:36:02 -04:00
Marius Kintel
8733b875f2
Output debug info only in debug mode
2014-06-25 23:54:10 -04:00
Marius Kintel
446c569703
Forgot some files for the #837 testcase
2014-06-25 23:37:18 -04:00
Marius Kintel
d9fda460cc
Popped path_stack once too many. Should fix #837
2014-06-24 19:23:06 -04:00
Marius Kintel
c8b4d82d96
Added testcase for #837
2014-06-24 19:22:33 -04:00
Marius Kintel
b81ab0530d
Output debug info only in debug mode
2014-06-24 19:22:15 -04:00
Marius Kintel
ccb9495354
Merge branch 'master' into text-escape-sequences
...
Conflicts:
tests/CMakeLists.txt
2014-06-24 18:32:14 -04:00
Torsten Paul
544de72c80
Add test cases for the escape sequences.
2014-06-24 20:09:04 +02:00
Torsten Paul
581928a8fd
Fix no-break space handling.
2014-06-24 19:17:50 +02:00
Marius Kintel
bbdfe9b706
Make concat() a primary feature (not experimental)
2014-06-23 22:42:11 -04:00
Torsten Paul
d46b8a8465
Handle UTF-8 multi-byte characters in the lexer.
2014-06-23 23:21:16 +02:00
Torsten Paul
1a2fcc0559
Add support for \x \u and \U escape sequences.
...
For all escape sequences the 0 byte is illegal and converted to a space.
\x supports only the range from 0x01 to 0x7F as the values greater or
equal to 0x80 could produce illegal UTF-8 sequences.
\u allows to specify unicode codepoints with exactly 4 hex digits.
\U allows to specify unicode codepoints with exactly 6 hex digits.
2014-06-23 23:21:16 +02:00
Torsten Paul
62aebbbb37
Add encoding of \r.
2014-06-23 23:21:16 +02:00
Torsten Paul
86e87e45f9
Use toString() when generating echo() messages ( fixes #838 ).
...
When using the Value << operator, strings are encoded (e.g. a newline
character is encoded as \n), but echo() should output the text as given.
2014-06-23 23:21:16 +02:00
Oskar Linde
681f03a2a7
Resolve #835
2014-06-23 10:15:39 +02:00
Oskar Linde
38c7a24240
Add test case for issue 835
2014-06-23 10:15:39 +02:00
Marius Kintel
0dd3ac272b
Handle cwd as outputdir
2014-06-21 19:05:50 -04:00
Marius Kintel
b394da33c7
Mac: Disallow c++11 if dependencies are linked against libstdc++
2014-06-21 16:52:35 -04:00
Marius Kintel
a0875c845c
Merge remote-tracking branch 'origin/master' into c++11
2014-06-21 16:15:56 -04:00
Marius Kintel
d066648390
Added View->View All menu entry
2014-06-21 16:12:55 -04:00
Marius Kintel
4097aa887d
Merge pull request #841 from openscad/viewport-variables
...
Add $vpd and make the viewport variables writeable
2014-06-21 15:35:56 -04:00
Marius Kintel
1ed3e4c4ad
#840 bugfix: Set the up vector to Y axis in the case where we're looking down the Z axis
2014-06-21 14:53:31 -04:00
Marius Kintel
01e70046fb
#810 removed unused code
2014-06-21 14:33:11 -04:00
Marius Kintel
de3dc8461c
#840 bugfix: Small axes had wrong rotation, adjusted size of the big axes after changing FOV to 45 degrees
2014-06-21 14:14:06 -04:00
Marius Kintel
49ff368c78
#840 Adjust default camera distance after changing FOV to 45 degrees
2014-06-21 14:12:52 -04:00
Marius Kintel
e097508472
Link with the correct C++ library on Mac. Added a fix for allowing folder names with regex special characters
2014-06-21 13:34:41 -04:00
Marius Kintel
81d92f2254
Some cleanup of old eigen2 workarounds. Added fix to support cameras looking down the Z axis
2014-06-21 12:44:38 -04:00
Marius Kintel
96d17bd6e2
Updated Clipper to 6.1.3a
2014-06-21 12:43:19 -04:00
Torsten Paul
b88564b9b2
Allow setting $vpt/$vpr/$vpd at top-level to set the viewport camera.
2014-06-21 18:29:51 +02:00
Torsten Paul
fafcf1dbfa
Add variable $vpd containing the viewport camera distance ( Fixes #839 ).
2014-06-21 18:29:49 +02:00
shaina7837
6a67c0b6bb
highlighting and background color set
2014-06-20 12:07:40 +05:30
Marius Kintel
458d60faa6
Refactored the camera handling a bit, added --viewall cmd-line parameter
2014-06-19 17:47:38 -04:00
Marius Kintel
c6e21a6027
Report boost version, don't add BOOST_FILESYSTEM_VERION for recent boost versions
2014-06-19 17:43:35 -04:00
shaina7837
0b6814f253
syntax highlighting implemented
2014-06-19 22:53:00 +05:30
shaina7837
25bf6dd20b
new lexer added
2014-06-17 21:45:04 +05:30
shaina7837
5936bc2243
added
2014-06-17 21:27:28 +05:30
shaina7837
9d35c792ed
scad lexer added
2014-06-17 21:04:54 +05:30
Marius Kintel
48e1d6a5a9
Allow other files than .scad as input
2014-06-16 21:13:18 -04:00
Marius Kintel
4ef994ac3e
Pass full path to python script
2014-06-16 15:56:36 -04:00
Marius Kintel
e344f7e478
Bugfix - png is the last arg + some better error output
2014-06-16 15:56:07 -04:00
Marius Kintel
d77db77825
Rewrote csg-import-test to be able to export other file formats as well as pass extra parameters to OpenSCAD
2014-06-16 02:41:04 -04:00
Marius Kintel
b93a6203fe
Merge branch 'master' of github.com:openscad/openscad
2014-06-14 16:27:42 -04:00
Marius Kintel
9d09e6475e
Disable failing test on Ubuntu 12.04 Gallium drivers
2014-06-14 16:27:37 -04:00
Marius Kintel
9ae42c355a
Merge pull request #833 from openscad/fix-visibility-behavior
...
Ignore visibility change events when the window is closing (fixes #812 ).
2014-06-14 15:13:31 -04:00
Torsten Paul
0d9e627a8c
Ignore visibility change events when the window is closing ( fixes #812 ).
2014-06-14 15:30:48 +02:00
Marius Kintel
cf2009f180
Bugfix: Pick up qscintilla2 from the installed .prf file
2014-06-13 15:29:38 -04:00
Marius Kintel
11ca82dbb5
Moved scintilla config to scintilla.pri, enabled scintilla by default
2014-06-13 14:41:40 -04:00
Torsten Paul
f20ad99be9
Remove unnecessary include.
2014-06-13 20:37:45 +02:00
shaina7837
6ff02a9ada
editor padding removed
2014-06-13 06:10:47 +05:30
shaina7837
6b8acb0d3a
error indicator with line marker
2014-06-12 20:26:18 +05:30
shaina7837
9f276a5788
error indicator implemented
2014-06-12 13:31:28 +05:30
shaina7837
a297a1b0aa
syntax highlighting
2014-06-11 15:59:05 +05:30
Marius Kintel
fe8ce9335e
Some tuning of versions of dependencies
2014-06-10 16:20:08 -04:00
Oskar Linde
05e2a1edf1
Mac: Add -stdlib=libc++ to testsuite on 10.9 and later
2014-06-10 02:09:29 -04:00
Marius Kintel
8793fed7db
Merge branch 'master' of github.com:openscad/openscad
2014-06-10 01:40:45 -04:00
Marius Kintel
c1701654fc
#784 bugfix slightly changed twist behavior. Updating test results
2014-06-10 01:40:41 -04:00
Marius Kintel
a7b4f2e5b7
#495 Updated test png to reflect correct behavior
2014-06-10 01:13:36 -04:00
Marius Kintel
c4f369fbf8
Merge branch 'master' into c++11
...
Conflicts:
openscad.pro
2014-06-10 00:16:05 -04:00
Marius Kintel
da56dff89d
minor c++11 config fixes
2014-06-10 00:15:14 -04:00
Marius Kintel
a5a3d8f4cf
Some minor cleanup
2014-06-10 00:14:45 -04:00
Marius Kintel
1d6b7923bd
Merge branch 'master' into c++11
2014-06-09 23:38:32 -04:00
Marius Kintel
27a2be8411
Applied Oskar's libc++ patches from #828 to master
2014-06-09 23:36:24 -04:00
Marius Kintel
7b4411bbcc
We're actually checking for libc++, not c++11
2014-06-09 23:35:33 -04:00
Marius Kintel
2de378bef5
Merge branch 'master' into c++11
2014-06-09 23:23:44 -04:00
Marius Kintel
3ccce0d7ee
Added testcase for erosions issue
2014-06-09 23:03:33 -04:00
Marius Kintel
7b6153fed8
Updated expected file for #495
2014-06-09 22:48:29 -04:00
Marius Kintel
832725d957
Merge branch 'master' into minkowski-speedup
2014-06-09 22:03:52 -04:00
Marius Kintel
aac577635a
Merge pull request #826 from tim-caper/winconsole.c
...
use MS Windows API for Unicode and/or stdout support
2014-06-09 22:00:32 -04:00
Oskar Linde
6b8118c3fe
Fix build on Travis
2014-06-09 01:28:14 +02:00
Oskar Linde
e8bdf04d48
Fix second half of #495 : Nef with holes get imported correctly (CGAL Bug)
2014-06-09 01:17:26 +02:00
Oskar Linde
8e16e2fecb
Fix half of #495 : Exported facets get correct orientation
2014-06-09 01:17:26 +02:00
Oskar Linde
331df90e4a
Make Nef -> OpenGL conversion aware of face orientations allowing (but not enabling) Nef renderer to mark in purple or cull backfaces
2014-06-09 01:17:26 +02:00
Oskar Linde
6df806c60c
Minkowski bugfix: Multi-convex shell polyhedra were incorrectly classified as convex
2014-06-08 15:24:24 +02:00
Marius Kintel
35222064c1
Adapt to using CONFIG+=c++11
2014-06-08 00:03:06 -04:00
Marius Kintel
7f782832d7
Merge remote-tracking branch 'origin/mac_libc++_build' into c++11
2014-06-07 23:45:31 -04:00
Oskar Linde
c5bc92d97c
Mac: Automate build with libc++ when not using OPENSCAD_LIBRARIES
...
Conflicts:
openscad.pro
2014-06-08 01:27:44 +02:00
Marius Kintel
db22a0191a
Merge pull request #827 from purcell/patch-1
...
[scad-mode] Improved package description
2014-06-07 17:54:01 -04:00
Marius Kintel
19cea6f3a8
Merge branch 'master' into c++11
2014-06-07 17:49:29 -04:00
Marius Kintel
2eb96a2a88
Build as c++11. On Mac, build as c++11 if as libc++-linked boost exists
2014-06-07 17:48:42 -04:00
Marius Kintel
7346c3136d
Use mt-version of boost for MacPorts and Homebrew
2014-06-07 17:46:29 -04:00
Torsten Paul
c6a4332025
Use Scintilla editor only with DEFINES+=USE_SCINTILLA_EDITOR.
2014-06-07 17:43:52 +02:00
shaina
9a712c0c26
scintilla editor working
2014-06-07 17:43:52 +02:00
shaina
950ffe9722
layout problem of editor is solved
2014-06-07 17:43:52 +02:00
Marius Kintel
22e884d08f
Quick and dirty fixup
2014-06-07 17:43:52 +02:00
shaina
59a71b7e6e
added scintilla editor classes
2014-06-07 17:43:52 +02:00
shaina
5a0df4e6d9
legacyeditor
2014-06-07 17:43:46 +02:00
Steve Purcell
36e007472b
[scad-mode] Improved package description
2014-06-07 13:32:47 +01:00
Oskar Linde
acd6cb1a4e
Bugfix: Work around Clipper's incorrect isHole status after offset()
2014-06-06 13:06:37 +02:00
Tim V. Shaporev
32e3daf767
use MS Windows API for Unicode and/or stdout support
2014-06-06 12:31:22 +04:00
Marius Kintel
2cf6dcacf2
Merge branch 'master' into c++11
2014-06-05 19:18:33 -04:00
Marius Kintel
d90945db6a
Merge branch 'winconsole2' of git://github.com/tim-caper/openscad into tim-caper-winconsole2
...
Conflicts:
src/openscad.cc
2014-06-05 15:38:59 -04:00
Marius Kintel
026efa317f
Merge pull request #823 from tim-caper/func.cc
...
fixup issue 767 & func.cc cleanup
2014-06-04 18:29:32 -04:00
Tim V. Shaporev
0b4e4ee946
fixup issue 767 & func.cc cleanup
...
1) fixed last cases of duplicate calls to getArgValue() in builtin_lookup() and instantiate();
2) make sin_degrees() & cos_degrees() separate functions to use in other parts of code;
3) cleaned most of gcc warnings in func.cc
2014-06-04 14:04:21 +04:00
Oskar Linde
c3da736f4d
Remove some c++11-syntax
2014-06-03 18:51:29 +02:00
Oskar Linde
4aa5ea04d8
Change minkowski 3d png test result from green -> yellow facets
2014-06-03 18:51:29 +02:00
Oskar Linde
cb2c5029c0
Faster minkowski()
2014-06-03 18:51:29 +02:00
Oskar Linde
8c977a45e5
Make sure convex objects remain convex as Nef polyhedrons
2014-06-03 18:51:29 +02:00
don bright
78803bfe10
builder.sh use master as default branch
2014-06-02 18:02:34 -07:00
don bright
1ee5f18794
change gettext detection (libintl is part of gnu libc not gettext?)
2014-06-02 17:38:24 -07:00
don bright
958345a0a5
change gettext detection (libintl is part of gnu libc not gettext). also
...
disable native java in gettext. disable redundant glib build.
2014-06-02 17:15:19 -07:00
don bright
19d3ba0d96
change gettext-tarball-existance test to use .gz not .xz, since the
...
download/unpack use gz (and gz is more portable than xz)
2014-06-02 16:14:13 -07:00
don bright
eb45f9bc36
more documentation of scripts. disable java for gettext. disable docs for fontconfig
2014-06-02 16:12:54 -07:00
Marius Kintel
1999898508
devicePixelRatio() was introduced in Qt-5.1.0
2014-05-31 15:52:08 -04:00
Marius Kintel
ca3ff7cf66
Related to #737 - allow for nbsp (0xc2a0) characters on the cmd-line
2014-05-29 18:22:32 -04:00
Marius Kintel
380af79b25
This was fixed during unstable refactoring. Fixes #585
2014-05-29 02:08:03 -04:00
Marius Kintel
1d5ff65e04
freetype and harfbuzz build fixes, updated gettext, ffi, glib, harfbuzz
2014-05-29 01:19:12 -04:00
Marius Kintel
c73dfa6e8e
Updated to Qt-5.3.0 and CGAL-4.4
2014-05-29 00:22:59 -04:00
Marius Kintel
ef1c92ca2f
#803 compile fix: Initializing static variables in a header file is a GNU extension
2014-05-28 22:53:32 -04:00
Marius Kintel
4ccda0f794
#784 bugfix: Missing conversion to radians
2014-05-28 22:52:21 -04:00
Marius Kintel
a633c9c650
#567 Exclude the last remaining test until improved GL drivers can be used on Travis VMs
2014-05-28 20:49:27 -04:00
Marius Kintel
22e46762f8
Catch File Exists on makedirs to better support parallel runs
2014-05-28 20:36:40 -04:00
Marius Kintel
ce24e2e29b
Initialize FaceInfo properly. Caused problems with some compilers, e.g. on Ubuntu 12.04
2014-05-26 17:35:37 -04:00
Marius Kintel
f4278926f8
Attempt to upgrade mesa to fix rendering bugs
2014-05-26 16:21:34 -04:00
Marius Kintel
f18becefec
Merge pull request #792 from openscad/list-comprehensions
...
List comprehensions && let() expression
2014-05-26 15:39:48 -04:00
Marius Kintel
a6cc43f1f6
#810 Quickfix to improve progress feedback on CSG ops
2014-05-26 00:27:20 -04:00
Marius Kintel
38c24fe006
Merge branch 'master' into list-comprehensions
2014-05-25 16:00:10 -04:00
Marius Kintel
0ae6ea9c8a
doc
2014-05-25 15:59:46 -04:00
Marius Kintel
89ade7c568
Attempt to fix some problems related to use of temporary objects after they've potentially been destructed
2014-05-25 00:50:19 -04:00
Marius Kintel
bba4f0e821
Merge pull request #809 from michthom/master
...
Update to OpenSCAD 2014.03
2014-05-24 22:30:21 -04:00
Michael Thomson
04e0de5fe9
Use BBLMPredefinedNameList to show parameters etc
2014-05-25 00:38:37 +01:00
Michael Thomson
686fe11fc2
Update to OpenSCAD 2014.03
...
Added many more keywords and included the CC Attribution license info.
2014-05-24 23:22:08 +01:00
Marius Kintel
88ab6d6038
Merge branch 'master' of https://github.com/openscad/openscad
2014-05-24 22:10:27 +02:00
Marius Kintel
6661f9de1c
Testing with fontconfig 2.8
2014-05-24 16:05:05 -04:00
Marius Kintel
90b815a4be
Added fontconfig to travis setup
2014-05-24 16:02:34 -04:00
Marius Kintel
778eac0e22
Update after adding ppa
2014-05-24 16:00:15 -04:00
Marius Kintel
e2950f6ea7
attempt to fix ppa conflict
2014-05-24 15:56:46 -04:00
Marius Kintel
6ef026bbad
Removed some obsolete packages
2014-05-24 15:54:12 -04:00
Marius Kintel
d4a221606f
Added harfbuzz PPA
2014-05-24 15:51:55 -04:00
Marius Kintel
e536e1ba19
Merge branch 'master' of https://github.com/openscad/openscad
2014-05-24 21:50:16 +02:00
Marius Kintel
8f85f2ded9
Merge branch 'master' of github.com:openscad/openscad
2014-05-24 15:49:52 -04:00
Marius Kintel
481d3754b3
Cleaned up library dependencies
2014-05-24 15:49:46 -04:00
Marius Kintel
447c260438
Ubuntu 12.04 build fixes
2014-05-24 21:41:04 +02:00
Marius Kintel
65edc63166
kill warning
2014-05-24 12:08:37 -04:00
Marius Kintel
944e898280
Merge pull request #808 from Lenbok/issue-438-cl-dependency
...
Remove dependency on cl from scad-mode
2014-05-24 11:49:52 -04:00
Marius Kintel
97149a8991
Merge pull request #807 from Lenbok/scad-mode-improvement
...
Improvements to the emacs scad-mode
2014-05-24 11:49:42 -04:00
Lenbok
eae4d6c7fa
Remove dependency on cl by substituting incf for setq, and fail-fast if there is a problem during indentation
2014-05-24 19:55:48 +12:00
Lenbok
206f2cacb1
Add use and include to syntax highlighting. Also prime dynamic keyword expansion
2014-05-24 19:24:59 +12:00
Marius Kintel
c9bbb3b9bf
Use shared_ptr instead of managing memory manually
2014-05-23 17:44:14 -04:00
Marius Kintel
147685d2c8
Merge pull request #797 from openscad/csg-import-tests
...
Csg import tests
2014-05-23 16:44:58 -04:00
Marius Kintel
357e0beccd
Merge branch 'master' into csg-import-tests
2014-05-23 16:36:07 -04:00
Marius Kintel
8ac0209db5
bugfix: FindGLIB2 didn't clean up properly. added new pkg-config utility functions which can be reused
2014-05-23 16:30:50 -04:00
OskarLinde
0fa0a84a22
Merge pull request #806 from OskarLinde/list-comprehensions-and-let
...
List comprehensions and let update
2014-05-23 19:27:41 +02:00
Marius Kintel
3c9d9a705a
Merge branch 'master' into csg-import-tests
2014-05-22 23:44:41 -04:00
Marius Kintel
db19afcf80
Updated include guards to #pragma once
2014-05-22 22:26:46 -04:00
Marius Kintel
6ed870b53a
Change order of dependency builds to avoid picking up the wrong dependency
2014-05-22 21:55:22 -04:00
Oskar Linde
694dad5a8b
Added testcases for let and list-comprehensions
2014-05-22 22:58:24 +02:00
Oskar Linde
dd4e229a46
let()-expression: disable reassignments
2014-05-22 22:24:26 +02:00
Oskar Linde
0a610baf5b
Refactor let and list comprehension expressions a little
...
to be more in line with the other expression evaluation refactoring to minimize stack space
2014-05-22 21:51:29 +02:00
Oskar Linde
c67ef30b75
Merge remote-tracking branch 'origin/list-comprehensions' into list-comprehensions-and-let
2014-05-22 21:37:49 +02:00
Oskar Linde
02cb1f0ca8
Speed up 3D convex hull() by a few orders of magnitude by using a more suitable kernel
2014-05-22 21:15:34 +02:00
Oskar Linde
35c2a5e5ca
Speed up 3D hull() slightly by avoiding converting the result to Nef
2014-05-22 20:09:54 +02:00
Marius Kintel
943e98ae80
Merge branch 'master' into text-module
2014-05-21 16:43:11 -04:00
Marius Kintel
2838795d63
#802 Added test, issue warning instead of crashing
2014-05-21 14:01:12 -04:00
Torsten Paul
c64360d372
Merge branch 'master' into text-module
...
Conflicts:
tests/CMakeLists.txt
2014-05-20 21:36:51 +02:00
Marius Kintel
e64734f8fd
bugfix: Empty import combined with real geometry caused an assert failure
2014-05-19 15:21:43 -04:00
Marius Kintel
55fb525da9
Merge branch 'master' of github.com:openscad/openscad
2014-05-19 11:49:44 -04:00
Marius Kintel
e4dd4da818
#791 Handle twist=0 as no twist
2014-05-19 11:49:41 -04:00
Marius Kintel
c601060f82
Put tests in correct test config
2014-05-18 23:20:26 -04:00
Marius Kintel
9b72d45199
Merge branch 'master' into csg-import-tests
2014-05-18 22:11:50 -04:00
Marius Kintel
ee3f52354a
Merge pull request #798 from openscad/win-installer-fix
...
Fix handling of examples folder (fixes #795 ).
2014-05-18 21:54:20 -04:00
Torsten Paul
34ebcb1a43
Fix handling of examples folder ( fixes #795 ).
2014-05-18 19:40:33 +02:00
Torsten Paul
ee0328df39
Disable inf/nan cases for *.csg import tests.
...
The inf/nan tests fail when exporting CSG and rendering that output again
as currently inf/nan is written directly to the CSG file (e.g. r = inf)
which is not valid or even misleading in case a variable inf exists.
2014-05-18 17:32:14 +02:00
Torsten Paul
84eada804b
Fix CSG output of offset().
2014-05-18 17:32:10 +02:00
Torsten Paul
f74228a029
Add script to test rendering of exported CSG files.
2014-05-18 17:18:41 +02:00
Marius Kintel
13d46e994e
Correction: It wasn't fixed in CGAL after all, it was fixed somewhere in our code
2014-05-17 18:48:35 -04:00
Marius Kintel
ba4d0b0e38
CGAL-4.4 fixed some issues
2014-05-17 18:42:23 -04:00
Marius Kintel
2b744f9512
#541 was fixed during unstable refactoring
2014-05-17 15:34:00 -04:00
Marius Kintel
dfec3b59fc
#593 was fixed by #608
2014-05-17 15:19:26 -04:00
Marius Kintel
b9f75759b7
Issue #582 was fixed sometime during the unstable branch refactoring
2014-05-17 15:11:35 -04:00
Marius Kintel
acab1dda1c
Mac fix: Only use NSLog when GUI launched
2014-05-17 14:28:22 -04:00
Marius Kintel
985d9a2f61
Updated pngs after merging unstable
2014-05-17 13:58:36 -04:00
Marius Kintel
f002fed152
bugfix: Don't try to export if a root geometry wasn't created
2014-05-17 13:04:45 -04:00
Marius Kintel
7a709b5e8b
Merge pull request #785 from OskarLinde/vector_min_max
...
Make min() and max() handle vector argument
2014-05-17 11:59:01 -04:00
Marius Kintel
6a0d70033d
Merge pull request #796 from OskarLinde/offset_bugfix
...
Offset bug with delta < 1
2014-05-17 11:57:50 -04:00
Marius Kintel
e931c8ab83
bugfix: Dumptest failed to dump the highlight modifier
2014-05-17 11:53:11 -04:00
Marius Kintel
76e152f300
Moved to the Heavy group
2014-05-17 11:52:42 -04:00
Oskar Linde
5058086837
Tests for min()/max()
2014-05-17 14:50:06 +02:00
Oskar Linde
dfa1748c81
Bugfix: Offset with rounded join_type calculated fragments incorrectly for delta < 1
2014-05-17 14:23:46 +02:00
Oskar Linde
a886d001ba
Offset bug regression test
2014-05-17 14:22:16 +02:00
Tim V. Shaporev
298680ff1b
attach to parent console and provide stdout/stderr for GUI app. under Windows
2014-05-17 09:02:44 +04:00
Marius Kintel
619d44800e
bugfix: Forgot to add csg as a known filetype
2014-05-15 16:32:25 -04:00
Marius Kintel
0e3b2d0f2f
Merge branch 'list-comprehensions' of git://github.com/OskarLinde/openscad into OskarLinde-list-comprehensions
2014-05-13 13:22:27 -04:00
Marius Kintel
e14df37c0e
Merge branch 'let-expression' of git://github.com/OskarLinde/openscad into OskarLinde-let-expression
2014-05-13 13:13:48 -04:00
Marius Kintel
44a86c2566
Merge branch 'lowlevel1' of git://github.com/tim-caper/openscad into tim-caper-lowlevel1
2014-05-13 00:59:55 -04:00
Marius Kintel
7952d24915
Merge branch 'master' into categorized_examples
...
Conflicts:
src/MainWindow.h
2014-05-13 00:50:25 -04:00
Marius Kintel
5da1861534
Merge pull request #787 from openscad/mdi+dockable-windows
...
Make editor and console windows dockable / make MDI mode a runtime option.
2014-05-13 00:43:46 -04:00
Torsten Paul
cb5904d685
Overwrite sizeHint() for the editor to handle missing window state information.
...
This triggers only in case the configuration file has no window state
information (or no configuration file at all).
When this happens, the editor would default to a very ugly width due to
the dock widget layout. This overwrites the value reported via sizeHint()
to a width a bit smaller than half the main window size (either the one
loaded from the configuration or the default value of 800).
The height is only a dummy value which will be essentially ignored by
the layouting as the editor is set to expand to fill the available space.
2014-05-12 22:47:47 +02:00
Torsten Paul
7f84eb0a23
Update window title in undocked mode when loading new files.
2014-05-12 22:47:47 +02:00
Torsten Paul
c976f0725b
Fix resizing constraints for the animation panel.
2014-05-12 22:47:47 +02:00
Torsten Paul
4fbbc09895
Make editor and console windows dockable and make MDI mode a runtime option.
2014-05-12 22:47:42 +02:00
Marius Kintel
9ac41c6b21
Merge branch 'checkwrite' of git://github.com/tim-caper/openscad into tim-caper-checkwrite
2014-05-12 16:27:55 -04:00
Marius Kintel
71f8e62a15
Merge branch 'close-empty-win-on-open' of git://github.com/OskarLinde/openscad into OskarLinde-close-empty-win-on-open
2014-05-12 16:22:44 -04:00
Marius Kintel
f560288ab1
Unset QMAKESPEC to avoid old Qt4 env to bleed over
2014-05-12 16:03:47 -04:00
Marius Kintel
1cb754603b
#786 Added tests
2014-05-12 15:15:06 -04:00
Marius Kintel
c4e81baf65
Merge branch 'search_crashfix' of git://github.com/OskarLinde/openscad into OskarLinde-search_crashfix
2014-05-12 13:42:42 -04:00
Marius Kintel
eb98e55477
Merge pull request #788 from OskarLinde/autoreload_undo_fix
...
auto-reload & compile with internal editor preserve undo status
2014-05-12 13:40:30 -04:00
Marius Kintel
758edd0ecc
Merge branch 'OskarLinde-proxy-icons'
2014-05-12 13:39:39 -04:00
Marius Kintel
5707bc6eaf
Merge branch 'proxy-icons' of git://github.com/OskarLinde/openscad into OskarLinde-proxy-icons
2014-05-12 13:34:21 -04:00
Marius Kintel
ca765dd688
#252 Downgrade to Qt-5.2.0 for Mac
2014-05-12 13:32:50 -04:00
Marius Kintel
5e8996918a
Merge pull request #780 from OskarLinde/discard-shortcut
...
Add Mac standard Cmd-D shortcut for the 'Don't Save' button
2014-05-12 13:31:14 -04:00
Oskar Linde
5648573d24
Preserves undo status if using the internal editor together with 'autoreload and compile'
2014-05-10 22:41:46 +02:00
Oskar Linde
27e889d818
search(): fix crash bug and add additional feature
...
search(4,[1,2,3]) crashed OpenSCAD. Instead of crashing, one can now search vectors for matching elements.
In addition, search([[1,2]],[[0,1],[1,2],[2,3]]) will work and return [1].
2014-05-10 20:54:09 +02:00
Oskar Linde
bef0efb18e
Fix crash in cgalpngtest_assign-tests
2014-05-10 20:54:09 +02:00
Oskar Linde
afd8d4025b
Make min() and max() handle vector argument
...
This patch adds the ability for max() and min() to take one single vector as argument. The max (or min) element of that vector is returned if the vector contains at least one element.
2014-05-10 19:40:15 +02:00
Oskar Linde
9ccde53749
Add Mac standard Cmd-D shortcut for the 'Don't Save' button
2014-05-10 19:27:17 +02:00
Marius Kintel
6ec9934365
bugfix: missing slash in download link
2014-05-06 01:10:27 -04:00
Torsten Paul
6e04d33898
Update test cases.
2014-05-04 00:26:02 +02:00
Torsten Paul
d4afb53fee
Change diff output to use unified diff format to make it easier to read.
2014-05-04 00:13:00 +02:00
Torsten Paul
6a3a88e3b5
Output the OpenSCAD version number to console window.
2014-05-03 23:16:31 +02:00
Torsten Paul
533e7c1035
Fix DXF file name.
2014-05-03 23:16:30 +02:00
Torsten Paul
d8ab4715e8
Don't use deprecated file parameter.
2014-05-03 23:16:30 +02:00
Torsten Paul
e182b41c88
Fix name for STL file.
2014-05-03 23:16:30 +02:00
Torsten Paul
d4b7f85b6a
Update to use new faces parameter.
2014-05-03 23:16:30 +02:00
Torsten Paul
fc90a385a7
Add missing DXF file for flat_body.scad (was example009.dxf).
2014-05-03 23:16:30 +02:00
Torsten Paul
89570cb6fe
Move offset example into new directory structure.
2014-05-03 23:16:11 +02:00
shaina7837
2b14befb6f
examples showed in separate method
2014-05-03 21:15:05 +02:00
shaina7837
de7cea8a17
example file change
2014-05-03 21:15:03 +02:00
shaina7837
b1976cf3ff
categorized_examples
2014-05-03 21:14:57 +02:00
Oskar Linde
75e66a531b
Mac: Give document windows proper proxy icons
2014-05-03 19:15:36 +02:00
Oskar Linde
180bd906b7
Avoid leaving the first empty document window when opening a file in MDI mode
2014-05-03 18:20:37 +02:00
Tim V. Shaporev
76389d83cc
fixup issue 766
2014-05-03 19:44:22 +04:00
Oskar Linde
b611ed5eac
Add list-comprehensions
2014-05-03 17:24:44 +02:00
Oskar Linde
ed3041c551
Add a let() expression
2014-05-03 11:19:30 +02:00
Tim V. Shaporev
ebb075315f
low-level optimization to reduce stack usage & accelerate calculations
2014-05-02 10:03:46 +04:00
Ben Gamari
b984297e28
GeometryEvaluator: Fix signed-ness warnings
2014-04-28 13:37:43 -04:00
Ben Gamari
3d21e84b44
clipper-utils: Fix signed-ness warning
2014-04-28 13:37:43 -04:00
Ben Gamari
b5337ad338
Various whitespace fixes
2014-04-28 13:37:43 -04:00
Ben Gamari
ff466c2189
Switch from #define guards to #pragma once
...
As well as a few whitespace cleanups
2014-04-28 13:32:19 -04:00
Marius Kintel
065789e0d7
Sync two remaining test cases after merging unstable. Fixes #758
2014-04-27 23:21:20 -04:00
Marius Kintel
63f0ac2c8c
Updated Mac setenv script
2014-04-27 02:39:16 -04:00
Marius Kintel
0e2e8d9f94
Merge pull request #769 from tim-caper/builtin2
...
exact sin/cos and eliminated duplicate args computations
2014-04-27 02:37:32 -04:00
Marius Kintel
11ef366601
Make Mac dependencies work on 10.7+. This causes some weird artifacts. See #633
2014-04-27 01:02:18 -04:00
Don Bright
9be9d1513d
build linux snapshot with QT5 by default
2014-04-26 23:48:18 -05:00
Don Bright
319737daff
Merge branch 'master' of github.com:openscad/openscad
2014-04-26 23:33:30 -05:00
Don Bright
2f4617ddef
remove #ifdefs for eigen version 2 ( see issue #532 )
2014-04-26 23:14:24 -05:00
Don Bright
f80865c950
qt 5.0->5.2
2014-04-26 23:05:38 -05:00
Don Bright
464e3fc76d
change max qt version in README to support qt5
2014-04-26 23:05:00 -05:00
Marius Kintel
146f977422
Merge pull request #770 from openscad/copy-paste-fix
...
Fix keyboard shortcuts in automatically generated actions (fixes #408 ).
2014-04-26 23:58:12 -04:00
Don Bright
eda854d54c
default to qt5 for MXE cross build for Win
2014-04-26 22:56:51 -05:00
Don Bright
d32956a942
remove /opt/qt5 hack in setenv script. (distros have their own way to specify)
2014-04-26 22:46:08 -05:00
Marius Kintel
f9b3d357ff
build fix after merging text and the new master
2014-04-26 22:09:15 -04:00
Marius Kintel
2cba2a1b55
Merge branch 'master' into text-module
...
Conflicts:
scripts/macosx-build-homebrew.sh
scripts/mingw-x-build-dependencies.sh
scripts/uni-build-dependencies.sh
scripts/uni-get-dependencies.sh
src/GeometryEvaluator.h
src/MainWindow.ui
src/clipper-utils.h
src/mainwin.cc
tests/CMakeLists.txt
2014-04-26 22:08:31 -04:00
Torsten Paul
7a05fb40d8
Fix keyboard shortcuts in automatically generated actions ( fixes #408 ).
...
Having our own "copy" menu did cause the automatically generated action
of the QTextEditor used as console to drop the CTRL+C link. Using the
WidgetWithChildrenShortcut settings seems to fix that for Qt4 and Qt5.
2014-04-26 23:04:09 +02:00
Tim V. Shaporev
02137273ff
exact sin/cos and eliminated duplicate args computations:
...
1) eliminated duplicate arguments computations for most of builtin functions (except serach & lookup);
2) provide exact results of sin or cos whenever possible like cos(90)
2014-04-25 10:46:45 +04:00
Marius Kintel
32425c6963
Merge branch 'unstable' into text-module
2014-04-25 02:35:24 -04:00
Marius Kintel
b2b3306205
Merge branch 'master' into c++11
2014-04-25 02:29:40 -04:00
Marius Kintel
05e1dd7df4
#252 Use Qt5 as default for Mac snapshots
2014-04-25 02:00:06 -04:00
Marius Kintel
a9f9fb342a
#252 Make filename drops on the editor open the file
2014-04-25 00:54:22 -04:00
Marius Kintel
f862e9bd87
Merge branch 'master' of github.com:openscad/openscad
2014-04-24 22:47:19 -04:00
Marius Kintel
7a5035f14e
bugfix: use 470 to read qmake variable
2014-04-24 22:46:36 -04:00
Marius Kintel
75dc6b16d1
Use a power of two as scaling factor to be nice to the computer
2014-04-24 01:07:48 -04:00
Marius Kintel
9613e992da
Suppress unused local typedef warning for gcc. Fixes #757
2014-04-24 00:01:42 -04:00
Marius Kintel
863303f601
Improved cleanup of aborted normalization. This should fix #762
2014-04-23 23:59:27 -04:00
Marius Kintel
b9f8c6b77d
Strip color profile from expected images. Makes test work with newer versions of libpng
2014-04-23 02:44:39 -04:00
Don Bright
b5974b5da0
NetBSD build fixes
2014-04-22 17:00:38 +00:00
Marius Kintel
90b394015b
Merge remote-tracking branch 'origin/master' into unstable
...
Conflicts:
src/MainWindow.ui
src/mainwin.cc
2014-04-22 01:13:20 -04:00
Marius Kintel
91074eba48
Merge pull request #752 from qSLX/master
...
Preventing losing keyboard focus by editor.
2014-04-22 01:03:21 -04:00
Marius Kintel
23ac323c88
Strip color profile from expected images. Makes test work with newer versions of libpng
2014-04-21 23:23:25 -04:00
Marius Kintel
0a851b0892
Merge remote-tracking branch 'origin/master' into unstable
2014-04-21 22:34:36 -04:00
Marius Kintel
e9981048fa
Require minimum Mac OS X 10.7
2014-04-21 12:44:26 -04:00
Marius Kintel
f32a7bbb91
Merge pull request #760 from openscad/slow-min-max-fix
...
Evaluate arguments only once in min/max builtins (fixes #738 ).
2014-04-15 16:42:53 -04:00
Torsten Paul
d2240efca8
Evaluate arguments only once in min/max builtins ( fixes #738 ).
2014-04-15 22:36:02 +02:00
Marius Kintel
296d2824d5
Merge pull request #745 from openscad/contextfixme
...
fix issue #694
2014-04-12 22:32:43 -04:00
Don Bright
355aac26e3
fix datecode bug
2014-04-11 08:37:28 -05:00
Sławomir Demeszko
ff555d760b
Preventing loosing keyboard focus by editor.
...
When you write your code in editor sometimes you want to rotate or move object
on 3D view, but due stealing focus by this widget it is quite tedious.
You need additional mouse click to return focus to editor and search line where
you last edited. This behavior is not neccessary as we can interpret keyboard
events globally (in MainWindow) and send commands to 3D view.
Console window need ClickFocus to show context menu.
Zoom In/Out 3D view is assigned to CTRL+[ and CTRL+]. Adding also additional
shortcut to zoom in editor font CTRL+= (with CTRL++ SHIFT is necessary).
2014-04-11 01:18:08 +02:00
Don Bright
9535627657
update documentation and add assertion check for Stack to destructor
2014-04-10 17:29:31 -05:00
Don Bright
0a20e32dc5
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-04-10 00:28:26 -05:00
Marius Kintel
e30a40f432
minor cleanup of stack handling
2014-04-10 01:23:01 -04:00
Don Bright
f0f2a68899
fix issue #751
2014-04-10 00:21:24 -05:00
Marius Kintel
2a16aa1a4f
Merge branch 'unstable' into contextfixme
2014-04-10 00:07:36 -04:00
Marius Kintel
0e69decc0e
Merge pull request #747 from OskarLinde/nan_fix
...
NaN comparisons were inconsistent
2014-04-09 23:49:26 -04:00
Marius Kintel
8d6fb11f32
Merge pull request #750 from openscad/non-manifold-export-crash
...
Prevent crash in OFF/AMF export caused by non-manifold models (fixes #748 ).
2014-04-09 23:48:41 -04:00
Don Bright
a85e103ba2
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-04-09 20:16:04 -05:00
Torsten Paul
7fcfe6bb8d
Prevent crash in OFF/AMF export caused by non-manifold models ( fixes #748 ).
2014-04-09 21:51:07 +02:00
Oskar Linde
f81ae9b4fd
Fix NaN comparison bug
2014-04-08 15:36:12 +02:00
Oskar Linde
90e8f70da2
Add regression tests for comparison with NaN
2014-04-08 15:36:12 +02:00
Don Bright
ea4a10c027
fix bugs in date code setting. fix bug with crlf conversion
2014-04-07 16:36:31 -05:00
Don Bright
1d9fa45715
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-04-05 15:04:09 -05:00
Don Bright
4ff4744d8d
find imagemagick using windows registry
2014-04-05 15:04:00 -05:00
Don Bright
0d950338e1
fix issue #694
2014-04-04 23:40:23 -05:00
Don Bright
b25f744b25
bugfix - cd out of website path before rebuilding on loop
2014-04-04 20:10:08 -05:00
Don Bright
57668f0e03
fix: \" was being replaced with /" ,messing up tests pretty print
2014-04-03 22:38:08 -05:00
Don Bright
f1f7b1a665
fix bash bug when using awk to convert lf to crlf
2014-04-03 17:08:28 -05:00
Don Bright
1ecf715476
add mime-type under linux during make install ( issue #696 )
2014-04-02 18:16:31 -05:00
Don Bright
e8cb468999
test for issue #703 (polyhedron w undef arguments)
2014-04-02 17:45:25 -05:00
Don Bright
49d545285c
test for crash on 'undef' args to polyhedron(), issue #703
2014-04-02 17:42:49 -05:00
Don Bright
5bb2ab0c76
fixes issue #701 (Handle Debian KFreeBSD)
2014-04-02 17:36:10 -05:00
Don Bright
70dbe2eef7
fix issue #702 (rm test_cmdline_tool executable bit)
2014-04-02 17:12:23 -05:00
Don Bright
58017aeb08
put 'tests' in name of OpenSCAD Tests on Windows. clean up some bad scripting
2014-04-02 03:10:26 -05:00
Don Bright
f3cd66a416
fix broken build, move export_amf inside ENABLE_CGAL #ifdef
2014-04-02 01:51:10 -05:00
Don Bright
61483f53e2
more CTEST_CUSTOM_POST_TEST fixes
2014-04-02 01:45:32 -05:00
Don Bright
d0b5e193b8
deal with ctest CTEST_CUSTOM_POST_TEST argument bugs
2014-04-02 01:44:17 -05:00
Don Bright
5b1cb69f59
better finding of logfile on windows. fix bug in test report gen. make
...
it clear test_pretty_print.exe wont work on cross builds
2014-04-02 01:29:38 -05:00
Don Bright
24e029c76f
convert text files from lf to crlf for windows test build
2014-04-02 01:14:35 -05:00
Don Bright
214870062b
add WinReadme.txt to Windows(TM) test suite package to prevent confusion
2014-04-01 21:52:09 -05:00
Marius Kintel
ff55dc026e
Merge pull request #731 from openscad/amf-export
...
Amf export
2014-04-01 23:37:11 +02:00
Marius Kintel
53aaa044d7
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-04-01 23:14:43 +02:00
Marius Kintel
cba064e739
Upload to www/snapshots
2014-04-01 23:14:39 +02:00
Marius Kintel
a0760b7266
Merge pull request #736 from openscad/fix-menu-order
...
Switch menu order back to File, Edit, Design, View, Help (fixes #733 ).
2014-04-01 22:57:16 +02:00
Torsten Paul
e04ab86803
Switch menu order back to File, Edit, Design, View, Help ( fixes #733 ).
2014-04-01 19:26:32 +02:00
Don Bright
1931cdacde
fix too-slow upload rate limit
2014-03-31 22:14:48 -05:00
Don Bright
b7f7487727
dont build GUI twice!!!!
2014-03-31 20:27:51 -05:00
Don Bright
1ffda82db0
fix batch file display for filenames with spaces in them
2014-03-31 19:58:01 -05:00
Don Bright
6ce1809828
upload to www/snapshots/ directory
2014-03-31 19:46:42 -05:00
Don Bright
10c1c7954c
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-03-30 21:06:14 -05:00
Don Bright
36d8f895b4
fix the documentation (merge errors)
2014-03-30 21:05:49 -05:00
Don Bright
34358c8725
properly remove old github.openscad.com code before update
2014-03-30 18:48:25 -05:00
Torsten Paul
e240220c11
Add test case reference files for offset() example025.scad.
2014-03-31 00:23:11 +02:00
Marius Kintel
cf81703751
Merge branch 'unstable' into offset
2014-03-31 00:04:58 +02:00
Marius Kintel
b1f0fb55cd
Updated tests after surface(invert) change
2014-03-31 00:04:49 +02:00
Marius Kintel
cfccc6ac83
Merge branch 'unstable' into offset
2014-03-30 23:55:18 +02:00
Torsten Paul
71f6abda24
Rename join_type "square" to the more commonly used "bevel".
2014-03-30 23:51:08 +02:00
Torsten Paul
5d8507f725
Add test cases for offset().
2014-03-30 23:51:04 +02:00
Marius Kintel
f72e4047d2
bugfix: Make OffsetNode behave as AbstractPolyNode if a visitor doesn't handle it
2014-03-30 23:41:41 +02:00
Torsten Paul
49dc984bef
Add offset() module to inset/outset polygons using Clipper ( fixes #483 ).
2014-03-30 23:41:37 +02:00
Marius Kintel
14aeaba3b7
Merge branch 'tim-caper-consoleprocevents' into unstable
2014-03-30 23:37:54 +02:00
Marius Kintel
12bfcd30d4
Merge branch 'consoleprocevents' of git://github.com/tim-caper/openscad into tim-caper-consoleprocevents
2014-03-30 23:37:42 +02:00
Marius Kintel
66b752f95a
Merge branch 'master' into unstable
...
Conflicts:
README.md
scripts/uni-build-dependencies.sh
scripts/uni-get-dependencies.sh
2014-03-30 23:32:48 +02:00
Don Bright
ae307df8f3
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-03-30 16:25:45 -05:00
Don Bright
4e9275f6f0
add test suite to windows(TM) build
2014-03-30 16:24:20 -05:00
Torsten Paul
9f76288c74
Add AMF export via command line.
2014-03-30 22:59:18 +02:00
Mark Cooper
cdab3e9ab8
Add AMF export.
2014-03-30 22:59:18 +02:00
Marius Kintel
7809a9e916
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-03-30 22:55:36 +02:00
Marius Kintel
98957526c8
Merge branch 'unstable' into svg-export
2014-03-30 22:53:31 +02:00
Don Bright
5bd8cf540d
better search for ctest.exe, better running of batch file message
2014-03-30 15:48:59 -05:00
Don Bright
ebfdec303a
better finding of MCAD under windows(TM) test run. better pretty-print if
...
all tests passed
2014-03-30 15:36:31 -05:00
Don Bright
2b1ab8e1ed
better indicate in report if all tests pass. add 'doc' to test bundle.
2014-03-30 14:57:30 -05:00
Don Bright
8fb483c0ea
make mingwcon.bat work better. improve git error message for test print.
2014-03-30 14:43:22 -05:00
Don Bright
c3a3710cb4
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-03-30 13:07:42 -05:00
Don Bright
753bb285f5
mingw/win(TM) run: find ctest.exe and add to path
2014-03-30 13:01:39 -05:00
Marius Kintel
37eb4d91eb
Merge pull request #730 from openscad/memory-leak-fix
...
Memory leak fix
2014-03-30 19:58:07 +02:00
Don Bright
97ebae9f78
polish up so its easier to run under Windows(TM)
2014-03-30 12:23:58 -05:00
Torsten Paul
5667ae14d4
Delete ThrownTogetherRenderer and CSG Root Chain.
2014-03-30 19:16:50 +02:00
Torsten Paul
d8a1b5f7eb
Convert Assignment to use shared pointers for Expressions ( fixes #709 ).
2014-03-30 19:16:50 +02:00
Torsten Paul
d253d66000
Fix memory leak in sphere rendering.
2014-03-30 19:16:45 +02:00
Marius Kintel
0e9d06669e
Merge pull request #708 from openscad/zoompeace
...
Zoompeace
2014-03-30 19:09:27 +02:00
Torsten Paul
2a59fa7bfb
Fix memory leak in lexer for $var assignments.
2014-03-30 19:04:49 +02:00
Marius Kintel
278d5f18e3
Merge pull request #729 from openscad/surface-image
...
Add png support for surface() module (fixes #721 ).
2014-03-30 18:47:30 +02:00
Marius Kintel
0507d3864f
Merge branch 'unstable' of github.com:openscad/openscad into unstable
...
Conflicts:
README.md
scripts/builder.sh
2014-03-30 18:30:02 +02:00
Torsten Paul
6d892a4742
Add png support for surface() module ( fixes #721 ).
2014-03-29 23:22:27 +01:00
Don Bright
90c549ad0a
fix the use of imagemagick convert during cross-built tests.
2014-03-29 13:14:41 -05:00
Tim V. Shaporev
4f0fd23810
process events in consoleOutput() to allow error message display right away
2014-03-29 13:43:28 +04:00
Tim V. Shaporev
80f8b850be
add quotes to line 80 to prevent diagnostics
2014-03-29 11:37:34 +04:00
Don Bright
93eb89c00b
dont show a screen full of 'no such file' errors on failed tests
2014-03-28 23:01:36 -05:00
Don Bright
53a0f9c4cf
MXE cross build of tests: polish the scripts, introduce conversion script
...
for CTest
2014-03-28 22:55:37 -05:00
Don Bright
80b226bbe4
add Tests build for mxe/mingw to release-common. make GLIB2 better for crossbuild
2014-03-28 16:23:23 -05:00
Don Bright
563583ef4b
first stage of moving towards cross-build of test suite for mingw
2014-03-28 16:02:45 -05:00
Don Bright
590711aa26
fix build problem under qt5
2014-03-28 14:01:14 -05:00
Don Bright
265c3abcae
fix compiler warning
2014-03-28 12:50:44 -05:00
Don Bright
37b0ad1ec9
enable qt5 mxe mingw cross build
2014-03-28 12:36:14 -05:00
Don Bright
e6a33b3b2b
build qt5 in addition to qt4 under MXE cross build
2014-03-28 12:30:45 -05:00
Don Bright
0d9b20dc14
Merge branch 'unstable' of github.com:openscad/openscad into unstable
...
Conflicts:
scripts/builder.sh
2014-03-27 18:30:09 -05:00
Don Bright
41c7e72ca8
no longer suggest the 'time saver' cgal/opencsg dep build, to avoid confusion
...
with outdated cgal versions on systems.
2014-03-27 18:28:40 -05:00
Don Bright
49d32100df
fix eigen3 find bug
2014-03-27 18:23:07 -05:00
Don Bright
45ef0c9a6e
remove eigen2 checks per patch from @fcbsd to master branch
2014-03-27 18:18:38 -05:00
Don Bright
819c74d8ab
rate limit scp upload
2014-03-27 18:16:41 -05:00
Don Bright
a040be29e6
loop - improve sleep code
2014-03-27 18:14:06 -05:00
Don Bright
f80fc6c78b
fix loop bug
2014-03-25 22:10:04 -05:00
Don Bright
74b0cb5127
enable looping
2014-03-25 22:01:31 -05:00
Don Bright
46c0a8520d
exit if missing nsis. do git fetch/git pull if openscad already checked out.
2014-03-25 16:49:38 -05:00
Don Bright
fc665d0b3a
check for nsis at beginning of builder.sh not in the middle
2014-03-24 22:14:26 -05:00
Don Bright
d23a4664b1
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-03-23 21:54:06 -05:00
Don Bright
c950358b86
better ssh auth sock handling
2014-03-23 21:53:38 -05:00
don bright
7a871202f3
better printing of glib2 include dirs
2014-03-24 03:28:34 +01:00
Don Bright
3e22f8aa4d
debug message
2014-03-23 21:22:45 -05:00
don bright
424dc86cc6
better glib detection (again)
2014-03-24 03:20:28 +01:00
Don Bright
fc78dedfe8
debugging output
2014-03-23 21:14:28 -05:00
Don Bright
6b1079b7b7
better glib2 detection
2014-03-23 21:12:01 -05:00
Don Bright
1473cf41ac
fix cmake version detection
2014-03-23 20:28:26 -05:00
Don Bright
d3d1fc72da
Merge branch 'unstable' of github.com:openscad/openscad into unstable
...
Conflicts:
scripts/uni-build-dependencies.sh
2014-03-23 20:26:59 -05:00
don bright
8176b4ce27
fix build on gcc 4.5 (typedef typename is c++0x)
2014-03-24 02:00:42 +01:00
don bright
03d62f8242
fix build gcc 4.5 (CGAL ENABLE during DEBUG of Geometry Cache)
2014-03-24 01:46:02 +01:00
don bright
de0201ad93
undo nef poly 'fix', wasnt a fix
2014-03-24 01:41:53 +01:00
don bright
36eb6758b0
tweak pkg-config detection. also fix weird gcc4.5 problem w NefPoly
2014-03-24 01:33:52 +01:00
don bright
3d35e5ec74
make glib2 work on debian 6 (build libffi, build pkg-config)
2014-03-24 01:17:43 +01:00
don bright
237dee86fb
fix build by requiring newer cmake for string(FIND function) in tests/ build
2014-03-24 00:27:09 +01:00
Don Bright
3bdd28ec2b
fix broken mxe dependency build
2014-03-23 13:13:40 -05:00
Torsten Paul
fcf7b27257
Merge pull request #712 from openscad/number-fix
...
Catch exceptions caused by parsing invalid double values (fixes #706 ).
2014-03-23 00:00:50 +01:00
Torsten Paul
7922c3dbc9
Catch exceptions caused by parsing invalid double values ( fixes #706 ).
2014-03-22 23:46:34 +01:00
Don Bright
6d7db87b8e
checkout stable branch of MXE in mingw-x-build-deps (match builder.sh)
2014-03-22 01:39:23 -05:00
Don Bright
87d553d134
.static not in stable branch of mxe yet, revert prev. commit
2014-03-22 01:36:09 -05:00
Don Bright
6fdd4e2041
do not build glib2 or gettext by default, assume most systems will have
2014-03-21 23:46:30 -05:00
Don Bright
6cb5f11f2e
fix glib2 build for mingw. update mxe target to '.static'
2014-03-21 23:45:29 -05:00
Don Bright
e32a3ff053
remove pythong paramiko from deps list
2014-03-21 22:56:18 -05:00
Don Bright
d9220a25b3
dont always build glib2 in uni-build-deps, fix mingw issues + build on systems
...
that already have glib2
2014-03-19 20:49:15 -05:00
Don Bright
0d8c9359b5
fix build errors
2014-03-18 18:59:47 -05:00
Don Bright
3022a83148
disable ctrl-mouse-wheel zoom on Mac by default. add preference to toggle
2014-03-18 18:52:15 -05:00
Don Bright
33c81d96c9
fix issue #705 by using MXE's mingw-*-pkgconfig instead of system
2014-03-18 00:47:54 -05:00
Marius Kintel
d2eecc4e06
access method for parent context
2014-03-16 00:10:45 -03:00
Don Bright
0dd7daf68d
do not suggest the 'time saver' of only opencsg or cgal build, too confusing
2014-03-14 23:54:27 +02:00
Don Bright
8955a66153
do not build gettext or glib2 by default. fix glib2.pri to find system version.
...
fix spaces.
2014-03-14 22:19:45 +02:00
Marius Kintel
19de4c9d15
Merge branch 'master' into unstable
2014-03-10 10:42:53 -04:00
Torsten Paul
b8dd47eae4
Merge pull request #698 from hroncok/patch-1
...
Make the desktop file valid
2014-03-10 09:47:07 +01:00
Miro Hrončok
3ac2b95c0a
Make the desktop file valid
2014-03-10 09:45:05 +01:00
Marius Kintel
d6340b18db
Merge branch 'master' into c++11
2014-03-03 21:04:27 -05:00
Marius Kintel
ab6192e465
Merge branch 'master' into unstable
...
Conflicts:
src/openscad.cc
src/printutils.h
2014-03-02 22:41:05 -05:00
Torsten Paul
f6129ffdb8
Add SVG export via command line.
2014-03-02 19:26:21 +01:00
Torsten Paul
f84c5acada
Add SVG export.
2014-03-02 19:26:17 +01:00
Marius Kintel
e1623ab3e0
Merge branch 'master' into unstable
2014-02-23 15:49:50 -05:00
Marius Kintel
bab951b344
Merge branch 'master' into unstable
...
Conflicts:
src/CGALEvaluator.cc
src/MainWindow.h
src/MainWindow.ui
src/import.cc
src/mainwin.cc
src/winconsole.c
tests/CMakeLists.txt
2014-02-23 15:49:26 -05:00
Marius Kintel
fd1ae57c16
Merge branch 'f_enable_cpp11' of git://github.com/8p0/openscad into 8p0-f_enable_cpp11
2014-02-22 11:30:02 -05:00
Jan Huwald
086f231d5a
fix typo
2014-02-21 12:21:38 +01:00
Jan Huwald
c259e5275c
compile with -std=c++0x to support older C++11 compilers
2014-02-21 09:22:39 +01:00
Jan Huwald
ec3743dc9a
compile as C++11
2014-02-13 12:00:12 +01:00
Marius Kintel
3787049f5a
Merge pull request #638 from OskarLinde/hull_speedup
...
Speed up 3d convex hull()
2014-02-05 23:54:13 -05:00
Marius Kintel
92017ded7a
Merge pull request #637 from OskarLinde/projection_bug
...
Projection bug
2014-02-05 23:42:31 -05:00
Marius Kintel
daf5a169dc
Refactored Nef_nary_union optimization
2014-02-05 23:27:04 -05:00
Marius Kintel
ca510bdb1a
Merge branch 'unstable' into OskarLinde-nary_union_speedup
2014-02-05 19:39:38 -05:00
Oskar Linde
2e6196761a
Performance: Speed up CGAL n-ary union
...
By utilizing CGAL::Nef_nary_union_3, n-ary union of many objects becomes significantly
faster (more than twice as fast in a test of 20 objects).
A further optimization potential lies in sorting the unioned objects based on proximity.
2014-02-05 17:31:35 +01:00
Oskar Linde
b7d9abd4f7
Speed up 3d convex hull()
...
Speed up hull() significantly by removing duplicate points prior to calling CGAL::convex_hull_3.
Most computation now lies in converting the resulting CGAL::Polyhedron -> CGAL::Nef_polyhedron_3.
Also, enables convex hulls to be computed on non-manifold geometry.
2014-02-05 14:23:24 +01:00
Oskar Linde
4a0896d349
Bugfix: projection(cut=true) generated polygon holes with incorrect winding order
2014-02-05 14:08:22 +01:00
Oskar Linde
013d2722da
Test: verify winding order of holes with projection(cut=true)
2014-02-05 14:08:22 +01:00
Marius Kintel
34333941d3
Merge branch 'master' into unstable
2014-02-05 01:08:44 -05:00
Marius Kintel
cf1fa4b57b
Moved % modifier handling from node to nodedumper. This makes nodes with % operators use the existing cache instead of recalculating the object
2014-02-04 23:49:10 -05:00
Marius Kintel
8cece20ced
minor: No need to evaluate csg terms of null geometry
2014-02-04 23:47:39 -05:00
Torsten Paul
6c84515275
Add positional parameters for text().
...
Positional parameters are t, size, font.
Example: text("OpenSCAD", 30, "Liberation Mono");
2014-02-04 19:10:16 +01:00
Marius Kintel
17dc062904
csgtermtest output has changed after refactoring
2014-02-03 23:33:14 -05:00
Marius Kintel
360622109a
We changed how we interpret intersections in dxf. This is a marginal use-case, so we dropped backwards compatibility
2014-02-03 23:10:29 -05:00
Marius Kintel
528ef22104
Merge branch 'master' into unstable
...
Conflicts:
src/openscad.cc
2014-02-03 22:55:58 -05:00
Marius Kintel
a6b3b21c3a
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-02-03 21:10:52 -05:00
Marius Kintel
5e45feafca
Merge pull request #635 from OskarLinde/skip_validity_check
...
Remove automatic validity check at end of render
2014-02-03 18:10:41 -08:00
Marius Kintel
256a52d9c6
Added libs needed for text() module. Added support for MACOSX_DEPLOYMENT_TARGET
2014-02-03 20:18:50 -05:00
Marius Kintel
b92e5aac92
Validate deployment target
2014-02-03 20:18:06 -05:00
Oskar Linde
1c64a95020
Remove automatic validity check at end of render
...
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".
2014-02-03 15:23:22 +01:00
Marius Kintel
85fae69ca6
Pass --enable=text to text tests
2014-02-02 19:49:45 -05:00
Marius Kintel
3f42b8c6cb
adapted text-module branch to refactored branch
...
Conflicts:
src/GeometryEvaluator.cc
src/GeometryEvaluator.h
src/clipper-utils.h
tests/CMakeLists.txt
2014-02-02 18:41:59 -05:00
Torsten Paul
b5b0fe2674
Add text() module to the experimental feature list.
2014-02-02 18:01:09 -05:00
Torsten Paul
5dc7fd2a2b
Add fonts to MacOS installer.
2014-02-02 18:01:09 -05:00
Torsten Paul
9c484f2091
Add libffi to MacOS build.
2014-02-02 18:01:09 -05:00
Torsten Paul
1fab3524f2
Fix crash due to not initialized dialog.
2014-02-02 18:01:09 -05:00
Torsten Paul
63fa26301f
Use librarypath to find additional font directories.
2014-02-02 18:01:09 -05:00
Torsten Paul
395a87047b
Add fonts to release build and Windows installer.
2014-02-02 18:01:09 -05:00
Torsten Paul
a00d4787ab
Fix compilation in MinGW environment.
2014-02-02 18:01:09 -05:00
Torsten Paul
6c9d11248a
Add gtk-doc-tools providing gtkdocize (needed for building harfbuzz).
2014-02-02 18:01:09 -05:00
Torsten Paul
284a93972a
Add dialog to show all registered fonts.
2014-02-02 18:01:08 -05:00
Torsten Paul
b5755b6aa0
Add libxml2 to MacOS X build.
2014-02-02 18:01:08 -05:00
Torsten Paul
c6d0ad9bf5
Add libxml2 to dependency build script and configure fontconfig to use it.
2014-02-02 18:01:08 -05:00
Torsten Paul
22e91235d4
Show a warning message in case some compile variables are set.
...
Currently warning is shown for:
- CFLAGS
- CXXFLAGS
- LDFLAGS
2014-02-02 18:01:08 -05:00
Torsten Paul
0b6da3dc1e
Change sed calls to work on both MacOS X and Linux.
...
The syntax for the -i parameter is not compatible, so just write the
modified file temporarily and move it in place after the sed call.
2014-02-02 18:01:08 -05:00
Torsten Paul
1c2cb2dde9
Move main text test cases to the heavy set and introduce a simple test.
2014-02-02 18:01:08 -05:00
Torsten Paul
dc16918beb
Force pkg-config to look in the local library folder.
...
Setting both PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR should
force pkg-config to ignore system installed libraries. We
only want it to find locally compiled dependencies if the
variable OPENSCAD_LIBRARIES is set.
2014-02-02 18:00:45 -05:00
Torsten Paul
39a2136e3d
Fix dependency build script on MacOS X.
2014-02-02 18:00:45 -05:00
Torsten Paul
afca09729a
Add test cases for text alignment and text direction.
2014-02-02 18:00:45 -05:00
Torsten Paul
a994d4b750
Add first set of test cases for text().
2014-02-02 18:00:44 -05:00
Torsten Paul
695c2cbdbf
Include common script for Linux builds.
2014-02-02 18:00:44 -05:00
Torsten Paul
067c7bd08f
Add new libraries to MacOS X build script.
...
Also move some general stuff into a separate script so
it can be shared by the MacOS X and the Linux build.
2014-02-02 18:00:44 -05:00
Torsten Paul
9713a1fefb
Patch Qt when building on Mavericks/XCode 5.0.1.
...
This is a workaround for compilation problems in that
environment:
- Disable tiff plugin which fails with duplicate symbol
errors when linking. This is available as configure option.
- Disable core-wlan which fails compilation with lots
of errors. This needs to patch the qmake config file.
2014-02-02 18:00:44 -05:00
Torsten Paul
1101d671a1
Skip build in case the library is already installed.
2014-02-02 18:00:44 -05:00
Torsten Paul
8bb32da1c4
Add libraries to qmake config.
2014-02-02 18:00:44 -05:00
Torsten Paul
5741b64036
Add debian package dependencies.
2014-02-02 18:00:44 -05:00
Torsten Paul
84caf4fa3d
Add new libraries to the build and check scripts.
2014-02-02 18:00:44 -05:00
Torsten Paul
bb45e7e52a
Add implementation of text() module.
2014-02-02 18:00:44 -05:00
Marius Kintel
9c9915a6f9
removed temporary file
2014-02-02 17:58:59 -05:00
Marius Kintel
5b7572e927
Create freenode-verification.txt
2014-02-02 17:58:59 -05:00
Marius Kintel
85bdca5c81
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-02-02 14:44:16 -05:00
Marius Kintel
9639e1c043
Merge pull request #625 from openscad/piliko0
...
small speedup of CGAL (according to CGAL tests)
2014-02-02 11:44:09 -08:00
Marius Kintel
b5a6443b36
Merge pull request #628 from OskarLinde/ui_find
...
Editor: Fix bug where replaceAll could enter an infinite loop
2014-02-02 11:42:04 -08:00
Marius Kintel
cf7c24232e
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-02-02 01:01:20 -05:00
Marius Kintel
c59fa49693
Merge pull request #611 from OskarLinde/minkowski2_bug
...
Minkowski2 bug
2014-02-01 18:48:54 -08:00
Oskar Linde
d3f736d873
Editor: Fix bug where replaceAll could enter an infinite loop
2014-02-02 02:09:09 +01:00
Marius Kintel
56a2d0fff6
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-02-01 17:55:17 -05:00
Marius Kintel
072c3a3059
Simplified and renamed test related to #612
2014-02-01 17:53:47 -05:00
Marius Kintel
b23b653290
Merge branch 'minkowski2_bug' of git://github.com/OskarLinde/openscad into unstable
2014-02-01 17:42:29 -05:00
Marius Kintel
b33ab943ff
Merge branch 'poly2_bug' of git://github.com/OskarLinde/openscad into OskarLinde-poly2_bug
2014-02-01 17:30:54 -05:00
Oskar Linde
1942205585
toPolygon2D() now use Clipper's cleaning algorithm
...
The old polygon simplification algorithm in toPolygon2D() was broken.
It could create self-intersecting paths which made CGAL barf and
resulted in non-manifold meshes. It has been replaced with the one
built into Clipper. I am not sure Clipper's is guaranteed to be
correct either, but it at least seems to have fewer fail cases.
2014-02-01 20:53:10 +01:00
Marius Kintel
fa398e1501
Merge branch 'master' into unstable
2014-02-01 14:14:02 -05:00
Marius Kintel
90b9667103
Merge pull request #626 from OskarLinde/ui_find
...
Editor: Implemented simple Find functionality
2014-02-01 11:13:05 -08:00
Marius Kintel
cd1d5cf2f3
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-02-01 13:46:49 -05:00
Marius Kintel
9b83ed6029
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-02-01 13:44:11 -05:00
Marius Kintel
a948936740
Started on hacking doc
2014-02-01 13:43:58 -05:00
Marius Kintel
9c3de2229e
Renamed setting to be in sync with other file settings
2014-02-01 13:42:59 -05:00
Marius Kintel
db20a3afac
Added --debug to usage
2014-02-01 13:26:15 -05:00
Marius Kintel
c8e28c0896
Merge branch 'unstable' into issue598fo
2014-02-01 13:22:38 -05:00
Marius Kintel
cdd23c5d63
Merge branch 'unstable' into printd0
2014-02-01 12:56:20 -05:00
Oskar Linde
7d6deea4e5
Editor: Subtle UI Tweak
...
Return in the find or replace field will animate the triggered button
2014-02-01 16:20:26 +01:00
Oskar Linde
aaae223e40
Editor: Implement Search & Replace
2014-02-01 16:20:22 +01:00
Oskar Linde
e483339580
Editor: Reduce find panel bottom margin
2014-02-01 16:20:19 +01:00
Oskar Linde
9750866aa8
Editor: Implemented simple Find functionality
2014-02-01 16:20:11 +01:00
Oskar Linde
b10e9bc5c5
Fix a problem with the 2D Minkowski implementation
...
Polygons were clipped too soon, resulting in numerical robustness errors
which could create cracks in the resulting geometry. This patch corrects
the problem by postponing Clipper's union operation until the Minkowski
insides are filled. The result is also a net reduction of the number
of Clipper operations.
2014-02-01 16:18:04 +01:00
Oskar Linde
37aa801c46
Add some additional minkowski2d test cases
2014-02-01 16:17:56 +01:00
Oskar Linde
9a66954003
Add a testcase for a bug with self-intersecting polygon outline
2014-02-01 16:14:59 +01:00
Marius Kintel
143a7102c6
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-02-01 01:01:04 -05:00
Marius Kintel
0d1e978baa
Merge branch 'unstable' into nullgl
2014-02-01 00:35:29 -05:00
don bright
0b801fe6e0
small speedup of CGAL (according to CGAL tests)
2014-01-31 15:22:57 -08:00
Don Bright
11c24e3120
undo my changes
2014-01-31 06:42:13 -06:00
Don Bright
54742747ad
adding missing file
2014-01-31 06:41:57 -06:00
Don Bright
88ff8ee6d4
add missing file
2014-01-31 06:34:46 -06:00
Marius Kintel
9fa66e37c0
Merge pull request #624 from openscad/issue598cmdline
...
Issue598cmdline
2014-01-30 22:20:26 -08:00
Marius Kintel
1b77d945be
bugfix: When trying to copy Nef polyhderons, we were just copying pointers, defeating the const
2014-01-31 00:59:59 -05:00
Don Bright
43b4b072dc
fix PRINTD to PRINTDB
2014-01-30 18:40:22 -06:00
Don Bright
a51e3e2e90
replace logstream with PRINTD / PRINTDB . add boost include to printutils.cc
2014-01-30 18:37:08 -06:00
Don Bright
6269872397
add global OpenSCAD::debug string to printutils.cc (see printutils.h for usage)
2014-01-30 18:30:41 -06:00
Don Bright
36d5bde12b
add '--debug=' option to openscad cmdline. see printutils.h for usage
2014-01-30 18:29:34 -06:00
Don Bright
5ab6794c4e
add PRINTD to printutils.h
2014-01-30 18:28:16 -06:00
Don Bright
a655d63987
add PRINTD to printutils.cc
2014-01-30 18:24:51 -06:00
Don Bright
0308a2c896
build on system without OpenGL. do cmake .. -DNULLGL=1
2014-01-30 18:21:32 -06:00
Don Bright
2e3729ab22
redo assemblePath for Win. redo openscad.com to handle spaces in filenames
2014-01-28 23:08:04 -06:00
Don Bright
79f6baf264
syntax highlight - improve contrast on dark background
2014-01-28 20:38:51 -06:00
Don Bright
588eb7a985
issue598 file open - remember the last directory 'file open' was in and reuse
...
bug rept per Michael at Oz
2014-01-28 19:36:14 -06:00
Marius Kintel
fbcb807463
Short-circuit zero scaled 2D objects
2014-01-28 01:16:02 -05:00
Marius Kintel
0600d80046
Moved special handling of intersection to ClipperUtils
2014-01-27 23:25:33 -05:00
Oskar Linde
c25ead11ff
Regression fix: n-ary 2d intersection() with n != 2
2014-01-27 16:25:44 +01:00
Oskar Linde
b05eb736a0
Regression test for 2D intersection() operation
2014-01-27 16:21:44 +01:00
Marius Kintel
c3562e26ab
Fixed caching issue: Sometimes we didn't use existing objects in the CGAL cache, but recalculated the objects, causing reduced performance when reusing CGAL-calculated objects in preview mode
2014-01-26 22:32:20 -05:00
Marius Kintel
3eb4489245
Use GEN_SURFACE_DEBUG instead of DEBUG for verbose debug output
2014-01-26 21:52:46 -05:00
Marius Kintel
33ab1fd9e4
Merge branch 'master' into unstable
...
Conflicts:
tests/regression/throwntogethertest/difference-tests-expected.png
2014-01-24 18:18:20 -05:00
Marius Kintel
91ff6420e4
OFF export workaround. Convert to Nef polyhedron for now
2014-01-24 00:59:02 -05:00
Marius Kintel
df3137ce13
Merge branch 'master' into unstable
2014-01-23 21:22:26 -05:00
Marius Kintel
548b9c7c93
Reinstate Grid to fix problems introduced due to floating point inaccuracy. Grid does a certain job at vertex melding across objects and also help keeping plans planar
2014-01-23 21:22:05 -05:00
Marius Kintel
3288447e70
Added note for future enhancement of rotate_extrude
2014-01-23 20:52:47 -05:00
Marius Kintel
d2e3625678
bug: forgot a break in switch statement while refactoring
2014-01-23 20:40:06 -05:00
Marius Kintel
faf1e2a3a5
bugfix: 2D minkowski was slightly broken; only one child and >2 children didn't work correctly
2014-01-19 12:27:11 -05:00
Marius Kintel
8a5c8e35ce
Merge branch 'master' into issue527
2014-01-19 12:18:32 -05:00
Marius Kintel
59fca2674a
Merge branch 'master' into issue527
...
Conflicts:
tests/regression/cgalpngtest/minkowski2-tests-expected.png
tests/regression/opencsgtest/minkowski2-tests-expected.png
tests/regression/throwntogethertest/minkowski2-tests-expected.png
2014-01-18 18:31:06 -05:00
Marius Kintel
c8291b0645
merge error
2014-01-15 23:53:35 -05:00
Marius Kintel
696f2d5182
Adjusted some Heavy tests
2014-01-15 23:53:23 -05:00
Marius Kintel
e7b62b4088
Merge branch 'master' into issue527
...
Conflicts:
src/CGALEvaluator.cc
2014-01-15 22:34:49 -05:00
Marius Kintel
0f2853895a
Merge branch 'master' into issue527
2014-01-13 23:08:56 -05:00
Marius Kintel
389e95e374
fixed merge error
2014-01-13 23:08:43 -05:00
Marius Kintel
0ea3c831dd
Merge branch 'issue527' of github.com:openscad/openscad into issue527
2014-01-13 22:24:21 -05:00
Marius Kintel
c2673d4ff0
Updated tests for minkowski2 with holes
2014-01-13 22:24:13 -05:00
Marius Kintel
c680540ea2
Merge branch 'master' into issue527
...
Conflicts:
src/primitives.cc
2014-01-13 21:34:51 -05:00
Marius Kintel
fc8096acac
Merge branch 'issue527' of github.com:openscad/openscad into issue527
...
Conflicts:
src/GeometryEvaluator.cc
tests/CMakeLists.txt
2014-01-12 19:41:34 -05:00
Marius Kintel
e0e0319ec6
Added and updated tests for minkowski2 with holes
2014-01-12 19:39:20 -05:00
Marius Kintel
dd113ae0f1
Minor simplification of minkowski2
2014-01-12 19:36:11 -05:00
Oskar Linde
295062875d
Clipper based 2D Minkowski properly (hopefully) handles holes and multiple disjoint polygon components
2014-01-12 16:21:29 +01:00
Marius Kintel
f57ceae58d
Removed old reference to clipper
2014-01-09 02:06:38 -05:00
Marius Kintel
0c8a34775f
crash fix: forgot null check of missing dxf
2014-01-09 02:06:38 -05:00
Marius Kintel
acace4606b
hull-of-hull bug: bugxi and test for exposing it
2014-01-09 02:06:38 -05:00
Marius Kintel
dc8da819da
Only output debug info in DEBUG builds
2014-01-09 02:06:38 -05:00
Marius Kintel
aa6fe1eb2b
Bugfix: We didn't cache top-level objects properly
2014-01-09 02:06:38 -05:00
Marius Kintel
a47c282872
Ignore empty Nef's when renderinge
2014-01-09 02:06:38 -05:00
Marius Kintel
033b298ac9
Initial port of Don Bright's Nef3->PolySet converter
2014-01-09 02:06:38 -05:00
Marius Kintel
f8e013e791
bugfix: forgot to negate statement when refactoring
2014-01-09 02:06:38 -05:00
Marius Kintel
d258e0cbc0
Better error message on triangulation error
2014-01-09 02:06:38 -05:00
Marius Kintel
4fd13fcac2
adjusted test results
2014-01-09 02:06:38 -05:00
Marius Kintel
efc71a8d8e
Be compatible with existing behavior: close open paths in DXF files
2014-01-09 02:06:38 -05:00
Marius Kintel
87d07f23c6
small cleanup - removed redundant dim field
2014-01-09 02:06:37 -05:00
Marius Kintel
afa659d906
Use cartesian points for 2D hull
2014-01-09 02:06:37 -05:00
Marius Kintel
03036b91f8
Updated import_stl-tests: Added subtraction from not found file
2014-01-09 02:06:37 -05:00
Marius Kintel
24986eec91
Added Geometry::isEmpty, some cleanups of CGAL_Nef_polyhedron, fixed some 2D-3D-mix issues
2014-01-09 02:06:37 -05:00
Marius Kintel
029cc74898
Updated test result with new behavior
2014-01-09 02:06:37 -05:00
Marius Kintel
512c0153dd
Updated test result with new behavior
2014-01-09 02:06:37 -05:00
Marius Kintel
4caf0c9cd9
Triangulate objects before exporting to STL
2014-01-09 02:06:37 -05:00
Marius Kintel
0c65fec41a
Added a separate component for dealing with vertex reindexing
2014-01-09 02:06:37 -05:00
Marius Kintel
6ae42bd0e7
case sensitive include
2014-01-09 02:06:37 -05:00
Marius Kintel
979d480da8
nullptr is a C++11 keyword
2014-01-09 02:06:37 -05:00
Marius Kintel
8a2cc97145
include case fix
2014-01-09 02:06:37 -05:00
Marius Kintel
0d318c83c7
minor cleanup
2014-01-09 02:06:37 -05:00
Marius Kintel
394cb6a7a5
test data update
2014-01-09 02:06:37 -05:00
Marius Kintel
5b1ae5cbb1
test data update
2014-01-09 02:06:36 -05:00
Marius Kintel
ad6ef980db
doc fix
2014-01-09 02:06:36 -05:00
Marius Kintel
2edc0c214f
Use CLipperLib's PolyTree to identify negative contours
2014-01-09 02:06:36 -05:00
Marius Kintel
5c4534d3fc
Updated test result with new behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
d4be9b4153
bugfix: Allow rendering empty images
2014-01-09 02:06:36 -05:00
Marius Kintel
054277b3ac
Updated test result with new behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
3122050139
Updated test result with new behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
e35ea1bcb0
Updated test result with new, improved behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
bff5b4d666
Updated test result with new, improved behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
54850b3bd0
Updated test result with new, improved behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
5f7d81c791
Extract clipper operations to ClipperLib::apply(), added sanitized flag to Polygon2d
2014-01-09 02:06:36 -05:00
Marius Kintel
ec849b18d4
RenderNode is now the same as any abstract node
2014-01-09 02:06:36 -05:00
Marius Kintel
5d29804882
Remove degenerate faces
2014-01-09 02:06:36 -05:00
Marius Kintel
e27c05cf0e
bugfix: missing space in output
2014-01-09 02:06:36 -05:00
Marius Kintel
7b31827fe3
Implemented intersection_for
2014-01-09 02:06:35 -05:00
Marius Kintel
1f0705f8a0
Sanitize input polygons for filename parameter to extrude modules
2014-01-09 02:06:35 -05:00
Marius Kintel
ace3668736
Cleanup: Removed redundant code
2014-01-09 02:06:35 -05:00
Marius Kintel
0e5037dce3
Make CGALRenderer support all Geometries
2014-01-09 02:06:35 -05:00
Marius Kintel
053fba737a
reuse coordinates for last ring of rotate_extrude
2014-01-09 02:06:35 -05:00
Marius Kintel
9a1d0eeb91
minor bugfixes after running tests
2014-01-09 02:06:35 -05:00
Marius Kintel
135294e142
Implemented export of Polygon2d to dxf
2014-01-09 02:06:35 -05:00
Marius Kintel
dc9429acac
Use GeometryEvaluator instead of CGALEvaluator. A bunch of refactoring and fixes as a result of that. Renamed GUI menu items to reflect preview vs. render
2014-01-09 02:06:35 -05:00
Marius Kintel
4ac6d079b2
Removed obsolete code
2014-01-09 02:06:35 -05:00
Marius Kintel
4a8de1e53a
Upgraded ClipperLib to 6.1.2 - fixes a projection crash
2014-01-09 02:06:35 -05:00
Marius Kintel
669c30be6a
Implemented resize
2014-01-09 02:06:35 -05:00
Marius Kintel
a1fcf2d5b2
Updated test results with new behavior
2014-01-09 02:06:34 -05:00
Marius Kintel
b5abd6a39f
Fixes remaining issues after merging #574
2014-01-09 02:06:34 -05:00
Marius Kintel
4e9de72779
Implemented 3D transform of PolySets, removed some Grid usage, improved PolySet -> Polyhedron conversion, optimized operations with only one child
2014-01-09 02:06:34 -05:00
Marius Kintel
f4ae95d9e5
Handle shared_ptr in signals/slots
2014-01-09 02:06:34 -05:00
Marius Kintel
1ef92f55f2
Clipper is bundled
2014-01-09 02:06:34 -05:00
Marius Kintel
b9f51febd4
Adapt to related changes in master
2014-01-09 02:06:34 -05:00
Marius Kintel
ffdbc9bf46
Enforce x > 0 for rotate_extrude
2014-01-09 02:06:34 -05:00
Marius Kintel
43e1a27ff3
Don't convert empty clipper result to Polygon2d
2014-01-09 02:06:34 -05:00
Marius Kintel
1f488f851d
Refactoring to facilitate more sharing of code between CGALEvaluator, GeometryEvaluator and CGALUtils
2014-01-09 02:06:34 -05:00
Marius Kintel
c507db461d
hull 2D and 3D implementation
2014-01-09 02:06:34 -05:00
Marius Kintel
12f14b84a1
ignore openscad_nogui
2014-01-09 02:06:34 -05:00
Marius Kintel
02cd792cb3
Implemented minkowski (2D and 3D)
2014-01-09 02:06:34 -05:00
Marius Kintel
2ca39595cd
This should fix Clipper-based non-cut projection
2014-01-09 02:06:34 -05:00
Marius Kintel
b2945cc714
bugfix: don't insert Nef polyhedrons into the GeometryCache as it will compete with PolySets needed for OpenCSG rendering
2014-01-09 02:06:34 -05:00
Marius Kintel
af59b1983c
Implemented non-cut projection using ClipperLib. Upgraded ClipperLib to V6
2014-01-09 02:06:33 -05:00
Marius Kintel
eeb23d6723
corrected test results
2014-01-09 02:06:33 -05:00
Marius Kintel
b04d0ccc52
bugfix: ClipperLib usage was not handling polygons with internal holes properly
2014-01-09 02:06:33 -05:00
Marius Kintel
34fc42a3b5
Moved shared CGAL operations to cgalutils
2014-01-09 02:06:33 -05:00
Marius Kintel
ef4c07cd78
Let PolySets tessellated from Polygon2d objects keep track of the original object, e.g. for edge rendering purposes
2014-01-09 02:06:33 -05:00
Marius Kintel
3e53120e46
Implemented file parameter to extrude nodes
2014-01-09 02:06:33 -05:00
Marius Kintel
97a6f99883
bugfix: reverse order of conversion to Polygon2d
2014-01-09 02:06:33 -05:00
Marius Kintel
a17e0dee2a
Handle Nef polyhedrons as temporary geometry nodes
2014-01-09 02:06:33 -05:00
Marius Kintel
acc354b24c
Fix for linear_extrude with center
2014-01-09 02:06:33 -05:00
Marius Kintel
11b7624bbf
Made CGAL_Nef_polyhedron a Geometry subtype, implemented 3D transforms, implemented projection, implemented render
2014-01-09 02:06:33 -05:00
Marius Kintel
afd4a6adb8
Handle CgaladvNodes
2014-01-09 02:06:33 -05:00
Marius Kintel
11b1966cfb
bugfix: Proper cache handling of visitor
2014-01-09 02:06:33 -05:00
Marius Kintel
84ce5dbd5d
Implemented import to Polygon2d, fixed twist bug, added convexity support
2014-01-09 02:06:33 -05:00
Marius Kintel
dc93436da9
Compile fixes
2014-01-09 02:06:32 -05:00
Marius Kintel
d9ad3a60a0
Implemented rotate_extrude, basic support for 2D CSG, fixed some linear_extrude issues
2014-01-09 02:06:32 -05:00
Marius Kintel
064ee8f98a
Basic linear_extrude now works
2014-01-09 02:06:32 -05:00
Marius Kintel
b8c15cfb8a
Preliminary large refactoring: Created GeometryEvaluator as a replacement for PolySetEvaluator. Use ClipperLib for 2D CSG (first baby steps). This design is far from perfect but sacrifice design for staying in the green. This version is broken, but can render primitives.
2014-01-09 02:06:32 -05:00
Marius Kintel
acd08b6f1a
Green refactoring, but uncertain if we should keep it
2014-01-09 02:06:32 -05:00
Marius Kintel
09ffd9a6b7
crash fix: forgot null check of missing dxf
2014-01-06 18:13:49 -05:00
Marius Kintel
b598b1ad01
hull-of-hull bug: bugxi and test for exposing it
2014-01-06 17:48:09 -05:00
Marius Kintel
fb76a0bd96
Only output debug info in DEBUG builds
2014-01-06 17:48:09 -05:00
Marius Kintel
c39b919e19
Fixes to build against homebrew-built dependencies
2014-01-06 17:48:09 -05:00
Marius Kintel
b482d9f15b
Bugfix: We didn't cache top-level objects properly
2014-01-06 17:48:09 -05:00
Marius Kintel
8ae2e389a3
Ignore empty Nef's when renderinge
2014-01-06 17:48:09 -05:00
Marius Kintel
0703f1a6ca
Initial port of Don Bright's Nef3->PolySet converter
2014-01-06 17:48:09 -05:00
Marius Kintel
c3eaeae45c
bugfix: forgot to negate statement when refactoring
2014-01-06 17:48:09 -05:00
Marius Kintel
76f53de49f
Better error message on triangulation error
2014-01-06 17:48:09 -05:00
Marius Kintel
31612ef242
adjusted test results
2014-01-06 17:48:09 -05:00
Marius Kintel
db7da052a3
Be compatible with existing behavior: close open paths in DXF files
2014-01-06 17:48:09 -05:00
Marius Kintel
bc4fae0d85
small cleanup - removed redundant dim field
2014-01-06 17:48:09 -05:00
Marius Kintel
d6ad2c7de1
Use cartesian points for 2D hull
2014-01-06 17:48:08 -05:00
Marius Kintel
b11429b1d2
Updated import_stl-tests: Added subtraction from not found file
2014-01-06 17:48:08 -05:00
Marius Kintel
b5928655e3
Added Geometry::isEmpty, some cleanups of CGAL_Nef_polyhedron, fixed some 2D-3D-mix issues
2014-01-06 17:48:08 -05:00
Marius Kintel
211e3bc66d
Updated test result with new behavior
2014-01-06 17:48:08 -05:00
Marius Kintel
9f6635a5f2
Updated test result with new behavior
2014-01-06 17:48:08 -05:00
Marius Kintel
05ddcdaabb
Triangulate objects before exporting to STL
2014-01-06 17:48:08 -05:00
Marius Kintel
464c0ec3df
Added a separate component for dealing with vertex reindexing
2014-01-06 17:48:08 -05:00
Marius Kintel
9a0cd69cfd
case sensitive include
2014-01-06 17:48:08 -05:00
Marius Kintel
18810fcbee
nullptr is a C++11 keyword
2014-01-06 17:48:08 -05:00
Marius Kintel
27c5d73bad
include case fix
2014-01-06 17:48:08 -05:00
Marius Kintel
aec1169c90
minor cleanup
2014-01-06 17:48:08 -05:00
Marius Kintel
9ccde5fe22
test data update
2014-01-06 17:48:08 -05:00
Marius Kintel
e49bccfa83
test data update
2014-01-06 17:48:08 -05:00
Marius Kintel
1e59035bd0
doc fix
2014-01-06 17:48:08 -05:00
Marius Kintel
5a4ff8e39a
Use CLipperLib's PolyTree to identify negative contours
2014-01-06 17:48:07 -05:00
Marius Kintel
1c8221004a
Updated test result with new behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
512aba9f10
bugfix: Allow rendering empty images
2014-01-06 17:48:07 -05:00
Marius Kintel
ebdb2847b3
Updated test result with new behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
0ce14af64b
Updated test result with new behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
8b7ef88664
Updated test result with new, improved behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
7ed97132c6
Updated test result with new, improved behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
3d72b2b68f
Updated test result with new, improved behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
c9d372d4db
Extract clipper operations to ClipperLib::apply(), added sanitized flag to Polygon2d
2014-01-06 17:48:07 -05:00
Marius Kintel
dbd8f78d10
RenderNode is now the same as any abstract node
2014-01-06 17:48:07 -05:00
Marius Kintel
e52ec73d4e
Remove degenerate faces
2014-01-06 17:48:07 -05:00
Marius Kintel
6a57885224
bugfix: missing space in output
2014-01-06 17:48:07 -05:00
Marius Kintel
90be2bc10d
Implemented intersection_for
2014-01-06 17:48:07 -05:00
Marius Kintel
af578b9f47
Sanitize input polygons for filename parameter to extrude modules
2014-01-06 17:48:07 -05:00
Marius Kintel
a8ed295b22
Cleanup: Removed redundant code
2014-01-06 17:48:06 -05:00
Marius Kintel
aa1b856ea6
Make CGALRenderer support all Geometries
2014-01-06 17:48:06 -05:00
Marius Kintel
c9366d1dcb
reuse coordinates for last ring of rotate_extrude
2014-01-06 17:48:06 -05:00
Marius Kintel
0f6e5860e8
minor bugfixes after running tests
2014-01-06 17:48:06 -05:00
Marius Kintel
94d6de06fd
Implemented export of Polygon2d to dxf
2014-01-06 17:48:06 -05:00
Marius Kintel
7efac3940e
Use GeometryEvaluator instead of CGALEvaluator. A bunch of refactoring and fixes as a result of that. Renamed GUI menu items to reflect preview vs. render
2014-01-06 17:48:06 -05:00
Marius Kintel
73497690bc
Removed obsolete code
2014-01-06 17:48:06 -05:00
Marius Kintel
4733216ee4
Upgraded ClipperLib to 6.1.2 - fixes a projection crash
2014-01-06 17:48:06 -05:00
Marius Kintel
2726a6853f
Implemented resize
2014-01-06 17:48:06 -05:00
Marius Kintel
575d429824
Updated test results with new behavior
2014-01-06 17:48:06 -05:00
Marius Kintel
a49c32bee0
Fixes remaining issues after merging #574
2014-01-06 17:48:06 -05:00
Marius Kintel
698aa54998
Implemented 3D transform of PolySets, removed some Grid usage, improved PolySet -> Polyhedron conversion, optimized operations with only one child
2014-01-06 17:48:06 -05:00
Marius Kintel
2fc3a39cfc
Handle shared_ptr in signals/slots
2014-01-06 17:48:05 -05:00
Marius Kintel
8367068be5
Clipper is bundled
2014-01-06 17:48:05 -05:00
Marius Kintel
33f6f8d285
Adapt to related changes in master
2014-01-06 17:48:05 -05:00
Marius Kintel
8bc3d52516
Enforce x > 0 for rotate_extrude
2014-01-06 17:48:05 -05:00
Marius Kintel
05e7f63ffc
Don't convert empty clipper result to Polygon2d
2014-01-06 17:48:05 -05:00
Marius Kintel
6298ccd188
Refactoring to facilitate more sharing of code between CGALEvaluator, GeometryEvaluator and CGALUtils
2014-01-06 17:48:05 -05:00
Marius Kintel
041b6c12da
hull 2D and 3D implementation
2014-01-06 17:48:05 -05:00
Marius Kintel
28a6e64a97
ignore openscad_nogui
2014-01-06 17:48:05 -05:00
Marius Kintel
a67452711b
Implemented minkowski (2D and 3D)
2014-01-06 17:48:05 -05:00
Marius Kintel
54ddd63f08
This should fix Clipper-based non-cut projection
2014-01-06 17:48:05 -05:00
Marius Kintel
d4112fed2e
bugfix: don't insert Nef polyhedrons into the GeometryCache as it will compete with PolySets needed for OpenCSG rendering
2014-01-06 17:48:05 -05:00
Marius Kintel
377c8adde4
Implemented non-cut projection using ClipperLib. Upgraded ClipperLib to V6
2014-01-06 17:48:05 -05:00
Marius Kintel
528be86990
corrected test results
2014-01-06 17:48:05 -05:00
Marius Kintel
41b938bf68
bugfix: ClipperLib usage was not handling polygons with internal holes properly
2014-01-06 17:48:04 -05:00
Marius Kintel
73256de438
Moved shared CGAL operations to cgalutils
2014-01-06 17:48:04 -05:00
Marius Kintel
97f0155d9c
Let PolySets tessellated from Polygon2d objects keep track of the original object, e.g. for edge rendering purposes
2014-01-06 17:48:04 -05:00
Marius Kintel
aea83d2bcb
Implemented file parameter to extrude nodes
2014-01-06 17:48:04 -05:00
Marius Kintel
74ba42fb39
bugfix: reverse order of conversion to Polygon2d
2014-01-06 17:48:04 -05:00
Marius Kintel
8715104f3d
Handle Nef polyhedrons as temporary geometry nodes
2014-01-06 17:48:04 -05:00
Marius Kintel
b59a61c4e6
Fix for linear_extrude with center
2014-01-06 17:48:04 -05:00
Marius Kintel
87f73263fc
Made CGAL_Nef_polyhedron a Geometry subtype, implemented 3D transforms, implemented projection, implemented render
2014-01-06 17:48:04 -05:00
Marius Kintel
44b5ee1d6d
Handle CgaladvNodes
2014-01-06 17:48:04 -05:00
Marius Kintel
40bd253912
bugfix: Proper cache handling of visitor
2014-01-06 17:48:04 -05:00
Marius Kintel
6cc0a20f2c
Implemented import to Polygon2d, fixed twist bug, added convexity support
2014-01-06 17:48:04 -05:00
Marius Kintel
e3b53f6550
Compile fixes
2014-01-06 17:48:04 -05:00
Marius Kintel
1a65f0ba48
Implemented rotate_extrude, basic support for 2D CSG, fixed some linear_extrude issues
2014-01-06 17:48:04 -05:00
Marius Kintel
64442eccbd
Basic linear_extrude now works
2014-01-06 17:48:04 -05:00
Marius Kintel
db7ba5b204
Preliminary large refactoring: Created GeometryEvaluator as a replacement for PolySetEvaluator. Use ClipperLib for 2D CSG (first baby steps). This design is far from perfect but sacrifice design for staying in the green. This version is broken, but can render primitives.
2014-01-06 17:48:03 -05:00
Marius Kintel
688a61dfec
Green refactoring, but uncertain if we should keep it
2014-01-06 17:48:03 -05:00