lackey
17 months agoAdd option to show and hide weekends. master
Andy Spencer [Fri, 22 Jun 2018 09:36:16 +0000 (09:36 +0000)]
Add option to show and hide weekends.

2 years agoAdd simple notification daemon mode
Andy Spencer [Sun, 11 Jun 2017 02:25:02 +0000 (02:25 +0000)]
Add simple notification daemon mode

2 years agoRefactor main and add print mode
Andy Spencer [Sun, 11 Jun 2017 02:24:21 +0000 (02:24 +0000)]
Refactor main and add print mode

3 years agoMove CPPFLAGS to object specific CFLAGS
Andy Spencer [Sat, 3 Dec 2016 08:21:38 +0000 (08:21 +0000)]
Move CPPFLAGS to object specific CFLAGS

3 years agoImprove event display formatting
Andy Spencer [Sun, 4 Dec 2016 03:27:48 +0000 (03:27 +0000)]
Improve event display formatting

Description can be long, so put it at the end.

3 years agoUnderline todo view hotkeys
Andy Spencer [Mon, 26 Jan 2015 20:56:55 +0000 (20:56 +0000)]
Underline todo view hotkeys

3 years agoAuto select the first event from calendar
Andy Spencer [Sun, 27 Nov 2016 08:12:55 +0000 (08:12 +0000)]
Auto select the first event from calendar

If the calendar listed on the command line as an event in the future,
select soonest upcoming event. If all the events are in the past, then
just pick the first event in the calendar.

3 years agoAdd support for timezones
Andy Spencer [Sun, 27 Nov 2016 07:39:37 +0000 (07:39 +0000)]
Add support for timezones

date_t is always in local time so that we can work with it easier when
displaying calendars but stamp_t is always in UTC UNIX time. Calendar's
should can convert to the configured local time by first converting to
stamp_t then to date_t.

3 years agoAdd calendar command line flags
Andy Spencer [Sun, 27 Nov 2016 04:49:33 +0000 (04:49 +0000)]
Add calendar command line flags

3 years agoAdd day and week output flags
Andy Spencer [Sun, 27 Nov 2016 04:39:06 +0000 (04:39 +0000)]
Add day and week output flags

3 years agoAdd args and usage output
Andy Spencer [Thu, 24 Nov 2016 19:33:05 +0000 (19:33 +0000)]
Add args and usage output

3 years agoRemove compact hotkey to avoid conflicts
Andy Spencer [Tue, 27 Jan 2015 03:08:10 +0000 (03:08 +0000)]
Remove compact hotkey to avoid conflicts

3 years agoMove e key to views
Andy Spencer [Mon, 26 Jan 2015 20:55:42 +0000 (20:55 +0000)]
Move e key to views

This way they can call the view_edit with the correct argument.
Pressing 'e' should be the same as pressing 'return' in most cases.

3 years agoMove main loop and curses init to view
Andy Spencer [Thu, 24 Nov 2016 19:30:17 +0000 (19:30 +0000)]
Move main loop and curses init to view

3 years agoImprove calendar debugging
Andy Spencer [Tue, 22 Nov 2016 06:55:14 +0000 (06:55 +0000)]
Improve calendar debugging

3 years agoSupport one-time events
Andy Spencer [Tue, 22 Nov 2016 06:53:28 +0000 (06:53 +0000)]
Support one-time events

4 years agoFix date and ical test cases
Andy Spencer [Wed, 14 Jan 2015 18:06:03 +0000 (18:06 +0000)]
Fix date and ical test cases

4 years agoAdd event selection to day and week views
Andy Spencer [Mon, 12 Jan 2015 22:36:51 +0000 (22:36 +0000)]
Add event selection to day and week views

4 years agoSupport multiple RRULEs
Andy Spencer [Mon, 12 Jan 2015 17:31:42 +0000 (17:31 +0000)]
Support multiple RRULEs

4 years agoMake morning time configurable
Andy Spencer [Mon, 12 Jan 2015 17:30:33 +0000 (17:30 +0000)]
Make morning time configurable

4 years agoAdd edit screen prototypes and docs
Andy Spencer [Wed, 7 Jan 2015 22:28:04 +0000 (22:28 +0000)]
Add edit screen prototypes and docs

4 years agoSupport multiple wildcard matches
Andy Spencer [Thu, 25 Dec 2014 00:31:25 +0000 (00:31 +0000)]
Support multiple wildcard matches

6 years agoPrevent line wrapping for descriptions
Andy Spencer [Mon, 24 Jun 2013 02:16:39 +0000 (02:16 +0000)]
Prevent line wrapping for descriptions

6 years agoFix a few off-by-one errors in date display
Michael Auchter [Sun, 23 Jun 2013 22:43:37 +0000 (22:43 +0000)]
Fix a few off-by-one errors in date display

