Permalink
Switch branches/tags
Nothing to show
Commits on May 3, 2011
  1. Use the model for the countdown_frame

    dvhart committed Sep 7, 2009
    Now that we have access to the model and iter in the filters, use the model to
    store the countdown_frame.  Since this is a purely UI element, it makes more
    sense to store it here, rather than in the gtd domain objects.
    
    Add a GTDStore.add() method to avoid using self.model.append([obj, 0]) outside
    of GTDStore. (The 0 being the countdown frame).
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  2. Use model iter in filters rather than gtd objects

    dvhart committed Aug 4, 2009
    The gtk data models work on iterators, rather than limit the filters
    to operating on the gtd object, accept that the filters are a gtk 
    specific mechanism and let them operate with the more complete data.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  3. Restore icon clear with gtk 2.16 secondary icon and icon-release signal

    dvhart committed May 3, 2011
    Update the glade file to use the gtk-clear stock icon in the secondary icon
    location. Map the icon-release signal to on_search_clear.
    
    Restructure SearchEntry to work with self.widget as the actual gtk.Entry instead
    of a gtk.Alignment container widget.
    
    Rework the logic as it behaved eratically before. The whole _active and _focused
    concept should be thrown out and redesigned. It's ugly. But that's another
    patch.
    
    Update the README to reflect a dependency on gtk 2.16.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Mar 22, 2011
  1. Do not match only on titles

    dvhart committed Sep 10, 2009
    Update the Base class __cmp__ so two objects with the same title don't
    appear as equal.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  2. Install to /usr/local by default

    dvhart committed Mar 22, 2011
    Signed-off-by: Darren Hart <darren@dvhart.com>
  3. Remove references to libsexy

    dvhart committed Mar 22, 2011
    libsexy appears to be considered mostly covered by current GTK. and is not as
    readily available as before. Remove this dependency. I need to find a
    replacement for the sexy edit box.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  4. Calculate install prefix in braindump class

    dvhart committed Mar 22, 2011
    Don't assume a /usr/local install path. Calculate the data_dir for glade and
    images from the braindump module path. Keep this data private to the braindump
    class and pass it to other classes requiring access to the data dir.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Sep 7, 2009
  1. Add a signal_prefix variable to the gtd.Base class

    dvhart committed Sep 7, 2009
    This avoids the need to overload various methods just to be able to emit the
    _modified signal.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Aug 1, 2009
  1. xmlstore: Update exception handling and use logging facility

    dvhart committed Aug 1, 2009
    Update xmlstore to use the logging mechanism and reduce console
    diarrhea.  Update the parser loop to catch exceptions.  I've
    noticed a return of the partially written .xml file, this patch
    catches it and allows the program to continue to load.  An error
    is written to the console.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Jul 27, 2009
  1. Reset combobox attributes

    dvhart committed Jul 27, 2009
    Glade does some initial setup of the gtk.ComboBox which causes the long
    standing and VERY ANNOYING:
    
    Warning: unable to set property `text' of type `gchararray' from value of type `PyObject'
    
    These appear now to be fixed.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  2. update the .gitignore file

    dvhart committed Jul 27, 2009
Commits on Apr 17, 2009
  1. move about url hook to gui code

    dvhart committed Apr 17, 2009
    I wasn't thinking straight and the url hook in the braindump setup code
    when it can be grouped with the creation of the gui by including in the
    GUI init code.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  2. open browser on about url click

    dvhart committed Apr 17, 2009
    When the user clicks on the homepage in the about dialog, use the
    webbrowser package to open it.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  3. remove unused menu items

    dvhart committed Apr 17, 2009
    Now that I'm no longer the only user, remove the menu items that
    are not implemented to avoid some confusion for new users while
    we are developing the app.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  4. Remove reference to removed util.py

    dvhart committed Apr 17, 2009
    Signed-off-by: Darren Hart <darren@dvhart.com>
  5. use gobject markup function

    dvhart committed Apr 17, 2009
    Rather than recreate a weaker version of a string escape routine, use the
    one provided by gobject.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Apr 15, 2009
  1. fix new task's being created with "No Context"

    dvhart committed Apr 15, 2009
    The new task handler in braindump.py would blindly pass a ContextNone in the
    contexts array to the Task constructor.  This would get saved in the xmlstore,
    and when subsequently loaded, the reference would never get resolved as a new
    ContextNone is created with each application start (and is not saved in the
    xmlstore).  We represent ContextNone in the Task objects with an empty
    contexts array.  I'd like to scrap all the gtd.*None classes eventually.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Apr 11, 2009
  1. add title to all element references

    dvhart committed Apr 11, 2009
    Like Matt's previous commit, this patch adds the title to referenced
    elements to make the files a bit more human readable.  It also helps
    with debugging.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Apr 10, 2009
  1. Add context titles to context_refs

    mhelsley authored and dvhart committed Apr 11, 2009
    Context titles may be helpful in understanding diffs showing buggy data changes
    and may soon be useful again. Furthermore, context titles can reasonably be
    expected to be unique. Otherwise they would be highly confusing elements of
    the UI since they would require some other means of differentiation.
    
    Signed-off-by: Matt Helsley <matt.helsley@gmail.com>
    Signed-off-by: Darren Hart <darren@dvhart.com>
    --
