Matthias Koefferlein
d59d318218
Bugfix: restoring original overload matching scheme for Ruby and Python
2024-05-25 18:58:18 +02:00
Matthias Koefferlein
eb92e5f2d1
Better error messages on argument mismatch for Ruby too.
2024-05-25 18:43:44 +02:00
Matthias Koefferlein
1861abc68c
Bugfix for passing default arguments to GSI calls
...
This happens when default arguments (specifically
user class or enum types) and passed between keyword
and positional arguments. We must not use a temporary
tl::Variant object as it gets out of scope and a
reference is stored.
In addition: better error messages for Python when
a method can't be matched to arguments.
2024-05-25 17:48:17 +02:00
Matthias Koefferlein
6ac1c32a8d
Merge branch 'master' into 1598-support-for-soft-connections
2024-03-29 09:00:17 +01:00
Matthias Koefferlein
38a3b8305e
Fixing issue #1651 (errors when adding polygons with 4 points) - needs some testing
2024-03-23 15:24:18 +01:00
Matthias Koefferlein
fd8ca56caf
Some tests for Connectivity
2024-03-11 21:14:00 +01:00
Matthias Köfferlein
408a30164e
Maybe fixing weird menu texts (issue #1631 ) ( #1634 )
...
Co-authored-by: Matthias Koefferlein <matthias@klayout.de>
2024-03-09 09:36:08 +01:00
Matthias Koefferlein
9a52095dd0
Merge branch 'master' into wip
2024-01-07 17:25:11 +01:00
Matthias Koefferlein
88c3d30982
Implemented solution for issue #1583
...
- new attribute "title" for MainWindow to get and set title
(includes extrapolation to add dynamic content)
- also added LayoutView#is_dirty for emulation of the
standard behavior
- plus side effect: LayoutView#synchronous is now readable
2024-01-05 19:40:09 +01:00
Matthias Koefferlein
2b4a583f05
Update copyright year
2024-01-01 17:27:59 +01:00
Matthias Koefferlein
d248bfddf3
Updating copyright to new year
2024-01-01 17:06:23 +01:00
Matthias Koefferlein
f335ab69af
More compatibility with Ruby <2.7
2023-12-29 23:00:06 +01:00
Matthias Koefferlein
b37002cf7f
Compatibility with Ruby 2.0
2023-12-28 23:39:07 +01:00
Matthias Koefferlein
0b64241e13
Generalizing implementation for more Ruby versions.
2023-12-28 22:42:49 +01:00
Matthias Koefferlein
f685fe3adf
WIP: keyword arguments for expressions
2023-12-28 01:03:21 +01:00
Matthias Koefferlein
940ef5319a
WIP: refinement of Python and Ruby support for keyword arguments.
2023-12-27 22:56:11 +01:00
Matthias Koefferlein
8f9b904d87
WIP: keyword arguments for Ruby
2023-12-27 22:17:39 +01:00
Matthias Koefferlein
d1695b88af
Merge branch 'wip'
2023-12-23 18:05:54 +01:00
Matthias Koefferlein
8da6a131e8
Merge branch 'master' into wip2
2023-11-26 22:19:37 +01:00
Matthias Köfferlein
3b83230de0
Merge pull request #1546 from KLayout/issue-1530
...
Issue 1530 - size-2 tuples for points
2023-11-26 22:18:52 +01:00
Matthias Koefferlein
2b93dc2dc7
Implemented implicit constructor from array/tuples also for Ruby
2023-11-26 09:55:29 +01:00
Matthias Koefferlein
ef9d73f178
Experimental: calling str(x) implicitly in RBA and pya
2023-11-26 09:28:24 +01:00
Matthias Koefferlein
0ea2610bf4
Reworking technology API a little: providing a way to register a new technology object, clarification of doc
2023-11-25 16:56:56 +01:00
Matthias Koefferlein
b57bfa0f34
More resources enabled for non-Qt builds
2023-11-19 00:24:16 +01:00
Matthias Köfferlein
041fb53d04
Merge pull request #1518 from KLayout/git-for-packages
...
Git for packages
2023-11-07 21:36:01 +01:00
Matthias Koefferlein
b56220d36d
[consider merging] Functional ut_runner binary also with -without-qt
2023-10-28 23:48:56 +02:00
Matthias Koefferlein
261d0249e8
Merge branch 'wip'
2023-10-19 21:23:07 +02:00
Matthias Koefferlein
27f67cf9c2
Added tests
2023-09-24 22:27:23 +02:00
Matthias Koefferlein
fdf3a67a9e
Fixed an issue preventing to run Ruby unit tests from klayout batch mode
2023-08-30 21:49:15 +02:00
Matthias Koefferlein
254015617d
Merge branch 'wip' into wip2
2023-08-11 19:17:01 +02:00
Matthias Koefferlein
ad114f6137
Fixed unit tests (error messages now have the message class attached)
2023-07-29 01:13:25 +02:00
Matthias Koefferlein
e965f87f58
Merge branch 'master' into wip
2023-07-15 22:48:53 +02:00
Matthias Koefferlein
41c5d3f4ff
Issue-1397: possible solution
2023-06-13 00:44:42 +02:00
Matthias Koefferlein
5438b9a82f
configuration for debugger scope override
2023-06-03 21:25:30 +02:00
Matthias Koefferlein
53fa78c01f
Ruby debugger performance boost
...
Problem was that the file-to-id cache was cleared
upon calling internal Ruby functions (begin_exec
was triggered). In one test case, the execution
performance improved from 6s/320s (without/with debugger)
to 6s/7s (without/with debugger)
2023-05-18 19:43:44 +02:00
Matthias Koefferlein
7ff9b4d8e6
[consider merging] 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)
2023-05-06 00:04:14 +02:00
Matthias Koefferlein
2e2ba41250
[consider merging] 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)
2023-03-26 14:21:30 +02:00
Matthias Koefferlein
9a1c776475
Make sure the Python modules are found from the application's installation by prepending their path to sys.path
2023-03-24 19:15:57 +01:00
Matthias Koefferlein
9cfc284b8c
Synonyms: connect/disconnect for events to get closer to PyQt5
2023-03-06 23:04:55 +01:00
Matthias Koefferlein
a85dbd3d31
Updating copyright notice to 2023
2023-01-01 22:27:22 +01:00
Matthias Koefferlein
86cc523c77
Bugfixed GCLocker implementation - is now recursive
2022-11-23 00:33:37 +01:00
Matthias Koefferlein
d5725c3ed5
DRC performance issue fix attempt
...
Problem was that destruction of database objects was postponed during
callbacks, specifically the interpreter callback.
This caused db::Region objects to pile up.
The original feature was introduced to prevent issues when Ruby/C++
code interacts inside Qt UIs. The new fix does not disable GC, but
protects Ruby objects during method calls. Maybe that solves the problem too.
2022-11-22 22:06:10 +01:00
Matthias Koefferlein
fbd4c84d84
Refactoring of pya/rba/expressions
...
Goal is to support "*!" which is a variant of multiplication
without the commutative nature.
The refactoring yields a more consistent handling of
Python specializations. Now this happens when the methods
are collected, rather than later. This way, specific behavior
for identically named synonyms can be implemented for example.
This is the case for the "*" operator in Trans which is partially
commutative and partially not.
2022-10-20 23:26:14 +02:00
Matthias Koefferlein
1f954d8758
Cell#read
2022-08-27 17:23:11 +02:00
Matthias Koefferlein
43101ded7f
More consistent handling of exceptions and their display in the Ruby debugger - without triggering too many breakpoints on rethrow and showing the reason for exceptions arising from argument errors
2022-07-30 19:28:14 +02:00
Matthias Koefferlein
590c4a6b31
Argument numbers/names for Ruby too
2022-07-30 01:32:27 +02:00
Matthias Koefferlein
1edaf2b6b4
WIP: working on further consolidation of non-Qt case
2022-05-28 22:49:40 +02:00
Matthias Koefferlein
b22c7091ae
Skip resources in non-Qt case
2022-05-27 20:26:47 +02:00
Matthias Koefferlein
32813b80f2
GSI binding for PixelBuffer and tests
2022-05-07 12:53:00 +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