Thu, 28 Apr 2016 16:54:01 +0300fix highlighting of multiline comments in ST and IL
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 28 Apr 2016 16:54:01 +0300] rev 1509
fix highlighting of multiline comments in ST and IL

close #2

Thu, 28 Apr 2016 15:21:02 +0300fix error if non-latin character was entered in initial value in
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 28 Apr 2016 15:21:02 +0300] rev 1508
fix error if non-latin character was entered in initial value in
data type element

Traceback (most recent call last):
File "/home/beremiz/editors/DataTypeEditor.py", line 575, in OnStructureElementsGridCellChange
value = self.StructureElementsTable.GetValue(row, col)
File "/home/beremiz/editors/DataTypeEditor.py", line 80, in GetValue
return str(value)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
Traceback (most recent call last):
File "/home/beremiz/editors/DataTypeEditor.py", line 80, in GetValue
return str(value)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
Traceback (most recent call last):
File "/home/beremiz/editors/DataTypeEditor.py", line 80, in GetValue
return str(value)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)

Thu, 28 Apr 2016 13:05:57 +0300fix issue with sometimes wrong return code of ProcessLogger
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 28 Apr 2016 13:05:57 +0300] rev 1507
fix issue with sometimes wrong return code of ProcessLogger


As a result of wrong return code Beremiz gives folowing traceback:
Traceback (most recent call last):
File "./Beremiz.py", line 850, in OnMenu
getattr(self.CTR, method)()
File "/home/developer/WorkData/PLC/beremiz/beremiz/ProjectController.py", line 925, in _Build
IECGenRes = self._Generate_SoftPLC()
File "/home/developer/WorkData/PLC/beremiz/beremiz/ProjectController.py", line 568, in _Generate_SoftPLC
return self._Compile_ST_to_SoftPLC()
File "/home/developer/WorkData/PLC/beremiz/beremiz/ProjectController.py", line 661, in _Compile_ST_to_SoftPLC
C_files.remove("POUS.c")
ValueError: list.remove(x): x not in list

The problem is that both threads (for reading stdout and stderr) call self.Proc.poll(),
that updates internal returncode field. This call is done without any locking and the first thread gets correct result,
but other gets 0 as retval. If 0 gets thread, that afterwards calls callback finish, then wrong return code is returned
to the parent. Now only the thread with a callback polls for the return code, other thread just checked local value.

Additionally function spin() waits now until all threads finish reading their pipes, so the results are always correct.

Thu, 28 Apr 2016 12:58:58 +0300Fix error about missing attribute 'timeout' that happens sometimes during compilation
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 28 Apr 2016 12:58:58 +0300] rev 1506
Fix error about missing attribute 'timeout' that happens sometimes during compilation

The fix [1476:49f1763a5613] of the problem with following trace was wrong.
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'
The problem was that compilation process was finished before the timeout attribute is set.
Now timeout is set before launcing of compilation process.

Wed, 27 Apr 2016 18:42:30 +0300fix copying elements with non-latin content like comment element, or
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 27 Apr 2016 18:42:30 +0300] rev 1505
fix copying elements with non-latin content like comment element, or
variables with description in non-latin character set

before any non-latin text was converted after copying to strings like '&#1069;&#1090;&#1086;...'

Mon, 25 Apr 2016 17:23:04 +0300fix issue that if functional block is dragged from project panel into
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 25 Apr 2016 17:23:04 +0300] rev 1504
fix issue that if functional block is dragged from project panel into
ST text editor and in dialog 'Please enter a block name' button
'cancel' is pressed, despite of cancel text about drag'n'dropped type
is pasted in ST program.

Fri, 22 Apr 2016 21:26:31 +0300fix regression introduced by changeset: 1431:28e9d479aa65 [Use '-p' command line option when running matiec (iec2c)]
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 22 Apr 2016 21:26:31 +0300] rev 1503
fix regression introduced by changeset: 1431:28e9d479aa65 [Use '-p' command line option when running matiec (iec2c)]

