Sun, 25 Apr 2021 17:13:50 +0200
Removed support for outdated eric6 versions.
ChangeLog | file | annotate | diff | comparison | revisions | |
PluginTimeTracker.epj | file | annotate | diff | comparison | revisions | |
PluginTimeTracker.py | file | annotate | diff | comparison | revisions | |
TimeTracker/TimeTracker.py | file | annotate | diff | comparison | revisions |
--- a/ChangeLog Wed Dec 30 11:02:12 2020 +0100 +++ b/ChangeLog Sun Apr 25 17:13:50 2021 +0200 @@ -1,5 +1,8 @@ ChangeLog --------- +Version 4.0.0: +- removed support for outdated eric6 versions + Version 3.1.0: - changed exec_() into exec()
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PluginTimeTracker.epj Sun Apr 25 17:13:50 2021 +0200 @@ -0,0 +1,242 @@ +{ + "header": { + "comment": "eric project file for project PluginTimeTracker", + "copyright": "Copyright (C) 2021 Detlev Offenbach, detlev@die-offenbachs.de" + }, + "project": { + "AUTHOR": "Detlev Offenbach", + "CHECKERSPARMS": { + "Pep8Checker": { + "AnnotationsChecker": { + "MaximumComplexity": 3, + "MinimumCoverage": 75 + }, + "BlankLines": [ + 2, + 1 + ], + "BuiltinsChecker": { + "bytes": [ + "unicode" + ], + "chr": [ + "unichr" + ], + "str": [ + "unicode" + ] + }, + "CommentedCodeChecker": { + "Aggressive": false + }, + "CopyrightAuthor": "", + "CopyrightMinFileSize": 0, + "DocstringType": "eric", + "EnabledCheckerCategories": "C, D, E, M, N, S, W", + "ExcludeFiles": "*/Ui_*.py, */*_rc.py,", + "ExcludeMessages": "C101,E265,E266,E305,E402,M201,M811,N802,N803,N807,N808,N821,W293,W504", + "FixCodes": "", + "FixIssues": false, + "FutureChecker": "", + "HangClosing": false, + "IncludeMessages": "", + "LineComplexity": 20, + "LineComplexityScore": 10, + "MaxCodeComplexity": 10, + "MaxDocLineLength": 79, + "MaxLineLength": 79, + "NoFixCodes": "E501", + "RepeatMessages": true, + "SecurityChecker": { + "CheckTypedException": false, + "HardcodedTmpDirectories": [ + "/tmp", + "/var/tmp", + "/dev/shm", + "~/tmp" + ], + "InsecureHashes": [ + "md4", + "md5", + "sha", + "sha1" + ], + "InsecureSslProtocolVersions": [ + "PROTOCOL_SSLv2", + "SSLv2_METHOD", + "SSLv23_METHOD", + "PROTOCOL_SSLv3", + "PROTOCOL_TLSv1", + "SSLv3_METHOD", + "TLSv1_METHOD" + ], + "WeakKeySizeDsaHigh": "1024", + "WeakKeySizeDsaMedium": "2048", + "WeakKeySizeEcHigh": "160", + "WeakKeySizeEcMedium": "224", + "WeakKeySizeRsaHigh": "1024", + "WeakKeySizeRsaMedium": "2048" + }, + "ShowIgnored": false, + "ValidEncodings": "latin-1, utf-8" + } + }, + "DESCRIPTION": "Plugin implementing a simple time tracker to keep track of the time used for a project. The time can be subdivided into tasks.", + "DOCSTRING": "", + "DOCUMENTATIONPARMS": { + "ERIC4DOC": { + "cssFile": "%PYTHON%/eric6/CSSs/default.css", + "ignoreDirectories": [ + ".eric5project", + ".hg", + ".ropeproject", + ".eric6project" + ], + "ignoreFilePatterns": [ + "Ui_*.py" + ], + "outputDirectory": "TimeTracker/Documentation/source", + "qtHelpEnabled": false, + "useRecursion": true + } + }, + "EMAIL": "detlev@die-offenbachs.de", + "EOL": 1, + "FILETYPES": { + "*.idl": "INTERFACES", + "*.py": "SOURCES", + "*.py3": "SOURCES", + "*.pyw": "SOURCES", + "*.pyw3": "SOURCES", + "*.qm": "TRANSLATIONS", + "*.qrc": "RESOURCES", + "*.ts": "TRANSLATIONS", + "*.ui": "FORMS", + "*.ui.h": "FORMS", + "Ui_*.py": "__IGNORE__" + }, + "FORMS": [ + "TimeTracker/ConfigurationPage/TimeTrackerPage.ui", + "TimeTracker/TimeTrackerEntryDialog.ui", + "TimeTracker/TimeTrackerWidget.ui" + ], + "HASH": "9af6dcaf8f823f072f714e662c15d44dfdecceab", + "IDLPARAMS": { + "DefinedNames": [], + "IncludeDirs": [], + "UndefinedNames": [] + }, + "INTERFACES": [], + "LEXERASSOCS": {}, + "MAINSCRIPT": "PluginTimeTracker.py", + "MAKEPARAMS": { + "MakeEnabled": false, + "MakeExecutable": "", + "MakeFile": "", + "MakeParameters": "", + "MakeTarget": "", + "MakeTestOnly": true + }, + "MIXEDLANGUAGE": false, + "OTHERS": [ + ".hgignore", + "ChangeLog", + "PKGLIST", + "PluginTimeTracker.e4p", + "PluginTimeTracker.zip", + "TimeTracker/Documentation/LICENSE.GPL3", + "TimeTracker/Documentation/source", + "TimeTracker/icons/clock-dark.svg", + "TimeTracker/icons/clock-light.svg", + "PluginTimeTracker.epj" + ], + "OTHERTOOLSPARMS": {}, + "PACKAGERSPARMS": {}, + "PROGLANGUAGE": "Python3", + "PROJECTTYPE": "E6Plugin", + "PROJECTTYPESPECIFICDATA": {}, + "PROTOCOLS": [], + "RCCPARAMS": { + "CompressLevel": 0, + "CompressionDisable": false, + "CompressionThreshold": 70, + "PathPrefix": "" + }, + "RESOURCES": [], + "SOURCES": [ + "PluginTimeTracker.py", + "TimeTracker/ConfigurationPage/TimeTrackerPage.py", + "TimeTracker/ConfigurationPage/__init__.py", + "TimeTracker/TimeTrackEntry.py", + "TimeTracker/TimeTracker.py", + "TimeTracker/TimeTrackerEntryDialog.py", + "TimeTracker/TimeTrackerWidget.py", + "TimeTracker/__init__.py", + "__init__.py" + ], + "SPELLEXCLUDES": "", + "SPELLLANGUAGE": "en", + "SPELLWORDS": "", + "TRANSLATIONEXCEPTIONS": [], + "TRANSLATIONPATTERN": "TimeTracker/i18n/timetracker_%language%.ts", + "TRANSLATIONS": [ + "TimeTracker/i18n/timetracker_de.qm", + "TimeTracker/i18n/timetracker_de.ts", + "TimeTracker/i18n/timetracker_en.qm", + "TimeTracker/i18n/timetracker_en.ts", + "TimeTracker/i18n/timetracker_es.qm", + "TimeTracker/i18n/timetracker_es.ts", + "TimeTracker/i18n/timetracker_pt.qm", + "TimeTracker/i18n/timetracker_pt.ts", + "TimeTracker/i18n/timetracker_ru.qm", + "TimeTracker/i18n/timetracker_ru.ts" + ], + "TRANSLATIONSBINPATH": "", + "UICPARAMS": { + "Package": "", + "PackagesRoot": "", + "RcSuffix": "" + }, + "VCS": "Mercurial", + "VCSOPTIONS": { + "add": [ + "" + ], + "checkout": [ + "" + ], + "commit": [ + "" + ], + "diff": [ + "" + ], + "export": [ + "" + ], + "global": [ + "" + ], + "history": [ + "" + ], + "log": [ + "" + ], + "remove": [ + "" + ], + "status": [ + "" + ], + "tag": [ + "" + ], + "update": [ + "" + ] + }, + "VCSOTHERDATA": {}, + "VERSION": "2.x" + } +} \ No newline at end of file
--- a/PluginTimeTracker.py Wed Dec 30 11:02:12 2020 +0100 +++ b/PluginTimeTracker.py Sun Apr 25 17:13:50 2021 +0200 @@ -22,7 +22,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "3.1.0" +version = "4.0.0" className = "TimeTrackerPlugin" packageName = "TimeTracker" shortDescription = "Time Tracker to keep track of the project time."
--- a/TimeTracker/TimeTracker.py Wed Dec 30 11:02:12 2020 +0100 +++ b/TimeTracker/TimeTracker.py Sun Apr 25 17:13:50 2021 +0200 @@ -475,11 +475,7 @@ """ Private slot to handle the activation of the project browser. """ - try: - uiLayoutType = self.__ui.getLayoutType() - except AttributeError: - # backward compatibility for eric < 18.08 - uiLayoutType = self.__ui.layoutType + uiLayoutType = self.__ui.getLayoutType() if uiLayoutType == "Toolboxes": self.__ui.hToolboxDock.show()