Sun, 30 Jul 2017 13:54:51 -0700Changed title of new project dialog from:
janbarslo [Sun, 30 Jul 2017 13:54:51 -0700] rev 1721
Changed title of new project dialog from:
Choose a project
to
Choose an empty directory for new project

Sun, 30 Jul 2017 13:51:43 -0700Changed title of New Project dialog
janbarslo [Sun, 30 Jul 2017 13:51:43 -0700] rev 1720
Changed title of New Project dialog
from
Chose a project
to
Choose an empty directory for new project

Fri, 28 Jul 2017 15:34:11 +0300skip hidden files and directories on permission check
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 28 Jul 2017 15:34:11 +0300] rev 1719
skip hidden files and directories on permission check

To fix problems with git, because .git subdirectory contains
read-only repository objects.

Fri, 14 Jul 2017 18:26:20 +0300change structure of filename for bug reports in Beremiz and
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 14 Jul 2017 18:26:20 +0300] rev 1718
change structure of filename for bug reports in Beremiz and
PLCOpenEditor so bug reports could be easily sorted by name

Wed, 05 Jul 2017 13:11:45 +0300fix target Xenomai missing functions
wuyangtang <wuyangtang@live.com> [Wed, 05 Jul 2017 13:11:45 +0300] rev 1717
fix target Xenomai missing functions

Wed, 05 Jul 2017 13:03:58 +0300update messages.pot and messages.po
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 05 Jul 2017 13:03:58 +0300] rev 1716
update messages.pot and messages.po

Wed, 05 Jul 2017 13:02:30 +0300mki18n.py: generate messages.po (contains English strings in msgstr)
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 05 Jul 2017 13:02:30 +0300] rev 1715
mki18n.py: generate messages.po (contains English strings in msgstr)

This po file is necessary because Transifex translation platform
automatically can only import PO files. Usually messages.pot is
enough.

Wed, 05 Jul 2017 12:59:43 +0300add to i18n/README forgotten commands to add some XML schemes as source
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 05 Jul 2017 12:59:43 +0300] rev 1714
add to i18n/README forgotten commands to add some XML schemes as source
for strings and update app.fil

Tue, 04 Jul 2017 14:00:42 +0300Backout commit 92537ed because of writing localized string in node *.xml file
Surkov Sergey <surkovsv93@gmail.com> [Tue, 04 Jul 2017 14:00:42 +0300] rev 1713
Backout commit 92537ed because of writing localized string in node *.xml file

Tue, 04 Jul 2017 13:46:48 +0300Backout changeset 92537edeb2052d53ba5cad8b6da8463dbc660bb1
Surkov Sergey <surkovsv93@gmail.com> [Tue, 04 Jul 2017 13:46:48 +0300] rev 1712
Backout changeset 92537edeb2052d53ba5cad8b6da8463dbc660bb1

Wed, 28 Jun 2017 18:38:52 +0300fixes double mouse capturing after forcing variable in debug mode
Surkov Sergey <surkovsv93@gmail.com> [Wed, 28 Jun 2017 18:38:52 +0300] rev 1711
fixes double mouse capturing after forcing variable in debug mode
this problem appears on Linux

Tue, 27 Jun 2017 19:21:09 +0300fix bug with TextViewer instance in debug mode, appears after transferring new program on PLC
Surkov Sergey <surkovsv93@gmail.com> [Tue, 27 Jun 2017 19:21:09 +0300] rev 1710
fix bug with TextViewer instance in debug mode, appears after transferring new program on PLC
TextViewer isn't able to display debug values, so calling for this class SubscribeAllDataConsumers method causes error

Tue, 27 Jun 2017 13:30:48 +0300fix build problem when make command have trailing whitespace(s)
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 27 Jun 2017 13:30:48 +0300] rev 1709
fix build problem when make command have trailing whitespace(s)

whitespaces at the end are replaced with "", that causes make problem

Mon, 26 Jun 2017 19:42:42 +0300add dialog "add program", that appears after creating new project
Surkov Sergey <surkovsv93@gmail.com> [Mon, 26 Jun 2017 19:42:42 +0300] rev 1708
add dialog "add program", that appears after creating new project
also, sets one task and one instance of created program in main project resource

Mon, 26 Jun 2017 19:38:51 +0300fix i18n string selection for combobox generated from XSD
Surkov Sergey <surkovsv93@gmail.com> [Mon, 26 Jun 2017 19:38:51 +0300] rev 1707
fix i18n string selection for combobox generated from XSD

Thu, 22 Jun 2017 16:43:38 +0300update Russian and French (Fabien M) translations
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 22 Jun 2017 16:43:38 +0300] rev 1706
update Russian and French (Fabien M) translations
added Slovenian (Janez Pregelj) and Portuguese (Thiago Alves) translations

