Jérôme Laheurte | 4 Feb 09:46
Picon
Favicon

thirdparty/flatnotebook.py

It's not used any more is it ?

Cheers
Jérôme

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach-dev/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach-dev/join
    (Yahoo! ID required)

<*> To change settings via email:
    taskcoach-dev-digest@... 
    taskcoach-dev-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    taskcoach-dev-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

(Continue reading)

Jérôme Laheurte | 24 Jan 20:55
Picon
Favicon

Fwd: buildbot success in TaskCoach on Release

Please tell me when you have downloaded the release; I must reboot the server. Disk problems it seems…

Cheers
Jérôme

Début du message réexpédié :

Objet : buildbot success in TaskCoach on Release
Date : 24 janvier 2012 20:49:38 HNEC

The Buildbot has finished a build of Release on TaskCoach.
Full details are available at:
http://www.fraca7.net:8010/builders/Release/builds/73

Buildbot URL: http://www.fraca7.net:8010/

Buildslave for this Build: Ubuntu10

Build Reason: The web-page 'force build' button was pressed by 'fniessink':

Build Source Stamp: HEAD
Blamelist:

Build succeeded!

sincerely,
-The Buildbot






__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Frank Niessink | 20 Jan 22:21
Gravatar

Buildbot down?

Hi Jérôme,

This page seems out of date:
http://www.fraca7.net/TaskCoach-packages/latest_bugfixes.py. Is the
build bot down?

Thanks, Frank

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach-dev/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach-dev/join
    (Yahoo! ID required)

<*> To change settings via email:
    taskcoach-dev-digest@... 
    taskcoach-dev-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    taskcoach-dev-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Frank Niessink | 15 Jan 23:06
Gravatar

New "actual start date time": does it impact SyncML/iOS syncing?

Hi Jérôme,

I think I'm pretty much done with adding the actual start date time
attribute. Can you take a look at the SyncML and iOS syncing part?
Does it need to be adapted?

Cheers, Frank

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach-dev/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach-dev/join
    (Yahoo! ID required)

<*> To change settings via email:
    taskcoach-dev-digest@... 
    taskcoach-dev-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    taskcoach-dev-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Frank Niessink | 15 Jan 22:07
Gravatar

Two related design questions [long]

Hi all,

I've been splitting the existing "start date/time" attribute of tasks
into a "planned start date/time" and an "actual start date/time". Not
a small change, but not an overly complex one either. However, it made
me realize we handle changes to attributes in a certain way and I'm
not sure it's the best way. Let me explain what currently happens when
an attribute is changed:
1. User clicks a menu item or a toolbar button.
2. This activates a UICommand (user interface command; should really
be renamed to UIAction to better distinguish it from "real" commands).
3. The UICommand creates a Command (for example
TaskMarkCompletedCommand) and calls its do() method.
4. The Command saves the state it needs to be able to undo itself and
then makes the change.
5. When a change to one attribute of a task (or other domain object)
affects another attribute of that same task (a) or another attribute
of another task (b), the changes are made by the method of the first
task and not by the Command. Example of a) setting the percentage
complete to 100 is done by the setPercentageComplete() method and that
method also invokes setCompletionDateTime() to change the completion
date of the task. Example of b) marking a task completed also marks
all of its children completed. This is done by
setCompletionDateTime().

Note how in step 4 all state that is needed to undo the change is
saved by the Command class while all the work is done by the domain
objects themselves in step 5. This means there is an implicit
dependency between step 4 and 5. You can't change stuff done in step 5
without also changing the state that is saved in step 4. Or, as we do
in many cases, save too much state.

So my first question is whether it would be a good idea to move a big
chunk of the code in the set* methods to the different Commands. Or,
does this responsibility belong somewhere else entirely?

The other related question is whether it is actually a good idea to
change related domain objects when one domain object changes. For
example, when a task is completed we also mark all the subtasks
completed. A different approach could be to not change any of the
related domain objects, but instead make the getter more intelligent.
So the Task.completed() method would return True when the task itself
is completed or when the percentage complete is 100 or when the parent
task is completed. The advantage of this is that my first question
sort of disappears: both the setters and the Commands could be kept
simple. The disadvantage may be that the getters get more complex and
possibly slower?

I'd appreciate any suggestions, thoughts, references to articles maybe, etc...

Thanks, Frank

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach-dev/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach-dev/join
    (Yahoo! ID required)

<*> To change settings via email:
    taskcoach-dev-digest@... 
    taskcoach-dev-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    taskcoach-dev-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Jérôme Laheurte | 8 Jan 11:57
Picon
Favicon

French translation

