Matthias Köfferlein
769b16ea3f
Issue 1145 ( #1151 )
...
* [CONSIDER MERGING] Clarification and typo fixed in DRC doc.
* Enhanced Shapes::is_valid so it's more reliable in detecting invalid shape objects.
* ObjectInstPath now has a validity attribute
* First implementation of solution for edtService (partial service to follow)
* Validating selection also for Partial Edit mode
2022-09-05 23:35:21 +02:00
Matthias Koefferlein
290cd39ad9
Bugfix: consider device pixel ratio for layout canvas
2022-09-03 23:27:07 +02:00
Matthias Koefferlein
8dd002bd0f
More enhancements to support LayoutView as widget
2022-09-03 22:53:01 +02:00
Matthias Koefferlein
81eab3f1db
More safety against deleting view in view widget
2022-09-03 16:59:27 +02:00
Matthias Koefferlein
f788818d12
Some more refactoring - further abstracting layout view from container widget
2022-09-03 01:48:50 +02:00
Matthias Koefferlein
3c53950eaa
Rework needed for LayoutView management
...
The application got unstable on exit under various conditions
(e.g. LayoutView created in script). Reason was the ownership
management of LayoutView which interfered with Qt widget
lifetime management.
The solution now is based on a clean widget/view hierarchy
and a consistent plugin parent/child relationship.
In addition, a new class is enabled which allows creating
a true QWidget (rather QFrame) for a LayoutView again.
2022-09-02 00:47:21 +02:00
Matthias Koefferlein
5b40d86527
Bugfix: menu system wasn't working properly with menu tool buttons
2022-08-16 23:00:31 +02:00
Matthias Koefferlein
e1552afcae
Menu system: menu opening event, insert_menu variant with Action argument, clear_menu method, icon setter with QIcon
2022-08-15 23:43:45 +02:00
Matthias Koefferlein
9d36b3c71a
Merge branch 'master' into wip
2022-08-06 18:52:41 +02:00
Matthias Koefferlein
bfeb60986c
Merge remote-tracking branch 'origin/msvc-building-with-debug'
2022-08-01 19:02:31 +02:00
Matthias Koefferlein
545ff11899
Merge branch 'master' of github.com:KLayout/klayout into wip
2022-08-01 18:50:48 +02:00
Matthias Köfferlein
801ef78990
Fixed issue-1131 (do not show non-existing files in MRU lists) ( #1133 )
...
* Fixed issue-1131 (do not show files in MRU lists which do no longer exist)
The solution consists of an extension of the Action system allowing to
dynamically hide or disable items. This currently works for menu items only.
This feature is used to dynamically *disable* (as of now, not hiding)
items from the four MRU lists corresponding to non-existing files.
In addition, a "clear list" menu has been added to the MRU lists.
* Small enhancement: file names can be URIs
2022-08-01 18:49:42 +02:00
Matthias Koefferlein
429e43fe37
Fixed Qt-less LayoutView (removed QWidget as base class which is no longer true)
2022-07-31 00:11:20 +02:00
klayoutmatthias
1b728f1067
Removed duplicated method declarations in LayoutViewBase
2022-07-28 20:52:19 +02:00
Matthias Koefferlein
682cc0e491
More safeguards against crashes in the absence of a Manager object
2022-07-09 20:13:40 +02:00
Matthias Köfferlein
7a5737d55f
Merge pull request #1087 from KLayout/qtless-canvas2
...
Qtless canvas2
2022-06-14 22:51:57 +02:00
Matthias Koefferlein
5aa9f5ba13
Fixed some unit tests
2022-06-12 14:00:06 +02:00
Matthias Koefferlein
51be84ebc1
Avoid segfaults in batch mode
2022-06-11 00:41:06 +02:00
Matthias Koefferlein
a853ed904f
API enhancements for annotation template management
2022-06-09 00:14:32 +02:00
Matthias Koefferlein
1020eb6e99
Basically enabling AbstractMenu in non-Qt mode
...
As a way to trigger actions inside the layout view
and plugins.
Right now, the layout view's menu is only a rudimentary one
as it lacks the top-level menus usually provided by the main window.
2022-06-07 23:28:10 +02:00
Matthias Koefferlein
ac5c66400d
Added ability to query modes and issue menu commands to LayoutView in non-Qt case.
2022-06-06 23:04:31 +02:00
Matthias Koefferlein
184c66b781
Provide a default configuration for LayoutView also in the non-Qt case
2022-06-02 23:55:40 +02:00
Matthias Koefferlein
91b642285d
Decoupling tl, gsi and rdb libraries from Qt bindings to enable lean strmrun application
2022-06-01 22:42:55 +02:00
Matthias Köfferlein
17e643ce5b
Fixed #1086 (problems showing handle of a single circle) ( #1089 )
2022-05-31 00:22:42 +02:00
Matthias Koefferlein
b95027a21b
Refactoring: lay::PixelBuffer, BitmapBuffer -> tl, added image functions to RdbItem in GSI
2022-05-31 00:20:47 +02:00
Matthias Koefferlein
62bbef53ac
Refactoring: layColor -> tlColor
2022-05-30 23:21:32 +02:00
Matthias Koefferlein
a5d467b51e
Dummy change to trigger builds
2022-05-29 14:47:22 +02:00
Matthias Koefferlein
6039340022
Fixed non-Qt build
2022-05-29 14:23:10 +02:00
Matthias Koefferlein
40eb3aaebe
Enabling input files in batch mode, fixed a segfault during tests
2022-05-29 14:16:44 +02:00
Matthias Koefferlein
ad87b22d91
Potential segfault fixed: skip invalid cell views
2022-05-27 19:20:37 +02:00
Matthias Koefferlein
7702d8c200
libpng option in build script
2022-05-27 18:10:01 +02:00
Matthias Koefferlein
2e10ef300b
Fixed implementation of LayoutView#resize in non-Qt case
2022-05-27 08:31:13 +02:00
Matthias Koefferlein
5825b7d0c6
Build fixed for Qt4
2022-05-27 07:57:04 +02:00
Matthias Koefferlein
2b568cdd5e
Fixed some build errors, added tests
2022-05-26 07:47:35 +02:00
Matthias Koefferlein
03761768cf
Enabled headless LayoutView. Works.
2022-05-26 01:51:09 +02:00
Matthias Koefferlein
96f3ce65c1
First steps towards LayoutView for headless mode, optional arguments for Layout#load_layout and MainWindow#load_layout
2022-05-26 00:07:22 +02:00
Matthias Koefferlein
c5ecb67557
Merge branch 'master' of github.com:KLayout/klayout
2022-05-24 23:45:24 +02:00
Matthias Koefferlein
a4dd5c1d3c
Fixed an issue introduced during qtless-canvas development (message was not displayed)
2022-05-24 23:44:08 +02:00
Matthias Koefferlein
348faa64b3
Another fix for Qt <5.10
2022-05-24 12:54:52 +02:00
Matthias Koefferlein
d6f320bc8b
Fixed build for Qt <5.10, MSVC
2022-05-24 07:48:20 +02:00
Matthias Koefferlein
3f4fe62dc5
Merge branch 'master' into qtless-canvas
2022-05-23 20:42:39 +02:00
Matthias Köfferlein
b84ec19da1
Issue 1071 (GDS2Text format options issues) ( #1085 )
...
* Fixed first issue (UI problem with GDS2Text options)
* Fixed problem with 'save' when the file extension does not indicate one of the known formats
In this case, and when plain 'save' is used, the original format is delivered.
The session files also store the original format now.
The statistics page will now indicate the format of the file that was loaded.
2022-05-23 20:37:26 +02:00
Matthias Koefferlein
beb5af55a7
Fixed lay::Color test for Qt4
2022-05-16 20:08:05 +02:00
Matthias Koefferlein
d8f51a5ef0
Qt4 compatibility
2022-05-16 00:07:31 +02:00
Matthias Koefferlein
baae3796a7
Fixed an build issue with forward-declared QColor
2022-05-15 22:58:42 +02:00
Matthias Koefferlein
104975a14e
WIP: fixed pymod
2022-05-15 19:34:46 +02:00
Matthias Koefferlein
856635bc82
WIP: debugging, enabled pymod builds ...
2022-05-15 18:45:07 +02:00
Matthias Koefferlein
f0dcd59060
WIP
2022-05-15 17:29:08 +02:00
Matthias Koefferlein
f5b4bbb62c
WIP
2022-05-15 10:31:09 +02:00
Matthias Koefferlein
b17b2714a5
WIP
2022-05-15 01:25:36 +02:00
Matthias Koefferlein
332daf836e
WIP: split laybasic into layui and layview to separate Qt and non-Qt part even more
2022-05-15 00:47:59 +02:00
Matthias Koefferlein
585aa4667f
Fixed non-Qt-binding case
2022-05-14 01:48:59 +02:00
Matthias Koefferlein
5facc418cb
WIP: futher improvements on Python module for Qt-less case
2022-05-12 23:42:21 +02:00
Matthias Koefferlein
b2b5e5ad55
Modifications to enable building of Qt-less canvas in setup.py
2022-05-12 01:53:16 +02:00
Matthias Koefferlein
f57f1cc228
Fixed a segfault on second open
2022-05-09 23:20:46 +02:00
Matthias Koefferlein
fbc31fd854
Navigation keys work again, fixed a segfault when showing the navigator window
2022-05-09 23:07:40 +02:00
Matthias Koefferlein
008fb06a3e
Code cleanup
2022-05-09 22:36:08 +02:00
Matthias Koefferlein
128afc43cf
Support for grayscale formats in PNG reader for PixelBuffer, writing non-alpha RGB versions from non-transparent PixelBuffers
2022-05-09 22:13:35 +02:00
Matthias Koefferlein
fd8407b35b
Code simplification and less image copies
2022-05-09 01:15:14 +02:00
Matthias Koefferlein
d0f566f84e
Fixed a memory bug
2022-05-09 01:05:15 +02:00
Matthias Koefferlein
f827e693ef
Fixed Qt-less build
2022-05-09 00:29:48 +02:00
Matthias Koefferlein
7fe0e95eee
WIP: first debugging
2022-05-09 00:16:48 +02:00
Matthias Koefferlein
f65c3d5fd7
Enabled edt, ant and img for Qt-less builds, added missing files
2022-05-08 22:27:39 +02:00
Matthias Koefferlein
37a42b70db
WIP: edt enabled for Qt-less
2022-05-08 19:44:14 +02:00
Matthias Koefferlein
aea861f9b4
WIP: preparing synthetic events for LayoutView in non-Qt case
2022-05-08 18:33:40 +02:00
Matthias Koefferlein
c8be882785
Removed some more Qt dependencies
2022-05-07 23:56:48 +02:00
Matthias Koefferlein
1ad9dd2c11
WIP: preparations for a non-Qt event loop protocol
2022-05-07 23:44:08 +02:00
Matthias Koefferlein
42f0a79dee
Resize method and tests
2022-05-07 22:12:36 +02:00
Matthias Koefferlein
7b85bf7de2
Enabled Qt-less builds, tests passing
2022-05-07 20:41:46 +02:00
Matthias Koefferlein
0198c7cd69
WIP
2022-05-07 19:57:34 +02:00
Matthias Koefferlein
41cbef1e5a
Tests for new LayoutView features
2022-05-07 19:13:01 +02:00
Matthias Koefferlein
585ab0f310
Fixed tests
2022-05-07 18:57:33 +02:00
Matthias Koefferlein
101544ab78
Equality operator in PixelBuffer
2022-05-07 18:48:45 +02:00
Matthias Koefferlein
958e1f7c59
WIP: base class-implemented methods need to be qualified in GSI binding :(
2022-05-07 18:48:33 +02:00
Matthias Koefferlein
3c11fe61c3
WIP: enabling PixelBuffer and BitmapBuffer for RBA::LayoutView
2022-05-07 14:36:52 +02:00
Matthias Koefferlein
32813b80f2
GSI binding for PixelBuffer and tests
2022-05-07 12:53:00 +02:00
Matthias Koefferlein
0798c4de51
Bugfixes and tests for PNG support
2022-05-07 02:14:08 +02:00
Matthias Koefferlein
067f59ab0a
WIP: PNG support for Qt-less apps through libpng in lay::PixelBuffer
2022-05-07 01:33:16 +02:00
Matthias Koefferlein
7291a3dc47
Fixed LayoutView tests
2022-05-06 00:02:45 +02:00
Matthias Koefferlein
a2b90d7a8e
IMPORTANT (consider merging): fixed a potential segfault on LayoutView construction
2022-05-06 00:02:35 +02:00
Matthias Koefferlein
51666eb439
Fixed non-Qt build
2022-05-05 23:44:47 +02:00
Matthias Koefferlein
6feed82808
Bug fixes and tests for LayoutView
2022-05-05 23:37:33 +02:00
Matthias Koefferlein
0877de73d4
Refactoring: substitute QImage by lay::PixelBuffer
2022-05-04 23:34:34 +02:00
Matthias Koefferlein
5fa984324e
PixelBuffer: versions to create independent copies into QImage
2022-05-04 21:16:10 +02:00
Matthias Koefferlein
f51fac5f0f
Renamed lay::Image to lay::PixelBuffer
2022-05-04 02:23:23 +02:00
Matthias Koefferlein
17cbcc2877
Added mono image class
2022-05-04 02:18:01 +02:00
Matthias Koefferlein
2088881110
Added transparent flag tests
2022-05-02 22:48:32 +02:00
Matthias Koefferlein
1cdc26b137
Added transparent flag for lay::Image
2022-05-02 22:46:56 +02:00
Matthias Koefferlein
d7b9bd71a1
Added performance tests for image
2022-05-02 22:27:30 +02:00
Matthias Koefferlein
3a2ae4ede1
WIP: More tests for lay::Image
2022-05-02 01:02:46 +02:00
Matthias Koefferlein
373f307ae6
WIP: image object, first steps
2022-05-02 00:26:13 +02:00
Matthias Koefferlein
0b48cb9020
WIP: added new lay::Image class
2022-05-02 00:02:47 +02:00
Matthias Koefferlein
e49b9a5e8a
WIP
2022-05-01 21:56:47 +02:00
Matthias Koefferlein
48f5f95a8f
WIP
2022-05-01 20:23:53 +02:00
Matthias Koefferlein
0a804f2e32
WIP
2022-05-01 19:29:20 +02:00
Matthias Koefferlein
8cbb49d5f9
WIP
2022-05-01 17:47:00 +02:00
Matthias Koefferlein
9b7a237a79
WIP
2022-05-01 10:30:26 +02:00
Matthias Koefferlein
63a1b24d24
WIP
2022-04-30 23:08:05 +02:00
Matthias Koefferlein
c4be80bb2f
WIP
2022-04-30 20:51:54 +02:00
Matthias Koefferlein
2378f7964e
WIP
2022-04-30 19:13:36 +02:00
Matthias Koefferlein
2298a9a5c8
WIP
2022-04-29 23:40:07 +02:00
Matthias Koefferlein
7048dde7b3
WIP: HSV support in lay::Color
2022-04-27 23:03:17 +02:00
Matthias Koefferlein
a6f2528aff
WIP
2022-04-26 00:31:10 +02:00
Matthias Koefferlein
c3f3fd00ce
WIP
2022-04-26 00:09:39 +02:00
Matthias Koefferlein
51e7c0a038
WIP
2022-04-25 23:09:57 +02:00
Matthias Koefferlein
1b129758d8
More range for NoQt option - covers lym (without MacroCollection), drc, lvs and buddies now
2022-04-24 23:28:04 +02:00
Matthias Köfferlein
3615b50fc4
A couple of enhancements and bugfixes found during issue-1059 research ( #1062 )
...
* Opportunity fix: library selection box listed libraries with technology even though no technology is selected.
* Opportunity: show PCell errors on new error layer. Previously, errors were only shown when the PCell had at least a single layer parameter
The error text is drawn together with guiding shapes. Disabling guiding shapes will
turn off error display.
* Opportunity: fixed an issue when reloading a library immediately after loading a layout: in this case, the library connection got lost and cells were substituted by static ones
* Opportunity: added a layout cleanup for the following case: a layout is loaded without the library present - giving defunct cells. Then the library is registered and defunct cells are reconnected.
2022-04-10 18:44:24 +02:00
Matthias Köfferlein
cb527cc50b
Issue-1058: implemented backspace button for path and polygon ( #1061 )
2022-04-10 18:41:58 +02:00
Matthias Köfferlein
19aac2abd7
Merge pull request #1055 from KLayout/enums-vs-int
...
Enums vs int
2022-04-09 18:07:57 +02:00
Matthias Koefferlein
afe7de9ca7
Fixed a potential crash when calling 'technology_changed_event' on an invalid CellViewRef.
2022-04-04 01:07:47 +02:00
Matthias Köfferlein
f8bd4dafaf
Pdf documentation ( #1052 )
...
* Some doc fixes as preparation for PDF generation
* Some doc bug fixes and enhancements for PDF manual generation
* Fixed a number of invalid references found during PDF generation
* Enable PCellDeclarationHelper doc for help system
* Fixed doc text
* Fixed some doc issues with invalid links etc.
2022-04-03 20:51:29 +02:00
Matthias Köfferlein
779c2392e7
Some doc fixes as preparation for PDF generation ( #1044 )
...
* Some doc fixes as preparation for PDF generation
* Some doc bug fixes and enhancements for PDF manual generation
2022-04-02 16:07:38 +02:00
Matthias Köfferlein
9fc7f9cfb6
Merge pull request #1019 from KLayout/25d-with-booleans
...
25d with booleans
2022-03-10 19:15:16 +01:00
Matthias Koefferlein
8b0dd38e97
Fixed use of HTML in netlist browser
2022-03-07 22:07:51 +01:00
Matthias Koefferlein
4acd0aabc5
Removed D25 tech component
2022-03-06 10:07:23 +01:00
Matthias Koefferlein
64406522fe
WIP: basic debugging, functionality.
2022-03-05 19:42:57 +01:00
Matthias Koefferlein
42fbe7b30a
Avoid clipped texts in netlist/LVS result browser, text as tool tips
2022-02-28 21:19:03 +01:00
Matthias Köfferlein
0132ad08f7
Issue 994 ( #1006 )
...
* Implemented issue-982 (heal option for strmxor)
The option is -m or --heal.
It is default off as in boundary cases (e.g. full layer vs. empty)
the healing adds a considerable memory and performance penalty.
Healing is only effective with tiling and affects output shapes
as well as shape counts.
* Fixed issue 994 (maybe, increased capture range for catching an existing selection)
2022-02-13 19:05:21 +01:00
Matthias Köfferlein
72bf152735
Fixed painting of rulers and grids in the presence of oversampling. Now the ruler/grid do not change with oversampling. ( #1007 )
2022-02-13 10:06:01 +01:00
Matthias Köfferlein
d764adb101
Issue 984 ( #987 )
...
* WIP: first attempt to fix issue-983
* WIP: bugfixes
* Fixed a problem with displaying empty cell dimensions, one warning
* Another fix: don't allow proxy cells to be selected in the instance properties dialog. This creates a confusing behaviour
* Fixed a few flaws in the cell selection scheme on the instance properties dialog.
* Early warning when trying to build a recursive hierarchy.
* Another fix: avoid too much undo in case of errors thrown during 'apply' followed by 'cancel'
* First attempt to fix issue 984
* Fixed issue-983 solution
* Fixed the modification status of PCell parameters for 'apply to all'
2022-02-08 19:07:04 +01:00
Matthias Köfferlein
285a5e9fca
Issue 983 ( #986 )
...
* WIP: first attempt to fix issue-983
* WIP: bugfixes
* Fixed a problem with displaying empty cell dimensions, one warning
* Another fix: don't allow proxy cells to be selected in the instance properties dialog. This creates a confusing behaviour
* Fixed a few flaws in the cell selection scheme on the instance properties dialog.
* Early warning when trying to build a recursive hierarchy.
* Another fix: avoid too much undo in case of errors thrown during 'apply' followed by 'cancel'
* Fixed issue-983 solution
* Fixed the modification status of PCell parameters for 'apply to all'
2022-02-08 19:06:27 +01:00
Matthias Koefferlein
45794e405c
Merged with qt6 from server
2022-01-08 23:47:40 +01:00
Matthias Koefferlein
12fd26663d
Merge branch 'qt6'
2022-01-06 21:48:02 +01:00
Matthias Koefferlein
10456516db
Updated copyright to 2022, preparations for 0.27.6 (was delayed due to code signing certificate issues)
2022-01-04 21:20:04 +01:00
Matthias Köfferlein
b78a8d58c8
Merge pull request #964 from KLayout/issue-963-show-snapped-position
...
Implemented request: show snapped cursor position in lower left posit…
2021-12-30 09:07:47 +01:00
Matthias Koefferlein
980cd73c5a
Implemented request: show snapped cursor position in lower left position display.
2021-12-28 22:39:04 +01:00
Matthias Koefferlein
6c34ce14c0
Fixed #960 (cap value not shown in netlist browser)
2021-12-26 23:34:06 +01:00
Matthias Koefferlein
4956091e75
Fixed a small glitch too: cut & paste of cells was possible in viewer mode
2021-12-26 12:33:44 +01:00
Matthias Koefferlein
8e02b400ca
Fixed #951
...
The problem was essentially the "specific path" which got invalid.
The solution is to establish a better criterion for "path validity"
and use for failsafes against invalid paths.
In addition, the path validation has been modified such that a
better choice is made about the remaining path after a cell gets
deleted.
2021-12-26 12:20:54 +01:00
Matthias Koefferlein
4820207cd3
Merge remote-tracking branch 'origin/master' into qt6
2021-12-17 21:44:50 +01:00
Matthias Koefferlein
a6d4c80c6c
Less expression evaluation for more robustness
2021-12-16 00:23:06 +01:00
klayoutmatthias
626d404d83
BUild fixes for Windows
2021-12-12 23:49:14 +01:00
Matthias Koefferlein
085db4f33f
WIP: enterEvent has a different signature in Qt6
2021-12-05 17:18:19 +01:00
Matthias Koefferlein
e07b9dc609
WIP: batch mode does not crash anymore (QAction cannot be created in non-GUI mode)
2021-12-05 17:07:40 +01:00
Matthias Koefferlein
3bb46e2717
Qt5 builds functional again, enabled QLatin1String for Qt5 and Qt4 too.
2021-12-05 13:38:08 +01:00
Matthias Koefferlein
3ef28c8a9d
WIP: fixed some string extractors
2021-12-04 23:57:24 +01:00
Matthias Koefferlein
6b49386b67
WIP: fixed some build errors
2021-11-29 23:27:26 +01:00
Matthias Koefferlein
132ad2ed8d
WIP: removing need to tl::type_traits
2021-11-29 22:54:28 +01:00
Matthias Koefferlein
646a207e00
WIP
2021-11-25 01:17:53 +01:00
Matthias Koefferlein
a7678c8a57
WIP
2021-11-25 01:12:39 +01:00
Matthias Koefferlein
0e15426c9f
WIP
2021-11-25 00:57:11 +01:00
Matthias Koefferlein
a4d2e7891c
WIP
2021-11-24 23:59:36 +01:00
Matthias Koefferlein
fb4caf15ac
Merge branch 'master' of github.com:KLayout/klayout into qt6
2021-11-24 23:21:27 +01:00
Matthias Köfferlein
7e6b4662ec
Merge pull request #923 from KLayout/usablity-enhancements
...
Usablity enhancements
2021-10-20 22:26:38 +02:00
Matthias Koefferlein
97d393c78a
Layout#is_editable
2021-10-18 23:24:28 +02:00
Matthias Koefferlein
ca15d9ec9d
WIP
2021-10-18 00:12:46 +02:00
klayoutmatthias
c48f930fb3
Fixed #918 by using ignore size policy for the editor options tab widget
2021-10-14 23:48:24 +02:00
Matthias Koefferlein
b8489223c1
Fixed #912 (crash when trying to create a cell in an empty panel)
2021-09-23 01:11:15 +02:00
Matthias Koefferlein
3d7c1db1f7
Fixed unit tests
2021-09-21 21:17:57 +02:00
Matthias Koefferlein
4152f10bc4
Apply 'show all' one level deeper. This way it's possible to hide mismatching nets. But the net content is still shown in full detail.
2021-09-20 21:24:00 +02:00