eleutheria.git
16 years agoPrint state's key instead of address
Stathis Kamperis [Sun, 13 Apr 2008 13:02:24 +0000 (13 16:02 +0300)]
Print state's key instead of address

16 years agoFix warning in state_printf()
Stathis Kamperis [Mon, 7 Apr 2008 19:14:16 +0000 (7 22:14 +0300)]
Fix warning in state_printf()

16 years agoRename to buddy
Stathis Kamperis [Mon, 7 Apr 2008 18:39:51 +0000 (7 21:39 +0300)]
Rename to buddy

16 years agoAdd comment-reference to The Art of Computer Programming
Stathis Kamperis [Mon, 7 Apr 2008 18:21:45 +0000 (7 21:21 +0300)]
Add comment-reference to The Art of Computer Programming

16 years agoHonour 80-cols per line limit
Stathis Kamperis [Thu, 3 Apr 2008 04:42:23 +0000 (3 07:42 +0300)]
Honour 80-cols per line limit

16 years agoChange naming in variable for consistency purposes
Stathis Kamperis [Wed, 2 Apr 2008 12:11:33 +0000 (2 15:11 +0300)]
Change naming in variable for consistency purposes

16 years agoMore simplifications in fsm_export_to_dot() code
Stathis Kamperis [Wed, 2 Apr 2008 08:05:02 +0000 (2 11:05 +0300)]
More simplifications in fsm_export_to_dot() code

16 years agoSimplify expression in fsm_export_to_dot()
Stathis Kamperis [Wed, 2 Apr 2008 08:02:15 +0000 (2 11:02 +0300)]
Simplify expression in fsm_export_to_dot()

16 years agoCosmetic change in comment
Stathis Kamperis [Tue, 1 Apr 2008 22:20:21 +0000 (2 01:20 +0300)]
Cosmetic change in comment

16 years agoAdd a comment in hash table initialization
Stathis Kamperis [Tue, 1 Apr 2008 21:40:46 +0000 (2 00:40 +0300)]
Add a comment in hash table initialization

16 years agoCosmetic stuff. No functional change
Stathis Kamperis [Sun, 30 Mar 2008 23:33:24 +0000 (31 02:33 +0300)]
Cosmetic stuff. No functional change

16 years agoAdd a missed line from previous commit
Stathis Kamperis [Sun, 30 Mar 2008 22:58:57 +0000 (31 01:58 +0300)]
Add a missed line from previous commit

16 years agoAdd entry in Makefile for dbg_fsm
Stathis Kamperis [Sun, 30 Mar 2008 22:56:11 +0000 (31 01:56 +0300)]
Add entry in Makefile for dbg_fsm

16 years agoInitial import of dbg_fsm.c
Stathis Kamperis [Sun, 30 Mar 2008 22:49:52 +0000 (31 01:49 +0300)]
Initial import of dbg_fsm.c

16 years agoMake fsm_print_states() stream agnostic
Stathis Kamperis [Sun, 30 Mar 2008 22:47:21 +0000 (31 01:47 +0300)]
Make fsm_print_states() stream agnostic

16 years agoRemove redundant fsm_print_states()
Stathis Kamperis [Sun, 30 Mar 2008 22:10:10 +0000 (31 01:10 +0300)]
Remove redundant fsm_print_states()

16 years agoActually implement fsm_print()
Stathis Kamperis [Sun, 30 Mar 2008 22:06:55 +0000 (31 01:06 +0300)]
Actually implement fsm_print()

16 years agoAdd fsm_print() for printing fsm's states
Stathis Kamperis [Sun, 30 Mar 2008 21:25:57 +0000 (31 00:25 +0300)]
Add fsm_print() for printing fsm's states

16 years agoHonour 80-col per line limit
Stathis Kamperis [Sun, 30 Mar 2008 21:09:51 +0000 (31 00:09 +0300)]
Honour 80-col per line limit

16 years agoBeautify state transition table construction
Stathis Kamperis [Sun, 30 Mar 2008 11:06:00 +0000 (30 14:06 +0300)]
Beautify state transition table construction

