Subject: CVS commit: pkgsrc/devel/rudiments
From: Filip Hajny
Date: 2013-09-14 11:14:08
Message id: 20130914091408.F21AB96@cvs.netbsd.org

Log Message:
Update rudiments to 0.42.

Changes
-------------------------
0.42 - made a "char" array in the charstring classh explicitly \ 
"signed char"
                for arm and similar platforms where "char" is actually
                "unsigned char"
        fixed variadic macros in codetree class for MSVC
        fixed rpm->rpmbuild in installation docs

0.41 - fixed a few bugs in the codetree class and improved its debug
        added comments to codetree class header
        added new search paths and default prefix for syllable
        initialized an uninitialized variable in clientsocket
        added support for syllable os

0.40 - fixed -pthread annoyance
        added -Werror to default build
        fixed various issues revealed by -Werror
        fixed hostentry::getAddressString() for numbers greater than 127
        fixed bugs that could lead to a crash when using the hostentry class
                with NULL hostnames
        reads that error out with EAGAIN are treated as successful reads of 0
                bytes now
        all sockets are manually set to blocking mode after creation now
        sockets created by accept() are set to the blocking/non-blocking mode
                of the socket that was accepted on
        fixed charstring::safeCopy to copy the NULL terminator
        made charstring::copy NULL-safe
        refactored windows make.bat script
        made crypt class salt NULL-safe

0.39 - filedescriptor::getPeerAddress returns NULL now for non-inet sockets
        added charstring::safeCopy methods
        made regularexpression::getSubstring* methods return const char *'s
        fixed a bug where xmldomnode::deleteAttribute() on a non-existent
                attribute name would crash
        added xmldomnode::getTree and xmldomnode::print methods
        added codetree class
        fixed a longstanding memory leak in dictionary::clear()

0.38 - included some contributed updates to chat, charstring and modemclient
        added several more wrappers to system class
        refactored configure/make for non-gnu make compatibility
        upated passFileDescriptor to dynamically allocate the control buffer
                for OS X 10.7 whos CMSG_LEN ultimately calls a function
        updated msvc build to create Release code rather than Debug by default
        added posix analogs (rewind, skip and read) to directory class
        updated filedescriptor debug so debugging of the buffering can be
                enabled/disabled
        integrated patches from Neowiz for:
                using -g3 if available when --enable-debug is specified
                testing the result of getaddrinfo for any non-zero result
                        when checking for EINTR, not just EAI_SYSTEM,
                        and also to reset errno between tries
                clientsocket to use WSAConnect and friends on windows
                disabling code that uses AF_UNIX sockets outright for windows
                inetserversocket::listen() to reuse addresses
        added process::exitImmediately
        updated error::getErrorString() to be thread safe when it uses
                strerror_r or strerror_s internally
        fixed charstring::isInteger/isNumber to return false when the string
                passed in is either - or . without any actual number
        changed longs in snooze class to uint32_t's

0.37 - updated logger to exclude : if header isn't supplied
        updated logger not to print double-returns after each log message
        added file::createPipe()
        fixed net-to-host and host-to-net byte order conversions for 64-bit
                integers on windows
        fixed charstring::copy that I'd broken in 0.36
        fixed missing [] in a delete in filedescriptor::read() with terminator
                that could cause leaks and corruption
        fixed a leak in filedescriptor::read() with terminator that could
                occur when it fell through with an error, timeout or 0-byte
                read
        applied Georgiy Kirichenko's fix to the safePoll call in
                filedescriptor::readFileDescriptor() - swapped true/false
                arguments so it would wait using POLLIN
        added xmldomnode::getPosition()
        fixed display of seconds from datetime::getString()
        fixed optimum buffer size calculation in xmlsax
        fixed several dlclose()-related bugs

0.36 - various fixes for SCO and Ultrix
        renamed some methods to avoid collisions with macros
        modified methods that take or return internal structures to take or
                return void pointers instead
        added charstring::replace methods
        renamed all .C files to .cpp for windows
        added msvc project and got most classes building natively on windows

0.35 - added ( to set of chars to capitalize after
        added methods to control whether semaphoreset operations are retried
                after they have been interrupted by a signal
        added charstring::findFirstOrEnd
        added character::inSet

Files:
RevisionActionfile
1.22modifypkgsrc/devel/rudiments/Makefile
1.11modifypkgsrc/devel/rudiments/PLIST
1.8modifypkgsrc/devel/rudiments/distinfo
1.6modifypkgsrc/devel/rudiments/patches/patch-aa
1.1addpkgsrc/devel/rudiments/patches/patch-src_charstring.cpp