History log of /vbox/src/VBox/Main/src-server/HostDnsService.h
Revision Date Author Comments Expand
dc99d9bd473c0bd50c0c354842a488c7d6677f15 55278 15-Apr-2015 vboxsync

Main/HostDnsService: Poll for VBoxInternal2/HostDNSOrderIgnore global extradata change, at most every 30 seconds, and only if there is new DNS information. This helps greatly with enabling/disabling this feature, as previously one had to ensure that VBoxSVC was terminated/re-started.

b5e51a17f57d4fe07a991fe3622c16742f558099 55223 13-Apr-2015 vboxsync

Main/HostDnsService: if VBoxInternal2/HostDNSOrderIgnore global extradata is set to a value other than "0", don't send notification when only the order of nameservers changed.

15103828db667957b17f14ee8307452c019c77d1 55200 13-Apr-2015 vboxsync

Main/HostDnsService: use <iprt/cpp/lock.h> instead of a roll-your-own version.

7ebf6d185474ed3aa5368a5d93649303ab481ef5 55198 13-Apr-2015 vboxsync

Main/HostDnsService: drop const from VirtualBox *aParent as GetExtraData() method is not const.

09fa98db5951e4a47e2f5dbfbef465a56a43c5c7 54662 06-Mar-2015 vboxsync

Main/HostDnsService: instead of keeping fragile state g/c notifyAll() and just notify proxy directly from setInfo() when info changed.

86cfa0622a1e43e622cfe0790190769665cd527f 54302 19-Feb-2015 vboxsync

Main/src-server/HostDnsService.cpp: make sure that only actual information changes trigger notifications, as the Windows backend likes to call HostDnsService::notifyAll when nothing changed

2d38607d73f5000c2e0913e1a896a8478a5fa1d7 53165 29-Oct-2014 vboxsync

Main/HostDnsService: brush up old Windows code. In general no functional change is intended, but make search list handling follow Windows behavior.

510229a86fcdcdf2eb0b9540e2981460eab322d5 53159 28-Oct-2014 vboxsync

Main/HostDnsService: revert windows code back to r91891. The rewrite in r96327 is wrong. I can't seem to find any paper trail for what was the problem with the original code, but at least it monitors the right place in the registry.

735076496e14763dcdef4b43202e7665d4a8da43 53151 27-Oct-2014 vboxsync

Main/HostDnsService: bring back Windows changes of r96331 but with plain std::string in HostDnsInformation and using explicit Unicode API and wchar_t when dealing with registry (we always compile with -DUNICODE, so no need for TCHAR shim). No changes to the original except minor const correctness tweaks.

510b14148124a664875cdb3a996433bd92c9324e 53122 22-Oct-2014 vboxsync

Main/HostDnsService: revert r96327 and follow-up r96329 and r96331 to revert conversion of HostDnsInformation to Unicode. HostDnsServiceWin.cpp behavioral changes will be redone as a separate commit against old definition of HostDnsInformation. Intervening SafeArray cleanup in r96372 is preserved, hopefully without errors. Please review.

70c5cdbebee624ca386867b552ec032374bfaaf8 52934 02-Oct-2014 vboxsync

Main: safearray cleanup, removed unnecessary SafeArray<->vector conversions

63fdb92b88f31446f6ea53241c0d127677c71c7e 52897 30-Sep-2014 vboxsync

Main: DnsMonitorService: step on unicode rails: store network configuration in unicode-compatible containner (std::wstring) (preliminary tested on Linux, Mac and Windows); DnsMonitorService for Windows: reworked in order to subscribe to correct events and filter-out those ones we don't interested in. (Experimantal, needs more testing and review).

dbbd0cae65188dffbd927bdde2d88cbeec2e26da 50263 28-Jan-2014 vboxsync

Main/HostDnsService: - Generic part could be used with threading on or off: OS which can monitor changes on DNS structures might need this (e.g. Windows, Darwin, Linux) - ResolvConf based (Linux, Solaris, FreeBSD ans Os/2) doesn't use scanf based resovl.conf parsing new Slirp's parser used instead. It's configured to provide strings instead of addresses. (to resolve xtracker/7034c2) - Darwin monitoring code has been refactored. - linux changed to handle cases described in xtracker/7034c3 - Windows monitors changes on register changes.

d27bf03c13c7a5707386600ef9b0bbb82fb3420d 49718 29-Nov-2013 vboxsync