16 years agoHonour 80-col per line limit in fsm.*
Stathis Kamperis [Thu, 27 Mar 2008 18:18:46 +0000 (27 20:18 +0200)]
Honour 80-col per line limit in fsm.*

16 years agoAdd stub for fsm_minimize()
Stathis Kamperis [Wed, 26 Mar 2008 18:09:42 +0000 (26 20:09 +0200)]
Add stub for fsm_minimize()

16 years agoUpdate TODO file
Stathis Kamperis [Fri, 21 Mar 2008 23:03:59 +0000 (22 01:03 +0200)]
Update TODO file

16 years agoAdd some more comments
Stathis Kamperis [Wed, 19 Mar 2008 01:31:20 +0000 (19 03:31 +0200)]
Add some more comments

16 years agoAdd second approach using sscanf()
Stathis Kamperis [Mon, 17 Mar 2008 21:22:24 +0000 (17 22:22 +0100)]
Add second approach using sscanf()

16 years agoAdd some more comments
Stathis Kamperis [Mon, 17 Mar 2008 09:06:34 +0000 (17 10:06 +0100)]
Add some more comments

16 years agoSimplify condition in do-while
Stathis Kamperis [Mon, 17 Mar 2008 08:58:28 +0000 (17 09:58 +0100)]
Simplify condition in do-while

16 years agoReturn EXIT_SUCCESS, instead of zero
Stathis Kamperis [Mon, 17 Mar 2008 08:56:20 +0000 (17 09:56 +0100)]
Return EXIT_SUCCESS, instead of zero

16 years agoAdd some comments and references
Stathis Kamperis [Mon, 17 Mar 2008 08:55:46 +0000 (17 09:55 +0100)]
Add some comments and references

16 years agoInitial commit of a common scanf problem
Stathis Kamperis [Sun, 16 Mar 2008 23:52:04 +0000 (17 00:52 +0100)]
Initial commit of a common scanf problem

16 years agoMake clean in makefiles work in netbsd by default rather than Linux
Stathis Kamperis [Sun, 16 Mar 2008 17:42:52 +0000 (16 18:42 +0100)]
Make clean in makefiles work in netbsd by default rather than Linux

16 years agoAesthetic fixes in code. No functional change.
Stathis Kamperis [Sun, 16 Mar 2008 17:33:29 +0000 (16 18:33 +0100)]
Aesthetic fixes in code. No functional change.

16 years agoHonour the 80-col per line limit
Stathis Kamperis [Mon, 10 Mar 2008 19:53:09 +0000 (10 20:53 +0100)]
Honour the 80-col per line limit

16 years agoAdd comment for sim_add_to_list()
Stathis Kamperis [Mon, 10 Mar 2008 19:29:26 +0000 (10 20:29 +0100)]
Add comment for sim_add_to_list()

16 years agoAesthetic fixes in comments
Stathis Kamperis [Mon, 10 Mar 2008 19:14:10 +0000 (10 20:14 +0100)]
Aesthetic fixes in comments

16 years agoBeautify for-loop
Stathis Kamperis [Sat, 8 Mar 2008 19:31:38 +0000 (8 20:31 +0100)]
Beautify for-loop

16 years agoHandle read() error
Stathis Kamperis [Mon, 3 Mar 2008 20:30:52 +0000 (3 21:30 +0100)]
Handle read() error

16 years agoMake list.sh executable
Stathis Kamperis [Sun, 2 Mar 2008 18:25:10 +0000 (2 19:25 +0100)]
Make list.sh executable

16 years agoAdd support for read() operation
Stathis Kamperis [Sun, 2 Mar 2008 19:39:59 +0000 (2 21:39 +0200)]
Add support for read() operation

16 years agoAdd missing ipc/ files
Stathis Kamperis [Sun, 2 Mar 2008 19:33:42 +0000 (2 21:33 +0200)]
Add missing ipc/ files

