Hello community,

here is the log from the commit of package poedit for openSUSE:Factory checked 
in at 2017-03-17 15:07:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/poedit (Old)
 and      /work/SRC/openSUSE:Factory/.poedit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "poedit"

Fri Mar 17 15:07:16 2017 rev:36 rq:479958 version:1.8.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/poedit/poedit.changes    2017-02-04 
16:46:48.258170669 +0100
+++ /work/SRC/openSUSE:Factory/.poedit.new/poedit.changes       2017-03-17 
15:07:20.187157986 +0100
@@ -1,0 +2,9 @@
+Thu Mar 16 10:11:22 UTC 2017 - [email protected]
+
+- update to 1.8.12:
+  * Fix previous msgid display.
+  * Fix Find to correctly highlight text with "whole words only"
+    enabled
+  * Poedit now passes --previous to msgmerge
+
+-------------------------------------------------------------------

Old:
----
  poedit-1.8.11.tar.gz

New:
----
  poedit-1.8.12.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ poedit.spec ++++++
--- /var/tmp/diff_new_pack.HvSmkS/_old  2017-03-17 15:07:20.931053000 +0100
+++ /var/tmp/diff_new_pack.HvSmkS/_new  2017-03-17 15:07:20.931053000 +0100
@@ -20,7 +20,7 @@
 %bcond_without language_detection
 %bcond_without crowdin_integration
 Name:           poedit
-Version:        1.8.11
+Version:        1.8.12
 Release:        0
 Summary:        Cross-platform Gettext Catalogs Editing Tool
 License:        MIT
@@ -29,14 +29,6 @@
 Source:         
https://github.com/vslavik/poedit/releases/download/v%{version}-oss/%{name}-%{version}.tar.gz
 BuildRequires:  autoconf
 BuildRequires:  automake
-%if 0%{?suse_version} > 1325
-BuildRequires:  libboost_iostreams-devel
-BuildRequires:  libboost_regex-devel
-BuildRequires:  libboost_system-devel
-BuildRequires:  libboost_thread-devel
-%else
-BuildRequires:  boost-devel >= 1.54
-%endif
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -49,6 +41,14 @@
 Requires:       gettext-tools
 Recommends:     %{name}-lang
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} > 1325
+BuildRequires:  libboost_iostreams-devel
+BuildRequires:  libboost_regex-devel
+BuildRequires:  libboost_system-devel
+BuildRequires:  libboost_thread-devel
+%else
+BuildRequires:  boost-devel >= 1.54
+%endif
 %if %{with legacy_tm_migration}
 BuildRequires:  db-devel >= 4.7
 BuildRequires:  pkgconfig(expat)

++++++ poedit-1.8.11.tar.gz -> poedit-1.8.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/NEWS new/poedit-1.8.12/NEWS
--- old/poedit-1.8.11/NEWS      2016-10-20 09:40:02.000000000 +0200
+++ new/poedit-1.8.12/NEWS      2017-02-18 20:16:34.000000000 +0100
@@ -1,4 +1,13 @@
 
+Version 1.8.12
+--------------
+
+- Fixed previous msgid display.
+- Fixed Find to correctly highlight text with "whole words only" enabled.
+- [Windows] Fixed to accelerators and suggestions interaction with selection.
+- Poedit now passes --previous to msgmerge.
+
+
 Version 1.8.11
 --------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/configure new/poedit-1.8.12/configure
--- old/poedit-1.8.11/configure 2016-10-20 09:41:29.000000000 +0200
+++ new/poedit-1.8.12/configure 2017-02-18 20:17:59.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for poedit 1.8.11.
+# Generated by GNU Autoconf 2.69 for poedit 1.8.12.
 #
 # Report bugs to <[email protected]>.
 #
@@ -580,8 +580,8 @@
 # Identity of this package.
 PACKAGE_NAME='poedit'
 PACKAGE_TARNAME='poedit'
-PACKAGE_VERSION='1.8.11'
-PACKAGE_STRING='poedit 1.8.11'
+PACKAGE_VERSION='1.8.12'
+PACKAGE_STRING='poedit 1.8.12'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL=''
 
