head 1.12; access; symbols pkgsrc-2017Q3:1.11.0.68 pkgsrc-2017Q3-base:1.11 pkgsrc-2017Q2:1.11.0.64 pkgsrc-2017Q2-base:1.11 pkgsrc-2017Q1:1.11.0.62 pkgsrc-2017Q1-base:1.11 pkgsrc-2016Q4:1.11.0.60 pkgsrc-2016Q4-base:1.11 pkgsrc-2016Q3:1.11.0.58 pkgsrc-2016Q3-base:1.11 pkgsrc-2016Q2:1.11.0.56 pkgsrc-2016Q2-base:1.11 pkgsrc-2016Q1:1.11.0.54 pkgsrc-2016Q1-base:1.11 pkgsrc-2015Q4:1.11.0.52 pkgsrc-2015Q4-base:1.11 pkgsrc-2015Q3:1.11.0.50 pkgsrc-2015Q3-base:1.11 pkgsrc-2015Q2:1.11.0.48 pkgsrc-2015Q2-base:1.11 pkgsrc-2015Q1:1.11.0.46 pkgsrc-2015Q1-base:1.11 pkgsrc-2014Q4:1.11.0.44 pkgsrc-2014Q4-base:1.11 pkgsrc-2014Q3:1.11.0.42 pkgsrc-2014Q3-base:1.11 pkgsrc-2014Q2:1.11.0.40 pkgsrc-2014Q2-base:1.11 pkgsrc-2014Q1:1.11.0.38 pkgsrc-2014Q1-base:1.11 pkgsrc-2013Q4:1.11.0.36 pkgsrc-2013Q4-base:1.11 pkgsrc-2013Q3:1.11.0.34 pkgsrc-2013Q3-base:1.11 pkgsrc-2013Q2:1.11.0.32 pkgsrc-2013Q2-base:1.11 pkgsrc-2013Q1:1.11.0.30 pkgsrc-2013Q1-base:1.11 pkgsrc-2012Q4:1.11.0.28 pkgsrc-2012Q4-base:1.11 pkgsrc-2012Q3:1.11.0.26 pkgsrc-2012Q3-base:1.11 pkgsrc-2012Q2:1.11.0.24 pkgsrc-2012Q2-base:1.11 pkgsrc-2012Q1:1.11.0.22 pkgsrc-2012Q1-base:1.11 pkgsrc-2011Q4:1.11.0.20 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q3:1.11.0.18 pkgsrc-2011Q3-base:1.11 pkgsrc-2011Q2:1.11.0.16 pkgsrc-2011Q2-base:1.11 pkgsrc-2011Q1:1.11.0.14 pkgsrc-2011Q1-base:1.11 pkgsrc-2010Q4:1.11.0.12 pkgsrc-2010Q4-base:1.11 pkgsrc-2010Q3:1.11.0.10 pkgsrc-2010Q3-base:1.11 pkgsrc-2010Q2:1.11.0.8 pkgsrc-2010Q2-base:1.11 pkgsrc-2010Q1:1.11.0.6 pkgsrc-2010Q1-base:1.11 pkgsrc-2009Q4:1.11.0.4 pkgsrc-2009Q4-base:1.11 pkgsrc-2009Q3:1.11.0.2 pkgsrc-2009Q3-base:1.11 pkgsrc-2008Q4:1.10.0.12 pkgsrc-2008Q4-base:1.10 pkgsrc-2008Q3:1.10.0.10 pkgsrc-2008Q3-base:1.10 cube-native-xorg:1.10.0.8 cube-native-xorg-base:1.10 pkgsrc-2008Q2:1.10.0.6 pkgsrc-2008Q2-base:1.10 pkgsrc-2008Q1:1.10.0.4 pkgsrc-2008Q1-base:1.10 pkgsrc-2007Q4:1.10.0.2 pkgsrc-2007Q4-base:1.10 pkgsrc-2007Q3:1.9.0.16 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.14 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.12 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.10 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.8 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.6 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.4 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.2 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.8.0.4 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.2 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.7.0.2 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.6.0.4 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.2 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.4.0.4 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.2 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 netbsd-1-6:1.1.1.1.0.4 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.1.1.0.6 pkgviews-base:1.1 buildlink2-base:1.1 buildlink2:1.1.1.1.0.2 pkg-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.12 date 2017.09.26.10.27.21; author wiz; state dead; branches; next 1.11; commitid 9ARpkXTuh9Wg2H8A; 1.11 date 2009.08.18.11.57.33; author markd; state Exp; branches; next 1.10; 1.10 date 2007.11.13.11.19.19; author markd; state dead; branches; next 1.9; 1.9 date 2005.12.11.10.53.54; author markd; state Exp; branches; next 1.8; 1.8 date 2005.03.23.21.37.48; author markd; state dead; branches; next 1.7; 1.7 date 2005.01.05.10.36.23; author markd; state Exp; branches; next 1.6; 1.6 date 2004.08.21.12.16.45; author markd; state dead; branches 1.6.4.1; next 1.5; 1.5 date 2004.08.11.13.51.14; author markd; state Exp; branches; next 1.4; 1.4 date 2004.02.04.13.58.39; author markd; state dead; branches 1.4.4.1; next 1.3; 1.3 date 2003.04.01.12.27.13; author markd; state Exp; branches; next 1.2; 1.2 date 2002.08.25.19.23.52; author jlam; state Exp; branches; next 1.1; 1.1 date 2002.05.31.13.16.46; author skrll; state Exp; branches 1.1.1.1; next ; 1.6.4.1 date 2005.01.06.00.23.49; author salo; state Exp; branches; next ; 1.4.4.1 date 2004.08.13.13.05.05; author agc; state Exp; branches; next ; 1.1.1.1 date 2002.05.31.13.16.46; author skrll; state Exp; branches 1.1.1.1.2.1; next ; 1.1.1.1.2.1 date 2002.05.31.13.16.46; author jlam; state dead; branches; next 1.1.1.1.2.2; 1.1.1.1.2.2 date 2002.06.23.19.06.19; author jlam; state Exp; branches; next ; desc @@ 1.12 log @*: remove qt3 and the packages using it, including KDE3 Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html @ text @$NetBSD: patch-aq,v 1.11 2009/08/18 11:57:33 markd Exp $ KDE svn 1002164 fixes CVE-2009-1725 --- khtml/html/htmltokenizer.cpp.orig 2007-05-14 19:52:39.000000000 +1200 +++ khtml/html/htmltokenizer.cpp @@@@ -736,7 +736,7 @@@@ void HTMLTokenizer::parseEntity(Tokenize #ifdef TOKEN_DEBUG kdDebug( 6036 ) << "unknown entity!" << endl; #endif - checkBuffer(10); + checkBuffer(11); // ignore the sequence, add it to the buffer as plaintext *dest++ = '&'; for(unsigned int i = 0; i < cBufferPos; i++) @ 1.11 log @Fix for CVE-2009-1725 @ text @d1 1 a1 1 $NetBSD$ @ 1.10 log @Use zonetab package rather than doing it locally. @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.9 2005/12/11 10:53:54 markd Exp $ d3 13 a15 16 --- kdecore/ktimezones.cpp.orig 2005-10-11 04:06:02.000000000 +1300 +++ kdecore/ktimezones.cpp @@@@ -372,7 +372,13 @@@@ const KTimezones::ZoneMap KTimezones::al // For Unix its all easy except knowing where to look. Try the LSB location first. QFile f; m_zoneinfoDir = "/usr/share/zoneinfo"; +#ifndef __NetBSD__ f.setName(m_zoneinfoDir + "/zone.tab"); +#else + // NetBSD doesn't have a zone.tab in its zoneinfo dir so point at + // one the package installs + f.setName("@@LOCALBASE@@/share/zone.tab"); +#endif if (!f.open(IO_ReadOnly)) { kdDebug() << "Can't open " << f.name() << endl; @ 1.9 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$ @ 1.8 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-aq,v 1.7 2005/01/05 10:36:23 markd Exp $ d3 16 a18 17 --- kioslave/ftp/ftp.cc.orig 2004-10-03 20:40:52.000000000 +1300 +++ kioslave/ftp/ftp.cc @@@@ -751,6 +751,14 @@@@ bool Ftp::ftpSendCmd( const QCString& cm { assert(m_control != NULL); // must have control connection socket + if ( cmd.find( '\r' ) != -1 || cmd.find( '\n' ) != -1) + { + kdWarning(7102) << "Invalid command received (contains CR or LF): " + << cmd.data() << endl; + error( ERR_UNSUPPORTED_ACTION, m_host ); + return false; + } + // Don't print out the password... bool isPassCmd = (cmd.left(4).lower() == "pass"); if ( !isPassCmd ) @ 1.7 log @The FTP kioslave can be misused to execute any ftp command on the server or be a vector for sending out unsolicited email. http://www.kde.org/info/security/advisory-20050101-1.txt Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Update to KDE 3.3 * Rewrite the name-resolution routines so that true asynchronous lookups are possible (multithreaded). Thiago Macieira * kconf_update has now support for updating files other than config files. Waldo Bastian * Crypto certificates import without user interaction Helge Deller * KEditToolbar: Add support for arranging actions via drag&drop. Sandro Giessl * Move KNewStuff to kdelibs, making it usable for KDE-Edu etc. Josef Spillner * Introduce KIMIface, a generic DCOP interface to instant messaging/chat clients, and support libraries for other KDE apps, enabling loosely coupled integration. Will Stephenson * Show actions icons in the configure shortcut dialog. Olivier Goffart * KKeyDialog: add widget (based on klistviewsearchline) for searching shortcuts Cristian Tibirna * User visible feedback if invocation of browser, help Center or mailer fails * KImgIO o Add EXR image plugin, supports reading high dynamic range files. Brad Hards o Add support for SGI images (a.k.a. "RGB" images). These do typically have file extensions *.rgb, *.rgba, *.sgi, or *.bw. The SGI image file format is a de-facto standard for textures, for example in 3D modeling. Melchior Franz o Add read support for DDS images (Direct Draw Surface). This format is mainly used for textures in DirectX. Ignacio Castaño * libkabc o Write support and SSL/TLS for the LDAP resource Szombathelyi György * KLocale o Try harder to find message translations if a string is not translated in the primary language of the user, but available in other languages that the user has chosen in kcontrol. Heiko Evermann * KSpell2 o Introduction of the new spellchecking library fixing all of KSpell shortcomings. Zack Rusin * KHTML part o KHTML: Merge text shifting from WebCore. Leo Savernik o KHTML: Type-ahead find Arend van Beelen jr. o Copy To->IM Contact... context menu entry. Using kimproxy, allow one to initiate a file transfer from Konqueror. Will Stephenson o Added "Open in This Window" in popup frame submenu o New context menu when text is selected which allows lookup in default search engine o Fixed and improved Access Key support: now activated by pressing and releasing the ctrl key. When activated, the accesskey mode displays all accesskeys available in tooltips Jean-Baptiste Mardelle @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.5 2004/08/11 13:51:14 markd Exp $ d3 3 a5 29 Index: kioslave/http/kcookiejar/kcookiejar.cpp =================================================================== RCS file: /home/kde/kdelibs/kioslave/http/kcookiejar/kcookiejar.cpp,v retrieving revision 1.116 retrieving revision 1.117 diff -u -p -r1.116 -r1.117 --- kioslave/http/kcookiejar/kcookiejar.cpp 19 Jul 2004 10:16:22 -0000 1.116 +++ kioslave/http/kcookiejar/kcookiejar.cpp 20 Jul 2004 15:29:24 -0000 1.117 @@@@ -244,6 +244,14 @@@@ KCookieJar::KCookieJar() m_globalAdvice = KCookieDunno; m_configChanged = false; m_cookiesChanged = false; + + QString twoLevelTLD="name,ai,au,bd,bh,ck,eg,et,fk,il,in,kh,kr,mk,mt,na,np,nz,pg,pk,qa,sa,sb,sg,sv,ua,ug,uk,uy,vn,za,zw"; + QStringList countries = QStringList::split(',', twoLevelTLD); + for(QStringList::ConstIterator it = countries.begin(); + it != countries.end(); ++it) + { + m_twoLevelTLD.replace(*it, (int *) 1); + } } // @@@@ -528,14 +536,14 @@@@ static const char * parseNameValue(const } -static void stripDomain(const QString &_fqdn, QString &_domain) +void KCookieJar::stripDomain(const QString &_fqdn, QString &_domain) d7 1 a7 5 QStringList domains; - KCookieJar::extractDomains(_fqdn, domains); + extractDomains(_fqdn, domains); _domain = domains[0]; } d9 11 a19 34 -static QString stripDomain( KHttpCookiePtr cookiePtr) +QString KCookieJar::stripDomain( KHttpCookiePtr cookiePtr) { QString domain; // We file the cookie under this domain. if (cookiePtr->domain().isEmpty()) @@@@ -620,6 +628,13 @@@@ void KCookieJar::extractDomains(const QS { if (partList.count() == 1) break; // We only have a TLD left. + + if ((partList.count() == 2) && (m_twoLevelTLD[partList[1].lower()])) + { + // This domain uses two-level TLDs in the form xxxx.yy + break; + } + if ((partList.count() == 2) && (partList[1].length() == 2)) { // If this is a TLD, we should stop. (e.g. co.uk) @@@@ -634,14 +649,6 @@@@ void KCookieJar::extractDomains(const QS break; } - // The .name domain uses ..name - // Although the TLD is striclty speaking .name, for our purpose - // it should be .name since people should not be able - // to set cookies for everyone with the same surname. - // Matches .name - if ((partList.count() == 2)&& (partList[1].lower() == L1("name"))) - break; - QString domain = partList.join(L1(".")); _domains.append('.' + domain); _domains.append(domain); @ 1.6.4.1 log @Pullup ticket 208 - requested by Mark Davies security fix for kdelibs3 Module Name: pkgsrc Committed By: markd Date: Wed Jan 5 10:36:23 UTC 2005 Modified Files: pkgsrc/x11/kdelibs3: Makefile distinfo Added Files: pkgsrc/x11/kdelibs3/patches: patch-aq Log Message: The FTP kioslave can be misused to execute any ftp command on the server or be a vector for sending out unsolicited email. http://www.kde.org/info/security/advisory-20050101-1.txt Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.7 2005/01/05 10:36:23 markd Exp $ d3 29 a31 3 --- kioslave/ftp/ftp.cc.orig 2004-10-03 20:40:52.000000000 +1300 +++ kioslave/ftp/ftp.cc @@@@ -751,6 +751,14 @@@@ bool Ftp::ftpSendCmd( const QCString& cm d33 5 a37 1 assert(m_control != NULL); // must have control connection socket d39 34 a72 11 + if ( cmd.find( '\r' ) != -1 || cmd.find( '\n' ) != -1) + { + kdWarning(7102) << "Invalid command received (contains CR or LF): " + << cmd.data() << endl; + error( ERR_UNSUPPORTED_ACTION, m_host ); + return false; + } + // Don't print out the password... bool isPassCmd = (cmd.left(4).lower() == "pass"); if ( !isPassCmd ) @ 1.5 log @Fix some issues related to html frames, cookie handling and temporary filenames. From KDE cvs. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to KDE-3.2.0. Changes: Libraries * Hidden methods in DCOP interfaces - DCOPIDLng Alexander Kellett * Documentation parsing (kdoc based) and inclusion in generated .dcopidl files (note: kdebindings dcopidlng only) Alexander Kellett * Kalyptus based rewrite of DCOPIDL - DCOPIDLng Alexander Kellett * Thumbnail generator for DVI files. Stefan Kebekus * Thumbnail generator for Xcursor files. Fredrik Hoeglund * KMainWindow can now maintain the statusbar and corresponding action (duplicate (99% of the time broken) code removed from countless applications in KDE). Benjamin Meyer * KMainWindow, KToolbar, and several other core classes now will only stores settings if those settings are not the default values (helping to reduce the huge size of config files). Benjamin Meyer * Add support for International Domain Names (IDN). Thiago Macieira, Waldo Bastian * KDE Password Registry and Wallet. George Staikos * SSL session ID reuse. George Staikos * KCookiejar: Support HttpOnly cookies. Waldo Bastian * KLocale: support for different calendar systems Hans Petter Bieker * KCalendarSystem: support for Hebrew calendar system Hans Petter Bieker * Support data urls. See rfc 2397. Leo Savernik * New tab widget classes KTabBar and KTabWidget in kdeui Stephan Binner * New KFile permissions panel Tim Jansen * Support for mimetype inheritance and aliases David Faure * KDialogBase: Replace setButtonOkText() & co. with setButtonOk() that takes a KGuiItem instead (deprecating the old methods) Martijn Klingens * Move KPrefs from libkdepim to kdelibs. Cornelius Schumacher * Support for "extra fields" in KIO slaves and in Konqueror / KFileDialog David Faure * Add KSplashScreen, a splash screen class based on QSplashScreen (with support for KDE's Xinerama options) Chris Howells * KPasteTextAction: enhanced action for pasting text by offering a list with the clipboard history. Andras Mantia KHTML * Non-modal find dialog David Faure KDEfx * Added KCPUInfo class which makes it possible for applications to do runtime checks for architecture specific CPU features, such MMX, 3DNow! and AltiVec. Fredrik Hoeglund * Added MMX and SSE2 optimizations to the blending functions in KImageEffect, that among other things are used to blend the translucent menus when the menu effect is set to software blend, and to tint icons when they're selected in icon views. Fredrik Hoeglund Kate Part * File type specific settings Christoph Cullmann * vi style cmd line Christoph Cullmann * Support variable lines in files Anders Lund * Color Schemes Christoph Cullmann * Indentation based code folding Christoph Cullmann * Implement more DCOP interfaces and clean up the ktexteditor dcop interfaces Christoph Cullmann KImgIO * Add PCX image plugin, supports reading and writing 1, 4, 8 and 24bpp images Nadeem Hasan * Add TGA image plugin, supports reading and writing true color TGA images (compressed and uncompressed) Dominik Seichter Interfaces * Interfaces for KBytesEdit widget part Friedrich W. H. Kossebau KSpell * Adding ability to spell check HTML, TeX and nroff documents. Zack Rusin * Completely reworking the spell checking dialog. Adding language selection combo. Zack Rusin @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.3 2003/04/01 12:27:13 markd Exp $ d3 24 a26 5 --- kded/kbuildsycoca.cpp.orig Sun Mar 9 14:22:02 2003 +++ kded/kbuildsycoca.cpp @@@@ -509,7 +509,9 @@@@ public: ~WaitForSignal() { kapp->eventLoop()->exitLoop(); } }; d28 13 a40 4 -int main(int argc, char **argv) +extern "C" int kdemain(int argc, char **argv); + +int kdemain(int argc, char **argv) d42 31 a72 2 KLocale::setMainCatalogue("kdelibs"); KAboutData d(appName, I18N_NOOP("KBuildSycoca"), appVersion, @ 1.4.4.1 log @Pullup ticket 102 to the pkgsrc-2004Q2 branch, requested by Mark Davies Security fix for kdelibs3 Module Name: pkgsrc Committed By: markd Date: Wed Aug 11 13:51:14 UTC 2004 Modified Files: pkgsrc/x11/kdelibs3: Makefile distinfo pkgsrc/x11/kdelibs3/patches: patch-an Added Files: pkgsrc/x11/kdelibs3/patches: patch-ap patch-aq patch-ar patch-as patch-at patch-au patch-av patch-aw patch-ax patch-ay Log Message: Fix some issues related to html frames, cookie handling and temporary filenames. From KDE cvs. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d3 8 a10 12 Index: kioslave/http/kcookiejar/kcookiejar.cpp =================================================================== RCS file: /home/kde/kdelibs/kioslave/http/kcookiejar/kcookiejar.cpp,v retrieving revision 1.116 retrieving revision 1.117 diff -u -p -r1.116 -r1.117 --- kioslave/http/kcookiejar/kcookiejar.cpp 19 Jul 2004 10:16:22 -0000 1.116 +++ kioslave/http/kcookiejar/kcookiejar.cpp 20 Jul 2004 15:29:24 -0000 1.117 @@@@ -244,6 +244,14 @@@@ KCookieJar::KCookieJar() m_globalAdvice = KCookieDunno; m_configChanged = false; m_cookiesChanged = false; d12 1 a12 16 + QString twoLevelTLD="name,ai,au,bd,bh,ck,eg,et,fk,il,in,kh,kr,mk,mt,na,np,nz,pg,pk,qa,sa,sb,sg,sv,ua,ug,uk,uy,vn,za,zw"; + QStringList countries = QStringList::split(',', twoLevelTLD); + for(QStringList::ConstIterator it = countries.begin(); + it != countries.end(); ++it) + { + m_twoLevelTLD.replace(*it, (int *) 1); + } } // @@@@ -528,14 +536,14 @@@@ static const char * parseNameValue(const } -static void stripDomain(const QString &_fqdn, QString &_domain) +void KCookieJar::stripDomain(const QString &_fqdn, QString &_domain) d14 2 a15 40 QStringList domains; - KCookieJar::extractDomains(_fqdn, domains); + extractDomains(_fqdn, domains); _domain = domains[0]; } -static QString stripDomain( KHttpCookiePtr cookiePtr) +QString KCookieJar::stripDomain( KHttpCookiePtr cookiePtr) { QString domain; // We file the cookie under this domain. if (cookiePtr->domain().isEmpty()) @@@@ -620,6 +628,13 @@@@ void KCookieJar::extractDomains(const QS { if (partList.count() == 1) break; // We only have a TLD left. + + if ((partList.count() == 2) && (m_twoLevelTLD[partList[1].lower()])) + { + // This domain uses two-level TLDs in the form xxxx.yy + break; + } + if ((partList.count() == 2) && (partList[1].length() == 2)) { // If this is a TLD, we should stop. (e.g. co.uk) @@@@ -634,14 +649,6 @@@@ void KCookieJar::extractDomains(const QS break; } - // The .name domain uses ..name - // Although the TLD is striclty speaking .name, for our purpose - // it should be .name since people should not be able - // to set cookies for everyone with the same surname. - // Matches .name - if ((partList.count() == 2)&& (partList[1].lower() == L1("name"))) - break; - QString domain = partList.join(L1(".")); _domains.append('.' + domain); _domains.append(domain); @ 1.3 log @Update KDE to 3.1.1. Changes: arts * Several memory corruption fixes. kdelibs * kdialog: Fix screen numbering problem for centerOnScreen() static method * kprogress: Fix math problem in displaying correct percentage for large numbers * kio_http: Fix data processing for webdav(s) listing of directories and files * kate: Many small bugfixes, including: + Fixed code completion drop-down box position + Fixed "wrap cursor disabled" bugs + Fixed vertical scrollbar middle mouse behaviour + Fixed remove whitespace feature + Now clears the redo history when it is irrelevant + Fixed crash after starting up with a non-existant directory in the file selector history * kparts: Fix extension of transparently downloaded files, this fixes ark (used to display temp file instead of archive content) * klauncher: Fixed support for "Path=" entry in .desktop files. This entry can be used to specify a working directory. * kio: Don't let ChModJob's -X emulation interfere with mandatory file locking. * kdeui: Fix for alternate background coloring in Konqueror list views. * kdeui: Fix to prevent an event loop in conjunction with Qt 3.1.2. * kio/bookmarks: Properly handle multiple shown bookmarks with the same URL; fixes crash on exit in Konqueror when bookmarkbar is on and some bookmarks points to the same place * kstyles: Handle focus indicators on label-less checkboxes better * kdeprint: Don't freeze when there is no route to the selected CUPS server * SSL: add support for OpenSSL 0.9.7 * SSL: ADH ciphers are now explicitly disabled in all cases * SSL: new CA root certificate added * Several Xinerama related fixes * QXEmbed fixes for various situations that don't handle XEMBED well * Java on IRIX with SGI 1.2 VM is fixed * khtml: Several major bugfixes, partially incorporated fixes from Safari as well. kdeaddons kdeadmin * Linux Kernel Configurator: Add details about the lightbulb icon's meaning * Linux Kernel Configurator: Support for more incorrect kernel configuration files kdeartwork kdebase * kcmshell: Restored backwards compatibility wrt KDE 3.0 module names * klipper: Escape "&" everywhere. * konsole: + Removed "get prompt back"-hacks, don't assume emacs key shell bindings. + Fixed usage of background images with spaces in the filename. + Profile support fixes (disabled menubar etc.) + Bookmarks invoked from "Terminal Sessions" kicker menu now set correct title. + Fixed a problem with the "Linux" font that prevented it from being used with fontconfig. * kdesktop: Made desktop menus pop up in unused Kicker space work. * kicker: Fixed empty taskbar sometimes showing scroll buttons. * konqueror: + Various startup performance improvements + Fix crash when sidebar tree expands hidden directory + Fix crash when config button hidden from config button's menu + Extensive fixes to Netscape plugins, fixing crashes and plugin support + Changes to default preview settings, making the defaults safer on various platforms * Java configuration module: Make it possible to properly configure Java in all cases * Previews: Fixed a privacy issue where previews of HTML files could access files or hosts on the network. kdeedu * KStars: + Fixed bug #51708: No longer exits if starting position is below horizon (only affected some systems) + Fixed bug #52205: Country of Lhasa is China, not Tibet. + Fixed too-narrow coordinates field in statusbar. + Fixed bug in "length of day" calculator module; it now properly accounts for latitude and longitude kdegames * Atlantik: Many small bugfixes, including: + Better handling of incoming messages + Fixed token animation * kbackgammon: Common crash fix. kdegraphics * KIconEdit: Fix the ellipse/circle tool not to leave any "holes" in the drawings * Kooka: Some UI crashes fixed * KViewShell: Default paper size is fixed * KGhostView: Fixed wheel-mouse scrolling kdemultimedia * KsCD: + Stopped KsCD from pausing after tracks in random mode + Correctly associate extra CDDB information with tracks + Support non-Latin encodings properly in CDDB entries and elsewhere + Proper systemtray behaviour + Updated key accel code to avoid depricated calls * Movie previews have been removed due to severe unresolved stability problems kdenetwork * Desktop Sharing server (krfb): + fix problems on X11 servers with 8 bit depth + fix problems on X11 servers with big-endian framebuffer + allow X11 servers without XShm (thin clients). Warning: requires a lot of bandwidth + remove read timeouts. This should solve problems with some clients that got disconnected after a minute of inactivity (but increases the time to detect dead clients) + fix problem with clients that support both RichCursor and SoftCursor encodings (like krdc from HEAD) * Desktop Sharing client (krdc): + fix: when an error occurred in fullscreen krdc did not restore the original resolution + fix: krdc stopped to repaint the framebuffer after a disconnect while the error dialog was displayed + the quality setting in medium quality mode has been increased because the original setting looked too bad with Keramik kdepim * KOrganizer bug fixes: + Use correct default duration for events crossing a day boundary (#53477). + Correctly save category colors (#54913). + Don't show todos more than once in what's next view. + Include todos in print output of month view (#53291). + Don't restrict maximum size of search dialog (#54912). + Make cancel button of template selection dialog work (#54852). + Don't break sorting when changing todos by context menu (#53680). + Update views on changes of todos directly in the todo list (#43162). + Save state of statusbar (#55380). * knotes: Escape "&" in note titles kdesdk * Cervisia: + Fixed line break in protocol view + Fixed timestamp for files that are not in cvs (#55053) + Fixed handling of Cervisia's options like 'Update Recursively' when run as embedded part in konqueror (#55665) kdetoys * kworldclock: Fixed that all clocks show the same time. * kweather: Made it work again with non-english locales. (#52147) * kweather: Prevent KWeather from looping and freezing Kicker when not connected to the internet.(#49191) kdeutils * klaptopdaemon: Fix serious stalling problems on GNU/Linux with ACPI * kcalc: Now a KMainWindow instead of a KDialog to fix various UI inconsistencies * kdf: Support escapes in fstab quanta * Bugfixes: + Allow resizing of the main window even with large user toolbars [#53230] + Insert valid DTD definitions [#53274] + Honor the View Default settings from Settings->Configure Editor [#53569] + Be less braindead regarding the Show DTD Toolbar setting [#53739] + Be able to select also directories in tag dialogs [#54819] + Do not complain about text files being binary ones on a system with broken mimetypes [#54924] + Bring up the "File Changed" dialog only, when the file content has changed[#55678] + Select Tag Area behaviour fixed for optional tags + Insert non-translated string in CSS code parts + Insert "border-top", "border-right", etc. correctly in CSS + Don't quote the script line more than once in the action configuration dialog + Memory leak fixed: editor parts were not deleted when a file was closed + Fix insertion of "img" tags in HTML documents + Upload/rescan project/add to new project tree view behaviour fixed + Fix renaming of file in the Project Tree, when a file with the new name was already present in the project + Rename only what has to be renamed in the project and enable project saving after a rename + Use the correct encoding for newly created files + Saving of Author and E-Mail project options was broken in some cases + Fix the numbering of new documents + Fix the execution of actions + Fix crash when deleting an action + Insert valid single tags from the toolbar * Enhancements: + Show the tag attributes (Alt-Down) menu lower than the current line + "Insert in cursor position" for script actions replaces the selection if there was some text selected + New DCOP interface (WindowManagerIf) added to enable the modification of the opened documents from a script + DTD for Quanta tags (DTD definition) added + XHTML 1.0 Strict DTD added @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.2 2002/08/25 19:23:52 jlam Exp $ @ 1.2 log @Merge changes in packages from the buildlink2 branch that have buildlink2.mk files back into the main trunk. @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.1.2.1 2002/06/23 19:06:19 jlam Exp $ d3 1 a3 1 --- kded/kbuildsycoca.cpp.orig Tue May 21 15:37:35 2002 d5 3 a7 3 @@@@ -494,7 +494,9 @@@@ static const char *appName = "kbuildsycoca"; static const char *appVersion = "1.0"; @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of a kdelibs3 pkg. @ text @@ 1.1.1.1.2.1 log @file patch-aq was added on branch buildlink2 on 2002-06-23 19:06:19 +0000 @ text @d1 15 @ 1.1.1.1.2.2 log @Merge from pkgsrc-current to buildlink2 branch. @ text @a0 15 $NetBSD: patch-aq,v 1.1.1.1.2.1 2002/06/23 19:06:19 jlam Exp $ --- kded/kbuildsycoca.cpp.orig Tue May 21 15:37:35 2002 +++ kded/kbuildsycoca.cpp @@@@ -494,7 +494,9 @@@@ static const char *appName = "kbuildsycoca"; static const char *appVersion = "1.0"; -int main(int argc, char **argv) +extern "C" int kdemain(int argc, char **argv); + +int kdemain(int argc, char **argv) { KLocale::setMainCatalogue("kdelibs"); KAboutData d(appName, I18N_NOOP("KBuildSycoca"), appVersion, @