pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/rudiments Update rudiments to 0.46.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/29a608c7d137
branches:  trunk
changeset: 632568:29a608c7d137
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Mon Mar 31 14:42:20 2014 +0000

description:
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

diffstat:

 devel/rudiments/Makefile                                               |    5 +-
 devel/rudiments/PLIST                                                  |  240 +++------
 devel/rudiments/distinfo                                               |   15 +-
 devel/rudiments/patches/patch-aa                                       |    8 +-
 devel/rudiments/patches/patch-include_rudiments_private_clientsocket.h |   13 -
 devel/rudiments/patches/patch-src_charstring.cpp                       |   12 +-
 devel/rudiments/patches/patch-src_xmldomnode.cpp                       |   12 +-
 7 files changed, 105 insertions(+), 200 deletions(-)

diffs (truncated from 732 to 300 lines):

diff -r ebbdccb1be10 -r 29a608c7d137 devel/rudiments/Makefile
--- a/devel/rudiments/Makefile  Mon Mar 31 14:06:44 2014 +0000
+++ b/devel/rudiments/Makefile  Mon Mar 31 14:42:20 2014 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2014/02/12 23:17:50 tron Exp $
+# $NetBSD: Makefile,v 1.26 2014/03/31 14:42:20 fhajny Exp $
 #
 
-DISTNAME=              rudiments-0.42
-PKGREVISION=           2
+DISTNAME=              rudiments-0.46
 CATEGORIES=            devel
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=rudiments/}
 
diff -r ebbdccb1be10 -r 29a608c7d137 devel/rudiments/PLIST
--- a/devel/rudiments/PLIST     Mon Mar 31 14:06:44 2014 +0000
+++ b/devel/rudiments/PLIST     Mon Mar 31 14:42:20 2014 +0000
@@ -1,15 +1,12 @@
-@comment $NetBSD: PLIST,v 1.11 2013/09/14 09:14:08 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.12 2014/03/31 14:42:20 fhajny Exp $
 bin/rudiments-config
 include/rudiments/character.h
 include/rudiments/charstring.h
 include/rudiments/chat.h
 include/rudiments/client.h
-include/rudiments/clientserverfactory.h
-include/rudiments/clientsocket.h
 include/rudiments/codetree.h
 include/rudiments/commandline.h
 include/rudiments/crypt.h
-include/rudiments/daemonprocess.h
 include/rudiments/datetime.h
 include/rudiments/device.h
 include/rudiments/dictionary.h
@@ -23,8 +20,8 @@
 include/rudiments/filesystem.h
 include/rudiments/groupentry.h
 include/rudiments/hostentry.h
-include/rudiments/inetclientsocket.h
-include/rudiments/inetserversocket.h
+include/rudiments/inetsocketclient.h
+include/rudiments/inetsocketserver.h
 include/rudiments/inetsocketutil.h
 include/rudiments/intervaltimer.h
 include/rudiments/linkedlist.h
@@ -34,7 +31,6 @@
 include/rudiments/memorypool.h
 include/rudiments/modemclient.h
 include/rudiments/modemserver.h
-include/rudiments/mutex.h
 include/rudiments/parameterstring.h
 include/rudiments/passwdentry.h
 include/rudiments/permissions.h
@@ -45,18 +41,12 @@
 include/rudiments/private/chatincludes.h
 include/rudiments/private/client.h
 include/rudiments/private/clientincludes.h
-include/rudiments/private/clientserverfactoryincludes.h
-include/rudiments/private/clientsocket.h
-include/rudiments/private/clientsocketincludes.h
 include/rudiments/private/codetree.h
 include/rudiments/private/codetreeincludes.h
 include/rudiments/private/commandline.h
 include/rudiments/private/commandlineincludes.h
 include/rudiments/private/config.h
-include/rudiments/private/crypt.h
 include/rudiments/private/cryptincludes.h
-include/rudiments/private/daemonprocess.h
-include/rudiments/private/daemonprocessincludes.h
 include/rudiments/private/datetime.h
 include/rudiments/private/datetimeincludes.h
 include/rudiments/private/device.h
@@ -65,7 +55,6 @@
 include/rudiments/private/dictionaryincludes.h
 include/rudiments/private/dictionaryinlines.h
 include/rudiments/private/dictionarynode.h