Variable matiec_flags in c_ext.py and PythonFileCTNMixin.py is not
used for flags for matiec (IEC to C compiler) actually, but it's used
to compile C-code generated for extensions using normal C-compiler,
like gcc.

Fri, 22 Apr 2016 19:49:10 +0300fix display of ARRAY fields inside of structure data types.
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 22 Apr 2016 19:49:10 +0300] rev 1502
fix display of ARRAY fields inside of structure data types.

Previously ARRAY fields in structures were displayed, for example,
like 'ARRAY [1..2] OF ARRAY' instead of 'ARRAY [1..2] OF INT'. Because
of this error the array type can be really edited.

Fri, 22 Apr 2016 17:02:18 +0300fix Traceback if search icon on library panel is clicked, when no
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 22 Apr 2016 17:02:18 +0300] rev 1501
fix Traceback if search icon on library panel is clicked, when no
category/item is selected in the library.

The problem is here, that if nothing is selected method GetSelection()
returns root item, that doesn't have any python data associated with it.
This issue seems to be wx3.0 specified, because it doesn't exist
with wx2.8 on Windows.

Fri, 22 Apr 2016 16:59:47 +0300update Russian about Beremiz dialog window
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 22 Apr 2016 16:59:47 +0300] rev 1500
update Russian about Beremiz dialog window

Fri, 22 Apr 2016 16:24:06 +0300fix issue, that was impossible to change time interval for cyclic
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Fri, 22 Apr 2016 16:24:06 +0300] rev 1499
fix issue, that was impossible to change time interval for cyclic
tasks, when wx 3.0 is used

Thu, 21 Apr 2016 20:42:37 +0300fix deprecation warnings about accessing properties m_x, m_y of wxKeyEvent
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 21 Apr 2016 20:42:37 +0300] rev 1498
fix deprecation warnings about accessing properties m_x, m_y of wxKeyEvent

/home/beremiz/beremiz/controls/PouInstanceVariablesPanel.py:354: wxPyDeprecationWarning: Accessing deprecated property.
event.m_x = size.width / 2

Thu, 21 Apr 2016 19:14:28 +0300fix set_color_cycle from matplotlib deprecation warning
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 21 Apr 2016 19:14:28 +0300] rev 1497
fix set_color_cycle from matplotlib deprecation warning

/usr/lib/python2.7/dist-packages/matplotlib/cbook.py:137: MatplotlibDeprecationWarning: The set_color_cycle attribute was deprecated in version 1.5. Use set_prop_cycle instead.
warnings.warn(message, mplDeprecation, stacklevel=1)

Thu, 21 Apr 2016 17:51:29 +0300update Russian translation
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 21 Apr 2016 17:51:29 +0300] rev 1496
update Russian translation

Thu, 21 Apr 2016 17:49:39 +0300add i18n for some strings in DiscoveryDialog, DurationEditDialog, ProjectDialog and CodeFileEditor
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 21 Apr 2016 17:49:39 +0300] rev 1495
add i18n for some strings in DiscoveryDialog, DurationEditDialog, ProjectDialog and CodeFileEditor

Thu, 21 Apr 2016 17:47:35 +0300fix wrong Row number in DiscoveryDialog.py that caused following traceback:
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 21 Apr 2016 17:47:35 +0300] rev 1494
fix wrong Row number in DiscoveryDialog.py that caused following traceback:

