Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package featherpad for openSUSE:Factory 
checked in at 2024-04-30 17:27:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/featherpad (Old)
 and      /work/SRC/openSUSE:Factory/.featherpad.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "featherpad"

Tue Apr 30 17:27:20 2024 rev:34 rq:1170835 version:1.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/featherpad/featherpad.changes    2024-02-20 
21:13:05.567103047 +0100
+++ /work/SRC/openSUSE:Factory/.featherpad.new.1880/featherpad.changes  
2024-04-30 17:28:26.300524272 +0200
@@ -1,0 +2,8 @@
+Mon Apr 29 16:09:58 UTC 2024 - Michael Vetter <[email protected]>
+
+- Update to 1.5.1:
+  * Add a safe workaround for a problem in KWin6 under X11.
+  * Under X11, if there is a minimized window on the current
+    desktop, open files as new tabs in it and unminimize it.
+
+-------------------------------------------------------------------

Old:
----
  V1.5.0.tar.gz

New:
----
  V1.5.1.tar.gz

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

Other differences:
------------------
++++++ featherpad.spec ++++++
--- /var/tmp/diff_new_pack.XyJOJV/_old  2024-04-30 17:28:27.156555402 +0200
+++ /var/tmp/diff_new_pack.XyJOJV/_new  2024-04-30 17:28:27.156555402 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           featherpad
-Version:        1.5.0
+Version:        1.5.1
 Release:        0
 Summary:        Qt5-based plaintext editor
 License:        GPL-3.0-only

++++++ V1.5.0.tar.gz -> V1.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/FeatherPad-1.5.0/ChangeLog 
new/FeatherPad-1.5.1/ChangeLog
--- old/FeatherPad-1.5.0/ChangeLog      2024-02-17 02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/ChangeLog      2024-04-18 17:50:19.000000000 +0200
@@ -1,3 +1,8 @@
+V1.5.1
+---------
+ * Added a safe and simple workaround for KWin6 under X11.
+ * Under X11, if there is a minimized window on the current desktop, open 
files as new tabs in it and unminimize it.
+
 V1.5.0
 ---------
  * Removed Qt5 support.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/FeatherPad-1.5.0/NEWS new/FeatherPad-1.5.1/NEWS
--- old/FeatherPad-1.5.0/NEWS   2024-02-17 02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/NEWS   2024-04-18 17:50:19.000000000 +0200
@@ -1,5 +1,5 @@
 Latest version:
 
-       17 Feb 2024, V1.5.0
+       18 Apr 2024, V1.5.1
 
 See "ChangeLog" for changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/FeatherPad-1.5.0/featherpad/about.ui 
new/FeatherPad-1.5.1/featherpad/about.ui
--- old/FeatherPad-1.5.0/featherpad/about.ui    2024-02-17 02:00:54.000000000 
+0100
+++ new/FeatherPad-1.5.1/featherpad/about.ui    2024-04-18 17:50:19.000000000 
+0200
@@ -143,7 +143,7 @@
 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; 
margin-left:0px; margin-right:0px; -qt-block-indent:0; 
text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; 
margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span 
style=&quot; font-weight:600;&quot;&gt;Persian:&lt;/span&gt; Novid Emami &lt;a 
href=&quot;https://github.com/novid&quot;&gt;(novid at GitHub)&lt;/a&gt;, 
AatshG, Tsu Jan (author)&lt;/p&gt;
 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; 
