w32pth.git
5 years agoRelease 2.0.5. master w32pth-2.0.5
Werner Koch [Tue, 23 Apr 2013 16:34:32 +0000 (18:34 +0200)]
Release 2.0.5.

5 years agoAllow building with newer mingw versions.
Werner Koch [Tue, 23 Apr 2013 16:31:54 +0000 (18:31 +0200)]
Allow building with newer mingw versions.

* autogen.sh <build-w32>: Try to use i686-w64-mingw32 first.
<build-w32>: Allow VPATH build.
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Use i686-w64-mingw32.
* pth.h: Include winsock2.h instead of windows.h.  Also define
sigset_t if needed.
* w32-pth.c: Include winsock.h before windows.h.

7 years agoModify BUILD_REVISION
Werner Koch [Mon, 3 Jan 2011 13:11:14 +0000 (14:11 +0100)]
Modify BUILD_REVISION

7 years agoSupport a kind of git revision id.
Werner Koch [Mon, 3 Jan 2011 13:09:45 +0000 (14:09 +0100)]
Support a kind of git revision id.

7 years ago2010-12-02 Marcus Brinkmann <marcus@g10code.com>
Marcus Brinkmann [Wed, 1 Dec 2010 23:18:44 +0000 (23:18 +0000)]
2010-12-02  Marcus Brinkmann  <marcus@g10code.com>

* w32-pth.c (w32ce_timer_thread): Oops.

7 years ago2010-12-01 Marcus Brinkmann <marcus@g10code.com>
Marcus Brinkmann [Wed, 1 Dec 2010 14:32:20 +0000 (14:32 +0000)]
2010-12-01  Marcus Brinkmann  <marcus@g10code.com>

* w32-pth.c (w32ce_timer_thread): Use earliest timer, not latest.

7 years agoImproved debug output.
Werner Koch [Fri, 26 Nov 2010 21:38:00 +0000 (21:38 +0000)]
Improved debug output.
Changed Wince debugging

8 years ago2010-09-01 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 31 Aug 2010 22:52:35 +0000 (22:52 +0000)]
2010-09-01  Marcus Brinkmann  <marcus@g10code.de>

        * configure.ac: Define GPG_ERR_ENABLE_ERRNO_MACROS.

8 years agoFix regression
Werner Koch [Fri, 6 Aug 2010 10:25:50 +0000 (10:25 +0000)]
Fix regression

8 years agoStupid bug fix w32pth-2.0.4
Werner Koch [Mon, 2 Aug 2010 18:30:22 +0000 (18:30 +0000)]
Stupid bug fix

8 years agoPrepare a release w32pth-2.0.3
Werner Koch [Fri, 30 Jul 2010 07:45:22 +0000 (07:45 +0000)]
Prepare a release

8 years agoAdd pth_enter and pth_leave functions.
Werner Koch [Fri, 23 Jul 2010 16:17:38 +0000 (16:17 +0000)]
Add pth_enter and pth_leave functions.

8 years agoChange the way we distinguish sockets from handles
Werner Koch [Mon, 19 Apr 2010 09:26:56 +0000 (09:26 +0000)]
Change the way we distinguish sockets from handles

8 years agoUdpated
Werner Koch [Wed, 14 Apr 2010 14:32:19 +0000 (14:32 +0000)]
Udpated

8 years agoChanges for W32CE
Werner Koch [Wed, 14 Apr 2010 09:35:43 +0000 (09:35 +0000)]
Changes for W32CE

8 years agoChnage for new gpgcedev semantics
Werner Koch [Tue, 23 Mar 2010 10:20:55 +0000 (10:20 +0000)]
Chnage for new gpgcedev semantics

8 years agoFix for an empty timer list
Werner Koch [Fri, 26 Feb 2010 10:34:34 +0000 (10:34 +0000)]
Fix for an empty timer list

8 years agoPorted to Windows CE
Werner Koch [Thu, 25 Feb 2010 19:47:37 +0000 (19:47 +0000)]
Ported to Windows CE

8 years ago2009-12-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 8 Dec 2009 21:23:52 +0000 (21:23 +0000)]
2009-12-08  Marcus Brinkmann  <marcus@g10code.de>

* libw32pth.def: Add pth_cancel.

8 years ago2009-12-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 8 Dec 2009 04:01:02 +0000 (04:01 +0000)]
2009-12-08  Marcus Brinkmann  <marcus@g10code.de>