-include/rudiments/private/dictionarynodeinlines.h
 include/rudiments/private/directory.h
 include/rudiments/private/directoryincludes.h
 include/rudiments/private/dll.h
@@ -87,10 +76,10 @@
 include/rudiments/private/groupentryincludes.h
 include/rudiments/private/hostentry.h
 include/rudiments/private/hostentryincludes.h
-include/rudiments/private/inetclientsocket.h
-include/rudiments/private/inetclientsocketincludes.h
-include/rudiments/private/inetserversocket.h
-include/rudiments/private/inetserversocketincludes.h
+include/rudiments/private/inetsocketclient.h
+include/rudiments/private/inetsocketclientincludes.h
+include/rudiments/private/inetsocketserver.h
+include/rudiments/private/inetsocketserverincludes.h
 include/rudiments/private/inetsocketutil.h
 include/rudiments/private/inetsocketutilincludes.h
 include/rudiments/private/intervaltimer.h
@@ -100,8 +89,6 @@
 include/rudiments/private/linkedlistincludes.h
 include/rudiments/private/linkedlistinlines.h
 include/rudiments/private/linkedlistnode.h
-include/rudiments/private/linkedlistnodeinlines.h
-include/rudiments/private/linkedlistutil.h
 include/rudiments/private/linkedlistutilinlines.h
 include/rudiments/private/listener.h
 include/rudiments/private/listenerincludes.h
@@ -117,13 +104,13 @@
 include/rudiments/private/modemserver.h
 include/rudiments/private/modemserverincludes.h
 include/rudiments/private/modemutil.h
-include/rudiments/private/mutex.h
-include/rudiments/private/mutexincludes.h
 include/rudiments/private/parameterstring.h
 include/rudiments/private/parameterstringincludes.h
 include/rudiments/private/passwdentry.h
 include/rudiments/private/passwdentryincludes.h
+include/rudiments/private/permissions.h
 include/rudiments/private/permissionsincludes.h
+include/rudiments/private/process.h
 include/rudiments/private/processincludes.h
 include/rudiments/private/protocolentry.h
 include/rudiments/private/protocolentryincludes.h
@@ -142,8 +129,6 @@
 include/rudiments/private/serialportprofileincludes.h
 include/rudiments/private/server.h
 include/rudiments/private/serverincludes.h
-include/rudiments/private/serversocket.h
-include/rudiments/private/serversocketincludes.h
 include/rudiments/private/serviceentry.h
 include/rudiments/private/serviceentryincludes.h
 include/rudiments/private/shadowentry.h
@@ -156,19 +141,25 @@
 include/rudiments/private/signalhandler.h
 include/rudiments/private/signalset.h
 include/rudiments/private/snoozeincludes.h
+include/rudiments/private/socketclient.h
+include/rudiments/private/socketclientincludes.h
+include/rudiments/private/socketserver.h
+include/rudiments/private/socketserverincludes.h
 include/rudiments/private/stderrdestination.h
 include/rudiments/private/stdoutdestination.h
 include/rudiments/private/stringbuffer.h
 include/rudiments/private/stringbufferincludes.h
+include/rudiments/private/sys.h
+include/rudiments/private/sysincludes.h
 include/rudiments/private/syslogdestination.h
-include/rudiments/private/system.h
-include/rudiments/private/systemincludes.h
-include/rudiments/private/timezonefile.h
-include/rudiments/private/timezonefileincludes.h
-include/rudiments/private/unixclientsocket.h
-include/rudiments/private/unixclientsocketincludes.h
-include/rudiments/private/unixserversocket.h
-include/rudiments/private/unixserversocketincludes.h
+include/rudiments/private/thread.h
+include/rudiments/private/threadincludes.h
+include/rudiments/private/threadmutex.h
+include/rudiments/private/threadmutexincludes.h
+include/rudiments/private/unixsocketclient.h
+include/rudiments/private/unixsocketclientincludes.h
+include/rudiments/private/unixsocketserver.h
+include/rudiments/private/unixsocketserverincludes.h
 include/rudiments/private/unixsocketutil.h
 include/rudiments/private/unixsocketutilincludes.h
 include/rudiments/private/variablebuffer.h
