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.