Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not unlink() note files on note removal | Lukas Fleischer | 2011-10-05 | 1 | -6/+6 |
| | | | | | | | | | | Now that we use hash-based note file names, note files should never be unlinked as a note file might be shared. Also, remove the ERASE_FORCE_KEEP_NOTE flag that no longer makes any sense. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Accept variable length note names | Lukas Fleischer | 2011-10-05 | 1 | -2/+2 |
| | | | | | | | | Read up to the first blank in note_read() instead of assuming a fixed-width note file name. Accept everything up to 40 characters (which is the length of a SHA1 hash in hexadecimal representation). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Refactor out note functions | Lukas Fleischer | 2011-07-21 | 1 | -25/+4 |
| | | | | | | | | | | * Add new note_edit() and note_view() helper functions. Use these instead of copy-pasted code in *_note_edit(). * Move all note-related functions (note_edit(), note_view(), note_erase()) to a new source file "note.c". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Add todo_pipe_item() function | Lukas Fleischer | 2011-07-05 | 1 | -0/+29 |
| | | | | | | | Pipe a serialized todo item to an external process, similar to what day_pipe_item() does (cf. c3f532d814e555abf67efb136491956428f19965). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Refactor out todo item serialization | Lukas Fleischer | 2011-07-02 | 1 | -0/+9 |
| | | | | | | | | Add a todo_write() function that allows one to serialize todo items and write serialized data to an output stream in a fashion similar to apoint_write() and event_write(). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Use constant for maximum UTF-8 character size | Lukas Fleischer | 2011-07-02 | 1 | -1/+1 |
| | | | | | | | Introduce a UTF8_MAXLEN constant instead of using the literal value "6" at various places. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Make display_todo_item() UTF-8 compatible | Lukas Fleischer | 2011-07-02 | 1 | -5/+14 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Update copyright notices in source files, documentation and "COPYING". | Lukas Fleischer | 2011-04-22 | 1 | -1/+1 |
| | | | | | | | | | * Update copyright dates (use 2004-2011 as date range everywhere). * Change copyright holder from "Frederic Culot" to "calcurse Development Team". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Return -1 in io_file_is_empty() if file cannot be accessed. | Lukas Fleischer | 2011-04-22 | 1 | -1/+1 |
| | | | | | | | Ensure files don't appear as empty if fopen() fails (e.g. on temporary EACCES failures). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Use generic lists for todo items. | Lukas Fleischer | 2011-04-19 | 1 | -105/+72 |
| | | | | | | | Use the new generic list implementation instead of "next" pointers in todo items. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Drop empty notes after editing. | Lukas Fleischer | 2011-04-12 | 1 | -0/+3 |
| | | | | | | | | | Keeping empty notes doesn't make sense here. Also, there doesn't seem to be a simple way to erase notes yet. This will make calcurse delete any notes that are empty (meaning that they are either 0-byte files or contain nothing but a newline character) when returning from the editor. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Compare pointers to "NULL" instead of "0". | Lukas Fleischer | 2011-04-05 | 1 | -4/+4 |
| | | | | | | "bad_zero.cocci" spatch from http://coccinelle.lip6.fr/impact_linux.php. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Remove dead assignments spotted by clang-analyzer. | Lukas Fleischer | 2011-04-03 | 1 | -3/+1 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Overall indentation fixes. | Lukas Fleischer | 2011-03-14 | 1 | -52/+52 |
| | | | | | | | Use spaces instead of tabs for source code indentation only, strip trailing whitespaces from lines. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Update website links to match the new URL. | Lukas Fleischer | 2011-03-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Update mail addresses to match the new mailing lists. | Lukas Fleischer | 2011-03-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Remove CVS "$Id" headers. | Lukas Fleischer | 2011-03-03 | 1 | -2/+0 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Fixed file permissions. | Lukas Fleischer | 2011-03-03 | 1 | -0/+0 |
| | |||||
* | All headers gathered into a single one. Typedefs suppressed. | Frederic Culot | 2010-03-20 | 1 | -28/+23 |
| | |||||
* | Make use of erase_note() whenever possible. | Frederic Culot | 2009-07-19 | 1 | -5/+3 |
| | |||||
* | stdbool header removed, unsigned type used instead | Frederic Culot | 2009-07-12 | 1 | -6/+6 |
| | |||||
* | Switch to BSD license. | Frederic Culot | 2009-07-05 | 1 | -14/+26 |
| | |||||
* | Ability to flag todo items as completed. | Frederic Culot | 2009-06-26 | 1 | -8/+39 |
| | |||||
* | more code cleanup | Frederic Culot | 2009-01-03 | 1 | -4/+4 |
| | |||||
* | various bugfixes | Frederic Culot | 2009-01-02 | 1 | -3/+3 |
| | |||||
* | Added wrappers around libc's memory management functions, to easily debug ↵ | Frederic Culot | 2008-12-28 | 1 | -11/+31 |
| | | | | memory usage | ||||
* | small bugfixes and a major one (freeze when deleting an appointment's note, ↵ | Frederic Culot | 2008-12-15 | 1 | -3/+3 |
| | | | | thanks Jan for reporting it) | ||||
* | code cleanup | Frederic Culot | 2008-12-12 | 1 | -19/+14 |
| | |||||
* | color configuration menu adapted to handle user-defined key bindings | Frederic Culot | 2008-12-08 | 1 | -2/+2 |
| | |||||
* | Checks added while loading key bindings configuration. | Frederic Culot | 2008-12-07 | 1 | -4/+4 |
| | |||||
* | More work on implementing user-definable keybindings | Frederic Culot | 2008-11-16 | 1 | -7/+7 |
| | |||||
* | Loading of user-configurable keys implemented | Frederic Culot | 2008-11-09 | 1 | -3/+4 |
| | |||||
* | some memory leaks fixed using valgrind and some minor code cleanup | Frederic Culot | 2008-04-19 | 1 | -11/+11 |
| | |||||
* | Yet another style for source code. GNU style now used (I am fed up with tabs...) | Frederic Culot | 2008-04-12 | 1 | -311/+336 |
| | |||||
* | no more segfault when changing item priority (fixes Debian Bug #469297) | Frederic Culot | 2008-04-04 | 1 | -7/+10 |
| | |||||
* | Code parts related to item update rewritten | Frederic Culot | 2008-01-20 | 1 | -3/+3 |
| | |||||
* | Ability to attach notes to appointments and events added | Frederic Culot | 2008-01-13 | 1 | -10/+3 |
| | |||||
* | Notes attached to todos can now be suppressed | Frederic Culot | 2007-12-31 | 1 | -18/+82 |
| | |||||
* | Ability to attach notes to todo items added | Frederic Culot | 2007-12-30 | 1 | -10/+71 |
| | |||||
* | routines updated to handle new window_t and window_e types | Frederic Culot | 2007-10-21 | 1 | -10/+11 |
| | |||||
* | hilt_tod moved to static variable hilt | Frederic Culot | 2007-08-15 | 1 | -36/+112 |
| | | | | | | todo_hilt(), todo_hilt_set(), todo_hilt_decrease(), todo_hilt_increase(), todo_saved_mesg(), todo_nb(), todo_set_nb(), todo_set_first(), todo_first_increase(), todo_first_decrease(), todo_hilt_pos() added | ||||
* | unuseful headers removed and some functions became static | Frederic Culot | 2007-07-28 | 1 | -44/+40 |
| | |||||
* | todo_update_panel() and todo_delete() added | Frederic Culot | 2007-07-21 | 1 | -1/+85 |
| | |||||
* | MAX_LENGTH replaced by stdio.h's BUFSIZ | Frederic Culot | 2007-04-04 | 1 | -4/+4 |
| | |||||
* | global variable 'colr' suppressed | Frederic Culot | 2007-03-10 | 1 | -10/+17 |
| | |||||
* | use of getstring() defines | Frederic Culot | 2007-01-16 | 1 | -3/+4 |
| | |||||
* | strcpy replaced by strncpy | Frederic Culot | 2006-12-15 | 1 | -2/+2 |
| | |||||
* | bugfix: call to getstring() corrected in todo_new_item() | Frederic Culot | 2006-12-13 | 1 | -2/+2 |
| | |||||
* | todo_edit_item() created | Frederic Culot | 2006-11-02 | 1 | -2/+13 |
| | |||||
* | getstring() call in todo_new_item() updated | Frederic Culot | 2006-10-28 | 1 | -4/+3 |
| |