Mon, 18 Apr 2016 19:15:55 +0300fix issue, then it wasn't possible to view FBD programs
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 18 Apr 2016 19:15:55 +0300] rev 1481
fix issue, then it wasn't possible to view FBD programs

the reason for that is possible wx-3.0-gtk2 bug that happens if
ALWAYS_SHOW_SB is set.

Traceback (most recent call last):
File "Beremiz.py", line 1045, in OnProjectTreeItemActivated
IDEFrame.OnProjectTreeItemActivated(self, event)
File "IDEFrame.py", line 1667, in OnProjectTreeItemActivated
self.EditProjectElement(item_infos["type"], item_infos["tagname"])
File "IDEFrame.py", line 1752, in EditProjectElement
new_window = Viewer(self.TabsOpened, tagname, self, self.Controler)
File "editors/Viewer.py", line 611, in __init__
EditorPanel.__init__(self, parent, tagname, window, controler, debug)
File "editors/EditorPanel.py", line 68, in __init__
self._init_ctrls(parent)
File "editors/EditorPanel.py", line 52, in _init_ctrls
self._init_Editor(self)
File "editors/Viewer.py", line 603, in _init_Editor
style=wx.HSCROLL | wx.VSCROLL | wx.ALWAYS_SHOW_SB)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_windows.py", line 296, in __init__
_windows_.ScrolledWindow_swiginit(self,_windows_.new_ScrolledWindow(*args, **kwargs))
PyAssertionError: C++ assertion "scrolled" failed at ../src/gtk/scrolwin.cpp(205) in DoShowScrollbars(): window must be created

Mon, 18 Apr 2016 19:08:29 +0300fix issue, then it wasn't possible to remove functional blocks from
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 18 Apr 2016 19:08:29 +0300] rev 1480
fix issue, then it wasn't possible to remove functional blocks from
project using right click and popup menu.

The problem is that, PopupMenu was called using IDEFrame object and as
a result item in ProjectTree loosed focus and focus went to IDEFrame.
Therefore later functions couldn't detect which item in ProjectTree
was selected.

Mon, 18 Apr 2016 18:59:11 +0300fix many compilation warnings about static variables used by non-static functions
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 18 Apr 2016 18:59:11 +0300] rev 1479
fix many compilation warnings about static variables used by non-static functions

[CC] plc_main.c -> plc_main.o
/tmp/be/build/plc_main.c:396:40: warning: ?LogBuff? is static but used in inline function ?copy_from_log? which is not static
memcpy((char*)buf + remaining, LogBuff[level], size - remaining);
^
/tmp/be/build/plc_main.c:395:22: warning: ?LogBuff? is static but used in inline function ?copy_from_log? which is not static
memcpy(buf, &LogBuff[level][buffpos], remaining);
^
...

^
/tmp/be/build/plc_debugger.c:825:20: warning: ?retain_offset? is static but used in inline function ?BufferIterator? which is not static
Retain(retain_offset, size, real_value_p);
^
/tmp/be/build/plc_debugger.c:823:47: warning: ?retain_offset? is static but used in inline function ?BufferIterator? which is not static
unsigned int next_retain_offset = retain_offset + size;
^
^

Mon, 18 Apr 2016 18:56:51 +0300make attribute CFLAGS and LDFLAGS optional and add default empty value
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 18 Apr 2016 18:56:51 +0300] rev 1478
make attribute CFLAGS and LDFLAGS optional and add default empty value

Actually CFLAGS and LDFLAGS are not required and can be empty.
Without default empty value if target platform in project settings was
set to "Linux" CFLAGS and LDFLAGS was initialized with NoneType.
The result was broken build and it wasn't to save/load project with
such settings.

Traceback (most recent call last):
File "/home/developer/WorkData/PLC/beremiz/beremiz/ProjectController.py", line 956, in _Build
if not builder.build() :
File "/home/developer/WorkData/PLC/beremiz/beremiz/targets/toolchain_gcc.py", line 96, in build
Builder_CFLAGS = ' '.join(self.getBuilderCFLAGS())
TypeError: sequence item 0: expected string, NoneType found

Mon, 18 Apr 2016 18:51:59 +0300fix issue, when structure data type with array field is created
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 18 Apr 2016 18:51:59 +0300] rev 1477
fix issue, when structure data type with array field is created