@@ -191,18 +182,21 @@
 include/rudiments/serialport.h
 include/rudiments/serialportprofile.h
 include/rudiments/server.h
-include/rudiments/serversocket.h
 include/rudiments/serviceentry.h
 include/rudiments/shadowentry.h
 include/rudiments/sharedmemory.h
 include/rudiments/shmfile.h
 include/rudiments/signalclasses.h
 include/rudiments/snooze.h
+include/rudiments/socketclient.h
+include/rudiments/socketserver.h
+include/rudiments/stdio.h
 include/rudiments/stringbuffer.h
-include/rudiments/system.h
-include/rudiments/timezonefile.h
-include/rudiments/unixclientsocket.h
-include/rudiments/unixserversocket.h
+include/rudiments/sys.h
+include/rudiments/thread.h
+include/rudiments/threadmutex.h
+include/rudiments/unixsocketclient.h
+include/rudiments/unixsocketserver.h
 include/rudiments/unixsocketutil.h
 include/rudiments/variablebuffer.h
 include/rudiments/xmldom.h
@@ -228,41 +222,22 @@
 share/doc/rudiments/classes/html/classchat.html
 share/doc/rudiments/classes/html/classclient-members.html
 share/doc/rudiments/classes/html/classclient.html
-share/doc/rudiments/classes/html/classclientserverfactory-members.html
-share/doc/rudiments/classes/html/classclientserverfactory.html
-share/doc/rudiments/classes/html/classclientsocket-members.html
-share/doc/rudiments/classes/html/classclientsocket.html
 share/doc/rudiments/classes/html/classcodetree-members.html
 share/doc/rudiments/classes/html/classcodetree.html
 share/doc/rudiments/classes/html/classcommandline-members.html
 share/doc/rudiments/classes/html/classcommandline.html
-share/doc/rudiments/classes/html/classconststringdictionary-members.html
-share/doc/rudiments/classes/html/classconststringdictionary.html
-share/doc/rudiments/classes/html/classconststringdictionarylist-members.html
-share/doc/rudiments/classes/html/classconststringdictionarylist.html
-share/doc/rudiments/classes/html/classconststringdictionarylistnode-members.html
-share/doc/rudiments/classes/html/classconststringdictionarylistnode.html
-share/doc/rudiments/classes/html/classconststringdictionarynode-members.html
-share/doc/rudiments/classes/html/classconststringdictionarynode.html
 share/doc/rudiments/classes/html/classcrypt-members.html
 share/doc/rudiments/classes/html/classcrypt.html
-share/doc/rudiments/classes/html/classdaemonprocess-members.html
-share/doc/rudiments/classes/html/classdaemonprocess.html
 share/doc/rudiments/classes/html/classdatetime-members.html
 share/doc/rudiments/classes/html/classdatetime.html
 share/doc/rudiments/classes/html/classdevice-members.html
 share/doc/rudiments/classes/html/classdevice.html
 share/doc/rudiments/classes/html/classdictionary-members.html
 share/doc/rudiments/classes/html/classdictionary.html
-share/doc/rudiments/classes/html/classdictionarylist-members.html
-share/doc/rudiments/classes/html/classdictionarylist.html
-share/doc/rudiments/classes/html/classdictionarylistnode-members.html
-share/doc/rudiments/classes/html/classdictionarylistnode.html
 share/doc/rudiments/classes/html/classdictionarynode-members.html
 share/doc/rudiments/classes/html/classdictionarynode.html
 share/doc/rudiments/classes/html/classdirectory-members.html
 share/doc/rudiments/classes/html/classdirectory.html
-share/doc/rudiments/classes/html/classdirectorylisting.html
 share/doc/rudiments/classes/html/classdtd-members.html
 share/doc/rudiments/classes/html/classdtd.html
 share/doc/rudiments/classes/html/classdynamiclib-members.html
@@ -284,69 +259,45 @@
 share/doc/rudiments/classes/html/classgroupentry.html
 share/doc/rudiments/classes/html/classhostentry-members.html
 share/doc/rudiments/classes/html/classhostentry.html