Update to libtool 2.2.6a.
* configure.ac: Invoke AC_CONFIG_MACRO_DIR.
(AC_LIBTOOL_WIN32_DLL, AC_LIBTOOL_RC): Replace by ...
(LT_PREREQ, LT_INIT, LT_LANG): ... these.
* config.guess, config.sub, install-sh, ltmain.sh:
Updated to libtool 2.2.6a.
* m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4,
m4/lt~obsolete.m4: New files from libtool 2.2.6a.
* Makefile.am (LTRCCOMPILE): Refactor with ...
(RCCOMPILE): ... this new macro.  Add $(w32pth_la_CPPFLAGS).
(SUFFIXES): Add .lo.
(.rc.o): Change to ...
(.rc.lo): ... this implicit rule.
(w32pth_res_ldflag): Removed.
(w32pth_res): Use libtool object file name here.
(install-def-file): Fix typo.
(w32pth_la_LDFLAGS): Remove w32pth_res_ldflag usage.
(w32pth_la_LIBADD): Add w32pth_res.
* depcomp, compile, INSTALL, missing: Update from automake 1.10.

10 years ago2008-10-17 Marcus Brinkmann <marcus@g10code.com>
Marcus Brinkmann [Fri, 17 Oct 2008 21:08:30 +0000 (21:08 +0000)]
2008-10-17  Marcus Brinkmann  <marcus@g10code.com>

Released 2.0.2.

* configure.ac (W32PTH_LT_CURRENT, W32PTH_LT_AGE): Bump.
(W32PTH_LT_REVISION): Reset.

10 years agoSupport thread statistics.
Werner Koch [Wed, 15 Oct 2008 13:02:18 +0000 (13:02 +0000)]
Support thread statistics.

10 years agoFixed bogus error checking so that a closed pipe is properly detected.
Werner Koch [Wed, 15 Oct 2008 10:49:31 +0000 (10:49 +0000)]
Fixed bogus error checking so that a closed pipe is properly detected.

10 years agoRe-implemented PTH_EVENT_HANDLE which was lost becuase I missed to commit
Werner Koch [Mon, 13 Oct 2008 11:32:00 +0000 (11:32 +0000)]
Re-implemented PTH_EVENT_HANDLE which was lost becuase I missed to commit
the changes back in 2007.

10 years agoNew funtion pth_thread_id.
Werner Koch [Tue, 27 May 2008 11:51:42 +0000 (11:51 +0000)]
New funtion pth_thread_id.

10 years ago2008-03-25 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 25 Mar 2008 03:45:46 +0000 (03:45 +0000)]
2008-03-25  Marcus Brinkmann  <marcus@g10code.de>

* debug.h (DEBUG_INFO, DEBUG_CALLS): New macros.
* w32-io.c (pth_pipe): Fix debug trace message.
* w32-pth.c (fd_is_socket, do_pth_read, do_pth_write): Test for
pipes first.
(do_pth_event_body): Print spec debug in hex.
(do_pth_wait): Use new debug interface, which uses EV as a tag.
Catch unhandled event type.

10 years agoUpdate.
Marcus Brinkmann [Fri, 21 Mar 2008 14:15:41 +0000 (14:15 +0000)]
Update.

10 years ago2008-03-21 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 21 Mar 2008 14:14:43 +0000 (14:14 +0000)]
2008-03-21  Marcus Brinkmann  <marcus@g10code.de>

* pth.h (pth_usleep): New prototype.
* w32-pth.c (pth_usleep): New function.
* libw32pth.def: Add pth_usleep.

10 years ago2008-03-21 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 21 Mar 2008 04:23:25 +0000 (04:23 +0000)]
2008-03-21  Marcus Brinkmann  <marcus@g10code.de>

        * pth.h (pth_mutex_destroy): New prototype.
        * w32-pth.c (pth_mutex_destroy): New function.
        * libw32pth.def: Add pth_mutex_destroy.

10 years ago2008-02-15 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 15 Feb 2008 19:05:23 +0000 (19:05 +0000)]
2008-02-15  Marcus Brinkmann  <marcus@g10code.de>

        * w32-pth.c (map_wsa_to_errno, map_w32_to_errno): New functions.
        (do_pth_read, do_pth_write): Use these to set errno.

10 years agoUpdate.
Marcus Brinkmann [Wed, 13 Feb 2008 12:53:28 +0000 (12:53 +0000)]
Update.

