Click here to Skip to main content
Click here to Skip to main content

ToDoList 6.6.7 Feature Release - An effective and flexible way to keep on top of your tasks

By , 23 May 2013
 

 

Downloads


todolist2/todolist.png

todolist2/todolist.png

Latest Update (6.6 Feature Release)

ToDoList 6.6 contains the following new features: 

  • Added 'Icon' attribute type to custom attribute setup
  • Added more options to searching by 'Relative' dates, including 'End of Week/Month/Year'.
  • Added 'Alloc to' to 'To' line of email
  • Added checkbox to task selection dialog to allow comments to be selected for 'Visible Columns'
  • Added preference to always hide parent tasks in list-view
  • Added task dependents to info-tip
  • Added ability to copy and paste RTF formatting
  • Added preference to control 'Percent Done' increments
  • Added preference to locate 'Comments' and 'Fields' to left of tasklist
  • Added support recurring reminders for recurring tasks 
  • Added checkboxes to allow custom attributes to be disabled in addition to being deleted
  • Added button to allow custom attributes to be imported from another tasklist
  • Added new visual styles for printing: Wrapped, Tabular and Paragraph.  
  • Added a preference has been added to calculate a parent task's due date as being the latest of its subtasks' due dates 
  • Added preferences to calculate a parent task's start date as being the earliest/latest of its subtasks' start dates
  • Added a button to the custom attribute dialog to allow symbols to be used for column titles
  • Added a button to allow custom attributes to be imported from another tasklist
  • Added support for relative custom dates.  

Related Links

After finally compiling a FAQ of the most relevant questions asked about ToDoList I've moved all resources related to ToDoList to a new page on my website.

Introduction

You know how it is - you start work on one project and halfway through, you find one or two side-projects crop up that have to be solved before you can continue on the original project.

This is one such project with the added twist that it too started its life as a side-project. Here's what happened:

<Cue wavy screen effect>

I can only imagine that the planets must have been in (mis-)alignment or something, because at one point a few months ago, I was suddenly fielding emails on four or five separate articles I had previously submitted to CodeProject, some asking for features and others for bug fixes.

Foolishly or otherwise, I largely agreed with all the points raised, and subsequently found myself with fourteen or fifteen separate issues to resolve.

The situation was also made worse because I was trying to use CodeProject to keep track of all the things I had agreed to do, meaning that I had to continuously trawl the comments section of each article to remind myself of what I was supposed to be working on.

It even got to the stage where I was worrying that I'd fail to deliver on something - silly I know, but there you are!

Keeping a list on paper was a definite step in the right direction, but since I do all my coding on the same machine, it seemed somewhat inelegant, and anyway, we all know what happens to crucial bits of paper left lying around on desks and such.

The next step was to hunt around on the web for a tool to meet the following requirements:

  • Simple interface
  • Support for hierarchical data
  • Numbered items/subitems
  • Open file format
  • Freeware

Simple, huh! not!

I will admit that I did not spend weeks searching, but I am still surprised at the general lack of software matching my needs.

On reflection, I think that the reason may be simple: people are so used to commercial software being 'feature-rich' that when they come to design software themselves, they (not unreasonably) think they too need to cram as much in as possible, often leading to software where a lot of essential functionality is hidden away in the menu bar.

So, surprise, surprise, I decided to write something myself.

However, it's fair to say that I did not originally intend to post it on CodeProject and am only really doing so because I had a heap of fun solving some very interesting problems and these are what I think make it worth it.

Using the Software

There's really very little I need to say here since every feature/function is explicitly visible in the interface.

Nevertheless, the following list of basic capabilities and omissions may go someway to answering any questions that arise:

  • Files are stored in XML format with .xml file extension.
  • Trying to load a non-tasklist file will generally fail (unless you read the code to see how to circumvent it).
  • The number of items/subitems is limited only by memory (although performance may be the deciding factor before you exhaust memory).
  • Marking a parent item as 'done' will also gray-out child items, but they are not disabled or automatically marked as 'done'.
  • An ellipsis (...) indicates that an item has sub-items.
  • All items can be expanded or collapsed (by double-clicking).
  • Top-level items and sub-items are created using different toolbar buttons.
  • There are task-specific context-menus.
  • The previously open tasklists are re-opened on startup.
  • The tasklist is automatically saved when closing the software or minimizing it to the system tray.
  • The priority of a task is shown as a grayscale box to the left of the item.

Points of Interest

Here's where we come to the side-projects I was talking about, the first two of which I intend to work up into follow-up articles.

