Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package scintilla for openSUSE:Factory checked in at 2023-10-04 22:31:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scintilla (Old) and /work/SRC/openSUSE:Factory/.scintilla.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scintilla" Wed Oct 4 22:31:11 2023 rev:40 rq:1114864 version:5.3.7 Changes: -------- --- /work/SRC/openSUSE:Factory/scintilla/scintilla.changes 2023-08-04 15:03:32.684325933 +0200 +++ /work/SRC/openSUSE:Factory/.scintilla.new.28202/scintilla.changes 2023-10-04 22:31:58.592779866 +0200 @@ -1,0 +2,11 @@ +Sun Oct 1 22:37:39 UTC 2023 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 5.3.7: + * For GTK, fix assertion failure on some systems when an + INDIC_SQUIGGLEPIXMAP drawn for a zero-width character. + * For Qt, allow parent window to handle context menu events by + setting as ignored. Bug #2395. + * For Qt, fix potential crash when using IME with large amount + of text selected. + +------------------------------------------------------------------- Old: ---- scintilla536.tgz New: ---- scintilla537.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scintilla.spec ++++++ --- /var/tmp/diff_new_pack.anmQJK/_old 2023-10-04 22:32:00.368844059 +0200 +++ /var/tmp/diff_new_pack.anmQJK/_new 2023-10-04 22:32:00.368844059 +0200 @@ -17,8 +17,8 @@ %define so_ver 5.3 -%define _ver %{so_ver}.6 -%define tar_ver 536 +%define _ver %{so_ver}.7 +%define tar_ver 537 %define libname libscintilla5 Name: scintilla Version: %{_ver} ++++++ scintilla536.tgz -> scintilla537.tgz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/cocoa/Scintilla/Info.plist new/scintilla/cocoa/Scintilla/Info.plist --- old/scintilla/cocoa/Scintilla/Info.plist 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/cocoa/Scintilla/Info.plist 2023-09-22 09:01:22.000000000 +0200 @@ -15,7 +15,7 @@ <key>CFBundlePackageType</key> <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string> <key>CFBundleShortVersionString</key> - <string>5.3.6</string> + <string>5.3.7</string> <key>CFBundleVersion</key> <string>$(CURRENT_PROJECT_VERSION)</string> <key>NSHumanReadableCopyright</key> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/cocoa/Scintilla/Scintilla.xcodeproj/project.pbxproj new/scintilla/cocoa/Scintilla/Scintilla.xcodeproj/project.pbxproj --- old/scintilla/cocoa/Scintilla/Scintilla.xcodeproj/project.pbxproj 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/cocoa/Scintilla/Scintilla.xcodeproj/project.pbxproj 2023-09-22 09:01:22.000000000 +0200 @@ -573,7 +573,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 5.3.6; + CURRENT_PROJECT_VERSION = 5.3.7; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -636,7 +636,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 5.3.6; + CURRENT_PROJECT_VERSION = 5.3.7; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; @@ -667,7 +667,7 @@ CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 5.3.6; + CURRENT_PROJECT_VERSION = 5.3.7; DEAD_CODE_STRIPPING = YES; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = ""; @@ -702,7 +702,7 @@ CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 5.3.6; + CURRENT_PROJECT_VERSION = 5.3.7; DEAD_CODE_STRIPPING = YES; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = ""; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/doc/ScintillaDownload.html new/scintilla/doc/ScintillaDownload.html --- old/scintilla/doc/ScintillaDownload.html 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/doc/ScintillaDownload.html 2023-09-22 09:20:43.000000000 +0200 @@ -26,9 +26,9 @@ <table bgcolor="#CCCCCC" width="100%" cellspacing="0" cellpadding="8" border="0"> <tr> <td> - <font size="4"> <a href="https://www.scintilla.org/scintilla536.zip"> + <font size="4"> <a href="https://www.scintilla.org/scintilla537.zip"> Windows</a> - <a href="https://www.scintilla.org/scintilla536.tgz"> + <a href="https://www.scintilla.org/scintilla537.tgz"> GTK/Linux</a> </font> </td> @@ -42,7 +42,7 @@ containing very few restrictions. </p> <h3> - Release 5.3.6 + Release 5.3.7 </h3> <h4> Source Code @@ -50,8 +50,8 @@ The source code package contains all of the source code for Scintilla but no binary executable code and is available in <ul> - <li><a href="https://www.scintilla.org/scintilla536.zip">zip format</a> (1.4M) commonly used on Windows</li> - <li><a href="https://www.scintilla.org/scintilla536.tgz">tgz format</a> (1.3M) commonly used on Linux and compatible operating systems</li> + <li><a href="https://www.scintilla.org/scintilla537.zip">zip format</a> (1.7M) commonly used on Windows</li> + <li><a href="https://www.scintilla.org/scintilla537.tgz">tgz format</a> (1.6M) commonly used on Linux and compatible operating systems</li> </ul> Instructions for building on both Windows and Linux are included in the readme file. <h4> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/doc/ScintillaHistory.html new/scintilla/doc/ScintillaHistory.html --- old/scintilla/doc/ScintillaHistory.html 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/doc/ScintillaHistory.html 2023-09-22 09:01:22.000000000 +0200 @@ -578,10 +578,39 @@ <td>Enrico Tröger</td> </tr><tr> <td>Chengzhi Li</td> + <td>Gary James</td> + <td>Tsuyoshi Miyake</td> </tr> </table> <h2>Releases</h2> <h3> + <a href="https://www.scintilla.org/scintilla537.zip">Release 5.3.7</a> + </h3> + <ul> + <li> + Released 22 September 2023. + </li> + <li> + For GTK on macOS, fix popup window behaviour by setting type hints. + <a href="https://sourceforge.net/p/scintilla/bugs/2401/">Bug #2401</a>. + </li> + <li> + For GTK, fix assertion failure on some systems when an INDIC_SQUIGGLEPIXMAP drawn + for a zero-width character. + </li> + <li> + For Qt, allow parent window to handle context menu events by setting as ignored. + <a href="https://sourceforge.net/p/scintilla/bugs/2395/">Bug #2395</a>. + </li> + <li> + For Qt, fix potential crash when using IME with large amount of text selected. + </li> + <li> + For Windows, fix building with non-English environment. + <a href="https://sourceforge.net/p/scintilla/bugs/2400/">Bug #2400</a>. + </li> + </ul> + <h3> <a href="https://www.scintilla.org/scintilla536.zip">Release 5.3.6</a> </h3> <ul> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/doc/index.html new/scintilla/doc/index.html --- old/scintilla/doc/index.html 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/doc/index.html 2023-09-22 09:01:22.000000000 +0200 @@ -9,7 +9,7 @@ <meta name="keywords" content="Scintilla, SciTE, Editing Component, Text Editor" /> <meta name="Description" content="www.scintilla.org is the home of the Scintilla editing component and SciTE text editor application." /> - <meta name="Date.Modified" content="20230726" /> + <meta name="Date.Modified" content="20230922" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <style type="text/css"> .logo { @@ -60,8 +60,8 @@ GTK, and macOS</font> </td> <td width="40%" align="right"> - <font color="#FFCC99" size="3"> Release version 5.3.6<br /> - Site last modified July 26 2023</font> + <font color="#FFCC99" size="3"> Release version 5.3.7<br /> + Site last modified September 22 2023</font> </td> <td width="20%"> @@ -76,11 +76,11 @@ </tr> </table> <ul id="versionlist"> + <li>Version 5.3.7 fixes platform-specific issues on GTK, Qt, and Win32.</li> <li>Version 5.3.6 improves cursor behaviour on Win32 and IME support on Win32 and Qt.</li> <li>Version 5.3.5 improves IME support on Win32 and Qt.</li> <li>Version 5.3.4 adds multithreaded wrapping.</li> <li>Version 5.3.3 fixes minor bugs in APIs and platform layers.</li> - <li>Version 5.3.2 adds SCI_REPLACETARGETMINIMAL to modify text without marking unchanged start and end text in change history.</li> </ul> <ul id="menu"> <li id="remote1"><a href="https://www.scintilla.org/SciTEImage.html">Screenshot</a></li> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/gtk/PlatGTK.cxx new/scintilla/gtk/PlatGTK.cxx --- old/scintilla/gtk/PlatGTK.cxx 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/gtk/PlatGTK.cxx 2023-09-22 09:01:22.000000000 +0200 @@ -607,6 +607,8 @@ void SurfaceImpl::DrawRGBAImage(PRectangle rc, int width, int height, const unsigned char *pixelsImage) { PLATFORM_ASSERT(context); + if (width == 0) + return; if (rc.Width() > width) rc.left += (rc.Width() - width) / 2; rc.right = rc.left + width; @@ -1622,6 +1624,7 @@ #endif wid = widCached = gtk_window_new(GTK_WINDOW_POPUP); + gtk_window_set_type_hint(GTK_WINDOW(wid), GDK_WINDOW_TYPE_HINT_POPUP_MENU); frame = gtk_frame_new(nullptr); gtk_widget_show(PWidget(frame)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/gtk/ScintillaGTK.cxx new/scintilla/gtk/ScintillaGTK.cxx --- old/scintilla/gtk/ScintillaGTK.cxx 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/gtk/ScintillaGTK.cxx 2023-09-22 09:01:22.000000000 +0200 @@ -673,6 +673,7 @@ /* create pre-edit window */ wPreedit = gtk_window_new(GTK_WINDOW_POPUP); + gtk_window_set_type_hint(GTK_WINDOW(PWidget(wPreedit)), GDK_WINDOW_TYPE_HINT_POPUP_MENU); wPreeditDraw = gtk_drawing_area_new(); GtkWidget *predrw = PWidget(wPreeditDraw); // No code inside the G_OBJECT macro #if GTK_CHECK_VERSION(3,0,0) @@ -1406,6 +1407,7 @@ void ScintillaGTK::CreateCallTipWindow(PRectangle rc) { if (!ct.wCallTip.Created()) { ct.wCallTip = gtk_window_new(GTK_WINDOW_POPUP); + gtk_window_set_type_hint(GTK_WINDOW(PWidget(ct.wCallTip)), GDK_WINDOW_TYPE_HINT_TOOLTIP); ct.wDraw = gtk_drawing_area_new(); GtkWidget *widcdrw = PWidget(ct.wDraw); // // No code inside the G_OBJECT macro gtk_container_add(GTK_CONTAINER(PWidget(ct.wCallTip)), widcdrw); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/qt/ScintillaEdit/ScintillaEdit.pro new/scintilla/qt/ScintillaEdit/ScintillaEdit.pro --- old/scintilla/qt/ScintillaEdit/ScintillaEdit.pro 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/qt/ScintillaEdit/ScintillaEdit.pro 2023-09-22 09:01:22.000000000 +0200 @@ -13,7 +13,7 @@ CONFIG += lib_bundle CONFIG += c++1z -VERSION = 5.3.6 +VERSION = 5.3.7 SOURCES += \ ScintillaEdit.cpp \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/qt/ScintillaEditBase/ScintillaEditBase.cpp new/scintilla/qt/ScintillaEditBase/ScintillaEditBase.cpp --- old/scintilla/qt/ScintillaEditBase/ScintillaEditBase.cpp 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/qt/ScintillaEditBase/ScintillaEditBase.cpp 2023-09-22 09:01:22.000000000 +0200 @@ -372,6 +372,9 @@ } if (sqt->ShouldDisplayPopup(pt)) { sqt->ContextMenu(pos); + event->accept(); + } else { + event->ignore(); } } @@ -671,7 +674,7 @@ case Qt::ImCurrentSelection: { - QVarLengthArray<char,1024> buffer(send(SCI_GETSELTEXT)); + QVarLengthArray<char,1024> buffer(send(SCI_GETSELTEXT)+1); sends(SCI_GETSELTEXT, 0, buffer.data()); return sqt->StringFromDocument(buffer.constData()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/qt/ScintillaEditBase/ScintillaEditBase.pro new/scintilla/qt/ScintillaEditBase/ScintillaEditBase.pro --- old/scintilla/qt/ScintillaEditBase/ScintillaEditBase.pro 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/qt/ScintillaEditBase/ScintillaEditBase.pro 2023-09-22 09:01:22.000000000 +0200 @@ -12,7 +12,7 @@ CONFIG += lib_bundle CONFIG += c++1z -VERSION = 5.3.6 +VERSION = 5.3.7 SOURCES += \ PlatQt.cpp \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/version.txt new/scintilla/version.txt --- old/scintilla/version.txt 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/version.txt 2023-09-22 09:01:22.000000000 +0200 @@ -1 +1 @@ -536 +537 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/win32/ScintRes.rc new/scintilla/win32/ScintRes.rc --- old/scintilla/win32/ScintRes.rc 2023-07-26 07:50:44.000000000 +0200 +++ new/scintilla/win32/ScintRes.rc 2023-09-22 09:01:22.000000000 +0200 @@ -4,8 +4,8 @@ #include <windows.h> -#define VERSION_SCINTILLA "5.3.6" -#define VERSION_WORDS 5, 3, 6, 0 +#define VERSION_SCINTILLA "5.3.7" +#define VERSION_WORDS 5, 3, 7, 0 VS_VERSION_INFO VERSIONINFO FILEVERSION VERSION_WORDS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/win32/Scintilla.vcxproj new/scintilla/win32/Scintilla.vcxproj --- old/scintilla/win32/Scintilla.vcxproj 2023-05-31 01:32:12.000000000 +0200 +++ new/scintilla/win32/Scintilla.vcxproj 2023-09-22 09:01:22.000000000 +0200 @@ -90,6 +90,7 @@ <MultiProcessorCompilation>true</MultiProcessorCompilation> <MinimalRebuild>false</MinimalRebuild> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <AdditionalOptions>/source-charset:utf-8 %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <SubSystem>Windows</SubSystem> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/scintilla/win32/scintilla.mak new/scintilla/win32/scintilla.mak --- old/scintilla/win32/scintilla.mak 2023-05-31 01:32:12.000000000 +0200 +++ new/scintilla/win32/scintilla.mak 2023-09-22 09:01:22.000000000 +0200 @@ -36,7 +36,7 @@ !ENDIF CRTFLAGS=$(ADD_DEFINE) -CXXFLAGS=-Zi -TP -MP -W4 -EHsc -std:c++17 $(CRTFLAGS) +CXXFLAGS=-Zi -TP -MP -W4 -EHsc -std:c++17 -utf-8 $(CRTFLAGS) CXXDEBUG=-Od -MTd -DDEBUG CXXNDEBUG=-O2 -MT -DNDEBUG -GL NAME=-Fo