Subject: CVS commit: pkgsrc/devel/rudiments
From: Ryo ONODERA
Date: 2015-05-19 16:12:40
Message id: 20150519141240.5425598@cvs.netbsd.org

Log Message:
Update to 0.50

Changelog:
0.50 - added dictionary::detach and dictionary::getValue(key)
        added xmldom::getNullNode()
        improved xml printing for text nodes
        signalmanager::waitForSignal(NULL) works as expected now
        updated charstring::httpEscape not to escape legal symbols
        added flush() method to stdio classes
        added detection and support for vsnprintf_s
        fixed serviceentry, protocolentry and rpcentry on windows
        updated *entry classes for NULL and uninitialization safety
        implemented filesystem::initialize(fd) for Windows
        updated filesystem::initialize() with NULL and -1 to behave in
                predictable ways now, updated documentation for them too
        abstracted _get_osfhandle calls and added an invalid parameter callback
        updated filedescriptor to use bit fields for all of its flags
        implemented file::changeOwner() for windows
        removed xattrs stuff
        removed SSL-related ifdef's from headers and implemented degenerate
                SSL routines for when SSL isn't supported
        timezone conversion works on windows now
        refactored bytebuffer and stringbuffer to be extent-based
        fixed a subtle stringbuffer with initialcontents bug
        refactored stringbuffer to use bytebuffer::write/appendFormatted
                directly instead of charstring::parseNumber
        implemented dynamicarray and staticarray classes
        refactored build process to use nmake and be compatible with many
                different versions of MS Visual Studio
        updated vsnprintf_s calls for platforms where it's not defined
        added configure test for bool and true/false and definitions for
                platforms that don't define them
        updated timed semaphore waits - if seconds or nanoseconds are negative
                then the timed wait acts like an un-timed wait
        added support for getsockopt with size_t optlen parameter
        fixed strncasecmp on windows when str2 is longer than str1
        xmlsax uses memorymap on Windows now
        fixed file::lockFile() and file::unlockFile() on Windows
        fixed charstring::printf on Solaris 2.5.1
        fixed datetime::getSystemDateAndTime() for Windows without 64-bit
                integers
        fixed potential double-CloseHandle in thread class

0.49:
Full changelog follows:

    combined passswdentry and shadowentry classes into userentry class
    updated file::sync() to use FlushFileBuffers directly
    implemented sys::sync(), reboot(), halt() and shutdown() for windows
    implemented various sys::getXXX() methods for windows
    added "detached" option to process::spawn()
    crash-related methods in process class catch SIGABRT, SIGFPE, SIGILL, \ 
SIGBUS, SIGIOT, SIGEMT and SIGSYS in addition to SIGSEGV now
    shutdown-related methods in process class catch SIGQUIT and SIGHUP in \ 
addition to SIGINT and SIGTERM now
    on windows, signal classes now support catching, sending/raising SIGABRT, \ 
SIGFPE, SIGILL, SIGINT, SIGSEGV and SIGTERM and sending/raising SIGKILL
    disabled threads outright on OSR5
    fixed threads detection for solaris 2.6
    codetree bails properly at end of string now
    fixed a break-related condition that could cause codetree to loop indefinitely
    added support for a beginning-of-line character to codetree
    added support for recursive breaks to codetree
    made charstring::compareIgnoringCase null-safe for platforms that don't have \ 
str(n)casecmp
    improved Windows support in signal classes
    -Wno-overloaded-virtual is now set when clang is used
    fixed some subtle kqueue-related bugs
    added sys/byteorder.h and htonll/ntohll for solaris 11
    fixed endian-detection macros for solaris 10 and older
    added support for SIGLARM and signalmanager::alarm() on windows
    improved windows implementation of semaphoreset
    added sys::signalsInterruptSystemCalls()
    added process::supportsFork()

Files:
RevisionActionfile
1.31modifypkgsrc/devel/rudiments/Makefile
1.15modifypkgsrc/devel/rudiments/PLIST
1.12modifypkgsrc/devel/rudiments/buildlink3.mk
1.16modifypkgsrc/devel/rudiments/distinfo
1.3modifypkgsrc/devel/rudiments/patches/patch-src_charstring.cpp
1.1addpkgsrc/devel/rudiments/patches/patch-configure