-share/doc/rudiments/classes/html/classinetclientsocket-members.html
-share/doc/rudiments/classes/html/classinetclientsocket.html
-share/doc/rudiments/classes/html/classinetserversocket-members.html
-share/doc/rudiments/classes/html/classinetserversocket.html
+share/doc/rudiments/classes/html/classinetsocketclient-members.html
+share/doc/rudiments/classes/html/classinetsocketclient.html
+share/doc/rudiments/classes/html/classinetsocketserver-members.html
+share/doc/rudiments/classes/html/classinetsocketserver.html
 share/doc/rudiments/classes/html/classinetsocketutil-members.html
 share/doc/rudiments/classes/html/classinetsocketutil.html
 share/doc/rudiments/classes/html/classintervaltimer-members.html
 share/doc/rudiments/classes/html/classintervaltimer.html
-share/doc/rudiments/classes/html/classlink-members.html
-share/doc/rudiments/classes/html/classlink.html
 share/doc/rudiments/classes/html/classlinkedlist-members.html
 share/doc/rudiments/classes/html/classlinkedlist.html
 share/doc/rudiments/classes/html/classlinkedlistnode-members.html
 share/doc/rudiments/classes/html/classlinkedlistnode.html
-share/doc/rudiments/classes/html/classlinkedlistutil-members.html
-share/doc/rudiments/classes/html/classlinkedlistutil.html
 share/doc/rudiments/classes/html/classlistener-members.html
 share/doc/rudiments/classes/html/classlistener.html
 share/doc/rudiments/classes/html/classlogdestination.html
 share/doc/rudiments/classes/html/classlogger-members.html
 share/doc/rudiments/classes/html/classlogger.html
-share/doc/rudiments/classes/html/classloginrecord.html
 share/doc/rudiments/classes/html/classmath-members.html
 share/doc/rudiments/classes/html/classmath.html
 share/doc/rudiments/classes/html/classmemorymap-members.html
 share/doc/rudiments/classes/html/classmemorymap.html
 share/doc/rudiments/classes/html/classmemorypool-members.html
 share/doc/rudiments/classes/html/classmemorypool.html
-share/doc/rudiments/classes/html/classmessagequeue.html
 share/doc/rudiments/classes/html/classmodemclient-members.html
 share/doc/rudiments/classes/html/classmodemclient.html
 share/doc/rudiments/classes/html/classmodemserver-members.html
 share/doc/rudiments/classes/html/classmodemserver.html
 share/doc/rudiments/classes/html/classmodemutil-members.html
 share/doc/rudiments/classes/html/classmodemutil.html
-share/doc/rudiments/classes/html/classmutex-members.html
-share/doc/rudiments/classes/html/classmutex.html
-share/doc/rudiments/classes/html/classnetworkinterface-members.html
-share/doc/rudiments/classes/html/classnetworkinterface.html
-share/doc/rudiments/classes/html/classnetworkinterfaces-members.html
-share/doc/rudiments/classes/html/classnetworkinterfaces.html
-share/doc/rudiments/classes/html/classnumericdictionary-members.html
-share/doc/rudiments/classes/html/classnumericdictionary.html
-share/doc/rudiments/classes/html/classnumericdictionarylist-members.html
-share/doc/rudiments/classes/html/classnumericdictionarylist.html
-share/doc/rudiments/classes/html/classnumericdictionarylistnode-members.html
-share/doc/rudiments/classes/html/classnumericdictionarylistnode.html
-share/doc/rudiments/classes/html/classnumericdictionarynode-members.html
-share/doc/rudiments/classes/html/classnumericdictionarynode.html
 share/doc/rudiments/classes/html/classparameterstring-members.html
 share/doc/rudiments/classes/html/classparameterstring.html
 share/doc/rudiments/classes/html/classpasswdentry-members.html
 share/doc/rudiments/classes/html/classpasswdentry.html
 share/doc/rudiments/classes/html/classpermissions-members.html
 share/doc/rudiments/classes/html/classpermissions.html
-share/doc/rudiments/classes/html/classpipe-members.html
-share/doc/rudiments/classes/html/classpipe.html
 share/doc/rudiments/classes/html/classprocess-members.html
 share/doc/rudiments/classes/html/classprocess.html
 share/doc/rudiments/classes/html/classprotocolentry-members.html



Home | Main Index | Thread Index | Old Index