Thu, 22 Jun 2017 16:08:50 +0300l18n: update messages.pot and app.fil
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 22 Jun 2017 16:08:50 +0300] rev 1705
l18n: update messages.pot and app.fil

Thu, 22 Jun 2017 16:07:56 +0300add l18n support to variable table in CodeFileEditor (python/C extension)
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 22 Jun 2017 16:07:56 +0300] rev 1704
add l18n support to variable table in CodeFileEditor (python/C extension)

Thu, 22 Jun 2017 16:06:34 +0300set project name and character set in generated messages.pot
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 22 Jun 2017 16:06:34 +0300] rev 1703
set project name and character set in generated messages.pot

Thu, 22 Jun 2017 15:55:26 +0300close DurationEditorDialog on ENTER key
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 22 Jun 2017 15:55:26 +0300] rev 1702
close DurationEditorDialog on ENTER key

Wed, 21 Jun 2017 17:08:52 +0300add button to ForceVariableDialog to toggle forced boolean value
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 21 Jun 2017 17:08:52 +0300] rev 1701
add button to ForceVariableDialog to toggle forced boolean value

Button is added only for boolean variables.

Tue, 20 Jun 2017 18:57:29 +0300fix problem with hidden FindInPou dialog with wxPython 3.0 on Windows
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 20 Jun 2017 18:57:29 +0300] rev 1700
fix problem with hidden FindInPou dialog with wxPython 3.0 on Windows

FindInPou.IsShown() returned True, but dialog was hidden.
At same time On GNU/Linux with wxPython 3.0 there wasn't such problem.
So it's Windows specific.

Tue, 20 Jun 2017 17:01:19 +0300enable non-latin variable descriptions in CodeFileEditor
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 20 Jun 2017 17:01:19 +0300] rev 1699
enable non-latin variable descriptions in CodeFileEditor

fix following backtrace:

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)
Traceback (most recent call last):
File "beremiz/editors/CodeFileEditor.py", line 610, in GetValue
return str(self.data[row].get(self.GetColLabelValue(col, False), ""))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)

Tue, 20 Jun 2017 16:36:17 +0300disable empty coils and contacts in LD/SFC editors
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 20 Jun 2017 16:36:17 +0300] rev 1698
disable empty coils and contacts in LD/SFC editors

Closes #30

Mon, 19 Jun 2017 19:23:31 +0300remove debug code
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 19 Jun 2017 19:23:31 +0300] rev 1697
remove debug code

Mon, 19 Jun 2017 18:49:43 +0300make all dialog have non-fixed size
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 19 Jun 2017 18:49:43 +0300] rev 1696
make all dialog have non-fixed size

this fixes the problem, that some controls may be hidden in some cases, because
dialog size is too small. This can happen when system fonts are bigger
than expected, default system them controls are bigger or if localized
strings are bigger than in English.

Fri, 09 Jun 2017 18:12:12 +0300avoid infinite loop in search
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 09 Jun 2017 18:12:12 +0300] rev 1695
avoid infinite loop in search

for example following regexp '()' creates infinite list of result

Thu, 08 Jun 2017 17:30:23 +0300make adjustable size of ArrayTypeDialog
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 08 Jun 2017 17:30:23 +0300] rev 1694
make adjustable size of ArrayTypeDialog

Thu, 08 Jun 2017 17:29:41 +0300fix problem with initial values for array of structures
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 08 Jun 2017 17:29:41 +0300] rev 1693
fix problem with initial values for array of structures

for structures wrong empty repetition attributes were generated

Tue, 06 Jun 2017 14:21:53 +0300add information about community support channel to Beremiz and PLCOpenEditor
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 06 Jun 2017 14:21:53 +0300] rev 1692
add information about community support channel to Beremiz and PLCOpenEditor

Tue, 06 Jun 2017 13:13:57 +0300cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 06 Jun 2017 13:13:57 +0300] rev 1691
cleanup wxHMI example

Tue, 06 Jun 2017 13:12:10 +0300cleanup wxGlade example
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 06 Jun 2017 13:12:10 +0300] rev 1690
cleanup wxGlade example

Tue, 06 Jun 2017 13:11:18 +0300add comments to wiimote example
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 06 Jun 2017 13:11:18 +0300] rev 1689
add comments to wiimote example

Tue, 06 Jun 2017 13:05:30 +0300fix running wxGlade on current Debian systems
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 06 Jun 2017 13:05:30 +0300] rev 1688
fix running wxGlade on current Debian systems

wxGlade was moved from python import path to /usr/share/wxglade

Fri, 02 Jun 2017 19:58:27 +0300rename text field in SVG graphic to match IEC code in svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 02 Jun 2017 19:58:27 +0300] rev 1687
rename text field in SVG graphic to match IEC code in svgui example

This caused svgui example to crash.