6 years agoAdd simple event/todo display to edit view
Andy Spencer [Mon, 17 Jun 2013 06:38:14 +0000 (06:38 +0000)]
Add simple event/todo display to edit view

6 years agoAdd cursor like movement to events and todos view
Andy Spencer [Mon, 17 Jun 2013 05:35:45 +0000 (05:35 +0000)]
Add cursor like movement to events and todos view

This needs a lot of work, we should figure out how to better deal with
scroll views between events and todos and also do a better job at
keeping EVENT consistent with the SEL variable.

6 years agoCommon updates to support event and todo editing
Andy Spencer [Mon, 17 Jun 2013 05:33:43 +0000 (05:33 +0000)]
Common updates to support event and todo editing

6 years agoDisplay current time at the top right
Andy Spencer [Sun, 16 Jun 2013 23:24:05 +0000 (23:24 +0000)]
Display current time at the top right

6 years agoConvert YEAR/MONTH/DAY to Selection struct
Andy Spencer [Sun, 16 Jun 2013 23:21:55 +0000 (23:21 +0000)]
Convert YEAR/MONTH/DAY to Selection struct

This lets us add more precision in the selection (hours/minutes)
without having to keep adding variables.

6 years agoMake events and todos doubly linked
Andy Spencer [Sun, 16 Jun 2013 21:07:46 +0000 (21:07 +0000)]
Make events and todos doubly linked

6 years agoMake testing code build time configurable
Andy Spencer [Sun, 16 Jun 2013 21:05:26 +0000 (21:05 +0000)]
Make testing code build time configurable

6 years agoAdd bit flags for event and todo line items
Andy Spencer [Sun, 16 Jun 2013 10:31:38 +0000 (10:31 +0000)]
Add bit flags for event and todo line items

This supports drawing the "current" item and allows for additional
options if we need them in the future.

6 years agoOutput cal field for ical events and todos
Andy Spencer [Sun, 16 Jun 2013 10:16:30 +0000 (10:16 +0000)]
Output cal field for ical events and todos

6 years agoFix bug when adding new config groups
Andy Spencer [Sun, 16 Jun 2013 08:49:46 +0000 (08:49 +0000)]
Fix bug when adding new config groups

6 years agoMisc formatting and cleanup changes
Andy Spencer [Sun, 16 Jun 2013 08:41:34 +0000 (08:41 +0000)]
Misc formatting and cleanup changes

6 years agoFix bug where we always reloaded calendars
Andy Spencer [Sun, 16 Jun 2013 07:21:52 +0000 (07:21 +0000)]
Fix bug where we always reloaded calendars

6 years agoAdd build dependency on config.mk
Andy Spencer [Sun, 16 Jun 2013 07:21:38 +0000 (07:21 +0000)]
Add build dependency on config.mk

6 years agoBump copyright on files modified in 2013
Andy Spencer [Sun, 16 Jun 2013 06:12:58 +0000 (06:12 +0000)]
Bump copyright on files modified in 2013

6 years agoRework how the current window is stored
Andy Spencer [Sun, 16 Jun 2013 06:00:07 +0000 (06:00 +0000)]
Rework how the current window is stored

The current window is now a pointer to the actual window instead of an
index into the menu. The menu is also stored separate from full list of
windows and each window is created as a separate structure so that it
can be referenced by name.

The down side is that we can't use an 'enum' for config parsing, but on
the other hand, we're not duplicating the list of names at least.

6 years agoSet default escape key delay
Andy Spencer [Sun, 16 Jun 2013 04:40:38 +0000 (04:40 +0000)]
Set default escape key delay

6 years agoAdd edit view
Andy Spencer [Sun, 16 Jun 2013 04:39:55 +0000 (04:39 +0000)]
Add edit view

6 years agoAdd popup views
Andy Spencer [Sun, 16 Jun 2013 04:38:19 +0000 (04:38 +0000)]
Add popup views

6 years agoMove around view functions
Andy Spencer [Sun, 16 Jun 2013 04:27:11 +0000 (04:27 +0000)]
Move around view functions

6 years agoStart keeping track of calendars
Andy Spencer [Mon, 10 Jun 2013 08:16:21 +0000 (08:16 +0000)]
Start keeping track of calendars

This also add a read-only settings view, which is mostly for debugging
at this point, and make some header formatting more constant.

6 years agoAdd simple config file parser
Andy Spencer [Tue, 4 Jun 2013 04:36:02 +0000 (04:36 +0000)]
Add simple config file parser

6 years agoFree unused cal memory memory
Andy Spencer [Mon, 10 Jun 2013 03:50:39 +0000 (03:50 +0000)]
Free unused cal memory memory

This makes all the string in events and todos dynamically allocated.
The memory for the event and any underlying data is now owned by cal.c,
and will be freed when no longer needed.