Traceback (most recent call last):
File "/home/beremiz/beremiz/ProjectController.py", line 1536, in _Connect
dialog = DiscoveryDialog(self.AppFrame)
File "/home/beremiz/beremiz/dialogs/DiscoveryDialog.py", line 124, in __init__
self._init_ctrls(parent)
File "/home/beremiz/beremiz/dialogs/DiscoveryDialog.py", line 121, in _init_ctrls
self._init_sizers()
File "/home/beremiz/beremiz/dialogs/DiscoveryDialog.py", line 73, in _init_sizers
self._init_coll_ButtonGridSizer_Growables(self.ButtonGridSizer)
File "/home/beremiz/beremiz/dialogs/DiscoveryDialog.py", line 64, in _init_coll_ButtonGridSizer_Growables
parent.AddGrowableRow(1)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 15343, in AddGrowableRow
return _core_.FlexGridSizer_AddGrowableRow(*args, **kwargs)
PyAssertionError: C++ assertion "!m_rows || idx < (size_t)m_rows" failed at ../src/common/sizer.cpp(1967) in AddGrowableRow(): invalid row index

Thu, 21 Apr 2016 17:44:17 +0300increase height of some dialog windows so they have enough space for buttons
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 21 Apr 2016 17:44:17 +0300] rev 1493
increase height of some dialog windows so they have enough space for buttons

Thu, 21 Apr 2016 17:41:43 +0300add translation into Russian for dialog window "About PLCOpen Editor"
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 21 Apr 2016 17:41:43 +0300] rev 1492
add translation into Russian for dialog window "About PLCOpen Editor"

Thu, 21 Apr 2016 17:40:52 +0300add translation of "about" window into Russian
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Thu, 21 Apr 2016 17:40:52 +0300] rev 1491
add translation of "about" window into Russian

Wed, 20 Apr 2016 17:30:16 +0300make About and Find dialogs have the same icon as main Beremiz window
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 20 Apr 2016 17:30:16 +0300] rev 1490
make About and Find dialogs have the same icon as main Beremiz window

all child windows will take the parent's icon, if no other is specified.

Wed, 20 Apr 2016 17:15:35 +0300fix splash loading with wx3.0
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 20 Apr 2016 17:15:35 +0300] rev 1489
fix splash loading with wx3.0

Previously only gray square was shown. Apparently to show splash screen several calls of wx.Yield() are necessary.
Unfortunately splash.IsShowOnScreen() returns always 1 regardless of whether splash is on the screen or not.
this fix is a dirty hack. It just process all events after splash is created during 0.3 seconds.

Wed, 20 Apr 2016 16:20:53 +0300add i18n for couple of strings in TextViewer.py
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 20 Apr 2016 16:20:53 +0300] rev 1488
add i18n for couple of strings in TextViewer.py
add source file for Russian translation
update messages.pot and app.fil
update Russian translation

Wed, 20 Apr 2016 16:14:25 +0300increase height for ConnectionDialog and ArrayTypeDialog to have
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Wed, 20 Apr 2016 16:14:25 +0300] rev 1487
increase height for ConnectionDialog and ArrayTypeDialog to have
enough place for buttons

Tue, 19 Apr 2016 13:18:21 +0300add Russian translation
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 19 Apr 2016 13:18:21 +0300] rev 1486
add Russian translation

Tue, 19 Apr 2016 12:16:29 +0300bitmap in wx3.0 doesn't have useAlpha() method
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 19 Apr 2016 12:16:29 +0300] rev 1485
bitmap in wx3.0 doesn't have useAlpha() method

Tue, 19 Apr 2016 12:15:51 +0300Suppress WXDEBUG assertions, as happens by default with wx2.8. This is
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Tue, 19 Apr 2016 12:15:51 +0300] rev 1484
Suppress WXDEBUG assertions, as happens by default with wx2.8. This is
necessary for wx3.0

Exception while connecting LOCAL://!
Traceback (most recent call last):
File "/home/beremiz/beremiz/ProjectController.py", line 1560, in _Connect
self._SetConnector(connectors.ConnectorFactory(uri, self))
File "/home/beremiz/beremiz/ProjectController.py", line 1508, in _SetConnector
self.StatusTimer.Start(milliseconds=500, oneShot=False)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_misc.py", line 1324, in Start
return _misc_.Timer_Start(*args, **kwargs)
PyAssertionError: C++ assertion "m_window" failed at ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work without window