Thu, 01 Jun 2017 14:37:14 +0300disallow setting IEC location addresses for TIME, DATE, DT and TOD variables
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 01 Jun 2017 14:37:14 +0300] rev 1686
disallow setting IEC location addresses for TIME, DATE, DT and TOD variables

Size of these types is not defined and depends on the implementation
(IEC 61131-3 2.3.1).

Tue, 30 May 2017 17:09:33 +0300if there is no users matiec installation, then use system path to run iec2c
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 30 May 2017 17:09:33 +0300] rev 1685
if there is no users matiec installation, then use system path to run iec2c

search for matiec libraries in system path as well

Closes #29

Tue, 23 May 2017 16:06:29 +0300remove child node from add child node menu, if max count of the same type nodes reached
Surkov Sergey <surkovsv93@gmail.com> [Tue, 23 May 2017 16:06:29 +0300] rev 1684
remove child node from add child node menu, if max count of the same type nodes reached

Thu, 18 May 2017 18:00:56 +0300fix reducing groups with ordered elements
Surkov Sergey <surkovsv93@gmail.com> [Thu, 18 May 2017 18:00:56 +0300] rev 1683
fix reducing groups with ordered elements

Wed, 03 May 2017 11:03:44 +0300fix extra brace
Anton Midyukov [Wed, 03 May 2017 11:03:44 +0300] rev 1682
fix extra brace

Fri, 28 Apr 2017 13:28:22 +0300add getCompiler and getLinker methods, to abstract from XSD.
Paul Beltyukov <beltyukov.p.a@gmail.com> [Fri, 28 Apr 2017 13:28:22 +0300] rev 1681
add getCompiler and getLinker methods, to abstract from XSD.
add calc_source_md5 as it's more convenient especially for embedded
targets to add -DPLC_MD5="something" option at compile time than
to mess with editing binary.
add some more helper methods

Thu, 20 Apr 2017 13:01:45 +0300make run Beremiz and PLCOpen Editor, if full path contain non-lating
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 20 Apr 2017 13:01:45 +0300] rev 1680
make run Beremiz and PLCOpen Editor, if full path contain non-lating
characters

There was a problem in About dialog and in project properites tab and
probably in my other places, when str is automatically converted to
unicode string using ascii.
This patch converts str to unicode using proper encoding at the very beggining.

Wed, 12 Apr 2017 10:20:01 +0000README.md edited online with Bitbucket
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 12 Apr 2017 10:20:01 +0000] rev 1679
README.md edited online with Bitbucket

Tue, 11 Apr 2017 19:09:34 +0300fix clearing project name on opening project properties page.
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 11 Apr 2017 19:09:34 +0300] rev 1678
fix clearing project name on opening project properties page.

The problem exists only on Windows with wxPython-3.0.

This happens because callback for EVT_KILL_FOCUS for a first text
control (project name) is called just after creating page with project
properties. It happens before initializing text controls from PLCController.

Tue, 11 Apr 2017 17:45:49 +0300fix problem with debugging external string variables
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 11 Apr 2017 17:45:49 +0300] rev 1677
fix problem with debugging external string variables

Debug update stopped if external string variable added to debug
variable panel.

Tue, 11 Apr 2017 12:51:35 +0300fix problem with clearing non-empty location field after changing type of config variable
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 11 Apr 2017 12:51:35 +0300] rev 1676
fix problem with clearing non-empty location field after changing type of config variable

introduced by cd9db17 ("clear variable location cell in variable
panel, if variable class or type changed").

Closes #26

Mon, 10 Apr 2017 18:29:12 +0300fix backtrace on opening program/resource on small screens
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 10 Apr 2017 18:29:12 +0300] rev 1675
fix backtrace on opening program/resource on small screens

Fix regression introduced by f4696d8 ("add stretching to columns Name,
Type, Doc in variable panel").
This problem happens only on wxPython-3.0.

Fri, 07 Apr 2017 16:54:31 +0300show whether instance of SFC action is currently active or not in its
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 07 Apr 2017 16:54:31 +0300] rev 1674
show whether instance of SFC action is currently active or not in its
debug instance view

Wed, 05 Apr 2017 14:24:52 +0300clean PLC log only if there is something to clean
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 05 Apr 2017 14:24:52 +0300] rev 1673
clean PLC log only if there is something to clean

Otherwise exception happens in Beremiz service.