margin-left:0px; margin-right:0px; -qt-block-indent:0; 
text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; 
margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span 
style=&quot; font-weight:600;&quot;&gt;Polish:&lt;/span&gt; Marcin Mikołajczak 
&lt;a href=&quot;https://github.com/m4sk1n&quot;&gt;(m4sk1n at 
GitHub)&lt;/a&gt;, &lt;a 
href=&quot;https://github.com/KacperMisztal&quot;&gt;KacperMisztal at 
GitHub&lt;/a&gt;, Eryk Michalak &lt;a 
href=&quot;https://github.com/gnu-ewm&quot;&gt;(gnu-ewm at 
GitHub)&lt;/a&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; 
margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span 
style=&quot; font-weight:600;&quot;&gt;Polish:&lt;/span&gt; Marcin Mikołajczak 
&lt;a href=&quot;https://github.com/m4sk1n&quot;&gt;(m4sk1n at 
GitHub)&lt;/a&gt;, &lt;a 
href=&quot;https://github.com/KacperMisztal&quot;&gt;KacperMisztal at 
GitHub&lt;/a&gt;, Eryk Michalak &lt;a 
href=&quot;https://github.com/gnu-ewm&quot;&gt;(gnu-ewm at GitHub)&lt;/a&gt;, 
&lt;a href=&quot;https://github.com/Nmrawe&quot;&gt;Nmrawe at 
GitHub&lt;/a&gt;&lt;/p&gt;
 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; 
margin-left:0px; margin-right:0px; -qt-block-indent:0; 
text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; 
margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span 
style=&quot; font-weight:600;&quot;&gt;Portuguese:&lt;/span&gt; Sérgio Marques 
&lt;a href=&quot;https://github.com/smarquespt&quot;&gt;(smarquespt at 
GitHub)&lt;/a&gt;, Ruan O. Lima, Hugo Carvalho &lt;a 
href=&quot;https://github.com/hugok79&quot;&gt;(hugok79 at 
GitHub)&lt;/a&gt;&lt;/p&gt;
 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; 
