Commit Graph

1223 Commits

Author SHA1 Message Date
Matthias Koefferlein d03d4bec1d Fixed build after merge. 2018-09-26 21:27:31 +02:00
Matthias Koefferlein 6795de1dbb Merge remote-tracking branch 'remotes/origin/master' into pymod
Provides fixes for issue #166 and #172.
2018-09-26 21:15:08 +02:00
Matthias Koefferlein 02c9661e25 Updated Changelog. 2018-09-26 20:57:50 +02:00
Matthias Köfferlein d676e4ec8a
Merge pull request #173 from klayoutmatthias/issue-172
Fixed #172 (DEF reader does not pull vias from LEF)
2018-09-26 20:50:08 +02:00
Matthias Koefferlein d4adb194e3 Fixed #172 (DEF reader does not pull vias from LEF) 2018-09-26 20:49:04 +02:00
Matthias Köfferlein 808f91223a
Merge pull request #171 from lightwave-lab/testfix/pya_dbTransTest
Changing pya.CplxTrans.angle test from assertEqual to assertAlmostEqual
2018-09-25 20:44:28 +02:00
Matthias Köfferlein ff9a47ca15
Merge pull request #170 from lightwave-lab/testfix/test_42
fixing test test_42 in qtbinding.py and adding note to qtbinding.rb
2018-09-25 20:43:45 +02:00
Thomas Ferreira de Lima 214662997c
Changing pya.CplxTrans.angle test from assertEqual to assertAlmostEqual
Rationale:
pya.CplxTrans.angle is computed by doing atan2(m_sin, m_cos), but the algorithm used both in C and python for sin, cos and atan2 are not as precise as IEEE's float.

In python, for example, this happens:

``` python
>>> from math import pi, cos, sin, atan2
>>> atan2(sin(45*pi/180), cos(45*pi/180)) * 180 / pi == 45
False
>>> atan2(sin(45*pi/180), cos(45*pi/180)) * 180 / pi, 45
(44.99999999999999, 45)
```
2018-09-22 15:15:33 -04:00
Thomas Ferreira de Lima e217e6a891
[skip ci] fixing test test_42 in qtbinding.py and adding note to qtbinding.rb
Sorry, don't know ruby
2018-09-22 14:29:21 -04:00
Matthias Koefferlein 2236a7662d Preparations for 0.25.5 release (updated Changelogs, version) 2018-09-19 22:05:39 +02:00
Matthias Köfferlein 5b34701f8f
Merge pull request #168 from lightwave-lab/travis-ci/v0.25.4
Travis automation formulas for macOS builds
2018-09-19 21:58:34 +02:00
Thomas Ferreira de Lima ef1a8d7f2b
[skip ci] Tested B37 in HighSierra, Sierra and El Capitan 2018-09-18 19:49:11 -04:00
Thomas Ferreira de Lima df301fac06
resizing image to fit python and numpy 2018-09-18 16:41:15 -04:00
Thomas Ferreira de Lima 30193cd7e9
bugfix python embedding (try 2) 2018-09-18 14:34:29 -04:00
Thomas Ferreira de Lima f0086aa5d4
bugfix python embedding (try 1) 2018-09-18 12:19:12 -04:00
Thomas Ferreira de Lima 1ddcfdf1f9
deleting obsolete file filter-clang.sh 2018-09-18 10:44:10 -04:00
Thomas Ferreira de Lima 9a24d32d9f
making DMG instead of tarballs 2018-09-17 21:46:32 -04:00
Matthias Koefferlein 9ccc0a86b1 Fixed a merge issue (build was broken) 2018-09-17 22:34:01 +02:00
Matthias Koefferlein 3b59d97195 Ported Ruby initialization issue bugfix from pymod to master.
On OpenSuSE 15 (gcc 7.3.1, Ruby 2.5.0) crashes have been
observed on starting the application. The main reason seems
to be the attempt to disable $0 redirection in Ruby.