Traceback (most recent call last):
File "/home/developer/WorkData/PLC/beremiz/beremiz/connectors/PYRO/_init_.py", line 113, in catcher_func
return func(*args, **kwargs)
File "/home/developer/WorkData/PLC/beremiz/beremiz/connectors/PYRO/_init_.py", line 194, in my_local_func
return RemotePLCObjectProxy._getattr_(attrName)(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/Pyro/core.py", line 381, in _call_
return self._send(self._name, args, kwargs)
File "/usr/lib/python2.7/dist-packages/Pyro/core.py", line 456, in _invokePYRO
return self.adapter.remoteInvocation(name, Pyro.constants.RIF_VarargsAndKeywords, vargs, kargs)
File "/usr/lib/python2.7/dist-packages/Pyro/protocol.py", line 457, in remoteInvocation
return self._remoteInvocation(method, flags, *args)
File "/usr/lib/python2.7/dist-packages/Pyro/protocol.py", line 532, in _remoteInvocation
answer.raiseEx()
File "/usr/lib/python2.7/dist-packages/Pyro/errors.py", line 72, in raiseEx
raise self.excObj
AttributeError: 'PLCObject' object has no attribute '_ResetLogCount'
+--- This exception occured remotely (Pyro) - Remote traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/Pyro/protocol.py", line 719, in _handleInvocation2
res = obj.Pyro_dyncall(req[1],flags,req[3]) # (method,flags,args)
File "/usr/lib/python2.7/dist-packages/Pyro/core.py", line 108, in Pyro_dyncall
return getattr(self.delegate or self,method) (args,*keywords)
File "/home/developer/WorkData/PLC/beremiz/beremiz/runtime/PLCObject.py", line 101, in ResetLogCount
if self._ResetLogCount is not None:
AttributeError: 'PLCObject' object has no attribute '_ResetLogCount'
+--- End of remote traceback

Wed, 05 Apr 2017 14:17:02 +0300reset loaded messages counts on new PLC program trasnfer
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 05 Apr 2017 14:17:02 +0300] rev 1672
reset loaded messages counts on new PLC program trasnfer

This fixes the problem that first message from newer PLC program maybe
lost, if it's issued before first PLC log fetching.

Closes #23

Tue, 04 Apr 2017 11:34:31 +0300add function block to variable panel if fb is added using toolbar
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 04 Apr 2017 11:34:31 +0300] rev 1671
add function block to variable panel if fb is added using toolbar

Closes #25

Tue, 28 Mar 2017 19:48:51 +0300enable to write SFC transition in IL
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 28 Mar 2017 19:48:51 +0300] rev 1670
enable to write SFC transition in IL

This commit reverts previous commit 3f3d97be9a9f.
Because the fix for the matiec problem is already upstream
(https://bitbucket.org/mjsousa/matiec/commits/ce026aee03e00c0790948a18bd7b35805457da81)

Tue, 28 Mar 2017 17:09:31 +0300fix debug button and variable tree generate for actions and transitions in POU instance variable panel
Surkov Sergey <surkovsv93@gmail.com> [Tue, 28 Mar 2017 17:09:31 +0300] rev 1669
fix debug button and variable tree generate for actions and transitions in POU instance variable panel
for 'None' type instances(Python POU's, Native, SVGUI, user-defined pou's, etc.) debug button will be disabled. If action or transition instances have opened in instance variable panel,variables from main POU will be loaded. When user press debug button on variable instance in action or transition, instance path to main POU will be used, because all variables of action or transition in instance variable tree belong to main POU.

Tue, 28 Mar 2017 11:31:05 +0300clear variable location cell in variable panel, if variable class or type changed
Surkov Sergey <surkovsv93@gmail.com> [Tue, 28 Mar 2017 11:31:05 +0300] rev 1668
clear variable location cell in variable panel, if variable class or type changed
if variable class is not local or global, or variable type is not locatable, variable location cell would be empty and read-only

Mon, 27 Mar 2017 18:03:26 +0300runtime is licensed under LGPLv2.1
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 27 Mar 2017 18:03:26 +0300] rev 1667
runtime is licensed under LGPLv2.1

Mon, 27 Mar 2017 17:40:56 +0300make command line help message for Beremiz more verbose
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 27 Mar 2017 17:40:56 +0300] rev 1666
make command line help message for Beremiz more verbose

Tue, 21 Mar 2017 18:01:09 +0300fix typos and small errors in Russian translation
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 21 Mar 2017 18:01:09 +0300] rev 1665
fix typos and small errors in Russian translation

Fri, 10 Mar 2017 19:17:43 +0300merge Beremiz launcher support
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 10 Mar 2017 19:17:43 +0300] rev 1664
merge Beremiz launcher support

Closes #13

Fri, 10 Mar 2017 19:12:43 +0300rename BeremizIDELauncher.py to Beremiz.py
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 10 Mar 2017 19:12:43 +0300] rev 1663
rename BeremizIDELauncher.py to Beremiz.py

Fri, 10 Mar 2017 17:36:18 +0300rename Beremiz.py to BeremizIDE.py
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 10 Mar 2017 17:36:18 +0300] rev 1662
rename Beremiz.py to BeremizIDE.py

