2006-08-12 18:59 das-svn * src/svnacl.c: Added a fix for when the subdirectory of an add doesn't come through as an add. 2006-08-12 17:47 das-svn * configure.ac: Bumped the version number in trunk 2006-01-13 18:08 das-svn * NEWS: Added a NEWS entry for a licensed up release. 2006-01-13 18:04 das-svn * LICENSE, Makefile.am, configure.ac, m4/APACHE-LICENSE-2.0.txt, m4/apr.m4, m4/find_apr.m4, m4/svn.m4, m4/try.m4, m4/unsupported.m4, src/Makefile.am, src/access.c, src/access.h, src/errormsg.c, src/errormsg.h, src/fs_tree.c, src/io.h, src/parser_types.h, src/svnacl.c, src/svnacl_lex.l, src/svnacl_parse.y, src/tests/Makefile.am, src/tests/check.m4.in, src/tests/libwheel.c, src/tests/libwheel.h, src/tests/wrapper.sh.in: Licensed up everything. Added a copy of the Apache license for the m4 file I ganked from APR to ensure I'm in compliance with it. 2005-12-20 00:55 das-svn * configure.ac: Crap, I forgot to update VERSION. Updated configure.ac to 1.1 2005-12-20 00:39 das-svn * NEWS: Added a news entry for 1.1 release. 2005-12-20 00:37 das-svn * src/access.c: Check whether the hash tables are NULL before accessing them, since it's possible that no tables were created for some nodes. 2005-07-14 03:00 das-svn * TODO: Added an idea for revprop support to TODO 2005-07-14 02:57 das-svn * NEWS: Added initial NEWS entry in preparation for release 2005-07-14 02:50 das-svn * README, TODO: Added a README and cleaned up the TODO file 2005-07-14 02:42 das-svn * configure.ac: Changed the version number to 1.0 and removed that goofy -whatever spam marker addition to my email address. 2005-07-14 02:02 das-svn * example.conf: Commented out the bit on scratch branches from example.conf so I can claim that the config file works just like CVS from the get-go 2005-07-14 01:51 das-svn * src/tests/Makefile.am, src/tests/wrapper.sh.in: Fixed some builddir/srcdir confusion. test.conf exists in srcdir, since it's not built, but check.m4, since it's built from check.m4.in, is in builddir. Also, check.sh and wrapper.sh need to be explicitly cleaned up. 2005-07-14 01:37 das-svn * Makefile.am: Added example.conf to EXTRA_DIST 2005-07-14 01:36 das-svn * example.conf: Added properties to the example config file 2005-07-13 00:39 das-svn * src/tests/check.m4.in, src/tests/test.conf: 65 tests later, it all seems to be working 2005-07-12 03:39 das-svn * src/tests/check.m4.in: Double-quoted the comma-separated group lists so they don't break things on the other end. I guess it would be more correct to quote $3 in the marco, but meh. 2005-07-12 03:28 das-svn * src/svnacl.c: Fixed an error in which pointer gets dereferenced when calling getgroups 2005-07-12 03:18 das-svn * src/access.c: Two bugs in access.c. First, I tried to get clever in the loop through the group list and screwed up; fixed. Second, the type of the data in the group hash table is group_access, not access_set. 2005-07-12 02:51 das-svn * src/tests/check.m4.in, src/tests/test.conf: Added some group tests which are currently failing 2005-07-12 02:49 das-svn * src/tests/libwheel.c: Fixed a potential segfault when populating the group membership list that I don't even use. 2005-07-12 02:37 das-svn * src/tests/check.m4.in, src/tests/group.test, src/tests/test.conf: Added some tests of the user functions 2005-07-12 02:37 das-svn * src/access.c, src/tests/libwheel.c, src/tests/libwheel.h: Fixed access.c so that the libwheel versions of getpwnam and getgrnam are used if needed. Added some prototypes to the libwheel include file for the *_libwheel functions. Changed getpwnam() to skip the gecos field, since I didn't bother putting anythin in it, and strtok() doesn't detect empty tokens. This seems easier than rewriting all the functions where I used strtok(). 2005-07-12 02:13 das-svn * src/Makefile.am, src/libwheel.c, src/libwheel.h, src/tests/Makefile.am, src/tests/libwheel.c, src/tests/libwheel.h: Moved the libwheel files into the tests directory and cleaned up the automake files, added header declarations as well. 2005-07-12 01:29 das-svn * src/access.c, src/svnacl.c: Fixed some warnings relating to misused const's and forgotten #include's 2005-07-12 01:26 das-svn * src/svnacl.c: Changed the handling of the DEFAULT_CONFIG_FILE so that it searches for it within the hooks directory, instead of from whichever directory the hook script is run. 2005-07-12 01:09 das-svn * src/tests/check.m4.in: Fixed some typos in the last few tests so that I'm actually testing for what I'm trying to test for 2005-07-12 01:00 das-svn * src/tests/check.m4.in, src/tests/test.conf: Added some checks for property changes. Seems to work except for the second from the last, where a property modification should be denied. 2005-07-12 00:57 das-svn * src/access.c: I think I copied the block for testing the property changes against the access lists from check_access(), and I did it wrong. Fixed. 2005-07-12 00:52 das-svn * src/fs_tree.c: Got the pattern and the string backwards again, fixed. 2005-07-12 00:37 das-svn * doc/grammar.txt, src/svnacl_lex.l: Removed ',' from the list of characters that are legal in an unquoted string. 2005-07-12 00:02 das-svn * src/tests/check.m4.in: Added some file modification tests 2005-07-11 04:33 das-svn * src/tests/check.m4.in: Changed testcase names to be a bit more consistent and to remove confusion on which ones aren't supposed to work. 2005-07-11 04:31 das-svn * src/access.c, src/access.h, src/svnacl.c: In walk(), calculate the full config path for each node. Changed the check_access() interface to accept an apr_pool_t argument so that svn_path_remove_components can be used in check_copy_from. 2005-07-11 03:52 das-svn * src/access.c, src/access.h, src/fs_tree.c, src/svnacl.c: Made some changes to function interfaces. find_path once again returns a GNode, and check_access is passed some extra paths for use by the check_copy_from function. This is currently broken, since the config_path is not the full path, but rather only the last element. 2005-07-10 22:08 das-svn * src/svnacl.c: Rearranged the error printing so that walk() prints the "Access denied" message along with the path at which the error occured. 2005-07-10 03:37 das-svn * src/tests/check.m4.in: Accidentally commited a version with the test cases in an order different from what I want, fixed 2005-07-10 03:36 das-svn * src/tests/check.m4.in: Fixed a problem in the cleanup phase of TEST_CASE, added some more test cases. Currently creating a tag from /trunk fails, investigating why 2005-07-10 03:14 das-svn * src/access.c: Fixed a typo in access_union that was breaking copy_dir_from 2005-07-10 03:05 das-svn * src/access.c, src/access.h, src/parser_types.h, src/svnacl_parse.y: The order of user/group/other access lines doesn't matter, so converted the user and group lists into hash tables, and changed the parser so that the final access definition for each user, group, and other is the union of all definitions given for a particular handle. The branch test still fails, though, so something's probably still broken. 2005-07-10 01:36 das-svn * src/parser_types.h, src/svnacl_parse.y: Removed the type permlist and renamed proppermlist to be permlist. Changed enough of the semantic action for permlist to set the extra fields to NULL. This is in preparation of using one function to build both types of lists. 2005-07-09 04:01 das-svn * src/tests: Added the temporary files and directories created by check.sh to svn:ignore 2005-07-09 03:53 das-svn * src/access.c, src/fs_tree.c, src/svnacl.c, src/tests/check.m4.in: Found some bugs: I got the path and pattern in find_pattern() reversed, fixed Adds and deletes aren't text modes, so the bubble-up finder was being to liberal. Fixed so that it only automatically returns when the action is 'R' and there is no text mod. Added a default access node with no access grants to make handling bubble-ups easier, instead of just failing when there is no config defined for the directory Actually, the mkdir under /vendor should pass, not fail Still to come: fix copy_dir (and probably copy_file_from) so that they have all the elements they're supposed to, not just one. 2005-07-09 03:23 das-svn * src/access.h: Moved the access_union function to after the struct access_lists definition 2005-07-09 03:06 das-svn * configure.ac: I guess I ought to check for m4 if I'm going to be using it at build-time. 2005-07-08 20:32 das-svn * src/tests/Makefile.am: automake already detects *.in as dist files, removed from EXTRA_DIST 2005-07-08 20:29 das-svn * src/tests/Makefile.am: It seems like I should list wrapper.sh in the check_SCRIPTS variable, since it's a script and it's used in the checking process, but I'm not sure what this gains me 2005-07-08 20:28 das-svn * src/tests/check.m4.in, src/tests/wrapper.sh.in: Set svn:keywords and svn:eol-style on check.m4.in and wrapper.sh.in 2005-07-08 20:22 das-svn * src/tests/check.m4.in: Added some cleanup steps in the TEST_CASE macro to get the subversion working copy back into a usable state after a test is run. Changed the "add" test action to "addfile", and added an "adddir" action. Added the test number to the PASSED output. Added some more basic add/remove test cases. 2005-07-08 20:19 das-svn * src/tests/Makefile.am: Created a local clean target to clean up files generated by the check script 2005-07-08 19:19 das-svn * configure.ac, src/tests, src/tests/Makefile.am, src/tests/check.m4.in, src/tests/check.sh.in: Converted from a shell script to an m4 file generating a shell script for the tests to make writing test cases a little easier. 2005-07-05 05:09 das-svn * configure.ac, src/access.c: Modified access.c to work with glib-1, which just involved replacing the free function passed through g_hash_table_new_full with an explicit foreach free call. There are two warnings raised when glib-1 is used, due to g_slist_find_custom not using a constant pointer in the glib-1 version, but I don't really care. Modified configure.ac to use glib-1 if glib-2 isn't available. 2005-07-05 04:56 das-svn * TODO: Added a TODO list for things I might want for the next release. 2005-07-05 02:30 das-svn * src/tests/check.sh.in, src/tests/wrapper.sh.in: Added the configure header and Id to check.sh.in and wrapper.sh.in 2005-07-05 02:28 das-svn * src/tests/test.conf: Added the rest of example.conf to test.conf. I'll add another config file later for user and group tests, or maybe just add more to this file. 2005-07-05 02:28 das-svn * src/tests/check.sh.in: Expanded on the tests to print statuses and set exit codes and all that 2005-07-05 02:13 das-svn * src/tests/check.sh.in: Added another test in check.sh for an illegal add. Still not doing anything with the exit codes other than printing them. 2005-07-05 02:10 das-svn * src/fs_tree.c, src/svnacl.c: Fixed a bug in the tree traversal with the pattern finding function returning one path element before the end, and fixed a bug in the initial path setting for the first invocation of walk(). 2005-07-05 01:30 das-svn * src/tests/wrapper.sh.in: svnacl_test moved, updated the path 2005-07-05 01:26 das-svn * trunk, configure.ac, src/Makefile.am, src/tests, src/tests/Makefile.am: I really fucking hate automake. The non-recursive setup doesn't detect the check.sh/check.sh.in relationship, and doesn't make a rule for it. Went back to recursive make, this time just copying the contents of svnacl_SOURCES for svnacl_test_SOURCES. 2005-07-05 01:24 das-svn * src/tests/check.sh.in: Replaced all the relative paths with absolute paths, since automake can't seem to make up its mind where to run what 2005-07-05 01:04 das-svn * trunk, src, src/tests: Cleaned up the svn:ignore properties 2005-07-05 01:04 das-svn * src/Makefile.am: Fixed the path of svnacl_test in the check.sh dependency 2005-07-05 00:55 das-svn * Makefile.am, configure.ac, src/Makefile.am: Cleaned up the automake changes that were accidentally commited. The one-makefile-per-subdirectory is screwing up the dependencies for the test scripts, and, though one top-level Makefile sounds great and all, I'd rather not have a bunch of object files at the top level. 2005-07-05 00:54 das-svn * src/tests/check.sh.in: Added some conditionals to make check.sh less likely to commit things into the wrong repository 2005-07-05 00:46 das-svn * src/libwheel.c, src/svnacl.c: Removed the accidentally commited abort() calls 2005-07-05 00:43 das-svn * one: Screwed up the test script again, removed the file I accidentally added. 2005-07-05 00:42 das-svn * Makefile.am, configure.ac, one, src/Makefile.am, src/libwheel.c, src/svnacl.c, src/tests/Makefile.am: Adding a file to trunk 2005-07-05 00:30 das-svn * src/tests/check.sh.in, src/tests/wrapper.sh.in: Subversion hooks are run without an environment, so pass one in through a file, instead. 2005-07-04 04:36 das-svn * configure.ac, src/Makefile.am, src/tests, src/tests/Makefile.am, src/tests/check.sh.in, src/tests/test.conf: Added the beginnings of some files that can be used for testing. It looks like the libwheel version of getgroups() is broken, test.conf still needs to be written, and test cases need to be added. 2005-07-04 04:35 das-svn * src/tests/one: Removed the file I accidentally added from my broken test script 2005-07-04 04:31 das-svn * src/tests, src/tests/Makefile.am, src/tests/group.test, src/tests/one, src/tests/passwd.test, src/tests/wrapper.sh.in: Adding a file to trunk 2005-07-03 04:45 das-svn * src/libwheel.c, src/libwheel.h: Added overridable versions of getegid and getgroups 2005-07-03 04:26 das-svn * trunk, configure.ac, src, src/Makefile.am, src/libwheel.c, src/libwheel.h, src/svnacl.c: Added the beginnings of an optional test framework and a means to change the users and groups a program sees for testing. getgroups() still needs to be reinvented in libwheel, but that's hard, so I'm committing now, and I'll do getgroups later. ylwrap also appeared from automake as part of using the same yacc file in two programs. Added that to svn:ignore. 2005-07-03 01:13 das-svn * configure.ac: The list of subversion headers can't be split across more than one line without shell escapes, and I don't feel like trying to fix this in the macro 2005-07-02 17:28 das-svn * configure.ac: Expanded the path of svn headers to check 2005-07-02 16:39 das-svn * configure.ac, m4/try.m4: Added a check for fnmatch 2005-06-28 03:32 das-svn * src/access.c: Include errormsg.h in access.c 2005-06-28 03:31 das-svn * src/access.c, src/access.h, src/svnacl.c: Added check_props 2005-06-28 03:21 das-svn * src/access.h, src/fs_tree.c, src/svnacl.c: Removed the path argument from find_property, fixed the confused argument passing in walk() 2005-06-28 03:09 das-svn * src/errormsg.c, src/errormsg.h, src/svnacl.c: Moved the subversion error handling routines into errormsg 2005-06-28 02:56 das-svn * src/access.c, src/access.h, src/fs_tree.c, src/svnacl.c: Ok, find_node doesn't really need to be public, and the new interface made it basically just another version of find_path. Reverted the previous changes, and changed the functions so that find_path returns a fs_node instead of an access_lists. Kept find_property with the changes, so it takes a single fs_node instead of a GNode tree. Added a stub for check_props, now that I have all this worked out enough that check_prop's arguments make sense. 2005-06-28 02:52 das-svn * src/Makefile.am: Removed the tests subdirectory 2005-06-28 02:42 das-svn * src/access.h, src/fs_tree.c: Interface changes: made find_node public, modify it to return a fs_node struct instead of a GNode, and modify find_property to take a fs_node for a particular filesystem entry instead of the entire filesystem. 2005-06-28 02:40 das-svn * src/access.c: Fix a memory leak in check_access 2005-06-28 02:16 das-svn * src/svnacl.c: Added some more arguments to walk() in anticipation of property support. Replaced g_str_concat calls with svn_path_join 2005-06-27 03:14 das-svn * src/svnacl.c: Use repo_name and txn_name instead of accessing argv directly 2005-06-27 03:07 das-svn * src/svnacl.c: Edited a comment since this is a pretty lame thing to be ranting about how people are stupid, especially considering how much I use const 2005-06-27 03:03 das-svn * src/svnacl.c: Included errno.h 2005-06-22 00:50 das-svn * src/access.c: Modified check_access to return 1 for any node without text mods, and modified check_set not to look for bubble-up directory modifications. check_set should not be called with the bubble-up mods. 2005-06-20 05:14 das-svn * src/svnacl.c: free -> g_free, for consistency 2005-06-20 04:36 das-svn * src/access.c, src/svnacl.c: Fixed walk() to use the filesystem tree returned by the parse function. Modified check_set to ignore directory modifications. 2005-06-20 04:34 das-svn * src/tests: Removed tests again 2005-06-20 04:33 das-svn * src: Modified svn:ignore to handle the generated lex and yacc files 2005-06-20 04:22 das-svn * src/Makefile.am, src/svnacl.c: Added some file parsing and a comment explaining how walk() is totally wrong. 2005-06-20 04:21 das-svn * src/access.c: Removed an unused variable from check_access, added a default block to the outer switch statement in check_set. 2005-06-20 04:03 das-svn * src/svnacl.c: Changed from mallocing the groups array to allocating it out of the APR pool. 2005-06-20 03:59 das-svn * src/access.h, src/svnacl.c: Added a function to call the APR getopt equivalent, which was a lot more work than I was expecting. Added a default config file name access.h. 2005-06-20 02:38 das-svn * src/svnacl.c: Added a tree walk function and getuid/getgroups calls. Haven't called the tree walk function yet, since I apparently forgot about the part where I parse the config file. 2005-06-19 23:13 das-svn * src/svnacl.c: It looks like I accidentally commited some changes I made to svnacl.c to try out some parts of the svn API. Whoops. Reverted. 2005-06-19 23:09 das-svn * src/access.c: Implemented the part of check_access() that wasn't already in check_set(). 2005-06-13 03:22 das-svn * src/access.c, src/svnacl.c: Added a function to check an action against an access_set 2005-06-13 01:20 das-svn * configure.ac, src/access.c, src/access.h: Make use of the GETGROUPS_LIB and GETGROUPS_T variables set by AC_FUNC_GETGROUPS 2005-06-13 01:06 das-svn * configure.ac, m4/try.m4: Added a test for getgroups() and changed try.m4 to check for ac_cv_func_getgroups_works when passed AC_FUNC_GETGROUPS 2005-06-13 00:57 das-svn * m4/try.m4: Undefined cache_var at the end of TRY 2005-06-13 00:30 das-svn * src/access.c, src/access.h: Added a prototype for check_access() and some local functions to find the relevant user and group access_set for a set of given credentials 2005-06-03 02:13 das-svn * src/svnacl_lex.l, src/svnacl_parse.y: Added lexer and parser support for copy-from access types 2005-06-03 02:12 das-svn * src/svnacl_lex.l: It would help if I remembered to return something from lookup_access(); added the forgotten return statement to the end of the restructured if-elses 2005-06-03 01:37 das-svn * src/access.c, src/access.h, src/parser_types.h, src/svnacl_lex.l, src/svnacl_parse.y, src/tests/lexer/lexer.c, src/tests/parser/parser.c: Changed the type of access_set to a struct containing the access bits and two linked lists. 2005-06-03 01:00 das-svn * src/svnacl_lex.l: Have the lexer return -1 instead of exiting, letting the parser take care of blowing up. 2005-06-03 00:52 das-svn * src/tests/parser/Makefile.am, src/tests/parser/parser.c: Changed the test parser enough to make it compile 2005-06-01 19:20 das-svn * src/access.h, src/svnacl_lex.l: Removed ACCESS_ERROR, since it really shouldn't be a part of the access set terminology, being created only as a side-effect of the lexer implementation. Also, it's probably not a great idea to return an error code that looks a lot like ALL. Removed ACCESS_ERROR usage from the lexer, instead putting the call to impossible() into lookup_access(). 2005-06-01 19:07 das-svn * src/svnacl_lex.l: Forgot to update the "access" regexp 2005-06-01 19:06 das-svn * example.conf: Added scratch branches 2005-06-01 19:02 das-svn * src/tests/lexer/Makefile.am, src/tests/lexer/lexer.c: Made enough changes to lexer.c to get it to compile. 2005-06-01 03:22 das-svn * src/access.h, src/svnacl_lex.l: Removed the now invalid cases from access.h and the lexer 2005-06-01 03:21 das-svn * src/access.c: Was access.c always missing that parenthesis? 2005-06-01 03:16 das-svn * src/Makefile.am, src/tests, src/tests/Makefile.am, src/tests/errormsg, src/tests/errormsg/Makefile.am, src/tests/errormsg/test-update_position.sh, src/tests/errormsg/test-update_span.sh, src/tests/errormsg/update_position.c, src/tests/errormsg/update_span.c, src/tests/escape_string.c, src/tests/lexer, src/tests/lexer/Makefile.am, src/tests/lexer/lexer.c, src/tests/lexer/test-lexer.sh, src/tests/parser, src/tests/parser/Makefile.am, src/tests/parser/parser.c, src/tests/parser/test-parser.sh, src/tests/test1.conf, src/tests/test2.conf, src/tests/test3.conf, src/tests/test4.conf, src/tests/tests.h: Added back the tests directory, so I can test the lexer and parser changes 2005-06-01 02:59 das-svn * example.conf: Added an example of what I'm going for with the permissions, sans properties 2005-06-01 02:40 das-svn * doc/grammar.txt, doc/semantics.txt: Updated the documentation with the latest thoughts and revelations. This will require changes to the lexer and parser, as well as the addition of copy-file-from and copy-dir-from pattern lists to access sets. 2005-05-31 15:46 das-svn * src/svnacl.c: Added some fflush() calls before switching I/O methods, since the whole APR I/O thing still frightens and confuses me. 2005-05-31 04:39 das-svn * Makefile.am: Added the new m4 files to EXTRA_DIST 2005-05-31 04:32 das-svn * src: Added svnacl to the ignore list for /src 2005-05-31 04:32 das-svn * src/Makefile.am, src/tests: Removed the tests directory, since I don't think it works anymore 2005-05-31 04:31 das-svn * src: Added .deps to the ignore list for /src 2005-05-31 04:30 das-svn * src/Makefile.am: Added what currently exists for svnacl to an automake file 2005-05-31 04:27 das-svn * configure.ac, m4/apr.m4, m4/find_apr.m4, m4/svn.m4: Added find_apr.m4 from APR, modified to use AC_HELP_STRING. Added macros to find the APR and subversion libraries 2005-05-31 02:58 das-svn * m4/unsupported.m4: Updated unsupported.m4, which adds the missing word "Test" 2005-05-31 02:57 das-svn * m4/try.m4: Updated try.m4 2005-05-31 01:44 das-svn * src/svnacl.c: Added an intial framework for the frontend. Opens the filesystem and generates a diff of the trees, but doesn't yet check anything. 2005-05-11 02:59 das-svn * src/access.h, src/fs_tree.c: Added a function to find access control lists for properties 2005-05-11 02:46 das-svn * doc/semantics.txt: User and group patterns don't exist anymore 2005-05-11 02:40 das-svn * configure.ac, src/access.h, src/fs_tree.c: Added a function to return an access set based on a path pattern 2005-05-05 03:39 das-svn * configure.ac: Added checks for password and group headers, functions and types 2005-05-05 03:26 das-svn * src/access.c, src/access.h, src/parser_types.h, src/svnacl_parse.y: Modified the parser and access functions to use specific structs for user and group access and to use the uid and gid instead of user and group names. This breaks the parser tests; ignoring that for now. 2005-05-05 02:46 das-svn * doc/semantics.txt: I don't like the idea of user/group name globs anymore, removed 2005-05-03 15:16 das-svn * src/fs_tree.c: fs_tree.c needs to include string.h 2005-05-03 14:28 das-svn * src/tests/lexer/test-lexer.sh, src/tests/parser/test-parser.sh: Modified the lexer and parser test scripts to look for the conf files relative to ${srcdir}, since this is apparently the way things are supposed to be done. 2005-05-03 02:41 das-svn * src/fs_tree.c, src/parser_types.h, src/svnacl_parse.y, src/tests/lexer/Makefile.am, src/tests/parser/Makefile.am, src/tests/parser/parser.c, src/tests/parser/test-parser.sh: Replaced the filesystem list with an N-ary tree. 2005-05-03 00:56 das-svn * src/access.h, src/fs_tree.c: Moved most of the tree functions from fstree_scratch version of svnacl_parse.y into fstree.c and added a function add_node. 2005-04-25 02:24 das-svn * src/svnacl_scratch.y: Removed from trunk the scratch file for svnacl_parse 2005-04-25 02:20 das-svn * src/svnacl_scratch.y: Branched svnacl_parse.y into a scratch file, since I'm making some major changes in order to return the filesystem as a tree, and I don't want to wait until it works to make commits. 2005-04-20 18:38 das-svn * src/svnacl_parse.y: Removed the duplication of STRING data, since strings are already allocated on the heap, and the parser does not modify them. 2005-04-12 14:33 das-svn * src/tests/parser/Makefile.am: Added test-parser.sh to TESTS 2005-04-12 00:39 das-svn * src/tests/parser/Makefile.am, src/tests/parser/test-parser.sh: Added a test script for the parser. 2005-04-11 23:02 das-svn * src/tests/parser/parser.c: Fixed a bug in print_access where I did a poor job of copying and pasting 2005-04-11 20:51 das-svn * src/svnacl_lex.l: It looks like I forgot to add the trailing \0 to converted strings. Fixed. 2005-04-11 20:35 das-svn * src/tests/errormsg/test-update_position.sh, src/tests/errormsg/test-update_span.sh, src/tests/lexer/test-lexer.sh: Changed the checks for fewer output lines than test lines so that it doesn't print the warning if there are more lines. 2005-04-11 20:29 das-svn * src/tests/lexer/test-lexer.sh, src/tests/test3.conf: Removed the 'add,none' from test3.conf since this isn't really valid any longer, even though I don't check for it. 2005-04-11 18:32 das-svn * src/tests/parser/Makefile.am, src/tests/parser/parser.c: Converted parser to use escape_string for path and property names. Added necessary information to Makefile.am and added another dependency line for the yacc-generated header file. 2005-04-11 18:28 das-svn * trunk: Added ./compile to svn:ignore, since it was pulled in by the extra CFLAGS passed to the lexer test program. 2005-04-11 18:26 das-svn * src/tests/lexer/Makefile.am, src/tests/lexer/lexer.c, src/tests/tests.h: I suppose I ought to put that escape_string function in a header file, or something. Added tests.h and some CFLAGS to the lexer's Makefile.am so that it'll be picked up. 2005-04-11 18:12 das-svn * src/tests/escape_string.c, src/tests/lexer/Makefile.am, src/tests/lexer/lexer.c: Moved the escape_string function into the tests folder so that it can be used by the parser test. 2005-04-11 18:10 das-svn * src/access.h, src/io.h, src/parser_types.h: Added config.h headers to access.h and io.h and moved the glib.h include in parser_types.h to before config.h 2005-04-11 02:21 das-svn * configure.ac, src/tests/Makefile.am, src/tests/parser, src/tests/parser/Makefile.am, src/tests/parser/parser.c: Added a test program for the parser. No check scripts yet. 2005-04-11 02:21 das-svn * src/parser_types.h: Added a note about the type of the data in "pathlist" in the pathlist struct. 2005-04-10 23:20 das-svn * src/svnacl_parse.y: Removed the note about "unknown position" in yyerror, since hopefully the position will be later printed when picked up by one of the error tokens. 2005-04-10 23:11 das-svn * configure.ac: Added strdup to the list of functions for which to check 2005-04-10 23:09 das-svn * src/tests/lexer/lexer.c: Added the definition for the filesystem list so that the lexer test will continue to compile. Closed yyin at the end of the program. 2005-04-10 21:29 das-svn * src/svnacl_parse.y: Added an action for the top-level production that passes the parsed filesystem back through a global GSList. Changed the memory allocation macros so that they call YYABORT on errors instead of exiting. 2005-04-10 21:16 das-svn * src/parser_types.h, src/svnacl_parse.y: Added error handling code to the parser. Added a note to parser_types on the importance of putting the span element of the structs first. 2005-04-10 04:31 das-svn * src/parser_types.h, src/svnacl_parse.y: Changed right recursion to left recursion, to avoid stack blowouts. Added some list-end pointers to the parser types to accomodate this. 2005-04-10 03:51 das-svn * src/access.h, src/parser_types.h, src/svnacl_parse.y: Changed struct access_set to struct access_lists to avoid confusion with the access_set typedef. 2005-04-10 03:41 das-svn * src/access.h, src/parser_types.h, src/svnacl_parse.y: Made some struct members into pointers where appropriate, and wrote semantic actions for everything except the top level rule. 2005-04-10 00:48 das-svn * src/access.h, src/parser_types.h, src/svnacl_parse.y: Moved all the interesting types into access.h and changed the types parser_type.h to be wrappers around these. Got rid of the top-level "filesystem" type, since it's really the same as the list of path entries, and just the linked list will be passed to the calling program anyhow. 2005-04-08 19:52 das-svn * src/parser_types.h, src/svnacl_parse.y: Added some types for nonterminals in the parser. This will likely change as I move parts into access.h 2005-04-08 03:52 das-svn * doc/grammar.txt, src/svnacl_parse.y: Added a yacc grammar for the configuration file. Edited grammar.txt to use the EBNF repition forms for recursion, removing the need for an epsilon symbol and probaby removing ambiguities with my half-assed recurssive notation. 2005-03-29 03:38 das-svn * src/tests/lexer/test-lexer.sh, src/tests/test4.conf: Added a fourth, ridiculously huge test case for the lexer 2005-03-29 02:28 das-svn * doc/grammar.txt, doc/semantics.txt: Get rid of that goofy inheritance model, and removed the special meaning of empty access sets by removing them from the grammar. 2005-03-28 21:55 das-svn * src/tests/errormsg/test-update_position.sh, src/tests/errormsg/test-update_span.sh, src/tests/lexer/test-lexer.sh: Added checks to the test scripts that the number of testcases returned is the same as the number expected. 2005-03-28 21:44 das-svn * configure.ac, doc/grammar.txt, src/io.h, src/svnacl_lex.l, src/tests/Makefile.am, src/tests/lexer, src/tests/lexer/Makefile.am, src/tests/lexer/lexer.c, src/tests/lexer/test-lexer.sh, src/tests/test1.conf, src/tests/test2.conf, src/tests/test3.conf: Added some tests for the lexer. Double quote characters also can't exist in unquoted strings. Fixed some problems with matching access words as string by making all the states exclusives. Added a FPUTS macro to io.h, used by the test lexer. 2005-03-28 17:08 das-svn * doc/grammar.txt, src/svnacl_lex.l: Allowing punctuation in unquoted strings isn't going to work. Removed [:;{}()] from unquoted string literals. 2005-03-28 16:15 das-svn * configure.ac, src/svnacl.l, src/svnacl.y, src/svnacl_lex.l, src/svnacl_parse.y: Renamed the lex and yacc files to svnacl_lex and svnacl_parse so that the base names don't collide. Changed the "y.tab.h" include in svnacl_lex.l to "svnacl_parse.h", since this is how the header will be renamed by automake. 2005-03-28 15:49 das-svn * configure.ac: Modified the yacc check to use missing if yacc not found instead of defaulting to "yacc". 2005-03-28 04:18 das-svn * configure.ac, src/svnacl.l: Added the lex file 2005-03-28 04:08 das-svn * src/svnacl.y: Added the svn:keywords and svn:eol-style properties to svnacl.y as well as a $Id line. 2005-03-28 04:03 das-svn * configure.ac, src/Makefile.am, src/access.h, src/parser_types.h, src/svnacl.y: Added an empty yacc file to generate token and type defintions for lex. 2005-03-28 03:48 das-svn * Makefile.am: Added ACLOCAL_AMFLAGS to Makefile.am so automatic automake invocations work 2005-03-28 03:44 das-svn * trunk, Makefile.am, configure.ac, m4, m4/try.m4, m4/unsupported.m4, ship_it.sh, src, src/Makefile.am, src/io.h, src/tests, src/tests/Makefile.am, src/tests/errormsg, src/tests/errormsg/Makefile.am, src/tests/errormsg/test-update_position.sh, src/tests/errormsg/test-update_span.sh, src/tests/errormsg/update_position.c, src/tests/errormsg/update_span.c: Added an autoconf/automake framework and some tests for the errormsg functions. try.m4, unsupported.m4 and ship_it.sh come from my libhejaz directory. io.h is based on defs.h from CS2130. 2005-03-28 03:37 das-svn * src/errormsg.c: errormsg.c should include string.h for strchr 2005-03-28 03:29 das-svn * src, src/errormsg.c, src/errormsg.h: Added code for tracking the positions of tokens and non-terminals 2005-03-28 03:28 das-svn * doc, doc/grammar.txt, doc/semantics.txt: Added the grammar specification for the permission configuration files 2005-03-28 03:25 root * branches, tags, trunk: Import of initial directory structure