head 1.9; access; symbols pkgsrc-2026Q2:1.9.0.116 pkgsrc-2026Q2-base:1.9 pkgsrc-2026Q1:1.9.0.114 pkgsrc-2026Q1-base:1.9 pkgsrc-2025Q4:1.9.0.112 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.9.0.110 pkgsrc-2025Q3-base:1.9 pkgsrc-2025Q2:1.9.0.108 pkgsrc-2025Q2-base:1.9 pkgsrc-2025Q1:1.9.0.106 pkgsrc-2025Q1-base:1.9 pkgsrc-2024Q4:1.9.0.104 pkgsrc-2024Q4-base:1.9 pkgsrc-2024Q3:1.9.0.102 pkgsrc-2024Q3-base:1.9 pkgsrc-2024Q2:1.9.0.100 pkgsrc-2024Q2-base:1.9 pkgsrc-2024Q1:1.9.0.98 pkgsrc-2024Q1-base:1.9 pkgsrc-2023Q4:1.9.0.96 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.9.0.94 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.9.0.92 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.90 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.9.0.88 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.86 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.84 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.82 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.80 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.78 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.76 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.74 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.72 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.70 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.66 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.46 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.68 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.64 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.62 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.60 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.58 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.56 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.54 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.52 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.50 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.48 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.44 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.42 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.40 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.38 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.36 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.34 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.32 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.30 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.28 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.26 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.24 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.22 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.20 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.18 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.16 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.14 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.12 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.10 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.8 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.6 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.4 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.2 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.8.0.8 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.6 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.4 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.2 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.7.0.8 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.6 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.4 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.2 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.6.0.2 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.5.0.8 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.6 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.4 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.2 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.4.0.4 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.2 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.3.0.8 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.6 pkgsrc-2008Q1:1.3.0.4 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.2 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.2.0.2 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.1.0.4 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.2 pkgsrc-2007Q1-base:1.1; locks; strict; comment @# @; 1.9 date 2012.01.12.22.59.58; author adam; state Exp; branches; next 1.8; 1.8 date 2011.03.03.05.50.04; author adam; state Exp; branches; next 1.7; 1.7 date 2010.01.29.18.19.09; author adam; state Exp; branches; next 1.6; 1.6 date 2009.10.11.09.14.52; author adam; state Exp; branches; next 1.5; 1.5 date 2008.10.26.14.02.33; author adam; state Exp; branches; next 1.4; 1.4 date 2008.07.24.12.55.20; author markd; state Exp; branches; next 1.3; 1.3 date 2007.10.13.12.02.15; author adam; state Exp; branches; next 1.2; 1.2 date 2007.07.28.07.37.52; author adam; state Exp; branches; next 1.1; 1.1 date 2007.04.06.12.48.42; author markd; state Exp; branches; next ; desc @@ 1.9 log @Changes 4.8.0: Featuring Qt Platform Abstraction, threaded OpenGL support, multithreaded HTTP and optimized file system access. @ text @$NetBSD: patch-al,v 1.8 2011/03/03 05:50:04 adam Exp $ --- src/corelib/io/qsettings.cpp.orig 2011-02-22 12:04:00.000000000 +0000 +++ src/corelib/io/qsettings.cpp @@@@ -141,9 +141,16 @@@@ QT_END_INCLUDE_NAMESPACE Q_AUTOTEST_EXPORT_HELPER bool qIsLikelyToBeNfs(int handle) { +#ifdef QT_STATVFS + struct statvfs buf; + if (fstatvfs(handle, &buf) != 0) + return false; +#else struct statfs buf; if (fstatfs(handle, &buf) != 0) return false; +#endif + return qt_isEvilFsTypeName(buf.f_fstypename); } @@@@ -177,7 +184,7 @@@@ Q_AUTOTEST_EXPORT_HELPER bool qIsLikelyT #elif defined(Q_OS_SOLARIS) || defined(Q_OS_IRIX) || defined(Q_OS_AIX) || defined(Q_OS_HPUX) \ || defined(Q_OS_OSF) || defined(Q_OS_QNX) || defined(Q_OS_SCO) \ - || defined(Q_OS_UNIXWARE) || defined(Q_OS_RELIANT) || defined(Q_OS_NETBSD) + || defined(Q_OS_UNIXWARE) || defined(Q_OS_RELIANT) QT_BEGIN_INCLUDE_NAMESPACE # include QT_END_INCLUDE_NAMESPACE @ 1.8 log @Changes 4.7.2: This is a maintenance release which contains bug-fixes based on feedback and contributions since the Qt 4.7.1 release back in November. It also marks the official release of Qt Quick. Qt Quick is a new feature within Qt that makes it easy to create light-weight apps and UIs. It contains the new QML language, the Qt Declarative module, and new tooling in Qt Creator to easily build apps. PkgSrc: now builds with Clang. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -142,9 +142,16 @@@@ QT_END_INCLUDE_NAMESPACE d22 1 a22 1 @@@@ -178,7 +185,7 @@@@ Q_AUTOTEST_EXPORT_HELPER bool qIsLikelyT @ 1.7 log @Changes 4.6.1: * Optimized empty QUrl creation * Improve performance of getting the canonical filename on Linux and Symbian by using realpath() system call. * Avoid stat() when opening a file. * Do not look at the Qt patch-level version embedded in plugins' buildkeys when trying to determine if the plugin is compatible * Bug-fixes * load() and loadFromData() can now support compressed GL textures in the DDS, ETC1, PVRTC2, and PVRTC4 formats if the OpenGL graphics system is active and the appropriate extensions are present in the GL implementation. * Fixed a small leak when using the new QPixmapCache::Key based API. @ text @d3 1 a3 1 --- src/corelib/io/qsettings.cpp.orig 2010-01-15 17:01:36.000000000 +0000 d5 1 a5 1 @@@@ -136,9 +136,16 @@@@ QT_END_INCLUDE_NAMESPACE d7 1 a7 1 static bool isLikelyToBeNfs(int handle) d22 1 a22 1 @@@@ -172,7 +179,7 @@@@ static bool isLikelyToBeNfs(int handle) @ 1.6 log @Changes 4.5.3: * This is a bug-fix release. @ text @d3 1 a3 1 --- src/corelib/io/qsettings.cpp.orig 2009-09-29 13:01:37.000000000 +0200 d5 1 a5 1 @@@@ -132,9 +132,16 @@@@ QT_END_INCLUDE_NAMESPACE d22 1 a22 1 @@@@ -168,7 +175,7 @@@@ static bool isLikelyToBeNfs(int handle) d25 1 a25 1 || defined(Q_OS_OSF) || defined(Q_OS_QNX) || defined(Q_OS_QNX6) || defined(Q_OS_SCO) \ @ 1.5 log @Changes 4.4.3: * Updated application icons and other graphics to reflect the look and feel of the new Qt brand. * Copyright of Qt has been transferred to Nokia Corporation. @ text @d3 1 a3 1 --- src/corelib/io/qsettings.cpp.orig 2008-09-27 10:58:47.000000000 +0200 d5 1 a5 1 @@@@ -124,9 +124,16 @@@@ QT_END_INCLUDE_NAMESPACE d22 1 a22 1 @@@@ -156,7 +163,7 @@@@ static bool isLikelyToBeNfs(int handle) @ 1.4 log @Update qt4 to 4.4.0 Qt 4.4 introduces many new features as well as many improvements and bugfixes over the 4.3.x series. For more details, see the online documentation which is included in this distribution. The documentation is also available at http://doc.trolltech.com/4.4 The Qt version 4.4 series is binary compatible with the 4.3.x series. A long list of changes can be found in the changes-4.4.0 file in the distribution. Update OKed (and initial work provided) by adam@@.. @ text @d3 1 a3 1 --- src/corelib/io/qsettings.cpp.orig 2008-04-28 15:11:18.000000000 +0200 d5 1 a5 1 @@@@ -130,9 +130,16 @@@@ QT_END_INCLUDE_NAMESPACE d22 1 a22 1 @@@@ -162,7 +169,7 @@@@ static bool isLikelyToBeNfs(int handle) @ 1.3 log @Changes 4.3.2: * General Improvements * Fixed incorrect behavior of the widget editing mode that could occur when a form was resized. * Fixed a crash that could occur when several commands were redone in one go. * Enabled MSVC and Borland project generators for the Qt Open Source edition. * Ensured that the QMAKE_CC and QMAKE_CXX variables are not defined in the Xcode project generator to allow distributed (distcc) builds to work again. * more... @ text @d3 1 a3 1 --- src/corelib/io/qsettings.cpp.orig 2007-10-01 15:06:03.000000000 +0200 d5 1 a5 1 @@@@ -120,9 +120,16 @@@@ inline bool qt_isEvilFsTypeName(const ch d22 1 a22 1 @@@@ -150,7 +157,7 @@@@ static bool isLikelyToBeNfs(int handle) d28 1 d30 1 a30 2 static bool isLikelyToBeNfs(int handle) @ 1.2 log @Changes 4.3.0: - Configuration/Compilation * Fixed OpenBSD and NetBSD build issues. - Legal * Added information about the OpenSSL exception to the GPL. - Documentation and Examples * Added information about the TS file format used in Linguist. * Moved platform and compiler support information from www.trolltech.com into the documentation. * Added an Accessibility overview document. * Added new example to show usage of QCompleter with custom tree models. - Translations - Added support for the CP949 Korean Codec. - [138140] The whole Qt source compiles with the QT_NO_CAST_FROM_ASCII and QT_NO_CAST_TO_ASCII defines and therefore is more robust when using codecs. - Added support for HP-UX 11i (Itanium) with the aCC compiler - Changed dialogs to respond much better to the LanguageChange event. (i.e. run time translation now works much better.) - Signals and slots * [61295] Added Qt::BlockingQueuedConnection connection type, which waits for all slots to be called before continuing. * [128646] Ignore optional keywords specified in SIGNAL() and SLOT() signatures (struct, class, and enum). * Optimize emitting signals that do not have anything connected to them. - [121629] Added support for the MinGW/MSYS platform. - [102293] Added search path functionality (QDir::addSearchPath) - Almost all widgets are now styleable using Qt Style Sheets. @ text @d3 1 a3 1 --- src/corelib/io/qsettings.cpp.orig 2007-05-25 15:24:10.000000000 +0200 d5 1 a5 1 @@@@ -105,9 +105,16 @@@@ inline bool qt_isEvilFsTypeName(const ch d22 1 a22 1 @@@@ -135,7 +142,7 @@@@ static bool isLikelyToBeNfs(int handle) @ 1.1 log @Patch for CVE-2007-0242. Bump PKGREVISION. @ text @d3 28 a30 41 --- src/corelib/tools/qstring.cpp +++ src/corelib/tools/qstring.cpp @@@@ -3342,6 +3342,7 @@@@ QString QString::fromUtf8(const char *st result.resize(size); // worst case ushort *qch = result.d->data; uint uc = 0; + uint min_uc = 0; int need = 0; int error = -1; uchar ch; @@@@ -3359,6 +3360,12 @@@@ QString QString::fromUtf8(const char *st ushort low = uc%0x400 + 0xdc00; *qch++ = high; *qch++ = low; + } else if ((uc < min_uc) || (uc >= 0xd800 && uc <= 0xdfff) || (uc >= 0xfffe)) { + // overlong seqence, UTF16 surrogate or BOM + i = error; + qch = addOne(qch, result); + *qch++ = 0xdbff; + *qch++ = 0xde00 + ((uchar)str[i]); } else { *qch++ = uc; } @@@@ -3381,14 +3388,17 @@@@ QString QString::fromUtf8(const char *st uc = ch & 0x1f; need = 1; error = i; + min_uc = 0x80; } else if ((ch & 0xf0) == 0xe0) { uc = ch & 0x0f; need = 2; error = i; + min_uc = 0x800; } else if ((ch&0xf8) == 0xf0) { uc = ch & 0x07; need = 3; error = i; + min_uc = 0x10000; } else { // Error qch = addOne(qch, result); @