1 | 2005-02-02 Hans Petter Jansson <hpj@novell.com> |
---|
2 | |
---|
3 | * src/linc-compat.h: Include <sys/types.h> before the optional stuff. |
---|
4 | Some platforms don't pull it in automatically when needed. |
---|
5 | |
---|
6 | 2005-01-28 Tor Lillqvist <tml@novell.com> |
---|
7 | |
---|
8 | * src/linc-compat.c: Rename link_socketpair() to link_pipe(), and |
---|
9 | make it cross-platform, just encapsulating pipe() on Unix. |
---|
10 | |
---|
11 | * src/linc.c: Change accordingly. |
---|
12 | |
---|
13 | * src/linc/linc-compat.h |
---|
14 | * include/linc/linc.h: Move declarations of |
---|
15 | link_map_winsock_error_to_errno() and link_pipe() to linc.h, as |
---|
16 | they are used also in GIOP. |
---|
17 | |
---|
18 | 2005-01-27 Tor Lillqvist <tml@novell.com> |
---|
19 | |
---|
20 | * src/linc-compat.h: Include <sys/utime.h> if that's where utime.h |
---|
21 | is. |
---|
22 | |
---|
23 | * src/linc-private.h (LinxUnixWatch): On Win32, the GPollFD::fd is |
---|
24 | actually a HANDLE, so keep also the original SOCKET around, and |
---|
25 | the desired socket event mask. |
---|
26 | (LINK_TEMP_FAILURE_RETRY): Split into separate macros for retrying |
---|
27 | "normal" system call API and socket API. They're different on |
---|
28 | Win32. |
---|
29 | (LINK_CLOSE_SOCKET): New macro. On Win32 uses closesocket(). |
---|
30 | |
---|
31 | * src/*.c: Adapt to above changes. Include linc-compat.h. Add more |
---|
32 | d_printf() debugging output (which normally expands to |
---|
33 | nothing). Add WinSock code. Bypass Unix-only stuff on Win32. |
---|
34 | |
---|
35 | * src/linc-debug.h: Always define CONNECTION_DEBUG on Win32 (for |
---|
36 | now while working on Win32 port). |
---|
37 | |
---|
38 | * src/linc-protocols.c: Use LINK_PROTOCOL_NEEDS_BIND for IPv4 on |
---|
39 | Win32. |
---|
40 | |
---|
41 | * src/linc-source.c: The core machinery for interfacing to the |
---|
42 | GLib main loop on Win32 is here. |
---|
43 | (link_source_prepare): Call WSAEventSelect() if the event mask |
---|
44 | (i.e., condition) has changed. |
---|
45 | (link_source_dispatch): Call WSAEnumNetworkEvents() to find out |
---|
46 | what socket event actually fired. |
---|
47 | (link_source_create_watch): Create an event to poll on in the GLib |
---|
48 | main loop. Store that in the GPollFD::fd. |
---|
49 | (link_watch_unlisten): Close the events. |
---|
50 | |
---|
51 | * src/linc.c: On Win32, instead of a pipe, use a connected TCP |
---|
52 | socket pair as the wakeup pipe. |
---|
53 | (link_init): Start WinSock. |
---|
54 | |
---|
55 | * test/test-linc.c (init_tmp): Use g_build_filename(). |
---|
56 | (create_server, create_client): On Win32 use IPv4 not UNIX |
---|
57 | sockets. |
---|
58 | (test_broken): Only if HAVE_SYS_WAIT_H. |
---|
59 | (knobble_watch): Don't use a pointer before asserting it's |
---|
60 | non-NULL. Don't g_assert() an expression with side-effects, |
---|
61 | g_assert expands to empty when compiled with G_DISABLE_ASSERT. |
---|
62 | (test_local): Don't test UNIX sockets on Win32. |
---|
63 | (test_blocking, main): For some reason the "blocking" test doesn't |
---|
64 | work on Win32, bypass for now. |
---|
65 | |
---|
66 | 2005-01-26 Gustavo J. A. M. Carneiro <gjc@gnome.org> |
---|
67 | |
---|
68 | * src/linc-protocols.c: Add missing #include <utime.h>. |
---|
69 | |
---|
70 | 2005-01-26 Tor Lillqvist <tml@novell.com> |
---|
71 | |
---|
72 | * include/linc/linc-connection.h |
---|
73 | * include/linc/linc-protocol.h: Restructure includes for Win32. |
---|
74 | |
---|
75 | * src/linc-compat.c: New file, Win32 portability functions. |
---|
76 | |
---|
77 | * src/linc-compat.h: Win32 additions, restructuring. |
---|
78 | |
---|
79 | * src/Makefile.am (bin_PROGRAMS): Don't build linc-cleanup-sockets |
---|
80 | on Win32, where there are no Unix domain sockets to clean up. Add |
---|
81 | linc-compat.c |
---|
82 | |
---|
83 | 2004-09-27 Michael Meeks <michael@ximian.com> |
---|
84 | |
---|
85 | * src/linc-connection.c |
---|
86 | (link_connection_try_reconnect): actually |
---|
87 | unset inhibit reconnect having emitted callbacks. |
---|
88 | |
---|
89 | 2004-09-16 Michael Meeks <michael@ximian.com> |
---|
90 | |
---|
91 | * src/linc-connection.c |
---|
92 | (dispatch_callbacks_drop_lock): split out. |
---|
93 | (link_connection_state_changed_T_R): upd. |
---|
94 | (link_connection_try_reconnect): dispatch callbacks |
---|
95 | immediately if we own the default mainloop, so we don't |
---|
96 | deadlock vs. the idle handler. |
---|
97 | |
---|
98 | 2004-05-26 Padraig O'Briain <padraig.obriain@sun.com> |
---|
99 | |
---|
100 | * src/linc-private.c (LINC_TEMP_FAILURE_RETRY): Change macro to |
---|
101 | not use __extension__ which does not build on Solaris when not using |
---|
102 | gcc. |
---|
103 | * src/linc-connection.c (linc_connection_do_initiiate, |
---|
104 | link_server_accept_connection, write_data_T): Update because of |
---|
105 | change to macro LINC_TEMP_FAILURE_RETRY. |
---|
106 | * src/linc-server.c (link_server_accept_connection): Update because of |
---|
107 | change to macro LINC_TEMP_FAILURE_RETRY. |
---|
108 | |
---|
109 | Fixes bug #143129. |
---|
110 | |
---|
111 | 2004-05-21 Frank Rehberger <frehberg@gnome-de.org> |
---|
112 | |
---|
113 | * src/linc-private.h (LINC_TEMP_FAILURE_RETRY): macro retries IO |
---|
114 | operation in case of EINTR IO-error. |
---|
115 | * src/linc-connection.c (link_connection_do_initiate, |
---|
116 | link_server_accept_connection): wrap IO read/write operations with |
---|
117 | LINC_TEMP_FAILURE_RETRY |
---|
118 | |
---|
119 | 2004-03-04 Michael Meeks <michael@ximian.com> |
---|
120 | |
---|
121 | * Version 2.10.0 |
---|
122 | |
---|
123 | 2004-02-05 Michael Meeks <michael@ximian.com> |
---|
124 | |
---|
125 | * src/linc-connection.c |
---|
126 | (link_connections_close): fix - do dispose loop, |
---|
127 | don't unref things we don't own. |
---|
128 | (link_connection_finalize): add debug assertion. |
---|
129 | (link_connection_from_fd_T): dont' re-add the cnx |
---|
130 | to the list when re-trying the connect. |
---|
131 | |
---|
132 | 2004-02-04 Michael Meeks <michael@ximian.com> |
---|
133 | |
---|
134 | * Version 2.9.7 |
---|
135 | |
---|
136 | 2004-02-02 Michael Meeks <michael@ximian.com> |
---|
137 | |
---|
138 | * src/linc-private.h: include linc-debug.h here, after the |
---|
139 | glib include, instead of all elsewhere. |
---|
140 | |
---|
141 | 2004-01-14 The Written Word <bugzilla-gnome@thewrittenword.com> |
---|
142 | |
---|
143 | * src/linc-debug.h: don't assume vararg macros. |
---|
144 | |
---|
145 | * src/linc.c: include config.h |
---|
146 | |
---|
147 | 2003-12-10 Michael Meeks <michael@ximian.com> |
---|
148 | |
---|
149 | * src/linc.c (link_set_io_thread): fix warning. |
---|
150 | |
---|
151 | 2003-12-08 Michael Meeks <michael@ximian.com> |
---|
152 | |
---|
153 | * src/linc-connection.c |
---|
154 | (link_connection_exec_cnx_unref): do yet more locking. |
---|
155 | |
---|
156 | 2003-11-14 Padraig O'Briain <padraig.obriain@sun.com> |
---|
157 | * linc2/src/linc-server.c (link_server_handle_io): Add comment |
---|
158 | about change of g_error to g_warning for bug #126209. |
---|
159 | |
---|
160 | 2003-11-13 Michael Meeks <michael@ximian.com> |
---|
161 | |
---|
162 | * Version 2.9.1 |
---|
163 | |
---|
164 | 2003-11-11 Justin Schoeman <justin@expertron.co.za> |
---|
165 | |
---|
166 | * linc2/src/linc.c (link_set_io_thread): Fix command type for |
---|
167 | LINK_COMMAND_SET_IO_THREAD to use synchronous command structure. |
---|
168 | |
---|
169 | * linc2/src/linc-connection.c (link_connection_exec_cnx_unref) |
---|
170 | (link_connection_unref_unlock), linc2/src/linc-private.h, |
---|
171 | linc2/src/linc.c (cmd_is_sync) (link_dispatch_command): Move |
---|
172 | tail_unref of connection to the I/O thread to remove some shutdown |
---|
173 | races. |
---|
174 | |
---|
175 | 2003-10-24 Michael Meeks <michael@ximian.com> |
---|
176 | |
---|
177 | * src/linc.c (link_set_io_thread): don't allocate |
---|
178 | the cmd, for the synchronous command - just use |
---|
179 | the stack; thanks to Sebastian Rittau. |
---|
180 | |
---|
181 | 2003-10-10 Michael Meeks <michael@ximian.com> |
---|
182 | |
---|
183 | * src/linc-connection.c |
---|
184 | (link_connections_close): implement, and |
---|
185 | warn less. |
---|
186 | |
---|
187 | * src/linc.c (link_io_thread_fn): close |
---|
188 | connections on IO thread exit. |
---|
189 | |
---|
190 | 2003-10-09 Michael Meeks <michael@ximian.com> |
---|
191 | |
---|
192 | * src/linc.c (link_set_io_thread): only spew |
---|
193 | warning with debug enabled. |
---|
194 | |
---|
195 | 2003-08-22 Michael Meeks <michael@ximian.com> |
---|
196 | |
---|
197 | * src/cleanup.c (read_sockets): cope with opendir |
---|
198 | failure: from Debian patch. |
---|
199 | |
---|
200 | 2003-08-12 Michael Meeks <michael@ximian.com> |
---|
201 | |
---|
202 | * src/linc-source.c: staticize linc_source_watch_funcs. |
---|
203 | |
---|
204 | 2003-08-11 Michael Meeks <michael@ximian.com> |
---|
205 | |
---|
206 | * Version 2.7.6 |
---|
207 | |
---|
208 | 2003-07-30 Michael Meeks <michael@ximian.com> |
---|
209 | |
---|
210 | * src/linc-protocols.c (link_protocol_get_sockinfo_irda) |
---|
211 | (link_protocol_get_sockaddr_irda): bin. |
---|
212 | (irda_getnameinfo, irda_getaddrinfo, irda_find_device): bin. |
---|
213 | |
---|
214 | 2003-07-29 Michael Meeks <michael@ximian.com> |
---|
215 | |
---|
216 | * src/linc.c (link_mutex_is_locked): substantially |
---|
217 | disable it except for GLIBC systems that have sensible |
---|
218 | pthreads impls. |
---|
219 | |
---|
220 | 2003-07-15 Michael Meeks <michael@ximian.com> |
---|
221 | |
---|
222 | * src/linc-connection.c (queue_free): re-order to |
---|
223 | fix warnings - thanks to Damien Carbery. |
---|
224 | |
---|
225 | 2003-07-15 Michael Meeks <michael@ximian.com> |
---|
226 | |
---|
227 | * Version 2.7.3 |
---|
228 | |
---|
229 | 2003-07-14 Michael Meeks <michael@ximian.com> |
---|
230 | |
---|
231 | * src/linc-connection.c (link_connection_state_changed_T_R): |
---|
232 | free the write queue on disconnect. |
---|
233 | |
---|
234 | 2003-07-11 Michael Meeks <michael@ximian.com> |
---|
235 | |
---|
236 | * src/linc-connection.c (link_connection_wait_connected_T): split |
---|
237 | (link_connection_wait_connected): from here. |
---|
238 | (link_connection_try_reconnect): impl. |
---|
239 | (link_connection_from_fd_T): free previous values. |
---|
240 | (link_connection_broken_idle): unset inhibit_reconnect. |
---|
241 | (link_connection_state_changed_T_R): set inhibit_reconnect. |
---|
242 | |
---|
243 | 2003-07-10 George Lebl <jirka@5z.com> |
---|
244 | |
---|
245 | * src/linc-connection.c |
---|
246 | (link_connection_remove_broken_cb): fix leak. |
---|
247 | |
---|
248 | 2003-07-09 Michael Meeks <michael@ximian.com> |
---|
249 | |
---|
250 | * test/test-linc.c (test_connected): impl. |
---|
251 | |
---|
252 | * src/linc-connection.c (link_connection_wait_connected): |
---|
253 | use link_wait, and work for threading cases. |
---|
254 | |
---|
255 | * src/linc.c (link_wait, link_signal): impl. |
---|
256 | |
---|
257 | 2003-07-08 Michael Meeks <michael@ximian.com> |
---|
258 | |
---|
259 | * src/linc.c (link_set_io_thread): move set of |
---|
260 | (link_exec_set_io_thread): is_io_in_thread to here - so we |
---|
261 | can't race elsewhere. |
---|
262 | |
---|
263 | 2003-06-29 Dave Camp <dave@ximian.com> |
---|
264 | |
---|
265 | * src/linc-connection.c (link_connection_broken_idle): Pass |
---|
266 | bc->user_data to the callback rather than l->data. |
---|
267 | |
---|
268 | 2003-06-28 Dave Camp <dave@ximian.com> |
---|
269 | |
---|
270 | * src/linc-connection.c (link_connection_remove_broken_cb): Fixed |
---|
271 | the g_slist_delete_link() call. |
---|
272 | |
---|
273 | 2003-06-24 Michael Meeks <michael@ximian.com> |
---|
274 | |
---|
275 | * src/linc-connection.c |
---|
276 | (link_connection_add_broken_cb, link_connection_remove_broken_cb): |
---|
277 | impl. so we can emit 'broken' at idle. |
---|
278 | (link_connection_broken_idle): impl. |
---|
279 | (link_connection_finalize): upd. |
---|
280 | (link_connection_state_changed_T_R): upd. |
---|
281 | |
---|
282 | 2003-06-19 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> |
---|
283 | |
---|
284 | * include/linc/linc-config.h: Removed this file; it is generated |
---|
285 | from linc-config.h.in. |
---|
286 | |
---|
287 | 2003-06-09 Michael Meeks <michael@ximian.com> |
---|
288 | |
---|
289 | * src/linc-connection.c |
---|
290 | (link_connection_class_state_changed): fold this into |
---|
291 | (link_connection_state_changed_T): here, so we can call |
---|
292 | the sub-classed impl. without the lock held. |
---|
293 | (link_connection_class_init): upd. |
---|
294 | (link_connection_state_changed_T_R): rename & drop lock. |
---|
295 | |
---|
296 | 2003-06-04 Michael Meeks <michael@ximian.com> |
---|
297 | |
---|
298 | * src/linc-connection.c (link_connection_initiate): |
---|
299 | fix a truly stupid list traversal bug. |
---|
300 | |
---|
301 | 2003-06-04 Michael Meeks <michael@ximian.com> |
---|
302 | |
---|
303 | * src/linc-connection.c |
---|
304 | (link_connection_exec_set_condition): only take lock |
---|
305 | if not immediate. |
---|
306 | (link_connection_unref_T_): impl. |
---|
307 | (link_connection_exec_set_condition): use it in |
---|
308 | the immediate case. |
---|
309 | (link_connection_unref_unlock): split out from |
---|
310 | (link_connection_unref): here, and use all over. |
---|
311 | |
---|
312 | * src/linc.c (link_dispatch_command): add / propagate |
---|
313 | the immediate flag. |
---|
314 | |
---|
315 | * src/linc-source.c (link_io_add_watch_fd): |
---|
316 | always add to the main_source in non thread_io mode. |
---|
317 | (link_watch_unlisten): beef up. |
---|
318 | |
---|
319 | * src/linc-protocols.c, |
---|
320 | * test/test-linc.c: fix Linc->Link sanfu's - |
---|
321 | autotools dependency tracking gets progressively |
---|
322 | more wonderful. |
---|
323 | |
---|
324 | 2003-06-03 Michael Meeks <michael@ximian.com> |
---|
325 | |
---|
326 | * src/*.[ch]: update to get_thread_safe. |
---|
327 | |
---|
328 | * src/linc.c (link_get_threaded): bin it. |
---|
329 | (link_thread_io, link_thread_safe): replace |
---|
330 | with these. |
---|
331 | (link_mutex_new): bin link_mutex_new_called etc. |
---|
332 | (link_main_idle_add): bin - unused. |
---|
333 | (link_main_get_loop): bin it. |
---|
334 | |
---|
335 | * src/linc-connection.c (queue_flattened_T_R): |
---|
336 | only update the poll if we didn't have a queue |
---|
337 | already; remove assert. |
---|
338 | |
---|
339 | 2003-06-03 Michael Meeks <michael@ximian.com> |
---|
340 | |
---|
341 | * src/linc-source.c (link_watch_unlisten): split |
---|
342 | (link_io_remove_watch): from here. |
---|
343 | (link_watch_move_io): impl. |
---|
344 | |
---|
345 | * src/linc.c (linc_exec_set_io_thread): |
---|
346 | call the hooks. |
---|
347 | |
---|
348 | * src/linc-connection.c |
---|
349 | (link_connections_move_io_T): impl. |
---|
350 | |
---|
351 | * src/linc-server.c: s/cnx/srv/ for servers. |
---|
352 | (link_server_dispose, link_server_setup): manage |
---|
353 | server_list. (link_servers_move_io_T): impl. |
---|
354 | |
---|
355 | * src/linc-connection.c |
---|
356 | (link_connection_initiate_list): check was_initiated. |
---|
357 | Track all connections on cnx_list. |
---|
358 | (link_connection_from_fd_T): prepend to list here. |
---|
359 | (link_connection_initiate): and not here. |
---|
360 | |
---|
361 | 2003-06-03 Michael Meeks <michael@ximian.com> |
---|
362 | |
---|
363 | * src/linc-server.c |
---|
364 | (link_server_accept_connection): upd. |
---|
365 | |
---|
366 | * src/linc-connection.c |
---|
367 | (link_connection_initiate): internalize and rename |
---|
368 | to (link_connection_do_initiate). |
---|
369 | (link_connection_initiate): rename from initiate_list. |
---|
370 | |
---|
371 | * src/linc.c (link_init): upd. |
---|
372 | (link_lock, link_unlock): face reality - |
---|
373 | a global lock for everything. |
---|
374 | |
---|
375 | * src/linc-connection.c |
---|
376 | (_link_connection_thread_init): bin it. |
---|
377 | |
---|
378 | * src/linc.c (cmd_is_sync): impl. |
---|
379 | (link_exec_command): impl. sync methods. |
---|
380 | (link_init): create condition. |
---|
381 | (linc_exec_set_io_thread): stub. |
---|
382 | (link_set_io_thread): stub. |
---|
383 | |
---|
384 | 2003-06-02 Michael Meeks <michael@ximian.com> |
---|
385 | |
---|
386 | * test/test-linc.c (verify_addr_is_loopback): |
---|
387 | don't fail with loopback reverselookup. |
---|
388 | |
---|
389 | * src/linc-source.c (link_io_add_watch): |
---|
390 | bin / privatize, all done by fd now. |
---|
391 | (link_io_remove_watch): privatize. |
---|
392 | |
---|
393 | * src/linc.c: bin deprecated bits. |
---|
394 | (link_set_threaded): bin. |
---|
395 | |
---|
396 | 2003-05-31 Michael Meeks <michael@ximian.com> |
---|
397 | |
---|
398 | * src/Makefile.am (noinst_LTLIBRARIES): don't |
---|
399 | install the library (doh). |
---|
400 | |
---|
401 | 2003-05-23 Michael Meeks <michael@ximian.com> |
---|
402 | |
---|
403 | * src/linc-connection.c: add _R suffix to methods, |
---|
404 | assuming a reference is held. |
---|
405 | (linc_connection_from_fd_T): split from. |
---|
406 | (linc_connection_from_fd): here. |
---|
407 | (linc_connection_initiate): use it. |
---|
408 | (linc_connection_class_init): don't create locks here |
---|
409 | (_linc_connection_thread_init): do them here. |
---|
410 | |
---|
411 | * src/linc.c (linc_init): use it. |
---|
412 | |
---|
413 | * src/linc.c (linc_object_unref, linc_object_ref), |
---|
414 | (linc_object_get_mutex): deprecated |
---|
415 | (linc_idle_unref, linc_fast_unref): bin. |
---|
416 | |
---|
417 | * src/linc-connection.c (linc_connection_unref) |
---|
418 | (linc_connection_ref): handle weak refs nicely. |
---|
419 | (linc_connection_initiate_list): impl. |
---|
420 | |
---|
421 | 2003-05-22 Michael Meeks <michael@ximian.com> |
---|
422 | |
---|
423 | * src/linc-connection.c (queue_signal_T): drop lock |
---|
424 | over the signal emission. |
---|
425 | (linc_connection_class_state_changed): ditto. |
---|
426 | (linc_connection_exec_set_condition): actually use |
---|
427 | the passed in I/O condition. (thanks AlexL) |
---|
428 | |
---|
429 | 2003-05-21 Michael Meeks <michael@ximian.com> |
---|
430 | |
---|
431 | * src/linc-connection.c (linc_connection_io_handler): |
---|
432 | drop the lock over the handle_input emission. |
---|
433 | (linc_connection_state_changed_T): split out from |
---|
434 | (linc_connection_state_changed): here & upd. |
---|
435 | Add a _T suffix to lots of methods that assume the |
---|
436 | lock is held. |
---|
437 | (linc_connection_exec_disconnect): clean. |
---|
438 | (linc_connection_read): take / release the cnx. lock. |
---|
439 | |
---|
440 | * src/linc.c (linc_in_io_thread): fix horrors. |
---|
441 | (linc_object_unref): use it instead of the same hack; |
---|
442 | thanks to Alex L. |
---|
443 | |
---|
444 | 2003-05-12 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> |
---|
445 | |
---|
446 | * MAINTAINERS: Declare myself as documentation maintainer. |
---|
447 | |
---|
448 | 2003-05-03 Michael Meeks <michael@ximian.com> |
---|
449 | |
---|
450 | * Version 1.1.1 |
---|
451 | |
---|
452 | 2003-04-29 Michael Meeks <michael@ximian.com> |
---|
453 | |
---|
454 | * src/linc.c (linc_io_thread_fn): hold lock over |
---|
455 | wake fd shutdown. |
---|
456 | (linc_exec_command): if the pipe is shut, then just |
---|
457 | exec the command in-line (server shutdown condition). |
---|
458 | |
---|
459 | 2003-04-28 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net> |
---|
460 | |
---|
461 | * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Added --enable-gtk-doc. |
---|
462 | |
---|
463 | * docs/tmpl/linc-config.sgml: Added this file. Document |
---|
464 | LINC_SSL_SUPPORT. |
---|
465 | |
---|
466 | * docs/linc-docs.sgml: Replace header with the docbook-4.1.2/xml |
---|
467 | one. Removed the "linc" chapter, so that the section entries |
---|
468 | become toplevel instead. Added the linc-config section. |
---|
469 | |
---|
470 | * docs/linc-sections.txt: Removed LINCProtocolInfo from section |
---|
471 | linc-types, since it is already present in section linc-protocol. |
---|
472 | Made the macro LINC_SSL_SUPPORT, in the linc-config section, appear. |
---|
473 | |
---|
474 | * autogen.sh: Source system's gnome-autogen.sh instead of doing |
---|
475 | our own checks. |
---|
476 | |
---|
477 | * docs/Makefile.am: Replaced the boilerplate gtk-doc makefile |
---|
478 | section with include $(top_srcdir)/gtk-doc.make. |
---|
479 | (MKDB_OPTIONS): Added --sgml-mode --output-format=xml. |
---|
480 | |
---|
481 | * configure.in: Replace the gtk-doc check with the macro |
---|
482 | GTK_DOC_CHECK. |
---|
483 | |
---|
484 | 2003-04-24 Michael Meeks <michael@ximian.com> |
---|
485 | |
---|
486 | * src/linc-connection.c |
---|
487 | (linc_connection_wait_connected): impl. |
---|
488 | (linc_connection_writev): use it here. |
---|
489 | (linc_connection_io_handler): handle the just connected |
---|
490 | => start flush queued writes case. |
---|
491 | |
---|
492 | 2003-04-21 Michael Meeks <michael@ximian.com> |
---|
493 | |
---|
494 | * src/linc.c (linc_exec_command): handle EINTR. |
---|
495 | (linc_exec_command): dispatch commands immediately |
---|
496 | if not in threading mode. |
---|
497 | (linc_mainloop_handle_input): split out |
---|
498 | (linc_dispatch_command): the dispatch. |
---|
499 | |
---|
500 | 2003-04-19 Michael Meeks <michael@ximian.com> |
---|
501 | |
---|
502 | * src/linc-connection.c (linc_connection_exec_disconnect) |
---|
503 | (queue_flattened, linc_connection_exec_set_condition): impl. |
---|
504 | |
---|
505 | * src/linc.c (linc_io_thread_fn, linc_init): move |
---|
506 | the I/O thread instantiation in here. |
---|
507 | (linc_shutdown, linc_exec_command): impl. |
---|
508 | (linc_mainloop_handle_input): mux. commands. |
---|
509 | |
---|
510 | * src/linc-connection.c (linc_connection_read), |
---|
511 | assert locked on read, re-factor exit. |
---|
512 | (linc_connection_flush_write_queue): bin locking. |
---|
513 | (linc_connection_class_init): bin crack-pot complex |
---|
514 | locking schemes, and go for a big global lock. |
---|
515 | (linc_connection_finalize): bin lock init/destroy. |
---|
516 | (linc_connection_flush_write_queue_cb): bin it. |
---|
517 | (linc_connection_disconnect): impl. |
---|
518 | |
---|
519 | * src/linc-server.c (linc_server_init, linc_server_handle_io) |
---|
520 | (linc_server_dispose): bin curious mutex; all happens in I/O |
---|
521 | thread anyway. |
---|
522 | |
---|
523 | * src/linc.c (linc_mutex_is_locked): impl. for debug. |
---|
524 | |
---|
525 | 2003-04-18 Michael Meeks <michael@ximian.com> |
---|
526 | |
---|
527 | * src/linc-connection.c (linc_connection_io_handler) |
---|
528 | (queue_signal): use linc_object_ref/unref. |
---|
529 | (linc_connection_get_status): impl. |
---|
530 | (linc_connection_flush_write_queue_cb): lock/unlock cnx. |
---|
531 | (linc_connection_state_changed): assert unlocked, and in |
---|
532 | main thread. |
---|
533 | (linc_connection_from_fd): hold the lock while operating. |
---|
534 | |
---|
535 | * src/linc-server.c (linc_server_dispose): ditto. |
---|
536 | |
---|
537 | 2003-04-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp> |
---|
538 | |
---|
539 | * configure.in: call AC_PROG_CC earlier. because AM_PROG_LIBTOOL |
---|
540 | needs it on some platforms. |
---|
541 | |
---|
542 | * configure.in: call AC_LIBTOOL_WIN32_DLL and add check for |
---|
543 | arpa/nameser.h and resolv.h. |
---|
544 | |
---|
545 | * src/Makefile.am: add -no-undefined to liblinc_la_LDFLAGS. |
---|
546 | |
---|
547 | * src/linc-protocols.c, src/linc-compat.h: make them work even if |
---|
548 | arpa/nameser.h and resolv.h are not available. |
---|
549 | |
---|
550 | * src/linc-protocols.c (make_local_tmpdir): disable permission |
---|
551 | checking on Cygwin. |
---|
552 | |
---|
553 | * linc-1.1.0/test/test-linc.c (init_tmp): use g_get_user_name() |
---|
554 | instead of g_getenv("USER"). |
---|
555 | |
---|
556 | 2003-04-15 Michael Meeks <michael@ximian.com> |
---|
557 | |
---|
558 | * src/linc-protocols.c (linc_protocol_get_sockinfo_ipv6): |
---|
559 | consistantly use GETNAMEINFO don't mix GETADDRINFO. |
---|
560 | |
---|
561 | 2003-04-13 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp> |
---|
562 | |
---|
563 | * src/linc-protocols.c (linc_protocol_get_sockaddr_unix): fix to |
---|
564 | include path's terminating '\0' into *saddr_len count. |
---|
565 | |
---|
566 | 2003-04-10 Michael Meeks <michael@ximian.com> |
---|
567 | |
---|
568 | * Thanks to mmokrejs@natur.cuni.cz for the |
---|
569 | excellent report. |
---|
570 | |
---|
571 | * src/linc-protocols.c |
---|
572 | (linc_protocol_is_local_ipv46): explicitely |
---|
573 | cast h_addr_list[n] to a guint8 * to please OSF/1. |
---|
574 | (in6_addr): break the Mac OS/X brain-damage hack-around, |
---|
575 | this needs to be specific to Mac only - it was |
---|
576 | breaking OSF/1. |
---|
577 | |
---|
578 | * src/linc-connection.c (write_data): |
---|
579 | cast iovec->iov_base to guchar * for OSF/1 |
---|
580 | True64 Unix. |
---|
581 | |
---|
582 | * src/linc-debug.h: bin bogus ';' on |
---|
583 | static inline d_printf fallback. |
---|
584 | |
---|
585 | 2003-04-03 Michael Meeks <michael@ximian.com> |
---|
586 | |
---|
587 | * src/linc-connection.c |
---|
588 | (linc_connection_flush_write_queue): fix dofus |
---|
589 | like write locking leak of mine. |
---|
590 | |
---|
591 | 2003-04-01 Michael Meeks <michael@ximian.com> |
---|
592 | |
---|
593 | * src/linc-connection.c |
---|
594 | (linc_connection_finalize): free write lock |
---|
595 | here and not in dispose. |
---|
596 | |
---|
597 | 2003-03-31 Michael Meeks <michael@ximian.com> |
---|
598 | |
---|
599 | * src/linc-connection.c |
---|
600 | (linc_connection_flush_write_queue_cb): only |
---|
601 | try to flush the write queue if we're not still |
---|
602 | connecting. |
---|
603 | |
---|
604 | * src/linc-compat.h: if we don't have UNIX_PATH_MAX it |
---|
605 | is 100. |
---|
606 | |
---|
607 | * src/linc-protocols.c (linc_protocol_get_sockaddr_unix): |
---|
608 | use LINC_UNIX_PATH_MAX, not 64 for the static buffer size |
---|
609 | |
---|
610 | 2003-03-29 Michael Meeks <michael@ximian.com> |
---|
611 | |
---|
612 | * src/linc-connection.c (linc_connection_writev) |
---|
613 | (linc_connection_init, linc_connection_io_handler) |
---|
614 | (linc_connection_dispose): use the write_lock mutex |
---|
615 | to protect the write_queue. |
---|
616 | (queue_signal): drop it over signal emission (clearly) |
---|
617 | (linc_connection_flush_write_queue): split out of |
---|
618 | (linc_connection_io_handler): here. |
---|
619 | |
---|
620 | 2003-03-25 Michael Meeks <michael@ximian.com> |
---|
621 | |
---|
622 | * Version 1.1.0 |
---|
623 | |
---|
624 | 2003-03-18 Shailesh Mittal <shailesh.mittal@wipro.com> |
---|
625 | |
---|
626 | * configure.in: |
---|
627 | Added checks for getaddrinfo() and getnameinfo(). |
---|
628 | |
---|
629 | * src/linc-connection.c (linc_connection_initiate): |
---|
630 | Modified so now it falls back to IPv4 if IPv6 address |
---|
631 | is not there. |
---|
632 | |
---|
633 | * src/linc-protocols.c |
---|
634 | (linc_protocol_is_local_ipv46):It has been modified |
---|
635 | in such a fashion that it works for IPv6 addresses as well. |
---|
636 | gethostbyname doesn't produce right results on all systems. |
---|
637 | (linc_protocol_get_sockaddr_ipv6):Also modified to work |
---|
638 | with IPv6 addresses. |
---|
639 | (linc_protocol_get_sockinfo_ipv46):Signature changed. |
---|
640 | Added const char *host in place of struct hostent *host as |
---|
641 | the gethostbyname has been called twice for the same operation. |
---|
642 | (linc_protocol_get_sockinfo_ipv4):char *hname is passed |
---|
643 | in place of struct hostent to call for get_sockinfo_ipv46. |
---|
644 | (linc_protocol_get_sockinfo_ipv6):Modified to support IPv6 |
---|
645 | addresses and char * is passed to linc_protocol_is_local_ipv46 |
---|
646 | in place of struct hostent *. |
---|
647 | |
---|
648 | 2002-10-30 Michael Meeks <michael@ximian.com> |
---|
649 | |
---|
650 | * src/linc-source.c (linc_io_add_watch_fd): |
---|
651 | don't add a watch to the main thread if |
---|
652 | running in threaded mode. |
---|
653 | |
---|
654 | * src/linc.c (linc_get_threaded): impl. |
---|
655 | (linc_set_threaded): spew deprecated |
---|
656 | warnings. |
---|
657 | |
---|
658 | * docs/linc-decl-list.txt: don't mention |
---|
659 | linc_set_threaded. |
---|
660 | |
---|
661 | 2002-10-31 Michael Meeks <michael@ximian.com> |
---|
662 | |
---|
663 | * include/linc/linc-source.h: add. |
---|
664 | |
---|
665 | * include/linc/Makefile.am: add linc-source.h |
---|
666 | |
---|
667 | * src/linc-source.c |
---|
668 | (linc_source_set_condition): upd. prototype. |
---|
669 | (linc_source_create_watch): upd & expose. |
---|
670 | (linc_io_remove_watch): upd. |
---|
671 | (linc_watch_set_condition): upd. |
---|
672 | |
---|
673 | 2002-11-29 Michael Meeks <michael@ximian.com> |
---|
674 | |
---|
675 | * src/linc-source.c (linc_io_add_watch): |
---|
676 | don't add a main watch if threaded. |
---|
677 | (linc_io_remove_watch): don't destroy a |
---|
678 | NULL main_source. |
---|
679 | |
---|
680 | * src/linc.c (linc_object_unref): do an |
---|
681 | idle unref (in the linc mainloop) if we're |
---|
682 | threaded, and it's the last ref. |
---|
683 | (linc_fast_unref): split. |
---|
684 | (linc_idle_unref): impl. |
---|
685 | |
---|
686 | 2002-10-24 Michael Meeks <michael@ximian.com> |
---|
687 | |
---|
688 | * src/linc.c (linc_object_unref): handle the |
---|
689 | last ref sanely, so we don't deadlock doing |
---|
690 | subsequent unrefs. |
---|
691 | |
---|
692 | 2003-01-21 Michael Meeks <michael@ximian.com> |
---|
693 | |
---|
694 | * src/linc-server.c (linc_server_setup): |
---|
695 | setup the listening socket as non-blocking [!] |
---|
696 | (linc_server_handle_io): quite why we emit |
---|
697 | a signal in this case is rather beyond me, |
---|
698 | hopefully that code-path is somewhat tested. |
---|
699 | |
---|
700 | 2003-01-09 Michael Meeks <michael@ximian.com> |
---|
701 | |
---|
702 | * configure.in: bump version to 1.1.0 |
---|
703 | |
---|
704 | * Branch for gnome-2-2 |
---|
705 | |
---|
706 | 2002-12-28 Michael Meeks <michael@ximian.com> |
---|
707 | |
---|
708 | * Version 0.7.1 |
---|
709 | |
---|
710 | 2002-12-09 Michael Meeks <michael@ximian.com> |
---|
711 | |
---|
712 | * src/linc-protocols.c (linc_protocol_get_sockaddr_unix): |
---|
713 | finally - scuppered by my own undefined test in gcc ;-) |
---|
714 | |
---|
715 | 2002-12-09 Laurent Vivier <Laurent.Vivier@bull.net> |
---|
716 | |
---|
717 | * src/linc-connection.c (LINC_IOV_MAX): re-order |
---|
718 | mess of compatibility evilness to move glibc's |
---|
719 | UIO_MAXIOV down, since this is something else on |
---|
720 | AIX (which has IOV_MAX). |
---|
721 | |
---|
722 | 2002-11-21 Dan Mills <thunder@ximian.com> |
---|
723 | |
---|
724 | * configure.in: fix two typoes: pango -> linc, and change spaces |
---|
725 | to a tab in the IFS assignment. |
---|
726 | |
---|
727 | 2002-11-21 Dan Mills <thunder@ximian.com> |
---|
728 | |
---|
729 | * configure.in: fix gtk-doc version check. |
---|
730 | |
---|
731 | 2002-11-02 Michael Meeks <michael@ximian.com> |
---|
732 | |
---|
733 | * test/test-linc.c |
---|
734 | (test_broken_cnx_handle_input): disconnect |
---|
735 | on fatal error. |
---|
736 | |
---|
737 | 2002-10-24 Michael Meeks <michael@ximian.com> |
---|
738 | |
---|
739 | * src/linc.c (linc_object_unref): handle the |
---|
740 | last ref sanely, so we don't deadlock doing |
---|
741 | subsequent unrefs. |
---|
742 | |
---|
743 | 2002-10-18 Michael Meeks <michael@ximian.com> |
---|
744 | |
---|
745 | * Version 0.7.0 |
---|
746 | |
---|
747 | 2002-10-14 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> |
---|
748 | |
---|
749 | * src/linc-protocols.c (linc_set_tmpdir), |
---|
750 | (linc_protocol_get_sockaddr_unix), |
---|
751 | (linc_get_tmpdir): use dynamic allocation for |
---|
752 | linc_tmpdir to avoid PATH_MAX issues. |
---|
753 | |
---|
754 | 2002-09-24 Michael Meeks <michael@ximian.com> |
---|
755 | |
---|
756 | * configure.in: bump to 0.7.0 - odd, and bigger. |
---|
757 | |
---|
758 | * src/linc-connection.c (linc_connection_read): |
---|
759 | don't be daft, don't emit a signal on fatal IO |
---|
760 | error at 0 read EOF, or we'll get into locking |
---|
761 | hell elsewhere. |
---|
762 | |
---|
763 | 2002-08-23 Elliot Lee <sopwith@redhat.com> |
---|
764 | |
---|
765 | * src/linc-protocols.c (linc_protocol_get_sockaddr_ipv4): Don't |
---|
766 | turn on IPv6 name resolution when we are trying to resolve an IPv4 |
---|
767 | host name - instead, turn it off. Also try to make use of all |
---|
768 | addresses that gethostbyname returns, not just the first. (Fixes a |
---|
769 | bug with connecting to a host that has both IPv6 and IPv4 |
---|
770 | addresses.) |
---|
771 | |
---|
772 | 2002-08-23 Michael Meeks <michael@ximian.com> |
---|
773 | |
---|
774 | * Version 0.5.3 |
---|
775 | |
---|
776 | 2002-08-18 Havoc Pennington <hp@pobox.com> |
---|
777 | |
---|
778 | * autogen.sh: hardcode aclocal-1.4/automake-1.4 so that users with |
---|
779 | both automake 1.6 and 1.4 installed get the right automake. Means |
---|
780 | compilation from CVS will now require the latest automake 1.4 |
---|
781 | release, or manually creating symlinks called "automake-1.4" and |
---|
782 | "aclocal-1.4" |
---|
783 | |
---|
784 | 2002-08-05 Laurent Vivier <Laurent.Vivier@bull.net> |
---|
785 | |
---|
786 | * include/linc/linc-connection.h: sanitize remote_info |
---|
787 | to gchar * |
---|
788 | |
---|
789 | 2002-08-05 Michael Meeks <michael@ximian.com> |
---|
790 | |
---|
791 | * Version 0.5.2 |
---|
792 | |
---|
793 | 2002-07-31 jacob berkman <jacob@ximian.com> |
---|
794 | |
---|
795 | * src/linc-connection.c (LINC_IOV_MAX): bump to 1024 on os x, as |
---|
796 | the macros isn't defined unless we are defining KERNEL, which we |
---|
797 | aren't |
---|
798 | |
---|
799 | 2002-07-31 Michael Meeks <michael@ximian.com> |
---|
800 | |
---|
801 | * test/test-linc.c (test_hosts_lookup): regression test. |
---|
802 | (verify_addr_is_loopback): split out. |
---|
803 | |
---|
804 | * configure.in: add inet_pton check. |
---|
805 | |
---|
806 | * src/linc-protocols.c (linc_protocol_get_sockaddr_ipv4): |
---|
807 | do a dotted quad type lookup first. |
---|
808 | (linc_protocol_get_sockaddr_ipv6): add inet_pton - raw IPv6 |
---|
809 | addr translation |
---|
810 | |
---|
811 | * src/linc-compat.h (INADDR_NONE): for broken systems. |
---|
812 | |
---|
813 | 2002-07-25 Yanko Kaneti <yaneti@declera.com> |
---|
814 | |
---|
815 | * test/test-linc.c: include "linc-compat.h" for ehm.. compatibilty. |
---|
816 | |
---|
817 | 2002-07-24 Michael Meeks <michael@ximian.com> |
---|
818 | |
---|
819 | * Version 0.5.1 |
---|
820 | |
---|
821 | 2002-06-19 Michael Meeks <michael@ximian.com> |
---|
822 | |
---|
823 | * test/test-linc.c (test_local_ipv4): upd. |
---|
824 | (test_hosts_lookup, test_host): impl |
---|
825 | |
---|
826 | * src/linc-protocols.c (linc_get_local_hostname): |
---|
827 | rename from get_local_hostname & make module public. |
---|
828 | |
---|
829 | * src/linc-server.c (linc_server_setup): upd. to use it. |
---|
830 | |
---|
831 | * src/linc-connection.c |
---|
832 | (linc_connection_initiate, linc_close_fd): handle EINTR |
---|
833 | on close. |
---|
834 | |
---|
835 | * src/linc-protocols.c (irda_find_device), |
---|
836 | (linc_protocol_destroy_addr), |
---|
837 | (linc_protocol_destroy_cnx): ditto. |
---|
838 | |
---|
839 | * src/linc-server.c (linc_server_dispose), |
---|
840 | (linc_server_accept_connection): ditto. |
---|
841 | |
---|
842 | * src/linc-protocols.c (irda_getaddrinfo): |
---|
843 | use g_strncpy not strcpy. |
---|
844 | |
---|
845 | 2002-06-18 Michael Meeks <michael@ximian.com> |
---|
846 | |
---|
847 | * test/test-linc.c (test_local_ipv4): beef up & |
---|
848 | (test_local_ipv6): split out of |
---|
849 | (test_local): here. |
---|
850 | |
---|
851 | * src/linc-protocols.c |
---|
852 | (linc_protocol_get_sockaddr_ipv4): upd. |
---|
853 | (ipv4_addr_from_addr): impl. |
---|
854 | (LINC_RESOLV_CLEAR_IPV6): kill - horrible, |
---|
855 | vile, out of spec. hack. |
---|
856 | (linc_protocol_get_sockinfo_ipv46): upd. |
---|
857 | (linc_protocol_is_local_ipv46): re-re-write. |
---|
858 | |
---|
859 | 2002-06-17 Michael Meeks <michael@ximian.com> |
---|
860 | |
---|
861 | * src/linc-protocols.c |
---|
862 | (linc_protocol_get_sockaddr_unix): beef up the |
---|
863 | length of the linc socket name slightly. |
---|
864 | (linc_protocol_is_local_ipv46): fix, so it works. |
---|
865 | (cleanup_sweep): remove. |
---|
866 | (linc_protocol_get_sockaddr_unix): hack cleanup |
---|
867 | out of here. |
---|
868 | |
---|
869 | 2002-06-12 Michael Meeks <michael@ximian.com> |
---|
870 | |
---|
871 | * configure.in: bump version to 0.5.1 |
---|
872 | |
---|
873 | * src/linc-connection.c |
---|
874 | (linc_connection_read): add paranoid assertion. |
---|
875 | |
---|
876 | 2002-06-12 Michael Meeks <michael@ximian.com> |
---|
877 | |
---|
878 | * src/linc-protocols.c |
---|
879 | (linc_get_tmpdir): implement new API in |
---|
880 | accordance with release team approval for use |
---|
881 | in bonobo-activation, for it's locking / IOR |
---|
882 | exchange mechanism. |
---|
883 | |
---|
884 | * src/linc-connection.c |
---|
885 | (linc_connection_writev): split out |
---|
886 | (linc_connection_should_block): this. |
---|
887 | |
---|
888 | 2002-06-06 James M. Cape <jcape@ignore-your.tv> |
---|
889 | |
---|
890 | * include/linc/linc-connection.h |
---|
891 | (LINC_CONNECTION_CLASS): fix typo in macro #84352 |
---|
892 | |
---|
893 | 2002-05-27 Michael Meeks <michael@ximian.com> |
---|
894 | |
---|
895 | * Version 0.5.0 |
---|
896 | |
---|
897 | 2002-05-24 Michael Meeks <michael@ximian.com> |
---|
898 | |
---|
899 | * src/linc.c (linc_init): do a plain g_type_init |
---|
900 | without adding the debug_flags, they're not |
---|
901 | helping us enough for the pain. |
---|
902 | |
---|
903 | 2002-05-21 Michael Meeks <michael@ximian.com> |
---|
904 | |
---|
905 | * src/cleanup.c: make it work for the simple |
---|
906 | cases for now. |
---|
907 | |
---|
908 | 2002-05-21 Michael Meeks <michael@ximian.com> |
---|
909 | |
---|
910 | * src/Makefile.am: add linc-cleanup-sockets. |
---|
911 | |
---|
912 | * src/cleanup.c: add. |
---|
913 | |
---|
914 | * src/linc-connection.c |
---|
915 | (linc_connection_writev): make status an int, |
---|
916 | so we return the enum more pleasantly. |
---|
917 | |
---|
918 | 2002-05-20 Michael Meeks <michael@ximian.com> |
---|
919 | |
---|
920 | * Version 0.1.22 |
---|
921 | |
---|
922 | 2002-05-17 Jacob Berkman <jacob@ximian.com> |
---|
923 | |
---|
924 | * src/linc-protocols.c: check for RES_USE_INET6 for |
---|
925 | OS/X. define in6addr_any for broken Mac OS/X's. |
---|
926 | |
---|
927 | 2002-05-09 Michael Meeks <michael@ximian.com> |
---|
928 | |
---|
929 | * src/linc-protocols.c: fix 'extern' static linc_protocols |
---|
930 | bug #80955 - thanks Jean-Pierre Dion |
---|
931 | |
---|
932 | 2002-04-18 Michael Meeks <michael@ximian.com> |
---|
933 | |
---|
934 | * src/Makefile.am: add G_DISABLE_DEPRECATED |
---|
935 | |
---|
936 | 2002-04-15 Michael Meeks <michael@ximian.com> |
---|
937 | |
---|
938 | * Version 0.1.21 |
---|
939 | |
---|
940 | 2002-04-15 Michael Meeks <michael@ximian.com> |
---|
941 | |
---|
942 | * src/linc-private.h: fix prototypes, |
---|
943 | s/socklen_t/LincSockLen/ |
---|
944 | |
---|
945 | 2002-04-11 Michael Meeks <michael@ximian.com> |
---|
946 | |
---|
947 | * test/Makefile.am (test_linc_LDADD): |
---|
948 | add various libs. |
---|
949 | |
---|
950 | 2002-04-10 Michael Meeks <michael@ximian.com> |
---|
951 | |
---|
952 | * src/*, |
---|
953 | * docs/*: update |
---|
954 | |
---|
955 | 2002-04-09 Michael Meeks <michael@ximian.com> |
---|
956 | |
---|
957 | * src/linc-private.h: hoist SSL includes, |
---|
958 | (thanks to Colin Campbell). |
---|
959 | |
---|
960 | 2002-04-08 Michael Meeks <michael@ximian.com> |
---|
961 | |
---|
962 | * src/linc-protocols.[ch], |
---|
963 | * src/linc-server.c (linc_server_setup): use |
---|
964 | LincSockLen instead of socklen_t so that we can |
---|
965 | build on systems without it, (thanks to Garth Pearce). |
---|
966 | |
---|
967 | * src/linc-compat.h: hide the evil compat mess into here. |
---|
968 | |
---|
969 | * src/linc-server.c: include linc-hacks.h |
---|
970 | |
---|
971 | * test/test-linc.c |
---|
972 | (test_blocking_cnx_handle_input), |
---|
973 | (test_blocking_cnx_handle_input): use |
---|
974 | guint32 not glong. |
---|
975 | |
---|
976 | * configure.in: use --with-openssl #77962 |
---|
977 | |
---|
978 | 2002-04-08 Michael Meeks <michael@ximian.com> |
---|
979 | |
---|
980 | * src/linc-protocols.c (cleanup_sweep): disable, |
---|
981 | it seems that this is a source of evil lockups; |
---|
982 | really we need to do this in a non-blocking way, |
---|
983 | and idly unlink things that look bad. |
---|
984 | |
---|
985 | 2002-04-02 Michael Meeks <michael@ximian.com> |
---|
986 | |
---|
987 | * src/linc-protocols.c (cleanup_sweep): impl to |
---|
988 | solve the leftover unix domain socket problem. |
---|
989 | (linc_protocol_get_sockaddr_unix): do the sweep. |
---|
990 | |
---|
991 | 2002-03-21 Michael Meeks <michael@ximian.com> |
---|
992 | |
---|
993 | * Version 0.1.20 |
---|
994 | |
---|
995 | 2002-03-21 Michael Meeks <michael@ximian.com> |
---|
996 | |
---|
997 | * src/linc-server.c (linc_server_handle_io): fix |
---|
998 | warning spew. |
---|
999 | |
---|
1000 | * src/linc-protocols.c (linc_protocol_destroy_addr): |
---|
1001 | check family for AF_UNIX. |
---|
1002 | |
---|
1003 | 2002-03-20 Gregory Leblanc <gleblanc@linuxweasel.com> |
---|
1004 | |
---|
1005 | * configure.in: Adding missing AC_SUBST |
---|
1006 | * linc.spec.in: rewrite |
---|
1007 | |
---|
1008 | 2002-03-20 Michael Meeks <michael@ximian.com> |
---|
1009 | |
---|
1010 | * src/linc-protocols.c (linc_protocol_destroy_cnx): impl. |
---|
1011 | (linc_protocol_destroy_saddr): impl with nasty hacks for UDS. |
---|
1012 | |
---|
1013 | * src/linc-server.c (linc_server_dispose): use it. |
---|
1014 | (linc_server_setup): on error unlink the UDS & fix fd |
---|
1015 | leak. |
---|
1016 | |
---|
1017 | 2002-03-20 Michael Meeks <michael@ximian.com> |
---|
1018 | |
---|
1019 | * src/linc-server.c (linc_server_accept_connection): |
---|
1020 | always initialize the connection - thanks again Havoc. |
---|
1021 | |
---|
1022 | * src/linc-connection.c (linc_connection_initiate): |
---|
1023 | fix fd leak - thanks Havoc. |
---|
1024 | |
---|
1025 | 2002-03-04 Mark McLoughlin <mark@skynet.ie> |
---|
1026 | |
---|
1027 | * configure.in: Version 0.1.19 |
---|
1028 | |
---|
1029 | 2002-02-26 Michael Meeks <michael@ximian.com> |
---|
1030 | |
---|
1031 | * src/linc-connection.c |
---|
1032 | (linc_connection_class_state_changed): only emit |
---|
1033 | 'broken' when the state actually changes - ie. once. |
---|
1034 | |
---|
1035 | 2002-02-17 Michael Meeks <michael@ximian.com> |
---|
1036 | |
---|
1037 | * src/linc-server.c (linc_server_accept_connection): |
---|
1038 | close the fd in case linc_connection_from_fd might |
---|
1039 | fail some day. |
---|
1040 | |
---|
1041 | 2002-02-11 Mark McLoughlin <mark@skynet.ie> |
---|
1042 | |
---|
1043 | * configure.in: Version 0.1.18 |
---|
1044 | |
---|
1045 | 2002-02-11 Michael Meeks <michael@ximian.com> |
---|
1046 | |
---|
1047 | * configure.in: update OpenSSL check, and default to no |
---|
1048 | OpenSSL checking - OpenSSL has a pants license, do not |
---|
1049 | use it. |
---|
1050 | |
---|
1051 | 2002-02-11 Mark McLoughlin <mark@skynet.ie> |
---|
1052 | |
---|
1053 | * configure.in: Version 0.1.17 |
---|
1054 | |
---|
1055 | 2002-02-06 Michael Meeks <michael@ximian.com> |
---|
1056 | |
---|
1057 | * src/linc-protocols.c: define NI_MAXHOST to |
---|
1058 | MAXHOSTNAMELEN if we just can't find it, include |
---|
1059 | sys/param.h explicitely for that, define NI_MAXSERV |
---|
1060 | to 64 in case we can't get that either. |
---|
1061 | |
---|
1062 | 2002-02-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de> |
---|
1063 | |
---|
1064 | * src/linc-connection.c (write_data): Do not use |
---|
1065 | WRITEV_IOVEC_LIMIT as the maximal iovec count, but determine it by |
---|
1066 | some architecture dependent preprocessor constants. This prevents |
---|
1067 | using the fallback implementation of writev. (if the count is too |
---|
1068 | big, the kernel returns an error and libc might provide a fallback |
---|
1069 | by alloca'ing the necessary mem, copying the iovec's content there |
---|
1070 | and writing that out, which in turn might produce a segmentation |
---|
1071 | fault for lots of data on a small stacks, like in multithreaded |
---|
1072 | programs) |
---|
1073 | |
---|
1074 | * configure.in, acconfig.h: Removed the test for |
---|
1075 | WRITEV_IOVEC_LIMIT form configure.in and WRITEV_IOVEC_LIMIT from |
---|
1076 | acconfig.h. |
---|
1077 | |
---|
1078 | 2002-01-28 Mark McLoughlin <mark@skynet.ie> |
---|
1079 | |
---|
1080 | * configure.in: Version 0.1.16 |
---|
1081 | |
---|
1082 | 2002-01-21 Michael Meeks <michael@ximian.com> |
---|
1083 | |
---|
1084 | * src/linc-connection.c (write_data): don't signal |
---|
1085 | and return the no. of bytes written. |
---|
1086 | (linc_connection_writev): map to the return enum. |
---|
1087 | (linc_connection_io_handler): move the queue signal |
---|
1088 | here after we've updated the queue list. |
---|
1089 | (write_data): stop running over the end of the |
---|
1090 | array. |
---|
1091 | |
---|
1092 | 2002-01-18 Mark McLoughlin <mark@skynet.ie> |
---|
1093 | |
---|
1094 | * src/linc-connection.c: (linc_connection_read): disconnect |
---|
1095 | on receipt of EOF. |
---|
1096 | |
---|
1097 | * test/test-linc.c: (broken_cb), (test_server_create_connection), |
---|
1098 | (create_client), (test_broken_cnx_handle_input), |
---|
1099 | (test_broken_cnx_class_init), (test_get_broken_cnx_type), |
---|
1100 | (test_broken), (test_blocking_cnx_handle_input), |
---|
1101 | (test_blocking_cnx_class_init), (test_get_blocking_cnx_type), |
---|
1102 | (test_blocking): re-jig the 'broken' test to test this code |
---|
1103 | path. |
---|
1104 | |
---|
1105 | 2002-01-17 Michael Meeks <michael@ximian.com> |
---|
1106 | |
---|
1107 | * Version 0.1.15 |
---|
1108 | |
---|
1109 | * src/linc-protocols.c: remove debug. |
---|
1110 | |
---|
1111 | * Version 0.1.14 |
---|
1112 | |
---|
1113 | 2002-01-17 Michael Meeks <michael@ximian.com> |
---|
1114 | |
---|
1115 | * configure.in: bump version to 0.1.14 for ORBit2 |
---|
1116 | dependency / build reasons. |
---|
1117 | |
---|
1118 | * test/test-linc.c (test_protos): impl. |
---|
1119 | (main): call it. |
---|
1120 | |
---|
1121 | 2002-01-16 Michael Meeks <michael@ximian.com> |
---|
1122 | |
---|
1123 | * src/linc-protocols.c (get_local_hostname): impl. so |
---|
1124 | we can call it lots. |
---|
1125 | (linc_protocol_get_sockinfo_ipv46): upd. |
---|
1126 | (linc_protocol_get_sockinfo_unix): upd. |
---|
1127 | (linc_protocol_is_local): impl. |
---|
1128 | (linc_protocol_unix_is_local): impl. |
---|
1129 | (linc_protocol_is_local_ipv46): impl. |
---|
1130 | |
---|
1131 | * src/linc-server.c (linc_server_accept_connection): |
---|
1132 | check for remote connections - if in local only mode, |
---|
1133 | using new is_local API. |
---|
1134 | |
---|
1135 | * include/linc/linc-protocol.h: add is_local. |
---|
1136 | |
---|
1137 | * include/linc/linc-types.h: add local only flag. |
---|
1138 | |
---|
1139 | 2002-01-17 Laszlo Peter <laca@ireland.sun.com> |
---|
1140 | |
---|
1141 | * src/linc-connection.c (write_data): fix writev loop conditions |
---|
1142 | when nvecs > WRITEV_IOVEC_LIMIT. |
---|
1143 | |
---|
1144 | 2002-01-10 Roland Juelich <rj@atecom.com> |
---|
1145 | |
---|
1146 | * src/linc-source.c (linc_io_add_watch): create our own |
---|
1147 | LincWatch and pass the channel on to |
---|
1148 | (linc_source_create_watch): here, store the channel for |
---|
1149 | the callback. |
---|
1150 | |
---|
1151 | * src/linc-private.h: store GIOChannel in watch for use |
---|
1152 | in source dispatcher. |
---|
1153 | |
---|
1154 | 2002-01-09 Michael Meeks <michael@ximian.com> |
---|
1155 | |
---|
1156 | * Version 0.1.13 |
---|
1157 | |
---|
1158 | 2002-01-04 Dave Camp <dave@ximian.com> |
---|
1159 | |
---|
1160 | * src/linc-connection.c (linc_connection_class_init): Use the |
---|
1161 | 'blocking' struct member for the blocking signal rather than the |
---|
1162 | 'broken' member. |
---|
1163 | |
---|
1164 | 2002-01-04 Michael Meeks <michael@ximian.com> |
---|
1165 | |
---|
1166 | * src/linc-source.c (linc_io_remove_watch): clobber |
---|
1167 | the source so we can't get any events on the source - |
---|
1168 | even if glib does strange things. |
---|
1169 | |
---|
1170 | * src/linc-server.c (linc_server_dispose): re-order |
---|
1171 | the watch removal process. |
---|
1172 | |
---|
1173 | * test/test-linc.c (test_blocking): release the |
---|
1174 | write options. |
---|
1175 | |
---|
1176 | * src/linc-source.c (linc_source_finalize): impl. |
---|
1177 | for debug. |
---|
1178 | |
---|
1179 | 2002-01-04 Michael Meeks <michael@ximian.com> |
---|
1180 | |
---|
1181 | * src/linc-connection.c (linc_connection_io_handler): |
---|
1182 | allow handling both input and output in the same poll, |
---|
1183 | to stop re-enterancy hell in the ORB. |
---|
1184 | (queue_signal): special case a '0' byte max_buffer == |
---|
1185 | no maximum, thanks to Dave Camp. |
---|
1186 | |
---|
1187 | 2002-01-03 Michael Meeks <michael@ximian.com> |
---|
1188 | |
---|
1189 | * Version 0.1.12 |
---|
1190 | |
---|
1191 | 2002-01-03 Michael Meeks <michael@ximian.com> |
---|
1192 | |
---|
1193 | * src/linc-server.c (linc_server_setup): set |
---|
1194 | FD_CLOEXEC - on the server's connection. |
---|
1195 | |
---|
1196 | 2002-01-03 Laszlo Peter <laca@ireland.sun.com> |
---|
1197 | |
---|
1198 | * configure.in: add check for -lresolv |
---|
1199 | |
---|
1200 | 2001-12-31 Michael Meeks <michael@ximian.com> |
---|
1201 | |
---|
1202 | * src/linc-connection.c |
---|
1203 | (linc_connection_io_handler): continue writing the queue |
---|
1204 | if we didn't flush it all (doh). |
---|
1205 | |
---|
1206 | * test/test-linc.c (test_blocking), |
---|
1207 | (blocking_cb, knobble_watch): impl. |
---|
1208 | (test_server_create_connection): impl. |
---|
1209 | (test_cnx_handle_input): impl. |
---|
1210 | |
---|
1211 | * src/linc-connection.c: (queue_signal): add ref. guards. |
---|
1212 | & signal half full buffer as specified. |
---|
1213 | |
---|
1214 | * src/linc-server.c, src/linc-source.c, |
---|
1215 | * src/linc-connection.c: move private struct defs into |
---|
1216 | |
---|
1217 | * src/linc-private.h: here. |
---|
1218 | |
---|
1219 | * test/Makefile.am: upd. include path. |
---|
1220 | |
---|
1221 | * test/test-linc.c (create_server), |
---|
1222 | (create_client, test_broken): split out of (main). |
---|
1223 | |
---|
1224 | 2001-12-31 Michael Meeks <michael@ximian.com> |
---|
1225 | |
---|
1226 | * configure.in: bump version to 0.1.12 |
---|
1227 | |
---|
1228 | 2001-12-28 Michael Meeks <michael@ximian.com> |
---|
1229 | |
---|
1230 | * src/linc-connection.c (calc_size): split out of |
---|
1231 | (queue_flattened): here. |
---|
1232 | |
---|
1233 | * include/linc/linc-server.h, |
---|
1234 | * include/linc/linc-connection.h |
---|
1235 | (LINC_IS_CONNECTION): re-write macros, slower, |
---|
1236 | but functional. |
---|
1237 | |
---|
1238 | * src/linc-connection.c (linc_connection_class_init): |
---|
1239 | add the 'blocking' signal. |
---|
1240 | (queue_signal): impl. |
---|
1241 | (linc_connection_class_state_changed): free the queue |
---|
1242 | on disconnect. |
---|
1243 | (linc_connection_io_handler): do an unchecked class |
---|
1244 | cast for speed. |
---|
1245 | |
---|
1246 | 2001-12-27 Michael Meeks <michael@ximian.com> |
---|
1247 | |
---|
1248 | * src/linc-connection.c (linc_connection_write): |
---|
1249 | re-express in terms of writev - this should always have |
---|
1250 | been so. |
---|
1251 | (linc_connection_writev): fix iov_base arithemetic. |
---|
1252 | merge in the SSL code from writev. |
---|
1253 | (queue_flattened, queue_free): impl. |
---|
1254 | (linc_connection_dispose): release the queue. |
---|
1255 | (write_data): split this out of |
---|
1256 | (linc_connection_writev): here & upd to handle queue. |
---|
1257 | (linc_connection_connected): rename to |
---|
1258 | (linc_connection_io_handler): this. |
---|
1259 | (linc_source_add): upd. |
---|
1260 | (queued_write_free): impl. |
---|
1261 | (linc_connection_writev): don't belt round a |
---|
1262 | non-blocking loop on EAGAIN even if we block. |
---|
1263 | |
---|
1264 | 2001-12-19 Michael Meeks <michael@ximian.com> |
---|
1265 | |
---|
1266 | * src/linc-server.c (linc_server_setup): upd. |
---|
1267 | |
---|
1268 | * src/linc-connection.c: kill wasteful GIOChannel. |
---|
1269 | (linc_source_add): upd. |
---|
1270 | (linc_connection_dispose): upd. |
---|
1271 | (linc_connection_from_fd): upd. |
---|
1272 | (linc_source_unwatch_out): kill. |
---|
1273 | (linc_connection_connected): upd. |
---|
1274 | (linc_connection_class_state_changed): upd. |
---|
1275 | |
---|
1276 | * src/linc-source.c: add. |
---|
1277 | (linc_io_add_watch_fd): impl. |
---|
1278 | (linc_watch_set_condition): impl. |
---|
1279 | |
---|
1280 | * src/linc.c (linc_io_add_watch): move this |
---|
1281 | |
---|
1282 | 2001-12-14 Roland Juelich <rj@atecom.com> |
---|
1283 | |
---|
1284 | * src/linc-server.c (linc_server_setup): if we are |
---|
1285 | passed local_host_info, then use it instead. |
---|
1286 | |
---|
1287 | 2001-12-14 Michael Meeks <michael@ximian.com> |
---|
1288 | |
---|
1289 | * src/linc-protocols.c: include netdb.h if we're |
---|
1290 | missing some NI_ defines. |
---|
1291 | |
---|
1292 | 2001-12-14 David Haverkamp <dahaverk@rockwellcollins.com> |
---|
1293 | |
---|
1294 | * src/linc-protocols.c: include arpa/nameser.h before |
---|
1295 | resolv.h for Solaris systems. |
---|
1296 | |
---|
1297 | 2001-12-11 Michael Meeks <michael@ximian.com> |
---|
1298 | |
---|
1299 | * Version 0.1.11 |
---|
1300 | |
---|
1301 | 2001-12-08 Michael Meeks <michael@ximian.com> |
---|
1302 | |
---|
1303 | * src/linc-connection.c (linc_connection_write), |
---|
1304 | (linc_connection_writev): handle the connection |
---|
1305 | dying in mid-write, it seems EAGAIN gets fired to |
---|
1306 | distinguish from a 0 length write == an error conditon (?) |
---|
1307 | |
---|
1308 | 2001-12-07 Michael Meeks <michael@ximian.com> |
---|
1309 | |
---|
1310 | * src/linc-connection.c |
---|
1311 | (linc_connection_class_state_changed): change status |
---|
1312 | early so we're consistant by the time 'broken' is |
---|
1313 | emitted. |
---|
1314 | |
---|
1315 | 2001-12-06 Laszlo Peter <laca@ireland.sun.com> |
---|
1316 | |
---|
1317 | * configure.in: Fix detection of WRITEV_IOVEC_LIMIT. |
---|
1318 | |
---|
1319 | 2001-12-05 Kristian Rietveld <kris@gtk.org> |
---|
1320 | |
---|
1321 | * src/linc-protocols.c: Move down resolve.h for better |
---|
1322 | FreeBSD build. |
---|
1323 | |
---|
1324 | 2001-12-01 Theo van Klaveren <t.vanklaveren@student.utwente.nl> |
---|
1325 | |
---|
1326 | * src/linc-protocols.c: Add <netinet/in.h> to includes. |
---|
1327 | Fixes build on FreeBSD. |
---|
1328 | |
---|
1329 | 2001-11-26 Michael Meeks <michael@ximian.com> |
---|
1330 | |
---|
1331 | * Version 0.1.10 |
---|
1332 | |
---|
1333 | 2001-11-23 Michael Meeks <michael@ximian.com> |
---|
1334 | |
---|
1335 | * src/linc.c (linc_io_add_watch): fixup debugging. |
---|
1336 | |
---|
1337 | 2001-11-25 Havoc Pennington <hp@redhat.com> |
---|
1338 | |
---|
1339 | * src/Makefile.am (liblinc_la_SOURCES): add linc-debug.h |
---|
1340 | |
---|
1341 | 2001-11-22 Michael Meeks <michael@ximian.com> |
---|
1342 | |
---|
1343 | * src/linc.c (linc_io_add_watch): remove |
---|
1344 | g_warning debug; doh. |
---|
1345 | |
---|
1346 | 2001-11-22 Michael Meeks <michael@ximian.com> |
---|
1347 | |
---|
1348 | * src/linc-connection.c (linc_source_unwatch_out): fix |
---|
1349 | brainless not listening for input. |
---|
1350 | |
---|
1351 | * src/linc.c (linc_io_add_watch): beef up |
---|
1352 | watch debug. |
---|
1353 | |
---|
1354 | * src/linc-connection.c (linc_source_add): impl. |
---|
1355 | (linc_connection_class_state_changed), |
---|
1356 | (linc_source_unwatch_out): use it. |
---|
1357 | |
---|
1358 | * src/linc-private.h (LINC_IN_CONDS, |
---|
1359 | LINC_ERR_CONDS): move here. |
---|
1360 | |
---|
1361 | * src/linc-connection.c: update IO conditions. |
---|
1362 | |
---|
1363 | * src/linc-server.c |
---|
1364 | (linc_server_handle_io): accept G_IO_PRI |
---|
1365 | (linc_server_handle): kill, not used. |
---|
1366 | (linc_server_setup): take note of G_IO_PRI |
---|
1367 | |
---|
1368 | * src/linc-protocols.c |
---|
1369 | (linc_protocol_get_sockaddr_unix): make the UDS name |
---|
1370 | more random; include the pid when debugging. |
---|
1371 | |
---|
1372 | * src/linc-connection.c: instrument more. |
---|
1373 | |
---|
1374 | * src/linc-server.c (linc_server_setup): convert |
---|
1375 | to new debug framework. |
---|
1376 | |
---|
1377 | * src/linc-debug.h: add. |
---|
1378 | |
---|
1379 | 2001-11-22 Michael Meeks <michael@ximian.com> |
---|
1380 | |
---|
1381 | * src/linc-connection.c |
---|
1382 | (linc_connection_connected): split out re-connect |
---|
1383 | (linc_source_unwatch_out): this to clarify. |
---|
1384 | add dprintf debugging throught. |
---|
1385 | |
---|
1386 | 2001-11-19 Michael Meeks <michael@ximian.com> |
---|
1387 | |
---|
1388 | * src/linc.c (linc_object_get_mutex): |
---|
1389 | (linc_init): setup the lifecycle mutex. |
---|
1390 | (linc_object_ref, linc_main_get_loop), |
---|
1391 | (linc_object_unref): impl - sucky locking |
---|
1392 | for now. |
---|
1393 | |
---|
1394 | * src/linc-server.c (linc_server_finalize), |
---|
1395 | (linc_server_init): manage private structure. |
---|
1396 | Privatize fd, mutex, tag, connections |
---|
1397 | |
---|
1398 | * src/linc-connection.c (linc_connection_finalize), |
---|
1399 | (linc_connection_init): manage private structure. |
---|
1400 | Privatize fd, tag, gioc, ssl. |
---|
1401 | (linc_connection_initiate): upd. |
---|
1402 | |
---|
1403 | 2001-11-19 Michael Meeks <michael@ximian.com> |
---|
1404 | |
---|
1405 | * src/linc-server.c (linc_server_accept_connection): |
---|
1406 | kill bogus get_sockinfo - we don't need this |
---|
1407 | information whatsoever. |
---|
1408 | |
---|
1409 | * src/linc-connection.c (linc_connection_from_fd): |
---|
1410 | this method has at least 2 totaly bogus arguments, |
---|
1411 | host, service - the joys of frozen APIs. |
---|
1412 | |
---|
1413 | * src/linc-connection.c |
---|
1414 | (linc_connection_dispose): split |
---|
1415 | (linc_connection_finalize): impl. |
---|
1416 | (linc_connection_class_init): upd. |
---|
1417 | |
---|
1418 | 2001-11-18 Miles Lane <miles@megapathdsl.net> |
---|
1419 | |
---|
1420 | * include/linc/linc-types.h: replace include of |
---|
1421 | gobject/gobject.h with glib-object.h, due to a |
---|
1422 | change in gobject/gobject.h that forces an #error |
---|
1423 | for all direct includes. |
---|
1424 | This checkin was approved by Havoc. |
---|
1425 | |
---|
1426 | 2001-11-16 Michael Meeks <michael@ximian.com> |
---|
1427 | |
---|
1428 | * configure.in: bump ver to 0.1.9 |
---|
1429 | |
---|
1430 | * src/linc-server.c (linc_server_accept_connection): |
---|
1431 | keep track of the connections we accept - hopefully if |
---|
1432 | we re-use them, there won't be many. |
---|
1433 | (linc_server_dispose): protect vs. double dispose & |
---|
1434 | unref. connections. |
---|
1435 | (linc_server_finalize): impl. |
---|
1436 | (linc_server_class_init): hook up. |
---|
1437 | |
---|
1438 | * src/linc-connection.c (linc_source_remove): remove |
---|
1439 | bogus self unref. |
---|
1440 | (linc_connection_dispose), |
---|
1441 | (linc_connection_class_state_changed): upd. |
---|
1442 | |
---|
1443 | 2001-11-15 Michael Meeks <michael@ximian.com> |
---|
1444 | |
---|
1445 | * src/linc-connection.c (linc_connection_from_fd): assign |
---|
1446 | the protocol. |
---|
1447 | |
---|
1448 | * src/linc-server.c (linc_server_dispose): protect vs. |
---|
1449 | double dispose's |
---|
1450 | |
---|
1451 | 2001-11-13 jacob berkman <jacob@ximian.com> |
---|
1452 | |
---|
1453 | * docs/Makefile.am (dist-hook): depend on docs being built |
---|
1454 | |
---|
1455 | * docs/linc-sections.txt: |
---|
1456 | * docs/linc.types: these files are needed to dist |
---|
1457 | |
---|
1458 | 2001-11-13 Michael Meeks <michael@ximian.com> |
---|
1459 | |
---|
1460 | * docs/Makefile.am (IGNORE_HFILES): add config.h, acconfig.h |
---|
1461 | |
---|
1462 | * src/linc-server.c (linc_server_handle): privatize, |
---|
1463 | unused & redundant. |
---|
1464 | |
---|
1465 | * docs/tmpl/linc-types.sgml: document LINC_MUTEX_LOCK / |
---|
1466 | UNLOCK. |
---|
1467 | |
---|
1468 | * src/linc-protocols.c (linc_set_tmpdir): fix docs. |
---|
1469 | |
---|
1470 | * src/linc.c (linc_io_add_watch, linc_io_remove_watch), |
---|
1471 | (linc_main_iteration, linc_main_pending, linc_mutex_new), |
---|
1472 | (linc_main_loop_run): document. |
---|
1473 | |
---|
1474 | 2001-11-13 Michael Meeks <michael@ximian.com> |
---|
1475 | |
---|
1476 | * docs/linc-sections.txt: remove config, acconfig, |
---|
1477 | linc-config, linc-private sections. |
---|
1478 | |
---|
1479 | 2001-11-12 John Fleck <jfleck@inkstain.net> |
---|
1480 | |
---|
1481 | * added docs/Makefile.am |
---|
1482 | docs/linc-docs.sgml |
---|
1483 | docs/tmpl/acconfig.sgml, linc-connection.sgml, |
---|
1484 | linc-server.sgml, linc-unused.sgml, config.sgml, |
---|
1485 | linc-private.sgml, linc.sgml, linc-config.sgml, |
---|
1486 | linc-protocol.sgml, linc-types.sgml |
---|
1487 | modified ./Makefile.am, configure.in |
---|
1488 | add gtk-doc build system |
---|
1489 | |
---|
1490 | 2001-11-12 Michael Meeks <michael@ximian.com> |
---|
1491 | |
---|
1492 | * src/linc-server.c (linc_server_accept_connection): |
---|
1493 | set O_NONBLOCK on connections we accept; also set |
---|
1494 | FD_CLOEXEC - doh. |
---|
1495 | |
---|
1496 | 2001-11-12 Michael Meeks <michael@ximian.com> |
---|
1497 | |
---|
1498 | * src/linc-connection.c (linc_connection_read), |
---|
1499 | (linc_connection_write, linc_connection_writev), |
---|
1500 | catch and warn on EBADF. |
---|
1501 | |
---|
1502 | 2001-11-12 Michael Meeks <michael@ximian.com> |
---|
1503 | |
---|
1504 | * configure.in: bump version to 0.1.8 |
---|
1505 | |
---|
1506 | * src/linc-connection.c |
---|
1507 | (linc_connection_read): set fatal error on |
---|
1508 | 0 length reads, don't re-enter foolishly in |
---|
1509 | various places, return bytes_read on EAGAIN, |
---|
1510 | don't loop re-entering while waiting for |
---|
1511 | connected. |
---|
1512 | |
---|
1513 | 2001-11-08 Michael Meeks <michael@ximian.com> |
---|
1514 | |
---|
1515 | * Version 0.1.7 |
---|
1516 | |
---|
1517 | 2001-11-08 Michael Meeks <michael@ximian.com> |
---|
1518 | |
---|
1519 | * src/linc.c (linc_io_add_watch): setup sources as |
---|
1520 | recursive sources - so we can recurse ! |
---|
1521 | (linc_main_iteration, linc_io_remove_watch), |
---|
1522 | (linc_io_add_watch): add conditional watch debugging. |
---|
1523 | |
---|
1524 | 2001-11-08 Michael Meeks <michael@ximian.com> |
---|
1525 | |
---|
1526 | * src/linc-connection.c (linc_connection_writev): remove |
---|
1527 | 'register' optimization :-) fix SSL path, make the code |
---|
1528 | legible, handle EINTR, don't skip partialy written |
---|
1529 | iovecs in a totaly bogus way. |
---|
1530 | (linc_connection_write): handle EINTR. |
---|
1531 | (linc_connection_read): rename 'written' 'bytes_read' |
---|
1532 | Document all methods. |
---|
1533 | |
---|
1534 | 2001-11-06 Michael Meeks <michael@ximian.com> |
---|
1535 | |
---|
1536 | * src/linc.c (linc_init): init with G_TYPE_DEBUG_OBJECTS. |
---|
1537 | |
---|
1538 | 2001-10-30 Mark McLoughlin <mark@skynet.ie> |
---|
1539 | |
---|
1540 | * configure.in: version 0.1.6. |
---|
1541 | |
---|
1542 | 2001-10-29 Michael Meeks <michael@ximian.com> |
---|
1543 | |
---|
1544 | * configure.in: require glib >= 1.3.10 |
---|
1545 | |
---|
1546 | 2001-10-26 Michael Meeks <michael@ximian.com> |
---|
1547 | |
---|
1548 | * src/linc.c (linc_mutex_new): flag that we have been |
---|
1549 | called. |
---|
1550 | (linc_set_threaded): add protection for people setting |
---|
1551 | the threaded-ness late. |
---|
1552 | |
---|
1553 | 2001-10-24 Ross Golder <rossg@durban.golder.org> |
---|
1554 | |
---|
1555 | * Makefile.am (EXTRA_DIST): Added spec file, and removed |
---|
1556 | floating tab |
---|
1557 | |
---|
1558 | 2001-10-25 Michael Meeks <michael@ximian.com> |
---|
1559 | |
---|
1560 | * AUTHORS: update, |
---|
1561 | |
---|
1562 | * *.[ch]: Add copyright headers. |
---|
1563 | |
---|
1564 | 2001-10-24 Michael Meeks <michael@ximian.com> |
---|
1565 | |
---|
1566 | * src/linc-connection.c (linc_connection_class_init): |
---|
1567 | fix ref counting on parent type. |
---|
1568 | |
---|
1569 | 2001-10-24 Michael Meeks <michael@ximian.com> |
---|
1570 | |
---|
1571 | * src/linc.c (linc_init): fix brainlessness. |
---|
1572 | |
---|
1573 | 2001-10-24 Michael Meeks <michael@ximian.com> |
---|
1574 | |
---|
1575 | * src/linc.c (linc_init): upd. |
---|
1576 | (linc_set_threaded): impl. |
---|
1577 | (linc_mutex_new): only return a mutex if linc_threaded |
---|
1578 | is TRUE, _and_ g_thread_supported. |
---|
1579 | |
---|
1580 | 2001-10-18 Michael Meeks <michael@ximian.com> |
---|
1581 | |
---|
1582 | * src/linc-connection.c (linc_connection_connected): |
---|
1583 | simplify flow, ignore handle_input's return value, |
---|
1584 | always return TRUE, we remove ourself from both main |
---|
1585 | contexts elsewhere. |
---|
1586 | |
---|
1587 | 2001-10-16 Mark McLoughlin <mark@skynet.ie> |
---|
1588 | |
---|
1589 | * Makefile.am (EXTRA_DIST): kill linc-config.in, |
---|
1590 | linc.pc.in, linc.spec and linc.spec.in. Add HACKING |
---|
1591 | and MAINTAINERS. |
---|
1592 | |
---|
1593 | 2001-10-10 Abel Cheung <maddog@linux.org.hk> |
---|
1594 | |
---|
1595 | * linc-config.in(cflags): move headers to subdir |
---|
1596 | |
---|
1597 | * linc.spec.in(%files): ditto, for spec file. |
---|
1598 | |
---|
1599 | 2001-10-09 Havoc Pennington <hp@redhat.com> |
---|
1600 | |
---|
1601 | * linc.pc.in (Cflags): headers in a subdir |
---|
1602 | |
---|
1603 | * include/linc/Makefile.am (lincincludedir): put headers in a |
---|
1604 | subdir |
---|
1605 | |
---|
1606 | 2001-09-26 Mark McLoughlin <mark@skynet.ie> |
---|
1607 | |
---|
1608 | * configure.in: add --enable-compile-warnings option. |
---|
1609 | |
---|
1610 | * src/Makefile.am: use $(WARN_CFLAGS) |
---|
1611 | |
---|
1612 | * src/linc-protocols.c |
---|
1613 | (linc_protocol_get_sockinfo_ipv6): initialise host. |
---|
1614 | include linc-private.h. |
---|
1615 | |
---|
1616 | 2001-09-25 Mark McLoughlin <mark@skynet.ie> |
---|
1617 | |
---|
1618 | * Version 0.1.5. |
---|
1619 | |
---|
1620 | 2001-09-24 Mark McLoughlin <mark@skynet.ie> |
---|
1621 | |
---|
1622 | * linc/configure.in: clean up libtool versioning. Use |
---|
1623 | pkg-config to check for libs. Kill unused vprintf and |
---|
1624 | alloca check. |
---|
1625 | |
---|
1626 | * linc.pc.in, linc.spec.in: update. |
---|
1627 | |
---|
1628 | * linc/src/Makefile.am: update and include libtool |
---|
1629 | version-info. |
---|
1630 | |
---|
1631 | 2001-09-20 Mark McLoughlin <mark@skynet.ie> |
---|
1632 | |
---|
1633 | Patch from Frank Belew <frb@ximian.com>. |
---|
1634 | |
---|
1635 | * src/linc-protocols.c (static_linc_protocols): |
---|
1636 | don't use 'designated initializers' style of initialization. |
---|
1637 | Allowed by C99, but Sun's Forte compiler does't allow it. |
---|
1638 | |
---|
1639 | 2001-09-20 Mark McLoughlin <mark@skynet.ie> |
---|
1640 | |
---|
1641 | * src/linc-connection.c |
---|
1642 | (linc_connection_real_state_changed): rename to... |
---|
1643 | (linc_connection_class_state_changed): document and tidy. |
---|
1644 | (linc_connection_from_fd): ditto. |
---|
1645 | (linc_connection_initiate): ditto. |
---|
1646 | (linc_connection_state_changed): ditto. |
---|
1647 | (linc_connection_read): return 0 if passed 0 or if the |
---|
1648 | connection has been closed. |
---|
1649 | |
---|
1650 | 2001-09-18 Jens Finke <jens@gnome.org> |
---|
1651 | |
---|
1652 | * linc.spec.in: New file. |
---|
1653 | |
---|
1654 | * Makefile.am (EXTRA_DIST): Added linc.spec and linc.spec.in. |
---|
1655 | |
---|
1656 | * configure.in (AC_OUTPUT): Create linc.spec. |
---|
1657 | |
---|
1658 | 2001-09-13 Michael Meeks <michael@ximian.com> |
---|
1659 | |
---|
1660 | * src/linc-protocols.c (linc_protocol_get_sockinfo_ipv46): |
---|
1661 | use guint instead of in_port_t to fix the issue differently. |
---|
1662 | |
---|
1663 | * configure.in: remove bogus in_port_t define. |
---|
1664 | |
---|
1665 | 2001-09-12 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> |
---|
1666 | |
---|
1667 | * configure.in; compile fix: define in_port_t if it isn't |
---|
1668 | |
---|
1669 | 2001-09-11 Mark McLoughlin <mark@skynet.ie> |
---|
1670 | |
---|
1671 | * src/linc-protocol.c: fix typo. |
---|
1672 | |
---|
1673 | 2001-09-11 Mark McLoughlin <mark@skynet.ie> |
---|
1674 | |
---|
1675 | * include/linc/linc-protocol.h, |
---|
1676 | src/linc-protocols.c |
---|
1677 | (LINCProtocolGetAddrInfoFunc, LINCProtocolGetNameInfoFunc): |
---|
1678 | killed. |
---|
1679 | (LINCProtocolGetSockInfoFunc): added. |
---|
1680 | (LINCProtocolInfo): added get_sockinfo. killed getaddrinfo and |
---|
1681 | getnameinfo. |
---|
1682 | (linc_getaddrinfo, linc_getnameinfo, sys_getaddrinfo, |
---|
1683 | sys_getnameinfo): killed. |
---|
1684 | (tcp_setup): renamed to linc_protocol_tcp_setup. |
---|
1685 | (af_unix_destroy): renamed to linc_protocol_unix_destroy. |
---|
1686 | (protocol_ents): renamed to static_linc_protocols. |
---|
1687 | (linc_protocol_get_sockinfo_ipv46, |
---|
1688 | linc_protocol_get_sockinfo_ipv4, |
---|
1689 | linc_protocol_get_sockinfo_ipv6, |
---|
1690 | linc_protocol_get_sockinfo_unix, |
---|
1691 | linc_protocol_get_sockinfo_irda, linc_protocol_get_sockinfo): |
---|
1692 | implemented. |
---|
1693 | Finished documenting. |
---|
1694 | NOTE: get_sockinfo_irda and get_sockaddr_irda are not working. |
---|
1695 | |
---|
1696 | * src/linc-private.h: added linc_protocol_get_sockinfo. |
---|
1697 | |
---|
1698 | * src/linc-server.c(linc_server_accept_connection): use |
---|
1699 | get_sockinfo instead of getnameinfo. |
---|
1700 | (linc_server_setup): ditto. |
---|
1701 | |
---|
1702 | * include/linc/linc-connection.h, |
---|
1703 | src/linc-connection.c(linc_connection_from_fd): |
---|
1704 | don't dup remote_host_info and remote_serv_info. |
---|
1705 | |
---|
1706 | 2001-09-10 Mark McLoughlin <mark@skynet.ie> |
---|
1707 | |
---|
1708 | * linc/src/linc-protocols.c: |
---|
1709 | (linc_protocol_get_sockaddr_ipv4): set resolver options. |
---|
1710 | (linc_protocol_get_sockaddr_ipv6): impl. |
---|
1711 | (linc_protocol_get_sockaddr_unix): kill silly saddr_len bug. |
---|
1712 | (irda_getaddrinfo): use new IRDA_PREFIX_LEN define. |
---|
1713 | Move protocol_ents definition to bottom and kill prototypes. |
---|
1714 | Api-doc most functions. |
---|
1715 | |
---|
1716 | 2001-09-09 Michael Meeks <michael@ximian.com> |
---|
1717 | |
---|
1718 | * src/linc-server.c (linc_server_setup): remove |
---|
1719 | bogus g_free (saddr) |
---|
1720 | |
---|
1721 | 2001-09-07 Mark McLoughlin <mark@skynet.ie> |
---|
1722 | |
---|
1723 | * acconfig.h, configure.in: add check for |
---|
1724 | sockaddr's sa_len member. |
---|
1725 | |
---|
1726 | * src/linc-protocols.c(linc_protocol_get_sockaddr, |
---|
1727 | linc_protocol_get_sockaddr_ipv4, |
---|
1728 | linc_protocol_get_sockaddr_ipv6, |
---|
1729 | linc_protocol_get_sockaddr_unix, |
---|
1730 | linc_protocol_get_sockaddr_irda): impl. get_sockaddr |
---|
1731 | will replace getaddrinfo soon. getaddrinfo is a waste |
---|
1732 | of time - we don't need most of the data it returns, |
---|
1733 | and it is non-portable for unix sockets, ipv6 and irda. |
---|
1734 | Indeed older unices don't even have an implementation for |
---|
1735 | ipv4. |
---|
1736 | *NOTE*: irda and ipv6 are not working with this yet. But |
---|
1737 | I doubt anyone is actually using these... |
---|
1738 | |
---|
1739 | * src/linc-private.h: add linc_protocol_get_sockaddr. |
---|
1740 | |
---|
1741 | * src/linc-connection.c(linc_connection_initiate): use |
---|
1742 | linc_protocol_get_sockaddr instead of linc_getaddrinfo. |
---|
1743 | |
---|
1744 | * src/linc-server.c(linc_server_setup): ditto. |
---|
1745 | |
---|
1746 | * include/linc/linc-types.h: moved LINCProtocolInfo here. |
---|
1747 | |
---|
1748 | * include/linc/linc-protocol.h |
---|
1749 | (LINCProtocolInfo): added get_sockname. Impl typedefs |
---|
1750 | for functions types. |
---|
1751 | |
---|
1752 | 2001-09-07 Mark McLoughlin <mark@skynet.ie> |
---|
1753 | |
---|
1754 | * src/linc-protocols.c: Warning killers - include string.h |
---|
1755 | and don't prototype IRDA functions if IRDA defines not |
---|
1756 | available. |
---|
1757 | |
---|
1758 | 2001-08-31 Michael Meeks <michael@ximian.com> |
---|
1759 | |
---|
1760 | * src/linc-connection.c (ERR_CONDS): hack off G_IO_PRI |
---|
1761 | (IN_CONDS): PRI|IN |
---|
1762 | (linc_connection_connected), |
---|
1763 | (linc_connection_real_state_changed): use it. |
---|
1764 | |
---|
1765 | 2001-08-27 Mark McLoughlin <mark@skynet.ie> |
---|
1766 | |
---|
1767 | * linc.pc.in: require gobject and gthread. |
---|
1768 | |
---|
1769 | 2001-08-24 Mark McLoughlin <mark@skynet.ie> |
---|
1770 | |
---|
1771 | * configure.in: remove unused --enable-linc-threadsafe |
---|
1772 | option. Removed pthread.h check - we always want to |
---|
1773 | link against gthread. |
---|
1774 | |
---|
1775 | 2001-08-23 Michael Meeks <michael@ximian.com> |
---|
1776 | |
---|
1777 | * Version 0.1.4 |
---|
1778 | |
---|
1779 | 2001-08-21 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> |
---|
1780 | |
---|
1781 | * src/linc.c (main): ignore SIGPIPE, handle this |
---|
1782 | here instead of in libbonobo |
---|
1783 | |
---|
1784 | 2001-08-20 Theo van Klaveren <t.vanklaveren@student.utwente.nl> |
---|
1785 | |
---|
1786 | * include/linc/linc-protocol.h: Include <sys/types.h> to |
---|
1787 | fix build on FreeBSD. |
---|
1788 | |
---|
1789 | 2001-08-18 Cody Russell <bratsche@gnome.org> |
---|
1790 | |
---|
1791 | * linc.pc.in: Added. |
---|
1792 | |
---|
1793 | * configure.in, Makefile.am: Build and install linc.pc |
---|
1794 | |
---|
1795 | 2001-08-18 Michael Meeks <michael@ximian.com> |
---|
1796 | |
---|
1797 | * configure.in: bump version to 0.1.3 |
---|
1798 | |
---|
1799 | * src/linc.c (linc_mutex_attrs): kill. |
---|
1800 | (linc_init): kill pthread specific bits, take |
---|
1801 | gboolean 'init_threads' |
---|
1802 | (linc_mutex_new): impl. to hide conditional mess. |
---|
1803 | |
---|
1804 | * src/linc-server.c (linc_server_accept_connection): |
---|
1805 | split out of |
---|
1806 | (linc_server_handle_io): here & update locking. |
---|
1807 | |
---|
1808 | 2001-08-17 Michael Meeks <michael@ximian.com> |
---|
1809 | |
---|
1810 | * src/linc-server.c (linc_server_init): use g_thread |
---|
1811 | stuff straight - no need for a recursive mutex - set |
---|
1812 | to NULL if threads not initialized. |
---|
1813 | |
---|
1814 | * include/linc: homogenise header guard style, add |
---|
1815 | G_BEGIN/END_DECLS |
---|
1816 | |
---|
1817 | * include/linc/linc-types.h: |
---|
1818 | s/LINC_THREADSAFE/G_THREADS_ENABLED/ kill whacked out |
---|
1819 | threading macro overload. |
---|
1820 | (LINC_MUTEX_[UN]LOCK): don't inexplicably steal |
---|
1821 | chunks of the O_ namespace. |
---|
1822 | kill extreme strangeness with defining wierd system bits. |
---|
1823 | |
---|
1824 | * Revert Mark's patch. |
---|
1825 | |
---|
1826 | 2001-08-18 Mark McLoughlin <mark@skynet.ie> |
---|
1827 | |
---|
1828 | * configure.in: added --enable-linc-threadsafe |
---|
1829 | option. Defaults to yes. |
---|
1830 | |
---|
1831 | * include/linc/linc-config.h.in: added |
---|
1832 | LINC_ENABLE_THREADSAFE def. |
---|
1833 | |
---|
1834 | * include/linc/linc-connection.h, |
---|
1835 | include/linc/linc-server.h, |
---|
1836 | include/linc/linc-server.h, |
---|
1837 | include/linc/linc-types.h, |
---|
1838 | include/linc/linc-threads.h, |
---|
1839 | include/linc/linc.h: split out threaded |
---|
1840 | stuff into linc-threads.h. Removed _GNU_SOURCE, |
---|
1841 | _XOPEN_SOURCE and _REENTRANT defines. Cleaned |
---|
1842 | up a little. |
---|
1843 | |
---|
1844 | * linc/include/linc/Makefile.am: added linc-threads.h. |
---|
1845 | |
---|
1846 | * src/Makefile.am: add -D_GNU_SOURCE for |
---|
1847 | PTHREAD_MUTEX_RECURSIVE. |
---|
1848 | |
---|
1849 | 2001-08-16 Mark McLoughlin <mark@skynet.ie> |
---|
1850 | |
---|
1851 | * configure.in: Cache ACLOCAL_FLAGS. |
---|
1852 | |
---|
1853 | 2001-08-16 Michael Meeks <michael@ximian.com> |
---|
1854 | |
---|
1855 | * configure.in: bump version to 0.1.2 |
---|
1856 | |
---|
1857 | * src/linc-connection.c (linc_connection_get_type): don't |
---|
1858 | use the base_init - but the instance_init to set fd == -1 |
---|
1859 | so we don't close (0), doh. |
---|
1860 | (linc_connection_connected): update to call the |
---|
1861 | handle_input virtual method on input. |
---|
1862 | |
---|
1863 | 2001-08-14 Michael Meeks <michael@ximian.com> |
---|
1864 | |
---|
1865 | * src/linc-protocols.c (irda_getaddrinfo): kill another |
---|
1866 | heinous srand idiocy. |
---|
1867 | |
---|
1868 | 2001-08-13 Michael Meeks <michael@ximian.com> |
---|
1869 | |
---|
1870 | * src/linc-connection.c (linc_close_fd): split out. |
---|
1871 | (linc_connection_dispose): use. |
---|
1872 | (linc_connection_real_state_changed): ditto. |
---|
1873 | |
---|
1874 | 2001-08-13 Michael Meeks <michael@ximian.com> |
---|
1875 | |
---|
1876 | * src/linc-connection.c (linc_connection_init): impl, |
---|
1877 | to init cnx->fd = -1. |
---|
1878 | (linc_connection_get_type): upd. - thanks to Martin Baulig. |
---|
1879 | |
---|
1880 | 2001-08-10 Michael Meeks <michael@ximian.com> |
---|
1881 | |
---|
1882 | * src/linc-protocols.c (linc_set_tmpdir): kill gratuitous evil |
---|
1883 | (make_local_tmpdir): copy from ORBit-stable. |
---|
1884 | (linc_set_tmpdir): actualy ensure that we have a valid |
---|
1885 | working directory. |
---|
1886 | |
---|
1887 | 2001-07-30 Michael Meeks <michael@ximian.com> |
---|
1888 | |
---|
1889 | * Version 0.1.1 |
---|
1890 | |
---|
1891 | 2001-07-30 Michael Meeks <michael@ximian.com> |
---|
1892 | |
---|
1893 | * src/linc-connection.c (linc_connection_class_init): |
---|
1894 | remove redundant static prototypes. |
---|
1895 | (linc_connection_class_init): init 'broken' signal. |
---|
1896 | (linc_connection_real_state_changed): emit the 'broken' |
---|
1897 | signal. |
---|
1898 | |
---|
1899 | 2001-07-24 Michael Meeks <michael@ximian.com> |
---|
1900 | |
---|
1901 | * src/linc-connection.c (linc_connection_real_state_changed): |
---|
1902 | make it unref the connection on disconnect ... |
---|
1903 | |
---|
1904 | 2001-07-18 Michael Meeks <michael@ximian.com> |
---|
1905 | |
---|
1906 | * src/linc-connection.c (linc_connection_writev): |
---|
1907 | s/g_main_iteration/linc_main_iteration/. |
---|
1908 | |
---|
1909 | * src/linc.c (linc_main_iteration): impl. |
---|
1910 | (linc_init): make the linc_loop run. |
---|
1911 | (linc_main_pending): impl. |
---|
1912 | (linc_main_loop_run): impl. |
---|
1913 | |
---|
1914 | * src/linc-server.c (linc_server_dispose): upd. |
---|
1915 | (linc_server_setup): upd. |
---|
1916 | (linc_server_get_type): re-order to kill redundant |
---|
1917 | prototypes. |
---|
1918 | |
---|
1919 | * src/linc-connection.c (linc_source_remove): upd. |
---|
1920 | (linc_connection_init): remove; redundant. |
---|
1921 | (linc_connection_real_state_changed): upd. |
---|
1922 | (linc_connection_connected): upd. |
---|
1923 | |
---|
1924 | * src/linc.c (linc_io_add_watch): impl. |
---|
1925 | (linc_io_remove_watch): impl. |
---|
1926 | |
---|
1927 | * include/linc/linc-types.h: add LincWatch type. |
---|
1928 | |
---|
1929 | * src/*.c: s/g_io_add_watch/linc_io_add_watch/ |
---|
1930 | |
---|
1931 | 2001-07-16 Darin Adler <darin@bentspoon.com> |
---|
1932 | |
---|
1933 | * include/linc/linc-types.h: Fix order of includes to |
---|
1934 | keep Linux happy -- the Solaris change let to a compile |
---|
1935 | failure on Linux. |
---|
1936 | |
---|
1937 | * src/linc.c: (linc_init): Add a missing ifdef. |
---|
1938 | |
---|
1939 | 2001-07-16 Laszlo Peter <laca@ireland.sun.com> |
---|
1940 | |
---|
1941 | * src/linc-protocols.c: set fakelen to 0 when fakehost is NULL |
---|
1942 | to avoid core dump on Solaris. |
---|
1943 | |
---|
1944 | * include/linc/linc-types.h: include <sys/types.h> to |
---|
1945 | keep Solaris happy. |
---|
1946 | |
---|
1947 | 2001-07-13 Darin Adler <darin@bentspoon.com> |
---|
1948 | |
---|
1949 | * configure.in: Remove duplicate macros, and fix one of |
---|
1950 | the test invocations that was not using the x prefix |
---|
1951 | technique correctly. |
---|
1952 | |
---|
1953 | 2001-07-13 Michael Meeks <michael@ximian.com> |
---|
1954 | |
---|
1955 | * src/linc-connection.c (linc_connection_initiate): add |
---|
1956 | more error checking on fcntls. |
---|
1957 | |
---|
1958 | 2001-07-08 Seth Nickell <snickell@stanford.edu> |
---|
1959 | |
---|
1960 | * src/linc.c: (linc_init): |
---|
1961 | |
---|
1962 | Only call g_thread_init if the threading system hasn't |
---|
1963 | already been activated. |
---|
1964 | |
---|
1965 | 2001-07-03 Michael Meeks <michael@ximian.com> |
---|
1966 | |
---|
1967 | * src/linc-protocols.c (linc_getaddrinfo): don't re-seed the |
---|
1968 | random number generator with the time in seconds ! |
---|
1969 | don't use "%d%d", rand (), rand () - it gains us nothing, |
---|
1970 | add gettimeofday ^ instead. |
---|
1971 | |
---|
1972 | * src/linc-connection.c (linc_connection_dispose): |
---|
1973 | s/shutdown/dispose. |
---|
1974 | |
---|
1975 | * src/linc.c (linc_init): fix g_type_init. |
---|
1976 | |
---|
1977 | 2001-07-02 Michael Meeks <michael@ximian.com> |
---|
1978 | |
---|
1979 | * src/linc-server.c (linc_server_setup): regenerate the |
---|
1980 | UDS' name on EINVAL from bind. |
---|
1981 | |
---|
1982 | 2001-06-21 Martin Baulig <baulig@suse.de> |
---|
1983 | |
---|
1984 | * configure.in: Make this work if SSL is not installed. |
---|
1985 | |
---|
1986 | 2001-05-25 Michael Meeks <michael@ximian.com> |
---|
1987 | |
---|
1988 | * src/linc-connection.c (linc_source_remove): split from |
---|
1989 | (linc_connection_shutdown): here, and release the self |
---|
1990 | reference whilst watching. |
---|
1991 | (linc_connection_real_state_changed): use linc_source_remove. |
---|
1992 | (linc_connection_connected): hold a ref over the state_changed |
---|
1993 | emissions. |
---|
1994 | |
---|
1995 | 2001-05-24 Michael Meeks <michael@ximian.com> |
---|
1996 | |
---|
1997 | * src/linc-connection.c (linc_connection_connected): |
---|
1998 | unref the connection object on disconnection. |
---|
1999 | |
---|
2000 | * src/linc-server.c (linc_server_destroy): |
---|
2001 | protect against multiple shutdowns, and rename to |
---|
2002 | |
---|
2003 | * src/linc-connection.c (linc_connection_destroy): |
---|
2004 | protect against multiple shutdowns, and rename to |
---|
2005 | (linc_connection_shutdown): this. |
---|
2006 | (linc_connection_real_state_changed): add assertions |
---|
2007 | on source removal. |
---|
2008 | |
---|
2009 | 2001-05-18 Michael Meeks <michael@ximian.com> |
---|
2010 | |
---|
2011 | * src/linc-connection.c (linc_connection_destroy): check |
---|
2012 | the io channel is valid before the unref - happens in |
---|
2013 | some error cases. |
---|
2014 | |
---|
2015 | 2001-05-18 Michael Meeks <michael@ximian.com> |
---|
2016 | |
---|
2017 | * src/linc-server.c (linc_server_class_init): actualy |
---|
2018 | make the signal run. |
---|
2019 | |
---|
2020 | 2001-05-18 Michael Meeks <michael@ximian.com> |
---|
2021 | |
---|
2022 | * autogen.sh: update for libtool 1.4 |
---|
2023 | |
---|
2024 | * src/linc-connection.c (linc_connection_destroy): unref |
---|
2025 | the IO channel on destroy - doh. |
---|
2026 | |
---|
2027 | 2000-10-27 Michael Meeks <michael@helixcode.com> |
---|
2028 | |
---|
2029 | * src/linc-server.c (linc_server_get_type): type_register_static |
---|
2030 | fix. |
---|
2031 | |
---|
2032 | * src/linc-connection.c (linc_connection_writev): use cnx->fd. |
---|
2033 | (linc_connection_get_type): add '0' parameter for head glib. |
---|
2034 | |
---|