They are:

  1. The 'ordered' tree control, which incorporates a non-client gutter for displaying the item numbers.

    The idea stemmed from research I did into alternative designs for a tree-list control, which did not solve it by creating a hybrid control incorporating a tree and a list.

    The hybrid control seems such an obvious solution that I suspect few people have stopped to question it, but it has still always struck me as looking far too much like hard work to be truly elegant ('square pegs' and 'round holes' spring to mind).

    One possible idea is to implement the 'list' portion entirely in the non-client area of the tree. I.e., shift the right hand client edge to the left and then render the list portion in the resulting non-client area.

    Whilst I've yet to get round to building a proof of concept, it was nevertheless this ongoing mental debate which prompted me to try to solve the requirement for numbered items and subitems by rendering the item/subitem numbers in the non-client area.

    Without going into too much detail (as this will subsequently be an article of its own), this is how I got it to work:

    • Handle TVM_INSERTITEM and TVM_DELETEITEM to know exactly when items are added and removed.
    • In these handlers recalculate the width of the gutter required to display the widest 'dotted' item/subitem number. (Note: this is not necessarily simply the deepest subitem.)
    • If the required gutter width changes, call SetWindowPos(NULL, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER) to force Windows to recalculate the non-client area of the control.
    • Handle WM_NCCALCSIZE when it does, and offset the left border by the required gutter width.
    • Handle WM_NCPAINT for painting the numbers.

    This is necessarily an over-simplification, but it captures the essence of the solution, and all that essentially remains is lots of fiddling about to ensure the non-client area gets redrawn at the the right times to stay synchronized with the client area.

  2. Embedding .RC control definition data directly in a .cpp file to break the dependency on binary resources (a.k.a. 'Runtime Dialogs').

    This is an idea that has been floating about for quite some time and which has only recently gelled into a workable solution.

    The problem, put simply, is that if you want to take advantage of the resource editor in Visual Studio (and who doesn't), then you very quickly find yourself stuck with having to load dialog templates from resources compiled into the binary file.

    This further means that if you want to make use of a dialog across multiple projects, then either you need to copy and paste the dialog template between project .RC files, or you need to build the dialog into a DLL from which it can be accessed.

    'Runtime Dialogs' (a snappy title I coined myself) is a solution that neatly sidesteps both the nuisance of copying dialog resources between resource files and the extra work (and maintenance) involved in packaging dialogs in DLLs.

    And it works like this:

    • First, you design your dialog template in the resource editor, create a CDialog derived class using class wizard, and wire up all the controls just as you normally would.
    • Next, you #include "runtimedlg.h" and change all instances of CDialog to CRuntimeDlg.
    • Then, you cut and paste the control definition section from the appropriate section in the .RC file and embed it directly in the dialog's .cpp file as a static string (with a bit of tweaking to handle double quotes and such like).
    • Finally, in the constructor of your dialog, you simply call CRuntimeDlg::AddRCControls(...) passing the control definitions as a string.
    • And CRuntimeDlg takes care of the rest including, if required, auto-sizing the dialog to suit the control layout.

    I'm certainly not suggesting that this is a 'win-win' solution for all situations but it certainly has merits in its closer coupling of dialog template to dialog code which makes sharing dialogs across multiple projects a breeze.

    P.S.: In case it's not clear here, I used CRuntimeDlg to create CToDoCtrl which encapsulates the ordered tree together with the priority, date and comments controls as a single simple-to-instantiate control.

    I'm also proposing to use them in the .NET port of my ProjectZip add-in for VC6.

  3. Embedding the XML file in a web page.

    This is possibly the most satisfying aspect of the whole project because it was completely unexpected.

    What I mean is that, until recently, my knowledge of DOM and XMLDOM was virtually non-existent, as it's only since I've become more interested in the presentation of AbstractSpoon that I've been forced to get to grips with the various implementations of DOM and XMLDOM out there.

    I'm pleased to say that the code on my site works under IE 6.0, Netscape 7.1, and Mozilla, although custom code was required to achieve this.

Generic MFC Classes that may prove Useful to You

The following table lists a wide range of utility classes written for this project. They can all be included in any MFC project provided you include any class dependencies too. Feel free to ask any questions relating to these specific classes and how to use them.

Class Name

Description

Class Dependencies
(apart from MFC)

CAboutDlg

Customizable "About…' dialog not requiring a dialog resource. Supports html encoded text

CRuntimeDlg, CRCCtrlParser

CAutoComboBox

Adds only unique items to the drop list and shuffles the list so that the last added item is at the top

CHoldRedraw

CAutoFlag

Encapsulates the setting and unsetting of a boolean variable thru the lifetime of the class instance

CColorButton

Non-ownerdraw button that displays the selected colour on the button face and displays the colour dialog when clicked

CEnColorDialog

CColorComboBox

Owner-draw combobox for displaying and selecting user defined colours

CDateHelper

Encapsulation of various rountines for calculating date spans and for formatting

CDeferWndMove

Encapsulation of the Win32 API

CDialogHelper

Re-implementation of the CDialog DDX/DDV rountines to avoid the MFC error messages when the user clears a number edit (for instance)

CDlgUnits

Encapsulates the MapDialogRect Win32 API

CDockManager

Class for managing the docking of one popup window to another.

*CSubclassWnd, CHoldRedraw, CAutoFlag

CDriveInfo

Encapsulates various rountines for querying about drives, files and disk space

CEnBitmap

Adds support to CBitmap for loading non-bmp files and resources.

CEnBitmapEx, CColorReplacer, CImageBlurrer, CImageColorizer, CImageContraster, CImageEmbosser, CImageFlipper, CImageGrayer, CImageLightener, CImageNegator, CImageResizer, CImageRotator, CImageSharpener, CImageShearer, CImageSysColorMapper, CImageTinter

Adds image manipulation funationality to CEnBitmap

CEnBitmap

CEnColorDialog

Adds saving and restoring of custom colours to CColorDialog

CEnCommandLineInfo

Adds functions for extracting and querying commandline switches

CEnEdit

Adds user-defined button capabilities to CEdit

CMaskEdit, CThemed, CDlgUnits

CEnToolBar

Adds support for using alternative resource or file images

CFileEdit

Adds buttons for browsing and displaying the file represented by the text in the edit control. Also shows the file's small icon.

CEnEdit, CFolderDialog, CMaskEdit, CDlgUnits, CThemed, CSysImageList

CHoldRedraw

Encapsulates WM_SETREDRAW

CHotKeyCtrlEx

Fixes a number of behavioural problems including the handling of certain keypresses

CHotTracker

Tracks the cursor movement over user-defined windows and posts event messages as necessary

*CSubclassWnd,

CLimitSingleInstance

Provides simple method to detect if another instance of an app is running

CMaskEdit

Adds simple character masking to CEdit

CNcGutter

Allows the UI of standard windows controls to be extended by supporting any number of columns to be added to the non-client area of the window. Favours tabular controls like lists, trees, etc

*CSubclassWnd, CHoldRedraw, CThemed, CDlgUnits

COrderedTreeCtrl

CTreeCtrl implementation of CNcGutter displaying a single column showing the hierarchical position of each tree item in '1.2.3.4' notation.

CHoldRedraw, CThemed

CPasswordDialog

Very simple password dialog not requiring a dialog resource

CRuntimeDlg, CRCCtrlParser

CPropertyPageHost

Simpler replacement for CPropertySheet allowing easier creation as a child window

CRCCtrlParser

Used by CRuntimeDlg for parsing dialog resource-like text

CRuntimeDlg

Adds support to CDialog for building dialogs at runtime ie. dialogs do not require a dialog resource

CRCCtrlParser

CShortcutManager

Class for handling application keyboard shortcuts.

*CSubclassWnd, CWinClasses

CSpellCheckDlg

Spellcheck dialog not requiring a dialog resource, which interfaces with ISpellCheck (interface to Open Office dictionaries)

CRuntimeDlg, CRCCtrlParser, ISpellCheck

CSysImageList

Encapsulates the Windows system image list (file/folder images)

CTabCtrlEx

Adds post rendering callback for the tabs without using owner-draw

CThemed

Encapsulates themed (XP) and non-themed (the rest) drawing of windows controls

CTimeEdit

Adds a button for specifying time units and provided routines for converting time to and from different time units

CEnEdit, CMaskEdit, CThemed, CDlgUnits

CToolbarHelper

Adds support for dialog toolbar tooltips, multiline tooltips and dropbuttons with menus

*CSubclassWnd, CEnBitmap, CEnBitmapEx

CTrayIcon

Encapsulates the Shell_NotifyIcon Win32 API. Also provides balloon tips and animation

*CSubclassWnd,

CUrlRichEditCtrl

Adds support for recognizing urls, clicking them and setting custom url callbacks

CWinClasses

Encapsulates the ::GetClassName Win32 functions

CXmlFile, CXmlItem

Non-Unicode class for reading and writing xml files

CXmlFileEx

Adds encryption capabilities to CXmlFile

CXmlFile, IEncryption

* CSubclassWnd was originally written by Paul DiLascia for MSJ magazine. The version I use has been heavily extended to suit my specific needs. The classes that depend on it here need this extended version.

Further Work

Whilst this tool was originally intended for my personal use only, it is now a 'community' project, so if you find it useful and want to make suggestions for enhancements or bug fixes, then post below. 

History      

  • 6.6.7 (03 May 2013)
    • Very important fix for 'malformed xml' on loading
  • 6.6.6 (13 Apr 2013)
    • Fixed problem using AltGr key in rich text comments
    • Fixed problem with auto-restoration of tasklist backups
    • Fixed tasks being removed even if archiving fails 
    • Fixed completed tasks not being searched 
    • Fixed lower-casing of archive filenames  
  • 6.6.5 (29 Mar 2013) 
    • Fixed icon bug exporting to tdl  
    • Fixed percent done not updating when time spent changes
    • Fixed import of Freemind 'rich content' comments
    • Fixed erroneous reload messages when daylight saving changes 
    • Fixed various translation bugs 
    • Fixed various HTML export formatting issues 
    • Fixed tab order bug in 'Offset Task Dates' dialog  
  • 6.6.4 (09 Mar 2013) 
    • Fixed input bug with dropped-down category combo 
    • Fixed bug formatting file links in HTML
    • Fixed yearly recurring task bug
    • Fixed recurring task date visibility bug 
  • 6.6.3 (02 Mar 2013)
    • Remove 'Hide Parent Tasks' from Filter Bar options combo when this duplicates the related preference 
    • Replace Gantt message with static text to avoid (annoying) popup 
    • Fix Due Date bug introduced in 6.6.2
  • 6.6.2 (23 Feb 2013)
    • Fix incorrectly hidden columns 
    • Fix 'Earliest Due Date' not being saved correctly to task file  
  • 6.6.1 (19 Feb 2013) 
    • Fixed bug with disabled text color option
    • Fixed bug with recurring reminders
    • Fixed 'red ring' around checkboxes with themes turned off
  • 6.6 Feature Release (16 Feb 2013)  
    • Added 'Ctrl+Mousewheel' zooming in calendar
    • Turned off bold attribute in calendar fonts
    • Added recurring task support to iCal export 
    • Added 'Icon' attribute type to custom attribute setup 
    • Added more options to searching by 'Relative' dates, including 'End of Week/Month/Year'.
    • Added 'Alloc to' to 'To' line of email
    • Added checkbox to task selection dialog to allow comments to be selected for 'Visible Columns'
    • Added preference to always hide parent tasks in list-view
    • Added task dependents to info-tip
    • Added ability to copy and paste RTF formatting
    • Added preference to control 'Percent Done' increments
    • Added preference to locate 'Comments' and 'Fields' to left of tasklist
    • Added support recurring reminders for recurring tasks 
    • Added checkboxes to allow custom attributes to be disabled in addition to being deleted
    • Added button to allow custom attributes to be imported from another tasklist
    • Added new visual styles for printing: Wrapped, Tabular and Paragraph.  
    • Added a preference has been added to calculate a parent task's due date as being the latest of its subtasks' due dates 
    • Added preferences to calculate a parent task's start date as being the earliest/latest of its subtasks' start dates
    • Added a button to the custom attribute dialog to allow symbols to be used for column titles
    • Added a button to allow custom attributes to be imported from another tasklist
    • Added support for relative custom dates. 
    • Allow 'flag' custom attributes to be settable via clicking the tasklist column
    • Allow searching on all tasks even if in filtered view
    • Improved task caching performance
    • Extended 'Recurrence' dialog to support 'First <weekday> in Month' etc
    • Auto-save preferences have been changed to be entirely user-specified
    • Fixed copy/paste of background colour in RTF control 
    • Fixed relative date calculations 
    • Fixed reminder dialog to remember its last state 
    • Fixed copying simple text comments such that font formatting is no longer copied 
    • Fixed task icon dialog to be resizable 
    • Saved 'finds' automatically added to filter droplist.    
  • 6.5.10 (31 Oct 2012)
    • Fixed Vista/W7 shutdown bug
  • 6.5.9 (15 Oct 2012)
    • Fixed various Windows shutdown scenarios
    • Fixed unexpected growth in preferences file
    • Fixed redraw bug with Find Tasks dialog
    • Fixed bug handling custom time formats
    • Fixed bug matching partial strings 
  • 6.5.8 (19 Sep 2012) 
    • Fixed an important resource leak 
  • 6.5.7 (01 Sep 2012)  
    • Fix dialog fonts 
    • Fix assigning empty strings to custom attribute lists 
    • Fix redraw bug loading tasklist  
  • 6.5.6 (27 Aug 2012)
    • Fixed various Outlook importing and drag'n'drop issues 
    • Fixed task icons not appearing in task-tree 
    • Fixed CSV importing of tags 
    • Fixed multiple-selection of tasks overwriting custom attributes 
  • 6.5.5 (18 Aug 2012) 
    • Use relative paths for language file and dictionary files
    • Fixed circular dependency crash
    • Fixed redraw bug checking out multiple tasklists
    • Don't check delay-loaded tasklists for readonly/timestamp changes 
  • 6.5.4 (13 Aug 2012) 
    • Fixed comments of incomplete tasks appearing struck-thru
    • Fixed sorting of completed tasks on last-modified date
    • Fixed bug in restoring and processing 'Find Task' rules
    • Fixed loss of filter when delay-loading tasklist with due tasks
    • Fixed rich-text translation of find/replace dialogs
    • Fixed calendar entries going missing after new task is created 
  • 6.5.3 (01 Aug 2012) 
    • Fix various translation-related bugs
    • Ensure start/due dates get correctly bumped when tasks recur
  • 6.5.2 (29 Jul 2012)
    • Fix various translation issues
    • Fix calendar plugin not updating when a task is added to the tree
    • Fix MRU numbering above 9 
    • Fix broken 'Task Recurrence" menu option 
    • Fix Edit menu items not being hidden when their respective columns are hidden 
  • 6.5.1 (25 Jul 2012)  
    • Add support for '.' in float fields that use another character for the decimal point 
    • Ensure start dates get bumped when tasks recur 
    • Add rollback feature to preferences 
    • Improve reliability when closing down Windows 
    • Fix various translation-related bugs  
  • 6.5 Feature Release (15 Jul 2012) 
    • Moved labels above fields for easier translation
    • Added custom user-defined attributes
    • Added support for relative dates in 'Find Tasks'
    • Added table support to rtf comments
    • Added full-justify support to rtf comments
    • Added RTF support for increment/decrement font size>Added checks to prevent overwriting taskfiles when exporting to 'tasklist'
    • Added preference to control default task icons
    • Added support for filtering on calendar view
    • Allowed exporting of multiple tasklists with 'selected task' filter
    • Added 'Task Recurrence...' command to Edit menu
    • Added 'Go to Task Dependency' command to Edit menu
    • Added 'Sort' command to top of Sort menu
    • Added icons to rich text context menu
    • Added missing commands to rich-text context menu
    • Added time estimate/spent alpha key to set units (eg typing '10d', will now set the value to 10 and the units to days) 
    • Moved Calendar to tabbed view
    • Made preferences scrollable => scalable
    • Restored last custom filter on startup
    • MS Word now used for RTF2HTML conversion
    • Improved 2 way conversion with FreeMind 
    • Heaps of fixes and tweaks  
  • 6.4.10 (19 Jun 2012) 
    • Fixed drag'n'drop bug causing Outlook to be unnecessarily started
    • Fixed Initialisation bug when restoring filters   
  • 6.4.9 (09 Jun 2012)
    • fix bug where last comments character is being truncated
    • Fix -cmd commandline switch
    • Fix "task due within the next 7 days" incorrectly showing overdue tasks
    • Fix GanttViewer problem with %done
    • Fix bug with status filtering
    • Fix focus bugs when maximizing tasklist/comments
    • Fix slow rendering with large comments 
  • 6.4.8 (26 May 2012)
    • Fixed bug where last comments character was being truncated 
    • Fixed '-cmd' commandline switch 
    • Fixed "Tasks due within the next 7 days" filter incorrectly showing overdue tasks
    • Fixed GanttViewer problem with loading percent done
    • Fixed bug with status filtering  
  • 6.4.7 (04 May 2012)  
    • Fix Korean (and other Asian language) input in the comments field
    • Refresh the due date field when completing a recurring task
    • Update the list view after creating a task in task tree
    • Correct inverted backup location options  
  • 6.4.6 (06 Apr 2012) 
    • Fix various commandline bugs
    • Remove restriction on parent/child selection in task selection dialogs
    • Fix 'View Dependecy' bug when tasklist is checked in 
  • 6.4.5 (02 Apr 2012)   
    • Added <no risk> and <no priority> commandline options ('n') 
    • Added 'percent done' commandline option
    • Fixed ISO date problem when exporting from list-view  
  • 6.4.4 (20 Mar 2012)
    • Fixed issue with editing start, due and completion times
  • 6.4.3 (18 Mar 2012)
    • Fixed incorrect file extension when transforming
    • Fixed resizing issue 
    • Fixed 'Copy All' issue in commandline dialog 
    • Fixed 'Pos' not being exported 
  • 6.4.2 (15 Mar 2012) 
    • Fixed restoration of previous filter  
    • Fixed focus issue when changing percent done with Incomplete tasks filter
    • Fixed restoration of previous Export settings  
  • 6.4.1 (13 Mar 2012)   
    • Fixed bug in edit field placement
    • Fixed bug with focus switch when editing dates 
    • Restored scroll performance 
    • Restored date alignment 
    • Fixed bug in preferences initialization 
    • Fixed bug where 'Move task' options are disabled for new tasklist
    • Fixed bug with registry importing of preferences 
  • 6.4 Feature Release (08 Mar 2012)
    • Added support for 'natural' sorting (a la Explorer-sorting)
    • Added support for 'new' style file-open dialog under Vista/Windows 7
    • Added file version to backups, so that no new version will overwrite the backups of a previous version
    • Added preference to Calendar plugin to specify font size
    • Added 'task path' column to list
    • Added option to display entire sub tree of filtered task
    • Added options to expand due/started tasks only
    • Added 'selected tasks' filter
    • Added 'and parent task' to selection dialog
    • Added 'Tags' task attribute
    • Added preferences to better manage backup paths
    • Added commandline switches for the remaining task attributes, and to control how new tasks are created
    • Added much-improved Outlook drag'n'drop support
    • Added support for unc paths in comments field
    • Added 'selected tasks' filter
    • Added options for specifying backup paths
    • Added 'include parent task' to selection dialog (Export, Print, Transform)
    • Added 'Save Tasklist As' to tasklist tabbar context menu
    • Added 'Recalc from start date' to recurrence dialog
    • Added popup dialog for choosing how to link to files in richtext comments
    • Added support for military time to start/due/completed time droplists (eg. 0530, 1705)
    • Added support for edit fields to be positioned to the right of the task view. Useful for wide, shallow displays.
    • Fixed position field to retain order when sorting
    • Fixed listview to calculate it's own column widths
    • Fixed focus bug when setting task icon from list view
    • Fixed initial hidden state of tree/list tab
    • Fixed filtering to filter out parent tasks with empty attributes
    • Fix filtering to filter out parent tasks with empty attributes
    • Fix focus bug when setting task icon from list view
    • Fixed bug with archiving encrypted tasklists
    • Fixed bug with delay-loading of encrypted tasklists
    • Fixed Html exporting of user-defined 'flagged' colour
    • Fixed user-defined colours not being rendered in html export
    • Fixed display bug when moving mouse 'time spent' field's buttons
    • Fixed date alignment bug 
    • Fixed bug when checking out after toggling inclusion of username
    • Fixed bug where filter droplists did not auto-expand when adding a new longest entry
    • Changed MLO file extension to .ml
    • Fixed initial state list sorting bug
    • Fixed priority not getting imported in Csv
    • Fixed bug when not importing all csv attributes
    • Fixed bug allowing edits on readonly comments field
    • Fixed bug with task icon indices 
    • Fixed 'half-visible task' bug in list view
    • New Spanish translation
    • Updated Chinese translation 
    • Status-bar panes are now hidden to match column visibility 
    • Preferences file sections are now sorted
    • Allowed user to edit tree/list icon when it's next to the title text by double-clicking
    • Html images are now saved to subfolder of html file (when exporting)
    • Speed-up tree building
    • Allow user to edit task icon by double-click tree/list icon when it's next to the title text
    • Always show droplist buttons in mapping dialogs 
  • 1.1-6.3 (removed by .dan.g.)
  • 1.0 (4 Nov 2003)
    • Initial release.

License

This article, along with any associated source code and files, is licensed under The Eclipse Public License 1.0

About the Author

.dan.g.
Software Developer Maptek
Australia Australia
Member
.dan.g. is a naturalised Australian and has been developing commercial windows software since 1998.
 
For all his latest freeware visit AbstractSpoon.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
NewsGuinea Pigs needed for Speed Testmember.dan.g.14 Nov '12 - 13:24 
Hi All,
 
I'd like to get some performance results across a wide range of computers and Windows versions.
 
Here's what you need to do:
 
  1. Download, unzip and load the test tasklist.
     
  2. Close all other tasklists, except the test tasklist, and restart ToDoList.
     
  3. 'View > Expand > All Tasks'.
     
  4. Make sure the first task is selected.
     
  5. Measure how long it takes to scroll to the bottom of the list using only the 'Down' cursor key.
     
  6. Do the experiment a few times and send me the results together with the high level specs of your machine and what OS you are using.
 
Many thanks for your time.
 
Note: All information received will be treated as confidential.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: Guinea Pigs needed for Speed TestmemberTCP_JM14 Nov '12 - 21:13 
Hi Dan,
 
it's quite a short list. I remember a list with 6000 tasks that we used for testing Wink | ;)
 
My very old "Internet" Computer with Win XP, SP3, 3.06 GHz, 512 MB RAM. Don't laugh, it has feelings, you know...
 
It takes an average of 25 secs to scroll from top to bottom (ToDoList 6.5.10)
 
Cheers,
Jochen

GeneralRe: Guinea Pigs needed for Speed TestmemberPierre de la Verre15 Nov '12 - 0:08 
Win XP Prof. SP3 German, 4 GB RAM (only 3 used in XP), 3.20 GHZ
 
29 sec.; both stored on local drive and on network drive
 
The speed of scrolling seem to be the same as scrolling somewhere else.
Pierre

GeneralRe: Guinea Pigs needed for Speed TestmemberMember 787887815 Nov '12 - 4:14 
Hi Dan,
 
I ran the test on my Gateway DX-4320 (AMD with 4 CPUs and 6GB ram) and it took 32 seconds under Windows 8 with TDL 6.5.10.
 
I ran the same PC using Remote Desktop Connection from my iMac and it took about 2Min. and 15 sec.
 
Also, I Ran the test under Parallels on my iMac running Windows 7 with TDL 6.5.10 and it took about 2Min and 17 sec. My iMac is a 2011 model with I5 processor and 8GB ram with 4GB dedicated to Parallels.
 
Dave Thompson
GeneralRe: Guinea Pigs needed for Speed Test [modified]memberzajchapp15 Nov '12 - 22:36 
OK...
Old laptop - Intel Pentium M 1600Hz, 1.5GB RAM running Win XP SP3
 
TDL 6.5.5: 25 sec and 1m12sec
TDL 6.5.10: 25 sec and 1m12sec
TDL 6.6d2: 30 sec and 1m11sec
 
Where the first value is the TDL window at ~a quarter of the screen and the second value is with the TDL window maximised. In both options the CPU gets close to maximum when the arrow down key is pushed down. When the key isn't depressed, the CPU is at about 4%.
For what it worth, the screen is 1680x1050.
 
[EDIT] Work laptop Lattitude E5420 x86 Family 6 - 2500MHz, 4MB RAM, WinXP SP3, 1366 x 768 screen
 
TDL 6.1: 23 sec and 36 sec
TDL 6.5.5 26 sec and 36 sec
 
Again where the first number is when the TDL window is ~ 1/4 of the screen, and the second number when it is maximised. CPU runs at ~30% when scrolling.
zajchapp

modified 17 Nov '12 - 3:20.

GeneralRe: Guinea Pigs needed for Speed Testmemberpludikhu16 Nov '12 - 23:14 
Hi Dan
 
I followed zajchapp's lead with different window sizes which obviously does make a big difference.
 
1) W7/64 i7-2600 @ 3.40 GHz 16GB RAM AMD Radeon HD 6800 using TDL 6.5.10 on 1920 x 1200 screen
At half the screen height: 23s; at full size: 37s with CPU topping at 12% for TDL in both cases (no other activity) and that proves this might be more of a graphics card test, right?!
 
2) Vista/64 Q9300 @ 2.50 GHz 4GB RAM GeForce 9600 GS using TDL 6.1.10 on 1800 x 1440 screen
At half the screen heigth: 36s; at full size: 56s with CPU topping at 25% for TDL.
It becomes 66s if I remove my comment area (where screen repaint would be needed for a longer task title field) whereas the 56s were with a comment area of about 1/3 of the 1800 pixel screen width. Same CPU usage.
 
Are the hardware specs 'high level' enough? Or do you need more detail?
 
My question to you: do you want/need response times from virtual machines? Because performance of those can be influenced by even more 'environmental' settings.
 
Need more, just ask for it Wink | ;-)
 
Patrick
Questionfind task filter issuememberlaurentbosc14 Nov '12 - 6:40 
Dan,
 
I'm using find task filters (with relative date functionality), and it is very great.
But as you know, when you use the find task filter, and 'apply as filter' command, all other filter fields are disabled.
And it is a problem for me, especially because, after I would use the 'Title' filter, in order to reduce the list filtered, but it is not possible.
 
I could improve my find task filter by adding a title filter, but my filter is too complex, and it is not working.
So for now, I have a big problem in order to filter my tasks...
 
Would it be possible to enable other filter fields, or at least the title field, which is a very important filter fields ?
 
Thanks in advance.
AnswerRe: find task filter issuemember.dan.g.14 Nov '12 - 13:09 
laurentbosc wrote:
or at least the title field, which is a very important filter fields ?
I will give it some thought.
 
The tricky bit is that the 'extra' title filter has to be 'AND-ed' with the Find Tasks filter and this is not trivial. However, if I were to make this a two stage process (internally): First filter by Find Tasks search, and then filter the results by title, this might keep it simple.
laurentbosc wrote:
my filter is too complex, and it is not working
Perhaps if you share this with me we can figure out what's not working...
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: find task filter issue [modified]memberlaurentbosc14 Nov '12 - 22:32 
Actually, I need indeed to do a 2-stage filter:
 
1- I use the find task filter in order to select my active tasks - OK
 
2- Based on the filtered result, I want to reduce the result and focus on a specific part of the tree (and its subtree), based on the title of parent tasks.
So for example I want to reduce the filtered tree with just the first parent tasks and its subtree.
This is not possible to do this in a single step, in one find task filter.
And I would want to use the title filter in order to search for the first parent tasks AND show all subtasks.
But I realize there is another easy way (not possible for the moment) : Be able to select manually one or several parent tasks (of the filtered result), and use the "selected tasks" filter ! According to me the 'Selected tasks' filter should be a specific filter, not in the 'Show' combobox, in order to focus on specific tasks or parent tasks (and its subtree), for reporting purposes for example. And same remark coud be done for the filter 'Flagged tasks'...
 
So by improving the way to use the selected task filter, you would provide a way to do a 2-stage filter, for find task filter, but also for standard 'show' combobox filter.
 
What do you think about this ?

modified 15 Nov '12 - 9:16.

Questionmulty log in with different user name and password?membersolmonb14 Nov '12 - 6:18 
is it possible to have multi user names on a file, and each user who open a file should have to enter his user name and own password?
also i should have a column where it should been "automatically" entered which user created this task, and a column which i can see which user last modified this task?
AnswerRe: multy log in with different user name and password?member.dan.g.14 Nov '12 - 13:03 
solmonb wrote:
is it possible to have multi user names on a file, and each user who open a file should have to enter his user name and own password?
No.
solmonb wrote:
a column where it should been "automatically" entered which user created this task
Select the 'Created By' column.
solmonb wrote:
which user last modified this task?
I'll consider adding this as an attribute.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


BugOpen a task with tdl:// protocol does not select the given task anymorememberptandler11 Nov '12 - 21:23 
Hi Dan,
 
I recently updated after a long time to the current version (BTW: Several cool new features, many thanks for your ongoing development effort!)
 
When I open tdl://C:\mypath\ToDo.tdl?1751 TDL comes to foreground, but it doesn't open the task list / change the selected task to the passed task (e.g.1751) anymore. Thus, the links generated by flat_sorted_todolist.xsl does not work anymore.
 
Any idea what happened? Can you reproduce this? (Maybe I missed a new option ...? Wink | ;-) I checked the option that tdl:// is supported.)

Cheers,
Peter
teambits GmbH

GeneralRe: Open a task with tdl:// protocol does not select the given task anymoremember.dan.g.12 Nov '12 - 0:46 
Can you create a simple tasklist that exhibits this problem and send it to me pls?
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: Open a task with tdl:// protocol does not select the given task anymorememberptandler2 Dec '12 - 23:55 
Well, it works now. Maybe I did not reboot after the installation ... Thanks anyway!

Cheers,
Peter
teambits GmbH

QuestionTo do list THE BESTmembermagnus19829 Nov '12 - 18:44 
Hello.I am working in machine building industrial.I am using to do list and i think it is great .
Simple and clever .But for my opinion it should be fev more option in this softwear.
1.Internal email client where you can connectet task with the email.
2.More raports.
3.Own column name should be show on the raport
4.I am Polish then i waiting on polish langue.
 
I am not programist then i can not help.:/
 
I am waitng for future version .Thank you for such amazing softwear
AnswerRe: To do list THE BESTmember.dan.g.9 Nov '12 - 21:22 
Thx for your support.
 
I will give your suggestions some thought.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


QuestionReminders: Am I doing it wrong?memberFatJobby8 Nov '12 - 18:50 
Hi, I'm trying to set reminders for tasks, but even once set, nothing pops-up. Also, do I have to have the application open for the reminders to work?
 
Fantastic app by the way - I love it! just need to be reminded as to when things are happening =)
 
Help!?
AnswerRe: Reminders: Am I doing it wrong?memberPierre de la Verre8 Nov '12 - 21:06 
Could you add a screenshot or a screen-movie so we can see what you are doing?
Pierre

AnswerRe: Reminders: Am I doing it wrong?member.dan.g.9 Nov '12 - 16:06 
FatJobby wrote:
Also, do I have to have the application open for the reminders to work?
Absolutely.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


Questionto Dan: about French Translationmemberppolymorphe7 Nov '12 - 18:18 
Hi Dan,
 
About 2 months ago, I sent you a French translation file with a few corrections.
 
Did you got it ?
Patrice

“Everything should be made as simple as possible, but no simpler.” Albert Einstein

AnswerRe: to Dan: about French Translationmember.dan.g.8 Nov '12 - 14:27 
Yes, I've just been really slack... Blush | :O
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


Bug[BUG] Category field sortingmemberrealsyntech7 Nov '12 - 4:41 
Version 6.3.9:
 
Sorting of the column 'category' by numbers seems to work only for numbers up to 5 digits. Now I've entered a 6 digits number (100020) and it is sorted below 87482. All numbers below 100000 are sorted correctly.
 
I haven't tested other fields. If they follow the same logic, they might be sorted wrong, too.
Martin

GeneralRe: [BUG] Category field sortingmember.dan.g.7 Nov '12 - 12:19 
6.5.9?
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: [BUG] Category field sortingmemberrealsyntech8 Nov '12 - 1:24 
About says: 6.3.9
 
edit: I just found out (because our numbers have 6 digits now), that 100031 is sorted before 100020 (which is correct), but both numbers are sorted below 87428.
 
Here's how it looks like (sorted descending):
89491
88256
88092
87482
100031
100020
Martin

GeneralRe: [BUG] Category field sortingmemberTCP_JM8 Nov '12 - 2:45 
Hi,
 
Didn't use big numbers in the category field, but I tried this out.
 
If I sort the category column I get:
 
87482
88092
88256
89491
100020
100031
 
And this result is correct.
 
But I agree that something is wrong if I look at the editing control:
If I click on the little arrow on the right hand of the edtiting field 'category' to choose a category I get:
 
100020
100031
87482
88092
88256
89491
 
And this is (obviously) not correct.
 
I'm using ToDoList Ver 6.5.10
 
Cheers,
Jochen

GeneralRe: [BUG] Category field sortingmemberPierre de la Verre8 Nov '12 - 3:34 
Seem to be
 
1) Sort by numbers
2) Sort alphabetically
Pierre

GeneralRe: [BUG] Category field sortingmember.dan.g.8 Nov '12 - 14:27 
Hopefully you will all see this reply...Unsure | :~
 
The task-tree uses the same 'natural' sorting that Explorer does, so that numbers are sorted correctly.
 
Comboboxes, however, use whatever in-built sorting algorithm they were originally written with which is probably plain alphanumeric. I'll look into it, but I doubt I can change the combo sorting.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: [BUG] Category field sortingmemberTCP_JM8 Nov '12 - 22:45 
Hi Dan,
 
.dan.g. wrote:
Comboboxes, however, use whatever in-built sorting algorithm they were originally written with which is probably plain alphanumeric. I'll look into it, but I doubt I can change the combo sorting.

I do not have many categories, so it's relativly easy to keep track of them when the combo box shows the options (different categories) after clicking on the little arrow and to pick the one I want to use. (It would be easier if they would be sorted alphabetically...)
 
But imagine a user who has to put in let's say a 1000 different product numbers and the listing of those is in disorder... Sigh | :sigh:
 
You wrote that there is a built in sorting algorithm. That might easily be changed by you, I assume.
The problem is - I assume again - that the categories are strored in the tdl file. So ToDoList would have to read what's already in the tdl file resort the categories put a new one in and store the result then, right?
 
This brings me to another question:
I've experimented with the custom editing fields (custom columns). These are strored in the the tdl file.
Would it be possible to offer an option that allows to change the order while working in ToDoList?
It's a bit "tricky" to edit the tdl file all the time.
 
Cheers,
Jochen

GeneralRe: [BUG] Category field sortingmember.dan.g.9 Nov '12 - 16:17 
TCP_JM wrote:
You wrote that there is a built in sorting algorithm. That might easily be changed by you, I assume.
I also said 'I doubt I can change the combo sorting' Smile | :)
 
TCP_JM wrote:
Would it be possible to offer an option that allows to change the order while working in ToDoList?
Absolutely.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: [BUG] Category field sortingmemberTCP_JM9 Nov '12 - 19:50 
.dan.g. wrote:
I also said 'I doubt I can change the combo sorting' Smile | :)
I feel a man like you can manage it Wink | ;)
 
.dan.g. wrote:
TCP_JM wrote:
Would it be possible to offer an option that allows to change the order while working in ToDoList?
Absolutely.
Great, highly appreciated. Thank you very much in advance.
 
- - -
Another question:
I created a new custom column "Work Date". What I would need to need is "Work Date (relative)" so that I can use it for "relative" searches in 'find tasks'. I can not create this (obviously).
 
So the question is:
Would it be possible to offer such a column (or another name) as a standard column like 'Due Date', 'Start Date'?
 
BTW: That would solve a lot of requests regarding a "Follow-Up-Date", too.
 
Cheers,
Jochen

GeneralRe: [BUG] Category field sortingmember.dan.g.9 Nov '12 - 21:21 
TCP_JM wrote:
Would it be possible to offer such a column (or another name) as a standard column like 'Due Date', 'Start Date'?
I would rather fix it so that the Find Tasks dialog can support relative custom date attributes...
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: [BUG] Category field sortingmemberTCP_JM9 Nov '12 - 22:00 
.dan.g. wrote:
I would rather fix it so that the Find Tasks dialog can support relative custom date attributes...
Thanks. Does rather mean that you are doing it? Smile | :)
Jochen

GeneralRe: [BUG] Category field sortingmember.dan.g.11 Nov '12 - 12:16 
TCP_JM wrote:
Does rather mean that you are doing it?
It does indeed.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: [BUG] Category field sortingmemberTCP_JM11 Nov '12 - 20:31 
.dan.g. wrote:
TCP_JM wrote:
Does rather mean that you are doing it?
It does indeed.
As always: great. Thank you. I'm very much looking forward to that feature.
Jochen

GeneralRe: [BUG] Category field sortingmemberTCP_JM8 Nov '12 - 22:30 
In the list it works (6.5.10)
 
Regarding the combo box (editing field: category):
I'm under the impression that the order depends on the order the user has put the categories in.
The sorting by numbers (or alphabetically) is not correct (neither ascending nor descending).
Jochen

GeneralRe: [BUG] Category field sortingmember.dan.g.9 Nov '12 - 16:15 
TCP_JM wrote:
I'm under the impression that the order depends on the order the user has put the categories in.
I've just checked 6.6 and it definitely inserts items, including numbers, in alphabetic order.
 
However it doesn't sort numbers 'as numbers' but as if they were words. ie. '20' comes after '1' and before '8'.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: [BUG] Category field sortingmemberTCP_JM9 Nov '12 - 20:10 
.dan.g. wrote:
I've just checked 6.6 and it definitely inserts items, including numbers, in alphabetic order.
Checked it in different versions of ToDoList. You are right.
 

Regarding numbers:
I tried to find a little workaround for numbers.
Instead of using 1, 8, 20 I tried
a) _1, _2, _20.
or
b) #1, #8, #20
 
But even with such a 'prefix' numbers do not get sorted correctly (in the combo box).
 
I tried a 'space' before a number, but that doesn't work at all.
 
Cheers,
Jochen

GeneralRe: [BUG] Category field sortingmember.dan.g.9 Nov '12 - 20:55 
Only leading zeroes would fix things.
 
ie. 01, 08, 20
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: [BUG] Category field sortingmemberTCP_JM9 Nov '12 - 22:05 
.dan.g. wrote:
Only leading zeroes would fix things.

Doesn't seem to work properly either:
 
I get:
01
0100023
020
08
 
In "real life" the numbering is:
1
8
20
100023
 
Cheers,
Jochen

GeneralRe: [BUG] Category field sortingmember.dan.g.11 Nov '12 - 12:16 
Apologies. What I meant is that leading zeroes must be added so that the numbers all have an equal number of digits.
 
ie.
000001
000008
000020
100023

.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: [BUG] Category field sortingmemberTCP_JM11 Nov '12 - 20:36 
It's a good "workaround" and can easily be done if a user needs to work with larg(er) numbers.
Makes it also easier to get an overview since numbers are mostly left aligned.
Jochen

GeneralAre Reminders pc-specific?memberAlexxcode5 Nov '12 - 8:20 
Are reminders stored in the .tdl - file?
 
When i move my .tdl file to another pc my reminders are not working!
 
Thank You
Alexandra
GeneralRe: Are Reminders pc-specific?member.dan.g.5 Nov '12 - 12:36 
They are stored in the ini file.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


BugTasks are not automatically appearing if start date is reached!memberAlexxcode4 Nov '12 - 22:38 
If you are using the Filter "Show: M) Tasks started by Today" and the start date of an task is reached this task does not appear until you refresh the tasklist somehow.
 
Thank You
Alexandra
QuestionRe: Tasks are not automatically appearing if start date is reached!memberpludikhu4 Nov '12 - 23:12 
Alexandra
 
Would you expect TDL to automatically refresh every x seconds/minutes or so?
AnswerRe: Tasks are not automatically appearing if start date is reached!memberAlexxcode4 Nov '12 - 23:49 
No, as long start times are not working a refresh at the point of datechange at 0:00 once a day would be sufficent.
GeneralRe: Tasks are not automatically appearing if start date is reached!member.dan.g.5 Nov '12 - 12:37 
This is how I handle due dates, so I'll add a similar check for start dates.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: Tasks are not automatically appearing if start date is reached!memberAlexxcode5 Nov '12 - 23:28 
Great! Rose | [Rose]
 
Thank You
Alexandra
GeneralAwesomememberSarath C4 Nov '12 - 21:30 
I took few years break from codeproject but I am so happy to see that one of the projects I followed still releases new versions with bug fixes and feature with at most dedication. All the best buddy!
-Sarath.
My blog - iSpeak code
Rate the answers and close your posts if it's answered

GeneralRe: Awesomemember.dan.g.5 Nov '12 - 21:07 
Many thx. Good to have you back!
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 23 May 2013
Article Copyright 2003 by .dan.g.
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid