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
Matthias Köfferlein
51cf918f56
Issue 1029 - Crash on QTreeViewItem#setBackgroundColor ( #1032 )
...
* Fixed issue #1029
The problem happened because in the described case the
tl::Variant used as a intermediate container holds the
Python QBrush object and when it gets deleted, the
QBrush object is deleted too.
* Added tests
2022-03-16 23:27:25 +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
klayoutmatthias
626d404d83
BUild fixes for Windows
2021-12-12 23:49:14 +01:00
Matthias Koefferlein
2d334bd88d
Some code simplification
2021-12-11 01:09:07 +01:00
Matthias Koefferlein
8dbc31a41f
Removed debug output
2021-12-11 00:42:26 +01:00
Matthias Koefferlein
ca304b15c8
Enable multi-base support for RBA + Qt binding
2021-12-11 00:14:10 +01:00
Matthias Koefferlein
9c0e94e63c
WIP: Allowing extension (mixin) classes
...
Needed to represent QIODeviceBase as a second base class for
QIOdevice, QFile etc. Additional base classes are supported but
in a rather limited way. They only contribute constants like enums.
No methods can be provided this way (a limitation of the method
enumeration scheme which only supports one base classe)
2021-12-07 23:24:08 +01:00
Matthias Koefferlein
ab97a4722d
WIP: fixed some Qt binding and GSI issues, added tests
2021-12-04 22:15:04 +01:00
Matthias Koefferlein
acf1edb6ce
Build fixes with Ruby and Python
2021-12-02 23:46:39 +01:00
Matthias Koefferlein
ab350078a0
Cross-calling of Python from Ruby and much more ...
2021-11-13 19:57:31 +01:00
Matthias Koefferlein
cd70bea9a0
Basic enabling of Ruby 3
2021-06-29 23:32:36 +02:00
Eugene Zelenko
d5c9067d8f
Fix misspellings in various modules.
2021-06-11 20:11:37 -07:00
Matthias Koefferlein
93f9b693d3
RBA inspector does not crash on unknown class
2021-05-23 12:20:02 +02:00
Matthias Köfferlein
e6ab8c2483
Issue 771 ( #773 )
...
* Fixed the issue - Byte array variant was not properly converted to Python/Ruby objects.
* Added tests + properly converting byte arrays to byte array variants in Python.
2021-04-19 22:28:27 +02:00
Matthias Koefferlein
0f4a10441d
RecursiveInstanceIterator: Doc fixes, tests, instance array iteration.
2021-02-20 22:17:43 +01:00
Matthias Köfferlein
1ba4394c2a
Merge pull request #710 from KLayout/byte-arrays
...
Byte arrays
2021-01-27 12:42:48 +01:00
Matthias Köfferlein
bd41f7222d
Merge pull request #706 from KLayout/spline-as-api
...
Generalized spline interpolation of DXF reader
2021-01-26 23:39:51 +01:00
Matthias Koefferlein
5aac018503
Mapping QByteArray (and std::vector<char>) to Python 'bytes' now.
2021-01-24 17:36:40 +01:00
Matthias Koefferlein
d1e6845ae4
Replaced std::auto_ptr by std::unique_ptr because the latter is deprecated
2021-01-23 21:55:51 +01:00
Matthias Koefferlein
c8951c10cd
Generalized spline interpolation of DXF reader and provide a script binding (RBA::Utils).
2021-01-23 18:44:36 +01:00
Matthias Koefferlein
80996a77fb
New *_sum quantifiers, doc enhancements, bug fixing
2021-01-14 00:21:21 +01:00
Matthias Koefferlein
7d4310d343
Updated copyright to 2021
2021-01-05 22:57:48 +01:00
Matthias Koefferlein
4ec00fb129
Fixed an issue with wrapping new objects into tl::Variants which are returned directly. For these objects, ownership needs to be transferred to the script.
2020-12-27 17:09:06 +01:00
Matthias Koefferlein
cfdd3bec9d
Merge branch 'master' into interact_with_count
2020-09-25 23:04:56 +02:00
Matthias Koefferlein
965d796992
Fixed a build warning.
2020-09-20 18:55:13 +02:00
Matthias Koefferlein
0166d48eec
ruby 1.x compatibility.
2020-09-19 21:19:27 +02:00
Matthias Köfferlein
f3fa3aac1a
Merge remote-tracking branch 'origin/master'
2020-09-19 21:02:59 +02:00