Commits on Apr 3, 2009
  1. Reformat the dependencies [\#18 state:resolved]

    dvhart committed Apr 3, 2009
    Cleanup the dependency and version formatting.  Really this is just an
    excuse to test the github commit to lighthouse ticket comments.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  2. quote horizontal in the default config

    dvhart committed Apr 3, 2009
    Signed-off-by: Matt Helsley <matt.helsley@gmail.com>
    Signed-off-by: Darren Hart <darren@dvhart.com>
  3. add configobj dependency

    dvhart committed Apr 3, 2009
    Signed-off-by: Matt Helsley <matt.helsley@gmail.com>
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Mar 22, 2009
  1. layout options for the details form

    dvhart committed Mar 22, 2009
    Add menuitems, callbacks, and config settings to allow the user to choose
    between a vertical layout (details form under the task/project list) or a
    horizontal layout (details form to the right of the task/project list).
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Mar 19, 2009
  1. Quote text before adding markup

    dvhart committed Mar 19, 2009
    Signed-off-by: Darren Hart <darren@dvhart.com>
  2. quote markup text for cellrenderertext

    dvhart committed Mar 19, 2009
    The cellrenderer doesn't like the & < and > characters.  Quote them for
    display.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Mar 9, 2009
  1. Be sure to close each file after write in xmlstore (Ticket #1)

    dvhart committed Mar 9, 2009
    I think Ticket #1 might be due to dataloss because I wasn't closing the file.
    I still need to look into what Python does internally with the actual file
    descriptors and return codes of the file operations (such as close).  Then add
    some approprirate exception handlers.  Also added some debug to xmlstore.py for
    tracking Ticket #1.  Only the new critical() output will show up by default,
    user would have to enable -l DEBUG to see the additional input. Impact should
    be minimal.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  2. Fix rename context menu

    dvhart committed Mar 9, 2009
    It was toggling the complete checkbox instead of renaming the gtd item.  The
    column was being hard coded to 0, when it should be 1 for the GTDListView.  Add
    it as an optional argument to the base class constructor.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  3. Fix the no-context filter

    dvhart committed Mar 9, 2009
    FilterListView.selection_match logic was non-functional.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  4. Fix no-project filter

    dvhart committed Mar 9, 2009
    Added explicit check for ProjectNone and AreaNone in
    FilterListView.selection_match.  The whole BaseNone project hierarchy is an
    ugly hack, necessitating multiple dynamic type checks.  This design needs to be
    readdressed.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  5. Initialize the braindump directory during the config initialization

    dvhart committed Mar 9, 2009
    Don't rely on the backing store to initialize the directory as it may
    not be a local store.  Instead, ensure the directories exist while
    creating the configuration object.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Mar 7, 2009
  1. Place date-select popup within screen boundaries.

    dvhart committed Mar 7, 2009
    Signed-off-by: Darren Hart <darren@dvhart.com>
  2. Cancel widget popdown on calendar nav events

    dvhart committed Mar 7, 2009
    In order to get single-click day selection, we close the
    window on day-selected, but that also occurs on the calendar
    navigation events (like next-month, etc.).  This patch
    cancels the popdown on the nav events.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
  3. Hide the view while mucking with the models. This cuts the update

    dvhart committed Mar 7, 2009
    time down significantly at the expense of appearing slightly less
    responsive while doing it.  I think it's worth it.
    
    Signed-off-by: Darren Hart <darren@dvhart.com>
Commits on Mar 2, 2009
  1. Use sys.argv to find program name.

    ejs authored and dvhart committed Dec 4, 2008
    Signed-off-by: dvhart <darren@dvhart.com>