-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog
305 lines (211 loc) · 9.37 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
2011-01-03 Werner Koch <[email protected]>
* configure.ac: Support git revision numbers.
2010-12-02 Marcus Brinkmann <[email protected]>
* w32-pth.c (w32ce_timer_thread): Oops. (Fix last change.)
2010-12-01 Marcus Brinkmann <[email protected]>
* w32-pth.c (w32ce_timer_thread): Use earliest timer, not latest.
2010-11-26 Werner Koch <[email protected]>
* w32-pth.c: Repalce all fprintf to DBGFP my _pth-debug calls.
(pth_init): Ignore a debug-level of 0.
(pth_init) [W32CE]: Open the GPG2 device.
(log_get_prefix): Remove. Change all callers.
(do_pth_write): Instrument with trace calls.
* w32-io.c (_pth_debug) [W32CE]: Use the GPG2 device.
* debug.h (dbghd) [W32CE]: New.
2010-09-01 Marcus Brinkmann <[email protected]>
* configure.ac: Define GPG_ERR_ENABLE_ERRNO_MACROS.
2010-08-06 Werner Koch <[email protected]>
* w32-pth.c (set_timer): Fix timer setting on plain windows.
Fixes regression introduced on 2010-02-25.
2010-08-02 Werner Koch <[email protected]>
Release 2.0.4.
* configure.ac: Set LT version to C2/A2/R1.
* libw32pth.def (pth_enter, pth_leave): New.
2010-07-30 Werner Koch <[email protected]>
Release 2.0.3.
* configure.ac: Set LT version to C2/A2/R0.
2010-07-21 Werner Koch <[email protected]>
* w32-pth.c (enter_leave_api_sentinel): New.
(pth_enter, pth_leave): New.
2010-04-19 Werner Koch <[email protected]>
* w32-pth.c (is_socket_2): New.
(do_pth_read, do_pth_write): Use is_socket_2.
* w32-io.c (is_socket): New.
(reader, writer): Use is_socket.
2010-04-08 Werner Koch <[email protected]>
* w32-io.c (reader, writer) [W32CE]: Take care of
ERROR_PIPE_NOT_CONNECTED.
2010-03-23 Werner Koch <[email protected]>
* w32-io.c (create_pipe) [W32CE]: Change to new driver semantics.
2010-02-26 Werner Koch <[email protected]>
* w32-pth.c (w32ce_timer_thread): Take care of an empty timer
list.
2010-02-25 Werner Koch <[email protected]>
* utils.h: New.
(set_errno): New. Always use it to change ERRNO.
* w32-io.c (pth_pipe) [W32CE]: Take care of handles being global.
(create_pipe): New. Taken from libassuan.
(pth_pipe): Use it.
* w32-pth.c: Include utils.h.
[!HAVE_SIGNAL_H]: Don't include signal.h.
(w32_read_registry, getenv) [W32CE]: New.
(destroy_timer): New.
(do_pth_event_free): Use it instead of a CloseHandle.
(w32ce_timer_thread): New.
(create_timer) [W32CE]: Add CE implementation.
(do_pth_wait) <PTH_EVENT_TIME>: Move timer setting to ...
(set_timer): New. Add code for W32CE.
(w32_strerror, wsa_strerror) [W32CE]: Do not use FormatMessage.
(create_event) [W32CE]: Don't set to synchronize.
* Makefile.am (libw32pth_la_LIBADD): Use NETLIBS.
* configure.ac [W32CE]: Require gpg-error.
(NETLIBS): New.
* configure.ac: Test for signal.h.
2010-02-24 Werner Koch <[email protected]>
* ltmain.sh (wrappers_required): Don't set for mingw32ce.
* ltmain.sh: Updated.
* autogen.sh: Modernized.
2009-12-08 Marcus Brinkmann <[email protected]>
* libw32pth.def: Add pth_cancel.
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.
2008-10-17 Marcus Brinkmann <[email protected]>
Released 2.0.2.
* configure.ac (W32PTH_LT_CURRENT, W32PTH_LT_AGE): Bump.
(W32PTH_LT_REVISION): Reset.
2008-10-15 Werner Koch <[email protected]>
* w32-pth.c (thread_counter): New.
(pth_ctrl): Return thread counters.
(launch_thread, pth_cancel, pth_abort): Track number of threads.
(pth_init): Set counter to 1.
* w32-pth.c (map_w32_to_errno): Return EPIPE.
(do_pth_write): Fix bogus error checking for WriteFile.
2008-10-13 Werner Koch <[email protected]>
* pth.h (PTH_EVENT_HANDLE): New. Note that this was orginally
implemented on 2007-11-20 but accidently not commited and thus
later lost.
* w32-pth.c (do_pth_event_body, do_pth_wait): Implement this event.
(do_pth_event_free): Do not close HD for a handle event.
2008-05-27 Werner Koch <[email protected]>
* w32-pth.c (_pth_malloc, _pth_calloc, _pth_free): New. Always
use these wrappers to be prepared to change the allocators.
2008-05-26 Werner Koch <[email protected]>
* w32-io.c (_pth_debug): Print tick, process and thread id.
* w32-pth.c (enter_pth, leave_pth): Use debug function.
* w32-pth.c (pth_thread_id): New.
* libw32pth.def (pth_thread_id): New.
2008-03-25 Marcus Brinkmann <[email protected]>
* 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.
2008-03-21 Marcus Brinkmann <[email protected]>
* pth.h (pth_usleep): New prototype.
* w32-pth.c (pth_usleep): New function.
* libw32pth.def: Add pth_usleep.
* pth.h (pth_mutex_destroy): New prototype.
* w32-pth.c (pth_mutex_destroy): New function.
* libw32pth.def: Add pth_mutex_destroy.
2008-02-15 Marcus Brinkmann <[email protected]>
* w32-pth.c (map_wsa_to_errno, map_w32_to_errno): New functions.
(do_pth_read, do_pth_write): Use these to set errno.
2008-02-12 Marcus Brinkmann <[email protected]>
* 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.
* 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.
2007-08-16 Werner Koch <[email protected]>
Released 2.0.1.
* configure.ac: Bump LT version to C0/A0/R1.
2007-08-13 Werner Koch <[email protected]>
* w32-pth.c (pth_init): Allow setting of a debug file.
2007-07-27 Marcus Brinkmann <[email protected]>
* w32-pth.c (pth_select): Reimplement in terms of pth_select_ev.
2007-07-26 Marcus Brinkmann <[email protected]>
* 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.
2007-07-20 Marcus Brinkmann <[email protected]>
* 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.
2007-07-05 Werner Koch <[email protected]>
Released 2.0.0 (first release).
2007-07-04 Werner Koch <[email protected]>
* w32-pth.c: Major rewrite of the event stuff.
2007-07-03 Werner Koch <[email protected]>
* Makefile.am (libw32pth_la_LIBADD): Use ws2_32 instead of wsock32.
2007-06-29 Werner Koch <[email protected]>
* w32-pth.c (pth_event_add): Remove.
(pth_event_concat): Correctly implement as a ring.
(do_pth_wait): Fixed bug which let us wait only on the first
event. More or less rewrote it.
(do_pth_event_occurred): Removed and repalced by direct call to
the STATUS field of the event.
(pth_event_status): Changed implementation to accommodate the
changed do_pth_wait.
(pth_event_status): Ditto.
2007-06-28 Werner Koch <[email protected]>
* w32-pth.c (sig_handler): Ignore the logoff and close event.
(do_pth_event_body): Properly ignore the static mode.
(do_pth_event_body): Implement PTH_EVENT_SELECT.
(wait_select_thread): New.
(pth_select_ev): Support ev_extra.
2007-06-25 Werner Koch <[email protected]>
* w32-pth.c (pth_mutex_init): Remove superfluous free.
2007-06-15 Werner Koch <[email protected]>
* autogen.sh: Use = and not == in test to be POSIXly correct.
2007-05-30 Werner Koch <[email protected]>
Package created.
* w32-pth.c, w32-pth.h: Taken from GnuPG 2.0.4
Copyright 2007, 2010 g10 Code GmbH
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
modifications, as long as this notice is preserved.
This file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.