Development
rename libbind to netresolv.
* Match current upstream project name
* Improve tab-completion pattern by removing common prefix with libnetapi
* Match current upstream project name
* Improve tab-completion pattern by removing common prefix with libnetapi
Categories: Development
Add a simple DNS caching system to BNetworkAddress
netresolv (and libbind) won't cache DNS requests, which can result in a
lot of DNS requests being made for the same host. Implement a simple
cache in RAM (local to each application) which will keep the most
recently requested addresses cached. This can speed up loading of an
HTTP page a lot, by saving a DNS request for each resource stored on the
same server as the main page.
netresolv (and libbind) won't cache DNS requests, which can result in a
lot of DNS requests being made for the same host. Implement a simple
cache in RAM (local to each application) which will keep the most
recently requested addresses cached. This can speed up loading of an
HTTP page a lot, by saving a DNS request for each resource stored on the
same server as the main page.
Categories: Development
BNetworkRequest: Remove workaround that is not needed anymore
Now that netresolv handles DNS resolution properly, there is no need to
force IPv4 here.
Now that netresolv handles DNS resolution properly, there is no need to
force IPv4 here.
Categories: Development
Style fixes.
Categories: Development
Missing NULL check in network stack.
This would trigger a KDL, it's better to just fail the syscall call.
This would trigger a KDL, it's better to just fail the syscall call.
Categories: Development
libbind: integrate "netresolv" patches from NetBSD.
libbind development was transferred to the NetBSD project at
http://wiki.netbsd.org/individual-software-releases/netresolv/
There isn't an official release yet, but they provide a set of patches
against the latest libbind release.
* Remove all files we don't use
* Merge the changes to the remaining files
* Add some new files we need
* Move getifaddrs implementation to libnetwork (instead of libbnetapi)
so it can be used by netresolv.
Fixes #8293 : netresolv uses getifaddrs to determine if there is a local
IPv6 address. If there is not, it will not return AAAA records.
libbind development was transferred to the NetBSD project at
http://wiki.netbsd.org/individual-software-releases/netresolv/
There isn't an official release yet, but they provide a set of patches
against the latest libbind release.
* Remove all files we don't use
* Merge the changes to the remaining files
* Add some new files we need
* Move getifaddrs implementation to libnetwork (instead of libbnetapi)
so it can be used by netresolv.
Fixes #8293 : netresolv uses getifaddrs to determine if there is a local
IPv6 address. If there is not, it will not return AAAA records.
Categories: Development
Style fixes.
Categories: Development
MediaPlayer: style fixes, print performance time of dropped frames
* Helps understanding why the frames get dropped in some cases, where
the computed performance time is not correct.
* Helps understanding why the frames get dropped in some cases, where
the computed performance time is not correct.
Categories: Development
BReference: missing const cast when building a BReference<const>
* The internal BReference is on a non-const object so it can increment
and decrement the reference count, so we need to cast the const away.
* The internal BReference is on a non-const object so it can increment
and decrement the reference count, so we need to cast the const away.
Categories: Development
freebsd_network: add __UNCONST
Needed by the new DNS resolver from NetBSD.
Needed by the new DNS resolver from NetBSD.
Categories: Development
Style fixes.
Categories: Development
package_daemon: queue post-install scripts to run after reboot
* Creates symlinks to the post-install scripts into the
administrative/queued-scripts directory.
* Upon reboot, post-install scripts in the queued-scripts
are run, and then the symlinks to the scripts removed.
* This solves the issue of post-install scripts not being
run when the package is installed/upgraded along with the
system packages, as experienced with the latest upgrade
to the bash package.
* Creates symlinks to the post-install scripts into the
administrative/queued-scripts directory.
* Upon reboot, post-install scripts in the queued-scripts
are run, and then the symlinks to the scripts removed.
* This solves the issue of post-install scripts not being
run when the package is installed/upgraded along with the
system packages, as experienced with the latest upgrade
to the bash package.
Categories: Development
Ticket #12152 (Memory is not released after a failed call to realloc()) reopened
There is a memory leak.
Categories: Development
Ticket #12152 (Memory is not released after a failed call to realloc()) closed
junk:
That's not a memory leak. Also, do you realize you're literally calling free(NULL) there?
Categories: Development
Ticket #12152 (Memory is not released after a failed call to realloc()) created
Please see attached patch.
Categories: Development
Ticket #12151 (termios needs an update) created
I'm running across programs that expect speeds of 921600 baud. As it stands termios.h only defines as high as B230400
Categories: Development
Ticket #12147 (icu_86 appears to be broken) closed
invalid:
If this is a bug, it's not one in Haiku. Please report the problem to HaikuPorts.
Categories: Development