Fri, 10 Mar 2017 17:09:48 +0300wrap Beremiz startup code into separate launcher class
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 10 Mar 2017 17:09:48 +0300] rev 1661
wrap Beremiz startup code into separate launcher class

this should make it easier to make customized version of Beremiz IDE.
It's easy to add own splash, change version, add/disable extensions
and many other things.

For example:

[----- MyBeremiz.py ------]
#!/usr/bin/env python
from BeremizIDELauncher import BeremizIDELauncher

class MyBeremizIDELauncher(BeremizIDELauncher):
def __init__(self):
BeremizIDELauncher.__init__(self)
self.splashPath = self.Bpath("", "splash.png")

def ShowSplashScreen(self):
# comment next line to disable splash entirely
BeremizIDELauncher.ShowSplashScreen(self)

# change version
import version
version.app_version = "3.141-rc52"

def LoadExtensions(self):
# add/modifine list of extensions
# in self.extensions
BeremizIDELauncher.LoadExtensions(self)

if __name__ == '__main__':
beremiz = MyBeremizIDELauncher()
beremiz.Start()

[-------------------------]

Fri, 10 Mar 2017 18:42:24 +0300dynamically increase size of dialog window for editing comment block
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 10 Mar 2017 18:42:24 +0300] rev 1660
dynamically increase size of dialog window for editing comment block

Thu, 09 Mar 2017 18:03:57 +0300add hotkeys to open recent projects
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 09 Mar 2017 18:03:57 +0300] rev 1659
add hotkeys to open recent projects

For simplicity only last 9 projects are saved.

Alt-F, R, 1 - to open last opened project
Alt-F, R, 2 ...
...
Alt-F, R, 9 ...

Thu, 09 Mar 2017 17:29:17 +0300fix twice shown error message box, when wrong non-valid IEC identifier entered
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 09 Mar 2017 17:29:17 +0300] rev 1658
fix twice shown error message box, when wrong non-valid IEC identifier entered

It happens when non-valid name for variable name or name of field in
structure entered. This issue is described in details here:
http://trac.wxwidgets.org/ticket/16333

Thu, 09 Mar 2017 15:35:19 +0300apply constraints to names for tasks and task instances in resource configuration
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 09 Mar 2017 15:35:19 +0300] rev 1657
apply constraints to names for tasks and task instances in resource configuration

The same rules as for IEC identifiers are applied.
- no non-lating characters, ...
- no IEC keywords
- check for duplicate names in resource configuration

closes #19

Thu, 09 Mar 2017 13:01:28 +0500Fix russian translation
PaulBeltyukov [Thu, 09 Mar 2017 13:01:28 +0500] rev 1656
Fix russian translation

Mon, 06 Mar 2017 17:39:29 +0300Merged skvorl/beremiz into default
Sergey Surkov <surkovsv93@gmail.com> [Mon, 06 Mar 2017 17:39:29 +0300] rev 1655
Merged skvorl/beremiz into default

Fri, 03 Mar 2017 15:57:58 +0300add stretching to columns Name, Type, Doc in variable panel
Surkov Sergey <surkovsv93@gmail.com> [Fri, 03 Mar 2017 15:57:58 +0300] rev 1654
add stretching to columns Name, Type, Doc in variable panel

Mon, 06 Feb 2017 20:30:39 +0300fix SFC Step flush method
Surkov Sergey <surkovsv93@gmail.com> [Mon, 06 Feb 2017 20:30:39 +0300] rev 1653
fix SFC Step flush method

Mon, 06 Feb 2017 20:23:45 +0300fix redraw debug instance tab after transferring new build to PLC. closes #15
Surkov Sergey <surkovsv93@gmail.com> [Mon, 06 Feb 2017 20:23:45 +0300] rev 1652
fix redraw debug instance tab after transferring new build to PLC. closes #15

Mon, 06 Mar 2017 17:24:05 +05001. Deleted .directory file, and added it to .hgignore.
PaulBeltyukov [Mon, 06 Mar 2017 17:24:05 +0500] rev 1651
1. Deleted .directory file, and added it to .hgignore.
2. Added russian locale .mo file.

Mon, 06 Mar 2017 12:04:15 +0500Fix russian translation
PaulBeltyukov [Mon, 06 Mar 2017 12:04:15 +0500] rev 1650
Fix russian translation

Thu, 16 Feb 2017 14:35:12 +0500Merge
PaulBeltyukov [Thu, 16 Feb 2017 14:35:12 +0500] rev 1649
Merge

Thu, 16 Feb 2017 14:34:40 +0500Safe
PaulBeltyukov [Thu, 16 Feb 2017 14:34:40 +0500] rev 1648
Safe

Fri, 27 Jan 2017 16:53:04 +0300broken code is temporarily blocked
Surkov Sergey <surkovsv93@gmail.com> [Fri, 27 Jan 2017 16:53:04 +0300] rev 1647
broken code is temporarily blocked
This code used to highlight with green color text in upper-left corner (path to current instance) in debug mode, if current instance active. Only SFC actions are affected. #16