Traceback (most recent call last):
File "editors/DataTypeEditor.py", line 669, in ElementArrayTypeFunction
self.RefreshTypeInfos()
File "editors/DataTypeEditor.py", line 761, in RefreshTypeInfos
self.Controler.SetDataTypeInfos(self.TagName, infos)
File "PLCControler.py", line 2075, in SetDataTypeInfos
array.baseType.setcontent(PLCOpenParser.CreateElement(
AttributeError: 'lxml.etree._Element' object has no attribute 'setcontent'

Mon, 18 Apr 2016 18:48:15 +0300fixes sometimes happened error during project compilation
Andrey Skvortsov <andrej.skvortzov@gmail.com [Mon, 18 Apr 2016 18:48:15 +0300] rev 1476
fixes sometimes happened error during project compilation

Traceback (most recent call last):
File "./Beremiz.py", line 1229, in run_with_except_hook
run_old(*args, **kw)
File
"/home/developer/WorkData/PLC/beremiz/beremiz/util/ProcessLogger.py",
line 68, in run
self.endcallback(self.Proc.pid, err)
File
"/home/developer/WorkData/PLC/beremiz/beremiz/util/ProcessLogger.py",
line 169, in finish
if self.timeout: self.timeout.cancel()
AttributeError: ProcessLogger instance has no attribute 'timeout'

Wed, 21 Oct 2015 15:00:32 +0100merge
mjsousa [Wed, 21 Oct 2015 15:00:32 +0100] rev 1475
merge

Sat, 06 Dec 2014 19:31:51 +0000Use '-p' command line option when running matiec (iec2c)
mjsousa [Sat, 06 Dec 2014 19:31:51 +0000] rev 1474
Use '-p' command line option when running matiec (iec2c)

Wed, 26 Nov 2014 16:05:14 +0000Add command line option '-l' when calling matiec
mjsousa [Wed, 26 Nov 2014 16:05:14 +0000] rev 1473
Add command line option '-l' when calling matiec

Wed, 12 Nov 2014 17:36:27 +0000merge
mjsousa [Wed, 12 Nov 2014 17:36:27 +0000] rev 1472
merge

Tue, 08 Jul 2014 18:01:33 +0100merge
mjsousa [Tue, 08 Jul 2014 18:01:33 +0100] rev 1471
merge

Fri, 06 Jun 2014 18:30:49 +0100merge
mjsousa [Fri, 06 Jun 2014 18:30:49 +0100] rev 1470
merge

Mon, 26 May 2014 14:44:03 +0100Update __SET_VAR() macros to reflect changes made to matiec
mjsousa [Mon, 26 May 2014 14:44:03 +0100] rev 1469
Update __SET_VAR() macros to reflect changes made to matiec

Fri, 19 Jun 2015 23:36:35 +0200Merged
Edouard Tisserant [Fri, 19 Jun 2015 23:36:35 +0200] rev 1468
Merged

Fri, 19 Jun 2015 22:36:35 +0200Merged
Edouard Tisserant [Fri, 19 Jun 2015 22:36:35 +0200] rev 1467
Merged

Fri, 19 Jun 2015 21:56:35 +0200Fixed win32 build warning caused by leftover debug code
Edouard Tisserant [Fri, 19 Jun 2015 21:56:35 +0200] rev 1466
Fixed win32 build warning caused by leftover debug code

Fri, 19 Jun 2015 21:36:35 +0200Fixed win32 runtime crashing when attempting to log before errors before PLC start. Added pictures to wxHMI and fixed it so that it loads on windows as well
Edouard Tisserant [Fri, 19 Jun 2015 21:36:35 +0200] rev 1465
Fixed win32 runtime crashing when attempting to log before errors before PLC start. Added pictures to wxHMI and fixed it so that it loads on windows as well

Fri, 19 Jun 2015 11:36:35 +0200Fixed canfestival extension own path resolution
Edouard Tisserant [Fri, 19 Jun 2015 11:36:35 +0200] rev 1464
Fixed canfestival extension own path resolution

Fri, 19 Jun 2015 09:34:18 +0200Changed runtime's global PLCID to PLC_ID, working around redefinition in windoze' headers.
Edouard Tisserant [Fri, 19 Jun 2015 09:34:18 +0200] rev 1463
Changed runtime's global PLCID to PLC_ID, working around redefinition in windoze' headers.

Thu, 18 Jun 2015 15:22:43 +0200Extended wxHMI test
Edouard Tisserant [Thu, 18 Jun 2015 15:22:43 +0200] rev 1462
Extended wxHMI test

Thu, 18 Jun 2015 11:36:35 +0200Added wxHMI test
Edouard Tisserant [Thu, 18 Jun 2015 11:36:35 +0200] rev 1461
Added wxHMI test

Mon, 15 Jun 2015 10:19:52 +0200merged forgotten changesets
Edouard Tisserant [Mon, 15 Jun 2015 10:19:52 +0200] rev 1460
merged forgotten changesets

Sat, 14 Mar 2015 14:51:39 +0100Added log message when RETAIN memory not valid
Edouard Tisserant [Sat, 14 Mar 2015 14:51:39 +0100] rev 1459
Added log message when RETAIN memory not valid

Sat, 14 Mar 2015 11:32:23 +0100Fixed leftover typo
Edouard Tisserant [Sat, 14 Mar 2015 11:32:23 +0100] rev 1458
Fixed leftover typo

Fri, 13 Mar 2015 22:36:52 +0100Added PLCID variable accessible from C side, set with binarie's MD5. Added retain init and cleanup calls. Extended tests/python to test PLCID
Edouard Tisserant [Fri, 13 Mar 2015 22:36:52 +0100] rev 1457
Added PLCID variable accessible from C side, set with binarie's MD5. Added retain init and cleanup calls. Extended tests/python to test PLCID

Fri, 13 Mar 2015 17:19:58 +0100Splitted plc_Xenomai_main.c to enable further customization
Edouard Tisserant [Fri, 13 Mar 2015 17:19:58 +0100] rev 1456
Splitted plc_Xenomai_main.c to enable further customization

Fri, 03 Apr 2015 17:08:13 +0200add pyrossl client side
Ronan Bignaux <r.bignaux@rbi.io> [Fri, 03 Apr 2015 17:08:13 +0200] rev 1455
add pyrossl client side

Tue, 24 Mar 2015 14:06:28 +0100fixed build of some tests
Edouard Tisserant [Tue, 24 Mar 2015 14:06:28 +0100] rev 1454
fixed build of some tests

Fri, 27 Feb 2015 00:40:44 +0100Fixed Nevow website startup
Edouard Tisserant [Fri, 27 Feb 2015 00:40:44 +0100] rev 1453
Fixed Nevow website startup

Wed, 25 Feb 2015 14:00:11 +0100Fixed build of tests/python.
Edouard Tisserant [Wed, 25 Feb 2015 14:00:11 +0100] rev 1452
Fixed build of tests/python.