I just submitted a request to join the manual wiki on Wikispaces. The french translation is a mess with up to
three different translations for the same term so I thought I'd put some guidelines on the Wiki. And
restart the translation from scratch :(

Cheers
Jérôme

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach-dev/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach-dev/join
    (Yahoo! ID required)

<*> To change settings via email:
    taskcoach-dev-digest@... 
    taskcoach-dev-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    taskcoach-dev-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Frank Niessink | 7 Jan 13:11
Gravatar

Re: [Task Coach-commits] SF.net SVN: taskcoach:[5062] branches/Release1_3_Branch/taskcoach/ taskcoachlib/powermgt/idle.py

Hi Jérôme,

Looks like there is some debugging code left in there?

Cheers, Frank

2012/1/6  <fraca7@...>:
> Revision: 5062
>          http://taskcoach.svn.sourceforge.net/taskcoach/?rev=5062&view=rev
> Author:   fraca7
> Date:     2012-01-06 14:24:30 +0000 (Fri, 06 Jan 2012)
> Log Message:
> -----------
> Use operating_system instead of sys.platform.
>
> Modified Paths:
> --------------
>    branches/Release1_3_Branch/taskcoach/taskcoachlib/powermgt/idle.py
>
> Modified: branches/Release1_3_Branch/taskcoach/taskcoachlib/powermgt/idle.py
> ===================================================================
> --- branches/Release1_3_Branch/taskcoach/taskcoachlib/powermgt/idle.py  2012-01-05 16:17:11
UTC (rev 5061)
> +++ branches/Release1_3_Branch/taskcoach/taskcoachlib/powermgt/idle.py  2012-01-06 14:24:30
UTC (rev 5062)
> @@ -17,13 +17,14 @@
>  '''
>
>  import sys, threading, time
> +from taskcoachlib import operating_system
>  from ctypes import *
>
>
>  #==============================================================================
> -# Linux
> +# Linux/BSD
>
> -if sys.platform == 'linux2':
> +if operating_system.isGTK():
>     class XScreenSaverInfo(Structure):
>         _fields_ = [('window', c_ulong),
>                     ('state', c_int),
> @@ -54,11 +55,13 @@
>
>         def getIdleSeconds(self):
>             self.XScreenSaverQueryInfo(self.dpy, self.XRootWindow(self.dpy, 0), self.info)
> -            return 1.0 * self.info.contents.idle / 1000
> +            idle = 1.0 * self.info.contents.idle / 1000
> +            import time
> +            file('/home/jla/idle.txt', 'a+').write('%s: %.2f\n' % (time.ctime(), idle))
>
>     IdleQuery = LinuxIdleQuery
>
> -elif sys.platform == 'win32':
> +elif operating_system.isWindows():
>     class LASTINPUTINFO(Structure):
>         _fields_ = [('cbSize', c_uint), ('dwTime', c_uint)]
>
> @@ -76,8 +79,7 @@
>
>     IdleQuery = WindowsIdleQuery
>
> -elif sys.platform == 'darwin':
> -
> +elif operating_system.isMac():
>     # When running from source, select the right binary...
>
>     if not hasattr(sys, 'frozen'):
>
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Taskcoach-commits mailing list
> Taskcoach-commits@...
> https://lists.sourceforge.net/lists/listinfo/taskcoach-commits

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach-dev/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach-dev/join
    (Yahoo! ID required)

<*> To change settings via email:
    taskcoach-dev-digest@... 
    taskcoach-dev-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    taskcoach-dev-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Jérôme Laheurte | 15 Dec 09:35
Picon
Favicon

Re: [Task Coach-commits] SF.net SVN: taskcoach:[5020] branches/Release1_3_Branch/taskcoach


Le 14 déc. 2011 à 23:13, fniessink@... a écrit :

> Revision: 5020
>          http://taskcoach.svn.sourceforge.net/taskcoach/?rev=5020&view=rev
> Author:   fniessink
> Date:     2011-12-14 22:13:18 +0000 (Wed, 14 Dec 2011)
> Log Message:
> -----------
> Reminder wouldn't work in Spanish translation due to a bug in the translation that wasn't spotted by the
translation tests due to a bug in one of the translations tests (!). Fixing the bug in the translation test
hleped to discover a few more buggy translations that are now also fixed.

Doesn't that also fix #3459028 ? I can't reproduce it anyway.

Cheers
Jérôme

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach-dev/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach-dev/join
    (Yahoo! ID required)

<*> To change settings via email:
    taskcoach-dev-digest@... 
    taskcoach-dev-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    taskcoach-dev-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Jérôme Laheurte | 11 Dec 13:26
Picon
Favicon

Fwd: [Task Coach-commits] SF.net SVN: taskcoach:[5004] branches/Release1_3_Branch/taskcoach

But now the workaround for long subjects doesn't work any more...

Cheers
Jérôme

Début du message réexpédié :

Objet : [Task Coach-commits] SF.net SVN: taskcoach:[5004] branches/Release1_3_Branch/taskcoach
Date : 11 décembre 2011 13:22:05 HNEC

Revision: 5004
         http://taskcoach.svn.sourceforge.net/taskcoach/?rev=5004&view=rev
Author:   fniessink
Date:     2011-12-11 12:22:04 +0000 (Sun, 11 Dec 2011)
Log Message:
-----------
Date controls in the effort edit dialog would be hidden due to the wx.Yield on Ubuntu.

Modified Paths:
--------------
   branches/Release1_3_Branch/taskcoach/changes.in/changes.py
   branches/Release1_3_Branch/taskcoach/taskcoachlib/gui/dialog/editor.py
   branches/Release1_3_Branch/taskcoach/taskcoachlib/meta/data.py

Modified: branches/Release1_3_Branch/taskcoach/changes.in/changes.py
===================================================================
--- branches/Release1_3_Branch/taskcoach/changes.in/changes.py 2011-12-11 11:09:01 UTC (rev 5003)
+++ branches/Release1_3_Branch/taskcoach/changes.in/changes.py 2011-12-11 12:22:04 UTC (rev 5004)
<at> <at> -22,12 +22,14 <at> <at>

releases = [

-Release('1.3.3', 'December 10, 2011',
+Release('1.3.3', 'December 11, 2011',
    summary='''This is a bugfix release.''',
    bugsFixed=[
        Bug('''On Linux, after every edit of a task, the undo history
would contain a "recurrence edited" action even though the recurrence was
not changed.''', '3453625'),
+        Bug('''On Ubuntu, the date controls in the effort edit dialog would
+be invisible.''', '3452446'),
        Bug('''On Windows, when the user tries to save the task file in a
folder where she doesn't have permission, Task Coach would not give a proper
warning.'''),

Modified: branches/Release1_3_Branch/taskcoach/taskcoachlib/gui/dialog/editor.py
===================================================================
--- branches/Release1_3_Branch/taskcoach/taskcoachlib/gui/dialog/editor.py 2011-12-11 11:09:01 UTC (rev 5003)
+++ branches/Release1_3_Branch/taskcoach/taskcoachlib/gui/dialog/editor.py 2011-12-11 12:22:04 UTC (rev 5004)
<at> <at> -60,7 +60,6 <at> <at>
                from taskcoachlib.thirdparty import SendKeys
                SendKeys.SendKeys('{END}+{HOME}')
            else:
-                wx.Yield()
                theEntry.SetSelection(len(theEntry.GetValue()), 0)
        except (AttributeError, TypeError):
            pass # Not a TextCtrl

Modified: branches/Release1_3_Branch/taskcoach/taskcoachlib/meta/data.py
===================================================================
--- branches/Release1_3_Branch/taskcoach/taskcoachlib/meta/data.py 2011-12-11 11:09:01 UTC (rev 5003)
+++ branches/Release1_3_Branch/taskcoach/taskcoachlib/meta/data.py 2011-12-11 12:22:04 UTC (rev 5004)
<at> <at> -22,7 +22,7 <at> <at>

version = '1.3.3' # Current version number of the application
tskversion = 33 # Current version number of the task file format, changed to 33 for release 1.2.24.
-release_day = '10' # Day number of the release, 1-31, as string
+release_day = '11' # Day number of the release, 1-31, as string
release_month = 'December' # Month of the release in plain English
release_year = '2011' # Year of the release as string
release_status = 'stable' # One of 'alpha', 'beta', 'stable'

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Taskcoach-commits mailing list
Taskcoach-commits <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/taskcoach-commits





__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Frank Niessink | 8 Dec 21:44
Gravatar

Slowness in wx.Scheduler

Hi Jérôme,

I'm doing some profiling and noticed that even with a small task file
(few tasks, few categories) checking and unchecking is notably slow
when the calendar viewer is open. I checked and unchecked one category
5 or 6 times and the wxScheduler called copyDateTime 150.000 times (!)
which took 4 seconds. I seem to remember you have commit rights for
wxScheduler or at least access to the developers? Can we improve
wxScheduler and give them a patch?

Thanks, Frank

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach-dev/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach-dev/join
    (Yahoo! ID required)

<*> To change settings via email:
    taskcoach-dev-digest@... 
    taskcoach-dev-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    taskcoach-dev-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Frank Niessink | 4 Dec 17:49
Gravatar

Unhandled exceptions in unittests

Hi,

I get these two unhandled exceptions when running the unittests for
the head of the trunk on Mac OS X:

Ran 4766 tests in 503.549s

OK
Unhandled exception in thread started by <bound method
TaskCoachFilesystemPollerNotifier.__bootstrap of
<TaskCoachFilesystemPollerNotifier(autoexport.tsk, stopped daemon
-1302761472)>>
Unhandled exception in thread started by <bound method
TaskCoachFilesystemPollerNotifier.__bootstrap of
<TaskCoachFilesystemPollerNotifier(whatever.tsk, stopped daemon
-1327976448)>>
Traceback (most recent call last):
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
line 525, in __bootstrap
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
line 525, in __bootstrap
    self.__bootstrap_inner()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
line 565, in __bootstrap_inner
    (self.name, _format_exc()))
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py",
line 240, in format_exc
    etype, value, tb = sys.exc_info()
AttributeError: 'NoneType' object has no attribute 'exc_info'
self.__bootstrap_inner()

Apparently, sys is None, but how is that possible? There's an import
sys at top of the traceback.py module...

Thanks, Frank

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach-dev/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach-dev/join
    (Yahoo! ID required)

<*> To change settings via email:
    taskcoach-dev-digest@... 
    taskcoach-dev-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    taskcoach-dev-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane