Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.

Commit 9224351

Browse files
committed
Release v1.6.3
1 parent 16c7012 commit 9224351

27 files changed

+33
-27
lines changed

Diff for: README.md

+3
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ Help support Gdspy development by [donating via PayPal](https://www.paypal.com/c
7373

7474
## History of changes
7575

76+
### Version 1.6.3 (Dec 28, 2020)
77+
* Fix bounding box edge case (thanks Troy Tamas for the fix).
78+
7679
### Version 1.6.2 (Dec 18, 2020)
7780
* More efficient bounding box calculation (thanks to Troy Tamas for the contribution).
7881
* Fix Label creation bug.

Diff for: docs/_static/fonts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: docs/_static/photonics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: gdspy/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
@@ -19,7 +19,7 @@
1919
- http://www.buchanan1.net/stream_description.html
2020
"""
2121

22-
__version__ = "1.6.2"
22+
__version__ = "1.6.3"
2323

2424
import warnings
2525

Diff for: gdspy/clipper.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ void DisposeOutPts(OutPt*& pp)
726726

727727
inline void InitEdge(TEdge* e, TEdge* eNext, TEdge* ePrev, const IntPoint& Pt)
728728
{
729-
std::memset(e, 0, sizeof(TEdge));
729+
std::memset((void*)e, 0, sizeof(TEdge));
730730
e->Next = eNext;
731731
e->Prev = ePrev;
732732
e->Curr = Pt;

Diff for: gdspy/curve.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: gdspy/gdsiiformat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: gdspy/label.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: gdspy/library.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: gdspy/operation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: gdspy/path.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: gdspy/polygon.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: gdspy/viewer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tests/cell.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tests/cellarray.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tests/cellreference.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tests/curve.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tests/flexpath.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tests/functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tests/gdslibrary.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tests/gdswriter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tests/polygonset.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tests/robustpath.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tests/tutils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tools/maketestgds.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
######################################################################
22
# #
3-
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
3+
# Copyright 2009 Lucas Heitzmann Gabrielli. #
44
# This file is part of gdspy, distributed under the terms of the #
55
# Boost Software License - Version 1.0. See the accompanying #
66
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #

Diff for: tools/release.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ if ! grep "### Version $CURR_VER (" README.md > /dev/null 2>&1; then
1414
fi
1515

1616
echo "Release version $CURR_VER [y/n]?"
17+
echo "This will commit and tag all changes, but will NOT add them."
1718
read -r GOON
1819

1920
if [ "$GOON" = 'y' ] ; then
2021
git commit -m "Release v$CURR_VER"
2122
git tag -am "Release v$CURR_VER" "v$CURR_VER"
22-
echo "Review the status and 'git push' to finish release. Do not forget to upload to PYPI either."
23+
echo "Review the status and 'git push' to finish release."
24+
echo "Do not forget to upload to PYPI:"
25+
echo "python setup.py sdist && twine upload -s dist/gdspy-$CURR_VER.zip"
2326
fi

0 commit comments

Comments
 (0)