Commit Graph

1185 Commits

Author SHA1 Message Date
Matthias Koefferlein 55be7d78e7 Merge remote-tracking branch 'matthias-origin/async-reader' into macos-build-on-master 2018-01-06 17:10:35 -08:00
Kazunari Sekigawa 052da82d5f
Merge pull request #20 from klayoutmatthias/macos-build
Macos build
2018-01-06 18:23:10 +09:00
Matthias Köfferlein 047ebf44fa
Merge pull request #58 from Kazzz-S/macos-build
Using non-OS-standard script languages
2018-01-06 01:41:33 +01:00
Kazunari Sekigawa 9772b6affb Merge branch 'TB-deploy' into macos-build 2018-01-05 20:43:59 +09:00
Kazunari Sekigawa 356ac4f421 In Qt5, my two favorite styles "cleanlooks" and "motif" are not supported.
This refs #15.
2018-01-05 20:43:20 +09:00
Kazunari Sekigawa 0768e345fc Merge branch 'TB-deploy' into macos-build 2018-01-05 20:39:01 +09:00
Kazunari Sekigawa a36fdd246c In Qt5, my two favorite styles "clearlooks" and "motif" are not supported.
This refs #15.
2018-01-05 20:38:10 +09:00
Kazunari Sekigawa 21f7d10bef Merge branch 'TB-deploy' into macos-build 2018-01-04 19:56:01 +09:00
Kazunari Sekigawa ecade95463 To add one option to trace deployment process of `macdeployqt` tool.
This refs #4 and #19.
2018-01-04 19:55:11 +09:00
Kazunari Sekigawa 45e628ad88 Merge branch 'TB-deploy' into macos-build 2018-01-03 12:56:30 +09:00
Kazunari Sekigawa 91bf2a1eb0 To test "build4mac.py" family with non-standard script language support like Anaconda.
This refs #4.
2018-01-03 12:53:41 +09:00
Matthias Koefferlein ef67790d2c Implemented #54 (more typeinfo visibility) 2018-01-02 16:24:31 -08:00
Kazunari Sekigawa 0ead95ddf6 Merge remote-tracking branch 'origin/macos-build' into TB-deploy 2018-01-03 07:44:46 +09:00
Kazunari Sekigawa 016e5adbeb To test "build4mac.py" family with non-standard script language support like Anaconda.
This refs #4.
2018-01-03 07:41:44 +09:00
Kazunari Sekigawa 6f2c054285
Merge pull request #18 from klayoutmatthias/macos-build
Fixed #51: segmentation fault on return to main window
2018-01-03 07:39:11 +09:00
Matthias Koefferlein 8003d1bb47 Merge branch 'master' into macos-build-on-master 2018-01-02 23:37:45 +01:00
Matthias Koefferlein ae6485a0df Fixed #51: segmentation fault on return to main window and other opportunities 2018-01-02 14:19:35 -08:00
Kazunari Sekigawa 3bc7756aaf
Merge pull request #14 from klayoutmatthias/macos-build
Some changes for Windows build compatibility
2018-01-02 08:30:08 +09:00
Matthias Koefferlein 0837eb0061 Merge branch 'macos-build' into macos-build-wcompat 2018-01-01 12:27:05 -08:00
Matthias Koefferlein ffb56335fb Updated copyright note to 2018. 2018-01-01 21:08:06 +01:00
klayoutmatthias efa921c950 Removed visibility declaration which wasn't actually required. 2018-01-01 19:04:52 +01:00
klayoutmatthias 7e0f1522ac Windows build compatibility
The issue is with "dllexport": previously, dllexport was present on
exposed templates tool (= visibility(default) for gcc/clang). This
ensured MacOS compatibility since then the typeinfo is corretly
shared and dynamic_cast/typeid works.

For Windows, the "dllexport" equivalent requires the template
instantiations to be declared "external" which is a coding nightmare.

The solution is to provide separate macros for real (non-specialized,
not explicitly instantiated) templates (.._PUBLIC_TEMPLATE) which
is defined as empty for Windows and "visiblity(default)" for gcc/clang.
2018-01-01 18:55:11 +01:00
Matthias Koefferlein 04ed6fa976 Merge branch 'macos-build' of https://github.com/klayoutmatthias/klayout into macos-build 2018-01-01 08:43:12 -08:00
Matthias Koefferlein 823a607cf6 Merge branch 'macos-build' of https://github.com/Kazzz-S/klayout into macos-build 2018-01-01 08:40:31 -08:00
Matthias Koefferlein d5d95c536c Generalized Python unit tests to enhance compatibility across Python versions. 2018-01-01 08:39:41 -08:00
Matthias Koefferlein 111e1f12e0 WIP: Windows build compatibility 2018-01-01 14:44:25 +01:00
Matthias Koefferlein c8108dd038 WIP: Windows build compatibility 2018-01-01 14:34:49 +01:00
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