diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-04 20:11:58 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-04 20:11:58 +0100 |
commit | b30ccc6319a7bc091bd770c0d4f78985658e92aa (patch) | |
tree | 549094f77e6f1eeffc3294cd2dd56a70e881e81e /src | |
parent | 308ba7c983c34c9b9b7d46f360f689b609c1f802 (diff) | |
parent | a7944d335e9d005e6bbf6f521a5216f98318a131 (diff) | |
download | calcurse-b30ccc6319a7bc091bd770c0d4f78985658e92aa.zip |
Merge branch 'maint'
Diffstat (limited to 'src')
-rw-r--r-- | src/apoint.c | 2 | ||||
-rw-r--r-- | src/args.c | 4 | ||||
-rw-r--r-- | src/calcurse.c | 3 | ||||
-rw-r--r-- | src/calcurse.h | 2 | ||||
-rw-r--r-- | src/calendar.c | 2 | ||||
-rw-r--r-- | src/config.c | 2 | ||||
-rw-r--r-- | src/custom.c | 8 | ||||
-rw-r--r-- | src/day.c | 2 | ||||
-rw-r--r-- | src/dmon.c | 2 | ||||
-rw-r--r-- | src/event.c | 2 | ||||
-rw-r--r-- | src/getstring.c | 2 | ||||
-rw-r--r-- | src/help.c | 4 | ||||
-rw-r--r-- | src/htable.h | 2 | ||||
-rw-r--r-- | src/ical.c | 2 | ||||
-rw-r--r-- | src/interaction.c | 2 | ||||
-rw-r--r-- | src/io.c | 2 | ||||
-rw-r--r-- | src/keys.c | 2 | ||||
-rw-r--r-- | src/llist.c | 2 | ||||
-rw-r--r-- | src/llist.h | 2 | ||||
-rw-r--r-- | src/llist_ts.h | 2 | ||||
-rw-r--r-- | src/mem.c | 2 | ||||
-rw-r--r-- | src/note.c | 2 | ||||
-rw-r--r-- | src/notify.c | 2 | ||||
-rw-r--r-- | src/pcal.c | 2 | ||||
-rw-r--r-- | src/recur.c | 2 | ||||
-rw-r--r-- | src/sha1.c | 2 | ||||
-rw-r--r-- | src/sha1.h | 2 | ||||
-rw-r--r-- | src/sigs.c | 2 | ||||
-rw-r--r-- | src/todo.c | 2 | ||||
-rw-r--r-- | src/utf8.c | 2 | ||||
-rw-r--r-- | src/utils.c | 2 | ||||
-rw-r--r-- | src/vars.c | 2 | ||||
-rw-r--r-- | src/wins.c | 2 |
33 files changed, 42 insertions, 35 deletions
diff --git a/src/apoint.c b/src/apoint.c index 9b9257f..64f9f55 100644 --- a/src/apoint.c +++ b/src/apoint.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -79,7 +79,7 @@ static void usage_try(void) static void version_arg(void) { const char *vtext = - _("\nCopyright (c) 2004-2012 calcurse Development Team.\n" + _("\nCopyright (c) 2004-2013 calcurse Development Team.\n" "This is free software; see the source for copying conditions.\n"); fprintf(stdout, _("Calcurse %s - text-based organizer\n"), VERSION); diff --git a/src/calcurse.c b/src/calcurse.c index e179e8c..a8dace1 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -146,6 +146,7 @@ static inline void key_add_item(void) interact_day_item_add(); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); + break; case TOD: interact_todo_add(); if (todo_hilt() == 0 && todo_nb() == 1) diff --git a/src/calcurse.h b/src/calcurse.h index c31f322..dd974a8 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/calendar.c b/src/calendar.c index 313ec53..cad9ad9 100644 --- a/src/calendar.c +++ b/src/calendar.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/config.c b/src/config.c index da562b2..83d1a93 100644 --- a/src/config.c +++ b/src/config.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/custom.c b/src/custom.c index 8eb3ef0..df344c2 100644 --- a/src/custom.c +++ b/src/custom.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -979,6 +979,12 @@ void custom_keys_config(void) } else not_recognized = 0; + /* Is the binding used by this action already? If so, just end the reassignment */ + if (selrow == keys_get_action(keyval)) { + delwin(grabwin); + break; + } + used = keys_assign_binding(keyval, selrow); if (used) { enum key action; @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/event.c b/src/event.c index dca6820..b1186a3 100644 --- a/src/event.c +++ b/src/event.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/getstring.c b/src/getstring.c index cc2a949..3b7224d 100644 --- a/src/getstring.c +++ b/src/getstring.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -736,7 +736,7 @@ void help_screen(void) hscr[HELP_CREDITS].title = _("Calcurse - text-based organizer"); snprintf(hscr[HELP_CREDITS].text, HELPTEXTSIZ, - _("\nCopyright (c) 2004-2012 calcurse Development Team\n" + _("\nCopyright (c) 2004-2013 calcurse Development Team\n" "All rights reserved.\n" "\n" "Redistribution and use in source and binary forms, with or without\n" diff --git a/src/htable.h b/src/htable.h index 3bde5ef..a9317e0 100644 --- a/src/htable.h +++ b/src/htable.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/interaction.c b/src/interaction.c index c313ce9..49ebac5 100644 --- a/src/interaction.c +++ b/src/interaction.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/llist.c b/src/llist.c index f771ef3..54f1e79 100644 --- a/src/llist.c +++ b/src/llist.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/llist.h b/src/llist.h index a786358..7c4d590 100644 --- a/src/llist.h +++ b/src/llist.h @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/llist_ts.h b/src/llist_ts.h index b452377..7663a2d 100644 --- a/src/llist_ts.h +++ b/src/llist_ts.h @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/notify.c b/src/notify.c index c739829..cb56e8c 100644 --- a/src/notify.c +++ b/src/notify.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/recur.c b/src/recur.c index 1c593c2..e9312e7 100644 --- a/src/recur.c +++ b/src/recur.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/utils.c b/src/utils.c index 056c39b..76cdba6 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2012 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2013 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without |