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

Tue, 13 Dec 2016 17:40:03 +0300fix bug with empty directories in recent projects menu
Sergey Surkov <surkovsv93@gmail.com> [Tue, 13 Dec 2016 17:40:03 +0300] rev 1601
fix bug with empty directories in recent projects menu
remove path to a project from recent projects menu, if project directory is empty

Mon, 12 Dec 2016 14:29:40 +0300fix list of recent projects in File menu, add path to current project after Save As
Sergey Surkov <surkovsv93@gmail.com> [Mon, 12 Dec 2016 14:29:40 +0300] rev 1600
fix list of recent projects in File menu, add path to current project after Save As

Thu, 08 Dec 2016 17:54:43 +0300by default init input and output in step sfc block, and output for initial step sfc block
Sergey Surkov <surkovsv93@gmail.com> [Thu, 08 Dec 2016 17:54:43 +0300] rev 1599
by default init input and output in step sfc block, and output for initial step sfc block

Wed, 07 Dec 2016 19:28:13 +0300update PLC status after initialization
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 07 Dec 2016 19:28:13 +0300] rev 1598
update PLC status after initialization

This is necessary especially if existed PLC program is loaded, but PLC
is not started automatically. In this case taskbar icon shows that PLC
isn't empty.

Wed, 07 Dec 2016 19:25:58 +0300always load existing PLC program from the working directory
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 07 Dec 2016 19:25:58 +0300] rev 1597
always load existing PLC program from the working directory

Wed, 07 Dec 2016 19:24:16 +0300stop PLC before unloading
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 07 Dec 2016 19:24:16 +0300] rev 1596
stop PLC before unloading


This fixes segmentation fault if service was quit without stopping it.
It has happened if Beremiz service was quit using taskbar icon or by
closing Beremiz IDE (in case of autostarted local service).

In second case to trigger the bug following step has to be done:
1. Open Beremiz IDE
2. Open project, compile and connect to LOCAL:// runtime
3. Transfer and start the PLC program
4. Open other project without disconneting the PLC runtime
5. Close Beremiz IDE

Wed, 07 Dec 2016 18:32:34 +0300add internatialization support for Beremiz_service.py
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 07 Dec 2016 18:32:34 +0300] rev 1595
add internatialization support for Beremiz_service.py

Wed, 07 Dec 2016 18:25:37 +0300fix issue with changing annonced Pyro service name via taskbar icon
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 07 Dec 2016 18:25:37 +0300] rev 1594
fix issue with changing annonced Pyro service name via taskbar icon

Wed, 07 Dec 2016 18:23:59 +0300don't crash on trying to change IP interface for Beremiz_service using taskbar icon if IP wasn't previously
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 07 Dec 2016 18:23:59 +0300] rev 1593
don't crash on trying to change IP interface for Beremiz_service using taskbar icon if IP wasn't previously


By default IP is not set (None) and service listen only on localhost interface.

Wed, 07 Dec 2016 18:15:04 +0300start/stop from taskbar icon only if PLC is stopped/started
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 07 Dec 2016 18:15:04 +0300] rev 1592
start/stop from taskbar icon only if PLC is stopped/started

Wed, 07 Dec 2016 17:54:41 +0300close Pyro socket after daemon stop
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 07 Dec 2016 17:54:41 +0300] rev 1591
close Pyro socket after daemon stop


without that socket port is open after daemon shutdown.
As a result if you restart daemon with new settings (service name, for example),
it can't listen on already used port and opens the next free TCP port
regardless of requested settings.

Wed, 07 Dec 2016 17:51:20 +0300add python-wxgtk3.0 support to Beremiz_service.py
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 07 Dec 2016 17:51:20 +0300] rev 1590
add python-wxgtk3.0 support to Beremiz_service.py

Fri, 02 Dec 2016 17:48:26 +0300make about dialog on Windows not so big
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 02 Dec 2016 17:48:26 +0300] rev 1589
make about dialog on Windows not so big


It was automatically expanded to place description in one line.

Thu, 01 Dec 2016 18:31:10 +0300update Russian translation
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 01 Dec 2016 18:31:10 +0300] rev 1588
update Russian translation

Thu, 01 Dec 2016 18:30:34 +0300add i18n to PLC status
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 01 Dec 2016 18:30:34 +0300] rev 1587
add i18n to PLC status

Extra strings are added to the code to make mki18n.py to find these
strings in source files and put them into i18n/messages.pot.

Thu, 01 Dec 2016 16:59:16 +0300remove clear and reset execution order buttons in popup menu in SFC and LD viewers.
Sergey Surkov <surkovsv93@gmail.com> [Thu, 01 Dec 2016 16:59:16 +0300] rev 1586
remove clear and reset execution order buttons in popup menu in SFC and LD viewers.