Mon, 18 Apr 2016 19:18:11 +0300enable use of wxWidgets-3.0
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 18 Apr 2016 19:18:11 +0300] rev 1483
enable use of wxWidgets-3.0

Mon, 18 Apr 2016 19:17:22 +0300make mki18n.py wx-3.0 compatible and fix segmentation fault
Andrey Skvortsov <andrej.skvortzov@gmail.com> [Mon, 18 Apr 2016 19:17:22 +0300] rev 1482
make mki18n.py wx-3.0 compatible and fix segmentation fault

$ python mki18n.py -m -v --moTarget=../locale --domain=Beremiz
No project directory given. Using current one: /home/beremiz/beremiz/i18n
Application domain used is: 'Beremiz'
Target directory for .mo files is: ../locale
../src/common/stdpbase.cpp(62): assert "traits" failed in Get(): create wxApp before calling this
Segmentation fault

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.

Wed, 25 Feb 2015 13:59:01 +0100Added Ronan Bignaux (genesis) patch to use wxversion. Fixed side effects with sys.path. Other cosmetic fixes about path included.
Edouard Tisserant [Wed, 25 Feb 2015 13:59:01 +0100] rev 1451
Added Ronan Bignaux (genesis) patch to use wxversion. Fixed side effects with sys.path. Other cosmetic fixes about path included.

Tue, 24 Feb 2015 11:50:54 +0100Fixed SFC code generation bug detected by Mario
Edouard Tisserant [Tue, 24 Feb 2015 11:50:54 +0100] rev 1450
Fixed SFC code generation bug detected by Mario

Sat, 21 Feb 2015 10:20:24 +0100Added __ext_name__ variable accessible from user python code, reflecting extension name. Fixed contend of OnChange field in PLCGlobalsDesc
Edouard Tisserant [Sat, 21 Feb 2015 10:20:24 +0100] rev 1449
Added __ext_name__ variable accessible from user python code, reflecting extension name. Fixed contend of OnChange field in PLCGlobalsDesc

Thu, 19 Feb 2015 00:40:53 +0100Added more columns in variable list of extensions' code editors - updating python's PLCGlobals from PLC logic can trigger asynchronous 'OnChange' python call
Edouard Tisserant [Thu, 19 Feb 2015 00:40:53 +0100] rev 1448
Added more columns in variable list of extensions' code editors - updating python's PLCGlobals from PLC logic can trigger asynchronous 'OnChange' python call

Tue, 17 Feb 2015 10:23:57 +0100Fixed systematically loading PLC binary at startup even without -a parameter. Extended py_ext extensions instances variable description (PLCGlobalsDesc). Now contains list of variables organizd by extension, with extension name
Edouard Tisserant [Tue, 17 Feb 2015 10:23:57 +0100] rev 1447
Fixed systematically loading PLC binary at startup even without -a parameter. Extended py_ext extensions instances variable description (PLCGlobalsDesc). Now contains list of variables organizd by extension, with extension name

Mon, 16 Feb 2015 16:23:51 +0100Split runtime's twisted modules import and setup to ease runtime extensions hotpatching
Edouard Tisserant [Mon, 16 Feb 2015 16:23:51 +0100] rev 1446
Split runtime's twisted modules import and setup to ease runtime extensions hotpatching

Tue, 10 Feb 2015 00:25:17 +0100More versatile registering of wamp callees
Edouard Tisserant [Tue, 10 Feb 2015 00:25:17 +0100] rev 1445
More versatile registering of wamp callees

Mon, 09 Feb 2015 13:38:00 +0100Added forgotten wampconf.json in tests/wamp
Edouard Tisserant [Mon, 09 Feb 2015 13:38:00 +0100] rev 1444
Added forgotten wampconf.json in tests/wamp

