-
Notifications
You must be signed in to change notification settings - Fork 210
/
Changelog
3611 lines (3444 loc) · 209 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
0.29.10 (2024-12-03):
* Bug: %GITHUB%/issues/1941 Crash with the navigator open
* Bug: %GITHUB%/issues/1942 Syntax error in pyi stubs
As a bonus, added defaults for Box#enlarge and Box#enlarged (dx, dy)
* Bugfix: Partial mode snapping now is object first, then grid
* Bugfix: Key bindings have not been properly read from the configuration file
The change in the configuration string structure triggered an old bug:
Toolbar buttons had a twofold configuration and only the last one was
considered. Changing the order of the entries could spoil the configuration.
0.29.9 (2024-12-01):
* Bug: %GITHUB%/issues/1907 Locking layouts against modification during recursive iteration of instances and shapes
This prevents crashes in write-white-iterating scenarios
* Enhancement: %GITHUB%/issues/1923 Convenience versions of "move", "moved" on various objects
* Bug: %GITHUB%/issues/1925 Problem with import of MAGIC files
* Enhancement: %GITHUB%/issues/1934 (partial) shapes are instances are not selected when they exceed the viewport
This avoids selecting large background objects my mistake and then
moving them without noticing.
* Bug: %GITHUB%/issues/1930 Selection of structures results in thick black lines
* Enhancement: An experimental feature: EdgeNeighborhoodVisitor
* Enhancement: Edge pairs support transformation with Matrix3d now
* Enhancement: Trying to create a category in a RDB with an existing name will return the present one
* Bugfix: Typos fixed in manual
* Bugfix: Status bar was not cleared when the selecting is empty
* Bugfix: Texts cannot be selected now when they are turned off in the layout view
* Bugfix: Some icons were missing - for example in the netlist browser
* Bugfix: By default, layer properties are not initialized with the default when no .lyp file is specified in a technology
You can turn this feature off by disabling the "Initialize other layers with default properties"
option on the techology's "General" page.
* Bugfix: More consistent handling of special paths (like data: URLs) for technology components
* Bugfix: Improve snapping in partial mode when snapping to objects
* Enhancement: Supporting "Move by" after "Clone interactive"
* Enhancement: Key bindings and menu visibility is now formatted for better readability
Now, there is one line per entry in the configuration file and the
entries are sorted with the important ones first.
* Enhancement: New export option "Copy to clipboard" in the "Search and Replace" result list
* Enhancement: Showing "select" expressions in the header row of the "Search and Replace" result list
* Enhancement: Configuration options for the transient selection markers
Now it is possible to configure transient selection differently from
static selection (line style, fill)
* Bugfix: Fixing a problem with slow transient selection in edit mode
* Enhancement: Layout#read_bytes and Layout#write_bytes
0.29.8 (2024-10-20):
* Enhancement: %GITHUB%/issues/1869 Adding a new option, -to or --top-output to strmxor
* Bug: %GITHUB%/issues/1870 Do not allow editing on invalid layers
* Bug: %GITHUB%/issues/1874 Crash when copying a cell to another layout
* Bug: %GITHUB%/issues/1877 Rounding introduces DRC error in LEF/DEF via
* Bug: %GITHUB%/issues/1880 Enhancing GDS2 writer float conversion such that less rounding occurs
* Bug: %GITHUB%/issues/1885 --subst-char option in strm2oas was not accepting "do not substitute"
* Bug: %GITHUB%/issues/1886 Small documentation fix
* Bug: %GITHUB%/issues/1887 Small documentation fix
* Bug: %GITHUB%/issues/1899 Adding global operators for QPoint on Qt6 and more
* Enhancement: %GITHUB%/issues/1900 Help/about dialog content selectable
* Bug: %GITHUB%/issues/1902 Two potential memory issues fixed
* Bugfix: LEF/DEF reader recognizes existing layers by name now
This happened to be an issue if you were reloading a LEF/DEF layout as
name layers got added as duplicates.
* Bugfix: In DRC, with '@+' as target layout, maintain the original active cell view
This way, DRC can be re-run on the original layout, but each time generating a new output cellview.
0.29.7 (2024-09-22):
* Bug: %GITHUB%/issues/1864 Copy & paste allows creating a recursive hierarchy
* Bug: %GITHUB%/issues/1860 A bug about layer undo
* Bug: %GITHUB%/issues/1857 Crash when closing application with property dialog open
* Bug: %GITHUB%/issues/1853 Cell.write and Layout.write are very slow on Windows if there are gigantic polygons in the cell
* Bug: %GITHUB%/issues/1847 Little problem with File::Setup/Application::Customize Menu
* Bug: %GITHUB%/issues/1840 "start" and "finish" became reserved names in PCells in version 0.29.5
* Enhancement: %GITHUB%/issues/1836 Allow the usage of Cell.shapes(LayerInfo(...))
* Bug: %GITHUB%/issues/1835 Single PCell file cannot be read
* Bug: %GITHUB%/issues/1832 Netlist device combination / simplify requests
* Enhancement: Print file name before warnings and add to errors (good when reading multiple files from command line)
* Bugfix: Disallow empty filenames or writing to directories as this has severe side effects
* Bugfix: Further trying to improve stability when debugging PCells in the IDE (still not perfect)
* Enhancement: More variants of Layout#properties_id, added Layout#properties_hash and Layout#properties_array
* Enhancement: DRC - more variants for Layer#insert, such as Texts and integer-type shapes
* Bugfix: Properties dialog did not apply some changes when switching the object node
* Bugfixes: Mute diagnostic warnings on Python 3.12 debug builds, fixed a potential crash during Python module cleanup
* Bugfix: Fixed a crash in the properties editor happening while selecting object type nodes in certain cases
* Enhancement: Cleaned up and enhanced documentation of LayoutToNetlist class
* Enhancement: Less agressive polygon splitting in deep mode DRC/LVS by default
"max_area_ratio" can be a negative value now, which means that skinny diagonals
are not split into a large number of triangles. This is the default.
0.29.6 (2024-08-15):
* Bug: %GITHUB%/issues/1814 Application freezes on Ctrl+Select
* Bug: %GITHUB%/issues/1816 interacting operation between EdgePairs and Region (or edges)
EdgePair layers in DRC can now tested for interacting with edges and polygons
(includes: inside, outside). New methods for EdgePairs: EdgePairs#inside etc.
* Bug: %GITHUB%/issues/1819 Discrete soft small rendering
* Bug: %GITHUB%/issues/1823 "Select all" was not working as expected for texts, API "select_all" was not working at all.
* Bugfix: Typo: ParameterState#icon was named 'tooltip'
* Enhancement: Allowing RBA::Net objects for DRCLayer#nets as well
* Enhancement: const versions of Layout#cell and Layout#top_cell(s)
* Enhancement: Generic GSI method and #_const_cast to make a const
reference into a non-const one (use with care)
* Bugfix: 'netter' function in DRC wasn't working as described - it raised an error
* Enhancement: Provide a warning message when closing the window while an operation is ongoing
* Bugfix: Avoid a segfault in the property editor due to invalid array access
* Bugfix: Properties dialog: stop handling 'Enter' key - use 'Ok' to close it
* Enhancement: Some improvements on Ascend and Descend:
- Ascend now walks up the unspecific tree too
- Descend enters cell if selected transiently
- New feature "Descend into" which also selects the child cell
as current top
0.29.5 (2024-07-30):
* Bug: %GITHUB%/issues/1784 Spice throws error at midline semicolon comments
* Enhancement: %GITHUB%/issues/1790 Support for recursive PCell instances
* Bug: %GITHUB%/issues/1804 Instantation path highlight mismatch with view window
* Bug: %GITHUB%/issues/1768 Change "angle constraint" of box and ellipse ruler templates to "any angle" by default
* Enhancement: %GITHUB%/issues/1776 Undo/redo from List
* Enhancement: %GITHUB%/issues/1779 Marker Browser: make the state of the "By Cell" or "By Category" tree persistent
* Bug: %GITHUB%/issues/1799 Can't set cell properties by script
* Bug: %GITHUB%/issues/1794 MetaInfo with (gigantic) size makes klayout write a faulty gds
* Bug: %GITHUB%/issues/1793 inconsistent results in width_check when calling by keyword argument
* Bug: %GITHUB%/issues/1782 Internal error on "nan" values in PCells
* Enhancement: GDS2 writer now observes limitations of the file format
and raises more errors on value over- or underflows. This should specifically
avoid issues writing certain large arrays which are legal inside KLayout, but
illegal in GDS2.
* Bugfix: Small bugfix: 'Delete selected stacks' was not working from stack tech component editor's context menu
* Enhancement: Trying to improve "grab" behavior of partial selection.
In certain situations is was difficult to grab the partial selected edges.
Instead other edges would be selected. Now, it is enough to click inside the
bounding box of the partial selection.
* Bugfix: Including more GeneratorExit and StopAsyncIteration in the ignored exceptions for Python.
These exception now do not make the debugger stop any longer.
* Bugfix: Properly transferring ownership for variant to Python/Ruby translation.
This is required for some Python and Ruby bindings, when objects are
transferred through generic arrays.
* Enhancement: Added Region#being_shapes_rec and Region#begin_merged_shapes_rec.
Mainly for being able to retrieve shapes with properties from Region#nets
* Enhancement: Convenience methods Shape#properties, Layout#properties, Cell#properties, Instance#properties.
These method will obtain all properties as a hash.
* Enhancement: Added Netlist#top_circuit and Netlist#top_circuits convenience methods.
These methods will deliver the single top circuit or a list of top circuits.
* Enhancement: "Copy cells" now has an option to mute the dialog (shallow/deep)
and the dialog is only shown if there are subcells
* Enhancement: Added Shapes#break_polygons, Layout#break_polygons, Region#break_polygons.
These methods split large polygons into smaller pieces.
0.29.4 (2024-07-08):
* Bug: %GITHUB%/issues/1780 Crash on deleting multiple selected shapes or items
0.29.3 (2024-07-06):
* Bug: %GITHUB%/issues/1774 ImportError: cannot import name '__version__' from 'klayout'
* Bug: %GITHUB%/issues/1771 Python exception formatting: backtrace missing for Python >=3.11.7
* Bug: %GITHUB%/issues/1757 Fixed memory issue
* Enhancement: %GITHUB%/issues/1756 Configure timeout for HTTP(S) requests
A new environment variable has been introduced to configure the
HTTP(S) timeout: KLAYOUT_HTTP_TIMEOUT (timeout value in seconds,
default is 10s)
* Bug: %GITHUB%/issues/1769 Typo fixed
* Bug: %GITHUB%/issues/1751 Code sanity issue fixed
* Bug: %GITHUB%/issues/1750 Code sanity issue fixed
* Enhancement: %GITHUB%/issues/1747 Transformations on negative floats/ints
* Bug: %GITHUB%/issues/1743 strmxor shows no difference, klayout xor shows 85
* Enhancement: %GITHUB%/issues/1741 Tooltip strings for PCell parameters
* Bug: %GITHUB%/issues/1733 Instance selecion in object properties does not match with view port object highlight
* Enhancement: %GITHUB%/issues/1655 Marker object lifetime management
* Enhancement: DRC - step-wise size with "inside" and "outside" constraint
This feature is handy for implementing latch-up rules more efficiently.
* Bugfix: OASIS reader - avoiding slight rounding of DBU In python read/write cycle (discussion-2526)
* Bugfix: Proper tracking of references of RecursiveShapeIterator.
Related to issue #1742, but not directly.
* Bugfix: Symlinks in the salt paths might have lead to macro duplication
* Bugfix: Ruby binding - "return" inside block was behaving like "break".
Now, "return" will leave the current function.
* Enhancement: LVS layer naming now also accepts an optional layer/datatype information.
* Enhancement: XOR performance enhanced in deep mode for "almost same" inputs.
* Bugfix: Macro debugger now does not prevent paint events and
screen refresh should work while debugging. In addition, the debugger
does not deadlock the desktop when using the help browser's search
function. Side effects are yet unknown - maybe debugging Qt event
handlers now becomes less stable.
Issue #1770 addresses a problem introduced during this effort and also
fixed in this release.
* Bugfix: During modal dialogs, the debugger's run/stop and step buttons were not working.
* Enhancement: DRC size/sized now also accepts sizing mode as string.
For example "layer.sized(1.um, 'square_limit')" will work now.
Previously, this argument has been ignored. This will make the GF180 DRC deck work properly.
0.29.2 (2024-06-06):
* Enhancement: %GITHUB%/issues/1724 Don't read duplicate LEF files
* Bug: %GITHUB%/issues/1722 [macOS] Crash when opening layout having Custom Macro Menus
* Enhancement: %GITHUB%/issues/1721 Feature request: send results from a query to selection
* Enhancement: %GITHUB%/issues/1719 Small LVS issues
* Enhancement: %GITHUB%/issues/1710 Feature request: create separate cell for def FILL
* Bug: %GITHUB%/issues/1709 Problem displaying multiple text labels with same x value
* Bug: %GITHUB%/issues/1706 [macOS] User Properties Dialog Crashes
* Enhancement: %GITHUB%/issues/1701 Feature request: strm2oas should report input unit differences
* Enhancement: Methods to obtain representative shapes of subcircuit pin and terminals, i.e.
LayoutToNetlist#shapes_of_pin, LayoutToNetlist#shapes_of_terminal.
* Enhancement: Some enhancements in the Ruby/Python area like better messages in case
of argument mismatch errors and better handling of default values for enum arguments.
* Enhancement: LayoutToNetlist#layer_indexes, LayoutToNetlist#layer_info (convenience)
* Enhancement: blend-mode 0 (aka AddToCell) now does not generate instance duplicates
* Bugfix: Some bug fixes on macro IDE: deleted macros do not become "zombie tabs" for example
0.29.1 (2024-05-04):
* Enhancement: %GITHUB%/issues/1700 Porting 2.5d view for compatibility with OpenGL 3.0 for better support on other platforms
This however comes with a larger memory footprint during rendering. Something to fix later.
* Bugfix: %GITHUB%/issues/1696 Cannot read LVS or L2N report with generic devices
* Bugfix: %GITHUB%/issues/1691 LVS soft connections: making a soft connection to a device terminal disconnects the device
* Bugfix: %GITHUB%/issues/1683 Spice reader accepts circuits without definition but pins get shorted
* Bugfix: %GITHUB%/issues/1681 Spice reader ".endl" should accept lib name
* Bugfix: %GITHUB%/issues/1679 Update sample macros for migration to Qt6
* Enhancement: %GITHUB%/issues/1678 Qt major version-wise Assistant
* Bugfix: %GITHUB%/issues/1671 Search and replace: Delete instances crashes KLayout
* Enhancement: %GITHUB%/issues/1666 'Visibility Follows Selection' option for the 2.5d view
* Bugfix: HTTPS timeout included time to enter password
So you had 10 seconds max. to enter your password :(
* Bugfix: marker and net browser windows did not get closed when clicking on close icon
* Bugfix: "duplicate interactive" now also working for rulers
* Enhancement: "upcase", "downcase" functions for expressions
* Enhancement: DRC features to reduce coding effort for certain rules
- New options for "corners": 'absolute' and 'negative' options
- New options for with/without_angle: 'absolute' option.
* Bugfixes: SPICE reader
- now detects recursive circuit calls
- skips empty top level circuit now, which did not happen when
control statements were present at top level
* Enhancements: DRC report category formation:
- "output" will add shapes to a category is the category name was
used before
- "output" accepts an array of names for the category name, creating
a sub-category hierarchy
* Enhancement: Enhanced handling of cell variants in DRC reports
Now, cell variants are listed with the original cell name and
a description of the variant formation.
* Enhancement: Marker browser enhancements and RDB API
- items can be added comment strings now.
- "info" and "save" function in marker database browser File menu
- file name shown in RDB selection drop-down
* Enhancement: DRC waiver concept
KLayout now includes a way to store waive flags along with RDB databases.
A waiver DB is nothing else than a report database file annotated with
waive flags and other attributes like comments, images etc.
For details see documentation under "DRC Basics".
New functions in marker browser:
- apply waiver DB
- save as waiver DB
* Enhancement: Editor hooks
This feature allows dynamically annotating shapes while
they are edited. This feature is somewhat experimental as of now.
See "EditorHooks" class for an example.
0.29.0 (2024-04-01):
* Enhancement: %GITHUB%/issues/1662 Strong default grids
* Enhancement: %GITHUB%/issues/1656 Display-->Goto Position dialog should accept + as well as - for number prefixes
* Bugfix: %GITHUB%/issues/1651 Errors when adding polygons with 4 points
* Bugfix: %GITHUB%/issues/1644 DRC: some issues with edge layers
* Bugfix: %GITHUB%/issues/1643 DRC: Feeding the same layer to two-layer operations in deep mode does not render the desired result
* Enhancement: %GITHUB%/issues/1638 let klayout marker browser read strmxor .. xor.gds.gz, xor.oas result files
* Enhancement: %GITHUB%/issues/1637 XOR optimization for prBoundary layer
* Bugfix: %GITHUB%/issues/1632 rdb python/ruby module: modifing items not possible as they are const
* Enhancement: %GITHUB%/issues/1598 LVS - Support for Soft Connections
* Bugfix: %GITHUB%/issues/1586 Refactoring transformation conversion functions for complex transformation
* Enhancement: %GITHUB%/issues/1583 Add possibility to customize main window title
* Enhancement: %GITHUB%/issues/1513 Update Qt version for Qt bindings to 5.12.12 and 6.2.1
* Bugfix: %GITHUB%/issues/1356 Instance Property form: Array Instance col/row would be more intuitive then the current row/col
* Enhancement: New ruler type "auto measure along edge"
* Enhancement: Trigger ruler measurement on mouse hovering transiently
* Enhancement: Min and max value bounds for PCell parameters in editor
The condition is not strictly enforced - for example it is not checked when
changing parameters programmatically. For that, use "coerce_parameters".
Still, this feature is an editing aid.
* Bugfix: Pixel garbage in color selector button with "Auto" color selected
* Bugfix: DRC/LVS - connect_explicit did not accept an array of nets as single argument
* Bugfix: 'edge outside polygon' now consistently ignores the border of the polygon
* Bugfix: Warning level was ignored for some warnings in LEF/DEF reader
* Bugfix: Netlist reader: anonymous circuits are not checked for known parameters
* Enhancement: LVS - Supporting remote must-connect connections
So far, must-connect connections had to be made one level up in the hierarchy
or promoted further using labels and such. Now, must-connect connections
can be made at any point up in the hierarchy.
* Bugfix: LVS - do not waste too much time analyzing failed matches
* Enhancement: LVS - LVS: Consider net names identical that differ
in signal type suffix only - e.g. 'NET:I' is identical to 'NET'
* Enhancement: OASIS reader will produce layers that are listed in layer table
but empty. Previously, empty layers were never created, even if listed in
the layer table.
* Enhancement: Reading from HTTP streams and pipes now supports automatic .gz uncompression
* Enhancement: New DRC Features
- "edges" method allows selecting convext/concave/step edges
- Interaction count for edge/edge edge/polygon "interacting"
- Improved handling of dots (degenerated edges) - these are now
passed through the edge/edge and edge/polygon booleans and
participate in "interact". This enables selecting corners and
using them to select edges.
* Enhancement: New RBA/pya Features
- Main window title: MainWindow#title (property)
- MainWindow#synchronous (getter added)
- LayoutView#is_dirty?
- Triangulation: Region#delaunay
- Quality rasterizer: Region#rasterize
- Generic edge and polygon filters and operators support hierarchical processing
with Python or Ruby callbacks: classes EdgePairFilter, EdgePairOperator,
EdgePairToPolygonOperator, EdgePairToEdgeOperator, EdgeFilter, EdgeOperator,
EdgeToPolygonOperator, EdgeToEdgePairOperator, PolygonFilter, PolygonOperator
PolygonToEdgeOperator, PolygonToEdgePairOperator, TextFilter, TextOperator,
TextToPolygonOperator
Methods: EdgePairs#filter, EdgePairs#filtered, EdgePairs#process, EdgePairs#processed,
same for Edges, Regions and Texts
- Polygon#split, Polygon#break, same for DPolygon, SimplePolygon, DSimplePolygon
- Keyword arguments for Python, Ruby and Expressions
- You can now also use "klayout" package inside the application (same code
for Python module and application) - i.e. "import klayout.db"
- Synonyms: connect/disconnect for events for better compatibility with PyQt5
0.28.17 (2024-02-16):
* Enhancement: %GITHUB%/issues/1626 Technology specific grids
0.28.16 (2024-02-12):
* Bugfix: %GITHUB%/issues/1623 Package installation with "-y" from command line does not work for URL or file
* Bugfix: %GITHUB%/issues/1619 Segfault on Fedora-39 with Python 3.12.1
* Bugfix: %GITHUB%/issues/1618 Leaking Python reference causing trouble with iterators
* Bugfix: %GITHUB%/issues/1616 DRC doc typo
* Bugfix: %GITHUB%/issues/1614 LEF/DEF .map should not map boundaries and fill to ALL purpose
* Bugfix: %GITHUB%/issues/1609 Cell.read doesn't read LayoutMetaInfo
* Bugfix: %GITHUB%/issues/1608 CustomResistorExtraction: show faulty device in GUI
* Bugfix: %GITHUB%/issues/1603 Weird parameter dialog resizing when hiding / showing many parameters at once with callback_impl
* Bugfix: %GITHUB%/issues/1602 [Qt6] Cannot normally quit the main application window
* Bugfix: %GITHUB%/issues/1594 "connect" (in flat mode) + multiple top cells give an error message
* Bugfix: %GITHUB%/issues/1592 DXF file parsing error, about spline curve
* Enhancement: DRC enhancements related to touching edges
- New DRC function switches: "without_touching_corners", "without_touching_edges"
to skip width and space errors at kissing corners and touching-edge configurations
- Kissing corners are now detected also in non-collinear edge configurations
* Bugfix: fixed rendering of color selection buttons on High-DPI screens
* Bugfix: cross-hair cursor should not use selection default line width and styles
* Enhancement: OASIS reader errors out on broken OASIS with duplicate CELLNAMEs
0.28.15 (2024-01-04):
* Bugfix: %GITHUB%/issues/1578 Missing strm2*.exe in the Windows portable binary package (*.zip)
* Enhancement: %GITHUB%/issues/1569 Make "toggle (selected) layer" key-bindable
- Plus feature: "visibility follows selection"
* Bugfix: %GITHUB%/issues/1565 quit() raises an error in KLayout Python Console
* Bugfix: %GITHUB%/issues/1556 Cannot shrink Marker Browser window
* Bugfix: %GITHUB%/issues/1539 Misleading description in 'Flatten Cell'
* Enhancement: Supporting UCRT runtime option in MSYS2 deployment
* Bugfix: DRC, LVS and other higher-level functionality now supported on 64 bit coordinate builds
* Bugfix: initial tip dialogs appear on same screen than application
* New binaries:
- Windows binaries now include UCRT (64 bit) and 64 bit coordinate versions
- RockyLinux 9 RPMs included
0.28.14 (2023-12-08):
* Bugfix: %GITHUB%/issues/1563 Duplicated Tabs in the Macro Development Tool
* Bugfix: %GITHUB%/issues/1560 git+https package installation on windows fails
* Bugfix: %GITHUB%/issues/1559 (partial) Move function not respecting some diagonals
* Bugfix: %GITHUB%/issues/1549 Layout.error_layer now available in recursive shape search
* Bugfix: %GITHUB%/issues/1542 KLayout crashes on exit
* Enhancement: %GITHUB%/issues/1535 Support pathlib.Path in Python API
Implicitly converts objects to strings using "str(object)" (Python) or "object.to_s" (Ruby).
* Bugfix: %GITHUB%/issues/1533 KLayout crashing with two consecutive calls of the same LayoutView::show_layout command
* Bugfix: %GITHUB%/issues/1531 When symlinking a .def to a target without .def suffix, file can't be loaded
* Enhancement: %GITHUB%/issues/1530 polygon from 2 size tuple points
The effect of this feature is pretty basic: tuples or lists are used as constructor
arguments for implicitly creating an object in place of them. Hence, "(x,y)" can be
used instead of a vector or a point. In some cases, this leads to ambiguities and
the implicit resolution will fail however.
Specifically a list of size-2 tuples can be passed to the "points" arguments of
Polygon and Path.
* Enhancement: %GITHUB%/issues/1528 LEF: Implement LEF58_WIDTHTABLE
* Enhancement: new methods (D)Edge#euclidian_distance and (D)EdgePair#distance
* Bugfix: package download dialog: mute an assertion, less questions for re-running macros
* Enhancement: reading $KLAYOUT_GIT_PROXY_HTTP for proxy URL in Git downloads
* Bugfix: cheats were not enabled for edges and (implicit) polygon merges such as for "sized"
* Bugfix: more consistent behavior for Marker Browser / Scan Shapes
- Scan Shapes Hierarchical will scan from current cell, not all cells
- Marker browser shows markers propertly also in descended mode
- Marker database description of shown in selection box
* Bugfix: Search feature in macro editor does not jump back to first position
* Bugfix: "Trace All Nets"
- Asks for stack now in case of multiple stacks (previously: took that from "Trace Nets" dialog)
- Skips symbols which are not used (previously: extracted them as disconnected layers)
0.28.13 (2023-11-20):
* Bugfix: %GITHUB%/issues/1534 Layout::dup does not copy properties
* Bugfix: %GITHUB%/issues/1533 KLayout crashing with two consecutive calls of the same LayoutView::show_layout command
* Bugfix: %GITHUB%/issues/1532 DRC checks give incorrect results in deep mode with magnified instances
* Enhancement: %GITHUB%/issues/1527 Marker Database Browser: add context menu to Info widget
* Bugfix: %GITHUB%/issues/1522 Changing ruler/annotation from script weirdly interferes with pya.Application.commit_config
* Enhancement: %GITHUB%/issues/1514 Package manager: Support for Git-hosted packages
* Bugfix: %GITHUB%/issues/1512 "get_image" of LayoutView should also work on inactive views
* Bugfix: %GITHUB%/issues/1511 Typo
* Enhancement: %GITHUB%/issues/1510 Cross hair cursor
* Bugfix: %GITHUB%/issues/1503 Import LEF/DEF - LEF files given in list are ignored for DEF import
* Bugfix: %GITHUB%/issues/1499 strm2oas: support LAYER <layername> TYPE OVERLAP ; for L-shaped abstracts
* Bugfix: %GITHUB%/issues/1486 Invalid error "Some macros are configured to run automatically" when changing reader options
* Bugfix: %GITHUB%/issues/1485 Incorrectly set output cell name if using DRC::cell
* Bugfix: %GITHUB%/issues/1482 Strict mode oasis should write the S_CELL_OFFSET into the CELLNAME table
* Bugfix: %GITHUB%/issues/885 Must-connect checks in LVS
* Bugfix: -without-qt builds did not include DRC or LVS
* Enhancement: Added Layout#error_layer
* Enhancement: Option -k for copying log to a file
* Enhancement: Editor option to control snapping to grid while moving
This controls whether objects are snapped to grid (on) or moved in grid
increments (off)
0.28.12 (2023-09-12):
* Bugfix: %GITHUB%/issues/1477 Macro IDE: changing the colors does not have an effect
* Bugfix: %GITHUB%/issues/1474 Throw a FATAL ERROR when multiple cellname have the same refnum
* Bugfix: %GITHUB%/issues/1473 Ignore 'Summarize missing layers' when sending XOR result to other layout)
* Bugfix: %GITHUB%/issues/1472 DEF path with first/last segment length < halfwidth are read wrong
* Bugfix: %GITHUB%/issues/1471 Make warning about 'FOREIGN differs from MACRO name' more informative
* Bugfix: %GITHUB%/issues/1470 DEF pinname VDD.extra1 should be written as VDD TEXT in gds/oasis
* Bugfix: %GITHUB%/issues/1465 (maybe fixed) DRC crash at end of script
* Bugfix: %GITHUB%/issues/1464 Layout#get_info and Layout#set_info not longer segfault on wrong layer index
* Bugfix: %GITHUB%/issues/1460 CellRename dialog is larger now initially
* Enhancement: %GITHUB%/issues/1307 (partial) Produce UNPLACED macros if location is provided
* Enhancement: New aliases for inline operators (e.g. "+=") in RBA::Region and similar classes
Reasoning is that "+=" in Ruby is resolved into "+" and "=" which does not make
use of the inline optimization. Using "join_with" instead will avoid this. Other alias:
"join" for "+", "and" for "&", "and_with" for "&=", "not" for "-", "not_with" for "-=",
"or" for "|", "or_with" for "|=", "xor" for "^" and "xor_with" for "^=".
* Bugfix: Deep region 'transform' with plain shift was not working properly with scaled instances
* Bugfix: Re-run of include-expanded DRC/LVS wasn't working
* Bugfix: Proper Python stack trace in debugger for Python 3.10
* Enhancement: Allowing to select cells by error markers too (so that PCells with errors can be selected)
* Bugfix: Avoid a segfault in the properties dialog
* Enhancement: Crash log now is shown in a more reliable way - but less fancy.
In addition, a crash log is written 'klayout_crash.log' in the home path
and the crash message is printed to error.
* Bugfix: Don't clear search when switching macro editor pages
* Enhancement: Macro editor file change notification now also is no longer a modal window
* Enhancement: Macro editor does not list __pycache__ directories
* Enhancement: Pick a tab in Macro editor from the context menu of tab bar
* Bugfix: Moving a text with a non-centered vertical alignment now uses the right location
* Enhancement: 'Copy interactive' will maintain selection
* Enhancement: Better integration of partial mode - for example 'interactive move' now also acts on partial selection
* Bugfix: Cleanup after deleting cells in partial mode - no new top cells appear
* Enhancement: Package manager
- Do not update macros while installing: avoids transient error messages
- Offer to autorun macros also after package update (so far only on package new installation
* Bugfix: Fixed a issue with the search box on the macro editor
when switching to the replace text box, focus was passed to the text editor instead
* Enhancement: CIF reader progress now functional
* Enhancement: Some speedup while sorting instances
* Bugfix: LayoutView does no longer need processEvents when saving an image to PNG
0.28.11 (2023-08-09):
* Bugfix: %GITHUB%/issues/1307 (partial) LEF/DEF PIN labels are taken from NET, not PIN name
* Bugfix: %GITHUB%/issues/1415 GDS2 files with meta info are not read by old versions of KLayout
* Bugfix: %GITHUB%/issues/1422 DXF file parsing error, about spline curve
* Bugfix: %GITHUB%/issues/1425 Python Binding / Layout / find_layer broken for layer "name"
* Bugfix: %GITHUB%/issues/1428 Feature request: "%include" in macros should allow including XML files too
* Bugfix: %GITHUB%/issues/1430 Add option to filter out geometric primitives from Marker Database Browser Info widget
* Bugfix: %GITHUB%/issues/1432 strm2oas def ignores path segment after + VIRTUAL + RECT
* Bugfix: %GITHUB%/issues/1433 Fix def syntax error in testdata/lefdef/viasize2/test.def
* Bugfix: %GITHUB%/issues/1453 Zoom (in) function with selected layers significantly slower in newer releases
* Enhancement: %GITHUB%/issues/1438 Provide a configuration option to switch back to old-style text selection (at origin only)
* Enhancement: %GITHUB%/issues/1440 Relative margin for Marker Database Browser
* Enhancement: %GITHUB%/issues/1441 Support for label position in Marker Database Browser
* Enhancements:
- Add a default extension to file names unless one is given
- Selection on partial mode enhanced: allow selection of edge
ends if edges overlap, graphical indicator for selected partial
- Wheel events do no longer change Combo Box selections
- DRC/LVS: log output overhead reduced for faster execution in
small layout cases
- Added RBA::Image/pya.Image constructor taking QImage and PixelBuffer
- Point objects are native citizens now of the database and act as
representatives for handles, better editing and visualization of
the latter
- Macro editor has "find previous" button now
- Mitigate the effect of overriding a globally-defined technology
with -nn on the command line by creating tech variants
- LEF/DEF map files now allow LEFPINNAME and PINNAME purpose to
map pin labels in a more consistent way
* Bugfix:
- Tilde expansion wasn't working for layout write
- Python specific API documentation did not mention disambiguation
for property/method ambiguity
- Python error messages are more readable and contain the exception
class
- PCell layer-type parameters did not work without a default value
- Point-like PCell handles now cannot be spoiled any longer in partial
mode
- "Duplicate" was also duplicating cells or layers depending on the
scope which was irritating. Now it's confined to geometry
- DRC/LVS logs list the correct line also with include files
- "report" wasn't working in DRC/LVS scripts for scripts only using
external sources
- Fixed a potential segfault on application exit
- Enhancements to the macro editor's search & replace function -
"replace and search next" wasn't working properly and other flaws
0.28.10 (2023-07-05):
* Bugfix: %GITHUB%/issues/1397 LayoutMetaInfo serialization/deserialization problem
* Bugfix: %GITHUB%/issues/1404 Better support for editing mode in Qt-less LayoutView
* Bugfix: %GITHUB%/issues/1407 Clip functions do not support polygons with holes
* Bugfix: %GITHUB%/issues/1409 Text edit issue (internal error)
* Enhancements:
- Made 'time' parameter optional for MainWindow#message
- strmxor performance with --deep enhanced
0.28.9 (2023-06-10):
* Enhancement: %GITHUB%/issues/1281 Layout diff can ignore shape or instance duplicates
* Bugfix: %GITHUB%/issues/1393 GDS2Text format not supported in Python module
* Bugfix: "add meta info" did not take "persisted" flag
* Enhancement: "profile" feature for DRC and LVS
* Enhancement: DRC can write to multiple targets now
- new functions "new_report", "new_target": create output channel objects
that can be used to redirect "output" to specific other channels
* Bugfix: GDS2 reader should not segfault on certain broken files
* Enhancement: performance improvement of hierarchical XOR in certain cases
* Enhancement: New methods
- Layout#copy_layer, Layout#move_layer and Layout#clear_layer with shape type selector
- Shapes#clear with shape type selector
0.28.8 (2023-05-23):
* Enhancement: %GITHUB%/issues/1314 Storing (arbitrary) data in metadata
- Meta information can be attached to layout and cells
- Meta information has a string key and arbitrary value (hash, list supported)
- Optionally, meta information can be made persistent and
is stored in the (KLayout specific) context section of GDS2 and OASIS
- Meta information is shown in the user properties dialog, but is not editable
- Meta information is similar, but not the same than user properties
* Enhancement: %GITHUB%/issues/1324 Feature request: hide empty groups
* Enhancement: %GITHUB%/issues/1345 feature request: create a def single/mulitpart path import option
* Enhancement: %GITHUB%/issues/1348 "Reload Files" popup prevents closing KLayout
* Enhancement: %GITHUB%/issues/1349 Add application events for indicating start/finish of restoring session
* Bugfix: %GITHUB%/issues/1353 Bug in RecursiveInstanceIterator
* Enhancement: %GITHUB%/issues/1357 Add binding for QObject::findChildren
* Bugfix: %GITHUB%/issues/1360 LayoutView not promoted to correct class after Plugin initialization
* Bugfix: %GITHUB%/issues/1366 Slow merging of polygons from width check edge pairs
* Bugfix: %GITHUB%/issues/1373 Region "+" skips shapes with user properties on second input
* Enhancement: Ruby debugger performance improvement - with debugger enabled, Ruby script execution was very slow
* Enhancement: Polygon "decompose_convex" tries harder to avoid generating thin slivers
* (Significant) Enhancement: Selection of labels now considers label area, not just label origin point
* Bugfix: Making 'R', 'L' and 'C' parameters for the respective Spice elements beside "value"
* Enhancement: Zoom In/Out menu functions now use the current mouse position for the zoom fixpoint (important when binding them to a key)
* Bugfix: More consistent behavior of RBA/pya: enum classes are properly made available (was for example RBA::Qt::Qt_Keys instead of RBA::Qt_Keys and pya.Qt.Keys was no fully initialized type object)
* Bugfix: Netlist reader: anonymous circuits (without definition) will not fail because of unknown parameters
* Bugfix: Closed paths lost last point after editing in partial edit mode
* Enhancement: Somewhat better grid snapping in partial edit mode
* Bugfixes/enhancements: Macro editor
- fixed missing icons for "back" and "forward"
- enhancements for "search & replace"
- Ctrl+R and Ctrl+Shift+R for replace and "replace all"
- Fixed tool tips for buttons
0.28.7 (2023-04-22):
* Enhancement: %GITHUB%/issues/1320 Support for .lib statement in Spice
* Bugfix: %GITHUB%/issues/1321 Tilde expansion in paths (e.g. "~/test.gds") on Linux
* Enhancement: %GITHUB%/issues/1322 RBA/pya: Manipulation of NetTracerTechnologComponent
* Bugfix: %GITHUB%/issues/1327 Python module: segfault on exit when hierarchy iterators are alive
* Bugfix: %GITHUB%/issues/1328 Width of layer selection boxes fixed and too small for long layer names
* Enhancement: %GITHUB%/issues/1339 RBA/pya: A method to get the QWidget for a LayoutView
* Enhancement: Better compatibility of Spice reader with ngspice
0.28.6 (2023-03-16):
* Enhancement: %GITHUB%/issues/1249 Include expanded/collapsed state of layer properties into session
* Bugfix: %GITHUB%/issues/1265 Issues installing klayout with pip on macOS related to libpng
* Enhancement: %GITHUB%/issues/1271 __version__ attribute in Python modules available now
* Bugfix: %GITHUB%/issues/1287 Goto Position (CRTL+G) is not showing the origin (0,0)
* Bugfix: %GITHUB%/issues/1291 Better compatibility of PyQt5 and KLayout (i.e. debugger does not crash)
* Enhancement: %GITHUB%/issues/1294 Persisting layer properties in sessions
* Bugfix: %GITHUB%/issues/1302 Select filter is not applied in partial mode
* Bugfix: %GITHUB%/issues/1304 Spice netlist reader: should read "M" terminals in DGS order
* Bugfix: %GITHUB%/issues/1309 Incomplete fill (polygon rasterizer issue)
* Bugfix: %GITHUB%/issues/1315 Cannot export layers from Marker Browser in viewer mode
* Bugfix/enhancement: some LEF/DEF parser issues solved with the help of a new complete sample case
* Bugfix: Avoid a segfault while editing a ruler. This happens is both a selection and a transient selection is active.
* Enhancement: Some enhancements for image editing (e.g. selection remains after moving handles)
* Enhancement: klayout.db Python module is auto-loaded for providing stream readers
* Enhancement: Spice reader now supports parametric subcircuits
* Enhancement: Build issue fixed for Qt 5.15.2 bindings
* Enhancement: Including Python's matplotlib into Windows binaries
* Bugfix: Reading fillcell-generated inputs again into DRC deck now also works for deep mode
0.28.5 (2023-02-05):
* Bugfix: %GITHUB%/issues/1275 Region.sized after .smooth returns empty region
0.28.4 (2023-02-02):
* Bugfix: %GITHUB%/issues/1267 Editor options not visible initially on layout view
* Bugfix: %GITHUB%/issues/1260 Internal error on package install
* Bugfix: %GITHUB%/issues/1259 Qt-less LayoutView creates non-editable Layout initially even if editing is requested?
* Bugfix: %GITHUB%/issues/1253 Library browser does not always display all libraries
* Bugfix: %GITHUB%/issues/1237 Python error messages should include more information
* Bugfix: Technology indicator is cleared after last view is closed
* Bugfix: Partial mode did not support Ctrl/Shift to confine movement direction
* Bugfix: Avoid very long error messages in DRC/LVS scripts (listing all details of the engine)
* Bugfix: "clone panel" did not copy custom layer stipples
* Bugfix: Generic "drc" sizing has to use twice the size range to catch all possible interactions
* Bugfix: DRC check (e.g. "sep") against second layer of "raw" type did not work in deep mode
* Bugfix: DRC grid check markers are now exactly aligned with vertexes they are supposed to mark
* Bugfix: DRC interact of polygons with texts was not working properly
* Bugfix: LVS: same_nets with two arguments was not working as described
* Bugfix: py.typed included in Python wheel now.
* Enhancement: New feature: "Screenshot to clipboard"
* Enhancement: Introducing properties in DRC and net tagging by properties
- This enables implementation of "connected" or "unconnected" mode checks
- This is the first release, so the feature is somewhat experimental
- For details check the documentation: look for "DRC Runsets" and browse to "DRC and user properties"
0.28.3 (2023-01-12):
* Bugfix: %GITHUB%/issues/1247 Layer stipples not updated after editing custom stipples with high-DPI displays
* Bugfix: %GITHUB%/issues/1245 Connectivity not preserved when loading/saving technology
* Bugfix: %GITHUB%/issues/1242 KLayout 0.28.2 crashes when registering a plugin if a layout exists
* Bugfix: %GITHUB%/issues/1240 Layer is not activated from layer properties file on first creation
* Bugfix: %GITHUB%/issues/1238 Macro IDE: breakpoints not effective on Windows
* Bugfix: %GITHUB%/issues/1234 "Clone view": layer list is empty
* Enhancement: %GITHUB%/issues/1228 Add option to have Show parameter names on by default
* Enhancement: Improved performance of layer list with many layers
* Bugfix: Restored ability to build with Python 2.7
* Enhancement: Compatibility with Qt 6.4.1
0.28.2 (2022-12-22):
* Bugfix: %GITHUB%/issues/1230 LVS browser crashes
0.28.1 (2022-12-21):
* Bugfix: %GITHUB%/issues/1225 XML error prevents generation of help index
* Bugfix: Python module now has py.typed
* Bugfix: Some segfaults fixed on MacOS, other Linux systems
* Bugfix: dropped Python modules from RPM and DEB packages as this creates conflicts with pip-installed modules
* Bugfix: OASIS reader error with CBLOCK byte counts larger than 4G
0.28 (2022-12-09):
Changes (list may not be complete):
* Bugfix: %GITHUB%/issues/989 "Layout#convert_pcell_to_static" does not handle"defunct" cells
* Bugfix: %GITHUB%/issues/991 Basic library not available in Python module
* Bugfix: %GITHUB%/issues/1059 Cleanup of PCell orphans after re-evaluation on load
* Bugfix: %GITHUB%/issues/1081 Using a layer properties file from recent list without layout loaded crashes KLayout
* Bugfix: %GITHUB%/issues/1138 Provide a way to suppress or redirect log output or disable warnings, specifically from file readers, in Python module
* Bugfix: %GITHUB%/issues/1178 technology-data xml results in SEGV
* Bugfix: %GITHUB%/issues/1190 General compatibility issue of Edges#extended/extended_* with deep mode
* Bugfix: %GITHUB%/issues/1216 DRC internal error on "moved"
* Bugfix: %GITHUB%/issues/1214 LEF via parser error
* Enhancement: %GITHUB%/issues/1056 X2 net names
* Enhancement: %GITHUB%/issues/1052 PDF documentation
* Enhancement: %GITHUB%/issues/1053 LEF/DEF enhancements
* Enhancement: Qt6 enabled
* Enhancement: KLayout paths
- $KLAYOUT_HOME can now be empty string (no home folder used)
- $KLAYOUT_PATH can now be empty string (no further and implicit search paths)
* Enhancement: Python typehints
- Python include files are generated for Python module
* Enhancement: Properties dialog now features object list on left side (select and change)
* Enhancement: Compute area and perimeter from selection (Edit/Selection/Area and Perimeter)
* Enhancement: Callbacks for PCells
- Allow dynamic change of some attributes (visibility, enabled etc.)
- By implementing "callback_impl" in PCellDeclarationHelper subclasses
* Enhancement: Report browser
- Shape user properties are turned into RDB values
- Scanning of text objects
* Enhancement: Support for high-DPI modes (scale factor 200%)
- "Highres" option to fully exploit resolution, normally follows screen scaling
* Enhancement: Multiple tech stacks for net tracer per technology
* Enhancement: New rulers
- Angle
- Radius (%GITHUB%/issues/906)
- Multi-segment
* Enhancement: LVS
- Generates a log view which may have useful hints
- Schematic and extracted netlists are available as separate tabs for LVS view
* Enhancement: DRC
- Antenna DRC measured values output on edge pair properties and into report file
- inside, not_inside, outside and not_outside also for edge/edge and edge/polygon layers
- split_inside, split_outside for edge/edge and edge/polygon layers
- andnot (edge/edge)
- inside_outside_part (edge/polygon)
- angle-class selectors (multiples or 90 or 45 degree)
- performance enhancements
- in_and_out (edge and polygon layers)
* Enhancement: "data:" URL schemes to pass direct base-64 encoded data
* Enhancement: "Close all except", "left of", "right of" etc. in layout tabs and macro editor tabs
* Enhancmennt: Drop-down list to select tab in layout views
* Enhancement: Setting for disabling "Save needed" dialog box
* Enhancement: File details are shown (dump of file header) for unknown file formats
* Enhancement: NoQt option for LayoutView
- PixelBuffer object instead of QImage
- LayoutView can be build without Qt
- Functions exist to emulate mouse events
- Included in standalone Python module
- Allows implementation of KLayout backend in web server
* Enhancement: New command "-rr" (like -r but keeps application running, for UI macros)
* Enhancement: PCell errors are shown on a special error layer which is visible together with guiding shapes
* Enhancement: custom queries support micron-unit attributes (dbbox, path_dtrans etc.)
* Enhancement: custom queries highlight results of queries when selected
* Enhancement: scale and snap improvements (edge pair support, properties maintained, arrays not always flattened)
* Enhancement: auto-run macros can not be given a priority in which they are executed
* Enhancement: D25 module overhauled
- Uses a DRC subset to generate layers
- Allows booleans and specific color assignments
- Supports edges and edge pairs (will build walls)
- Not backward compatible!
* Python/Ruby API:
- DText/Text: bbox, alignment enums
- Polygon#size with vector arguments
- DBox/Box#world
- Layout#unique_cell_name
- RecursiveShapeIterator#each, RecursiveInstanceIterator#each
- Layout#clip with DBox and Cell arguments
- Better automatic conversion of enum to int and vice versa
- CellInstArray constructor with Cell argument
- AbstractMenu#insert_menu, #clear_menu
- ActionBase#icon=, #on_menu_opening, #on_triggered
- CellMapping convinience methods
- Cell#read for easy importing of a layout into a cell + subtree
- LayerMap#map and #mmap: logical layer is optional now (needed to be incremental)
- Shapes#cell and #layout
- Edges#andnot, #split_interacting, #inside, #not_inside, #outside, #not_outside and related (for Region and Edges arguments)
- GenericDeviceExtractor#define_terminal convenience methods
- Box/DBox square and rectangle convenience constructor
- Box#enlarge convenience isotropic variant
- Region#in_and_out, Edges#in_and_out
- New class NetTracerConnectivity introduced for multi-stack support in NetTracerTechnology, substitutes connectivity part NetTracerTechnology
0.27.13 (2022-11-30):
* Bugfixes:
- selection did not work in non-editable mode
- partial selection did not work for guiding shapes
- compile issue: NDEBUG is not usable after ruby.h
0.27.12 (2022-11-01):
* Bugfix: %GITHUB%/issues/1173 DXF SPLINE implementation not compatible with ezdxf
* Bugfix: %GITHUB%/issues/1167 delete_cells slow in some cases
* Bugfix: %GITHUB%/issues/1164 Deleting cells: 'basic_string: construction from null is not valid'
* Bugfix: %GITHUB%/issues/1145 Crash when clearing a Shapes container by script while a shape is selected
* Bugfix: %GITHUB%/issues/1144 Copy layer not choosing the right "new" target layer sometimes
* Bugfix: %GITHUB%/issues/1143 DBU not taken from technology by default
* Bugfix: %GITHUB%/issues/1097 Change oasis writer defaults to strict + cblocks, discourage the usage of oas.gz
* Bugfix: Incorrect behavior of some deep-mode DRC functions
- deep edges "and" with Region: incorrect behavior if region is empty or non-deep
- deep edges "inside_part" with Region: incorrect behavior if region is empty or non-deep
- deep edges "outside_part" with Region: incorrect behavior if region is empty or non-deep
* Enhancement: Python include files are now provided for the Python package. This will add type information to the methods.
0.27.11 (2022-08-10):
* Bugfix: %GITHUB%/issues/1098 Normalize zero dimension when generating regular array instance
* Enhancement: %GITHUB%/issues/1103 Add setting to disable Save Needed dialog box
* Bugfix: %GITHUB%/issues/1106 "move by" does not move instances from partial selection
* Bugfix: %GITHUB%/issues/1111 GenericDeviceExtractor#define_opt_layer not working
* Bugfix: %GITHUB%/issues/1114 MSYS2 compatibility with latest revision (based on gcc 12.1)
* Bugfix: %GITHUB%/issues/1126 Internal error on DRC operation
* Bugfix: %GITHUB%/issues/1135 LVS mismatch on parallel devices and issue on ambiguity resolution
* Enhancement: Support for Python 3.11
* Enhancement: L2N and LVSDB readers made compatible with potential future extensions
* Enhancement: DRC Antenna check now can be given a text layer which receives output describing the measured and computed values
* Bugfix: *= method (e.g. Point, DPoint) properly listed in help and reflection API
* Bugfixes: Fixed a number of potential segfaults due to memory corruption found during master branch refactoring
0.27.10 (2022-06-04):
* Bugfix: %GITHUB%/issues/1081 Using a layer properties file from recent list without layout loaded crashes KLayout
* Enhancement: %GITHUB%/issues/1079 PCell update: Library#refresh should call coerce_parameters_impl
* Bugfix: %GITHUB%/issues/1075 Edit layer specification doesn't work well with PCells
* Bugfix: %GITHUB%/issues/1071 Issues with GDS text format and "Save As"
* Bugfix: %GITHUB%/issues/1068 Circle handle not shown sometimes
* Bugfixes: two potential segfaults fixed due to early delete of LayoutView and access to non-initialized memory
0.27.9 (2022-04-23):
* Bugfix: %GITHUB%/issues/1008 Don't optimize away points on path edit
* Bugfix: %GITHUB%/issues/1011 DRC in deep mode highlights erroneous width violation with text
* Bugfix: %GITHUB%/issues/1012 Warning requested if LEF/DEF map file does not capture certain layers
* Bugfix: %GITHUB%/issues/1013 OASIS writer bug with certain irregular arrays
* Bugfix: %GITHUB%/issues/1017 DXF export: better handling of PCB zone fills
* Bugfix: %GITHUB%/issues/1021 LVS unexpectedly failing
* Bugfix: %GITHUB%/issues/1029 Problem with Qt binding
* Bugfix: %GITHUB%/issues/1031 Buddy tools + OASIS: invalid warning about unexpected strict mode
* Bugfix: %GITHUB%/issues/1040 pip install klayout doesn't seem to work on M1 MacBookPro
* Bugfix: %GITHUB%/issues/1054 Qt binding: crash due to Python allocation-while-deallocating
* Bugfix: Ctrl+F will always enter search box in Macro IDE now
* Bugfix: LEF/DEF reader options - could not clear suffix or set datatype to none
* Bugfix: netlist/LVS result browser - do not clip texts, provide texts as tool tips as well for inspection
* Bugfix: the library selected box listed technology-specific libraries even if no technology was selected
* Bugfixes and enhancements for the LEF/DEF reader
Includes %GITHUB%/issues/1050, %GITHUB%/issues/1065 and %GITHUB%/issues/1047
plus a number of standard compatibility issues. Bugfixes and enhancements for the
strm2xyz buddy tool's LEF/DEF reader implementations.
* Enhancement: %GITHUB%/issues/1057 Include PCell update in Library#refresh
* Enhancement: %GITHUB%/issues/1058 Backspace to delete last point from polygon or path
* Enhancement: Split gates option for LVS (new keyword is "split_gates") - see documentation for details
* Enhancement: generate labels for PCB X2 net names
* Enhancement: PCell errors are now shown on a separate layer (formerly only if the PCell featured at least one layer-type parameter)
This layer is available with the same style and configuration than the guiding shape layer.
0.27.8 (2022-02-13):
* Bugfix: %GITHUB%/issues/971 Double compare fails in LVS
* Bugfix: %GITHUB%/issues/972 CIF writer generates unreadable file with invalid cell or layer names
* Bugfix: %GITHUB%/issues/973 Enhanced timeout in package manager on large file download
* Bugfix: %GITHUB%/issues/979 Backup file generation fails with relative paths
* Bugfix: %GITHUB%/issues/982 Heal option for tiled XOR
* Bugfix: %GITHUB%/issues/983 Bug changing PCell parameters of multiple cell instance
* Bugfix: %GITHUB%/issues/984 Crash in debug mode when placing a "slow cell"
* Bugfix: %GITHUB%/issues/994 Loss of selection when clicking at wrong position
To make this problem less annoying, the capture range was increased when
clicking at already selected items for "Move".
* Bugfix: %GITHUB%/issues/995 New top cell appearing after load
* Enhancement: %GITHUB%/issues/996 Refresh function to trigger update from within library
* Bugfix: %GITHUB%/issues/997 Wrong display of negative extensions of paths
* Bugfix: scale and grids were wrong in case of oversampling
0.27.7 (2022-01-12):
* Bugfix: %GITHUB%/issues/969 PCell error (infinite recursion)
0.27.6 (2022-01-04):
* Enhancement: %GITHUB%/issues/963 Display snapped position in main window
* Bugfix: %GITHUB%/issues/960 Cap values range now shown in netlist browser
* Bugfix: %GITHUB%/issues/954 Fixed a device extraction glitch
* Bugfix: %GITHUB%/issues/951 Internal error fixed when deleting the cell you're sitting at
Side effect: copy & paste of cells is correctly disabled now in viewer mode
* Bugfix: %GITHUB%/issues/942 Technology file routing suffix string typo
* Bugfix: %GITHUB%/issues/946 Python: __file__ returns quoted path string
* Bugfix: DRC check for equal width now returns more consistent results
Previously, a check like "layer.drc(width == something)" was not flagging
all candidates correctly.
* Enhancement: A PCell can request "lazy evaluation" now
This means that a parameter change needs to be committed in the UI before
it is being taken. This way, slow PCell evaluation will not make the
application stall. To add this feature, reimplement "wants_lazy_evaluation"
in the PCell class to return "true".
* Enhancement: "lvs_data" is a global function now in LVS scripts
* Bugfix: less liberal evaluation of expressions in string to numeric conversion
This will fix a potential vulnerability which allows someone to sneak
in expression code through malicious configuration, technology or layer properties
files.
0.27.5 (2021-11-14):
* Enhancements: Better support for execution (also cross-interpreter) of macro code from scripts
- New methods for the Macro class like "run" and loading from file
- New class Interpreter for accessing Ruby interpreter state from Python and vice versa
* Enhancement: New DRC function "enclosed" as the reverse of "enclosing"
- Allows using the rectangle filters with "via enclosed by metal"
- Usually better performance than "metal enclosing via"
* Enhancements: Usability
- Navigation in the 2.5d view
- "tap" function shows layer names and details from layer view
- Documentation about layer views
* Enhancement: CentOS7 RPM's use Python 3 now
* Enhancement: Sending custom query shape objects to RDB produces shape markers now
* Enhancement: New method LayoutView#is_editable?
* Enhancement: %GITHUB%/issues/879 PCellDeclaration#layout and Layout#library ownership links
* Bugfix: %GITHUB%/issues/918 Editor options tab window too big
* Bugfix: %GITHUB%/issues/920 Fill tool border parameter sign issue
* Bugfix: %GITHUB%/issues/921 BJT3 extraction with collector shape fixed
* Bugfix: %GITHUB%/issues/933 QMessageLogger methods safe now with "%" characters
* Bugfix: %GITHUB%/issues/935 Cell#insert (of cell instances) now checks their cell indexes
0.27.4 (2021-09-25):
* Enhancements: Some enhancements on the 2.5d view (e.g. live layer color update, z only scaling, wire frames, etc.)
* Enhancement: simple versions of DRC with_holes/without_holes without parameters
* Enhancement: LVS netlist compare performance improvements in certain cases
* Enhancement: %GITHUB%/issues/914 Make "tap" function available in reader mode
* Bugfix: %GITHUB%/issues/912 Decent error message (not crashing) when trying to create a cell or layer on an empty panel
* Bugfix: %GITHUB%/issues/909 DRC crash
* Bugfix: %GITHUB%/issues/905 Crash when deleting a hierarchical PCell library from Python
* Bugfix: %GITHUB%/issues/898 Spice reader ignores last line
* Bugfix: %GITHUB%/issues/897 Fill Tool crashes
* Bugfix: %GITHUB%/issues/894 border case GDS file behavior restored
* Bugfix: %GITHUB%/issues/892 Font path can be selected for standalone "Basic" library
* Bugfix: %GITHUB%/issues/886 Python module does not build from sources
* Bugfix: %GITHUB%/issues/881 Typo in separation_check signature
* Bugfix: %GITHUB%/issues/880 Clarification of device parameter compare on LVS
0.27.3 (2021-07-23):
* Enhancement: DRC - more filters for edge pair collections
As there are now: with(out)_area and with(out)_internal_angle
* Bugfix: %GITHUB%/issues/846 Crash in netlist browser
* Bugfix: %GITHUB%/issues/851 KLayout stalls in net browser net highlighting when net shapes contain texts
* Bugfix: %GITHUB%/issues/854 Resistor Device extractor extracts W and L 2 times too large
* Bugfix: %GITHUB%/issues/856 LVS: Resistor with bulk: bulk terminal swaps with A terminal
* Bugfix: %GITHUB%/issues/858 "+" line continuation in Spice reader only effective when at beginning of line
* Bugfix: %GITHUB%/issues/859 Technology was not assigned on new layout
* Bugfix: %GITHUB%/issues/864 Shapes#copy_shapes does not support undo/redo
* Bugfix: %GITHUB%/issues/866 Probe net not working for floating subcircuits in hierarchical net tracer
* Bugfix: %GITHUB%/issues/867 Macro editor freeze after search next
* Bugfix: %GITHUB%/issues/871 Application stalls with 'draw only border instances' mode with AREFs
* Bugfix: %GITHUB%/issues/875 Drawing glitch
* Enhancement: LVS features
- "extract_devices" returns the device class object
- Device class object can be used to enable parameters (make them primary)
- Spice writer delegate enabled in LVS for customization of output
- "blank_circuit" specifies circuits as black boxes and skips compare
- Better propagation of symmetric nets through swappable pins
- "tolerance" and "join_symmetric_nets" can be used anywhere in the LVS script now
- "same_nets!" (with exclamation mark) for strong matching of nets
- "same_nets" accepts glob pattern now
* Enhancements: RBA/pya
- Device#net_for_terminal with terminal name
- Circuit#nets_by_name with glob pattern
- Netlist#is_case_sensitive?, Netlist#case_sensitive=
- Netlist#nets_by_name to get nets from pattern
- CellView#context_trans and CellView#context_dtrans
* Enhancement: Ruby 3.0 basic enabling
* Enhancement: DRC "extent" accepts a cell name pattern now to deliver cell bounding boxes
* Bugfix: reverted change of #796
DXF version is back to AC1006 which seems to be more compatible with most consumers of
DXF files. Using 1016 AC1014 seems to require much more meta information I cannot
provide without deeper insight into the DXF structure.
0.27.2 (2021-06-20):
* Enhancement: %GITHUB%/issues/818 2.5d view shows view area instead of full layout
This way, it's possible to confine the extruded view to a small area of the
layout easily.
* Bugfix: %GITHUB%/issues/824 LEF/DEF flow - duplicate text label generated
* Bugfix: %GITHUB%/issues/826 Crash on deep, threaded DRC mode with universal DRC function
* Bugfix: %GITHUB%/issues/835 Crash on layout save after deep copy + close of other
* Bugfix: %GITHUB%/issues/839 Crash after PCell code exception is handled in Macro IDE
* Bugfix: Package names can contain dash characters ("-") too.
Previously this was not allowed leading to a conflict with the conventions
of the package repository at sami.klayout.org.
* Enhancement: a lot of typos fixed in documentation and code (thanks to Eugene)
0.27.1 (2021-05-31):
* Enhancement: %GITHUB%/issues/809
"without_density" goes outside the boundary of the input layer.
A new keyword ("padding_ignore") can be added to with_density/without_density
to ignore parts outside the boundary instead of treating them as zero
density.
* Enhancement: %GITHUB%/issues/808
Feature suggestion: DRC to report edges attached to corners as edge pairs.
There is a new output mode "as_edge_pairs" in addition to "as_dots" and
"as_boxes" now.
* Bugfix: %GITHUB%/issues/807 DRC: clear_connections and incremental connect was not working.
This is an important feature for correctly implementing antenna checks
* Bugfix: %GITHUB%/issues/806 LVS: CustomComparer is not working
* Bugfix: %GITHUB%/issues/801 DRC Layer#smoothed lacks the "keep_hv" argument
* Enhancement: %GITHUB%/issues/798 More flexibility on Spice reader.
A number of new features has been provided for the spice reader delegate
* Bugfix: %GITHUB%/issues/795 Unstable application with verbose log output
* Bugfix: %GITHUB%/issues/793 Bug on each_image_selected
* Bugfix: %GITHUB%/issues/787 Query issue (or general: expression issue).
A problem with memory corruption in certain scenarios was causes
an application crash.
* Bugfix: %GITHUB%/issues/778 Use system font instead of hard coded "Monospace"
* Bugfix: DRC "flatten" did not always flatten, but kept layers hierarchically
* Enhancement: DRC: a couple of new filters on edge pair layers:
- with_angle/without_angle: filter by angle of the edges (one or both)
- with_length/without_length: filter by length of the edges (one or both)
- with_distance/without_distance: filter by distance of the edges
* Enhancement: Added Edge#cut_point method
* Enhancement: LEF macro layouts now can be specified in UI
* Bugfix: full_edge, negative output for fragmented polygon vs. small ones (space, enclosure, overlap).
In some cases, only parts of the edges were reported and negative output was
incorrect. In addition, negative output for two-layer checks - such as "l1.drc(sep(l2) > 0.2)" - now
only is produced for the primary layer. With both outputs it was difficult to separate the
components.
* Bugfix: computed layers were printed with layer properties in lvsdb files sometimes.
* Enhancement: Performance improvements and memory footprint reduction for OpenRAM test case
* Bugfix: a number of typos fixed and documentation clarifications
* Bugfix: DRC "or" was producing flat output in deep mode
0.27 (2021-05-02):
* Enhancements: Numerous new functions for the RBA and pya API.
Some highlights:
- "Texts" for text collections (similar for Edges/EdgePairs/Region)
- New modes for blending layout files - see GitHub issue #666
- New function Cell#transform - see GitHub issue #598
- New functions for Image (read, write, clear)
- New functions for Region and Edges correlating with the new DRC features
- Multi-cell hierarchical copy/move of trees - will maintain shared instances
- RBA: iterators are now automatically made available as Enumerable
- All functions having a void return specification now return self (allows chaining)
- More functions for manipulating selections (LayoutView#select_all etc.)
- Spline interpolation code available in new "Utils" namespace
- QByteArray support, mapping to Python byte arrays
- MainWindow#set_key_bindings, MainWindow#get_key_bindings, MainWindow#set_menu_items_hidden etc.
- New class RecursiveInstanceIterator (similar to RecursiveShapeIterator, but acts on instances)
- Deep vs. flat operations do not always flatten out now (flat vs. deep does however)
- Global transformations for inputs
* Enhancements: New DRC features.
Some highlights:
- Better support for texts - "text layers"
- Combined AND+NOT feature for separating regions into inside and outside part
- "max_vertex_count" and "max_area_ratio" configuration options
- "forget" for memory optimization
- Shielding is optional now for some DRC functions
- "interact" now has a count filter
- In verbose more, figure counts and more information is printed
- Generic DRC function and complex DRC operations: for details search "Universal DRC" in documentation
- "not_opposite" and "rect_filter" options for some DRC functions
- "enclosing" (selects polygons entirely enclosing others)
- New filters for polygons: squares, non_squares, area ratio, bbox aspect ratio
- More intuitive specification of projection limits ("projecting < 2.um")
- "with_holes" and "without_holes", also with count
- Density check is included now ("with_densitiy", "without_density")
- "split_..." functions give interacting/non-interacting sets in one step
- Better support for generic transformations as Matrix2d and Matrix3d
- "fill" and "fill_with_left" functions for dummy fill
- NO "connected" feature yet. Sorry. Had to drop it to finish this release.
* Enhancements: new LVS features.
Some highlights:
- Improved netlist and LVS result browser (infinite-depth browsing)
- Improved circuit match algorithm
- Case insensitive handling of object names for SPICE netlists
- Probe feature fixed in flat mode
- "connect_explicit": for details search "connect_explicit" in documentation
* Enhancements: New features for images.
Some highlights:
- New menu item: show and hide all images - see GitHub issue #535
- False color nodes now can have a left and right color allowing color steps
- Persistance of images through a special file format: "lyimg" (XML based)
* Enhancements: LEF/DEF reader.