Various FreeBSD fixes submitted Bernhard Froehlich

c0b3f8f271f3bc2358c46ed5a99af29a28bd1b66 49409 07-Nov-2013 vboxsync

Main/HostDnsService: fixed object deletion and coding style

6c2ae4881e4220cc4bba0738d2b0d158d571ec9b 49237 22-Oct-2013 vboxsync

Main/HostDnsServiceSolaris: Attempt to fix Solaris build.

3f2299591cfeb8a37a3578bef9c44c1790860948 49235 22-Oct-2013 vboxsync

Main/HostDnsService: splits HostDnsService on "singleton" HostDnsMonitor which monitors host changes and share DnsInformation to per HostImpl/VirtualBoxImpl objects HostDnsMonitorProxy. TODO: Win/Darwin parts might burn (not tested) TODO: find good place to call HostDnsMonitor::shutdown() to stop monitoring thread. (ref counting could be used on HostDnsMonitor::addMonitorProxy and HostDnsMonitor::releaseMonitorProxy, but it better to pausing monitoring on no --auto-shutdown launches of VBoxSVC).

607b3e94ac964648f49fc97505782d4b71b8c18f 49228 22-Oct-2013 vboxsync

Main/HostDnsService: Lockee & ALock (not used for now).

db8bc574dcfad7e8fa153800a94e61a80e93259f 49224 22-Oct-2013 vboxsync

Main/HostDnsService.h: puvlic -> public.

233a114a6b1855d0525e4c4724683ac0f0d6956c 49223 22-Oct-2013 vboxsync

Main/HostDnsService.h: c++-mode (indentation).

4a5eed4c1192804dd98b2d803ef27f610a0a5a90 49202 21-Oct-2013 vboxsync

Makefile.kmk: adds HostDnsServiceLinux.cpp to build on Linux host HostDnsService.h: adds declarations of defined functions.

8dfc5e89cd3421bb0602f33768f00c1f1d40b1d2 48955 07-Oct-2013 vboxsync

Main: Whitespace (including tabs!) and svn:keywords cleanups by scm.

/vbox/src/VBox/Main/include/ApplianceImpl.h /vbox/src/VBox/Main/include/ApplianceImplPrivate.h /vbox/src/VBox/Main/include/DHCPServerImpl.h /vbox/src/VBox/Main/include/DisplayImpl.h /vbox/src/VBox/Main/include/EmulatedUSBImpl.h /vbox/src/VBox/Main/include/HostVideoInputDeviceImpl.h /vbox/src/VBox/Main/include/Performance.h /vbox/src/VBox/Main/include/TokenImpl.h /vbox/src/VBox/Main/include/VirtualBoxImpl.h /vbox/src/VBox/Main/include/ovfreader.h /vbox/src/VBox/Main/src-client/RemoteUSBBackend.cpp ApplianceImplExport.cpp ApplianceImplIO.cpp ApplianceImplImport.cpp HostDnsService.cpp HostDnsService.h HostDnsServiceResolvConf.cpp HostImpl.cpp MachineImplCloneVM.cpp NATNetworkImpl.cpp NATNetworkServiceRunner.cpp NetworkAdapterImpl.cpp Performance.cpp VirtualBoxImpl.cpp darwin/HostDnsServiceDarwin.cpp linux/NetIf-linux.cpp linux/USBGetDevices.cpp win/HostDnsServiceWin.cpp /vbox/src/VBox/Main/testcase/tstAPI.cpp /vbox/src/VBox/Main/testcase/tstMediumLock.cpp
ccfb1ed27819c3b69eb1ed0632c1ec77445bca9c 48806 02-Oct-2013 vboxsync

Main: typo: HostDnsServiceResolvConf::init(VirtualBox *->const VirtualBox *)

5218e94d899f948d3def7109e05a93fc6d590037 48805 02-Oct-2013 vboxsync

Main: HostDnsServiceWin::init(void) -> HostDnsServiceWin::init(const VirtualBox *aParent) and firing event on update.

01bceecc7f7484a8820c77b884bb91cdefc97390 48346 06-Sep-2013 vboxsync

header fixes

18b1f1bb3429f8bfc1a52cfaeb2445e9fb1f55cd 48330 06-Sep-2013 vboxsync

Main/DNS: general host specific DNS and Co handling added. Darwin implementation has self-update mechanism, for other hosts it's in todo list.