Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

taskcoach-dev · Task Coach Development

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 1559 - 1588 of 2248   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#1559 From: Frank Niessink <frank@...>
Date: Sun Jan 15, 2012 9:07 pm
Subject: Two related design questions [long]
fniessink
Send Email Send Email
 
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

#1560 From: Frank Niessink <frank@...>
Date: Sun Jan 15, 2012 10:06 pm
Subject: New "actual start date time": does it impact SyncML/iOS syncing?
fniessink
Send Email Send Email
 
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

#1561 From: Jérôme Laheurte <fraca7@...>
Date: Mon Jan 16, 2012 8:33 am
Subject: Re: New "actual start date time": does it impact SyncML/iOS syncing?
fraca7
Send Email Send Email
 
Le 15 janv. 2012 à 23:06, Frank Niessink a écrit :

> 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?

Don't know yet, but I already had this in my pipe; I'll make some testing.

Cheers
Jérôme

#1562 From: Kirill Müller <mail@...>
Date: Mon Jan 16, 2012 8:46 am
Subject: Re: Two related design questions [long]
mail@...
Send Email Send Email
 
Hi Frank,

my gut feeling is that if there is a logic that influences multiple objects even of the same type, this logic should be encapsulated separately. I was about to support the "intelligent getters", but then remembered the "don't ask, tell" principle which sort of contradicts this proposition.

Is it possible to have the setters also return the objects for which the state must be saved?


Cheers

Kirill


On 01/15/2012 10:07 PM, Frank Niessink wrote:
 

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


#1563 From: Jérôme Laheurte <fraca7@...>
Date: Mon Jan 16, 2012 2:22 pm
Subject: Re: Two related design questions [long]
fraca7
Send Email Send Email
 
Le 15 janv. 2012 à 22:07, Frank Niessink a écrit :

> 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?

IMO this belongs to the Commands. In a ideal world no setter should have
"side-effects" on other properties. In the real world it's sometimes easier to
break that rule. Whatever makes the code simpler is good even if it's not
following the ideal :)

Moving this stuff to the Commands raises some other questions though. For
instance, should the Command that marks a task complete itself use the setters
of children/parent tasks, or use other Commands ? In the second case we may end
up with fewer, simpler Command classes but the undo would be counter-intuitive
(unless we somehow aggregate commands in batches).

>
> 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?

That would definitely make some getters horribly complex. And confuse the iPhone
app since it looks up task states through a SELECT in an SQL database :)

Cheers
Jérôme

#1564 From: Frank Niessink <frank@...>
Date: Mon Jan 16, 2012 11:00 pm
Subject: Re: Two related design questions [long]
fniessink
Send Email Send Email
 
2012/1/16 Jérôme Laheurte <fraca7@...>:
>
> Le 15 janv. 2012 à 22:07, Frank Niessink a écrit :

>> 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?
>
> IMO this belongs to the Commands. In a ideal world no setter should have
"side-effects" on other properties. In the real world it's sometimes easier to
break that rule. Whatever makes the code simpler is good even if it's not
following the ideal :)

Agreed. However, it's not necessarily simpler. For example, look at
the ToggleCategoryCommand in command.categorizableCommands.py that
already does most of the work itself:
http://taskcoach.svn.sourceforge.net/viewvc/taskcoach/branches/Release1_3_Branch\
/taskcoach/taskcoachlib/command/categorizableCommands.py?revision=5096&view=mark\
up

Pretty well documented, rather clean, but not simple.

> Moving this stuff to the Commands raises some other questions though. For
instance, should the Command that marks a task complete itself use the setters
of children/parent tasks, or use other Commands ? In the second case we may end
up with fewer, simpler Command classes but the undo would be counter-intuitive
(unless we somehow aggregate commands in batches).

Batching commands is a possibility in theory, but I'd rather not go
there. Too complex for my simple brain.

>> [smarter getters]. The disadvantage may be that the getters get more complex
and
>> possibly slower?
>
> That would definitely make some getters horribly complex. And confuse the
iPhone app since it looks up task states through a SELECT in an SQL database :)

OK, so it sounds that making the Commands do most of the work in
combination with keeping the getters simple sounds like a best
strategy?

Cheers, Frank