16 years agoAdd comment in Makefile for find(1)
Stathis Kamperis [Sun, 2 Mar 2008 19:28:50 +0000 (2 21:28 +0200)]
Add comment in Makefile for find(1)

16 years agoFix Makefile in respect to new paths
Stathis Kamperis [Sun, 2 Mar 2008 19:27:50 +0000 (2 21:27 +0200)]
Fix Makefile in respect to new paths

16 years agoMove fsm/
Stathis Kamperis [Sun, 2 Mar 2008 19:25:29 +0000 (2 21:25 +0200)]
Move fsm/

16 years agoNuke out some old debugging comments that were missed in previous commit
Stathis Kamperis [Sun, 2 Mar 2008 19:23:17 +0000 (2 21:23 +0200)]
Nuke out some old debugging comments that were missed in previous commit

16 years agoMajor cleanup in mpool
Stathis Kamperis [Sun, 2 Mar 2008 19:20:07 +0000 (2 21:20 +0200)]
Major cleanup in mpool
* Add MPOOL_BLOCK_INIT() macro for easily initializing a blknode data structure
* Use MPOOL_ prefix consistently for defining mpool namespece
* Remove old debugging comments as they are not needed any more

16 years agoAdd Makefile for mpool
Stathis Kamperis [Sun, 2 Mar 2008 19:18:12 +0000 (2 21:18 +0200)]
Add Makefile for mpool

16 years agoMajor cleanup
Stathis Kamperis [Sun, 24 Feb 2008 18:02:24 +0000 (24 20:02 +0200)]
Major cleanup

16 years agoabort on kernel compilation failure
Stathis Kamperis [Sat, 23 Feb 2008 17:06:49 +0000 (23 19:06 +0200)]
abort on kernel compilation failure

16 years agoMake functions static, wherever appropriate
Stathis Kamperis [Sat, 23 Feb 2008 16:53:23 +0000 (23 18:53 +0200)]
Make functions static, wherever appropriate

16 years agoComment out some header files for now
Stathis Kamperis [Sat, 23 Feb 2008 16:37:22 +0000 (23 18:37 +0200)]
Comment out some header files for now

16 years agoUse prop_object_t instead of prop_string_t
Stathis Kamperis [Sat, 23 Feb 2008 16:35:45 +0000 (23 18:35 +0200)]
Use prop_object_t instead of prop_string_t

16 years agoComment edit
Stathis Kamperis [Sat, 23 Feb 2008 16:15:31 +0000 (23 18:15 +0200)]
Comment edit

16 years agoUse D_OTHER constantin cdevsw structure
Stathis Kamperis [Sat, 23 Feb 2008 16:14:01 +0000 (23 18:14 +0200)]
Use D_OTHER constantin cdevsw structure

16 years agoMinor changes
Stathis Kamperis [Sat, 23 Feb 2008 16:11:22 +0000 (23 18:11 +0200)]
Minor changes

16 years agoIncrease mydev_usage upon open()'ing plus use proper LOG_xxx level
Stathis Kamperis [Sat, 23 Feb 2008 12:43:48 +0000 (23 14:43 +0200)]
Increase mydev_usage upon open()'ing plus use proper LOG_xxx level

16 years agoAdd compilation comment in testdev.c
Stathis Kamperis [Sat, 23 Feb 2008 12:38:56 +0000 (23 14:38 +0200)]
Add compilation comment in testdev.c

16 years agoAdd missing includes in testdev.c
Stathis Kamperis [Sat, 23 Feb 2008 12:27:00 +0000 (23 14:27 +0200)]
Add missing includes in testdev.c

16 years agoReturn ENOTTY instead of ENODEV for unsupported ioctl request. See errno(3)
Stathis Kamperis [Sat, 23 Feb 2008 12:24:03 +0000 (23 14:24 +0200)]
Return ENOTTY instead of ENODEV for unsupported ioctl request. See errno(3)

16 years agoPrepend `mydev' string when log()'ing
Stathis Kamperis [Sat, 23 Feb 2008 12:17:40 +0000 (23 14:17 +0200)]
Prepend `mydev' string when log()'ing

