Revision 98946bc...

Go back to digest for 3rd April 2011

Bug Fixes in KDE Base

Dawit Alemayehu committed changes in [kdelibs] /:

KIO proxy overhaul Part I:

Features:
- Switched the PAC file parser from KJS to QtScript.
- Implemented the Microsoft IPv6 PAC extensions.
- Implemented support for returning SOCKS proxy information (only SOCKS5).
- Added a new dbus call, proxiesForUrl, that returns all the proxy addresses
for a given url.
- Added a new kpactest file to test the new MS IPv6 extension functions.

Fixes:
- Fixed the DateRange function by adding back two missing months in the static
months array.
- Fixed the DNS related functions by fixing how the lookup works through
the following modification to the KIO DNS caching code:
* Added a function, lookupCachedHostInfoFor, for quering the KIO cache for
information without causing a DNS query.
* Added a function, cacheLookup, for inserting a DNS lookup result into
the KIO cache.
- Fixed myIpAddress by using QNetworkInterface, though this fix is still far
from ideal since it grabs the first suitable interface on multi-homed systems.

REVIEW: 100971


FIXED-IN: 4.7
DIGEST: KIO Proxy overhaul for KDE 4.7

File Changes

Added 1 files
  • kio/misc/kpac/kpactest2.pac
Modified 9 files
  •   kio/kio/hostinfo.cpp
  •   kio/kio/hostinfo_p.h
  •   kio/misc/kpac/CMakeLists.txt
  •   kio/misc/kpac/kpac_dhcp_helper.c
  •   kio/misc/kpac/kpactest.pac
  •   kio/misc/kpac/proxyscout.cpp
  •   kio/misc/kpac/proxyscout.h
  •   kio/misc/kpac/script.cpp
  •   kio/misc/kpac/script.h
10 files changed in total