pkgsrc/x11/kdelibs3/patches/patch-an
markd 2afa4ad7ff Update to KDE 3.5.6
KHTML
* Treat specific attribute values case-insensitively during style matching.
  With these changes, KHTML becomes the first rendering engine to thoroughly
  pass the 578 tests of the excellent Automated CSS3 Selectors Testsuite
  (http://www.css3.info/selectors-test).
* Implement CSS3 extension text-overflow: ellipsis.
* Implement overflow-x/y as many websites use it now.
* Fix overflow sometimes not painted/repainted.
* Fix incorrect margin for some tables.
* Fix crashes on some AJAX pages.
* Fix background no-repeat image wrapping.
* Fix instanceof ecma operator not working on DOM objects.
* Fix some pages appearing empty or missing content.
* Fix table caption rendering on some pages.
* Make innerText much faster fixing freezes on some web pages.
* Fix crash on javascript manipulated tables.
* Fix all links gettinh underlined while hovering over just one link on
  some malformed web pages.
* Let floats overflow the left border when they should.
* Fix cursor in input field not disappearing when setting focus to another
  input field.
* Prevent crash-inducing recursion of detach due to blur events happening
  when widgets with focus get destroyed.
* Fix border collapse not working in tables.
* Fix ∉ displayed as ¬in;.
* Make max-height and max-width: none work correctly.
* Fix memory leak when using deleteRule.
* Fix crash when resolving a stylesheet imported from external one.
* Fix an infinite relayout on msdn.
* Fix computed line-height beign incorrect.
* Fix crash race on various sites with popup ads.
* Reset hover text when mouse leaves khtml view.
* Whenever the content changes, recheck if the mouse cursor shall show
  some other shape to correctly match it to the content below it.
* Immediately redraw visited links with the respective color when the
  page got loaded and inserted into the history.
* Fix tables sometimes intruding floats on dynamic restyle.
* Fix conflicting priorities in font shorthand parsing leading to wrong
  line-height computation.
* Do not crash when finding backwards.
* Fix infinite recursion happening when changing style from
  overflow:scroll to auto.
* Fix initial size of input type=FILE form control.
* Make vertical-align text-top/bottom CSS 2.1 compliant.
* Fix ecma alert() dialog formatting it's output as a single huge line
  without line breaks.

Kate
* Add actionscript highlighting.
* Add some pseudo-elements that khtml supports, but FireFox doesn't.
* Fix wrong indentation at top of source file in cstyle indenter.
* Fix memory leaks and accessing uninitialized variable.
* Fix endless loop in cstyle indenter.
* Fix crash using comment commands.
* Java Highlighting: Correctly highlight comments after import lines.

kdefx
* Change asterisks on passwords to bullets.

kdeprint
* Fix printing of files with accentuated characters in filename or in
  the path.
* Fix showing names of non local files in kprinter.

kio
* Don't crash when creating a job for an invalid URL.
* Hide the progress dialog while displaying the password dialog.
* Fix wrong "Couldn't receive DCOP signal" errors on RMB menu.
* Fix statusbar having more than one line.
* Fix possible data loss when using kioexec.

KJS
* Properly propagate some exception values.
* Fixed Number.toPrecision(n) calls on negative zero.
* Allow changing the internal value of invalid dates.
* Fix Unicode support in RegExp handling, and also be more robust
  vs. embedded nulls. Fixes problems with some cyrillic characters in
  gmail and makes google calendar somewhat work.
2007-01-26 02:44:27 +00:00

88 lines
3 KiB
Text

$NetBSD: patch-an,v 1.11 2007/01/26 02:44:28 markd Exp $
--- kdecore/kstandarddirs.cpp.orig 2005-10-11 04:06:02.000000000 +1300
+++ kdecore/kstandarddirs.cpp
@@ -1018,33 +1018,33 @@ static int tokenize( QStringList& tokens
QString KStandardDirs::kde_default(const char *type) {
if (!strcmp(type, "data"))
- return "share/apps/";
+ return "share/kde/apps/";
if (!strcmp(type, "html"))
- return "share/doc/HTML/";
+ return "share/doc/kde/HTML/";
if (!strcmp(type, "icon"))
return "share/icons/";
if (!strcmp(type, "config"))
- return "share/config/";
+ return "share/kde/config/";
if (!strcmp(type, "pixmap"))
return "share/pixmaps/";
if (!strcmp(type, "apps"))
- return "share/applnk/";
+ return "share/kde/applnk/";
if (!strcmp(type, "sound"))
- return "share/sounds/";
+ return "share/kde/sounds/";
if (!strcmp(type, "locale"))
- return "share/locale/";
+ return "@PKGLOCALEDIR@/locale/";
if (!strcmp(type, "services"))
- return "share/services/";
+ return "share/kde/services/";
if (!strcmp(type, "servicetypes"))
- return "share/servicetypes/";
+ return "share/kde/servicetypes/";
if (!strcmp(type, "mime"))
- return "share/mimelnk/";
+ return "share/kde/mimelnk/";
if (!strcmp(type, "cgi"))
- return "cgi-bin/";
+ return "kde-cgi-bin/";
if (!strcmp(type, "wallpaper"))
- return "share/wallpapers/";
+ return "share/kde/wallpapers/";
if (!strcmp(type, "templates"))
- return "share/templates/";
+ return "share/kde/templates/";
if (!strcmp(type, "exe"))
return "bin/";
if (!strcmp(type, "lib"))
@@ -1060,9 +1060,9 @@ QString KStandardDirs::kde_default(const
if (!strcmp(type, "xdgconf-menu"))
return "menus/";
if (!strcmp(type, "kcfg"))
- return "share/config.kcfg";
+ return "share/kde/config.kcfg";
if (!strcmp(type, "emoticons"))
- return "share/emoticons";
+ return "share/kde/emoticons";
qFatal("unknown resource type %s", type);
@@ -1386,6 +1386,7 @@ void KStandardDirs::addKDEDefaults()
}
xdgdirList.append("/usr/local/share/");
+ xdgdirList.append(KDEDIR "/share/");
xdgdirList.append("/usr/share/");
}
@@ -1560,7 +1561,7 @@ bool KStandardDirs::addCustomized(KConfi
for (QStringList::ConstIterator it = list.begin(); it != list.end(); ++it)
{
addPrefix(*it, priority);
- addXdgConfigPrefix(*it+"/etc/xdg", priority);
+ addXdgConfigPrefix(*it+"/xdg", priority);
addXdgDataPrefix(*it+"/share", priority);
}
// If there are no prefixes defined, check if there is a directory
@@ -1569,7 +1570,7 @@ bool KStandardDirs::addCustomized(KConfi
{
QString dir = profileDirsPrefix + profile;
addPrefix(dir, priority);
- addXdgConfigPrefix(dir+"/etc/xdg", priority);
+ addXdgConfigPrefix(dir+"/xdg", priority);
addXdgDataPrefix(dir+"/share", priority);
}