Mon, 09 Feb 2015 10:55:06 +0100WAMP : prefix callee names with given ID so that multiple PLC and IDE can join the same realm
Edouard Tisserant [Mon, 09 Feb 2015 10:55:06 +0100] rev 1443
WAMP : prefix callee names with given ID so that multiple PLC and IDE can join the same realm

Mon, 09 Feb 2015 00:45:03 +0100Fixed race condition preventing to stop PLC through WAMP
Edouard Tisserant [Mon, 09 Feb 2015 00:45:03 +0100] rev 1442
Fixed race condition preventing to stop PLC through WAMP

Sun, 08 Feb 2015 22:39:17 +0100Added auto-reconnect for runtime. Fixed Beremiz closing problem caused by remaining twisted reactor thread in IDE.
Edouard Tisserant [Sun, 08 Feb 2015 22:39:17 +0100] rev 1441
Added auto-reconnect for runtime. Fixed Beremiz closing problem caused by remaining twisted reactor thread in IDE.

Sun, 08 Feb 2015 16:50:54 +0100Runtime : Added PLCobject methods registring. IDE : Added WAMP connector. Still need some fixes
Edouard Tisserant [Sun, 08 Feb 2015 16:50:54 +0100] rev 1440
Runtime : Added PLCobject methods registring. IDE : Added WAMP connector. Still need some fixes

Thu, 05 Feb 2015 23:32:31 +0100Added stub code for runtime WAMP client. Added runtime command line switch to select WAMP url and Nevow web site port. Web port is now fixed, next port number is not tested if bind fails.
Edouard Tisserant [Thu, 05 Feb 2015 23:32:31 +0100] rev 1439
Added stub code for runtime WAMP client. Added runtime command line switch to select WAMP url and Nevow web site port. Web port is now fixed, next port number is not tested if bind fails.

Thu, 05 Feb 2015 01:35:02 +0100Moved twisted/nevow/athena away from Berermiz_service.py + some minor cleanup
Edouard Tisserant [Thu, 05 Feb 2015 01:35:02 +0100] rev 1438
Moved twisted/nevow/athena away from Berermiz_service.py + some minor cleanup

Mon, 02 Feb 2015 23:45:30 +0100Added Beremiz_service.py command line switch to load python extention for runtime independently from PLC program
Edouard Tisserant [Mon, 02 Feb 2015 23:45:30 +0100] rev 1437
Added Beremiz_service.py command line switch to load python extention for runtime independently from PLC program

Mon, 02 Feb 2015 23:11:01 +0100py_ext user python code can now know about global variables shared with PLC. updated tests/python accordingly
Edouard Tisserant [Mon, 02 Feb 2015 23:11:01 +0100] rev 1436
py_ext user python code can now know about global variables shared with PLC. updated tests/python accordingly

Mon, 02 Feb 2015 16:51:35 +0100Fixed python runtime trace thread auto suspend. Now suspends after 3 seconds when no trace is requested
Edouard Tisserant [Mon, 02 Feb 2015 16:51:35 +0100] rev 1435
Fixed python runtime trace thread auto suspend. Now suspends after 3 seconds when no trace is requested

Fri, 30 Jan 2015 20:42:24 +0100Added runtime side trace buffer, handled in a separate thread, limited to 1MB, and dropped after 3 seconds if not used by IDE. GetTraceVariables is not anymore blocking on next PLC cycle
Edouard Tisserant [Fri, 30 Jan 2015 20:42:24 +0100] rev 1434
Added runtime side trace buffer, handled in a separate thread, limited to 1MB, and dropped after 3 seconds if not used by IDE. GetTraceVariables is not anymore blocking on next PLC cycle

Fri, 30 Jan 2015 10:45:11 +0100Moved trace buffer unpacking in the IDE. Latest traced variable samples are now passed as a single string
Edouard Tisserant [Fri, 30 Jan 2015 10:45:11 +0100] rev 1433
Moved trace buffer unpacking in the IDE. Latest traced variable samples are now passed as a single string