Fri, 27 Jan 2017 16:01:23 +0300fix exception handling
Surkov Sergey <surkovsv93@gmail.com> [Fri, 27 Jan 2017 16:01:23 +0300] rev 1646
fix exception handling
now only one exception dialog is displayed, if many same type exceptions handled (like in #16), and bug reports files always save after exception, not only after pressing "OK" button in exception dialog, closes #17

Fri, 27 Jan 2017 13:04:25 +0300change directory for saving Beremiz bug reports from current working directory to TEMP directory.
Surkov Sergey <surkovsv93@gmail.com> [Fri, 27 Jan 2017 13:04:25 +0300] rev 1645
change directory for saving Beremiz bug reports from current working directory to TEMP directory.

Thu, 26 Jan 2017 17:16:54 +0300Correct element size, if block type or variable name is wider than block width.
Surkov Sergey <surkovsv93@gmail.com> [Thu, 26 Jan 2017 17:16:54 +0300] rev 1644
Correct element size, if block type or variable name is wider than block width.
Previously, if size corrected, element changed position to the right (or down, if height is corrected). Now upper-left corner is fixed.

Thu, 26 Jan 2017 15:38:21 +0300remove non-existed and not necessary self.logger from detecting options in iec2c
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 26 Jan 2017 15:38:21 +0300] rev 1643
remove non-existed and not necessary self.logger from detecting options in iec2c

Mon, 23 Jan 2017 16:22:04 +0300remove Linux target from first_steps example
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 23 Jan 2017 16:22:04 +0300] rev 1642
remove Linux target from first_steps example

Then default target on the system will be used.

Tue, 24 Jan 2017 01:09:54 +01001.2rc1 1.2
Edouard Tisserant 7BB06627 <edouard.tisserant@gmail.com> [Tue, 24 Jan 2017 01:09:54 +0100] rev 1641
1.2rc1

Tue, 24 Jan 2017 01:07:56 +0100closing 1.1 branch 1.1 Korean release
Edouard Tisserant 7BB06627 <edouard.tisserant@gmail.com> [Tue, 24 Jan 2017 01:07:56 +0100] rev 1640
closing 1.1 branch

Thu, 19 Jan 2017 13:56:09 +0300for tests svgui and logging move code from old py_ext.xml to the new pyfile.xml
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 19 Jan 2017 13:56:09 +0300] rev 1639
for tests svgui and logging move code from old py_ext.xml to the new pyfile.xml

Tue, 17 Jan 2017 16:34:24 +0300merge
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 17 Jan 2017 16:34:24 +0300] rev 1638
merge

Tue, 17 Jan 2017 13:30:38 +0300fix IL jumps highlighting in Text Viewer
Surkov Sergey <surkovsv93@gmail.com> [Tue, 17 Jan 2017 13:30:38 +0300] rev 1637
fix IL jumps highlighting in Text Viewer

Mon, 16 Jan 2017 12:22:58 +0300change white background for icons in PouInstanceVariablePanel to transparent
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 16 Jan 2017 12:22:58 +0300] rev 1636
change white background for icons in PouInstanceVariablePanel to transparent

in wxPython 2.8 panel has white background and therefore white
background is appropriate, but in wxPython 3.0 panel has grey
background (on GNU/Linux and on Windows).
Transparent background looks good on both wxPython versions and on all platforms.

Mon, 16 Jan 2017 12:15:20 +0300change white background for project tree element to transparent
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 16 Jan 2017 12:15:20 +0300] rev 1635
change white background for project tree element to transparent

because on GNU/Linux project tree has grey background, therefore
white background looks not good.

Mon, 16 Jan 2017 01:19:58 +0100fix second error message in case of error appearing too early to have a wx frame
Edouard Tisserant 7BB06627 <edouard.tisserant@gmail.com> [Mon, 16 Jan 2017 01:19:58 +0100] rev 1634
fix second error message in case of error appearing too early to have a wx frame

Mon, 16 Jan 2017 01:14:57 +0100fix a side effect of 95ecb26fdc4e
Edouard Tisserant 7BB06627 <edouard.tisserant@gmail.com> [Mon, 16 Jan 2017 01:14:57 +0100] rev 1633
fix a side effect of 95ecb26fdc4e

Fri, 13 Jan 2017 20:05:59 +0300remove old unused .cvsignore
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 13 Jan 2017 20:05:59 +0300] rev 1632
remove old unused .cvsignore

Fri, 13 Jan 2017 19:51:36 +0300fix issue with printing scheme (FBD, LD or SFC) with comment element on GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 13 Jan 2017 19:51:36 +0300] rev 1631
fix issue with printing scheme (FBD, LD or SFC) with comment element on GNU/Linux

