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.