margin-left:0px; margin-right:0px; -qt-block-indent:0; 
text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/FeatherPad-1.5.0/featherpad/brackets.cpp 
new/FeatherPad-1.5.1/featherpad/brackets.cpp
--- old/FeatherPad-1.5.0/featherpad/brackets.cpp        2024-02-17 
02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/featherpad/brackets.cpp        2024-04-18 
17:50:19.000000000 +0200
@@ -57,7 +57,7 @@
     bool findNextBrace (!isAtLeft || !isAtRight);
     if (isAtLeft || isAtRight)
     {
-        QVector<ParenthesisInfo *> infos = data->parentheses();
+        QList<ParenthesisInfo *> infos = data->parentheses();
         for (int i = 0; i < infos.size(); ++i)
         {
             ParenthesisInfo *info = infos.at (i);
@@ -90,7 +90,7 @@
     findNextBrace = !isAtLeft || !isAtRight;
     if (isAtLeft || isAtRight)
     {
-        QVector<BraceInfo *> braceInfos = data->braces();
+        QList<BraceInfo *> braceInfos = data->braces();
         for (int i = 0; i < braceInfos.size(); ++i)
         {
             BraceInfo *info = braceInfos.at (i);
@@ -122,7 +122,7 @@
     isAtRight = (doc->characterAt (curPos - 1) == ']');
     if (isAtLeft || isAtRight)
     {
-        QVector<BracketInfo *> bracketInfos = data->brackets();
+        QList<BracketInfo *> bracketInfos = data->brackets();
         for (int i = 0; i < bracketInfos.size(); ++i)
         {
             BracketInfo *info = bracketInfos.at (i);
@@ -158,7 +158,7 @@
 {
     TextBlockData *data = static_cast<TextBlockData 
*>(currentBlock.userData());
     if (!data) return false;
-    QVector<ParenthesisInfo *> infos = data->parentheses();
+    QList<ParenthesisInfo *> infos = data->parentheses();
     int docPos = currentBlock.position();
     for (; i < infos.size(); ++i)
     {
@@ -182,7 +182,7 @@
     {
         data = static_cast<TextBlockData *>(currentBlock.userData());
         if (!data) return false;
-        QVector<ParenthesisInfo *> infos = data->parentheses();
+        QList<ParenthesisInfo *> infos = data->parentheses();
         i = 0;
         int docPos = currentBlock.position();
         for (; i < infos.size(); ++i)
@@ -211,7 +211,7 @@
 {
     TextBlockData *data = static_cast<TextBlockData 
*>(currentBlock.userData());
     if (!data) return false;
-    QVector<ParenthesisInfo *> infos = data->parentheses();
+    QList<ParenthesisInfo *> infos = data->parentheses();
     int docPos = currentBlock.position();
     for (; i < infos.size(); ++i)
     {
@@ -235,7 +235,7 @@
     {
         data = static_cast<TextBlockData *>(currentBlock.userData());
         if (!data) return false;
-        QVector<ParenthesisInfo *> infos = data->parentheses();
+        QList<ParenthesisInfo *> infos = data->parentheses();
         i = 0;
         int docPos = currentBlock.position();
         for (; i < infos.size(); ++i)
@@ -264,7 +264,7 @@
 {
     TextBlockData *data = static_cast<TextBlockData 
*>(currentBlock.userData());
     if (!data) return false;
-    QVector<BraceInfo *> infos = data->braces();
+    QList<BraceInfo *> infos = data->braces();
     int docPos = currentBlock.position();
     for (; i < infos.size(); ++i)
     {
@@ -288,7 +288,7 @@
     {
         data = static_cast<TextBlockData *>(currentBlock.userData());
         if (!data) return false;
-        QVector<BraceInfo *> infos = data->braces();
+        QList<BraceInfo *> infos = data->braces();
         i = 0;
         docPos = currentBlock.position();
         for (; i < infos.size(); ++i)
@@ -317,7 +317,7 @@
 {
     TextBlockData *data = static_cast<TextBlockData 
*>(currentBlock.userData());
     if (!data) return false;
-    QVector<BraceInfo *> infos = data->braces();
+    QList<BraceInfo *> infos = data->braces();
     int docPos = currentBlock.position();
     for (; i < infos.size(); ++i)
     {
@@ -341,7 +341,7 @@
     {
         data = static_cast<TextBlockData *>(currentBlock.userData());
         if (!data) return false;
-        QVector<BraceInfo *> infos = data->braces();
+        QList<BraceInfo *> infos = data->braces();
         i = 0;
         docPos = currentBlock.position();
         for (; i < infos.size(); ++i)
@@ -370,7 +370,7 @@
 {
     TextBlockData *data = static_cast<TextBlockData 
*>(currentBlock.userData());
     if (!data) return false;
-    QVector<BracketInfo *> infos = data->brackets();
+    QList<BracketInfo *> infos = data->brackets();
     int docPos = currentBlock.position();
     for (; i < infos.size(); ++i)
     {
@@ -394,7 +394,7 @@
     {
         data = static_cast<TextBlockData *>(currentBlock.userData());
         if (!data) return false;
-        QVector<BracketInfo *> infos = data->brackets();
+        QList<BracketInfo *> infos = data->brackets();
         i = 0;
         int docPos = currentBlock.position();
         for (; i < infos.size(); ++i)
@@ -423,7 +423,7 @@
 {
     TextBlockData *data = static_cast<TextBlockData 
*>(currentBlock.userData());
     if (!data) return false;
-    QVector<BracketInfo *> infos = data->brackets();
+    QList<BracketInfo *> infos = data->brackets();
     int docPos = currentBlock.position();
     for (; i < infos.size(); ++i)
     {
@@ -447,7 +447,7 @@
     {
         data = static_cast<TextBlockData *>(currentBlock.userData());
         if (!data) return false;
-        QVector<BracketInfo *> infos = data->brackets();
+        QList<BracketInfo *> infos = data->brackets();
         i = 0;
         int docPos = currentBlock.position();
         for (; i < infos.size(); ++i)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/FeatherPad-1.5.0/featherpad/data/translations/featherpad_de.ts 
new/FeatherPad-1.5.1/featherpad/data/translations/featherpad_de.ts
--- old/FeatherPad-1.5.0/featherpad/data/translations/featherpad_de.ts  
2024-02-17 02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/featherpad/data/translations/featherpad_de.ts  
2024-04-18 17:50:19.000000000 +0200
@@ -1349,12 +1349,12 @@
     <message>
         <location filename="../../prefDialog.ui" line="240"/>
         <source>Internal icons are used by default.</source>
-        <translation type="unfinished"></translation>
+        <translation>Standardmäßig werden interne Icons 
verwendet.</translation>
     </message>
     <message>
         <location filename="../../prefDialog.ui" line="243"/>
         <source>Use system icons where possible</source>
-        <translation type="unfinished"></translation>
+        <translation>Wenn möglich Systemicons verwenden</translation>
     </message>
     <message>
         <location filename="../../prefDialog.ui" line="250"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/FeatherPad-1.5.0/featherpad/data/translations/featherpad_fi.ts 
new/FeatherPad-1.5.1/featherpad/data/translations/featherpad_fi.ts
--- old/FeatherPad-1.5.0/featherpad/data/translations/featherpad_fi.ts  
2024-02-17 02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/featherpad/data/translations/featherpad_fi.ts  
2024-04-18 17:50:19.000000000 +0200
@@ -1663,7 +1663,7 @@
     <message>
         <location filename="../../prefDialog.ui" line="163"/>
         <source>Start with side-pane mode</source>
-        <translation>Aloita sivuruutu tilassa</translation>
+        <translation>Aloita sivuruututilassa</translation>
     </message>
     <message>
         <location filename="../../prefDialog.ui" line="372"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/FeatherPad-1.5.0/featherpad/data/translations/featherpad_pl.ts 
new/FeatherPad-1.5.1/featherpad/data/translations/featherpad_pl.ts
--- old/FeatherPad-1.5.0/featherpad/data/translations/featherpad_pl.ts  
2024-02-17 02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/featherpad/data/translations/featherpad_pl.ts  
2024-04-18 17:50:19.000000000 +0200
@@ -715,7 +715,7 @@
     <message>
         <location filename="../../fpwin.cpp" line="997"/>
         <source>Please attend to that window or just close its dialog!</source>
-        <translation>Przejdź do tego okna lub zamknij jego 
dialog!</translation>
+        <translation>Przejdź do tego okna lub zamknij jego okno 
dialogowe!</translation>
     </message>
     <message>
         <location filename="../../fpwin.cpp" line="1357"/>
@@ -1674,8 +1674,8 @@
 merge a single tabbed window into another one by tab drag-
 and-drop either.</source>
         <translation>Jeżeli zaznaczone, utracisz menu kontekstowe pojedynczej
-karty i nie będziesz mógł przenieść dokumentu z jednokartowego
-okna do drugiego przeciągając kartę.</translation>
+karty i nie będzie można przenieść dokumentu z jednokartowego
+okna do drugiego, przeciągając kartę.</translation>
     </message>
     <message>
         <location filename="../../prefDialog.ui" line="378"/>
@@ -2090,7 +2090,7 @@
     <message>
         <location filename="../../pref.cpp" line="639"/>
         <source>Application restart is needed for changes to take 
effect.</source>
-        <translation>Restart aplikacji jest wymagany, aby uzyskać 
efekt.</translation>
+        <translation>Konieczne jest ponowne uruchomienie programu, aby zmiany 
zaczęły obowiązywać.</translation>
     </message>
     <message>
         <location filename="../../pref.cpp" line="660"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/FeatherPad-1.5.0/featherpad/data/translations/featherpad_ru.ts 
new/FeatherPad-1.5.1/featherpad/data/translations/featherpad_ru.ts
--- old/FeatherPad-1.5.0/featherpad/data/translations/featherpad_ru.ts  
2024-02-17 02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/featherpad/data/translations/featherpad_ru.ts  
2024-04-18 17:50:19.000000000 +0200
@@ -225,7 +225,7 @@
     <message>
         <location filename="../../fp.ui" line="907"/>
         <source>Sa&amp;ve/Restore Session</source>
-        <translation>&amp;Сохранить/Восстановить 
сеанс</translation>
+        <translation>&amp;Сохранить/восстановить 
сеанс</translation>
     </message>
     <message>
         <location filename="../../fp.ui" line="560"/>
@@ -460,7 +460,7 @@
     <message>
         <location filename="../../fp.ui" line="910"/>
         <source>Save/Restore Session</source>
-        <translation>Сохранить/Восстановить 
сеанс</translation>
+        <translation>Сохранить/восстановить 
сеанс</translation>
     </message>
     <message>
         <location filename="../../fp.ui" line="913"/>
@@ -1011,7 +1011,7 @@
     <message>
         <location filename="../../fpwin.cpp" line="6194"/>
         <source>A lightweight, tabbed, plain-text editor</source>
-        <translation>Легковесный текстовый 
редактор со вкладками</translation>
+        <translation>Легковесный текстовый 
редактор с вкладками</translation>
     </message>
     <message>
         <location filename="../../fpwin.cpp" line="6195"/>
@@ -2180,7 +2180,7 @@
     <message>
         <location filename="../../sessionDialog.ui" line="45"/>
         <source>&lt;b&gt;Save/Restore Session&lt;/b&gt;</source>
-        <translation>&lt;b&gt;Сохранить/Восстановить 
сеанс&lt;/b&gt;</translation>
+        <translation>&lt;b&gt;Сохранить/восстановить 
сеанс&lt;/b&gt;</translation>
     </message>
     <message>
         <location filename="../../sessionDialog.ui" line="68"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/FeatherPad-1.5.0/featherpad/highlighter/highlighter-patterns.cpp 
new/FeatherPad-1.5.1/featherpad/highlighter/highlighter-patterns.cpp
--- old/FeatherPad-1.5.0/featherpad/highlighter/highlighter-patterns.cpp        
2024-02-17 02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/featherpad/highlighter/highlighter-patterns.cpp        
2024-04-18 17:50:19.000000000 +0200
@@ -37,7 +37,7 @@
         if (lang == "c")
             keywordPatterns << "\\b(FALSE|TRUE)(?!(\\.|-|@|#|\\$))\\b";
         else
-            keywordPatterns << 
"\\b(class|const_cast|delete|dynamic_cast)(?!(\\.|-|@|#|\\$))\\b"
+            keywordPatterns << 
"\\b(class|constexpr|const_cast|delete|dynamic_cast)(?!(\\.|-|@|#|\\$))\\b"
                             << 
"\\b(false|foreach|friend|inline|namespace|new|operator)(?!(\\.|-|@|#|\\$))\\b"
                             << 
"\\b(nullptr|override|private|protected|public|qobject_cast|reinterpret_cast|slots|static_cast)(?!(\\.|-|@|#|\\$))\\b"
                             << 
"\\b(template|true|this|throw|try|typeid|using|virtual)(?!(\\.|-|@|#|\\$))\\b"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/FeatherPad-1.5.0/featherpad/highlighter/highlighter.cpp 
new/FeatherPad-1.5.1/featherpad/highlighter/highlighter.cpp
--- old/FeatherPad-1.5.0/featherpad/highlighter/highlighter.cpp 2024-02-17 
02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/featherpad/highlighter/highlighter.cpp 2024-04-18 
17:50:19.000000000 +0200
@@ -50,17 +50,17 @@
     }
 }
 /*************************/
-QVector<ParenthesisInfo *> TextBlockData::parentheses() const
+QList<ParenthesisInfo *> TextBlockData::parentheses() const
 {
     return allParentheses;
 }
 /*************************/
-QVector<BraceInfo *> TextBlockData::braces() const
+QList<BraceInfo *> TextBlockData::braces() const
 {
     return allBraces;
 }
 /*************************/
-QVector<BracketInfo *> TextBlockData::brackets() const
+QList<BracketInfo *> TextBlockData::brackets() const
 {
     return allBrackets;
 }
@@ -696,7 +696,7 @@
             rawLiteralFormat.setFontWeight (QFont::Bold);
 
             cFormat.setFontItalic (true);
-            rule.pattern.setPattern 
("\\bq(App)(?!(\\@|#|\\$))\\b|\\bq(Abs|Bound|Critical|Debug|Fatal|FuzzyCompare|InstallMsgHandler|MacVersion|Max|Min|Round64|Round|Version|Warning|getenv|putenv|rand|srand|tTrId|unsetenv|_check_ptr|t_set_sequence_auto_mnemonic|t_symbian_exception2Error|t_symbian_exception2LeaveL|t_symbian_throwIfError)(?!(\\.|-|@|#|\\$))\\b");
+            rule.pattern.setPattern 
("\\bq(App|GuiApp)(?!(\\@|#|\\$))\\b|\\bq(Abs|Bound|Critical|Debug|Fatal|FuzzyCompare|InstallMsgHandler|MacVersion|Max|Min|Round64|Round|Version|Warning|getenv|putenv|rand|srand|tTrId|unsetenv|_check_ptr|t_set_sequence_auto_mnemonic|t_symbian_exception2Error|t_symbian_exception2LeaveL|t_symbian_throwIfError)(?!(\\.|-|@|#|\\$))\\b");
             rule.format = cFormat;
             highlightingRules.append (rule);
 
@@ -715,7 +715,7 @@
 
         /* preprocess */
         cFormat.setForeground (Blue);
-        rule.pattern.setPattern 
("^\\s*#\\s*include\\s|^\\s*#\\s*ifdef\\s|^\\s*#\\s*elif\\s|^\\s*#\\s*ifndef\\s|^\\s*#\\s*endif\\b|^\\s*#\\s*define\\s|^\\s*#\\s*undef\\s|^\\s*#\\s*error\\s|^\\s*#\\s*if\\s|^\\s*#\\s*else(?!(\\.|-|@|#|\\$))\\b");
+        rule.pattern.setPattern 
("^\\s*#\\s*(define|elif|error|if|ifdef|ifndef|include|pragma|undef)\\s|^\\s*#\\s*endif\\b|^\\s*#\\s*else(?!(\\.|-|@|#|\\$))\\b");
         rule.format = cFormat;
         highlightingRules.append (rule);
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/FeatherPad-1.5.0/featherpad/highlighter/highlighter.h 
new/FeatherPad-1.5.1/featherpad/highlighter/highlighter.h
--- old/FeatherPad-1.5.0/featherpad/highlighter/highlighter.h   2024-02-17 
02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/featherpad/highlighter/highlighter.h   2024-04-18 
17:50:19.000000000 +0200
@@ -58,9 +58,9 @@
         LastFormattedRegex (0) {}
     ~TextBlockData();
 
-    QVector<ParenthesisInfo *> parentheses() const;
-    QVector<BraceInfo *> braces() const;
-    QVector<BracketInfo *> brackets() const;
+    QList<ParenthesisInfo *> parentheses() const;
+    QList<BraceInfo *> braces() const;
+    QList<BracketInfo *> brackets() const;
     QString labelInfo() const;
     bool isHighlighted() const;
     bool getProperty() const;
@@ -83,9 +83,9 @@
     void insertOpenQuotes (const QSet<int> &openQuotes);
 
 private:
-    QVector<ParenthesisInfo *> allParentheses;
-    QVector<BraceInfo *> allBraces;
-    QVector<BracketInfo *> allBrackets;
+    QList<ParenthesisInfo *> allParentheses;
+    QList<BraceInfo *> allBraces;
+    QList<BracketInfo *> allBrackets;
     QString label; // A label (can be a delimiter string, like that of a 
here-doc).
     bool Highlighted; // Is this block completely highlighted?
     bool Property; // A general boolean property (used with SH, Perl, YAML, 
cmake,...).
@@ -308,7 +308,7 @@
         QRegularExpression pattern;
         QTextCharFormat format;
     };
-    QVector<HighlightingRule> highlightingRules;
+    QList<HighlightingRule> highlightingRules;
 
     QRegularExpression hereDocDelimiter;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/FeatherPad-1.5.0/featherpad/main.cpp 
new/FeatherPad-1.5.1/featherpad/main.cpp
--- old/FeatherPad-1.5.0/featherpad/main.cpp    2024-02-17 02:00:54.000000000 
+0100
+++ new/FeatherPad-1.5.1/featherpad/main.cpp    2024-04-18 17:50:19.000000000 
+0200
@@ -32,7 +32,7 @@
 int main (int argc, char **argv)
 {
     const QString name = "FeatherPad";
-    const QString version = "1.5.0";
+    const QString version = "1.5.1";
 
     FeatherPad::FPsingleton singleton (argc, argv);
     singleton.setApplicationName (name);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/FeatherPad-1.5.0/featherpad/printing.cpp 
new/FeatherPad-1.5.1/featherpad/printing.cpp
--- old/FeatherPad-1.5.0/featherpad/printing.cpp        2024-02-17 
02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/featherpad/printing.cpp        2024-04-18 
17:50:19.000000000 +0200
@@ -53,7 +53,7 @@
          srcBlock.isValid() && dstBlock.isValid();
          srcBlock = srcBlock.next(), dstBlock = dstBlock.next())
     {
-        QVector<QTextLayout::FormatRange> formatList = 
srcBlock.layout()->formats();
+        QList<QTextLayout::FormatRange> formatList = 
srcBlock.layout()->formats();
         if (darkValue > -1)
         {
             for (int i = formatList.count() - 1; i >= 0; --i)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/FeatherPad-1.5.0/featherpad/singleton.cpp 
new/FeatherPad-1.5.1/featherpad/singleton.cpp
--- old/FeatherPad-1.5.0/featherpad/singleton.cpp       2024-02-17 
02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/featherpad/singleton.cpp       2024-04-18 
17:50:19.000000000 +0200
@@ -343,7 +343,7 @@
                      /* if a window is created a moment ago, it should be
                         on the current desktop but may not report that yet */
                      || whichDesktop == -1)
-                    && (!thisWin->isMinimized() || isWindowShaded (id)))
+                    /*&& (!thisWin->isMinimized() || isWindowShaded (id))*/)
 #endif
                )
             {
@@ -370,7 +370,7 @@
                         /* first, because of an old bug, pretend to KDE that a 
new window is created
                            (without this, the next new window would open on a 
wrong desktop) */
                         thisWin->dummyWidget->showMinimized();
-                        QTimer::singleShot (0, thisWin->dummyWidget, 
&QWidget::close);
+                        QTimer::singleShot (0, thisWin->dummyWidget, 
&QWidget::hide);
                     }
 
                     /* and then, open tab(s) in the current FeatherPad 
window... */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/FeatherPad-1.5.0/featherpad/textedit.cpp 
new/FeatherPad-1.5.1/featherpad/textedit.cpp
--- old/FeatherPad-1.5.0/featherpad/textedit.cpp        2024-02-17 
02:00:54.000000000 +0100
+++ new/FeatherPad-1.5.1/featherpad/textedit.cpp        2024-04-18 
17:50:19.000000000 +0200
@@ -1710,7 +1710,7 @@
                 }
             }
 
-            QVector<QTextLayout::FormatRange> selections;
+            QList<QTextLayout::FormatRange> selections;
             int blpos = block.position();
             int bllen = block.length();
             for (int i = 0; i < context.selections.size(); ++i)

Reply via email to