Maybe someday we'll go back to making these constants, since that would
require less duplicated strings, but for now it's easiest to just make
everything freeable

6 years agoUpdate tests
Andy Spencer [Mon, 10 Jun 2013 03:25:00 +0000 (03:25 +0000)]
Update tests

6 years agoAdd cal_load function and update cal APIs
Andy Spencer [Mon, 10 Jun 2013 01:34:40 +0000 (01:34 +0000)]
Add cal_load function and update cal APIs

Internally, this should make things a little easier, since we use
globals for EVENTS and TODOS anyway.

6 years agoMake prototypes internal to cal.c and view.c
Andy Spencer [Mon, 10 Jun 2013 01:33:05 +0000 (01:33 +0000)]
Make prototypes internal to cal.c and view.c

6 years agoSupport multiple ical files
Andy Spencer [Sat, 8 Jun 2013 08:52:04 +0000 (08:52 +0000)]
Support multiple ical files

This also adds support for tilde (and other wildcard) expansions in
calendar filenames.

6 years agoAdd flag for dummy events
Andy Spencer [Sat, 8 Jun 2013 08:48:34 +0000 (08:48 +0000)]
Add flag for dummy events

6 years agoDisplay all day events at the top
Andy Spencer [Sat, 8 Jun 2013 08:48:15 +0000 (08:48 +0000)]
Display all day events at the top

6 years agoFix some resize issues
Andy Spencer [Sat, 8 Jun 2013 08:43:24 +0000 (08:43 +0000)]
Fix some resize issues

This adds a few curses like functions to view which can be used to
resize windows that are at the bottom of the screen. It also removes the
(useless) header window form the day and week views.

6 years agoFix some ical memory issues
Andy Spencer [Sat, 8 Jun 2013 01:02:57 +0000 (01:02 +0000)]
Fix some ical memory issues

6 years agoMerge calendar items
Andy Spencer [Sat, 8 Jun 2013 01:02:37 +0000 (01:02 +0000)]
Merge calendar items

6 years agoAdd string copy and match functions
Andy Spencer [Sat, 8 Jun 2013 01:01:07 +0000 (01:01 +0000)]
Add string copy and match functions

6 years agoAdd compact mode and view config data
Andy Spencer [Tue, 4 Jun 2013 04:31:53 +0000 (04:31 +0000)]
Add compact mode and view config data

6 years agoAdd alloc0 and new0 functions
Andy Spencer [Sun, 2 Jun 2013 07:07:50 +0000 (07:07 +0000)]
Add alloc0 and new0 functions

6 years agoPrevent unknown key messages
Andy Spencer [Tue, 4 Jun 2013 04:16:23 +0000 (04:16 +0000)]
Prevent unknown key messages

6 years agoAdd error command and update debug messages
Andy Spencer [Sun, 2 Jun 2013 06:51:12 +0000 (06:51 +0000)]
Add error command and update debug messages

6 years agoCleanup headers and whitespace
Andy Spencer [Sat, 1 Jun 2013 23:09:17 +0000 (23:09 +0000)]
Cleanup headers and whitespace

6 years agoAdd ncursesw CPPFLAGS
Andy Spencer [Wed, 3 Apr 2013 07:13:19 +0000 (07:13 +0000)]
Add ncursesw CPPFLAGS

6 years agoRename CC variable to GCC
Andy Spencer [Wed, 3 Apr 2013 07:12:05 +0000 (07:12 +0000)]
Rename CC variable to GCC

This avoids stupid GNU Make rules which really just break everything,
and we're pretty dependant on GCC anyway.

6 years agoUse icalproperty_get_value_as_string_r
Andy Spencer [Wed, 3 Apr 2013 07:11:17 +0000 (07:11 +0000)]
Use icalproperty_get_value_as_string_r

7 years agoAdd dist stuff
Andy Spencer [Mon, 22 Oct 2012 04:13:42 +0000 (04:13 +0000)]
Add dist stuff

7 years agoAdd some special formatting
Andy Spencer [Mon, 22 Oct 2012 03:48:46 +0000 (03:48 +0000)]
Add some special formatting

7 years agoBug fixes
Andy Spencer [Mon, 22 Oct 2012 03:28:50 +0000 (03:28 +0000)]
Bug fixes

7 years agoAdd ical todos
Andy Spencer [Mon, 22 Oct 2012 00:35:19 +0000 (00:35 +0000)]
Add ical todos

7 years agoAdd todo view
Andy Spencer [Sun, 21 Oct 2012 07:52:07 +0000 (07:52 +0000)]
Add todo view

7 years agoRename stuff
Andy Spencer [Sun, 21 Oct 2012 07:20:43 +0000 (07:20 +0000)]
Rename stuff

