Commit Graph

735 Commits

Author SHA1 Message Date
Matthias Koefferlein 21e2af2a97 Fixed #102 (Potential issue while upgrading from .25.1 to .25.2)
The reason was that for 0.25.1 "macro-editor-font-size" was allowed
to be an empty string (the default). Which meant: take default application
font size. In 0.25.2 this now was required to be a number and 0 was
the default for "auto" font size.

Two changes:
 - The default is back to empty string ("0" is still allowed as default)
 - The application was made safe against broken configuration files: an
   error is printed to the log, but apart from that the application
   will work (the configuration value is ignored however).
2018-03-20 18:52:00 +01:00
Matthias Koefferlein 19f25cc90b Updated changelog files. 2018-03-20 09:52:34 +01:00
Thomas Ferreira de Lima 1ed12d4715 Merge branch 'master' into macos_retina 2018-03-19 23:21:06 -04:00
Thomas Ferreira de Lima 73e84d4f8d qt5 compatible fontgen.cc 2018-03-19 23:08:50 -04:00
Matthias Koefferlein 59b1849c96 Fixed the font issue for Retina displays: there should be fixed fonts for all resolutions down to 1/6 (Retina display, 2x oversampling) 2018-03-20 02:25:49 +01:00
Matthias Koefferlein b04d9f38b9 Fixed the recent patch: mouse coordinates need to be scaled by devicePixelRatio too. 2018-03-20 01:03:33 +01:00
Matthias Koefferlein 238970d9e5 Merge remote-tracking branch 'remotes/origin/master' 2018-03-19 23:06:34 +01:00
Matthias Köfferlein 4a3952470c
Merge pull request #99 from Kazzz-S/master
Qt5.10.x from MacPorts and Homebrew can be used with KLayout 0.25.2
2018-03-19 22:32:21 +01:00
Matthias Koefferlein 0a01946202 A refactoring attempt for the Retina display issue (#94)
This is what's been done:
 - remove the old double and single buffering /w mask approach
 - modify the bitmap rendering so it's done in a offscreen
   image before subsampling
   (effect: rulers display smoothly in subsampling mode)
 - refactoring the "device pixel ratio" topic:
   Made the DPR a variable, viewport width is scaled up
   to reflect the true image size, inserted #ifdef's for Qt4.

DISCLAIMER: I don't know whether this still works - I don't
have a Retina display :-(
2018-03-19 22:22:24 +01:00
Matthias Koefferlein 415d52f35d Fixed some issues found by Coverity scan. 2018-03-19 18:24:09 +01:00
Kazunari Sekigawa cfafde703a Merge remote-tracking branch 'origin/macos-build' 2018-03-19 15:52:02 +09:00
Kazunari Sekigawa a4fdd4ad58 Confirmed that Qt5.10.x can be used.
More precisely, KLayout 0.25.2 can work with
 (1) Qt5.10.0 from MacPorts
and
 (2) Qt5.10.1 from Homebrew
on Yosemite and High Sierra.

This refs #4 and #22.
2018-03-19 15:51:15 +09:00
Kazunari Sekigawa 9368f86b7a Merge remote-tracking branch 'origin/macos-build' 2018-03-19 10:07:17 +09:00
Kazunari Sekigawa 3384310676 Use Qt5.10.x instead of Qt5.9.x.
This refs #4 and #22.
2018-03-19 10:06:38 +09:00
Kazunari Sekigawa 1890902dd8 Merge remote-tracking branch 'upstream/master' into macos-build 2018-03-19 06:51:52 +09:00
Matthias Koefferlein cabd8bbdf1 Updated Changelog.Debian 2018-03-18 18:51:39 +01:00
Kazunari Sekigawa 5c50d69ee2 Merge remote-tracking branch 'origin/master' into macos-build 2018-03-18 18:29:02 +09:00
Kazunari Sekigawa 19ba8beb42 Merge remote-tracking branch 'upstream/master' 2018-03-18 18:27:58 +09:00
Kazunari Sekigawa dd08bd42d4 Merge remote-tracking branch 'upstream/master' into macos-build 2018-03-18 18:24:31 +09:00
Matthias Koefferlein e833edd403 Updated COPYRIGHT file. 2018-03-18 08:41:21 +01:00
Kazunari Sekigawa a8236ebb24 Merge remote-tracking branch 'upstream/master' 2018-03-18 06:47:50 +09:00
Matthias Koefferlein dfd5bb1381 Updated version 2018-03-17 20:07:51 +01:00
Matthias Koefferlein 1c4a0bc7a2 Updated Changelog. 2018-03-17 20:07:06 +01:00
Matthias Köfferlein 072fa6cb7e
Merge pull request #97 from lightwave-lab/pr-qtbrew
(macOS) Adding support for qt and python3 installed from brew
2018-03-17 19:50:51 +01:00
Thomas Ferreira de Lima 945bf9ea23 adding symlinks to build4mac scripts 2018-03-16 17:01:56 -04:00
Thomas Ferreira de Lima b5b3144aba Revert "Changing python path for brew installation"
This reverts commit fa96f6d352.

Thinking about it, it would be horrible for deployment. Need to rethink this.
Klayout will break once python goes to 3.7 and brew updates it.
2018-03-16 17:01:56 -04:00
Thomas Ferreira de Lima 305240ccc3 Changing python path for brew installation
- Assuming user installing with brew wants the library link to go to cellar rather than /usr/local/opt/.
- Python gets updated often in brew, and an update could possibly break klayout.
2018-03-16 17:01:56 -04:00
Thomas Ferreira de Lima e90edf4434 Compilation with brew dependencies successful!
Using brew's qt and python3 formulae
Bonus: I have also added a script that embeds python into bundle, recursively adding dependencies from inside /usr/local/opt. That means that /usr/local/lib folders are not going to be copied. I saw one dependency to /usr/local/lib/gcc from one of numpy's modules, instead of pointing towards /usr/local/opt/gcc/lib/gcc.

Side effects: Renaming Qt5Custom to Qt5Brew
2018-03-16 17:01:47 -04:00
Thomas Ferreira de Lima 3295b630f3 Merge branch 'master' into pr-85 2018-03-16 10:56:06 -04:00
Matthias Koefferlein 13062292fe Modified solution for the segfault mentioned in ticket #85 (@thomaslima: thanks for the root cause analysis) 2018-03-16 10:05:09 +01:00
Thomas Ferreira de Lima a6738f5be4 better ruler rendering. Fails totally at 2x oversampling 2018-03-15 23:07:25 -04:00
Thomas Ferreira de Lima b6ec5b7c0d retina rendering of layout fine. rulers and other bitmap objects not obeying retina dpi 2018-03-15 14:37:38 -04:00
Thomas Ferreira de Lima 53bc8e97fe a little more stable.
still unstable for oversampling >1. also rulers do not render well
2018-03-15 03:55:47 -04:00
Thomas Ferreira de Lima a94ad6622a retina display working prototype. only works if oversample = 1. 2018-03-15 03:32:46 -04:00
Thomas Ferreira de Lima 8419ed0c6f fixing the bug mentioned in PR #85 2018-03-15 00:08:18 -04:00
Kazunari Sekigawa 55f8a8b924 Merge remote-tracking branch 'origin/macos-build' 2018-03-13 06:32:42 +09:00
Kazunari Sekigawa a21f4baca9 Merge remote-tracking branch 'upstream/master' 2018-03-13 06:31:20 +09:00
Kazunari Sekigawa cce11376af Merge remote-tracking branch 'upstream/master' into macos-build 2018-03-13 06:30:53 +09:00
Matthias Koefferlein 02c9c645ec Rephrase confusing option in 'save as' dialog. 2018-03-12 20:55:15 +01:00
Matthias Koefferlein 9fd169f183 Merge branch 'bug_89' 2018-03-12 20:47:38 +01:00
Matthias Koefferlein 3ae71d7e72 Bugfix: properly initialize new config value 2018-03-12 20:47:33 +01:00
Kazunari Sekigawa 90cbf29cb6 Merge remote-tracking branch 'origin/macos-LWLdev' into macos-build 2018-03-12 21:44:14 +09:00
Kazunari Sekigawa ab82d650e8 Merge remote-tracking branch 'upstream/bug_89' 2018-03-12 21:41:47 +09:00
Kazunari Sekigawa 38b2e7828c Merge remote-tracking branch 'upstream/master' 2018-03-12 21:41:03 +09:00
Matthias Koefferlein 802237141b Fixed #90 (DRC issue with 'extended' and joined = true) 2018-03-12 00:47:04 +01:00
Matthias Koefferlein 8bec89611f Trying to fix alpha channel issue by providing upper 8 bits set in QImage. 2018-03-11 23:57:41 +01:00
Matthias Köfferlein 4ef4635e24
Merge pull request #86 from lightwave-lab/master
Building KLayout on macOS High Sierra with python3 from brew and Qt 5.9.4
2018-03-11 22:20:41 +01:00
Matthias Köfferlein dc5792d768
Merge pull request #87 from lightwave-lab/open-with-macos
Open with macos
2018-03-11 22:08:49 +01:00
Matthias Koefferlein 5fbc20702e Macro editor enhancements (stop on exceptions)
This commit tries to address #85 and provide these features:
 - dynamic configuration of the macro IDE behaviour
 - side effect: a new entry in the setup dialog for the
   IDE settings
 - "stop on exceptions" can be taught to ignore certain files
2018-03-11 21:58:59 +01:00
Kazunari Sekigawa fd3a6e7798 adding icon to ".gds" and ".oas", too. 2018-03-11 10:26:57 +09:00