44 Commits

Author SHA1 Message Date
Michael Dvorkin
4d20557870 Merge pull request #6 from bfontaine/unix-returns
Using UNIX-friendly return codes
2015-05-02 14:52:11 -07:00
Baptiste Fontaine
5d81148349 Using UNIX-friendly return codes
A zero return code is the UNIX way of saying "success" while a non-zero
return code means there was an error.
2015-05-02 23:07:29 +02:00
Baptiste Fontaine
e378582f4d segfault fixed in pit_file_name 2015-05-02 22:42:43 +02:00
Mike Dvorkin
727a022192 Avoid buffer overflow when formatting activity log 2011-01-01 23:29:46 -08:00
Mike Dvorkin
6210786a89 Wrote README file, updated help, added make install 2010-08-22 15:28:12 -07:00
Mike Dvorkin
306abfa7f6 Added LICENSE file and copyright notices; more general cleanup before
releasing it into the wild
2010-08-22 12:41:25 -07:00
Mike Dvorkin
255e5daaa1 Renamed pager 2010-08-21 15:01:37 -07:00
Mike Dvorkin
85a915c670 Implemented moving task between projects 2010-08-20 21:43:39 -07:00
Mike Dvorkin
5731d747f3 Fixed task search, implemented project search 2010-08-20 20:36:49 -07:00
Mike Dvorkin
a1b0be3af8 Implemented search for tasks 2010-08-18 23:19:34 -07:00
Mike Dvorkin
1753a4810a Wrote more tests, fixed another nasty bug 2010-08-14 22:13:09 -07:00
Mike Dvorkin
f8ba6a911b Cleaned up table engine to make sure index gets updated correctly 2010-08-14 20:38:40 -07:00
Mike Dvorkin
7ecace633f More work with notes; refactored actions; added tests 2010-08-14 19:18:16 -07:00
Mike Dvorkin
3086148a1b Adding notes; show project list tasks; show task list notes 2010-08-14 12:56:11 -07:00
Mike Dvorkin
df4105774a pit help; 'none' to reset date or time; show for projects and tasks;
compiles on Ubuntu
2010-08-11 20:59:22 -07:00
Mike Dvorkin
346b35bf2d Simpler data types; header and pit info; refactored options 2010-08-10 22:34:09 -07:00
Mike Dvorkin
21b447d4ea Iteration macros now create automatic iteration pointer variable 2010-08-07 19:49:18 -07:00
Mike Dvorkin
6a653f3295 Don't build the index unless table has primary key 2010-08-07 19:33:29 -07:00
Mike Dvorkin
452d3afc9a More work on projects and cascading deletes 2010-08-07 19:24:35 -07:00
Mike Dvorkin
24c793fce5 Refactored to add dispatcher and universal command handlers 2010-08-07 16:39:11 -07:00
Mike Dvorkin
3d1786c080 Task update and logging 2010-08-06 20:27:41 -07:00
Mike Dvorkin
1f2ddba847 First incarnation of Ruby-based pit test suite 2010-08-04 22:56:40 -07:00
Mike Dvorkin
0ca72c94ef Finished with time parsing 2010-08-04 19:00:05 -07:00
Mike Dvorkin
19a96c7b2d Parsing time args, pager refactoring 2010-08-01 13:59:20 -07:00
Mike Dvorkin
f84c7ea8f1 More features 2010-08-01 11:48:42 -07:00
Mike Dvorkin
0da661e4ea Implemented pager for tasks and projects 2010-07-29 00:28:17 -07:00
Mike Dvorkin
c0806f893f Added src/pager.c with stub APIs 2010-07-27 21:51:18 -07:00
Mike Dvorkin
be2bea9141 Moved utility functions to src/util.c 2010-07-27 21:24:38 -07:00
Mike Dvorkin
33d51d70b6 More task refactoring 2010-07-27 21:12:56 -07:00
Mike Dvorkin
d2ad4c529d Some refactoring in tasks 2010-07-26 21:00:16 -07:00
Mike Dvorkin
b9ddcf85e3 Added for_each... macros 2010-07-26 19:31:51 -07:00
Mike Dvorkin
f02ffff989 Streamlined .h files, added command line parsing routines 2010-07-22 23:33:03 -07:00
Mike Dvorkin
774424fa02 Implemented creating tasks 2010-07-21 18:39:38 -07:00
Mike Dvorkin
73427f743c Moved 'current' to table header; fixed table load; added project show and delete 2010-07-19 23:39:35 -07:00
Mike Dvorkin
e3a017b249 Added expand_path() and perish() 2010-07-19 19:12:44 -07:00
Mike Dvorkin
7d0d3b7d54 Fixed Makefile 2010-07-19 18:59:40 -07:00
Mike Dvorkin
cafced4b36 Created first project saving it and reading from .pit file! 2010-07-14 22:30:53 -07:00
Mike Dvorkin
dab0f2f9bb Fixed table_delete(); implemented table_save() and table_load() 2010-07-13 21:47:14 -07:00
Mike Dvorkin
9dec87454c Added Makefile; make & make clean both work 2010-07-10 13:11:21 -07:00
Mike Dvorkin
290486d3e7 Implemented table_delete() 2010-07-09 21:49:30 -07:00
Mike Dvorkin
98b1adbd49 Set created_at/updated_at if requested so 2010-06-23 19:14:23 -07:00
Mike Dvorkin
8bd1226658 Assign auto incremented record id if TABLE_HAS_ID 2010-06-23 18:38:55 -07:00
Mike Dvorkin
6d51fa3614 Cleaned up pointer arithmetic by using **index 2010-06-23 18:08:28 -07:00
Mike Dvorkin
f451bd93a4 Initial working version of table.c 2010-06-22 20:58:32 -07:00