[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] the great next stuff branch, libchannel, created. becf233178d2cf40
From: |
Thomas Schwinge |
Subject: |
[SCM] the great next stuff branch, libchannel, created. becf233178d2cf402591e97d7a8499cafbbb7251 |
Date: |
Tue, 06 Oct 2009 09:39:43 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "the great next stuff".
The branch, libchannel has been created
at becf233178d2cf402591e97d7a8499cafbbb7251 (commit)
- Log -----------------------------------------------------------------
commit becf233178d2cf402591e97d7a8499cafbbb7251
Author: Thomas Schwinge <address@hidden>
Date: Tue Oct 6 11:29:49 2009 +0200
Switch to the new ChangeLog style.
* ChangeLog: New file.
* channelio/ChangeLog: Remove file.
* libchannel/ChangeLog: Likewise.
commit 2f2c75f8c886f0f58d4f621e5fc662ba297e49ca
Author: Carl Fredrik Hammar <address@hidden>
Date: Sat Aug 25 16:01:41 2007 +0000
2007-08-25 Carl Fredrik Hammar <address@hidden>
* query.c (channel_create_query_hub): Try to create file hub even
if `file_name_lookup' failed.
* broadcast.c (broadcast_clear_hub): Check if hook is null before
freeing it.
* tee.c (channel_create_tee_hub): Don't free hub that failed
during creation.
* kids.c (channel_create_hub_children): Don't free hub that failed
during creation.
commit 58a6fa493765ff970bb09584e35beb585d9ac774
Author: Carl Fredrik Hammar <address@hidden>
Date: Sat Aug 25 12:08:51 2007 +0000
2007-08-25 Carl Fredrik Hammar <address@hidden>
* channelio.c (check_open_hook): Convert open modes to channel
flags before passing them to hub creation functions.
commit 2c36c4ad34c77b482a21ecace08b26c313a9553b
Author: Carl Fredrik Hammar <address@hidden>
Date: Mon Aug 20 14:25:12 2007 +0000
2007-08-20 Carl Fredrik Hammar <address@hidden>
* Makefile: New file. Based on `streamio/Makefile'
* channelio.c: New file. Based on `streamio/streamio.c'
* io.c: New file. Based on `streamio/io.c'
* node.c: New file.
* node.h: New file. Based on `streamio/dev.h'
* open.c: New file.
* open.h: New file. Based on `streamio/open.h'
commit 3834d532783a09ccdd21a7afb0a0b31fc731ddc7
Author: Carl Fredrik Hammar <address@hidden>
Date: Mon Aug 20 14:17:34 2007 +0000
2007-08-20 Carl Fredrik Hammar <address@hidden>
* Makefile: Rework libstores Makefile.
* tee.c: New file.
* broadcast.c: New file.
* module.c: New file.
* typed.c: New file.
* kids.c: New file.
* control.c: New file.
* fetch.c: New file with dummy implementation.
* file.c: New file.
* argp.c: New file.
* query.c: New file.
* channel.h: Include `cthreads.h'.
(CHANNEL_NO_FILEIO): New flag.
(CHANNEL_ENFORCED): New flag.
(CHANNEL_GENERIC_FLAGS): Add `CHANNEL_NO_FILEIO' and
`CHANNEL_ENFORCED'.
(struct channel): New field `class_hook'.
(struct channel): Add comments for hooks.
(struct channel_hub): New field `lock'.
(struct channel_hub): Fixed comment for `hook'.
(struct channel_hub): New fields `children' and `num_children'.
(struct channel_hub): New field `name'.
(struct channel_class): New method `flush'.
(struct channel_class): New method `control_demuxer'.
(struct channel_class): Move `clear_hub'.
(struct channel_class): New method `validate_name'.
(struct channel_class): New method `create'.
(channel_write): Drop const qualifier from `buf' parameter of
`write'.
(struct channel_class): Drop const qualifier from `buf' parameter
of `write'.
(channel_alloc_hub): Add `name' parameter.
(channel_tee_class): New class.
(channel_broadcast_class): New class.
(channel_typed_class): New class.
(channel_module_class): New class.
(channel_query_class): New class.
(channel_find_class): New function.
(channel_create_tee_hub): New function.
(channel_create_broadcast_hub): New function.
(channel_create_module_hub): New function.
(channel_create_typed_hub): New function.
(channel_create_file_hub): New function.
(channel_create_query_hub): New function.
(channel_fetch_hub): New function.
(channel_file_class): New class.
(channel_module_find_class): New function.
(channel_set_children): New function.
(channel_children_name): New function.
(channel_set_child_flags): New function.
(channel_clear_child_flags): New function.
(channel_create_hub_children): New function.
(channel_control_demuxer): New function.
(channel_begin_using_channel): New function.
(channel_end_using_channel): New function.
(channel_set_hub_name): New function.
(CHANNEL_STD_CLASS): New macro.
(__start_channel_std_classes): New variable.
(__stop_channel_std_classes): New variable.
(channel_argp): New variable.
(struct channel_argp_params): New struct.
(struct channel_parsed): New opaque struct.
(channel_parsed_free): New function.
(channel_create_parsed_hub): New function.
(channel_parsed_append_args): New function.
(channel_parsed_name): New function.
(channel_flush): New function.
* channel.c (channel_alloc): Zero `user_hook'.
(channel_flush): New function `channel_flush'.
(channel_open): Set CHANNEL_READONLY and/or
CHANNEL_WRITEONLY if respective is set in hub.
(channel_write): Drop const qualifier from
`buf' parameter of `write'.
* hub.c (channel_alloc_hub): Set CHANNEL_READONLY if
CHANNEL_HARD_READONLY is set. Include `string.h'.
(channel_alloc_hub): Add `name' parameter and set `name' field.
(channel_alloc_hub): Initialize `lock'.
(channel_alloc_hub): Initialize `children' and num_children'.
(channel_alloc_hub): Set CHANNEL_WRITEONLY if
CHANNEL_HARD_WRITEONLY is set.
(channel_free_hub): Clear `lock'.
(channel_free_hub): Free `children'.
(channel_free_hub): Free `name'.
(channel_set_hub_name): New function.
* tests/test-1.c (triv_fifo_read): Use `size_t' instead of
`mach_type_number_t'.
(triv_fifo_write): Likewise.
(triv_fifo_write): Drop const qualifier.
commit de3b531c729741f5c34589d08b1771e08b68899d
Author: Carl Fredrik Hammar <address@hidden>
Date: Sat Aug 18 11:46:27 2007 +0000
2007-08-18 Carl Fredrik Hammar <address@hidden>
* hub.c (channel_alloc_hub): Initialize `lock'.
(channel_free_hub): Clear `lock'.
* channel.c (channel_alloc): Zero `user_hook'.
* channel.c (channel_flush): New function `channel_flush'.
* channel.h: Include `cthreads.h'.
(struct channel): New field `class_hook'.
(struct channel): Add comments for hooks.
(struct channel_hub): New field `lock'.
(struct channel_hub): Fixed comment for `hook'.
(struct channel_class): New method `flush'.
(CHANNEL_NO_FILEIO): New flag.
(CHANNEL_ENFORCED): New flag.
(CHANNEL_GENERIC_FLAGS): Add `CHANNEL_NO_FILEIO' and
`CHANNEL_ENFORCED'.
(channel_flush): New function `channel_flush'.
commit 7c89b863b5c510b04a366c10a5c7342906c86daf
Author: Carl Fredrik Hammar <address@hidden>
Date: Thu Aug 16 12:08:53 2007 +0000
2007-08-16 Carl Fredrik Hammar <address@hidden>
* tests/test-1.c (triv_fifo_open): New function.
(triv_fifo_cleanup): Rename to triv_fifo_close.
(triv_fifo_create): Remove.
(triv_fifo_create_hub) New function.
(triv_fifo_read): Use class_hook instead of hook.
(triv_fifo_write): Likewise.
(main): Create triv_fifo hub.
(main): Open triv_fifo channel.
(main): Close triv_fifo channel.
(triv_fifo_class): Set name.
(triv_fifo_class): Set open and close methods.
* Makefile (SRCS): Add hub.c
* hub.c: New file.
* channel.c (channel_create): Rename to channel_alloc.
(channel_alloc): Remove class parameter.
(channel_alloc): Add hub parameter.
(channel_alloc): Use class_hook instead of hook.
(channel_free): Don't call cleanup method.
(channel_open): New function.
(channel_close): New function.
(channel_set_flags): Get class through hub.
(channel_clear_flags): Likewise.
(channel_read): Likewise.
(channel_write): Likewise.
* channel.h: Merge channel and channel_class page.
: Merge channel function pages into single page.
(struct channel): Remove field class.
(struct channel): New field hub.
(struct channel): Rename hook to class_hook.
(struct channel_hub): New struct.
(struct channel_class): Rename method cleanup to close.
(struct channel_class): Fix close comment.
(struct channel_class): New methods open, close, set_hub_flags,
clear_hub_flags, clear_hub.
(channel_create): Rename to channel_alloc.
(channel_alloc): Remove class parameter.
(channel_alloc): Add hub parameter.
(channel_free): Fix comment.
(channel_open, channel_close): New functions.
(channel_alloc_hub, channel_free_hub): New functions.
(channel_set_hub_flags, channel_clear_hub_flags): Likewise.
commit f1a4d6327f269e5b6fc8cbca87c1f0c3b3bfb4b7
Author: Carl Fredrik Hammar <address@hidden>
Date: Tue Aug 7 18:04:16 2007 +0000
2007-08-07 Carl Fredrik Hammar <address@hidden>
* channel.c (channel_create): Initialize hook.
(channel_create): Fix comment.
* channel.h (channel_create): Fix comment.
commit c271c51a226307fc2441991b8c49e359e1397a4d
Author: Carl Fredrik Hammar <address@hidden>
Date: Tue Aug 7 18:04:06 2007 +0000
2007-08-07 Carl Fredrik Hammar <address@hidden>
* channel.c (channel_create): Initialize hook.
(channel_create): Fix comment.
* channel.h (channel_create): Fix comment.
commit af935241ba34ec08021ea398f4f72094fed76e02
Author: Carl Fredrik Hammar <address@hidden>
Date: Tue Aug 7 18:03:55 2007 +0000
2007-08-07 Carl Fredrik Hammar <address@hidden>
* channel.c (channel_create): Initialize hook.
(channel_create): Fix comment.
* channel.h (channel_create): Fix comment.
commit 0b4e728dd8e991140e6f10e0465d38712e4b2bed
Author: Carl Fredrik Hammar <address@hidden>
Date: Wed Jul 18 13:12:04 2007 +0000
2007-07-18 Carl Fredrik Hammar <address@hidden>
* channel.h: Remove inacurate inductory flag comment.
(CHANNEL_IMMUTABLE_FLAGS, CHANNEL_INACTIVE): Remove.
(CHANNEL_INNOCUOUS): Remove.
(CHANNEL_READONLY, CHANNEL_WRITEONLY): Bump down value.
(CHANNEL_HARD_READONLY, CHANNEL_HARD_WRITEONLY): Bump down value.
(CHANNEL_BACKEND_SPEC_BASE): Bump down value.
(CHANNEL_BACKEND_FLAGS): Add CHANNEL_HARD_WRITEONLY. Remove
CHANNEL_INACTIVE.
(struct channel_class): Inline type of read and write. Improve
comments of read, write, set_flags, clear_flags and cleanup.
(channel_read_meth_t, channel_write_meth_t): Remove.
(channel_create channel_free): Improve comments.
(channel_set_flags, channel_clear_flags): Improve comments.
(channel_read, channel_write): Improve comments.
(channel_read, channel_write): Swap place in file.
commit 0ac3bd45c0daa844f0d61d11e87e1e4ac881ae3f
Author: Carl Fredrik Hammar <address@hidden>
Date: Wed Jul 18 13:11:10 2007 +0000
2007-07-18 Carl Fredrik Hammar <address@hidden>
* channel.c (channel_create channel_free): Improve comments.
(channel_set_flags, channel_clear_flags): Improve comments.
(channel_read, channel_write): Improve comments.
(channel_read, channel_write): Swap place in file.
(channel_read): Check if channel is write-only.
(channel_write): Return EPERM if channel is read-only.
commit 3b602d12b95c2c5ab115c66b20ae0bdd65c9cc52
Author: Carl Fredrik Hammar <address@hidden>
Date: Thu Jun 28 14:42:38 2007 +0000
2007-06-28 Carl Fredrik Hammar <address@hidden>
* tests/Makefile: New file. Based on libpthread/tests/Makefile.
* tests/test-1.c: New file.
* channel.h: New file. Based on libstore/store.h.
* channel.c: New file. Based on libstore/make.c, libstore/flags.c
and libstore/rdwr.c.
* Makefile: New file.
commit 4182faf6be11df4c8ebb3f1075f462ea8d3049d0
Author: Carl Fredrik Hammar <address@hidden>
Date: Thu Jun 28 14:39:53 2007 +0000
2007-06-28 Carl Fredrik Hammar <address@hidden>
* tests/Makefile: New file. Based on libpthread/tests/Makefile.
commit 8f20db29ed3bf9c3687843e8d6c79cdc9efccab6
Author: Carl Fredrik Hammar <address@hidden>
Date: Thu Jun 28 14:37:35 2007 +0000
2007-06-28 Carl Fredrik Hammar <address@hidden>
* tests/test-1.c: New file.
commit 6d24eed930d41d03e026940ac78d4ab4f3820606
Author: Carl Fredrik Hammar <address@hidden>
Date: Thu Jun 28 14:35:03 2007 +0000
2007-06-28 Carl Fredrik Hammar <address@hidden>
* Makefile: New file.
commit bd6b2acc1f1e5d69c66df68eedd85d6f29ae7b15
Author: Carl Fredrik Hammar <address@hidden>
Date: Thu Jun 28 14:32:16 2007 +0000
2007-06-28 Carl Fredrik Hammar <address@hidden>
* channel.c: New file. Based on libstore/make.c, libstore/flags.c
and libstore/rdwr.c.
commit e689a888221b973024dd5a79f3ab2a194f3c7b31
Author: Carl Fredrik Hammar <address@hidden>
Date: Thu Jun 28 14:30:11 2007 +0000
2007-06-28 Carl Fredrik Hammar <address@hidden>
* channel.h: New file. Based on libstore/store.h.
-----------------------------------------------------------------------
hooks/post-receive
--
the great next stuff
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] the great next stuff branch, libchannel, created. becf233178d2cf402591e97d7a8499cafbbb7251,
Thomas Schwinge <=