@@ -1361,7 +1361,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures poedit 1.8.11 to adapt to many kinds of systems.
+\`configure' configures poedit 1.8.12 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1431,7 +1431,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of poedit 1.8.11:";;
+     short | recursive ) echo "Configuration of poedit 1.8.12:";;
    esac
   cat <<\_ACEOF
 
@@ -1588,7 +1588,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-poedit configure 1.8.11
+poedit configure 1.8.12
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1995,7 +1995,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by poedit $as_me 1.8.11, which was
+It was created by poedit $as_me 1.8.12, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2343,7 +2343,7 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-PACKAGE_SHORT_VERSION=1.8.11
+PACKAGE_SHORT_VERSION=1.8.12
 
 
 ac_aux_dir=
@@ -2935,7 +2935,7 @@
 
 # Define the identity of the package.
  PACKAGE='poedit'
- VERSION='1.8.11'
+ VERSION='1.8.12'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -8747,7 +8747,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by poedit $as_me 1.8.11, which was
+This file was extended by poedit $as_me 1.8.12, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -8804,7 +8804,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-poedit config.status 1.8.11
+poedit config.status 1.8.12
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/configure.ac 
new/poedit-1.8.12/configure.ac
--- old/poedit-1.8.11/configure.ac      2016-10-20 09:40:02.000000000 +0200
+++ new/poedit-1.8.12/configure.ac      2017-02-18 20:16:34.000000000 +0100
@@ -2,8 +2,8 @@
 
 AC_PREREQ(2.59)
 
-AC_INIT([poedit], [1.8.11], [[email protected]])
-PACKAGE_SHORT_VERSION=1.8.11
+AC_INIT([poedit], [1.8.12], [[email protected]])
+PACKAGE_SHORT_VERSION=1.8.12
 AC_SUBST(PACKAGE_SHORT_VERSION)
 
 AC_CONFIG_AUX_DIR([admin])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/docs/poedit.1 
new/poedit-1.8.12/docs/poedit.1
--- old/poedit-1.8.11/docs/poedit.1     2016-10-20 09:41:30.000000000 +0200
+++ new/poedit-1.8.12/docs/poedit.1     2017-02-18 20:18:00.000000000 +0100
@@ -2,12 +2,12 @@
 .\"     Title: poedit
 .\"    Author: Vaclav Slavik <[email protected]>
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 10/20/2016
+.\"      Date: 02/18/2017
 .\"    Manual: \ \&
 .\"    Source: \ \&
 .\"  Language: English
 .\"
-.TH "POEDIT" "1" "10/20/2016" "\ \&" "\ \&"
+.TH "POEDIT" "1" "02/18/2017" "\ \&" "\ \&"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/catalog.cpp 
new/poedit-1.8.12/src/catalog.cpp
--- old/poedit-1.8.11/src/catalog.cpp   2016-10-20 09:40:08.000000000 +0200
+++ new/poedit-1.8.12/src/catalog.cpp   2017-02-18 20:16:40.000000000 +0100
@@ -1591,9 +1591,10 @@
         // msgcat always outputs Unix line endings, so we need to reformat the 
file
         if (msgcat_ok && outputCrlf == wxTextFileType_Dos)
         {
+            wxCSConv conv(m_header.Charset);
             wxTextFile finalFile(po_file_temp2);
-            if (finalFile.Open())
-                finalFile.Write(outputCrlf);
+            if (finalFile.Open(conv))
+                finalFile.Write(outputCrlf, conv);
         }
 
         if (!TempOutputFileFor::ReplaceFile(po_file_temp2, po_file))
@@ -2301,7 +2302,7 @@
     refcat->DoSaveOnly(tmp1, wxTextFileType_Unix);
     DoSaveOnly(tmp2, wxTextFileType_Unix);
 
-    wxString flags("-q --force-po");
+    wxString flags("-q --force-po --previous");
     if (wxConfig::Get()->ReadBool("use_tm_when_updating", false) == false)
     {
         flags += " --no-fuzzy-matching";
@@ -2694,6 +2695,8 @@
             line.Remove(0, 1);
         if (line.StartsWith("msgid \""))
             line.Remove(0, 7);
+        else if (line.StartsWith("msgid_plural \""))
+            line.replace(0, 14, "\n");
         s += UnescapeCString(line);
     }
     return s;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/edapp.cpp 
new/poedit-1.8.12/src/edapp.cpp
--- old/poedit-1.8.11/src/edapp.cpp     2016-10-20 09:40:08.000000000 +0200
+++ new/poedit-1.8.12/src/edapp.cpp     2017-02-18 20:16:40.000000000 +0100
@@ -1220,8 +1220,11 @@
 
     NSMenu *editNS = edit->GetHMenu();
 
+    #pragma clang diagnostic push
+    #pragma clang diagnostic ignored "-Wundeclared-selector"
     AddNativeItem(editNS, 0, _("Undo"), @selector(undo:), @"z");
     AddNativeItem(editNS, 1, _("Redo"), @selector(redo:), @"Z");
+    #pragma clang diagnostic pop
     [editNS insertItem:[NSMenuItem separatorItem] atIndex:2];
     if (pasteItem != -1) pasteItem += 3;
     if (findItem != -1)  findItem += 3;
@@ -1309,7 +1312,10 @@
                                                   action:NULL
                                        keyEquivalent:@""];
        NSMenu *openRecentMenu = [[NSMenu alloc] initWithTitle:@"Open Recent"];
+    #pragma clang diagnostic push
+    #pragma clang diagnostic ignored "-Wundeclared-selector"
        [openRecentMenu performSelector:@selector(_setMenuName:) 
withObject:@"NSRecentDocumentsMenu"];
+    #pragma clang diagnostic pop
        [menu setSubmenu:openRecentMenu forItem:item];
     m_recentMenuData->menuItem = item;
     m_recentMenuData->menu = openRecentMenu;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/edframe.cpp 
new/poedit-1.8.12/src/edframe.cpp
--- old/poedit-1.8.11/src/edframe.cpp   2016-10-20 09:40:08.000000000 +0200
+++ new/poedit-1.8.12/src/edframe.cpp   2017-02-18 20:16:40.000000000 +0100
@@ -682,6 +682,9 @@
 
     m_labelContext = new wxStaticText(m_bottomPanel, -1, wxEmptyString);
     m_labelContext->SetFont(m_normalGuiFont);
+#ifdef __WXOSX__
+    m_labelContext->SetMinSize(wxSize(-1, m_labelContext->GetBestSize().y + 
3));
+#endif
     m_labelContext->Hide();
 
     m_labelSingular = new wxStaticText(m_bottomPanel, -1, _("Singular:"));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/findframe.cpp 
new/poedit-1.8.12/src/findframe.cpp
--- old/poedit-1.8.11/src/findframe.cpp 2016-10-20 09:40:08.000000000 +0200
+++ new/poedit-1.8.12/src/findframe.cpp 2017-02-18 20:16:40.000000000 +0100
@@ -566,9 +566,15 @@
             textc = txt->GetValue();
             if (ignoreCase)
                 textc.MakeLower();
-            int pos = textc.Find(text);
-            if (pos != wxNOT_FOUND)
-                txt->ShowFindIndicator(pos, (int)text.length());
+            FindTextInStringAndDo
+            (
+                textc, text, wholeWords,
+                [=](const wxString&,size_t pos, size_t len)
+                {
+                    txt->ShowFindIndicator((int)pos, (int)len);
+                    return wxString::npos;
+                }
+            );
         }
 
         return true;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/http_client_casablanca.cpp 
new/poedit-1.8.12/src/http_client_casablanca.cpp
--- old/poedit-1.8.11/src/http_client_casablanca.cpp    2016-10-20 
09:40:08.000000000 +0200
+++ new/poedit-1.8.12/src/http_client_casablanca.cpp    2017-02-18 
20:16:40.000000000 +0100
@@ -169,7 +169,14 @@
 {
 public:
     impl(http_client& owner, const std::string& url_prefix, int flags)
-        : m_owner(owner), m_native(sanitize_url(url_prefix, flags), 
get_client_config())
+        : m_owner(owner),
+          m_native
+          (
+              sanitize_url(url_prefix, flags)
+            #ifdef _WIN32
+              , get_client_config()
+            #endif
+          )
     {
         #define make_wide_str(x) make_wide_str_(x)
         #define make_wide_str_(x) L ## x
@@ -361,11 +368,12 @@
         return to_string_t(url);
     }
 
+#ifdef _WIN32
     // prepare WinHttp configuration
     static http::client::http_client_config get_client_config()
     {
         http::client::http_client_config c;
-    #ifdef _WIN32
+
         // WinHttp doesn't share WinInet/MSIE's proxy settings and has its own,
         // but many users don't have properly configured both. Adopting proxy
         // settings like this in desktop software is recommended behavior, see
@@ -385,12 +393,9 @@
                 c.set_proxy(uri(L"//" + std::wstring(ieConfig.lpszProxy)));
             }
         }
-    #endif
         return c;
     }
 
-private:
-#ifdef _WIN32
     static bool is_windows_xp()
     {
         OSVERSIONINFOEX info;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/language.h 
new/poedit-1.8.12/src/language.h
--- old/poedit-1.8.11/src/language.h    2016-10-20 09:40:08.000000000 +0200
+++ new/poedit-1.8.12/src/language.h    2017-02-18 20:16:40.000000000 +0100
@@ -43,7 +43,7 @@
 class Language
 {
 public:
-    Language() {}
+    Language() : m_direction(TextDirection::LTR) {}
 
     bool IsValid() const { return !m_code.empty(); }
     const std::string& Code() const { return m_code; }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/languagectrl.cpp 
new/poedit-1.8.12/src/languagectrl.cpp
--- old/poedit-1.8.11/src/languagectrl.cpp      2016-10-20 09:40:08.000000000 
+0200
+++ new/poedit-1.8.12/src/languagectrl.cpp      2017-02-18 20:16:40.000000000 
+0100
@@ -157,10 +157,26 @@
     CenterOnParent();
 
     m_language->SetFocus();
+
 #ifdef __WXOSX__
     // Workaround wx bug: http://trac.wxwidgets.org/ticket/9521
     m_language->SelectAll();
-#endif
+
+    // Workaround broken Enter handling:
+    Bind(wxEVT_CHAR_HOOK, [=](wxKeyEvent& e){
+        if (e.GetKeyCode() == WXK_RETURN)
+        {
+            auto button = GetDefaultItem();
+            wxCommandEvent event(wxEVT_BUTTON, button->GetId());
+            event.SetEventObject(button);
+            button->ProcessWindowEvent(event);
+        }
+        else
+        {
+            e.Skip();
+        }
+    });
+#endif // __WXOSX__
 }
 
 bool LanguageDialog::Validate()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/propertiesdlg.cpp 
new/poedit-1.8.12/src/propertiesdlg.cpp
--- old/poedit-1.8.11/src/propertiesdlg.cpp     2016-10-20 09:40:08.000000000 
+0200
+++ new/poedit-1.8.12/src/propertiesdlg.cpp     2017-02-18 20:16:40.000000000 
+0100
@@ -269,22 +269,26 @@
         auto lbl = new wxStaticText(this, wxID_ANY, label);
         sizer->Add(lbl, wxSizerFlags().Expand());
         m_list = new wxListBox(this, wxID_ANY, wxDefaultPosition, 
wxDefaultSize, 0, nullptr, wxLB_EXTENDED);
-        sizer->Add(m_list, wxSizerFlags(1).Expand());
+        sizer->Add(m_list, wxSizerFlags(1).Expand().BORDER_WIN(wxLEFT, 1));
 
 #if defined(__WXOSX__)
         auto add = new wxBitmapButton(this, wxID_ANY, 
wxArtProvider::GetBitmap("NSAddTemplate"), wxDefaultPosition, wxSize(18, 18), 
wxBORDER_SUNKEN);
         auto remove = new wxBitmapButton(this, wxID_ANY, 
wxArtProvider::GetBitmap("NSRemoveTemplate"), wxDefaultPosition, wxSize(18,18), 
wxBORDER_SUNKEN);
 #elif defined(__WXMSW__)
-        auto add = new wxBitmapButton(this, wxID_ANY, 
wxArtProvider::GetBitmap("list-add"), wxDefaultPosition, wxSize(19,19));
-        auto remove = new wxBitmapButton(this, wxID_ANY, 
wxArtProvider::GetBitmap("list-remove"), wxDefaultPosition, wxSize(19,19));
+        auto add = new wxBitmapButton(this, wxID_ANY, 
wxArtProvider::GetBitmap("list-add"), wxDefaultPosition, wxSize(PX(19),PX(19)));
+        auto remove = new wxBitmapButton(this, wxID_ANY, 
wxArtProvider::GetBitmap("list-remove"), wxDefaultPosition, 
wxSize(PX(19),PX(19)));
 #elif defined(__WXGTK__)
         auto add = new wxBitmapButton(this, wxID_ANY, 
wxArtProvider::GetBitmap("list-add"), wxDefaultPosition, wxDefaultSize, 
wxNO_BORDER);
         auto remove = new wxBitmapButton(this, wxID_ANY, 
wxArtProvider::GetBitmap("list-remove"), wxDefaultPosition, wxDefaultSize, 
wxNO_BORDER);
 #endif
         auto buttonSizer = new wxBoxSizer(wxHORIZONTAL);
         buttonSizer->Add(add);
+#ifdef __WXOSX__
+        buttonSizer->AddSpacer(PX(1));
+#endif
         buttonSizer->Add(remove);
-        sizer->Add(buttonSizer);
+        sizer->AddSpacer(PX(1));
+        sizer->Add(buttonSizer, wxSizerFlags().BORDER_OSX(wxLEFT, PX(1)));
 
         SetDropTarget(new DropTarget(this));
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/resources/menus.xrc 
new/poedit-1.8.12/src/resources/menus.xrc
--- old/poedit-1.8.11/src/resources/menus.xrc   2016-10-20 09:40:08.000000000 
+0200
+++ new/poedit-1.8.12/src/resources/menus.xrc   2017-02-18 20:16:40.000000000 
+0100
@@ -76,7 +76,9 @@
       <object class="wxMenuItem" name="wxID_COPY"/>
       <object class="wxMenuItem" name="wxID_PASTE"/>
       <object class="wxMenuItem" name="wxID_DELETE" platform="unix|win"/>
-      <object class="wxMenuItem" name="wxID_SELECTALL"/>
+      <object class="wxMenuItem" name="wxID_SELECTALL">
+          <accel>Ctrl+A</accel>
+      </object>
       <object class="separator"/>
       <object class="wxMenuItem" name="menu_clear" >
           <label platform="win">Clear translation</label>
@@ -355,7 +357,9 @@
       <object class="wxMenuItem" name="wxID_COPY" platform="mac"/>
       <object class="wxMenuItem" name="wxID_PASTE" platform="mac"/>
       <object class="wxMenuItem" name="wxID_CLEAR" platform="mac"/>
-      <object class="wxMenuItem" name="wxID_SELECTALL" platform="mac"/>
+      <object class="wxMenuItem" name="wxID_SELECTALL" platform="mac">
+          <accel>Ctrl+A</accel>
+      </object>
     </object>
     <object class="wxMenu" name="menu_help">
       <object class="wxMenuItem" name="wxID_HELP">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/sidebar.cpp 
new/poedit-1.8.12/src/sidebar.cpp
--- old/poedit-1.8.11/src/sidebar.cpp   2016-10-20 09:40:08.000000000 +0200
+++ new/poedit-1.8.12/src/sidebar.cpp   2017-02-18 20:16:40.000000000 +0100
@@ -71,6 +71,8 @@
         return wxSize(-1, 1);
     }
 
+    bool AcceptsFocus() const override { return false; }
+
 private:
     void OnPaint(wxPaintEvent&)
     {
@@ -257,10 +259,10 @@
 
 wxDEFINE_EVENT(EVT_SUGGESTION_SELECTED, wxCommandEvent);
 
-class SuggestionWidget : public wxPanel
+class SuggestionWidget : public wxWindow
 {
 public:
-    SuggestionWidget(wxWindow *parent) : wxPanel(parent, wxID_ANY)
+    SuggestionWidget(wxWindow *parent) : wxWindow(parent, wxID_ANY)
     {
         m_icon = new wxStaticBitmap(this, wxID_ANY, wxNullBitmap);
         m_text = new AutoWrappingText(this, "TEXT");
@@ -330,6 +332,8 @@
         SetMinSize(wxDefaultSize);
         SetMinSize(GetBestSize());
     }
+    
+    bool AcceptsFocus() const override { return false; }
 
 private:
     class InfoStaticText : public wxStaticText
@@ -427,6 +431,9 @@
 
 SuggestionsSidebarBlock::~SuggestionsSidebarBlock()
 {
+    ClearSuggestionsMenu();
+    for (auto i : m_suggestionMenuItems)
+        delete i;
 }
 
 wxBitmap SuggestionsSidebarBlock::GetIconForSuggestion(const Suggestion&) const
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/text_control.cpp 
new/poedit-1.8.12/src/text_control.cpp
--- old/poedit-1.8.11/src/text_control.cpp      2016-10-20 09:40:08.000000000 
+0200
+++ new/poedit-1.8.12/src/text_control.cpp      2017-02-18 20:16:40.000000000 
+0100
@@ -830,7 +830,7 @@
     DisableAutomaticSubstitutions disableAuto(this);
 #endif
 
-    SelectAll();
+    Clear();
     WriteText(EscapePlainText(value));
     SetInsertionPointEnd();
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/poedit-1.8.11/src/version.h 
new/poedit-1.8.12/src/version.h
--- old/poedit-1.8.11/src/version.h     2016-10-20 09:40:08.000000000 +0200
+++ new/poedit-1.8.12/src/version.h     2017-02-18 20:16:40.000000000 +0100
@@ -26,7 +26,7 @@
 #ifndef _VERSION_H_
 #define _VERSION_H_
 
-#define POEDIT_VERSION           "1.8.11"
-#define POEDIT_VERSION_WIN        1,8,11
+#define POEDIT_VERSION           "1.8.12"
+#define POEDIT_VERSION_WIN        1,8,12
 
 #endif // _VERSION_H_


Reply via email to