Development

rename libbind to netresolv.

Source Activity - Sun, 2015-06-14 12:47
* 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

Source Activity - Sun, 2015-06-14 12:44
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

Source Activity - Sun, 2015-06-14 12:43
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.

Source Activity - Sun, 2015-06-14 12:42
Categories: Development

Missing NULL check in network stack.

Source Activity - Sun, 2015-06-14 12:41
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.

Source Activity - Sun, 2015-06-14 12:35
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.

Source Activity - Sun, 2015-06-14 09:08
Categories: Development

MediaPlayer: style fixes, print performance time of dropped frames

Source Activity - Sun, 2015-06-14 09:06
* 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>

Source Activity - Sun, 2015-06-14 09:02
* 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

Source Activity - Sun, 2015-06-14 09:01
Needed by the new DNS resolver from NetBSD. Needed by the new DNS resolver from NetBSD.
Categories: Development

Style fixes.

Source Activity - Sun, 2015-06-14 09:00
Categories: Development

package_daemon: queue post-install scripts to run after reboot

Source Activity - Sun, 2015-06-14 05:13
* 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()) closed

Latest Bugs & Tasks - Sat, 2015-06-13 21:51
junk:

That's not a memory leak. Also, do you realize you're literally calling free(NULL) there?

Categories: Development

Ticket #12151 (termios needs an update) created

Latest Bugs & Tasks - Sat, 2015-06-13 20:39

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

Latest Bugs & Tasks - Sat, 2015-06-13 20:22
invalid:

If this is a bug, it's not one in Haiku. Please report the problem to HaikuPorts.

Categories: Development
Syndicate content