Thu, 29 Jan 2015 19:11:34 +0100Optimized plc_debug.c generated code. Should produce smaller code size. Added statically initialized array for PLC tracable variable description.
Edouard Tisserant [Thu, 29 Jan 2015 19:11:34 +0100] rev 1432
Optimized plc_debug.c generated code. Should produce smaller code size. Added statically initialized array for PLC tracable variable description.

Sun, 18 Jan 2015 20:38:34 +0100more minor cleanup
Edouard Tisserant [Sun, 18 Jan 2015 20:38:34 +0100] rev 1431
more minor cleanup

Sun, 18 Jan 2015 19:41:27 +0100minor cleanup
Edouard Tisserant [Sun, 18 Jan 2015 19:41:27 +0100] rev 1430
minor cleanup

Fri, 16 Jan 2015 22:09:28 +0100merged forgotten changes
Edouard Tisserant [Fri, 16 Jan 2015 22:09:28 +0100] rev 1429
merged forgotten changes

Fri, 12 Dec 2014 14:41:53 +0100Simplified use of runtime's global variable __common_ticktime accross extensions.
Edouard Tisserant [Fri, 12 Dec 2014 14:41:53 +0100] rev 1428
Simplified use of runtime's global variable __common_ticktime accross extensions.

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

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

Mon, 10 Nov 2014 22:28:15 +0100Fixed location of directory containing IEC standard library in C format.
Edouard Tisserant [Mon, 10 Nov 2014 22:28:15 +0100] rev 1425
Fixed location of directory containing IEC standard library in C format.

Tue, 08 Jul 2014 18:00:52 +0100Change location of directory containing IEC standard library in C format.
mjsousa [Tue, 08 Jul 2014 18:00:52 +0100] rev 1424
Change location of directory containing IEC standard library in C format.

Fri, 27 Jun 2014 13:56:49 +0200Added highlighting of wrong SINGLE task trigger
Edouard Tisserant [Fri, 27 Jun 2014 13:56:49 +0200] rev 1423
Added highlighting of wrong SINGLE task trigger

Wed, 25 Jun 2014 17:28:26 +0200Fixed incomplete task grid update on interface change, in Resource editor
Edouard Tisserant [Wed, 25 Jun 2014 17:28:26 +0200] rev 1422
Fixed incomplete task grid update on interface change, in Resource editor

Mon, 23 Jun 2014 10:57:02 +0200Enable overloading of availables languages in POU creation dialog
Edouard Tisserant [Mon, 23 Jun 2014 10:57:02 +0200] rev 1421
Enable overloading of availables languages in POU creation dialog

Fri, 20 Jun 2014 21:36:23 +0200Enable overloading of task triggerring source cell editor (SINGLE) in resource editor. PLCGenerator now generates MULTI keywork instead of SINGLE when task's activation is surroundes with square brackets
Edouard Tisserant [Fri, 20 Jun 2014 21:36:23 +0200] rev 1420
Enable overloading of task triggerring source cell editor (SINGLE) in resource editor. PLCGenerator now generates MULTI keywork instead of SINGLE when task's activation is surroundes with square brackets

Thu, 12 Jun 2014 18:15:04 +0200Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant [Thu, 12 Jun 2014 18:15:04 +0200] rev 1419
Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces

Thu, 12 Jun 2014 17:50:30 +0200Fixed declaration and ST code gen for IEC function that return derivated types
Edouard Tisserant [Thu, 12 Jun 2014 17:50:30 +0200] rev 1418
Fixed declaration and ST code gen for IEC function that return derivated types

Wed, 11 Jun 2014 19:01:17 +0200Added a variable name text entry dialog to allow name change on drag'n'drops
Edouard Tisserant [Wed, 11 Jun 2014 19:01:17 +0200] rev 1417
Added a variable name text entry dialog to allow name change on drag'n'drops