This is not required for Ruby >= 1.9, so this is better dropped.
2018-09-17 21:43:38 +02:00
Matthias Köfferlein 11d5819c77 Fix of a small bug found by MSVC iterator assertions 2018-09-17 21:31:52 +02:00
Matthias Köfferlein cb15132029 Fixed an issue with destruction callbacks in the QApplication destructor - in this case the interpreter may be nulled already and callbacks must not happen into Ruby/Python. 2018-09-17 21:30:54 +02:00
Matthias Köfferlein 8c4099b77d Bugfix in the annotation area
The annotation ID was taken from an object already deleted - on MSVC 
this becomes an issue.
2018-09-17 21:25:28 +02:00
Matthias Köfferlein 88e0bd77a2 Fix in Image object handling
Id was taken from an object destructed already.
2018-09-17 21:24:47 +02:00
Matthias Köfferlein 1d7101bced
Merge pull request #167 from klayoutmatthias/issue-166
Issue 166
2018-09-17 21:21:13 +02:00
Thomas Ferreira de Lima d68e0bbe76
writing unique names for tarballs
KLAYOUT_VERSION incorporated in makefile
2018-09-17 14:50:27 -04:00
Matthias Koefferlein 6efdb3a9e1 Added testcase for #166. 2018-09-17 01:51:23 +02:00
Matthias Koefferlein f72fda7bae Added test case for #166. 2018-09-17 01:48:31 +02:00
Matthias Koefferlein e9de4252fb Fixed #166 (internal error when writing GDS file)
This fix consists of computing the intersection
points in the split procedure with higher resolution
to avoid topology changes due to snapping on the cut
line.
2018-09-17 01:29:31 +02:00
Matthias Köfferlein fe26785203 Fixed install target for MSVC - copy needs to use Windows paths. 2018-09-13 22:31:45 +02:00
Matthias Köfferlein f7664c09d5 Windows build script and setup.py for Anaconda (install needs testing). 2018-09-13 01:11:18 +02:00
Matthias Koefferlein 06c0b8f6e1 And back to Windows ... re-inserting the ruby_sysinit workaround. 2018-09-12 00:06:48 +02:00
Matthias Koefferlein 0a2574cd3a Now it breaks the ruby 1.8.x tests ... grrr 2018-09-11 23:19:52 +02:00
Matthias Koefferlein 121e1301b0 Hopefully this fixes the crashes on OpenSuSE 15. 2018-09-11 22:35:57 +02:00
Matthias Koefferlein 372823efcb grrr ... Debian package still complains. 2018-09-11 20:41:46 +02:00
Matthias Koefferlein 6536e9a8dc Modified command line prep for Ruby integration - maybe that fixes the OpenSuSE 15 crashes. 2018-09-11 08:08:18 +02:00
Matthias Koefferlein e16a37d3af Debian's packager check is still super-picky about Changelog. 2018-09-11 07:36:24 +02:00
Matthias Köfferlein 6a12a6a4cd Normalize CRLF for OASIS reader test's golden data on Windows. 2018-09-11 07:35:01 +02:00
Matthias Köfferlein 1c68b5472c Enabled ruby_sysinit again after MSVC2017 build crashed without this. 2018-09-11 00:07:33 +02:00
Matthias Koefferlein dcfe2977a8 Merge branch 'pymod-fix' of https://github.com/klayoutmatthias/klayout into pymod-fix 2018-09-10 21:37:14 +00:00
Matthias Koefferlein f35b522256 Fixed a segfault on Ruby initialization found on OpenSuSE 15 with Ruby 2.5.0 and gcc 7.3.1 in release mode 2018-09-10 21:36:27 +00:00
Matthias Köfferlein 99a71b771d Fixed link issue in net tracer plugin both for Linux and Windows (hopefully) 2018-09-10 22:53:49 +02:00
Matthias Koefferlein c46bed0785 Some update to fix build issues (this time, Linux)
- All platforms support native hash values for long long etc.
  with the TR1 containers
- Use non-static, function symbols to force linking.
- Debian package is picky about dates so give them some
  in Changelog.
2018-09-10 21:56:20 +02:00
Matthias Koefferlein 8fa3baa594 Updated Changelog.Debian to fix package check errors. 2018-09-10 07:16:03 +02:00
Matthias Koefferlein eef15e6353 Updated golden data for strm2txt 2018-09-10 07:12:25 +02:00
Matthias Koefferlein ad03533a7b OASIS tests made robust against hash implementation
The text writer was made "normalizing": it will introduce
a certain element order (string sorting). This way, OASIS
files can be compared against golden data without
changes in the order due to different implementation of
hash containers.
2018-09-10 01:16:49 +02:00
Matthias Koefferlein 25868ccd96 makedeb.sh did contain the conflict markers. 2018-09-09 22:47:56 +02:00
Matthias Koefferlein 84072aa23e Fixed a few things that got damaged in Linux build while doing MSVC compatibility. 2018-09-09 22:43:22 +02:00
Matthias Köfferlein b97efcc75f Updated .gitignore. 2018-09-09 18:31:27 +02:00
Matthias Köfferlein e69ed872a7 Fixed a static initialization race. 2018-09-09 18:31:05 +02:00
Matthias Köfferlein 940a96716c Fixed the timestamp generation for pthread-win32 timed waits
Issue: we have to use WIN API functions which deliver times in a 
different way. In order to make the wait functions work, we have to use 
the same time definition - specifically the same zero time.
2018-09-09 18:30:21 +02:00