16 years agoInitliaze error value in declaration
Stathis Kamperis [Sat, 23 Feb 2008 12:15:53 +0000 (23 14:15 +0200)]
Initliaze error value in declaration

16 years agoAdd build script
Stathis Kamperis [Sat, 23 Feb 2008 12:14:36 +0000 (23 14:14 +0200)]
Add build script

16 years agoUse log() instead of printf() plus fix a mem leak in prop_string_cstring()
Stathis Kamperis [Sat, 23 Feb 2008 12:10:37 +0000 (23 14:10 +0200)]
Use log() instead of printf() plus fix a mem leak in prop_string_cstring()

16 years agoStill sad
Stathis Kamperis [Fri, 22 Feb 2008 16:54:13 +0000 (22 18:54 +0200)]
Still sad

16 years agoUse strncpy() when possible
Stathis Kamperis [Fri, 22 Feb 2008 14:57:52 +0000 (22 16:57 +0200)]
Use strncpy() when possible

16 years agoI am so sad
Stathis Kamperis [Fri, 22 Feb 2008 14:47:02 +0000 (22 16:47 +0200)]
I am so sad

16 years agoCheck return value of close()
Stathis Kamperis [Fri, 22 Feb 2008 14:45:14 +0000 (22 16:45 +0200)]
Check return value of close()

16 years agomain() should be main(void)
Stathis Kamperis [Fri, 22 Feb 2008 14:40:23 +0000 (22 16:40 +0200)]
main() should be main(void)

16 years agoCosmetic stuff
Stathis Kamperis [Wed, 20 Feb 2008 22:06:57 +0000 (21 00:06 +0200)]
Cosmetic stuff

16 years agoAdd sanity check for passed prop object type
Stathis Kamperis [Wed, 20 Feb 2008 21:29:54 +0000 (20 23:29 +0200)]
Add sanity check for passed prop object type

16 years agoRename old ioctl
Stathis Kamperis [Wed, 20 Feb 2008 21:29:23 +0000 (20 23:29 +0200)]
Rename old ioctl

16 years agoRename old ioctl
Stathis Kamperis [Wed, 20 Feb 2008 21:26:43 +0000 (20 23:26 +0200)]
Rename old ioctl

16 years agoTweak some comments
Stathis Kamperis [Wed, 20 Feb 2008 21:22:40 +0000 (20 23:22 +0200)]
Tweak some comments

16 years agoComments for ifdef readability
Stathis Kamperis [Wed, 20 Feb 2008 20:55:44 +0000 (20 22:55 +0200)]
Comments for ifdef readability

16 years agoRename file
Stathis Kamperis [Wed, 20 Feb 2008 20:46:20 +0000 (20 22:46 +0200)]
Rename file

16 years agoMove newline trimming
Stathis Kamperis [Wed, 20 Feb 2008 19:36:18 +0000 (20 21:36 +0200)]
Move newline trimming

16 years agoSeparate netbsd-specific from unix-specific projects
Stathis Kamperis [Wed, 20 Feb 2008 19:30:14 +0000 (20 21:30 +0200)]
Separate netbsd-specific from unix-specific projects

16 years agoAdd some comments plus fix a possible mem leak
Stathis Kamperis [Wed, 20 Feb 2008 00:51:51 +0000 (20 02:51 +0200)]
Add some comments plus fix a possible mem leak

16 years agoPrint dict's count for debugging purposes
Stathis Kamperis [Wed, 20 Feb 2008 00:36:12 +0000 (20 02:36 +0200)]
Print dict's count for debugging purposes

16 years agoAdd comment for invalid operation
Stathis Kamperis [Tue, 19 Feb 2008 22:41:07 +0000 (20 00:41 +0200)]
Add comment for invalid operation

16 years agoRearrange var declarations
Stathis Kamperis [Tue, 19 Feb 2008 15:38:31 +0000 (19 17:38 +0200)]
Rearrange var declarations