Wed, 11 Jun 2014 16:42:27 +0200'NamedConstant' variable D'n'D is now allowed on variable grid
Edouard Tisserant [Wed, 11 Jun 2014 16:42:27 +0200] rev 1416
'NamedConstant' variable D'n'D is now allowed on variable grid

Tue, 10 Jun 2014 11:40:50 +0200Allow specification of command line arguments encoding in ProcessLogger
Edouard Tisserant [Tue, 10 Jun 2014 11:40:50 +0200] rev 1415
Allow specification of command line arguments encoding in ProcessLogger

Wed, 04 Jun 2014 13:18:23 +0200Splitted type selection menu code in VariablePanel, making easier to override behaviour by inheritence
Edouard Tisserant [Wed, 04 Jun 2014 13:18:23 +0200] rev 1414
Splitted type selection menu code in VariablePanel, making easier to override behaviour by inheritence

Wed, 04 Jun 2014 09:50:08 +0200Fixed crash at project load when features.libraries is empty (i.e. no libraries are provided).
Edouard Tisserant [Wed, 04 Jun 2014 09:50:08 +0200] rev 1413
Fixed crash at project load when features.libraries is empty (i.e. no libraries are provided).

Fri, 30 May 2014 02:20:19 +0200Added plcopen.definitions.DefaultType, set to INT.
Edouard Tisserant [Fri, 30 May 2014 02:20:19 +0200] rev 1412
Added plcopen.definitions.DefaultType, set to INT.

Wed, 28 May 2014 18:33:41 +0200Fixed POU paste exception
Edouard Tisserant [Wed, 28 May 2014 18:33:41 +0200] rev 1411
Fixed POU paste exception