#1565 From: Jérôme Laheurte <fraca7@...>
Date: Tue Jan 17, 2012 10:00 am
Subject: Re: Two related design questions [long]
fraca7
Send Email Send Email
 
Le 17 janv. 2012 à 00:00, Frank Niessink a écrit :

> 2012/1/16 Jérôme Laheurte <fraca7@...>:
> >
> > Le 15 janv. 2012 à 22:07, Frank Niessink a écrit :
>
> >> 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?
> >
> > IMO this belongs to the Commands. In a ideal world no setter should have
"side-effects" on other properties. In the real world it's sometimes easier to
break that rule. Whatever makes the code simpler is good even if it's not
following the ideal :)
>
> Agreed. However, it's not necessarily simpler. For example, look at
> the ToggleCategoryCommand in command.categorizableCommands.py that
> already does most of the work itself:
>
http://taskcoach.svn.sourceforge.net/viewvc/taskcoach/branches/Release1_3_Branch\
/taskcoach/taskcoachlib/command/categorizableCommands.py?revision=5096&view=mark\
up
>
> Pretty well documented, rather clean, but not simple.
>
> > Moving this stuff to the Commands raises some other questions though. For
instance, should the Command that marks a task complete itself use the setters
of children/parent tasks, or use other Commands ? In the second case we may end
up with fewer, simpler Command classes but the undo would be counter-intuitive
(unless we somehow aggregate commands in batches).
>
> Batching commands is a possibility in theory, but I'd rather not go
> there. Too complex for my simple brain.
>
> >> [smarter getters]. The disadvantage may be that the getters get more
complex and
> >> possibly slower?
> >
> > That would definitely make some getters horribly complex. And confuse the
iPhone app since it looks up task states through a SELECT in an SQL database :)
>
> OK, so it sounds that making the Commands do most of the work in
> combination with keeping the getters simple sounds like a best
> strategy?

Sounds fine to me.

Cheers
Jérôme

#1566 From: Frank Niessink <frank@...>
Date: Fri Jan 20, 2012 9:21 pm
Subject: Buildbot down?
fniessink
Send Email Send Email
 
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

#1567 From: Jérôme Laheurte <fraca7@...>
Date: Sun Jan 22, 2012 9:49 am
Subject: Re: Buildbot down?
fraca7
Send Email Send Email
 

Le 20 janv. 2012 à 22:21, Frank Niessink a écrit :

 

Hi Jérôme,

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

Yes, seems like I had a power outage and it failed to restart properly. I'm forcing some builds in order to have the latest versions.

Cheers
Jérôme


#1568 From: Frank Niessink <frank@...>
Date: Sun Jan 22, 2012 1:47 pm
Subject: Re: New "actual start date time": does it impact SyncML/iOS syncing?
fniessink
Send Email Send Email
 
2012/1/16 Jérôme Laheurte <fraca7@...>:
>
> Le 15 janv. 2012 à 23:06, Frank Niessink a écrit :
>
>> 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?
>
> Don't know yet, but I already had this in my pipe; I'll make some testing.

Did you have a chance to take a look? I'd like to release 1.3.5 today
if possible.

Thanks, Frank

#1569 From: Jérôme Laheurte <fraca7@...>
Date: Sun Jan 22, 2012 2:15 pm
Subject: Re: New "actual start date time": does it impact SyncML/iOS syncing?
fraca7
Send Email Send Email
 

Le 22 janv. 2012 à 14:47, Frank Niessink a écrit :

 

2012/1/16 Jérôme Laheurte <fraca7@...>:
>
> Le 15 janv. 2012 à 23:06, Frank Niessink a écrit :
>
>> 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?
>
> Don't know yet, but I already had this in my pipe; I'll make some testing.

Did you have a chance to take a look? I'd like to release 1.3.5 today
if possible.


Seems to work fine; go ahead.

Cheers
Jérôme


#1570 From: Jérôme Laheurte <fraca7@...>
Date: Tue Jan 24, 2012 7:55 pm
Subject: Fwd: buildbot success in TaskCoach on Release
fraca7
Send Email Send Email
 
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





#1571 From: Frank Niessink <frank@...>
Date: Tue Jan 24, 2012 8:01 pm
Subject: Re: Fwd: buildbot success in TaskCoach on Release
fniessink
Send Email Send Email
 
