Commit Graph

5008 Commits

Author SHA1 Message Date
Matthias Koefferlein 7ffc6b9c52 Less strict conditions for certain unit tests to account for MacOS specifics und numerics 2018-01-01 04:38:15 -08:00
Matthias Köfferlein 8f968b5858
Merge pull request #50 from Kazzz-S/macos-build
Macos build
2018-01-01 12:05:54 +01:00
Kazunari Sekigawa 1afae92f34
Merge pull request #13 from klayoutmatthias/macos-build
Even more exported templates ..
2018-01-01 19:55:41 +09:00
Kazunari Sekigawa 52d299ed62 To arrange the contents of "Info.plist" file.
To generate two script bundles: KLayoutEditor.app & KLayoutViewer.app.

This refs #6.
2018-01-01 08:42:13 +09:00
Kazunari Sekigawa 8b990c280b Merge remote-tracking branch 'origin/macos-build' into TB-deploy 2018-01-01 07:34:10 +09:00
Kazunari Sekigawa 1e4098f5f8 Merge remote-tracking branch 'upstream/macos-build' into TB-deploy 2018-01-01 07:29:44 +09:00
Kazunari Sekigawa 1cd47dc6cb
Merge pull request #12 from klayoutmatthias/macos-build
More fixes for MacOS and happy new year :-)
2018-01-01 07:28:04 +09:00
Matthias Koefferlein d670083111 Even more exported templates .. 2017-12-31 11:43:44 -08:00
Matthias Koefferlein c4cf394719 One more external visibility ... 2017-12-31 10:56:46 -08:00
Matthias Koefferlein 6b4d24b442 One more external visibility ... 2017-12-31 10:23:54 -08:00
Matthias Koefferlein b7a18b3278 Added method to derive application path for MacOS (/proc isn't there on MacOS) 2017-12-31 09:55:23 -08:00
Matthias Koefferlein 48a6b4b57a Exceptions have to be exported from DSO's too to make the recognized in catch statements. 2017-12-31 09:54:47 -08:00
Matthias Koefferlein 2084a7e85c Don't crash if no unit test libs are found in the unit test runner. 2017-12-31 09:52:54 -08:00
Matthias Koefferlein f5b7a037ad Turn the unit test runner into a ordinary binary too. 2017-12-31 09:51:38 -08:00
Kazunari Sekigawa ca066a1d07 Merge branch 'TB-deploy' into macos-build 2017-12-31 21:23:19 +09:00
Kazunari Sekigawa 03222ee5c9 To arrange the contents of "Info.plist" file.
To generate two script bundles: KLayoutEditor.app & KLayoutViewer.app.

This refs #6.
2017-12-31 21:22:32 +09:00
Matthias Koefferlein 93572a8f0b Fixed dbEdges iterator (ported fix of dbRegion iterator for MacOS/clang to dbEdges too) 2017-12-30 17:15:24 -08:00
Matthias Koefferlein 167df7eae6 Fixed a unit test bug - the dbCell test was working by coincidence on other systems. 2017-12-30 16:46:49 -08:00
Kazunari Sekigawa d72349035c matthias Solved the clang/MacOS startup failure and menu issue …
1.) Startup issue:

This is solved by making sure templates with virtual functions
are made visible in the DSO. This way, dynamic_cast is possible
across DSO's.

Scary: clang/MacOS wants the forward declarations be declared visible as well.

2.) Menu issue:

The best solution is to have only one QMenuBar. The navigator
now gets a synthetic menu bar composed of QToolButtons.
2017-12-31 08:41:59 +09:00
matthias 063811edc4 Solved the clang/MacOS startup failure and menu issue
1.) Startup issue:

This is solved by making sure templates with virtual functions
are made visible in the DSO. This way, dynamic_cast is possible
across DSO's.

Scary: clang/MacOS wants the forward declarations be declared visible as well.

2.) Menu issue:

The best solution is to have only one QMenuBar. The navigator
now gets a synthetic menu bar composed of QToolButtons.
2017-12-30 15:22:16 -08:00
Matthias Koefferlein 47f471b27c Merge remote-tracking branch 'remotes/kazzz/macos-build' into macos-build 2017-12-30 21:05:40 +01:00
Kazunari Sekigawa df6ea0105e Merge branch 'TB-deploy' into macos-build 2017-12-30 06:52:39 +09:00
Matthias Koefferlein 6526625a67 Fixed Ruby-less build. 2017-12-29 20:35:34 +01:00
Kazunari Sekigawa 65e9a1854a Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.
2017-12-29 21:00:03 +09:00
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