10 years ago2008-02-12 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 12 Feb 2008 12:50:10 +0000 (12:50 +0000)]
2008-02-12  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.in: Removed.
* w32-pth.c (NO_PTH_MODE_STATIC): New macro.  Use it everywhere
where we have to release event resources.
(spawn_helper_thread, wait_fd_thread, wait_for_fd): Removed.
(do_pth_wait): Use WSAEventSelect for sockets.

10 years agoAdd item.
Marcus Brinkmann [Tue, 12 Feb 2008 01:44:33 +0000 (01:44 +0000)]
Add item.

10 years agoNew file.
Marcus Brinkmann [Tue, 12 Feb 2008 01:41:29 +0000 (01:41 +0000)]
New file.

10 years ago2008-02-12 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 12 Feb 2008 00:53:38 +0000 (00:53 +0000)]
2008-02-12  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (libw32pth_la_SOURCES): Add debug.h, w32-io.h and
w32-io.c.
* libw32pth.def: Add pth_pipe, pth_close.
* pth.h (pth_pipe, pth_close): New prototypes.
* debug.h, w32-io.h, w32-io.c: New files.
* w32-pth.c: Include "debug.h" and "w32-io.h".
(debug_level, dbgfp): Make non-static.
(DBG_ERROR, DBG_INFO, DBG_CALLS): Moved to debug.h.
(fd_is_socket): New function.
(pth_init): Call _pth_sema_subsystem_init.
(do_pth_read): New function, supports pipes.
(pth_read_ev): Implement it.
(pth_read): Use do_pth_read.
(do_pth_write): New function, supports pipes.
(pth_write_ev): Implement it.
(pth_write): Use do_pth_write.
(do_pth_wait): Support pipes.  Use actual events waited upon when
gathering the results.  Use R instead of EV in build_fdarray
invocation.  Do not reset the event for pipes.  Add lengthy note
about remaining issues.
(do_pth_event_body): Fix type in va_arg invocation.

11 years agopost release version number bump
Werner Koch [Thu, 16 Aug 2007 10:39:42 +0000 (10:39 +0000)]
post release version number bump

11 years agoAbout to release 2.0.1 w32pth-2.0.1
Werner Koch [Thu, 16 Aug 2007 10:25:57 +0000 (10:25 +0000)]
About to release 2.0.1

11 years ago2007-07-27 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 27 Jul 2007 14:55:04 +0000 (14:55 +0000)]
2007-07-27  Marcus Brinkmann  <marcus@g10code.de>

* w32-pth.c (pth_select): Reimplement in terms of pth_select_ev.

11 years ago2007-07-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Jul 2007 19:11:47 +0000 (19:11 +0000)]
2007-07-26  Marcus Brinkmann  <marcus@g10code.de>

* libw32pth.def: Add pth_rwlock_init, pth_rwlock_acquire,
pth_rwlock_release, and pth_yield.
* pth.h (pth_yield): New prototype.
* w32-pth.c (pth_yield): New function.

11 years ago2007-07-20 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 20 Jul 2007 15:26:16 +0000 (15:26 +0000)]
2007-07-20  Marcus Brinkmann  <marcus@g10code.de>

* pth.h (PTH_RWLOCK_RD, PTH_RWLOCK_RW): New symbols.
(pth_rwlock_t): New type.
* w32-pth.c (pth_rwlock_init, pth_rwlock_acquire,
(pth_rwlock_release): New functions.

11 years ago. w32pth-2.0.0
Werner Koch [Thu, 5 Jul 2007 18:44:55 +0000 (18:44 +0000)]
.

11 years agoMajor rewrite of the event stuff.
Werner Koch [Wed, 4 Jul 2007 09:12:35 +0000 (09:12 +0000)]
Major rewrite of the event stuff.

11 years agoRewrote most of the event stuff.
Werner Koch [Fri, 29 Jun 2007 18:38:00 +0000 (18:38 +0000)]
Rewrote most of the event stuff.

11 years agoNew functions.
Werner Koch [Tue, 12 Jun 2007 13:40:50 +0000 (13:40 +0000)]
New functions.

11 years agoInitial check in
Werner Koch [Thu, 31 May 2007 10:20:37 +0000 (10:20 +0000)]
Initial check in

11 years ago.
Werner Koch [Thu, 31 May 2007 10:14:24 +0000 (10:14 +0000)]
.