head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.34 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.32 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.30 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.28 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.26 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.24 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.22 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.20 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.18 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.16 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.14 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.12 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.10 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.8 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.6 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.4 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.2 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.2.0.4 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.2 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.1.0.2 pkgsrc-2005Q1-base:1.1; locks; strict; comment @# @; 1.5 date 2006.06.01.13.39.10; author markd; state dead; branches; next 1.4; 1.4 date 2005.12.11.10.53.54; author markd; state Exp; branches; next 1.3; 1.3 date 2005.10.12.17.52.26; author joerg; state Exp; branches; next 1.2; 1.2 date 2005.03.23.21.37.48; author markd; state dead; branches; next 1.1; 1.1 date 2005.03.17.09.46.36; author markd; state Exp; branches; next ; desc @@ 1.5 log @Update to KDE 3.5.3 Changes: * KHTML o Don't crash when triple-clicking on a line that has :after or :before content, or anything that isn't in the DOM o Implement nondeterministic CSS matching o Do not crash if an old target got destroyed. o Fix static Y position of positioned objects in initial whitespace (3.5 regression). o Fontrendering: A few percent speedup by caching font scalability info o Konqueror will crash if a floated link uses :hover:before or :hover:after to create a positioned element. o Text selection misbehaves for devanagari. o Fix crash when hovering a HTML menu item o Don't crash when null pointer passed to removeEventListener o Prevent an infinite loop in parseToken() when dealing with broken HTML. o If we saved creating a renderer at attach. Create it if we later need it. o Don't allow to find text in password fields. o Improve XHTML CSS styling o Handle CSS restyling for all types of dynamic DOM changes and user interaction o Only repaint the expossed background when scrolling. Optimizes a few slow pages with unoptimized X11 drivers. o Speed-up painting and selections on pages with large tables. o Match better the error-handling capabilities of Firefox with respect to DL/DT/DD elements. o Added missing sanity check which caused crashes in caret mode on pgup/pgdn when there was no valid caret. o Make sure copyBlt doesn't fail because of different depth. o No other property depends on background-image, and applying it before the rest of the background short-hand breaks it under inheritance. * KIO o Add media kioslave support to KFileDialog o KPropertiesDialog first renames the file, then allows all plugins to save their changes. o Make KDirSelectDialog work with media:/ and similar. Fixes JuK. * KDEPrint o Fix usage of private methods in CUPS which broke KDEPrint with CUPS 1.2 o Allow adding multiple file to the to-be-printed list. o No fax sent when special characters are included in the sender information o Kdeprintfax ignores paper size setting when using Hylafax * KDE-UI o Use KConfigGroup to reset the config group automatically. o Give a possibility to disable spellchecking. * KIO-Slaves o KIO-HTTP o Keep the fragment when doing redirections. (the HTTP requests and redirections don't include fragments; it's a browser thing). @ text @$NetBSD: patch-ch,v 1.4 2005/12/11 10:53:54 markd Exp $ --- kdecore/kpty.cpp.orig 2005-10-11 04:06:03.000000000 +1300 +++ kdecore/kpty.cpp @@@@ -95,7 +95,7 @@@@ extern "C" { # endif #endif -#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) +#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined(__DragonFly__) # define _tcgetattr(fd, ttmode) ioctl(fd, TIOCGETA, (char *)ttmode) #else # if defined(_HPUX_SOURCE) || defined(__Lynx__) || defined (__CYGWIN__) @@@@ -105,7 +105,7 @@@@ extern "C" { # endif #endif -#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) +#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined(__DragonFly__) # define _tcsetattr(fd, ttmode) ioctl(fd, TIOCSETA, (char *)ttmode) #else # if defined(_HPUX_SOURCE) || defined(__CYGWIN__) @ 1.4 log @Update to KDE 3.5 Many new features and refinements. Notable changes include: * Konqueror is the second web browser to pass the Acid2 CSS test, ahead of Firefox and Internet Explorer * Konqueror can also now free web pages from adverts with its ad-block feature * SuperKaramba is included in KDE, providing well-integrated and easy-to-install widgets for the user's desktop * Kopete has support for MSN and Yahoo! webcams * The edutainment module has three new applications (KGeography, Kanagram and blinKen), and has seen huge improvements in Kalzium @ text @d1 1 a1 1 $NetBSD: patch-ch,v 1.3 2005/10/12 17:52:26 joerg Exp $ @ 1.3 log @Add DragonFly support. We need to override the libtool magic, otherwise libltdl would be used and the startup time be in the dimensions of 10 minutes. Fix the detection of isnan and isinf, both are type-variadic macros under C99 and don't have to exist as external symbols. NetBSD is protected by the compatibily symbols, but would fail the test if they ever go away. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- kdecore/kpty.cpp.orig 2005-08-16 21:00:45.000000000 +0000 d13 1 a13 1 # if defined(_HPUX_SOURCE) || defined(__Lynx__) d22 1 a22 1 # ifdef _HPUX_SOURCE @ 1.2 log @Update to KDE 3.4 Highlights at a glance * Text-to-speech system with support built into Konqueror, Kate, KPDF and the standalone application KSayIt * Support for text to speech synthesis is integrated with the desktop * Completely redesigned, more flexible trash system * Kicker with improved look and feel * KPDF now enables you to select, copy & paste text and images from PDFs, along with many other improvements * Kontact supports now various groupware servers, including eGroupware, GroupWise, Kolab, OpenGroupware.org and SLOX * Kopete supports Novell Groupwise and Lotus Sametime and gets integrated into Kontact * DBUS/HAL support allows to keep dynamic device icons in media:/ and on the desktop in sync with the state of all devices * KHTML has improved standard support and now close to full support for CSS 2.1 and the CSS 3 Selectors module * Better synchronization between 2 PCs * A new high contrast style and a complete monochrome icon set * An icon effect to paint all icons in two chosen colors, converting third party application icons into high contrast monochrome icons * Akregator allows you to read news from your favourite RSS-enabled websites in one application * Juk has now an album cover management via Google Image Search * KMail now stores passwords securely with KWallet * SVG files can now be used as wallpapers * KHTML plug-ins are now configurable, so the user can selectively disable ones that are not used. This does not include Netscape-style plug-ins. Netscape plug-in in CPU usage can be manually lowered, and plug-ins are more stable. * more than 6,500 bugs have been fixed * more than 1,700 wishes have been fullfilled * more than 80,000 contributions with several million lines of code and documentation added or changed @ text @d1 1 a1 1 $NetBSD: patch-ch,v 1.1 2005/03/17 09:46:36 markd Exp $ d3 20 a22 74 --- kdecore/network/kresolver.cpp.orig 2004-11-29 06:30:44.000000000 +1300 +++ kdecore/network/kresolver.cpp @@@@ -32,6 +32,7 @@@@ #include #include #include +#include // Qt includes #include @@@@ -298,6 +299,9 @@@@ void KResolverResults::virtual_hook( int /////////////////////// // class KResolver +QStringList *KResolver::idnDomains = 0; + + // default constructor KResolver::KResolver(QObject *parent, const char *name) : QObject(parent, name), d(new KResolverPrivate(this)) @@@@ -885,10 +889,21 @@@@ QStrList KResolver::serviceName(int port static QStringList splitLabels(const QString& unicodeDomain); static QCString ToASCII(const QString& label); static QString ToUnicode(const QString& label); - + +static QStringList *KResolver_initIdnDomains() +{ + const char *kde_use_idn = getenv("KDE_USE_IDN"); + if (!kde_use_idn) + kde_use_idn = "at:ch:cn:de:dk:kr:jp:li:no:se:tw"; + return new QStringList(QStringList::split(':', QString::fromLatin1(kde_use_idn).lower())); +} + // implement the ToAscii function, as described by IDN documents QCString KResolver::domainToAscii(const QString& unicodeDomain) { + if (!idnDomains) + idnDomains = KResolver_initIdnDomains(); + QCString retval; // RFC 3490, section 4 describes the operation: // 1) this is a query, so don't allow unassigned @@@@ -897,6 +912,10 @@@@ QCString KResolver::domainToAscii(const // separators. QStringList input = splitLabels(unicodeDomain); + // Do we allow IDN names for this TLD? + if (input.count() && !idnDomains->contains(input[input.count()-1].lower())) + return unicodeDomain.lower().latin1(); // No IDN allowed for this TLD + // 3) decide whether to enforce the STD3 rules for chars < 0x7F // we don't enforce @@@@ -928,6 +947,8 @@@@ QString KResolver::domainToUnicode(const { if (asciiDomain.isEmpty()) return asciiDomain; + if (!idnDomains) + idnDomains = KResolver_initIdnDomains(); QString retval; @@@@ -939,6 +960,10 @@@@ QString KResolver::domainToUnicode(const // separators. QStringList input = splitLabels(asciiDomain); + // Do we allow IDN names for this TLD? + if (input.count() && !idnDomains->contains(input[input.count()-1].lower())) + return asciiDomain.lower(); // No TLDs allowed + // 3) decide whether to enforce the STD3 rules for chars < 0x7F // we don't enforce @ 1.1 log @Fix some security issues with dcop, docpidlng and IDN's in Konqueror. See http://www.kde.org/info/security/advisory-20050316-1.txt http://www.kde.org/info/security/advisory-20050316-2.txt http://www.kde.org/info/security/advisory-20050316-3.txt Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @