Permalink
Switch branches/tags
Commits on Aug 3, 2018
Commits on Jan 8, 2018
  1. Add .gitignore

    cmpilato committed Jan 8, 2018
Commits on Aug 7, 2015
  1. Update README image links.

    cmpilato committed Aug 7, 2015
Commits on Mar 13, 2015
  1. Remove old files.

    cmpilato committed Mar 13, 2015
  2. Add latest-version.txt file. Not sure how this functionality with tra…

    cmpilato committed Mar 13, 2015
    …nslate to
    
    GitHub hosting.
  3. http -> https

    cmpilato committed Mar 13, 2015
  4. Use GitHub image references.

    cmpilato committed Mar 13, 2015
  5. Check wrapping.

    cmpilato committed Mar 13, 2015
Commits on Nov 7, 2014
  1. Comment fixes.

    cmpilato committed Nov 7, 2014
Commits on Nov 5, 2014
  1. Implement the ability to open and launch attachments.

    cmpilato committed Nov 5, 2014
    For issue #44 ("Add ability to attach images with captions to entries").
    
    * lib/tk_data.py
      (TKEntryAttachment.__init__): Add 'content_type' param.
      (TKEntryAttachment.get_content_type): New method.
      (TKDataParser.endElement): Notice and use the "content-type=", too.
    
    * lib/tk_main.py
      (ThotKeeper.OnInit): Register an event handler for activation of attachments.
      (ThotKeeper._SetEntryFormDate): Populate the attachments list widget.
      (ThotKeeper._LaunchDefaultApplication,
       ThotKeeper._AttachmentActivated): New methods.
Commits on Jun 16, 2013
  1. * lib/tk_data.py

    cmpilato committed Jun 16, 2013
      Fix long comment lines.
Commits on Sep 26, 2012
Commits on Sep 24, 2012
  1. For issue #44 ("Add ability to attach images with captions to

    cmpilato committed Sep 24, 2012
    entries"), add some initial working UI (the ability to list the
    attachments).
    
    * lib/tk_data.py
      (TKEntryAttachment.__init__): Drop 'content_type' in favor of 'filename'.
      (TKEntryAttachment.get_content_type): Remove.
      (TKEntryAttachment.get_filename): New.
      (TKEntry.TKJ_TAG_FILENAME): New.
      (TKEntry._valid_parents): Add mapping for TKJ_TAG_FILENAME.
      (TKEntry.startElement): Add handling for <attachments> and <filename>.
      (TKEntry.endElement): Add handling for </filename>. Tweak handling
        of </attachment> to use filename rather than content-type now.
      (TKEntry.unparse_data): Write <filename>, and don't write the
        "content_type" attribute of <attachment>.
    
    * lib/tk_main.py
      (ThotKeeper.OnInit): Record 'attachments_id' convenience variable.
      (ThotKeeper._SetEntryFormDate): Build out the attachments list
        report.
      (ThotKeeper._DebugMessage): New helper function.
    
    * lib/tk_resources.xrc
      Replace static text panel with report-style ListBox of attachments.
Commits on Sep 21, 2012
  1. For issue #44 ("Add ability to attach images with captions to

    cmpilato committed Sep 21, 2012
    entries"), add diary file format support for attachments.
    
    * lib/tk_data.py
      (TKJ_TAG_ATTACHMENT, TKJ_TAG_ATTACHMENTS, TKJ_TAG_DATA,
       TKJ_TAG_DESC): New tags.
      (TKEntries._valid_parents): Update validation rules to accomodate
        new tags.
      (TKEntryAttachment): New class.
      (TKEntry.__init__): Add 'attachments' parameter.
      (TKEntry.get_attachments): New function.
      (TKDataParser.startElement, TKDataParser.endElement): Add parsing of
        new attachments bit.
      (TKDataParser._write_entry): Unparse attachments, too.
  2. For issue #44 ("Add ability to attach images with captions to

    cmpilato committed Sep 21, 2012
    entries")...
    
    * lib/tk_resources.xrc
      Move the ThotKeeper Entry textbox widget to a notebook page in
      roughly the same location, with a second page set aside for tracking
      attachments.
Commits on Aug 21, 2010
  1. Finish issue #43: Archive feature.

    cmpilato committed Aug 21, 2010
    * lib/tk_resources.xrc
      (): Increase the minimum height of calendar widgets.
      (TKFileMenuArchive): New.
      (TKChooseDate, TKChooseDatePanel, TKChooseDateCalendar,
        TKChooseDateToday): Renamed from TKChange*.  Tweaked to be a
        generic date selection dialog.
    
    * lib/tk_main.py
      (ThotKeeper.OnInit): Store 'file_archive_id' variable, and register
        an event handler for the File->Archive menu selection.  Don't load
        the date select dialog box here any more.  Track the TKDatePanel,
        and stop tracking the TKPanel's id.  Attach calendar widgets to
        the correct parent window.
      (ThotKeeper._GetFileDialog): Add optional 'basename' argument.
      (ThotKeeper._QueryChooseDate): New abstraction of the date selection
        dialog stuff:  load, tweak, display, and return the goods.
      (ThotKeeper._RedateEntry): Now use _QueryChooseDate() for date
        selection.
      (ThotKeeper._DeleteEntry): Add 'skip_verify' optional arg which, if
        set, avoids the popup confirmation dialog.
      (ThotKeeper._ArchiveEntriesBeforeDate): New function.
      (ThotKeeper._FileArchiveMenu): New event handler function.
Commits on Jun 15, 2010
  1. Make it a little easier to create new entries for the today.

    cmpilato committed Jun 15, 2010
    * lib/tk_resources.xrc
      Add "New Entry for Today" menu item.
    
    * lib/tk_data.py
      (TKEntries.get_new_id): New function.  
    
    * lib/tk_main.py
      (ThotKeeper.OnInit): Store resource id for the new menu.  Register
        an event handler for it.
      (ThotKeeper._EntryNewMenu): Fix this to use get_new_id() properly.
      (ThotKeeper._EntryNewTodayMenu): New.
Commits on Nov 25, 2009
  1. Unfortunately, this commit carries two logical changes:

    cmpilato committed Nov 25, 2009
      - The introduction of a new Entry menu with actions relevant to the
        currently displayed entry.
    
      - A reorganization of many of the ThotKeeper class methods into
        groupings.
    
    Alas, when coding on an airplane in Subversion, offline commits aren't
    a readily available options.
    
    * lib/tk_resources.xrc
      Add a new "Entry" menu and submenu items "Duplicate", "Modify
      Date...", and "Delete".  Also, move "Print Preview" and "Print..."
      submenu items from the "File" menu to the new "Entry" menu.
    
    * lib/tk_main.py
      (ThotKeeper): Reorder a bunch of functions into groups, adding some
        comment separators for those groups.
    
      ### The following symbols are/were all members of the ThotKeeper class ###
    
      (OnInit): Add some comments, and now fetch and store the
        resource IDs of the new menu and submenu items.  Also, register
        event handlers for new items where applicable.
      (_TextToTags, _TagsToText): Relatively minor logic tweaks, mostly
        for readability.
      (_ToggleEntryMenus): New function which supercedes ...
      (_TogglePrintMenus): ... this now-removed one.  Callers updated.
      (_GetFileDialog): New assumes responsibility for finding a good default
        directory (previously done in functions like _FileNewMenu).
      (_RedateEntry): New, cored from _TreeChangeDateMenu (which now calls it).
      (_DuplicateEntry): New, cored from _TreeDuplicateMenu (which now calls it).
      (_DeleteEntry): New, cored from _TreeDeleteMenu (which now calls it).
      (_TreeChangeDateMenu, _TreeDuplicateMenu, _TreeDeleteMenu): Now call new
        helper functions for the core work.
      (_FileNewMenu, _FileOpenMenu): Defer default directory search to
        _GetFileDialog.
      (_NotifyEntryLoaded, _EntryNewMenu, _EntryDuplicateMenu, _EntryRedateMenu,
        _EntryDeleteMenu): New functions.
      (_EntryPreviewMenu, _EntryPrintMenu): Were _FilePreviewMenu and
        _FilePrintMenu, respectively.
  2. * lib/tk_main.py

    cmpilato committed Nov 25, 2009
      Add/tweak some comments, and rearrange a small bit of logic.
  3. * lib/tk_main.py

    cmpilato committed Nov 25, 2009
      (_CompareTags): Was _compare_tags.  Caller(s) updated.
Commits on Jun 18, 2009
  1. * lib/tk_main.py

    cmpilato committed Jun 18, 2009
      (__version__): Bump to '0.5-dev'.
  2. Datestamp the 0.4 release.

    cmpilato committed Jun 18, 2009
Commits on Mar 9, 2009
  1. Fix issue 36: Missing author name in printed version.

    cmpilato committed Mar 9, 2009
    * lib/tk_main.py
      (ThotKeeper._FilePreviewMenu, ThotKeeper._FilePrintMenu): If global
        authors are enabled, use the global author name when printing or
        previewing.
Commits on Dec 31, 2008
  1. Finish issue #32 (Loading an entry should reposition the Calendar's f…

    cmpilato committed Dec 31, 2008
    …ocus).
    
    * lib/tk_main.py
      (ThotKeeper._SetEntryFormDate): Use _MakeDateTime() helper.  Set the
        selected calendar day to the date of the entry.