1 2009-01-24 Graham Cobb <g+770@cobb.uk.net>
3 * opensync/ipc/opensync_queue.c (osync_queue_remove_cross_link): Add
4 osync_queue_remove_cross_link
5 (osync_queue_disconnect): Call osync_queue_remove_cross_link
7 * opensync/ipc/opensync_queue_internals.h: Add osync_queue_remove_cross_link
9 2009-01-23 Graham Cobb <g+770@cobb.uk.net>
11 * opensync/client/opensync_client.c (osync_client_set_incoming_queue): Call
12 osync_queue_set_pending_limit
14 * tests/ipc-tests/check_ipc.c: Call osync_queue_set_pending_limit in timeout tests.
16 * opensync/ipc/opensync_queue_internals.h: Add osync_queue_set_pending_limit
17 and OSYNC_QUEUE_PENDING_LIMIT
19 * opensync/ipc/opensync_queue.c (_incoming_check): Check pendingLimit not exceeded.
20 Add increments/decrements of pendingCount whenever pendingReplies is manipulated.
21 (osync_queue_set_pending_limit): Add osync_queue_set_pending_limit
23 * opensync/ipc/opensync_queue_private.h: Add pendingCount, pendingLimit to OSyncQueue
25 * tests/CMakeLists.txt: Add ipc_loop_timeout_with_idle.
27 * tests/ipc-tests/check_ipc.c: Rename callback_handler as callback_handler_check_reply.
28 Rename server_handler3 as server_handler_abort.
29 Rename client_handler6 as client_handler_sleep.
30 Add ipc_loop_timeout_with_idle.
32 2009-01-22 Graham Cobb <g+770@cobb.uk.net>
34 * tests/CMakeLists.txt: Add ipc_loop_with_timeout
37 * tests/ipc-tests/check_ipc.c: Call osync_queue_cross_link every time
38 client mainloop is setup.
39 (ipc_timeout): Rewrite client to use a mainloop and a callback so new
40 timeout processing can run
41 Rewrite server to use a mainloop so message callback gets called
42 (ipc_loop_with_timeout): Add ipc_loop_with_timeout
43 (ipc_late_reply): Add ipc_late_reply
45 * opensync/ipc/opensync_queue.c (_timeout_dispatch): Restart timeout search at start of
46 pending list as list may have been modified while unlocked.
47 (_timeout_dispatch): Set message id in error message
48 (_timeout_dispatch): Undo change to restart timeout search (above)
50 2009-01-21 Graham Cobb <g+770@cobb.uk.net>
52 * opensync/ipc/opensync_queue.c (osync_queue_send_message_with_timeout): If this is
53 a reply, remove pending command
55 * opensync/client/opensync_client_proxy.c (_osync_client_proxy_hup_handler): treat
56 a queue error as a disconnect
57 (osync_client_proxy_spawn): cross-link command and reply queues
59 * opensync/client/opensync_client.c (_osync_client_handle_initialize): cross-link
60 command and reply queues
61 (_osync_client_hup_handler): treat a queue error as a disconnect
63 2009-01-20 Graham Cobb <g+770@cobb.uk.net>
65 * opensync/ipc/opensync_queue_internals.h: Add osync_queue_cross_link
67 * opensync/ipc/opensync_queue.c (osync_queue_cross_link): Cross-link command and reply queues
69 * opensync/ipc/opensync_queue.c (_osync_send_timeout_response):
70 Callback function for timeouts: send the timeout error reponse
71 (_incoming_dispatch): For incoming messages which have timeouts,
72 create a pending list entry
74 * opensync/ipc/opensync_queue_private.h: Add reply_queue for pointer to
75 queue used for replies to incoming messages, if any.
76 Add cmd_queue for pointer to queue used to store pending commands.
78 2009-01-19 Graham Cobb <g+770@cobb.uk.net>
80 * opensync/ipc/opensync_message.c: Add opensync_message_set/get_timeout
82 * opensync/ipc/opensync_message_internals.h: Add opensync_message_set/get_timeout
84 * opensync/ipc/opensync_message_private.h: Add timeout to message
86 2008-05-04 Graham Cobb <g+770@cobb.uk.net>
88 * opensync/helper/opensync_hashtable.c (osync_hashtable_get_deleted):
89 Reimplement change below to avoid local function declaration, which does not
90 work on suncc. Use user_data parameter on callback_check_deleted instead.
92 2008-05-03 Graham Cobb <g+770@cobb.uk.net>
94 * opensync/helper/opensync_hashtable.c (osync_hashtable_get_deleted):
95 Avoid use of g_hash_table_get_keys so code can be built using glib 2.12.
96 Uses g_hash_table_foreach with a callback routine instead.
98 2008-04-12 Daniel Gollub <dgollub@suse.de>
100 * tools/osyncplugin.c:
101 Full rewrite of osyncplugin to work with OpenSync 0.30 API
103 * tests/mock-plugin/mock_sync.c, tests/mock-plugin/mock_format.c:
104 Stripped entire error handling of mock-sync and mock-format for best
105 code coverage. Instead of error handling in testing code use
108 2008-04-10 Graham Cobb <g+770@cobb.uk.net>
110 * opensync/helper/opensync_hashtable.c (osync_hashtable_reset_reports): conditionalise g_hash_table_remove_all
111 on GLIB version 2.12 or later. Use g_hash_table_foreach_remove for earlier versions.
113 * ChangeLog: create a ChangeLog