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

Commit

Permalink
Release v1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
heitzmann committed Dec 28, 2020
1 parent 16c7012 commit 9224351
Show file tree
Hide file tree
Showing 27 changed files with 33 additions and 27 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ Help support Gdspy development by [donating via PayPal](https://www.paypal.com/c

## History of changes

### Version 1.6.3 (Dec 28, 2020)
* Fix bounding box edge case (thanks Troy Tamas for the fix).

### Version 1.6.2 (Dec 18, 2020)
* More efficient bounding box calculation (thanks to Troy Tamas for the contribution).
* Fix Label creation bug.
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/fonts.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/photonics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
4 changes: 2 additions & 2 deletions gdspy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand All @@ -19,7 +19,7 @@
- http://www.buchanan1.net/stream_description.html
"""

__version__ = "1.6.2"
__version__ = "1.6.3"

import warnings

Expand Down
2 changes: 1 addition & 1 deletion gdspy/clipper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ void DisposeOutPts(OutPt*& pp)

inline void InitEdge(TEdge* e, TEdge* eNext, TEdge* ePrev, const IntPoint& Pt)
{
std::memset(e, 0, sizeof(TEdge));
std::memset((void*)e, 0, sizeof(TEdge));
e->Next = eNext;
e->Prev = ePrev;
e->Curr = Pt;
Expand Down
2 changes: 1 addition & 1 deletion gdspy/curve.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion gdspy/gdsiiformat.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion gdspy/label.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion gdspy/library.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion gdspy/operation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion gdspy/path.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion gdspy/polygon.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion gdspy/viewer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tests/cell.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tests/cellarray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tests/cellreference.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tests/curve.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tests/flexpath.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tests/functions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tests/gdslibrary.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tests/gdswriter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tests/polygonset.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tests/robustpath.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tests/tutils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
2 changes: 1 addition & 1 deletion tools/maketestgds.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######################################################################
# #
# Copyright 2009-2020 Lucas Heitzmann Gabrielli. #
# Copyright 2009 Lucas Heitzmann Gabrielli. #
# This file is part of gdspy, distributed under the terms of the #
# Boost Software License - Version 1.0. See the accompanying #
# LICENSE file or <http://www.boost.org/LICENSE_1_0.txt> #
Expand Down
5 changes: 4 additions & 1 deletion tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ if ! grep "### Version $CURR_VER (" README.md > /dev/null 2>&1; then
fi

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

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

0 comments on commit 9224351

Please sign in to comment.