Matthias Koefferlein
256de9bc84
Small DXF bugfix: persist name of subcells of cell variants.
2018-04-11 21:52:23 +02:00
Matthias Koefferlein
1e2f8a0ce5
Fixed #112 (Salt package repo relative paths)
...
This patch also includes:
* A segfault fixed that happend on some errors
* package URL's are resolved relative to the
salt mine URL if one is given.
2018-04-10 21:40:07 +02:00
Matthias Koefferlein
3495f9c698
Fixed #110 (ut_runner not working on MacOS)
2018-04-08 01:27:22 +02:00
Matthias Koefferlein
d3227b5bda
Merge branch 'master' of https://github.com/Kazzz-S/klayout
2018-04-07 16:02:39 -07:00
Matthias Koefferlein
da1daae1d8
Fixed #107 (Undo not working with shapes)
2018-04-07 16:00:37 -07:00
Matthias Koefferlein
829966d9a1
Fixed #108 (Box#enlarge, Box#move on empty boxes)
2018-04-07 09:21:50 +02:00
Matthias Koefferlein
3d5780db2b
Bugfix #109 (part 3): OASIS/GDS writer fixed + unit test added.
2018-04-06 23:27:29 +02:00
Matthias Koefferlein
655eb49afd
Bugfix #109 (part 2): re-established compatibility with previous version.
2018-04-06 23:08:41 +02:00
Matthias Koefferlein
ea3ebba470
Bugfix #109 (part 1): account for long != long long on Windows in tl::Variant
2018-04-06 14:53:40 +02:00
Matthias Koefferlein
a7446dd0dc
Fixed #106 (Search & replace help page enhancements)
2018-03-31 13:39:35 +02:00
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
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
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
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
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
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
Alex Tait
9717612c93
allowed user defined literals. build and deploy passes with MacOsSierra version of Ruby.
2018-03-08 14:33:43 -05:00
Thomas Ferreira de Lima
8ec78a99a9
open with working properly in MacOS.
2018-03-07 12:54:01 -05:00
Thomas Ferreira de Lima
c82bb445ac
testing file open event
2018-03-07 11:07:29 -05:00
Matthias Koefferlein
51e40cc9ab
Merge remote-tracking branch 'remotes/origin/master'
2018-03-03 00:22:10 +01:00
Matthias Koefferlein
7da3b0206a
DRC as early autorun
...
This will finally enable DRC runsets started from an autorun macro.
2018-03-03 00:21:23 +01:00
klayoutmatthias
3d5fe871e2
Fixed #84 (Python modules: breakpoints not working on Windows)
2018-03-03 00:18:18 +01:00
Matthias Koefferlein
6f0ecd3d9c
Show tip window once for non-standard background combination mode.
2018-02-27 21:59:52 +01:00
Matthias Koefferlein
2ffdbb4d91
Suppress repeated message in unit tests if not required.
2018-02-27 00:02:57 +01:00
Matthias Koefferlein
d0cb17b386
ut_runner: Added -r option, fixed help text
2018-02-24 18:09:50 +01:00
Matthias Koefferlein
eea53b3091
Fixed #79 (Macro Editor: Replace function enabled also for read-only macros)
2018-02-23 23:04:21 +01:00
Matthias Koefferlein
5f4e715dcf
Fixed #77 (copy_tree should work in non-editable mode too)
2018-02-21 07:47:41 +01:00
Matthias Koefferlein
a272ba39a7
Remove a debug output.
2018-02-21 07:47:02 +01:00
Matthias Koefferlein
2f46f0d1c6
Fixed some issues found with Coverity.
2018-02-21 00:21:19 +01:00
Matthias Koefferlein
6052a04429
A few enhancements and unit tests for PCells
...
This commit adds unit tests for implementation helper-based
PCells in Python and Ruby.
2018-02-17 01:26:25 +01:00
Matthias Koefferlein
f6f75cd791
A small rework of the Python PCell helpers
...
The aim of this rework was to enable PCell implementations
that use the basic methods rather than the "_impl" variants.
For the latter, potential variable name clashes happen when
parameters are called "cell", "layout", "layer" or similar.
New methods enable implementation on the level of the
non-"impl" methods. For example:
def produce(self, layout, layers, parameters, cell):
self.init_values(parameters, layers)
...
self.finish()
2018-02-13 00:59:11 +01:00
Matthias Koefferlein
12bb664a80
Fixed the default implementation of transformation_from_shape in Python
2018-02-13 00:09:54 +01:00
Matthias Koefferlein
4f3b205d93
Fixed #71 (target cell argument is required)
2018-02-12 22:46:54 +01:00
Matthias Koefferlein
5d59b890d3
Small bugfix: DRC error message on wrong '@' input/output was wrong.
2018-02-12 22:04:03 +01:00
Matthias Koefferlein
6d0fe85425
Fixed #75 (Python PCell issue when parameters are called 'layer')
...
This commit
- Ignores exceptions when checking for PCells that accept shapes.
Hence a single rogue one does not break the feature.
- Prevents errors when parameters named "layer" are present
by making the implementation safe against this case.
- In addition, guiding shape parameters of type "Path", "Box" etc.
(i.e. integer types) are supported too although they are
not recommended for portability.
2018-02-11 00:34:28 +01:00
Matthias Koefferlein
6a762db29b
Reworked bookmark menu implementation to avoid MacOS menu issue
...
Without this commit, bookmark menus got grayed out
on MacOS with Qt5 sometimes. Now, the implementation
of recent file menu, bookmark menu, macro menu and
the static main menu use the same framewkork which
includes a workaround for the disabled menu issue.
2018-02-10 18:41:05 +01:00
Matthias Koefferlein
1e29b29c13
Merge remote-tracking branch 'remotes/origin/menu_issue'
2018-02-10 17:32:33 +01:00
Matthias Koefferlein
d6adadcad4
Added file source to 'stream has unknown format' message.
2018-02-09 22:56:03 +01:00
Matthias Koefferlein
396d0263d4
Some changes to work around MacOS menu issues
...
- ID's are used instead of pointers to identify menu items
vs. QAction's. This is a weak measure to enhance predictability.
- The file menu is built from abstract menu items instead with
native Qt objects. This way the bug fix applies both to
file menu items and the other menu entries
The main fix is:
- A menu sync is forced by emitting a focusWindowChanged event
from the application object. This forces the QCocoaMenuBar
implementation to update the system menu.
2018-02-08 16:33:54 -08:00
Matthias Koefferlein
6df645a917
Fixed #74 (small-corner boolean issue). Tests need update
2018-02-08 23:12:58 +01:00
Matthias Koefferlein
363c0c9fed
Fixed #73 (allow 'change layers' on PCells which support a single layer parameter)
2018-02-06 22:51:06 +01:00
Matthias Koefferlein
fb69dfd866
Fixed HTML version of class documentation - links to methods have not been working properly.
2018-02-04 19:07:33 +01:00
Matthias Koefferlein
808159bcab
Fixed #72 (Edges/Region NOT issue)
2018-02-01 22:35:47 +01:00
Matthias Koefferlein
432a8dddb8
Bugfix: Ruby debugger breakpoints were disabled sometimes
2018-02-01 21:18:48 +01:00
Matthias Koefferlein
23c2ae7306
Fixed #69 (DRC: 'inside' does not merge shapes of second input)
2018-01-30 00:40:17 +01:00
Matthias Koefferlein
ccb76a9f09
Merge remote-tracking branch 'remotes/origin/master'
2018-01-27 01:31:47 +01:00
Matthias Koefferlein
705056675a
Fixed a potential crash in the package manager on computing dependencies
2018-01-26 16:28:25 -08:00
Matthias Koefferlein
475bf6eb83
Small bug fixes in the package manager
...
- Remove button wasn't enabled if multiple packages
were selected
- A potential crash on removing packages was fixed
2018-01-27 01:05:25 +01:00
Matthias Koefferlein
aab425a58c
Fixed #66 (Authentication dialog should indicate retry)
2018-01-24 22:08:13 +01:00
Matthias Koefferlein
04b4c21e82
Fixed #68 (OASIS reader issue with degenerated shapes)
2018-01-24 21:21:02 +01:00
Matthias Koefferlein
53328d1767
Merge branch 'macos-build' from kazzz
2018-01-14 17:29:59 +01:00
Matthias Koefferlein
8b479bd20a
Fixed #64 (crash on exit)
2018-01-14 00:15:16 +01:00
Matthias Koefferlein
a2ba300bd7
More consistent 64bit coordinate support
2018-01-12 00:30:49 +01:00
Matthias Koefferlein
390a5c11a8
Using OASIS files for smaller size as DRC golden data
2018-01-12 00:06:24 +01:00
Matthias Koefferlein
ed945a28d4
Fixed #63 (wrong output on DRC non_interacting with empty second input)
2018-01-10 23:20:34 +01:00
Matthias Koefferlein
2de6b691b4
64bit coordinate support enhanced
...
- int128 to string support for output
- unit tests
- some compiler issues fixed
2018-01-10 22:12:55 +01:00
Matthias Koefferlein
d11e2ed8a6
Fixed #62 (QXmlSimpleReader#parse cannot be called)
2018-01-10 20:21:56 +01:00
Matthias Köfferlein
9a141a3fc8
Merge pull request #60 from klayoutmatthias/master
...
Fixed #53 by introducing a scroll area around the 'about' text.
2018-01-07 20:51:27 +01:00
Matthias Koefferlein
a63ef901aa
Fixed #53 by introducing a scroll area around the 'about' text.
2018-01-07 20:49:22 +01:00
Matthias Koefferlein
02f84181f5
Merge remote-tracking branch 'origin/macos-build' into macos-build
2018-01-07 11:24:54 -08:00
Matthias Koefferlein
8eb3f5e6ce
Fixed #59 (async download of package index and details)
2018-01-07 10:22:47 +01:00
Matthias Koefferlein
bf5f932ff1
HTTP access enhancments
...
Added the ability for asyn requests.
Fixed a memory lead issue in WebDAV access.
2018-01-07 08:56:06 +01:00
Matthias Koefferlein
55be7d78e7
Merge remote-tracking branch 'matthias-origin/async-reader' into macos-build-on-master
2018-01-06 17:10:35 -08:00
Matthias Koefferlein
ef67790d2c
Implemented #54 (more typeinfo visibility)
2018-01-02 16:24:31 -08: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
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
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
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
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
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
6526625a67
Fixed Ruby-less build.
2017-12-29 20:35:34 +01:00
Matthias Koefferlein
7715d924ee
Fixed #42 (headless mode support with Qt5/-zz)
2017-12-27 21:44:14 +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