16 years agoUse plistref in _IOW (fixes kernel panic)
Stathis Kamperis [Tue, 19 Feb 2008 15:21:47 +0000 (19 17:21 +0200)]
Use plistref in _IOW (fixes kernel panic)

16 years agoAdd some comments
Stathis Kamperis [Mon, 18 Feb 2008 00:14:22 +0000 (18 02:14 +0200)]
Add some comments

16 years agoUse void* instead of deprecated caddr_t
Stathis Kamperis [Sun, 17 Feb 2008 23:43:22 +0000 (18 01:43 +0200)]
Use void* instead of deprecated caddr_t

16 years agoUse proplib for kernel/userspace communication
Stathis Kamperis [Sun, 17 Feb 2008 23:37:12 +0000 (18 01:37 +0200)]
Use proplib for kernel/userspace communication

16 years agoFix indentation
Stathis Kamperis [Sun, 17 Feb 2008 22:11:57 +0000 (18 00:11 +0200)]
Fix indentation

16 years agoAdd shell script to copy files to source tree
Stathis Kamperis [Sun, 17 Feb 2008 22:10:33 +0000 (18 00:10 +0200)]
Add shell script to copy files to source tree

16 years agoMinor cosmetic stuff
Stathis Kamperis [Sun, 17 Feb 2008 21:58:00 +0000 (17 23:58 +0200)]
Minor cosmetic stuff

16 years agoMinor cosmetic stuff
Stathis Kamperis [Sun, 17 Feb 2008 21:57:17 +0000 (17 23:57 +0200)]
Minor cosmetic stuff

16 years agoInitial import of minimal character device driver based on Brett's Lymn contributions
Stathis Kamperis [Sun, 17 Feb 2008 21:54:47 +0000 (17 23:54 +0200)]
Initial import of minimal character device driver based on Brett's Lymn contributions

16 years ago`Usage' starts with a capital letter
Stathis Kamperis [Sat, 16 Feb 2008 00:17:00 +0000 (16 02:17 +0200)]
`Usage' starts with a capital letter

16 years agoAdd comment regarding hidden pointers behind typedef's
Stathis Kamperis [Sat, 16 Feb 2008 00:09:13 +0000 (16 02:09 +0200)]
Add comment regarding hidden pointers behind typedef's

16 years agoMore readable output
Stathis Kamperis [Fri, 15 Feb 2008 23:51:47 +0000 (16 01:51 +0200)]
More readable output

16 years agoMore readable output
Stathis Kamperis [Fri, 15 Feb 2008 23:46:47 +0000 (16 01:46 +0200)]
More readable output

16 years agoDie only argc < 2
Stathis Kamperis [Fri, 15 Feb 2008 23:32:41 +0000 (16 01:32 +0200)]
Die only argc < 2

16 years agoLet user decide the name of the output file
Stathis Kamperis [Fri, 15 Feb 2008 23:25:16 +0000 (16 01:25 +0200)]
Let user decide the name of the output file

16 years agoDon't free resources upon failure for the moment, just exit
Stathis Kamperis [Tue, 12 Feb 2008 21:00:00 +0000 (12 23:00 +0200)]
Don't free resources upon failure for the moment, just exit

16 years agoTRUE/FALSE -> true/false
Stathis Kamperis [Sat, 9 Feb 2008 16:27:11 +0000 (9 18:27 +0200)]
TRUE/FALSE -> true/false

16 years agoMinor fix in typo
Stathis Kamperis [Fri, 8 Feb 2008 21:45:16 +0000 (8 23:45 +0200)]
Minor fix in typo

16 years agoMinor fix in comment
Stathis Kamperis [Fri, 8 Feb 2008 21:26:02 +0000 (8 23:26 +0200)]
Minor fix in comment

16 years agoTRUE/FALSE -> true/false
Stathis Kamperis [Fri, 8 Feb 2008 20:51:48 +0000 (8 22:51 +0200)]
TRUE/FALSE -> true/false