7 years agoAdd events view
Andy Spencer [Mon, 15 Oct 2012 09:03:05 +0000 (09:03 +0000)]
Add events view

7 years agoAdd box packing to day view
Andy Spencer [Mon, 15 Oct 2012 00:38:12 +0000 (00:38 +0000)]
Add box packing to day view

7 years agoMove drawing code to screen.c, work on day view
Andy Spencer [Sun, 14 Oct 2012 21:02:18 +0000 (21:02 +0000)]
Move drawing code to screen.c, work on day view

7 years agoFix month draw bug
Andy Spencer [Sun, 14 Oct 2012 07:04:23 +0000 (07:04 +0000)]
Fix month draw bug

7 years agoAdd events to year view
Andy Spencer [Sun, 14 Oct 2012 06:47:56 +0000 (06:47 +0000)]
Add events to year view

7 years agoAdd full boxes
Andy Spencer [Sat, 13 Oct 2012 01:37:17 +0000 (01:37 +0000)]
Add full boxes

7 years agoAdd month view
Andy Spencer [Sun, 14 Oct 2012 06:08:50 +0000 (06:08 +0000)]
Add month view

7 years agoAdd size function, update ical/week
Andy Spencer [Sat, 13 Oct 2012 01:02:31 +0000 (01:02 +0000)]
Add size function, update ical/week

7 years agoWorking iCalendar parsing
Andy Spencer [Fri, 12 Oct 2012 22:22:44 +0000 (22:22 +0000)]
Working iCalendar parsing

7 years agoStart on iCalendar support
Andy Spencer [Fri, 12 Oct 2012 07:15:26 +0000 (07:15 +0000)]
Start on iCalendar support

7 years agoSome organization
Andy Spencer [Fri, 12 Oct 2012 04:43:10 +0000 (04:43 +0000)]
Some organization

7 years agoStart on events and calendars
Andy Spencer [Fri, 12 Oct 2012 03:50:36 +0000 (03:50 +0000)]
Start on events and calendars

7 years agoMore interactive views
Andy Spencer [Sat, 6 Oct 2012 09:50:07 +0000 (09:50 +0000)]
More interactive views

7 years agoFix month drawing
Andy Spencer [Sat, 6 Oct 2012 08:25:15 +0000 (08:25 +0000)]
Fix month drawing

7 years agoMake month view interactive
Andy Spencer [Sat, 6 Oct 2012 08:01:38 +0000 (08:01 +0000)]
Make month view interactive

7 years agoFix resize
Andy Spencer [Fri, 5 Oct 2012 07:42:01 +0000 (07:42 +0000)]
Fix resize

7 years agoFix divider click bug
Andy Spencer [Fri, 5 Oct 2012 06:42:30 +0000 (06:42 +0000)]
Fix divider click bug

7 years agoFix makefile bugs
Andy Spencer [Fri, 5 Oct 2012 06:26:28 +0000 (06:26 +0000)]
Fix makefile bugs

7 years agoFix some time keeping bugs
Andy Spencer [Fri, 5 Oct 2012 06:14:16 +0000 (06:14 +0000)]
Fix some time keeping bugs

7 years agoRename
Andy Spencer [Fri, 5 Oct 2012 05:42:25 +0000 (05:42 +0000)]
Rename

7 years agoAdd copyright
Andy Spencer [Fri, 5 Oct 2012 05:03:48 +0000 (05:03 +0000)]
Add copyright

7 years agoMove stuff around
Andy Spencer [Fri, 5 Oct 2012 05:02:34 +0000 (05:02 +0000)]
Move stuff around

7 years agoAdd day and week view
Andy Spencer [Fri, 5 Oct 2012 04:58:02 +0000 (04:58 +0000)]
Add day and week view

7 years agoAdd year view
Andy Spencer [Thu, 4 Oct 2012 08:51:50 +0000 (08:51 +0000)]
Add year view

7 years agoAdd utils, tests, and month view
Andy Spencer [Thu, 4 Oct 2012 08:01:00 +0000 (08:01 +0000)]
Add utils, tests, and month view

7 years agoStart using windows and views
Andy Spencer [Sat, 29 Sep 2012 07:46:52 +0000 (07:46 +0000)]
Start using windows and views

7 years agoAdd some mouse support
Andy Spencer [Sat, 29 Sep 2012 06:59:15 +0000 (06:59 +0000)]
Add some mouse support

7 years agoAdd basic screen layout stuff
Andy Spencer [Sat, 29 Sep 2012 04:31:30 +0000 (04:31 +0000)]
Add basic screen layout stuff

7 years agoAdd template files
Andy Spencer [Sat, 29 Sep 2012 01:35:24 +0000 (01:35 +0000)]
Add template files

7 years agoUI prototyping
Andy Spencer [Sat, 29 Sep 2012 01:35:07 +0000 (01:35 +0000)]
UI prototyping