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
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