Wed, 28 May 2014 11:50:38 +0200Propagated changes made in matiec/lib/accessor.h _SET_VAR macro (Mario's matiec changes merged at 39086e324665) to py_ext library, and other (not compiled in) XML standard FB definitions.
Edouard Tisserant [Wed, 28 May 2014 11:50:38 +0200] rev 1410
Propagated changes made in matiec/lib/accessor.h _SET_VAR macro (Mario's matiec changes merged at 39086e324665) to py_ext library, and other (not compiled in) XML standard FB definitions.

Tue, 27 May 2014 10:40:39 +0200Added 'NamedConstant' drag'n'drop in text programs as well (was only accepted on graphical languages).
Edouard Tisserant [Tue, 27 May 2014 10:40:39 +0200] rev 1409
Added 'NamedConstant' drag'n'drop in text programs as well (was only accepted on graphical languages).

Fri, 23 May 2014 18:28:57 +0200Fixed launch of PLCopenEditor, broken since 611fded24ce4.
Edouard Tisserant [Fri, 23 May 2014 18:28:57 +0200] rev 1408
Fixed launch of PLCopenEditor, broken since 611fded24ce4.

Wed, 21 May 2014 18:43:54 +0200Organized controller's _Build sub-methods layout. Many (unwanted) white space changes.
Edouard Tisserant [Wed, 21 May 2014 18:43:54 +0200] rev 1407
Organized controller's _Build sub-methods layout. Many (unwanted) white space changes.

Tue, 13 May 2014 00:43:06 +0200Added 'NamedConstant' drag'n'drop in programs. It does create a simple variable with initial value and is usefull for drag'n'drop constants from extensions while keeping a name associated with constant
Edouard Tisserant [Tue, 13 May 2014 00:43:06 +0200] rev 1406
Added 'NamedConstant' drag'n'drop in programs. It does create a simple variable with initial value and is usefull for drag'n'drop constants from extensions while keeping a name associated with constant

Wed, 02 Apr 2014 21:07:35 +0200xmlclass : Ensured precedence of newly defined class in case of conflicting declaration
Edouard Tisserant [Wed, 02 Apr 2014 21:07:35 +0200] rev 1405
xmlclass : Ensured precedence of newly defined class in case of conflicting declaration

Mon, 31 Mar 2014 00:27:05 +0200Fixed Exception dialog crash when original exception contains unicode
Edouard Tisserant [Mon, 31 Mar 2014 00:27:05 +0200] rev 1404
Fixed Exception dialog crash when original exception contains unicode

Sat, 29 Mar 2014 19:03:00 +0100Fixed unused variable in plc_debug.c
Edouard Tisserant [Sat, 29 Mar 2014 19:03:00 +0100] rev 1403
Fixed unused variable in plc_debug.c

Sat, 29 Mar 2014 14:49:48 +0100On windows, prepend CWD to PATH before invoking Generic target make command
Edouard Tisserant [Sat, 29 Mar 2014 14:49:48 +0100] rev 1402
On windows, prepend CWD to PATH before invoking Generic target make command

Thu, 27 Mar 2014 10:06:30 +0100Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant [Thu, 27 Mar 2014 10:06:30 +0100] rev 1401
Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python

Fri, 21 Mar 2014 00:21:15 +0100Fixed typo in plcopen.py
Edouard Tisserant [Fri, 21 Mar 2014 00:21:15 +0100] rev 1400
Fixed typo in plcopen.py

Mon, 17 Mar 2014 16:16:06 +0100Changed python_gear ratio type from USINT to UINT, less restrictive regarding range
Edouard Tisserant [Mon, 17 Mar 2014 16:16:06 +0100] rev 1399
Changed python_gear ratio type from USINT to UINT, less restrictive regarding range

Sun, 16 Mar 2014 18:39:16 +0100Fixed support for spaces in matiec libraries path with native beremiz build
Edouard Tisserant [Sun, 16 Mar 2014 18:39:16 +0100] rev 1398
Fixed support for spaces in matiec libraries path with native beremiz build

Tue, 04 Mar 2014 02:18:11 +0100Delayed CANopen initialization for better busoff recovery
Edouard Tisserant [Tue, 04 Mar 2014 02:18:11 +0100] rev 1397
Delayed CANopen initialization for better busoff recovery

Thu, 27 Feb 2014 23:04:27 +0100Fixed non initialized timer causing exception in some rare cases (continued)
Edouard Tisserant [Thu, 27 Feb 2014 23:04:27 +0100] rev 1396
Fixed non initialized timer causing exception in some rare cases (continued)

Thu, 27 Feb 2014 10:45:06 +0100Fixed non initialized timer causing exception in some rare cases
Edouard Tisserant [Thu, 27 Feb 2014 10:45:06 +0100] rev 1395
Fixed non initialized timer causing exception in some rare cases

Tue, 25 Feb 2014 13:39:46 +0100Fix matplotlib exception when launching on XP
Edouard Tisserant [Tue, 25 Feb 2014 13:39:46 +0100] rev 1394
Fix matplotlib exception when launching on XP

Fri, 14 Feb 2014 21:27:49 +0100Fixed import error when loading extensions
Edouard Tisserant [Fri, 14 Feb 2014 21:27:49 +0100] rev 1393
Fixed import error when loading extensions

Wed, 29 Jan 2014 00:38:23 +0100More gcc warning avoided
Edouard Tisserant [Wed, 29 Jan 2014 00:38:23 +0100] rev 1392
More gcc warning avoided

Tue, 28 Jan 2014 16:30:48 +0100Added <string.h> to plc_main_head.c to avoid warnings.
Edouard Tisserant [Tue, 28 Jan 2014 16:30:48 +0100] rev 1391
Added <string.h> to plc_main_head.c to avoid warnings.

Tue, 28 Jan 2014 16:24:40 +0100Tidy PLCopen definitions
Edouard Tisserant [Tue, 28 Jan 2014 16:24:40 +0100] rev 1390
Tidy PLCopen definitions