If you draw FBD scheme and place comment on it and then try to print
it, then no wires will be printed and comment box is empty (text is
missing). This happens only for wx.PrinterDC and not on wx.MemoryDC
that is used to draw print preview window in Beremiz IDE.
Looks like a bug in wxPython or wxWidgets.

There were found several workaround for this issue.
1) If some dc.DrawLines call is placed before dc.DrawPolygon, then the
problem is gone.

...
dc.DrawLines(polygon)
dc.DrawPolygon(polygon)
...

2) Reseting DC brush solves the problem as well (see this changeset).

Fri, 13 Jan 2017 16:47:46 +0300detect iec2c options and ieclib path only once during the first build
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 13 Jan 2017 16:47:46 +0300] rev 1630
detect iec2c options and ieclib path only once during the first build

Fri, 13 Jan 2017 15:08:40 +0300attach checkedBlockDict variable to the body object
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 13 Jan 2017 15:08:40 +0300] rev 1629
attach checkedBlockDict variable to the body object

Fri, 13 Jan 2017 15:03:35 +0300fix file header in AboutDialog.py
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 13 Jan 2017 15:03:35 +0300] rev 1628
fix file header in AboutDialog.py

Thu, 12 Jan 2017 14:47:15 +0300update Russian translation
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 12 Jan 2017 14:47:15 +0300] rev 1627
update Russian translation

Thu, 12 Jan 2017 14:37:55 +0300check before program generation whether SFC step, that is referenced
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 12 Jan 2017 14:37:55 +0300] rev 1626
check before program generation whether SFC step, that is referenced
by SFC jump, does exists

Wed, 11 Jan 2017 14:15:45 +0300use translatable descriptions for stadard and additional IEC function
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 11 Jan 2017 14:15:45 +0300] rev 1625
use translatable descriptions for stadard and additional IEC function
blocks from xml files instead of hardcoded in python

Wed, 11 Jan 2017 12:57:40 +0300move code in mki18n.py generated translation strings from custom files into separate function
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 11 Jan 2017 12:57:40 +0300] rev 1624
move code in mki18n.py generated translation strings from custom files into separate function

Wed, 11 Jan 2017 11:40:53 +0300clean search result panel after open another project
Surkov Sergey <surkovsv93@gmail.com> [Wed, 11 Jan 2017 11:40:53 +0300] rev 1623
clean search result panel after open another project

Tue, 10 Jan 2017 13:45:56 +0300fix highlight of search result in Search Result Panel
Surkov Sergey <surkovsv93@gmail.com> [Tue, 10 Jan 2017 13:45:56 +0300] rev 1622
fix highlight of search result in Search Result Panel
Remove previous highlight, after next search result clicked.

Tue, 10 Jan 2017 14:08:49 +0300fix doubling search results in Search Result Panel
Surkov Sergey <surkovsv93@gmail.com> [Tue, 10 Jan 2017 14:08:49 +0300] rev 1621
fix doubling search results in Search Result Panel

After fix local search in SFC POU in 163d3a8, search results tree assemble with "children" branches: results of search in actions anf transitions. Deleted code doubling this search results into one more separate branch, so it's useless.

Thu, 29 Dec 2016 18:41:38 +0300make FindInPouDialog work on Windows with wxPython 2.8
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 29 Dec 2016 18:41:38 +0300] rev 1620
make FindInPouDialog work on Windows with wxPython 2.8

additional fix for changeset 474de7f

Thu, 29 Dec 2016 18:36:00 +0300fix local search in actions and transitions
Surkov Sergey <surkovsv93@gmail.com> [Thu, 29 Dec 2016 18:36:00 +0300] rev 1619
fix local search in actions and transitions

Wed, 28 Dec 2016 19:05:28 +0300convert FindInPouDialog from wx.Frame to wx.Dialog
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 28 Dec 2016 19:05:28 +0300] rev 1618
convert FindInPouDialog from wx.Frame to wx.Dialog

In this case FindInPouDialog Windows isn't listed in windows manager
on Alt-Tab. And it's not shown on top of other applications. For
example, previously the dialog was shown even on top of web browser or
word processor.

Wed, 28 Dec 2016 17:10:04 +0300temporary disable SFC transitions in IL, because matiec can't compile it
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 28 Dec 2016 17:10:04 +0300] rev 1617
temporary disable SFC transitions in IL, because matiec can't compile it

matiec freezes in this case.
See https://bitbucket.org/mjsousa/matiec/issues/58/iec2c-freezes-if-sfc-transition-is-in-il

Wed, 28 Dec 2016 16:33:50 +0300fix issue with creating SFC transitions using ST and IL
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 28 Dec 2016 16:33:50 +0300] rev 1616
fix issue with creating SFC transitions using ST and IL

