editors/Viewer.py
Mon, 30 Aug 2021 09:39:23 +0200 Edouard Tisserant Copy description when DnD variables from Globals in resources and configuration variable panels to POUs. Also prevent making exception in case some other DropSource wouldn't provide description. svghmi
Thu, 10 Jun 2021 09:40:05 +0200 Edouard Tisserant Copy description when DnD variables from CodeFile CTN to POUs
Mon, 24 May 2021 14:33:54 +0200 Edouard Tisserant Finished fixing Wx IDs abuse. There was still some wasted IDs because of wx.NewId calls in many places where it wasn't needed, and those IDs were not re-used. As a consequence Beremiz was making exception crashing after a few hours of intensive use.
Sat, 04 Apr 2020 09:41:32 +0200 Edouard Tisserant Fix unmatched "Courier" font for monospace fonts on latest ubuntu 20.04. Selected "FreeMono" instead, present since at least 18.04
Thu, 24 Oct 2019 11:20:04 +0200 Edouard Tisserant Fixed one more sequel of marking temporary variables created while generating ST code out of FBD
Sun, 07 Apr 2019 21:08:07 +0200 Edouard Tisserant Conform to pep8 and pylint :
Thu, 28 Mar 2019 09:19:30 +0100 Edouard Tisserant Merged more of wx.NewID_abuse_fix branch
Wed, 27 Mar 2019 14:10:39 +0100 Edouard Tisserant More wx.NewID abuse removal. All Viewer.py got cured. wx.NewID_abuse_fix
Tue, 26 Mar 2019 13:54:36 +0100 Edouard Tisserant Dyslectic typos
Tue, 26 Mar 2019 11:03:57 +0100 Edouard Tisserant Continued wx.NewID abuse removal in Viewer.py : Added AppendItem to use instead of AppendMenu, made examples with AddBlockPinMenuItems and AddAlignmentMenuItems wx.NewID_abuse_fix
Tue, 26 Mar 2019 09:43:51 +0100 Edouard Tisserant Continued wx.NewID abuse removal in Viewer.py : get rid of one call to AppendMenu method, having no real purpose apparently. To be continued. wx.NewID_abuse_fix
Tue, 26 Mar 2019 09:41:09 +0100 Edouard Tisserant Start fixing wx.NewId abuse in viewer.py. This shows how to avoid using AppendMenu() function, definitely useless. wx.NewID_abuse_fix
Mon, 24 Dec 2018 16:20:20 +0300 Andrey Skvortsov fix zoom-in/zoom-out using mouse wheel
Fri, 12 Oct 2018 13:24:47 +0300 Andrey Skvortsov python3 support: pylint, W1633 # (round-builtin) round built-in referenced
Thu, 11 Oct 2018 12:00:40 +0300 Andrey Skvortsov python3 support: pylint, W1652 # (deprecated-types-field) Accessing a deprecated fields on the types module
Fri, 05 Oct 2018 14:22:01 +0300 Andrey Skvortsov python3 support: pylint, W1619 #(old-division) division w/o __future__ statement
Thu, 04 Oct 2018 12:07:16 +0300 Andrey Skvortsov python3 support: pylint, W1613 # (xrange-builtin) xrange built-in referenced
Tue, 02 Oct 2018 17:18:09 +0300 Andrey Skvortsov cleanup: pylint, R0123 # (literal-comparison) Comparison to literal
Wed, 26 Sep 2018 18:08:57 +0300 Andrey Skvortsov Add custom dialog to add/edit comment block in graphical editors
Wed, 26 Sep 2018 14:15:22 +0300 Andrey Skvortsov use the same font size on Windows and GNU/Linux
Wed, 26 Sep 2018 12:13:23 +0300 Andrey Skvortsov use nice and pretty mono font in graphical languages (SFC, FBD, LD) as well
Tue, 25 Sep 2018 18:29:10 +0300 Andrey Skvortsov Avoid division by zero in case width or height for page are not specified
Wed, 29 Aug 2018 18:53:02 +0300 Andrey Skvortsov Avoid usage of localized strings before initialization during import in many modules
Tue, 26 Jun 2018 17:34:15 +0300 Andrey Skvortsov Fix 'DoGetTextExtent - invalid DC' error
Thu, 07 Jun 2018 16:31:26 +0300 Andrey Skvortsov Drop support for wxPython 2.6 and below
Tue, 20 Feb 2018 14:16:51 +0100 Edouard Tisserant PEP8 and PyLint conformance: whitespaces and stuff
Mon, 19 Feb 2018 15:14:30 +0100 Edouard Tisserant Moved some definitions away from controller class, and adaped references them through all code.
Tue, 13 Feb 2018 14:01:20 +0100 Edouard Tisserant Unclutter graphics package scope.
Thu, 19 Oct 2017 11:03:03 +0300 Andrey Skvortsov fix pylint warning '(bad-continuation) Wrong hanging indentation before block'
Mon, 09 Oct 2017 18:13:26 +0300 Andrey Skvortsov fix pylint warning "(relative-import) Relative import 'Y', should be 'X.Y'"
Mon, 09 Oct 2017 16:04:39 +0300 Andrey Skvortsov fix pylint warning '(dangerous-default-value) Dangerous default value {} as argument'
Fri, 06 Oct 2017 17:52:34 +0300 Andrey Skvortsov fix pylint warning '(unused-import), Unused import connectors'
Thu, 05 Oct 2017 16:38:49 +0300 Andrey Skvortsov explicitly mark unused variables found by pylint with _ or dummy
Tue, 03 Oct 2017 16:31:31 +0300 Andrey Skvortsov remove unused variables found by pylint
Mon, 02 Oct 2017 13:19:06 +0300 Andrey Skvortsov fix pylint warning '(global-variable-not-assigned) Using global for 'X' but no assignment is done'
Fri, 29 Sep 2017 16:39:52 +0300 Andrey Skvortsov fix pylint warning (bad-indentation) Bad indentation. Found X spaces, expected Y
Thu, 28 Sep 2017 17:20:31 +0300 Andrey Skvortsov fix ungrouped imports from package X
Mon, 21 Aug 2017 21:55:18 +0300 Andrey Skvortsov clean-up: fix PEP8 E265 block comment should start with '# '
Sat, 19 Aug 2017 18:12:20 +0300 Andrey Skvortsov clean-up: fix PEP8 E722 do not use bare except'
Sat, 19 Aug 2017 00:58:44 +0300 Andrey Skvortsov clean-up: fix PEP8 E124 closing bracket does not match visual indentation
Fri, 18 Aug 2017 20:14:38 +0300 Andrey Skvortsov clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Fri, 18 Aug 2017 12:36:31 +0300 Andrey Skvortsov clean-up: fix PEP8 E127 continuation line over-indented for visual indent
Thu, 17 Aug 2017 17:25:17 +0300 Andrey Skvortsov clean-up: fix PEP8 E129 visually indented line with same indent as next logical line
Thu, 17 Aug 2017 15:43:25 +0300 Andrey Skvortsov clean-up: fix PEP8 E502 the backslash is redundant between brackets
Thu, 17 Aug 2017 14:27:06 +0300 Andrey Skvortsov clean-up: fix PEP8 W601 .has_key() is deprecated, use 'in'
Thu, 17 Aug 2017 11:39:10 +0300 Andrey Skvortsov clean-up: fix PEP8 E731 do not assign a lambda expression, use a def
Thu, 17 Aug 2017 10:04:24 +0300 Andrey Skvortsov clean-up: fix PEP8 E712 comparison to True should be 'if cond is True:' or 'if cond:'
Wed, 16 Aug 2017 17:27:58 +0300 Andrey Skvortsov clean-up: fix PEP8 E111 indentation is not a multiple of four
Wed, 16 Aug 2017 13:01:13 +0300 Andrey Skvortsov clean-up: fix PEP8 E703 statement ends with a semicolon
Wed, 16 Aug 2017 12:53:23 +0300 Andrey Skvortsov clean-up: fix PEP8 E306 expected 1 blank line before a nested definition, found X
Wed, 16 Aug 2017 12:48:08 +0300 Andrey Skvortsov clean-up: fix PEP8 E305 expected 2 blank lines after class or function definition
Wed, 16 Aug 2017 12:21:05 +0300 Andrey Skvortsov clean-up: fix PEP8 E201 whitespace after '{'
Wed, 16 Aug 2017 11:47:27 +0300 Andrey Skvortsov clean-up: fix PEP8 E227 missing whitespace around bitwise or shift operator
Tue, 15 Aug 2017 22:38:43 +0300 Andrey Skvortsov clean-up: fix PEP8 E251 unexpected spaces around keyword / parameter equals
Tue, 15 Aug 2017 17:01:51 +0300 Andrey Skvortsov clean-up: fix PEP8 E711 comparison to None should be 'if cond is not None:'
Tue, 15 Aug 2017 16:01:18 +0300 Andrey Skvortsov clean-up: fix PEP8 E303 too many blank lines
Tue, 15 Aug 2017 15:50:30 +0300 Andrey Skvortsov clean-up: fix PEP8 E231 missing whitespace after ':' or ','
Tue, 15 Aug 2017 12:17:51 +0300 Andrey Skvortsov clean-up: fix PEP8 E203 whitespace before ':' and whitespace before ','
Mon, 14 Aug 2017 23:27:15 +0300 Andrey Skvortsov clean-up: fix PEP8 E302 expected 2 blank lines, found 1
Mon, 14 Aug 2017 22:23:17 +0300 Andrey Skvortsov clean-up: fix some PEP8 E228 missing whitespace around modulo operator