Commit Graph

633 Commits

Author SHA1 Message Date
Kazunari Sekigawa 6201818679 Merge branch 'TB-deploy' into macos-build 2017-12-29 06:53:02 +09:00
Kazunari Sekigawa 4deb368e4d Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.

# Conflicts:
#	macbuild/build4mac.py
2017-12-29 06:52:06 +09:00
Kazunari Sekigawa 102cfe5c3d Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.
2017-12-29 00:11:19 +09:00
Kazunari Sekigawa 6e86ac77d3 Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.
2017-12-28 23:02:01 +09:00
Matthias Köfferlein 424ca31802
Merge pull request #46 from Kazzz-S/macos-build
Macos build
2017-12-28 01:18:50 +01:00
Matthias Koefferlein 7715d924ee Fixed #42 (headless mode support with Qt5/-zz) 2017-12-27 21:44:14 +01:00
Matthias Koefferlein d12f5774ae Fixed CIF reader unit test (wrong file name) 2017-12-27 21:40:15 +01:00
Matthias Koefferlein 87531dadcc Fixed #48 (Cancel does not reset current tool) 2017-12-27 21:33:38 +01:00
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
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