2012/1/24 Jérôme Laheurte <fraca7@...>


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

6 more minutes...

Thanks, Frank

#1572 From: Frank Niessink <frank@...>
Date: Tue Jan 24, 2012 8:09 pm
Subject: Re: Fwd: buildbot success in TaskCoach on Release
fniessink
Send Email Send Email
 
2012/1/24 Frank Niessink <frank@...>:
> 2012/1/24 Jérôme Laheurte <fraca7@...>
>>
>>
>>
>> Please tell me when you have downloaded the release; I must reboot the
>> server. Disk problems it seems…
>
>
> 6 more minutes...

Done, go ahead and reboot :-)

Thanks, Frank

#1573 From: Jérôme Laheurte <fraca7@...>
Date: Tue Jan 24, 2012 8:15 pm
Subject: Re: Fwd: buildbot success in TaskCoach on Release
fraca7
Send Email Send Email
 
Le 24 janv. 2012 à 21:09, Frank Niessink a écrit :

> 2012/1/24 Frank Niessink <frank@...>:
>> 2012/1/24 Jérôme Laheurte <fraca7@...>
>>>
>>>
>>>
>>> Please tell me when you have downloaded the release; I must reboot the
>>> server. Disk problems it seems…
>>
>>
>> 6 more minutes...
>
> Done, go ahead and reboot :-)

Okay, thanks

Cheers
Jérôme

#1574 From: Jérôme Laheurte <fraca7@...>
Date: Tue Jan 24, 2012 8:28 pm
Subject: Re: Fwd: buildbot success in TaskCoach on Release
fraca7
Send Email Send Email
 
Le 24 janv. 2012 à 21:09, Frank Niessink a écrit :

> 2012/1/24 Frank Niessink <frank@...>:
>> 2012/1/24 Jérôme Laheurte <fraca7@...>
>>>
>>>
>>>
>>> Please tell me when you have downloaded the release; I must reboot the
>>> server. Disk problems it seems…
>>
>>
>> 6 more minutes...
>
> Done, go ahead and reboot :-)

Everything's back to normal, I hope. And the PPAs for release 1.3.6 actually
worked. I'm getting kind of sick of them :)

Cheers
Jérôme

#1575 From: Jérôme Laheurte <fraca7@...>
Date: Sat Feb 4, 2012 8:46 am
Subject: thirdparty/flatnotebook.py
fraca7
Send Email Send Email
 
It's not used any more is it ?

Cheers
Jérôme

#1576 From: Frank Niessink <frank@...>
Date: Sat Feb 4, 2012 8:11 pm
Subject: Re: thirdparty/flatnotebook.py
fniessink
Send Email Send Email
 
2012/2/4 Jérôme Laheurte <fraca7@...>:
> It's not used any more is it ?

Yup. I just removed it.

Thanks, Frank

#1577 From: Jérôme Laheurte <fraca7@...>
Date: Sun Feb 12, 2012 8:44 am
Subject: Fwd: [Task Coach-commits] SF.net SVN: taskcoach:[5153] branches/Release1_3_Branch/taskcoach
fraca7
Send Email Send Email
 
This seems to bother the Debian and RPM builds:

http://www.fraca7.net:8010/builders/ubuntu10-rel/builds/563/steps/deb/logs/stdio

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

Objet : [Task Coach-commits] SF.net SVN: taskcoach:[5153] branches/Release1_3_Branch/taskcoach
Date : 11 février 2012 23:12:28 HNEC

Revision: 5153
         http://taskcoach.svn.sourceforge.net/taskcoach/?rev=5153&view=rev
Author:   fniessink
Date:     2012-02-11 22:12:27 +0000 (Sat, 11 Feb 2012)
Log Message:
-----------
Prevent crash when language is Norsk.

Modified Paths:
--------------
   branches/Release1_3_Branch/taskcoach/changes.in/changes.py
   branches/Release1_3_Branch/taskcoach/taskcoachlib/i18n/__init__.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 2012-02-10 22:46:59 UTC (rev 5152)
+++ branches/Release1_3_Branch/taskcoach/changes.in/changes.py 2012-02-11 22:12:27 UTC (rev 5153)
@@ -22,7 +22,7 @@

releases = [

-Release('1.3.8', 'February 10, 2012',
+Release('1.3.8', 'February 11, 2012',
    summary='''This is a mixed feature and bugfix release.''',
    featuresAdded=[
        Feature('''In task viewers, late tasks, due soon tasks, and over due
@@ -45,6 +45,10 @@
        Bug('''Don't change the selection when deleting or hiding items that
are not selected. When adding a new item, select it. When adding a new sub
item, also expand the parent item if necessary.''', '3484930'),
+        Bug('''When using the Norsk translation on Linux (both Nynorsk and
+Bokmal), Task Coach would crash when displaying a date picker control. This is
+a bug in the underlying wxWidgets toolkit. Worked around by using another
+locale for dates and times when the language is Norsk.''', '1820497'),
        ],
    ),


Modified: branches/Release1_3_Branch/taskcoach/taskcoachlib/i18n/__init__.py
===================================================================
--- branches/Release1_3_Branch/taskcoach/taskcoachlib/i18n/__init__.py 2012-02-10 22:46:59 UTC (rev 5152)
+++ branches/Release1_3_Branch/taskcoach/taskcoachlib/i18n/__init__.py 2012-02-11 22:12:27 UTC (rev 5153)
@@ -82,6 +82,19 @@
                self.__locale.AddCatalogLookupPathPrefix(localeDir)
                self.__locale.AddCatalog('wxstd')
                break
+        if '_NO' in locale.getlocale(locale.LC_TIME)[0]:
+            # nb_BO and ny_NO cause crashes in the wx.DatePicker. Set the
+            # time part of the locale to some other locale. Since we don't
+            # know which ones are available we try a few:
+            for lang in ['', 'en_GB.utf8', 'C']:
+                try:
+                    locale.setlocale(locale.LC_TIME, lang)
+                except locale.Error:
+                    continue
+                current_language = locale.getlocale(locale.LC_TIME)[0]
+                if current_language and '_NO' in current_language:
+                    continue
+                break

    def _localeStrings(self, language):
        ''' Extract language and language_country from language if possible. '''

Modified: branches/Release1_3_Branch/taskcoach/taskcoachlib/meta/data.py
===================================================================
--- branches/Release1_3_Branch/taskcoach/taskcoachlib/meta/data.py 2012-02-10 22:46:59 UTC (rev 5152)
+++ branches/Release1_3_Branch/taskcoach/taskcoachlib/meta/data.py 2012-02-11 22:12:27 UTC (rev 5153)
@@ -22,7 +22,7 @@

version = '1.3.8' # Current version number of the application
tskversion = 34 # Current version number of the task file format, changed to 34 for release 1.3.5.
-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 = 'February' # Month of the release in plain English
release_year = '2012' # 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.


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Taskcoach-commits mailing list
Taskcoach-commits@...
https://lists.sourceforge.net/lists/listinfo/taskcoach-commits




#1578 From: Frank Niessink <frank@...>
Date: Sun Feb 12, 2012 1:35 pm
Subject: Re: Fwd: [Task Coach-commits] SF.net SVN: taskcoach:[5153] branches/Release1_3_Branch/taskcoach
fniessink
Send Email Send Email
 
Ah, the locale is probably C so locale.getlocale(locale.LC_TIME) returns None. I'll fix it.

Thanks, Frank

2012/2/12 Jérôme Laheurte <fraca7@...>


This seems to bother the Debian and RPM builds:

http://www.fraca7.net:8010/builders/ubuntu10-rel/builds/563/steps/deb/logs/stdio

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

Objet : [Task Coach-commits] SF.net SVN: taskcoach:[5153] branches/Release1_3_Branch/taskcoach
Date : 11 février 2012 23:12:28 HNEC

Revision: 5153
         http://taskcoach.svn.sourceforge.net/taskcoach/?rev=5153&view=rev
Author:   fniessink
Date:     2012-02-11 22:12:27 +0000 (Sat, 11 Feb 2012)
Log Message:
-----------
Prevent crash when language is Norsk.

Modified Paths:
--------------
   branches/Release1_3_Branch/taskcoach/changes.in/changes.py
   branches/Release1_3_Branch/taskcoach/taskcoachlib/i18n/__init__.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 2012-02-10 22:46:59 UTC (rev 5152)
+++ branches/Release1_3_Branch/taskcoach/changes.in/changes.py 2012-02-11 22:12:27 UTC (rev 5153)
@@ -22,7 +22,7 @@

releases = [

-Release('1.3.8', 'February 10, 2012',
+Release('1.3.8', 'February 11, 2012',
    summary='''This is a mixed feature and bugfix release.''',
    featuresAdded=[
        Feature('''In task viewers, late tasks, due soon tasks, and over due
@@ -45,6 +45,10 @@
        Bug('''Don't change the selection when deleting or hiding items that
are not selected. When adding a new item, select it. When adding a new sub
item, also expand the parent item if necessary.''', '3484930'),
+        Bug('''When using the Norsk translation on Linux (both Nynorsk and
+Bokmal), Task Coach would crash when displaying a date picker control. This is
+a bug in the underlying wxWidgets toolkit. Worked around by using another
+locale for dates and times when the language is Norsk.''', '1820497'),
        ],
    ),


Modified: branches/Release1_3_Branch/taskcoach/taskcoachlib/i18n/__init__.py
===================================================================
--- branches/Release1_3_Branch/taskcoach/taskcoachlib/i18n/__init__.py 2012-02-10 22:46:59 UTC (rev 5152)
+++ branches/Release1_3_Branch/taskcoach/taskcoachlib/i18n/__init__.py 2012-02-11 22:12:27 UTC (rev 5153)
@@ -82,6 +82,19 @@
                self.__locale.AddCatalogLookupPathPrefix(localeDir)
                self.__locale.AddCatalog('wxstd')
                break
+        if '_NO' in locale.getlocale(locale.LC_TIME)[0]:
+            # nb_BO and ny_NO cause crashes in the wx.DatePicker. Set the
+            # time part of the locale to some other locale. Since we don't
+            # know which ones are available we try a few:
+            for lang in ['', 'en_GB.utf8', 'C']:
+                try:
+                    locale.setlocale(locale.LC_TIME, lang)
+                except locale.Error:
+                    continue
+                current_language = locale.getlocale(locale.LC_TIME)[0]
+                if current_language and '_NO' in current_language:
+                    continue
+                break

    def _localeStrings(self, language):
        ''' Extract language and language_country from language if possible. '''

Modified: branches/Release1_3_Branch/taskcoach/taskcoachlib/meta/data.py
===================================================================
--- branches/Release1_3_Branch/taskcoach/taskcoachlib/meta/data.py 2012-02-10 22:46:59 UTC (rev 5152)
+++ branches/Release1_3_Branch/taskcoach/taskcoachlib/meta/data.py 2012-02-11 22:12:27 UTC (rev 5153)
@@ -22,7 +22,7 @@

version = '1.3.8' # Current version number of the application
tskversion = 34 # Current version number of the task file format, changed to 34 for release 1.3.5.
-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 = 'February' # Month of the release in plain English
release_year = '2012' # 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.


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Taskcoach-commits mailing list
Taskcoach-commits@...
https://lists.sourceforge.net/lists/listinfo/taskcoach-commits







#1579 From: Jérôme Laheurte <fraca7@...>
Date: Sat Feb 25, 2012 8:26 am
Subject: Release
fraca7
Send Email Send Email
 
Frank, I see you tried to trigger a release build yesterday. The VMs were
automatically paused because the disk was full :( It should work again now.

Cheers
Jérôme

#1580 From: Frank Niessink <frank@...>
Date: Sat Feb 25, 2012 2:19 pm
Subject: Re: Release
fniessink
Send Email Send Email
 
Hi Jérôme,

2012/2/25 Jérôme Laheurte <fraca7@...>:
> Frank, I see you tried to trigger a release build yesterday. The VMs were
automatically paused because the disk was full :( It should work again now.

Thanks. I'll do a release today.

Cheers, Frank

#1581 From: Jérôme Laheurte <fraca7@...>
Date: Tue Feb 28, 2012 7:01 pm
Subject: Buildbot
fraca7
Send Email Send Email
 
The buildbot will be down for a few days. I must replace the disk and reinstall,
it's dying…

Cheers
Jérôme

#1582 From: Frank Niessink <frank@...>
Date: Tue Feb 28, 2012 7:24 pm
Subject: Re: Buildbot
fniessink
Send Email Send Email
 
2012/2/28 Jérôme Laheurte <fraca7@...>:
> The buildbot will be down for a few days. I must replace the disk and
reinstall, it's dying…

I've signed up for jenkinshosting.com. It's free for open source
projects and I know from experience that Hudson/Jenkins is a nice
tool. Unfortunately, I couldn't see from the homepage what kind of
slaves they support so I signed up to do some testing.

Cheers, Frank

#1583 From: Jérôme Laheurte <fraca7@...>
Date: Thu Mar 1, 2012 8:16 am
Subject: Re: Buildbot
fraca7
Send Email Send Email
 
Le 28 févr. 2012 à 20:24, Frank Niessink a écrit :

> 2012/2/28 Jérôme Laheurte <fraca7@...>:
>> The buildbot will be down for a few days. I must replace the disk and
reinstall, it's dying…
>
> I've signed up for jenkinshosting.com. It's free for open source
> projects and I know from experience that Hudson/Jenkins is a nice
> tool. Unfortunately, I couldn't see from the homepage what kind of
> slaves they support so I signed up to do some testing.

Interesting. Seems like they're running their own continuous integration
software. Isn't there any "public" view for projects that use this ? They don't
mention any open source project using them it seems.

Cheers
Jérôme

#1584 From: Frank Niessink <frank@...>
Date: Thu Mar 1, 2012 12:49 pm
Subject: Re: Buildbot
fniessink
Send Email Send Email
 
2012/3/1 Jérôme Laheurte <fraca7@...>:
>
> Interesting. Seems like they're running their own continuous integration
software. Isn't there any "public" view for projects that use this ? They don't
mention any open source project using them it seems.

The website is a bit low on information, indeed. I have only had an
automated email after my request for an account. No credentials
received yet...

Cheers, Frank

#1585 From: Jérôme Laheurte <fraca7@...>
Date: Mon Mar 5, 2012 6:22 am
Subject: Re: Buildbot
fraca7
Send Email Send Email
 

Le 1 mars 2012 à 13:49, Frank Niessink a écrit :

 

2012/3/1 Jérôme Laheurte <fraca7@...>:
>
> Interesting. Seems like they're running their own continuous integration software. Isn't there any "public" view for projects that use this ? They don't mention any open source project using them it seems.

The website is a bit low on information, indeed. I have only had an
automated email after my request for an account. No credentials
received yet…


Okay, it's up again (and backuped this time :) ). Last build failed on Debian because I forgot to install epydoc.

Cheers
Jérôme


#1586 From: Frank Niessink <frank@...>
Date: Mon Mar 12, 2012 10:30 pm
Subject: Help wanted
fniessink
Send Email Send Email
 
Hi all,

It's only March and Task Coach has already been downloaded over 250K
times. That's cool, but it also generates quite some bug reports,
questions, etc. We could really use some help with bug fixing,
development, user support, etc. Is there anyone here that has a few
hours of spare time (per week/month) to spend on this noble cause?

Thanks, Frank

#1587 From: Kirill Müller <mail@...>
Date: Wed Mar 21, 2012 8:26 am
Subject: .pyc files in repository
mail@...
Send Email Send Email
 
Hi,

when updating to the current tip of Task Coach (in branch
Release1_3_Branch), I got several conflicts due to .pyc files in
taskcoach/taskcoachlib/thirdparty/apscheduler/ . Is it really a good
idea to keep these files in the SVN?


Cheers

Kirill

#1588 From: Frank Niessink <frank@...>
Date: Wed Mar 21, 2012 8:50 am
Subject: Re: .pyc files in repository
fniessink
Send Email Send Email
 
2012/3/21 Kirill Müller <mail@...>:
> Hi,
>
> when updating to the current tip of Task Coach (in branch
> Release1_3_Branch), I got several conflicts due to .pyc files in
> taskcoach/taskcoachlib/thirdparty/apscheduler/ . Is it really a good
> idea to keep these files in the SVN?

They got included by accident. I removed them from subversion again so
I'm surprised you get a conflict. I'll check tonight.

Cheers, Frank

Messages 1559 - 1588 of 2248   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help