Matthias Koefferlein
df0754e7cc
Added doc for editable/non-editable layout objects.
2021-02-06 23:00:48 +01:00
Matthias Köfferlein
d8c0ea806a
Issue 723 fixed. ( #724 )
...
* Fixed a segfault with simple 'klayout -v'
* Fixed #723
2021-02-05 23:28:22 +01:00
Matthias Köfferlein
e31d7afb64
Reduce risk of DRC polygon split artefacts in deep mode ( #722 )
...
* Fixed a segfault with simple 'klayout -v'
* is_halfmanhattan polygon predicate, confine polygon splitting to halfmanhattan
Splitting any-angle polygons for area reduction in the
deep processor creates a risk of introducing grid-snap
artefacts. Hence we avoid this.
2021-02-05 23:28:04 +01:00
Matthias Köfferlein
c837b306be
Issue 720 ( #721 )
...
* Implemented a backup scheme for the file writer.
* Also consider backup files when the writer fails.
* Removed test exception
* Added config option for number of backups.
2021-02-02 22:47:25 +01:00
Matthias Koefferlein
8e7d571c2c
Removed inclusion of APPDATA into search path on Windows - this was pulling DLLs from other installations.
2021-02-02 22:31:22 +01:00
Matthias
47777b7eba
Fixed crash in WebDAV access test observed on MacOS, but probably also relevant for other platforms.
2021-02-02 19:53:55 +01:00
Matthias Koefferlein
fc4976be81
Remove test code
2021-02-01 22:01:29 +01:00
Matthias Koefferlein
fdbf26f184
Merge branch 'master' of github.com:KLayout/klayout
2021-01-31 21:49:32 +01:00
Matthias Koefferlein
036e9f7d6b
Yet another fix for Windows build.
2021-01-31 21:49:20 +01:00
Matthias Koefferlein
d10165928f
Trying to fix Windows build.
2021-01-31 20:21:14 +01:00
Matthias Köfferlein
4134829304
Issue 718 ( #719 )
...
* WIP: first part of fix - generation of hole cutlines
First problem was that hole cutlines got extended
over the whole length and sometimes lead to coincident
edges which are difficult to resolve for the polygon
cutter.
* Refined solution, fixed #718
- disabled elaborate hole insertion procedure for now as the
performance impact has to be assessed yet and the new scheme
will break many tests
- stricter rejection of ambiguous configurations in the polygon cutter
- fallback is boolean AND now since there is no need to re-invoke the
polygon cutter (we can't do so as we made it more strict).
Performance-wise we replace a merge by an AND step which may even be
faster the output is smaller and the polygon cutter does not need
to be re-invoked.
* Compatibility with other STLs
2021-01-31 19:21:15 +01:00
Matthias Köfferlein
10eee4d895
Fixed #709 . ( #714 )
2021-01-31 19:21:00 +01:00
Matthias Köfferlein
97ed4cf0f2
Merge pull request #712 from KLayout/gsi-fixes
...
Some enhancements to script API
2021-01-31 19:20:35 +01:00
Matthias Koefferlein
f263f5c44c
Compatibility with older Ruby and Python versions in unit tests.
2021-01-31 17:14:21 +00:00
Matthias Koefferlein
f1d2f39031
Added signal-safe sleep function which does not return when a timer signal happens. Fixes some random fails in the test suite.
2021-01-31 16:20:16 +01:00
Matthias Koefferlein
290d393126
Fixed another link issue on Windows
2021-01-27 21:42:43 +01:00
Matthias Koefferlein
1cdcf546f8
Fixed linker issue on Windows.
2021-01-27 12:54:25 +01:00
Matthias Koefferlein
cdb62cc111
Merge branch 'master' into gsi-fixes
2021-01-27 12:46:34 +01:00
Matthias Köfferlein
1ba4394c2a
Merge pull request #710 from KLayout/byte-arrays
...
Byte arrays
2021-01-27 12:42:48 +01:00
Matthias Koefferlein
96136e6993
Fixed Qt-less builds.
2021-01-27 08:05:02 +01:00
Matthias Koefferlein
dce371caaa
Fixed Qt-less builds.
2021-01-26 23:42:18 +01:00
Matthias Köfferlein
bd41f7222d
Merge pull request #706 from KLayout/spline-as-api
...
Generalized spline interpolation of DXF reader
2021-01-26 23:39:51 +01:00
Matthias Koefferlein
c7113b8c72
Added methods to manipulate key bindings and menu visibility through scripts (MainWindow#set_key_bindings, MainWindow#get_key_bindings, MainWindow#set_menu_items_hidden ...)
2021-01-26 23:10:26 +01:00
Matthias Koefferlein
6a23769387
Different integration of Dispatcher interface with MainWindow
...
In 0.27 the main window got it's own configuration API
as now it's possible to instantiate a main window explicitly
and not application backs up configuration. Because GSI allows
as single base class only, we cannot derive from Dispatcher.
A delegate is used instead.
2021-01-26 07:56:49 +01:00
Matthias Koefferlein
702852a8a9
Merge branch 'master' of github.com:KLayout/klayout into byte-arrays
2021-01-25 08:11:53 +01:00
Matthias Koefferlein
885c52eeeb
Stupid bug fixed
2021-01-25 08:10:47 +01:00
Matthias Koefferlein
204cb7ec3f
Fixed build with curl
2021-01-25 08:05:16 +01:00
Matthias Koefferlein
199602424a
Merge branch 'master' of github.com:KLayout/klayout into byte-arrays
2021-01-24 23:52:56 +01:00
Matthias Koefferlein
d31f87f053
Some issues with the byte array binding fixed, less ambiguitites with Qt bindings, tests added.
2021-01-24 23:44:40 +01:00
Matthias Koefferlein
245bf93429
Some build fixes to enable basic compilation on CentOS6
2021-01-24 17:37:46 +00:00
Matthias Koefferlein
5aac018503
Mapping QByteArray (and std::vector<char>) to Python 'bytes' now.
2021-01-24 17:36:40 +01:00
Matthias Koefferlein
c309961109
More verbose debugging for HTTP requests.
2021-01-23 22:27:53 +01:00
Matthias Koefferlein
d1e6845ae4
Replaced std::auto_ptr by std::unique_ptr because the latter is deprecated
2021-01-23 21:55:51 +01:00
Matthias Koefferlein
a1ace443f7
Added LayoutView#close
2021-01-23 20:56:00 +01:00
Matthias Koefferlein
fdd5671602
Attempt to solve WebDAV redirection issue on Windows.
2021-01-23 20:40:25 +01:00
Matthias Koefferlein
372a42e84a
Renamed test files so that debugger doesn't get confused
2021-01-23 20:40:10 +01:00
Matthias Koefferlein
c8951c10cd
Generalized spline interpolation of DXF reader and provide a script binding (RBA::Utils).
2021-01-23 18:44:36 +01:00
Matthias Koefferlein
d7986c4849
Merge branch 'master' into opengl-fix
2021-01-23 16:22:56 +01:00
Matthias Koefferlein
1a3675956e
Ported to OpenGL 3.2 for Windows compatibility.
2021-01-23 15:54:02 +01:00
Matthias Köfferlein
41094ab839
Fixed #704 (DXF reader: rational splines not supported) ( #705 )
...
* Fixed issue #704 . TODO: replace algorithm by De Boor, check if accuracy is still maintained.
* Switch spline interpolation algorithm to De Boor for better numerical stability.
* Updated tests with DXF accuracy test, provide a warning for unsupported SPLINE types.
2021-01-21 07:48:08 +01:00
Matthias Koefferlein
dc40f9a885
Trying to fix OpenGL compatibility issue.
2021-01-20 22:25:16 +01:00
Matthias Koefferlein
618e1134c4
More robustness against test variations on different platforms.
2021-01-19 22:23:02 +01:00
Matthias Koefferlein
63d19bdb4c
More robustness against test variations on different platforms.
2021-01-19 21:49:38 +01:00
Matthias Koefferlein
73485a5061
More robustness against differences on different platforms.
2021-01-19 20:36:25 +01:00
Matthias Koefferlein
11e9f89fc2
Introduced normalization into region/edges/edge pairs/texts tests to get rid of platform dependency because of unordered_set implementation details.
2021-01-19 08:03:42 +01:00
Matthias Koefferlein
3677a36804
Made region tests less susceptible to 'unordered_set' implementation details.
2021-01-19 01:26:20 +01:00
Matthias Koefferlein
c184a8a5fb
Merge branch 'master' of github.com:KLayout/klayout
2021-01-18 21:36:59 +01:00
Matthias Koefferlein
9b275d85a6
More stable hash function (the previous one was too sparse for small coordinates). Test updates for this reason.
2021-01-18 20:26:03 +01:00
Matthias Koefferlein
757543ec48
Fixed a build issue with 64bit coordinates.
2021-01-18 20:25:40 +01:00
Matthias Köfferlein
f32901407c
Fixed Windows build
2021-01-18 12:30:05 +01:00