Matthias Koefferlein
2bfccca462
WIP: enhanced recursive shape iterator's push mode.
2018-11-13 23:40:08 +01:00
Matthias Koefferlein
f346e70746
RecursiveShapeIterator now features a push mode
...
This will eventually enable catching a hierarchy
skeleton (with shapes) from a RecursiveShapeIterator.
2018-11-12 23:44:26 +01:00
Matthias Koefferlein
b192417809
Merge branch 'pymod' into net-extract
2018-11-10 22:42:48 +01:00
Matthias Koefferlein
c91f54569a
Provide GSI bindings for the new edge pair support
...
This affects Shapes and Shape. New methods from EdgePairs are added
and minor enhancements of Region and Edges. Ruby tests added
2018-11-10 22:41:40 +01:00
Matthias Koefferlein
255abc5534
Provided new explicit template instantiations required for DRC
2018-11-10 00:44:30 +01:00
Matthias Koefferlein
7a37da91e0
EdgePairs refactoring
...
- Uses a db::Shapes container
- Aligned with db::Edges and db::Region
- With original layer delegate
2018-11-10 00:07:53 +01:00
Matthias Koefferlein
8e19474095
Introduced edge pairs as valid shapes for db::Shapes
2018-11-09 22:59:26 +01:00
Matthias Koefferlein
b9b00a08b5
Many bug fixes after refactoring.
2018-11-09 01:14:22 +01:00
Matthias Koefferlein
ec638c87b4
Refactoring of Edges - compiles again.
2018-11-09 00:39:00 +01:00
Matthias Koefferlein
0a9ab32f81
WIP: fixed initialization code.
2018-11-07 23:08:52 +01:00
Matthias Koefferlein
de6045fdf0
Fixed an initialization issue.
2018-11-07 22:20:57 +01:00
Matthias Koefferlein
009492a2a6
Fixed a linker issue.
2018-11-07 22:19:05 +01:00
Matthias Koefferlein
8107e1bb51
Refactoring: separated sources for db::Region
2018-11-07 22:17:51 +01:00
Matthias Koefferlein
885a440089
Further refactoring: provide adressable polygons.
2018-11-07 02:44:15 +01:00
Matthias Koefferlein
9c92a9c72e
Region refactoring: many unit tests are passing again.
2018-11-07 00:45:29 +01:00
Matthias Koefferlein
e595c32fe1
WIP: made first unit tests functional again.
2018-11-06 00:51:39 +01:00
Matthias Koefferlein
f604d149b5
WIP: next part of region refactoring.
2018-11-05 00:32:04 +01:00
Matthias Koefferlein
7062c4acf5
WIP: next part of region refactoring.
2018-11-05 00:25:16 +01:00
Matthias Koefferlein
5a5051b0dd
WIP: second part of region refactoring.
2018-11-04 23:26:08 +01:00
Matthias Koefferlein
54945105ef
WIP: first part of region refactoring.
2018-11-04 22:56:08 +01:00
Matthias Koefferlein
17f53cf54e
WIP: some performance improvements, cronology debugging support (experimental)
2018-11-03 12:28:27 +01:00
Matthias Koefferlein
863144603c
Fixed MSVC builds ...
2018-10-22 23:48:15 +02:00
Matthias Koefferlein
58239650aa
Fixed pymod initialization for Python 2
...
Python 2 is a bit more picky with respect to
the correct name of the module. If passing "db"
to a module called dbcore, it will exit with
a SystemError.
2018-10-22 23:28:55 +02:00
Matthias Koefferlein
a25db86046
Fixed pymod.pri for Linux builds.
2018-10-22 21:25:53 +02:00
Matthias Koefferlein
b80ce12c12
Some refactoring to fix qmake-based pymod builds
...
- Unify structure of Python module sources so the pymod.pri can be used for all modules
- switch to tlcore, dbcore and rdbcore + distutils_src wrapper modules
2018-10-22 20:53:49 +02:00
Matthias Köfferlein
1150ffbbb1
Merge branch 'pymod' into pymod-splitting
2018-10-22 18:15:02 +02:00
Matthias Koefferlein
d67a50bd1d
Fixed #176 by introducing a separate bitmap for text drawing optimization.
2018-10-20 09:53:25 +02:00
Matthias Koefferlein
dc9267d61e
WIP: updated solution
...
* Reverted first solution partially because it lead to drawing errors.
* Redraw thread will fire workers only for layers that really need
to be drawn
2018-10-20 09:53:07 +02:00
Matthias Koefferlein
46116f4828
Basic performance improvement in the bitmap to image area
...
Empty bitmaps are skipped now
2018-10-20 09:52:35 +02:00
Thomas Ferreira de Lima
c1dbb023ae
fixing editable install 'python setup.py develop'
2018-10-19 19:09:20 -04:00
Thomas Ferreira de Lima
c3ab951c8a
passing python unit tests
2018-10-19 19:02:38 -04:00
Thomas Ferreira de Lima
87a49007ff
Fixing distutils_src folder structure due to setuptools bug
...
Also: adding PCellDeclarationHelper to klayout.db
2018-10-19 18:53:37 -04:00
Thomas Ferreira de Lima
d3fa4465f6
Renaming core modules to klayout.dbcore, klayout.rdbcore and klayout.tlcore
2018-10-19 17:55:56 -04:00
Matthias Koefferlein
8ab4868d76
Fixed build on Windows (tl::InputPipe::wait was missing)
2018-10-16 23:00:28 +02:00
Matthias Koefferlein
62224b0d91
Merge branch 'pymod' into net-extract
2018-10-14 23:57:18 +02:00
Matthias Koefferlein
90c03140b3
Fixed #185 for pymod branch
2018-10-14 23:42:10 +02:00
Matthias Koefferlein
dd9d46da38
Activated stream unit tests.
2018-10-14 23:34:25 +02:00
Matthias Koefferlein
3392c08d36
Merge branch 'pymod' into net-extract
2018-10-09 23:43:58 +02:00
Matthias Koefferlein
904a12c11e
Added a way to get the exit code from InputPipe
...
The method is to call wait() on the pipe object
which returns the exit code.
Some tests have been added for this.
2018-10-09 23:40:28 +02:00
Matthias Koefferlein
7df9242efb
Merge remote-tracking branch 'origin/pymod' into pymod
2018-10-09 23:00:30 +02:00
Matthias Koefferlein
222b98fd70
Some fixes for the testsuite
...
With these fixes, unit tests pass with MacOS
(set DYLD_LIBRARY_PATH!)
1.) MacOS takes popen vs. pclose seriously
By using fopen we basically spoil the system and other popen
won't work.
2.) For system integrity, MacOS does not propagate DYLD_LIBRARY_PATH
to child processes such as sh. This has to be done explictly.
3.) Search the klayout binary in the right path (klayout.app/...)
4.) Reset KLAYOUT_HOME for less intervention by installed macros
2018-10-09 13:57:26 -07:00
Matthias Koefferlein
19a3f19378
Removed some misleading comments.
2018-10-09 21:24:23 +02:00
Matthias Koefferlein
70778e9414
Now also fixed the bd unit tests - there are also independent from the streamer plugins now.
2018-10-09 01:12:58 +02:00
Matthias Koefferlein
f0661ba0b3
Some wrong header includes fixed.
2018-10-09 00:35:03 +02:00
Matthias Koefferlein
a7846ead9f
Add-on to previous commit: fixes some Python issues
...
The comments for LoadLayoutOptions#layer_map, #cif_layer_map
and #dxf_layer_map have been updated to reflect the new status
of these properties (which have been methods). The tests
are updated accordingly (layer_map() -> layer_map).
2018-10-09 00:18:45 +02:00
Matthias Koefferlein
db981b0f7d
A huge patch to make Windows build functional again after recent updates
...
The issue was: for MacOS/clang, the virtual format-specific
option structs had to be embedded in one compile unit (for RTTI).
In Windows this will lead to link errors since the DLL is not
reachable at build time for the generic reader/writer configuration in
the buddy tools.
The solution is to use GSI methods (provided for scripting) to
set the reader/writer options in a generic way that does not
require linking against the plugin DLLs.
2018-10-08 23:31:22 +02:00
Matthias Koefferlein
121ec46390
Attempt to introduce multithreading into hierarchical processor
...
However, performance does not scale well currently.
2018-10-08 00:10:54 +02:00
Matthias Koefferlein
35e03c5f95
Added one more testcase.
2018-10-07 16:56:14 +02:00
Matthias Koefferlein
0bb45dd092
WIP: some refactoring.
2018-10-06 23:59:47 +02:00
Matthias Koefferlein
2fa0d21615
Added self-overlap-with-sizing tests.
2018-10-06 22:25:24 +02:00