Beremiz generates text representation for transitions without names.
Therefore transition name in its IL code is not needed.

Mon, 26 Dec 2016 14:01:54 +0300replace '-' with '.' in resource tab and transition/action SFC code
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 26 Dec 2016 14:01:54 +0300] rev 1615
replace '-' with '.' in resource tab and transition/action SFC code


This makes tab names consistent with the way the same information is shown in variable panel.

Mon, 26 Dec 2016 13:49:38 +0300check during program generation whether source signal is defined for single task
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 26 Dec 2016 13:49:38 +0300] rev 1614
check during program generation whether source signal is defined for single task

Fri, 23 Dec 2016 18:40:31 +0300fix strange behavior on Backspace press in ST
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 23 Dec 2016 18:40:31 +0300] rev 1613
fix strange behavior on Backspace press in ST

Before:
if text was selected and cursor was at indention, one indention (two
spaces) was removed.

if cursor was at start position of the line, then nothing happened.

if cursor was in the middle of indention then on backspace more
indention were added


Now:
if text is selected, it will be removed.
if cursor is at start position, then new line will be removed.
if cursor was in the middle of indention one indention is removed.

Thu, 22 Dec 2016 17:39:58 +0300fix close button in system menu for AboutDialog on Windows
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 22 Dec 2016 17:39:58 +0300] rev 1612
fix close button in system menu for AboutDialog on Windows


If SetEscapeId receives wx.ID_CLOSE as parameter, then on Windows with
wxPython 2.8 system close button in title bar stops working.
If wx.ID_CANCEL or wx.ID_OK is used in SetEscapeId call, then close
button works correctly.

Thu, 22 Dec 2016 14:38:56 +0300make renames caseinsensitive
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 22 Dec 2016 14:38:56 +0300] rev 1611
make renames caseinsensitive

Tue, 20 Dec 2016 17:11:36 +0300fix problem with SFC action/transition rename
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 20 Dec 2016 17:11:36 +0300] rev 1610
fix problem with SFC action/transition rename

Traceback (most recent call last):
File "/home/developer/WorkData/PLC/beremiz/beremiz/IDEFrame.py", line
1636, in OnProjectTreeItemEndEdit
elif new_name.upper() in [name.upper() for name in
self.Controler.GetProjectPouVariableNames(pou_name) if name !=
old_name]:
NameError: global name 'pou_name' is not defined

Tue, 20 Dec 2016 14:41:10 +0300fix problem that it was impossible to edit SFC jump, if it references non-existent SFC step
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 20 Dec 2016 14:41:10 +0300] rev 1609
fix problem that it was impossible to edit SFC jump, if it references non-existent SFC step

Tue, 20 Dec 2016 13:26:54 +0300remove all corresponding SFC jumps when SFC step is removed (but only in DRIVENDRAWING_MODE)
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 20 Dec 2016 13:26:54 +0300] rev 1608
remove all corresponding SFC jumps when SFC step is removed (but only in DRIVENDRAWING_MODE)

Tue, 20 Dec 2016 13:26:24 +0300rename all corresponding SFC jumps when SFC step is renamed (but only in DRIVENDRAWING_MODE)
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 20 Dec 2016 13:26:24 +0300] rev 1607
rename all corresponding SFC jumps when SFC step is renamed (but only in DRIVENDRAWING_MODE)

Wed, 14 Dec 2016 13:14:45 +0300add check of new project path in Save As
Sergey Surkov <surkovsv93@gmail.com> [Wed, 14 Dec 2016 13:14:45 +0300] rev 1606
add check of new project path in Save As
add dialog window if selected directory is the current directory project, or already contains another project

Wed, 14 Dec 2016 12:44:30 +0300fix issue that in Debug mode LD instance doesn't show correctly its state after
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 14 Dec 2016 12:44:30 +0300] rev 1605
fix issue that in Debug mode LD instance doesn't show correctly its state after
continuation of FBD_Connector.

Previously state signals doesn't propogate through FBD_Connector.

Wed, 14 Dec 2016 12:36:04 +0300fix issue with task rename if "Name" column label is translated into
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 14 Dec 2016 12:36:04 +0300] rev 1604
fix issue with task rename if "Name" column label is translated into
other language

Wed, 14 Dec 2016 12:31:06 +0300fix issue with compiling SFC POU with non-connected transition (type "connection")
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 14 Dec 2016 12:31:06 +0300] rev 1603
fix issue with compiling SFC POU with non-connected transition (type "connection")

Tue, 13 Dec 2016 17:47:34 +0300fix bug with recent projects menu, remove path to the project from menu, if project directory doesn't exist
Sergey Surkov <surkovsv93@gmail.com> [Tue, 13 Dec 2016 17:47:34 +0300] rev 1602
fix bug with recent projects menu, remove path to the project from menu, if project directory doesn't exist