Matthias Koefferlein
84cf46bcd2
Fixed an issue with the new process_events implementation: compiler resolution did not work well for the two types - one them them reimplemented and the other not.
2017-12-27 19:54:06 +01:00
Matthias Koefferlein
39d635c7d7
Fixed rba basic testsuite when both modes are used.
2017-12-27 19:40:44 +01:00
Matthias Koefferlein
7a28389bf1
Fixed Windows build.
2017-12-27 18:27:18 +01:00
Matthias Koefferlein
c63a47dd89
Added tests for klayout app
...
This commit also contains some important fixes:
* Option -wd wasn't working
* Relative layout file paths in session files are resolved as relative
to the session file. On writing, absolute paths are used, so this
change only affects session files build intentionally.
Plus:
* Program version is available in unit tests too
* Fixed a typo in the RBA::Expression documentation
2017-12-27 17:52:35 +01:00
Kazunari Sekigawa
978ac4786e
Prepare Python scripts for building for Mac OSX.
...
This refs #4 .
2017-12-27 22:56:36 +09:00
Kazunari Sekigawa
376ddb7cf5
Prepare Python scripts for building for Mac OSX.
...
This refs #4 .
2017-12-27 19:39:24 +09:00
Matthias Koefferlein
9906565013
Further refactoring - more functionality for GUI/non-GUI application classes.
2017-12-26 00:03:40 +01:00
Kazunari Sekigawa
1fe6280970
Buddy tools have to be built as ordinary command line tools; not as bundles (*.app)
...
This refs #10 .
2017-12-26 06:58:03 +09:00
Matthias Koefferlein
bbb1514184
WIP: some refactoring.
2017-12-25 22:35:16 +01:00
Matthias Koefferlein
53d2557ba5
First steps towards fix. Needs review.
...
The patch is based on splitting the application class into
two incarnations - one for GUI capability and one without.
GSI binding happens dynamically based on the mode chosen.
We can do so because the application class is the first one
to become active and can decide the mode by itself.
In general, the application class carries too much functionality
and splitting is a task for the future. Right now, the functionality
is inside the base class and the derived classes basically only
configure the base class.
A better design would be to drop the QApplication inheritance in
the RBA::Application class hierarchy and provide access to the
QApplication object through qapp_gui getter.
2017-12-25 00:51:06 +01:00
Matthias Koefferlein
395643b427
Fixed #44 (Transformation constructor with x,y not working)
2017-12-23 19:42:39 +01:00
Matthias Koefferlein
692ae10fe2
Fixed #45 (Partial selection does not capture instance)
2017-12-22 21:01:40 +01:00
Matthias Koefferlein
b44f5ab156
Fixed #43 (crash when using Qt specific command line options)
2017-12-21 22:56:41 +01:00
Matthias Koefferlein
4855231342
Fixed #40 (Crash in Python binding)
...
Plus the same effect was observed for Ruby and fixed there as well.
2017-12-21 00:55:40 +01:00
Matthias Koefferlein
6f66e04c8e
Fixed #41 (Polygon#touches? method)
2017-12-20 22:55:15 +01:00
Matthias Koefferlein
f796ff8971
Updated version string to next minor version.
2017-12-20 22:20:04 +01:00
Matthias Koefferlein
4f3c745790
Updated the wording of some documentation texts and fixed some errors there.
2017-12-20 22:11:42 +01:00
Kazunari Sekigawa
3f0152149e
To try suggested patch "patch0.patch.txt" provided by Matthias.
...
I should have created a topic branch for this.
This refs #8 . (reverted from commit e254f8a67e )
2017-12-19 21:30:01 +09:00
Kazunari Sekigawa
e254f8a67e
To try suggested patch "patch0.patch.txt" provided by Matthias.
...
I should have created a topic branch for this.
This refs #8 .
2017-12-19 21:14:25 +09:00
Kazunari Sekigawa
74da54faf8
To try suggested patch "patch0.patch.txt" provided by Matthias.
...
This refs #8 . (reverted from commit 0f14c13860 )
2017-12-19 20:24:59 +09:00
Kazunari Sekigawa
0f14c13860
To try suggested patch "patch0.patch.txt" provided by Matthias.
...
This refs #8 .
2017-12-19 19:36:54 +09:00
Kazunari Sekigawa
047da281dd
Merge remote-tracking branch 'upstream/macos-build' into macos-build
2017-12-18 18:54:36 +09:00
Matthias Koefferlein
21e42788e6
Fixed #39 (Action cannot be reassigned)
2017-12-17 22:38:48 +01:00
Matthias Koefferlein
28ff493de7
Replaced patch by generated code
...
The Qt4/5 bindings are generated automatically. Hence any manual
patches are bound to become lost on the next generation run.
This commit removes symbols which are not available on MacOS
by a code-generation solution.
These symbols are only required for WindowsCE so their
unavailability on other systems is not a big loss.
2017-12-17 15:30:37 +01:00
Matthias Köfferlein
4a28302451
Merge pull request #38 from Kazzz-S/macos-build
...
Python wrapper of "build.sh" for building KLayout on Mac OSX.
2017-12-17 13:21:59 +01:00
Kazunari Sekigawa
fa0fec9bfa
Prepare Python scripts for building for Mac OSX.
...
This refs #4 .
2017-12-16 18:55:10 +09:00
Kazunari Sekigawa
6dfc5fe38a
Prepare Python scripts for building for Mac OSX.
...
This refs #4 .
2017-12-16 16:34:24 +09:00
Kazunari Sekigawa
fbcd9516a5
Prepare Python scripts for building for Mac OSX.
...
This refs #4 .
2017-12-16 14:45:14 +09:00
Kazunari Sekigawa
9b9d68a638
Prepare Python scripts for building for Mac OSX.
...
This refs #4 .
2017-12-16 13:58:42 +09:00
Kazunari Sekigawa
3c920b5938
Remove individual script files for building for Mac OSX.
...
This refs #4 .
2017-12-16 13:52:53 +09:00
Matthias Koefferlein
ad741d0eb7
Fixed #36 : harding against destruction of object inside event handler
...
Plus: declare the form builder to return a new
widget object (the way it is).
2017-12-16 01:45:35 +01:00
Kazunari Sekigawa
36564a1709
Merge pull request #7 from klayoutmatthias/macos-build
...
Maybe fixed a linker issue (db::GDS2Writer vtable not found)
2017-12-13 20:37:06 +09:00
Kazunari Sekigawa
adb9b5e4d7
Merge remote-tracking branch 'origin/high-sierra-build' into macos-build
2017-12-13 18:05:47 +09:00
Matthias Koefferlein
6e14460334
Ported enhancements for #33 fix (factory callbacks) to Ruby too.
2017-12-13 00:21:56 +01:00
Matthias Koefferlein
0c25e8cab1
Maybe fixed a linker issue (db::GDS2Writer vtable not found)
2017-12-12 23:23:13 +01:00
Kazunari Sekigawa
94cc87bc32
Improve Bash scripts for building for Mac OSX.
...
This refs #4 .
2017-12-13 06:59:17 +09:00
Kazunari Sekigawa
6acbe946fe
Improve Bash scripts for building for Mac OSX.
...
This refs #4 .
2017-12-13 06:51:23 +09:00
Kazunari Sekigawa
0bb09eb2ba
Improve Bash scripts for building for Mac OSX.
...
This refs #1 .
2017-12-12 22:20:53 +09:00
Kazunari Sekigawa
bded8f9fa4
When KLayout 0.25 is built with Qt 5.8.0 or later, this workaround is not required.
...
This refs #1 .
2017-12-12 20:50:23 +09:00
Kazunari Sekigawa
9e3b4681e2
To modify Bash script for Yosemite.
...
This refs #1 .
2017-12-12 18:22:34 +09:00
Kazunari Sekigawa
74fa72de55
To modify Bash script for Yosemite.
...
This refs #1 .
2017-12-12 18:21:34 +09:00
Kazunari Sekigawa
f2096e0e6e
Merge pull request #3 from klayoutmatthias/macos-build
...
Macos build
2017-12-12 18:06:00 +09:00
klayoutmatthias
b49db04fb4
Fixed MacOS build
...
The LLVM STL implementation does not recognize "typedef void iterator_traits"
as dummy declaration. It will fall back to an empty traits struct.
Using the default "forward_iterator_tag" for the iterator_traits solves
this compile issue.
2017-12-12 00:21:16 +01:00
Matthias Koefferlein
1cea7dfd23
Fixed #33 (Plugin factory not working when using with Python)
...
The fix consisted of introducing "factory" type virtual
methods which ensure that a reference is held to the
returned object. This is important for implementing
factory methods in Python. Without this, the object
get destroyed before we have a chance to increment the
reference count.
2017-12-11 23:51:00 +01:00
Kazunari Sekigawa
bbe87ad5d9
To build klayout 0.25 on MacOS High-Sierra with Qt 5.9.3 from MacPorts.
...
This refs #1 .
2017-12-11 22:45:28 +09:00
Kazunari Sekigawa
14894e6ab7
Qt::WindowOkButtonHint and Qt::WindowCancelButtonHint are supported for Windows CE.
...
This refs #1 .
2017-12-10 16:42:35 +09:00
Matthias Koefferlein
11c9d37e93
Fixed #32 (rounding issue with instance properties)
2017-12-09 23:00:41 +01:00
Matthias Köfferlein
800ac4ad7d
Merge pull request #31 from pankajp/patch-1
...
Fix compilation with `-with-64bit-coord`
2017-12-06 20:57:10 +01:00
Pankaj Pandey
f318cb2e30
Update tlString.h
2017-12-06 18:33:57 +05:30
Pankaj Pandey
58281695fb
Update tlString.cc
2017-12-06 18:32:17 +05:30