Path to this page:
Subject: CVS commit: pkgsrc/devel/rudiments
From: Filip Hajny
Date: 2014-03-31 16:42:20
Message id: 20140331144220.3B23696@cvs.netbsd.org
Log Message:
Update rudiments to 0.46.
Changelog:
0.46
- updated filedestination::open to take a permissions parameter
- added deployment projects for windows
- tweaked make.batch install target to install 32-bit files under
C:\Program Files (x86)
- wrapped waitpid() in process class
- added #define _WINSOCKAPI_ before windows.h includes to prevent
redefintion of winsock defs later
- fixed O_RDONLY detection on windows in file::openInternal
- fixed shared memory segment sizing error on windows
- fixed O_CREAT without O_EXCL bug on windows
- fixed backwards loaddependencies flag in dynamiclib for windows
- added file::eightDotThree
- added charstring::stripSet and updated charstring::strip to return
true/false if stripping occurred or not
- removed stubs for unimplemented classes
0.45
- got the directory class working on windows
- got the semaphoreset class working on windows
- implemented passwd/groupentry::getSid and an internal id-name-sid map
for windows
- removed meaningless groupentry::getPassword
- improved filesystem class implementation for Windows significantly
- added a test for the memorymap class
- got the memorymap class implementation working on Windows
- got the sharedmemory class working on windows
- added support for microseconds to the datetime class
- build-tweaks for mingw32
- added process::spawn that maps more cleanly on windows than fork/exec
- added thread class
- added send/receiveSocket methods to filedescriptor class for systems like
Windows that distinguish between sockets and other file descriptors
- improved file class implementation for Windows
- fixed a bug that caused all connect-with-timeout calls to fail
- fixed a bug that caused permissions::setFilePermissions to fail on
directories
0.44.1
- configure scripts attempts link for various _r functions now to catch
cases where they're defined in the headers but not present in the library
- tweaks for dlopen/dlsym on linux libc5
- reordered netinet/in.h and netinet/tcp.h includes for linux libc5
- configure script tweaks for OSR500
- extern "C" wrapper around sys/times.h for OSR500
- added xmldomnode::append/insertTag methods
0.44
- fixed inet_aton test to attempt link, not just compile
- fixed vsnprintf test to work on arm linux
- filedescriptor::printf now uses vdprintf, if available, if writes are not
being buffered, and vasprintf, if available, if writes are being buffered
- fixed a memory leak in filedescriptor::printf
- added multiarch detection
- applied Simon Martin's getenv-related patch to reset errno and allow
getenv to return NULL - fixed a situation where an infinte
loop could occur if getenv returned NULL and the most recent
error from another system call was EINTR
- added missing print() for const char *'s in linkedlistutils
- tweaks for OSR505
- a few xmlsax optimization fixes
- renamed *Data methods to *Value in linkedlist and dictionary classes
- removed print methods and unlikely-to-be-used static methods from
*entry classes
- refactored the static convenience methods of the *entry classes
- refactored xattr code a little to make it smaller
- removed static methods from filesystem class to make it smaller
- removed some static methods from file class to make it smaller
- removed the clientserverfactory class
- slight refactoring of linkedlist and dictionary classes
- various process class fixes for Windows
0.43
- added a workaround for platforms that don't support
blocking/non-blocking modes for sockets
- added *printf wrappers to charstring, filedescriptor and stringbuffer
classes
- added test/include for sys/signal.h for platforms that need it
- added support for uadmin with int vs. char 3rd argument
- added snooze and retry if fork fails with EAGAIN
- moved safePrint and printBits methods into the filedescriptor class
- added a test and handling for fsetxattr with non-const third parameter
- "hid openssl" by abstracting SSL types and moving includes into \
.cpp files
- fixed erroneous end-of-buffer address when creating a variablebufferis
with initial contents
- added option to disable string cache in xmldom class
- added "data" member to xmldomnode class for attaching app-specific data
- improved codetree speed
- fixed a "char" on ARM issue
- fixed a longstanding issue where variablebuffers could get extended
too much sometimes
- renamed system class to sys to avoid collisions
- added -Werror to configure-time tests for older systems where g++
doesn't return an error for an implicitly defined function
- removed the rudiments namespace for compatibility with older compilers
- replaced a bunch of unsigned long and long with [u]int(32|64)_t
- removed the timezonefile class
- renamed mutex class to threadmutex to avoid collisions
- wrapped setsid() function
- refactored and simplified dictionary and linkedlist classes
- if thread detection fails it just disables threads now rather than
erroring out
- thread support is displayed in configure summary
- refactored xmldomnnode::print() methods, added one to write to
a filedescriptor
- renamed memorypool methods malloc, calloc and free to allocate,
allocateAndClear and deallocate to avoid collisions on
platforms that define malloc and calloc using macros
- fixed lots of cases where const char *'s were being deleted
- renamed *serversocket to *socketserver
- renamed *clientsocket to *socketclient
- added 64-bit build support for Windows
- refactored daemonprocess class and moved its methods into the process class
Files: