Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symbiose #3

Open
wants to merge 437 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
437 commits
Select commit Hold shift + click to select a range
db90d57
Update timeline.py
freedomsha Jan 20, 2024
4bf12c1
Update _weakrefset.py
freedomsha Jan 20, 2024
f314f9f
Update combotreebox.py
freedomsha Jan 20, 2024
44cd763
Update deltaTime.py
freedomsha Jan 20, 2024
afbd79e
Update guid.py
freedomsha Jan 20, 2024
ceb4ca6
Update smartdatetimectrl.py
freedomsha Jan 20, 2024
4e5d5f7
Update snarl.py
freedomsha Jan 20, 2024
747a8e2
Update anonymize.py
freedomsha Jan 21, 2024
9a987fd
Update openfile.py
freedomsha Jan 21, 2024
2f3b4a9
Update autowidth.py
freedomsha Jan 21, 2024
eaabf5b
Update balloontip.py
freedomsha Jan 21, 2024
13d5306
Update calendarconfig.py
freedomsha Jan 21, 2024
dc3c6fc
Update calendarwidget.py
freedomsha Jan 21, 2024
dc6ede2
Update checklistbox.py
freedomsha Jan 21, 2024
5207fe4
Update datectrl.py
freedomsha Jan 21, 2024
af2e8eb
Update dialog.py
freedomsha Jan 21, 2024
09312a2
Update dirchooser.py
freedomsha Jan 21, 2024
f4373fe
Update draganddrop.py
freedomsha Jan 21, 2024
ae185bc
Update fontpicker.py
freedomsha Jan 21, 2024
26b579d
Update frame.py
freedomsha Jan 21, 2024
0a96fd6
Update hcalendar.py
freedomsha Jan 21, 2024
843318b
Update hcalendar.py
freedomsha Jan 21, 2024
59a8e5d
Update hcalendarconfig.py
freedomsha Jan 21, 2024
5b0db0b
Update itemctrl.py
freedomsha Jan 21, 2024
c80663e
Update listctrl.py
freedomsha Jan 21, 2024
1a8ec4a
Update masked.py
freedomsha Jan 21, 2024
b621d79
Update notebook.py
freedomsha Jan 21, 2024
4ff461d
Update panel.py
freedomsha Jan 21, 2024
fed985d
Update password.py
freedomsha Jan 21, 2024
5d3d691
Update password.py
freedomsha Jan 21, 2024
d69a2e5
Update searchctrl.py
freedomsha Jan 21, 2024
26ed278
Update spinctrl.py
freedomsha Jan 21, 2024
9cec82f
Update squaremap.py
freedomsha Jan 21, 2024
1e7bf22
Update syncmlwarning.py
freedomsha Jan 21, 2024
84b26cd
Update textctrl.py
freedomsha Jan 21, 2024
e73818c
Update timeline.py
freedomsha Jan 21, 2024
ab01e6d
Update tooltip.py
freedomsha Jan 21, 2024
f2c8a11
Update treectrl.py
freedomsha Jan 21, 2024
da76379
Update wxevents.py
freedomsha Jan 21, 2024
0ebcdca
Update display.py
freedomsha Jan 21, 2024
85bafee
Update encodings.py
freedomsha Jan 21, 2024
0d2beed
Update font.py
freedomsha Jan 22, 2024
4ab7270
Update __init__.py
freedomsha Jan 22, 2024
a17a069
Update operating_system.py
freedomsha Jan 22, 2024
6e0cb4a
Update render.py
freedomsha Jan 22, 2024
3347587
Update make.py
freedomsha Jan 22, 2024
58c2238
Update LeakTest.py
freedomsha Jan 22, 2024
8308d23
Update LoadTest.py
freedomsha Jan 22, 2024
7560fa0
Update ModelAndViewerTest.py
freedomsha Jan 22, 2024
820dc73
Update PerformanceTest.py
freedomsha Jan 22, 2024
5251479
Update SaveTest.py
freedomsha Jan 22, 2024
bf2af02
Update mock.py
freedomsha Jan 22, 2024
1c32cc4
Update __init__.py
freedomsha Jan 23, 2024
92f10fd
Update TranslationIntegrityTest.py
freedomsha Jan 23, 2024
37c2b1d
Update __init__.py
freedomsha Jan 23, 2024
60f0201
Update ChangeHistoryTest.py
freedomsha Jan 23, 2024
546a5e1
Update DateTest.py
freedomsha Jan 23, 2024
5c578c1
Update DateTest.py
freedomsha Jan 23, 2024
8a43b94
Update EmptyFileTest.py
freedomsha Jan 23, 2024
18bda55
Update EmptyFileTest.py
freedomsha Jan 23, 2024
5897670
Update LineEndingsTest.py
freedomsha Jan 23, 2024
212ffb6
Update MSDownloadTest.py
freedomsha Jan 23, 2024
e95a6c2
Update ManifestTest.py
freedomsha Jan 23, 2024
d41edfa
Update ProtocolVersionTest.py
freedomsha Jan 23, 2024
349e270
Update AttachmentCommandsTest.py
freedomsha Jan 23, 2024
6ef7779
Update BaseCommandsTest.py
freedomsha Jan 23, 2024
2b955ae
Update CategorizableCommandsTest.py
freedomsha Jan 23, 2024
98cdd48
Update CategoryCommandsTest.py
freedomsha Jan 23, 2024
cb9d279
Update CommandTestCase.py
freedomsha Jan 23, 2024
b4cafc9
Update CutCopyPasteTest.py
freedomsha Jan 24, 2024
6e6b2fe
Update EffortCommandsTest.py
freedomsha Jan 24, 2024
debb44f
Update NoteCommandTest.py
freedomsha Jan 24, 2024
2280dd3
Update TaskCommandsTest.py
freedomsha Jan 24, 2024
5ea7779
Update __init__.py
freedomsha Jan 24, 2024
021a519
Update AttachmentTest.py
freedomsha Jan 25, 2024
cca0924
Update BaseTest.py
freedomsha Jan 25, 2024
93ceb72
Update CategoryTest.py
freedomsha Jan 25, 2024
fc4f2a8
Update EffortCompositePerPeriodTest.py
freedomsha Jan 25, 2024
9dfc974
Update NoteTest.py
freedomsha Jan 25, 2024
556f493
Update CategorizableTest.py
freedomsha Jan 25, 2024
5e2d1a0
Update CategoryFilterTest.py
freedomsha Jan 25, 2024
7a73183
Update DateTest.py
freedomsha Jan 25, 2024
d4dbd61
Update DomainObjectOwnerMetaclassTest.py
freedomsha Jan 25, 2024
f098fb6
Update EffortAggregatorTest.py
freedomsha Jan 25, 2024
c5be44d
Update EffortCompositeTest.py
freedomsha Jan 25, 2024
ba707a9
Update EffortTest.py
freedomsha Jan 25, 2024
d9fbc5b
Update FilterTest.py
freedomsha Jan 25, 2024
699ccb6
Update FontTest.py
freedomsha Jan 25, 2024
bbca277
Update OwnerTest.py
freedomsha Jan 25, 2024
0d305c8
Update RecurrenceTest.py
freedomsha Jan 25, 2024
48d5c87
Update TaskFilterTest.py
freedomsha Jan 25, 2024
7f2b30a
Update TaskRecurrenceTest.py
freedomsha Jan 25, 2024
16426ba
Update TaskRelationsTest.py
freedomsha Jan 25, 2024
8504a16
Update TaskTest.py
freedomsha Jan 25, 2024
64ffebc
Update TaskTest.py
freedomsha Jan 27, 2024
e1d5230
Update TimeDeltaTest.py
freedomsha Jan 27, 2024
2e2ae45
Update __init__.py
freedomsha Jan 27, 2024
550a465
Update AmountEntryTest.py
freedomsha Jan 27, 2024
49fd754
Update AttachmentEditorTest.py
freedomsha Jan 27, 2024
47a562c
Update AttachmentViewerTest.py
freedomsha Jan 27, 2024
6bb0938
Update CategoryEditorTest.py
freedomsha Jan 27, 2024
fd0d717
Update CategoryViewerTest.py
freedomsha Jan 27, 2024
a2bd601
Update DateTimeEntryTest.py
freedomsha Jan 27, 2024
fabedfa
Update DeveloperMessageDialogTest.py
freedomsha Jan 27, 2024
d6cb9e7
Update EditorTest.py
freedomsha Jan 27, 2024
0e2502a
Update EffortEditorTest.py
freedomsha Jan 27, 2024
7806f79
Update EffortViewerTest.py
freedomsha Jan 27, 2024
9c89d0a
Update ExportDialogTest.py
freedomsha Jan 27, 2024
145eae5
Update IOControllerTest.py
freedomsha Jan 27, 2024
319edd6
Update MainWindowTest.py
freedomsha Jan 27, 2024
f4cf5cb
Update MenuTest.py
freedomsha Jan 27, 2024
5f62ccf
Update NoteViewerTest.py
freedomsha Jan 27, 2024
3f2c10b
Update PreferencesTest.py
freedomsha Jan 27, 2024
af33107
Update PrinterTest.py
freedomsha Jan 27, 2024
2730459
Update ReminderControllerTest.py
freedomsha Jan 27, 2024
0e58500
Update ReminderDialogTest.py
freedomsha Jan 28, 2024
27da3b5
Update SplashScreenTest.py
freedomsha Jan 28, 2024
4609244
Update TaskBarIconTest.py
freedomsha Jan 28, 2024
c64fb59
Update TaskEditorTest.py
freedomsha Jan 28, 2024
64dd5cb
Update TaskViewerStatusMessagesTest.py
freedomsha Jan 28, 2024
60fd412
Update TaskViewerTest.py
freedomsha Jan 28, 2024
87bc3e6
Update TemplatesDialogTest.py
freedomsha Jan 28, 2024
29cb51e
Update ToolBarTest.py
freedomsha Jan 28, 2024
c1ac456
Update TreeViewerTest.py
freedomsha Jan 28, 2024
8a70ef6
Update UICommandTest.py
freedomsha Jan 28, 2024
5278ba1
Update UpdatePerSecondViewerTest.py
freedomsha Jan 28, 2024
48a17a8
Update VersionDialogTest.py
freedomsha Jan 28, 2024
15d05f8
Update ViewerContainerTest.py
freedomsha Jan 28, 2024
394bd1c
Update ViewerTest.py
freedomsha Jan 28, 2024
aec3512
Update DeveloperMessageCheckerTest.py
freedomsha Jan 28, 2024
04dae96
Update MetaDataTest.py
freedomsha Jan 28, 2024
69f40cc
Update VersionCheckerTest.py
freedomsha Jan 28, 2024
10d60a8
Update __init__.py
freedomsha Jan 28, 2024
42b9e7f
Update __init__.py
freedomsha Jan 28, 2024
6b6de06
Update MonitorBaseTest.py
freedomsha Jan 28, 2024
0f3c621
Update MonitorCategorizableTest.py
freedomsha Jan 28, 2024
1243619
Update CommandTest.py
freedomsha Jan 28, 2024
bfd4e7c
Update CompositeTest.py
freedomsha Jan 28, 2024
f673731
Update MetaClassTest.py
freedomsha Jan 28, 2024
089cebd
Update ObservableTest.py
freedomsha Jan 28, 2024
69982a7
Update SingletonTest.py
freedomsha Jan 28, 2024
d0572f8
Update AutoBackupTest.py
freedomsha Jan 28, 2024
a386855
Update AutoImporterExporterTest.py
freedomsha Jan 28, 2024
2ee214e
Update AutoBackupTest.py
freedomsha Jan 28, 2024
5576cd2
Update AutoSaverTest.py
freedomsha Jan 28, 2024
0786e6e
Update CSVReaderTest.py
freedomsha Jan 28, 2024
3bf6856
Update CSVWriterTest.py
freedomsha Jan 28, 2024
18926da
Update HTMLWriterTest.py
freedomsha Jan 28, 2024
06f3c4d
Update SyncMLTest.py
freedomsha Jan 28, 2024
9eb855b
Update TaskFileTest.py
freedomsha Jan 28, 2024
665965b
Update TemplateListTest.py
freedomsha Jan 28, 2024
e931a03
Update TemplateXMLReaderTest.py
freedomsha Jan 28, 2024
0ca3f1a
Update TemplateXMLWriterTest.py
freedomsha Jan 28, 2024
b440c40
Update TodoTxtReaderTest.py
freedomsha Jan 28, 2024
269d694
Update TodoTxtWriterTest.py
freedomsha Jan 28, 2024
726af1c
Update VCalendarReaderTest.py
freedomsha Jan 28, 2024
53498da
Update VCalendarWriterTest.py
freedomsha Jan 28, 2024
7e6fe02
Update XMLReaderTest.py
freedomsha Jan 29, 2024
82499b4
Update XMLReaderWriterIntegrationTest.py
freedomsha Jan 29, 2024
c5021ac
Update XMLWriterTest.py
freedomsha Jan 29, 2024
cc4a71d
Update LockFileTest.py
freedomsha Jan 29, 2024
37643c3
Update PubSubTest.py
freedomsha Jan 29, 2024
0275d52
Update wxPythonTest.py
freedomsha Jan 29, 2024
eccdfa2
Update DateTimeCtrlTest.py
freedomsha Jan 29, 2024
5601fca
Update DragAndDropTest.py
freedomsha Jan 29, 2024
ddd533c
Update ItemCtrlTest.py
freedomsha Jan 29, 2024
dd6938d
Update ListCtrlTest.py
freedomsha Jan 29, 2024
010c2cb
Update MaskedCtrlTest.py
freedomsha Jan 29, 2024
2a86dbf
Update SpinCtrlTest.py
freedomsha Jan 29, 2024
1d6fd85
Update TextCtrlTest.py
freedomsha Jan 29, 2024
c01c136
Update ToolTipTest.py
freedomsha Jan 29, 2024
22334f0
Update TreeCtrlTest.py
freedomsha Jan 29, 2024
f1a028d
Update TreeListCtrlTest.py
freedomsha Jan 29, 2024
9035641
Update WindowDimensionsTrackerTest.py
freedomsha Jan 29, 2024
80fb069
Update AppTest.py
freedomsha Jan 29, 2024
9e3f542
Update ConfigTest.py
freedomsha Jan 29, 2024
8d2fa67
Update MailerTest.py
freedomsha Jan 29, 2024
604e690
Update RenderTest.py
freedomsha Jan 29, 2024
61aa201
Update asserts.py
freedomsha Jan 29, 2024
be52992
Update dummy.py
freedomsha Jan 29, 2024
b60b886
Update test.py
freedomsha Jan 30, 2024
37b7daf
Update test.py
freedomsha Jan 30, 2024
8c8a1df
Update dot.py
freedomsha Jan 30, 2024
b8fd462
Update dot.py
freedomsha Jan 30, 2024
0845a9b
Update dot.py
freedomsha Jan 30, 2024
4aa725e
Update dot.py
freedomsha Jan 30, 2024
c20d796
Update generate_taskfile.py
freedomsha Jan 30, 2024
b845a41
Update latest.py
freedomsha Jan 30, 2024
81821ab
Update pygettext.py
freedomsha Jan 30, 2024
68d7cc7
Update randomtext.py
freedomsha Jan 30, 2024
11bce04
Update update_copyright_notices.py
freedomsha Jan 30, 2024
3a379a0
Update webchecker.py
freedomsha Jan 30, 2024
8395551
Create arguments
freedomsha Feb 25, 2024
cfd48a3
Delete taskcoach/taskcoachlib/config/arguments
freedomsha Feb 25, 2024
75cca7e
Create arguments.py
freedomsha Feb 25, 2024
536210c
Update cleanup.py
freedomsha Mar 23, 2024
8c14254
Update latest.py
freedomsha Mar 23, 2024
04cd1b2
Update tcbuild.py
freedomsha Mar 23, 2024
549ad4a
Update __init__.py
freedomsha Mar 23, 2024
3954f5d
Update clean.py
freedomsha Mar 24, 2024
8073bb3
Update changes.py
freedomsha Mar 24, 2024
9c01c53
Update changetypes.py
freedomsha Mar 24, 2024
092356b
Update converter.py
freedomsha Mar 24, 2024
7a03913
Update make.py
freedomsha Mar 24, 2024
f1328db
Update make.py
freedomsha Mar 24, 2024
bbb8a4d
Update iconmap.py
freedomsha Mar 24, 2024
c6b3fff
Update make.py
freedomsha Mar 24, 2024
ecc86d6
Update __init__.py
freedomsha Mar 24, 2024
f4c6276
Update application.py
freedomsha Mar 24, 2024
4c72da9
Update latest.py
freedomsha Mar 25, 2024
212cb20
Update application.py
freedomsha Mar 25, 2024
c3dd30e
Update __init__.py
freedomsha Mar 25, 2024
6bff7e8
Update monitor.py
freedomsha Mar 26, 2024
3c7a426
Update sync.py
freedomsha Mar 27, 2024
96005f4
Update __init__.py
freedomsha Mar 27, 2024
4f67a56
Update attachmentCommands.py
freedomsha Mar 27, 2024
4f341a7
Update base.py
freedomsha Mar 27, 2024
659f11c
Update categorizableCommands.py
freedomsha Mar 27, 2024
0c07949
Update categoryCommands.py
freedomsha Mar 27, 2024
df96f4f
Update clipboard.py
freedomsha Mar 27, 2024
79d04e5
Update effortCommands.py
freedomsha Mar 28, 2024
55491f8
Update noteCommands.py
freedomsha Mar 28, 2024
26c225d
Update taskCommands.py
freedomsha Mar 28, 2024
69ae5a1
Update __init__.py
freedomsha Mar 28, 2024
5e1bb08
Update arguments.py
freedomsha Mar 28, 2024
54d15a1
Update defaults.py
freedomsha Mar 29, 2024
b2840b3
Update options.py
freedomsha Mar 29, 2024
c80f9bd
Update settings.py
freedomsha Mar 29, 2024
72d0df9
Update attachment.py
freedomsha Mar 29, 2024
8286e85
Update attachmentlist.py
freedomsha Mar 29, 2024
3eb3688
Update attachmentowner.py
freedomsha Mar 29, 2024
cb2f25b
Update sorter.py
freedomsha Mar 29, 2024
d1e3790
Update mixer.py
freedomsha Mar 29, 2024
59a4c12
Update __init__.py
freedomsha Mar 31, 2024
d83c12f
Update arguments.py
freedomsha May 5, 2024
03666bd
Update taskcoach.py
freedomsha May 5, 2024
6e95ed8
Update fs_poller.py
freedomsha May 6, 2024
118bd42
Update Makefile
freedomsha May 29, 2024
313c4d7
try
freedomsha May 30, 2024
287e80c
New start with the working task-coach-ex (python3) version/branch.
freedomsha Jun 3, 2024
b59c4b2
getargspec become getfullargspec
freedomsha Jun 3, 2024
5298961
Merge remote-tracking branch 'origin/master'
freedomsha Jun 29, 2024
06d1298
I believe sre_constants is obsolete. re.error is sufficient.
freedomsha Jun 29, 2024
8569b53
NewId->NewIdRef
freedomsha Jul 1, 2024
79f1fa3
NewId->NewIdRef
freedomsha Jul 1, 2024
091481a
NewId->NewIdRef
freedomsha Jul 1, 2024
bb74822
Delete taskcoach/taskcoach directory
freedomsha Aug 22, 2024
05a4e2c
Update newid.py
freedomsha Sep 18, 2024
ad1a603
Update newid.py
freedomsha Sep 18, 2024
2608026
Update csvimport.py
freedomsha Nov 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update masked.py
  • Loading branch information
freedomsha authored Jan 21, 2024
commit 1a8ec4a3066af23f146647fc508141b7ed6a94ba
15 changes: 8 additions & 7 deletions taskcoach/taskcoachlib/widgets/masked.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'''
"""
Task Coach - Your friendly task manager
Copyright (C) 2004-2016 Task Coach developers <[email protected]>

@@ -14,9 +14,10 @@

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
'''
"""

from taskcoachlib import operating_system
from builtins import object
from .. import operating_system
from wx.lib import masked
import wx
import locale
@@ -66,10 +67,10 @@ def __init__(self, parent, value=0, locale_conventions=None):


class TimeDeltaCtrl(TextCtrl):
''' Masked edit control for entering or displaying time deltas of the
""" Masked edit control for entering or displaying time deltas of the
form <hour>:<minute>:<second>. Entering negative time deltas is not
allowed, displaying negative time deltas is allowed if the control
is read only. '''
is read only. """
def __init__(self, parent, hours, minutes, seconds, readonly=False,
negative_value=False, *args, **kwargs):
# If the control is read only (meaning it could potentially have to
@@ -93,8 +94,8 @@ def set_value(self, hours, minutes, seconds, negative_value=False):

@staticmethod
def __hour_string(hours, negative_value):
''' If the value is negative (e.g. over budget), place a minus sign
""" If the value is negative (e.g. over budget), place a minus sign
before the hours number and make sure the field has the appropriate
width. '''
width. """
return '%9s' % ('-' + '%d' % hours) if negative_value else \
'%9d' % hours