Archived
1
0
Fork 0
Commit graph

259 commits

Author SHA1 Message Date
Henrik Hautakoski
a973415f0e xalloc: do not implement xfree() function in non-debug mode.
all it does is add another function call in that situation.
2011-08-19 01:26:42 +02:00
Henrik Hautakoski
e0f29b6a45 docs: added inotify-map. 2011-08-08 21:07:40 +02:00
Henrik Hautakoski
4ad7c469ac docs: added inotify-watch. 2011-08-08 21:07:39 +02:00
Henrik Hautakoski
597b410de1 docs: adding tree. 2011-08-08 21:07:32 +02:00
Henrik Hautakoski
3ce514f46d docs: adding inotify-backend. 2011-08-08 20:59:49 +02:00
Henrik Hautakoski
ea923815ab strbuf: redundant assignment.
remove second assignment of 'len' in strbuf_appendf(). it is never used again.
2011-04-03 13:40:09 +02:00
Henrik Hautakoski
861398a5cf docs/HACKING: changed title format. 2011-03-24 08:19:45 +01:00
Henrik Hautakoski
3f4b9050dc docs/HACKING: correct formating on unordered lists. 2011-03-24 08:12:15 +01:00
Henrik Hautakoski
12e2f62d6e docs/HACKING: fixed grammar. 2011-03-24 08:00:58 +01:00
Henrik Hautakoski
a5201deaee docs: changed headers. 2011-03-20 21:12:47 +02:00
Henrik Hautakoski
a0577471e2 docs/config.txt: fix alignment in headers. 2011-03-20 20:37:03 +02:00
Henrik Hautakoski
f46ae1970b Change indentation to follow the updated standard.
Alot of mixed indentation. use 4 chars wide soft tabs.
2011-03-19 12:28:48 +02:00
Henrik Hautakoski
9cc5420447 adding whitespace rules to gitattributes. 2011-03-19 11:59:07 +02:00
Henrik Hautakoski
75d244515d docs/HACKING: adding indentation guidelines. 2011-03-19 11:55:14 +02:00
Henrik Hautakoski
6f472f800b inotify-watch: add inotify_watch_find_child 2011-03-17 20:22:16 +02:00
Henrik Hautakoski
b5d9cf6c30 inotify-backend: remove defines related to adding watches from the interface
defines that are used when adding watches (such as IN_DONT_FOLLOW etc)
are not important to the caller.
2011-03-17 18:25:46 +02:00
Henrik Hautakoski
8eda7e7a42 inotify-backend: read maximum watches from procfs. 2011-03-15 08:38:48 +02:00
Henrik Hautakoski
c92dc973df inotify-backend: read queue size from procfs. 2011-03-15 08:28:12 +02:00
Henrik Hautakoski
36358cf9d0 inotify.c: trigger correct types for symlinks. 2011-03-03 08:50:14 +01:00
Henrik Hautakoski
0d53ab7bbc inotify: make notify-inotify.c use inotify.c 2011-03-03 08:33:14 +01:00
Henrik Hautakoski
49c04b5a6a inotify: adding the new inotify.c. 2011-03-02 15:50:16 +01:00
Henrik Hautakoski
8c046ee9e3 inotify: move inotify.c -> notify-inotify.c to refactor in one more layer. 2011-03-02 14:11:34 +01:00
Henrik Hautakoski
15649db953 inotify: refactored low-level functionality to inotify-backend module 2011-03-02 13:37:06 +01:00
Henrik Hautakoski
2d5f94374c inotify.c: call add/rmwatch on files to (symbolic links). 2011-02-28 19:29:47 +01:00
Henrik Hautakoski
361f30c6b3 inotify.c: notify_exit: compiler happiness
make compiler happy and use parentheses around assignment in while-statement.
2011-02-28 09:46:08 +02:00
Henrik Hautakoski
52a02d756e inotify.c: include xalloc.h 2011-02-28 09:44:55 +02:00
Henrik Hautakoski
ff91ca59cd inotify-map: unmap_path, return the amount of remaining paths associated with this wd. 2011-02-20 10:50:14 +01:00
Henrik Hautakoski
ab91625700 inotify-map: inotify_map_get_path: return a list of struct watch* instead of char ** 2011-02-20 10:05:06 +01:00
Henrik Hautakoski
658bc8b9ad list: added list_copy. 2011-02-20 09:02:06 +01:00
Henrik Hautakoski
35008fa605 inotify-map: remove lookup_by_path function.
callers can write 'inotify_get_path(inotify_get_wd(path))' anyway.
2011-02-18 10:53:02 +01:00
Henrik Hautakoski
e0302e8ac4 inotify-map: rename lookup to get_path 2011-02-18 09:08:55 +01:00
Henrik Hautakoski
514a91b52e inotify-map: use inotify-watch to keep track of the filesystem hirarchy. 2011-02-16 16:07:31 +01:00
Henrik Hautakoski
a1a85267f0 path.c: dirname_s: allow 'path' to point to the static buffer.
feeding the function a pointer to sb.buf results in path also being cleared
by the call to strbuf_reduce and the information is lost.
2011-02-16 16:53:26 +02:00
Henrik Hautakoski
3c2436867e list.c: basic list implementation 2011-01-04 21:04:02 +01:00
Henrik Hautakoski
3b68160892 inotify-watch: Adding inotify watch datastructure. 2011-02-15 16:33:51 +01:00
Henrik Hautakoski
9e9321dc65 path.c: Added path_isparent function. 2011-02-15 16:23:54 +01:00
Henrik Hautakoski
171c764691 tree: Adding N-tree module. 2011-02-14 08:09:42 +01:00
Henrik Hautakoski
546e7c50f1 path.c: added dirname_s function. 2011-02-11 19:17:38 +01:00
Henrik Hautakoski
79f18e6671 strbuf.c: let strbuf_rchop return a value 2011-02-11 17:47:57 +01:00
Henrik Hautakoski
a1766126a2 inotify.c: refactoring addwatch function.
moving the "watch" code to it's own function.
this removes the need for a 'recursive' flag to addwatch.
2011-02-08 11:09:33 +01:00
Henrik Hautakoski
8f1f7c356c inotify-map: Make the compiler happy and remove the pointer to int casts. 2011-02-06 19:53:38 +01:00
Henrik Hautakoski
fc64c45e58 archived.c: include util.h for die() 2011-03-22 04:45:51 +01:00
Henrik Hautakoski
5aeb399ee4 archived.c: log-configuration: always read the settings from config file. 2011-02-06 19:37:19 +01:00
Henrik Hautakoski
ca73aa43ae config: move log settings to its own section. 2011-02-06 19:26:12 +01:00
Henrik Hautakoski
dfaa1be71f docs/technical/log.txt: fixed a typo. 2011-02-06 19:15:56 +01:00
Henrik Hautakoski
124d9ae438 config: added sample config. 2011-02-06 19:07:10 +01:00
Henrik Hautakoski
09b6a37cc4 strbuf.c: use strbuf_setlen in strbuf_* functions. 2011-02-05 14:32:48 +01:00
Henrik Hautakoski
1b3035b249 path: added mkpath 2011-02-05 14:13:17 +01:00
Henrik Hautakoski
9c73f8f867 strbuf: strbuf_append_va 2011-02-05 14:10:59 +01:00
Henrik Hautakoski
e67e03aceb strbuf: added strbuf_avail and strbuf_appendf. 2011-02-04 17:18:21 +01:00