head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.114 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.112 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.110 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.108 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.106 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.104 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.102 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.100 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.98 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.96 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.94 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.92 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.90 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.88 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.86 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.84 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.82 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.80 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.78 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.76 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.74 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.72 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.70 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.66 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.46 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.68 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.64 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.62 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.60 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.58 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.56 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.54 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.52 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.50 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.48 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.44 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.42 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.40 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.38 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.36 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.34 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.32 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.30 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.28 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.26 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.24 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.22 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.20 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.18 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.16 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.14 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.12 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.10 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.8 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.6 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.4 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.2 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.5.0.36 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.34 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.32 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.30 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.28 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.26 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.24 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.22 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.20 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.18 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.16 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.14 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.12 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.10 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.8 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.6 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.4 pkgsrc-2008Q1:1.5.0.2 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.4.0.4 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.2 pkgsrc-2007Q3-base:1.4 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.6 date 2012.01.12.22.59.58; author adam; state Exp; branches; next 1.5; 1.5 date 2008.01.05.22.15.24; author wiz; state Exp; branches; next 1.4; 1.4 date 2007.09.03.09.35.16; author drochner; state dead; branches; next 1.3; 1.3 date 2007.08.04.00.02.35; author joerg; state Exp; branches; next 1.2; 1.2 date 2007.07.28.07.37.52; author adam; state dead; branches; next 1.1; 1.1 date 2007.04.06.12.48.42; author markd; state Exp; branches; next ; desc @@ 1.6 log @Changes 4.8.0: Featuring Qt Platform Abstraction, threaded OpenGL support, multithreaded HTTP and optimized file system access. @ text @$NetBSD$ --- tools/designer/src/uitools/uitools.pro.orig 2011-12-08 05:06:02.000000000 +0000 +++ tools/designer/src/uitools/uitools.pro @@@@ -1,7 +1,7 @@@@ TEMPLATE = lib TARGET = QtUiTools QT += xml -CONFIG += qt staticlib +CONFIG += qt dll DESTDIR = ../../../../lib DLLDESTDIR = ../../../../bin @ 1.5 log @Create a shared library for libQtUiTools, in the hope that this fixes the build for kdelibs4 on amd64. Bump PKGREVISION for qt4-tools. @ text @d3 1 a3 1 --- tools/designer/src/uitools/uitools.pro.orig 2007-12-04 16:43:42.000000000 +0000 d7 1 a7 1 TARGET = $$qtLibraryTarget(QtUiTools) @ 1.4 log @-make sqlite support an extra pkg instead of an option -work around iconv(3) incompatibilities: while NetBSD's iconv() is probed as GNU iconv (due to its signature), it doesn't support empty strings as encoding (interpreted as "current locale's encoding" by GNU iconv). Enable some code which uses nl_langinfo(CODESET) to make it work as expected. -update to 4.3.1 changes: -bugfixes -Updated the German translation to provide complete coverage of Qt @ text @d1 1 a1 1 $NetBSD: patch-am,v 1.3 2007/08/04 00:02:35 joerg Exp $ d3 11 a13 14 --- src/corelib/io/qfsfileengine_iterator_unix.cpp.orig 2007-08-03 22:54:41.000000000 +0000 +++ src/corelib/io/qfsfileengine_iterator_unix.cpp @@@@ -99,7 +99,11 @@@@ bool QFSFileEngineIterator::hasNext() co // ### Race condition; we should use fpathconf and dirfd(). long maxPathName = ::pathconf(QFile::encodeName(path()).data(), _PC_NAME_MAX); if (maxPathName == -1) +#ifdef NAME_MAX + maxPathName = (sizeof(dirent) + NAME_MAX + 1); +#else maxPathName = (sizeof(dirent) + MAXNAMLEN + 1); +#endif #if defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_CYGWIN) if (that->platform->mt_file) delete [] that->platform->mt_file; @ 1.3 log @Fixes for DragonFly. @ text @d1 1 a1 1 $NetBSD$ @ 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 @d1 1 a1 1 $NetBSD: patch-am,v 1.1 2007/04/06 12:48:42 markd Exp $ d3 14 a16 91 --- src/corelib/codecs/qutfcodec.cpp +++ src/corelib/codecs/qutfcodec.cpp @@@@ -117,15 +117,19 @@@@ QString QUtf8Codec::convertToUnicode(con bool headerdone = false; QChar replacement = QChar::ReplacementCharacter; int need = 0; + int error = -1; uint uc = 0; + uint min_uc = 0; if (state) { if (state->flags & IgnoreHeader) headerdone = true; if (state->flags & ConvertInvalidToNull) replacement = QChar::Null; need = state->remainingChars; - if (need) + if (need) { uc = state->state_data[0]; + min_uc = state->state_data[1]; + } } if (!headerdone && len > 3 && (uchar)chars[0] == 0xef && (uchar)chars[1] == 0xbb && (uchar)chars[2] == 0xbf) { @@@@ -142,7 +146,7 @@@@ QString QUtf8Codec::convertToUnicode(con int invalid = 0; for (int i=0; i= result.size()) { + result.resize(where + 2); + qch = result.data() + where; + } + *qch++ = QChar(high); *qch++ = QChar(low); + } else if ((uc < min_uc) || (uc >= 0xd800 && uc <= 0xdfff) || (uc >= 0xfffe)) { + // error + *qch++ = QChar::ReplacementCharacter; + ++invalid; } else { *qch++ = uc; } } } else { // error + i = error; *qch++ = QChar::ReplacementCharacter; ++invalid; need = 0; @@@@ -171,12 +188,22 @@@@ QString QUtf8Codec::convertToUnicode(con } else if ((ch & 0xe0) == 0xc0) { 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++ = QChar::ReplacementCharacter; + ++invalid; } } } @@@@ -187,6 +214,7 @@@@ QString QUtf8Codec::convertToUnicode(con if (headerdone) state->flags |= IgnoreHeader; state->state_data[0] = need ? uc : 0; + state->state_data[1] = need ? min_uc : 0; } return result; } @ 1.1 log @Patch for CVE-2007-0242. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @