pax_global_header 0000666 0000000 0000000 00000000064 14526461771 0014527 g ustar 00root root 0000000 0000000 52 comment=198ebe2a4163129b0cb7e773c257ed48cafa73a4
hamster-3.0.3/ 0000775 0000000 0000000 00000000000 14526461771 0013175 5 ustar 00root root 0000000 0000000 hamster-3.0.3/.editorconfig 0000664 0000000 0000000 00000000754 14526461771 0015660 0 ustar 00root root 0000000 0000000 # EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py}]
charset = utf-8
# 4 space indentation
[*.py]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
# help pages
[*.page]
indent_style = space
indent_size = 4
hamster-3.0.3/.flake8 0000664 0000000 0000000 00000004363 14526461771 0014356 0 ustar 00root root 0000000 0000000 [flake8]
exclude=wscript,waf,waflib
builtins=_
# This just ignores everything that currently fails. Over time, most of these
# should probably be fixed in the code and removed here.
extend-ignore =
E117, # over-indented
E122, # continuation line missing indentation or outdented
E124, # closing bracket does not match visual indentation
E125, # continuation line with same indent as next logical line
E127, # continuation line over-indented for visual indent
E128, # continuation line under-indented for visual indent
E129, # visually indented line with same indent as next logical line
E131, # continuation line unaligned for hanging indent
E202, # whitespace before ')'
E203, # whitespace before ':'
E211, # whitespace before '('
E221, # multiple spaces before operator
E222, # multiple spaces after operator
E225, # missing whitespace around operator
E227, # missing whitespace around bitwise or shift operator
E231, # missing whitespace after ':'
E251, # unexpected spaces around keyword / parameter equals
E261, # at least two spaces before inline comment
E262, # inline comment should start with '# '
E265, # block comment should start with '# '
E271, # multiple spaces after keyword
E272, # multiple spaces before keyword
E301, # expected 1 blank line, found 0
E302, # expected 2 blank lines, found 1
E303, # too many blank lines (2)
E305, # expected 2 blank lines after class or function definition, found 1
E306, # expected 1 blank line before a nested definition, found 0
E401, # multiple imports on one line
E402, # module level import not at top of file
E501, # line too long
E502, # the backslash is redundant between brackets
E701, # multiple statements on one line (colon)
E703, # statement ends with a semicolon
E711, # comparison to None should be 'if cond is not None:'
E712, # comparison to False should be 'if cond is False:' or 'if not cond:'
E722, # do not use bare 'except'
E731, # do not assign a lambda expression, use a def
F401, # 'xxx' imported but unused
F811, # redefinition of unused 'xxx' from line 32
F841, # local variable 'xxx' is assigned to but never used
W605, # invalid escape sequence
hamster-3.0.3/.github/ 0000775 0000000 0000000 00000000000 14526461771 0014535 5 ustar 00root root 0000000 0000000 hamster-3.0.3/.github/workflows/ 0000775 0000000 0000000 00000000000 14526461771 0016572 5 ustar 00root root 0000000 0000000 hamster-3.0.3/.github/workflows/artifact-links.yml 0000664 0000000 0000000 00000002656 14526461771 0022241 0 ustar 00root root 0000000 0000000 # This adds a comment to a PR with a link to any build artifacts. Because build
# artifacts are not available until a workflow is completed, this is done in a
# second workflow that triggers on completion of the workflow that builds the
# artifacts.
name: Linking to artifacts in PR
on:
workflow_run:
workflows: ["Testing"]
types: [completed]
jobs:
artifacts-url-comments:
name: Add artifact links to PRs
runs-on: ubuntu-20.04
if: ${{ github.event.workflow_run.event == 'pull_request' }}
steps:
# This uses a third-party action that handles figuring out the
# pull request to comment on (which is no longer easily available
# in a followup workflow) and formatting the comment.
- name: Add artifact links to PR and issues
uses: tonyhallett/artifacts-url-comments@v1.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
prefix: "Automatically generated build artifacts for commit ${{ github.event.workflow_run.head_sha }} (note: these links will expire after some time):\n"
format: " - {name}: [:arrow_double_down: Download]({url})"
# This adds a hline to terminate the artifact list, just
# newlines should work, but it seems they are eaten
# somewhere...
suffix: "---\n\nTo test this PR, download and unzip the flatpak application above and then install with:\n\n flatpak install Hamster.flatpak\n"
hamster-3.0.3/.github/workflows/testing.yml 0000664 0000000 0000000 00000011272 14526461771 0020775 0 ustar 00root root 0000000 0000000 name: Testing
on: [push, pull_request]
jobs:
test:
# This runs the test suite. Since we need some system dependencies
# (e.g. pygobject) that cannot easily be installed inside a
# virtualenv using pip (that requires installing a dozen -dev
# packages and building parts of pygobject from source, which makes
# things way too complicated), this just runs with the Ubuntu system
# python (e.g. not using the standard setup-python action, which
# sets up a virtualenv).
name: Run test suite
strategy:
# Complete all combinations, even if one fails
fail-fast: false
matrix:
include:
# This tests uses the oldest Ubuntu and its oldest Python
# version, to get as close to our minimum required version as
# possible. This does mean that we will not catch changes to
# the code that unintentionally reaise the required python
# version, but there's no easy way to run an older python
# version (without having to install all or dependencies from
# source) it seems.
- os: ubuntu-20.04
python-version: 3.8
# On the latest ubuntu, just test the default 3.x version.
- os: ubuntu-latest
python-version: 3
runs-on: ${{matrix.os}}
steps:
- name: Prepare repo
uses: actions/checkout@v2
- name: Install system packages
run: |
PACKAGES=""
# Install a specific python version as configured
PACKAGES="$PACKAGES python${{matrix.python-version}}"
# Normal dependencies
PACKAGES="$PACKAGES gettext intltool python3-gi python3-cairo python3-gi-cairo python3-distutils python3-dbus python3-xdg libglib2.0-dev libglib2.0-bin gir1.2-gtk-3.0 gtk-update-icon-cache"
# For dbus-launch
PACKAGES="$PACKAGES dbus-x11"
sudo apt-get update
sudo apt-get install ${PACKAGES}
- name: Install hamster
# This serves two purposes:
# 1) Verify build and install still works and
# 2) install the needed stuff (e.g. gsettings schemas) to allow
# running the tests
run: |
./waf configure build
sudo ./waf install
- name: Run tests
run: |
dbus-launch python${{ matrix.python-version }} -m unittest
flake8:
name: Run code linting and checks
runs-on: ubuntu-20.04
steps:
- name: Prepare repo
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Install flake8
run: |
pip install flake8
- name: Run flake8
run: |
flake8 --count --show-source --statistics
flatpak:
# This job builds Hamster for flatpak, and runs its tests
# inside the sandbox.
name: Test the flatpak build
runs-on: ubuntu-20.04
steps:
- name: Prepare repo
uses: actions/checkout@v2
# Fetch history, so we also fetch the previous tag for deriving
# the version number
with:
fetch-depth: 0
- name: Install system packages
# It would be good to cache the GNOME Sdk, as it
# is rather big to download each time.
env:
DEBIAN_FRONTEND: noninteractive
run: |
PACKAGES="flatpak flatpak-builder dbus-x11"
sudo apt-get update
sudo apt-get install -yq ${PACKAGES}
- name: Install GNOME SDK for flatpak
run: |
flatpak remote-add --user --if-not-exists --from flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user -y flathub org.gnome.Platform//45 org.gnome.Sdk//45
- name: Build application
run: |
flatpak-builder --repo=build/flatpak/repo build/flatpak/tmp org.gnome.Hamster.yml
- name: Run tests inside sandbox
run: |
dbus-launch flatpak-builder --run build/flatpak/tmp org.gnome.Hamster.yml python3 -m unittest
- name: Export bundle and try to install it
run: |
mkdir -p dist
# Note: For pull requests, this version includes the git hash
# of the autogenerated *merge* commit, not the original
# to-be-merged commit (because that's also what is tested).
VERSION=$(python src/hamster/version.py)
flatpak build-bundle --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo build/flatpak/repo "dist/Hamster-$VERSION.flatpak" org.gnome.Hamster
flatpak --user -y install "dist/Hamster-$VERSION.flatpak"
- name: Upload built artifact
uses: actions/upload-artifact@v2
with:
name: Flatpak application
path: dist/*.flatpak
hamster-3.0.3/.gitignore 0000664 0000000 0000000 00000000541 14526461771 0015165 0 ustar 00root root 0000000 0000000 # backups (eg. glade)
*~
*.pyc
autom4te.cache/
m4/
config.*
Makefile
Makefile.in
aclocal.m4
configure
depcomp
install-sh
intltool-extract.in
intltool-merge.in
intltool-update.in
libtool
ltmain.sh
messages
missing
mkinstalldirs
py-compile
stamp-h1
autom4te.cache
m4
gnome-doc-utils.make
hamster-time-tracker-*.tar.gz
.lock-wscript
.lock-waf*
build
*.deb
hamster-3.0.3/AUTHORS 0000664 0000000 0000000 00000000216 14526461771 0014244 0 ustar 00root root 0000000 0000000 Read the copylefts in files. Mainly it's code by Toms Bauģis and Patryk
Zawadzki, but we also had some good contributions from other people.
hamster-3.0.3/COPYING 0000664 0000000 0000000 00000077250 14526461771 0014243 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
hamster-3.0.3/MAINTAINERS 0000664 0000000 0000000 00000000167 14526461771 0014676 0 ustar 00root root 0000000 0000000 Whole projecthamster maintainer:
Eric Goller
E-mail: projecthamster.20.elbenfreund@spamgourmet.org
Userid: elbenfreund
hamster-3.0.3/NEWS.md 0000664 0000000 0000000 00000110641 14526461771 0014276 0 ustar 00root root 0000000 0000000 ## Changes in 3.0.3 (2023-11-19)
After a long hiatus and slow development, finally a hamster release
again! This version contains some usability fixes and makes hamster run
on newer systems.
Starting with this release, the hamster project also provides flatpak
builds of all releases (and also of git development versions). This is
now the recommended way of installing hamster, if your distribution does
not provide (up-to-date) packages.
One notable change is the parsing of the hamster cmdline (the
"activity@category, description, #tag, #other tag" string when you enter
or edit an activity as a single string), which is a bit simplified, but
no longer accepts everything it did before.
In particular:
* Remove the need for using a double comma to start the description,
a single comma can be used instead. Using double commas is still
allowed for compatibility. This does mean that a comma can no longer
be used in the activity or category.
* The tags part must now be separated by a comma (previously, tags
could be appended directly to the activity, category or description.
This allows using # inside activity, category and description
(without needing a double comma to force a possibly empty tags part
at the end). For compatibility, the tags part can also be separated
by a double comma.
* Simple #hashwords are now extracted from the description as
additional tags automatically (they can't start with numbers and
can't contain spaces, but those can still be written in the "tags
part" after a comma). This allows writing more natural descriptions
with embedded tags, like Coding, fix #bugs in #hamster.
* Limitations on the fields are more consistent. All fields can now
contain any character, except:
* The activity cannot contain @, since that would start the category.
* The activity and category cannot contain ,, since that would start
the description.
* The description cannot start with # or contain the tag separator
(one or two commas followed by optional whitespace followed by
a hash, e.g. , #), since this would start the tags part.
* Tags in the tag part cannot contain a # or , (since that would
look like the start of the next tag).
* Tags in the description part must start with a letter (upper or
lowercase a-z) and cannot contain whitespace.
Additional changes are:
* A number changes to the overview screen:
- Add daily total rows. (PR 596)
- Remove lines previously shown for days without activity. (PR 650)
- Refactor the range selection dropdown, preventing a problem where it would
not be shown on systems using Wayland and some other systems. (issue 639,
645, PR 647)
- Do not periodically scroll to the top, only when displaying a new
set of facts.(issue 594, PR 648)
- Fix overlapping texts with wide fonts (issue 698, PR 699)
* On Wayland, fix the popup below the tag field when editing activities
and the time field in the preferences window. (PR 652)
* Fix exception when calling the dbus UpdateJSON method with a string
argument (issue 671, PR 672).
* Fix the start date picker in the update/add activity window. (issue
590, PR 674)
* Allow resuming last activity with ctrl-space (issue 595, PR 678)
* Added croation translation (PR 709)
* Fix running on Python 3.11 by removing call to deprecated
`bind_textdomain_codeset` gettext function (issue 715, PR 715)
* Fix running on Python 3.12 by updating the waf build system to 2.0.26
(PR 732)
* Improve HTML export:
- Preserve newlines and special characters (PR 704)
- Make checkboxes work (PR 665)
* Updated and improved flatpak packagaging (issue 123, 456, PR 321, 111, 333,
610, 685)
* Rework handling of tags in the cmdline, see below for details (issue
334, 657, PR 663)
* Stop using pyxdg, GLib could already give the same information about
XDG directories (PR 727)
* Minor updates to documentation (but far from complete for now)
## Changes in 3.0.2 (2020-05-19)
* Switch from deprecated xml2po to itstool for translating help files
(issue 583).
* Fix off-by-one-day error in CSV exports (issue 576).
* Support Python3.5 again, this was >= 3.6 (issue 582).
## Changes in 3.0.1 (2020-03-01)
* Fixed a rare crash in hamster-window-server (issue 571).
## Changes in 3.0 (2020-02-24)
* Fixed dialogs placement (PR 549):
- dialogs appear above their parent (the overview, if opened).
- the window manager/compositer chooses the dialog position.
* Fixed gnome window/application association (issue 242)
* Fixed numpad Enter now works in the GUI cmdline (PR 540).
* Fixed popups position in wayland (issue 339)
* Fixed permissions in the source tree.
* Fixed "Unsorted": no category (PR 502).
* Fixed removal of tags from autocomplete (issue 238)
* Fixed hamster-cli windows calls (PR 480)
* Fixed font sizes on high DPI screens (PR 426)
* Fixed installation process (PR 421)
- Updated waf to 2.0.17.
No longer need python2.
- Default to --prefix=/usr.
- Removed binary footer, to ease debian packaging (PR 569)
* Fixed category color and tags spillout (PR 414)
* Fixed multiline description height (PR 412)
* Fixed adding overlapping activity (PR 410)
* Fixed update activity window to be resizable (PR 403)
* Fixed database file monitoring (PR 401).
* Fixed dark theme colors (PR 391).
* Fixed hamster-service failure when there is no hamster.db (issue 394).
* New options for packagers (PR 565)
* New 'version' or 'Version' command/methods available (PR 528).
* New Gui is a Gtk.Application (PR 516)
* New `*JSON` dbus methods to pass facts verbatim (PR 514).
* New hamster.lib.datetime, customized replacement for python datetime (PR 510).
* New `CheckFact` and `check_fact` methods available (PR 500).
Check a fact validity, with detailed error messages.
* New AddFact accepts -1 as start or end, to mean explicit None (PR 492).
* Moved Fact to new fact.py
* Changed basenames from hamster to org.gnome.Hamster.GUI (issue 547)
- metainfo.xml (PR 558)
- hamster.png icons (PR 542)
* Changed i18n from from intltools to pure gettext (PR 497).
* Changed from GConf to GSettings (PR 470)
* Changed directory names from hamster-time-tracker to hamster (PR 485).
* Changed parser:
- Use Fact.parse()
- Accept activity starting with hash '#' (issue ?)
- Accept comma in activity (issue ?)
- Breaking (sorry, really needed):
Description delimiter is a double comma ',,' instead of a single comma.
- Comma is forbidden in category (instead of silently swallowed)
- Same parser for terminal, gui and D-Bus interface.
Range is still searched at tail (terminal) or head position (gui, D-Bus).
- Fact.range start/end are always datetimes
any time given without date is attributed to a default hamster day.
The default hamster day is usually today.
In the gui, the default day is the day selected in the timeline.
- start/end can be entered as +mmm or -mmm (<1-3 digits>),
relative to a reference. The reference is usually now.
- The fact duration can be given as mmm (<1-3 digits>, no sign),
instead of the end.
- hour/minutes separator can be colon, comma, dot, e.g. 9.30.
No separator is allowed, but only with 4 digits: hhmm.
* Changed install bash completion to /usr/share (PR 417)
* Changed preselect time instead of activity (PR 415)
* Removed trophies code (PR 408)
* Used GLib.MainLoop instead of GObject.MainLoop (PR 404)
* Added stop tracking button to header bar (PR 427)
* Brought back the help system (PR 393).
* Improved Add/Update activity window
- fixed description input (PR 430)
* Improved consistency in date/time handling (PR 429) by
- switching to ISO date format (%Y-%m-%d) in `lib/*`
to be consistent with hamster-cli usage
- rounding (i.e. truncating) all activity start/end timestamps
to the minute
** note that this only affects new and/or edited activities in the database
* Improved keyboard handling:
- Ctrl+Space to stop tracking.
- Left/Right arrows change date.
- Resume: start now a clone of the selected activity.
Ctrl-+: clone or fallback to new if none selected.
(same as pressing the + button)
Ctrl-R: only Resume (clone) an existing fact.
Ctrl-N: only new.
- Up, down, Home, End, Page-Up, Page-Down, Return
work straight from the overview (no need to click).
- More info on PR 387.
* Removed non-working stuff that will be developed elsewhere (issue 493):
external, idle, ...
## Changes in 2.2.2
* Restore python3 < 3.6 compatibility.
* Remove a PangoCairo warning.
## Changes in 2.2.1
* Activity can contain decimal numbers.
* Add total duration to the `hamster list` output.
* Base Fact comparison on main attributes.
* Small improvements to suggestions.
* A selected fact can be resumed (start now a clone)
by pressing the `+` button.
* Facts can be deselected by mouse click.
* Still ongoing activities are shown,
even if they started on a previous day.
* Several export (reports) fixes.
* Fact.delta (duration of the fact, as a timedelta)
is a read-only property.
* Tag list keeps the input order.
* Better format of the stats area.
Thanks to all contributors (either code or feedback) !
More information by looking for milestone:2.2 or by
cloning and using the following command:
gitk v2.1.1...v2.2.1
## Changes in 2.1.1
Migration to python3
and minor usability fixes
More details by cloning and using the following command:
gitk --no-merges v2.0-rc1...v2.1.1
## Changes in 2.0
This release marks the transition to Gtk3, and includes all the other
feature additions and bugfixes that have been submitted since then and
are too countless to list here. Thanks to all the contributors!
Please check README.md for the current dependencies.
## Changes in 1.04
This version just packs all the contributed bugfixes of last 12 month (there
were just a few)
* bugfixes around talking to the notifications daemon
* updating tags list in prefs wasn't doing anything
* in some cases activity updates were failing when tags where provided
## Changes in 1.03.3
* fix exporting entries to file
## Changes in 1.03.2
* fix bug when trying to enter an activity with tags (mea culpa)
## Changes in 1.03.1
* fix silly bug with path
## Changes in 1.03
* fix issue 61 - installation was missing initial database for fresh installs
* loosen backend dependencies so that hamster.client can be used outside the
project see http://pypi.python.org/pypi/hamster-sqlite/ for details
* desktop notification now once again correctly notifies of "No activity"
* updated Bulgarian translation
## Changes in 1.02.1
* Drop gnome-keybindings as a dependency - not used anymore
## Changes in 1.02
This is the first release targetting GNOME v3+. The applet has been removed
and recommended hamster remote is the shell extension, available on
extensions.gnome.org (also ).
* Project Hamster has detached from Gnome and thus we are resetting the
versioning. The program name also has changed from hamster-applet to
a more generic hamster-time-tracker
* Improvements in the command line. hamster-cli has been renamed to
simply "hamster" and without parameters launches the day view. Run
"hamster --help" to get help on available commands. The executable also
supports tab-completion to suggest actions as well as to look up activities
and categories
* desktop notifications are back
* the notification tray interaction has been slightly improved (click to toggle)
* ~20 bug fixes https://github.com/projecthamster/hamster/issues?state=closed
## Changes in 2.91.2
* experimental trophy support (to try out need to install the achievement
service from https://github.com/tbaugis/gnome-achievements)
* improvements in HTML reports
Updated translations:
* ar (Khaled Hosny)
* bq (Damyan Ivanov)
* ca (Gil Forcada)
* ca@valencia (Gil Forcada)
* cs (Adrian Guniš)
* da (Kenneth Nielsen)
* de (Christian Kirbach)
* el (Michael Kotsarinis)
* en_GB (Bruce Cowan)
* es (Jorge González)
* et (Ivar Smolin)
* fr (Bruno Brouard)
* gl (Fran Dieguez)
* he (Yaron Shahrabani)
* hu (Gabor Kelemen)
* it (Milo Casagrande)
* ja (Takayuki KUSANO)
* ko (Changwoo Ryu)
* lt (Žygimantas Beručka)
* pl (Piotr Drąg)
* pt_BR (Og Maciel)
* pt (Duarte Loreto)
* sl (Andrej Žnidaršič)
* sr (Милош Поповић)
## Changes in 2.31.90
* maintaining selection on refresh in a more sane manner
* self-monitor the database not only for updates but also for remove/create
(solves problems with some synchronization tools)
* documentation updates
* fixed the global hotkey. require gnome-keybindings (gnome-control-center-dev)
package as the hotkey is part of expected functionality
Updated translations:
* es (Jorge González)
* nb (Kjartan Maraas)
* ro (Lucian Adrian Grijincu)
## Changes in 2.31.6
* the top graph in overview is now interactive and allows zooming in and out
* sqlite utf-8 case sensitivity workarounds for queries
* hamster's docky helper installed together with hamster
* using full text search in the overview window now
* hopefully activity trees now behave better on refresh
Updated translations:
* de (Mario Blättermann)
* es (Jorge González)
* sl (Matej Urbančič)
* ta (Dr.T.Vasudevan)
* zh_CN (Tao Wang)
* gl (Fran Diéguez)
* he (Yaron Shahrabani)
* zh_TW (Cheng-Chia Tseng)
* zh_HK (Cheng-Chia Tseng)
* nb (Kjartan Maraas)
## Changes in 2.31.5
* adjustments for custom widgets to better work with themes
* if dialog windows are called from commandline, make sure they shut down
properly
Update translation
* ee (Ivar Smolin)
* es (Jorge González)
* fr (Jean-Philippe Fleury)
* gl (Fran Diéguez)
Updated documentation translations
* zh_CN (TeliuTe)
## Changes in 2.31.4
* overview gets a menu, drops toolbars and now supports date range browsing
* adjustments to starts and ends graph in statistics (should be more accurate)
* performance updates in graphics
* html report was looking in the wrong place for the template
Updated translations
* es (Jorge González)
* et (Ivar Smolin)
* gl (Fran Diéguez)
* he (Yaron Shahrabani)
* lv (Anita Reitere)
* nb (Kjartan Maraas)
## Changes in 2.31.3.2
* respecting SYSCONFDIR environment variable to determine where to store
gconf schema (bug 620965)
## Changes in 2.31.3.1
* including generated help pages in the tarball so that they appear in
library.gnome.org
## Changes in 2.31.3
* dropped in-house global hotkey management in favour to Gnome's global
hotkeys
* HTML report template now can be overridden from $HOME folder. instructions
can be found in the report footer
* remembering path of last saved report
* moved build system from autotools to waf
Updated translations
* cs (Adrian Guniš)
* es (Jorge González)
* et (Ivar Smolin)
* gl (Fran Diéguez)
* he (Yair Hershkovitz)
* nb (Kjartan Maraas)
* sl (Matej Urbančič)
* zh_CN (Ray Wang)
## Changes in 2.31.2
* optional integration with gtg (via preferences)
* all kinds of bugfixes
Updated translations
* ee (Ivar Smolin)
* en@shaw (Thomas Thurman)
* es (Jorge González)
## Changes in 2.31.1.2
* hamster-service had not been packed in the tarball
## Changes in 2.31.1.1
* forgot to pull in translations
## Changes in 2.31.1
* application has been split up in back-end d-bus daemon and clients
* edit activity preview widget got some love
* minor bugfixes from 2.30 release
Updated translations
* es (Jorge González)
* sl (Matej Urbančič)
* gl (Fran Diéguez)
## Changes in 2.30.0
Updated translations
* ca (Gil Forcada)
* da (Kenneth Nielsen)
* et (Mattias Põldaru)
* eu (Iñaki Larrañaga Murgoitio)
* fi (Tommi Vainikainen)
* hu (Gabor Kelemen)
* lt (Gintautas Miliauskas)
* lv (Toms Bauģis)
* pa (A S Alam)
* pt (Duarte Loreto)
* ru (Alexander Saprykin)
* sv (Daniel Nylander)
* uk (Maxim Dziumanenko)
Updated documentation translations
* el (Marios Zindilis)
* fr (Claude Paroz)
* zh_HK (Chao-Hsiung Liao)
* zh_TW (Chao-Hsiung Liao)
## Changes in 2.29.92
Bug fixes
* depend on gnome-python-desktop to fulfill wnck-python dependency
* minor bug with screen refresh after deletion
Updated translations
* bg (Alexander Shopov)
* de (Mario Blättermann)
* el (Kostas Papadimas)
* en_GB (Bruce Cowan)
* es (Jorge González)
* it (Milo Casagrande)
* nb (Kjartan Maraas)
* pl (Piotr Drąg)
Updated documentation translations
* en (Bruce Cowan, Milo Casagrande)
* es (Jorge González)
## Changes in 2.29.91
* bug fixes - avoiding blank entries, not reusing fact ids; other details
Updated translations
* bg (Alexander Shopov)
* cs (Adrian Guniš)
* de (Mario Blättermann)
* et (Ivar Smolin)
* fr (Bernard Opic)
* gl (Fran Diéguez)
* pt_BR (Rodrigo Flores)
* ro (Lucian Adrian Grijincu)
* ta (Dr,T,Vasudevan)
* zh_HK (Chao-Hsiung Liao)
* zh_TW (Chao-Hsiung Liao)
Updated documentation translations
* cs (Adrian Guniš)
* de (Christian Kirbach)
## Changes in 2.29.90
Updated translations
* bn (Israt Jahan)
* es (Jorge González)
* sl (Matej Urbančič)
* zh_CN (Ray Wang)
Updated documentation translations
* es (Jorge González)
## Changes in 2.29.6
* workspace tracking - switch activity, when switching desktops
(Ludwig Ortmann, Toms Baugis, Patryk Zawadzki)
* chart improvements - theme friendly and less noisier
* for those without GNOME panel there is now a standalone version, accessible
via Applications -> Accessories -> Time Tracker
* overview window remembers position
* maintaining cursor on the selected row after edits / refreshes
(unimportant, but very convenient)
* descriptions once again in the main input field, delimited by comma
* activity suggestion box now sorts items by recency (Patryk Zawadzki)
Updated translations
* es (Jorge González)
* eu (Iñaki Larrañaga Murgoitio)
* nb (Kjartan Maraas)
* sv (Daniel Nylander)
* zh_CN (Tao Wei)
## Changes in 2.29.5
* searching
* simplified save report dialog, thanks to the what you see is what you report
revamp
* overview/stats replaced with activities / totals and stats accessible from
totals
* interactive graphs to drill down in totals
* miscellaneous performance improvements
* pixel-perfect graphs
Updated translations
* es (Jorge González)
* et (Ivar Smolin)
* sl (Matej Urbančič)
* sv (Daniel Nylander)
* uk (Maxim V. Dziumanenko)
## Changes in 2.29.4
* overview window overhaul(still in progress)
* more progress on tag front (now showing in lists)
Updated translations
* es (Jorge González)
* et (Ivar Smolin)
* he (Yair Hershkovitz)
* sl (Matej Urbančič)
* zh_CN (Funda Wang)
## Changes in 2.29.3
* partial tag support (adding to a fact and editing autocomplete list,
no reports yet)
* fixed glitches when editing ongoing task
* improved save report dialog
* better autocomplete for the entries
Updated translations
* en@shaw (Thomas Thurman)
* es (Jorge González)
* et (Ivar Smolin)
* sl (Matej Urbančič)
* zh_CN (Ray Wang)
## Changes in 2.29.2
* fixed bug 599343 - the charts are now back again (for those who had lost them)
* hamster midnight is now a preference
* when in panel, printing uncaugt errors to .xsession-errors
* when looking for ongoing task, don't look into the future
(causes some mad durations and is generally impractical)
* new dbus method getCurrentActivity that returns just the name and category
* fixed problems with hamster interfering with screensaver hibernation code
* database MOVED to the xdg home (~/.local)
* in reports inlude also activities without category
* set start time to the end of the last activity if adding previous activity
for today
* fixes to the dropdown in compiz (not spanning over virtual desktops anymore)
* in dropdown added end time and dropped the stripes (too much noise already)
Updated translations:
* ca (Gil Forcada)
* en_GB (Bruce Cowan)
* es (Jorge González)
* et (Mattias Põldaru)
* it (Milo Casagrande)
* pl (Tomasz Dominikowski)
* ro (Mișu Moldovan)
* sl (Matej Urbančič)
* sv (Daniel Nylander)
* ta (Dr.T.Vasudevan )
* zh_CN (Ray Wang)
## Changes in 2.28.0
Updated translations:
* as (Amitakhya Phukan)
* bg (Alexander Shopov)
* bn_IN (Runa Bhattacharjee)
* da (Ask Hjorth Larsen)
* de (Hendrik Richter)
* en_GB (Bruce Cowan)
* fi (Tommi Vainikainen)
* gl (Antón Méixome)
* gu (Ankit Patel)
* hi (Rajesh Ranjan)
* hu (Gabor Kelemen)
* it (Milo Casagrande)
* ja (Takeshi AIHANA)
* kn (Shankar Prasad)
* ko (Changwoo Ryu)
* lt (Gintautas Miliauskas)
* lv (Pēteris Caune)
* mai (Sangeeta Kumari)
* ml (പ്രവീണ് അരിമ്പ്രത്തൊടിയില്)
* mr (Sandeep Shedmake)
* or (Manoj Kumar Giri)
* pa (A S Alam)
* pl (Tomasz Dominikowski)
* sl (Matej Urbančič)
* sr (Горан Ракић)
* ta (I. Felix)
* te (Krishna Babu K)
* uk (Maxim Dziumanenko)
* zh_HK (Chao-Hsiung Liao)
## Changes in 2.27.92
Updated translations:
* ar (Khaled Hosny)
* be (Alexander Nyakhaychyk)
* bg (Alexander Shopov)
* bn (Maruf Ovee)
* bn_IN (Runa Bhattacharjee)
* cs (Adrian Guniš)
* en_GB (Philip Withnall)
* es (Jorge González)
* et (Mattias Põldaru)
* eu (Iñaki Larrañaga Murgoitio)
* fi (Tommi Vainikainen)
* fr (Claude Paroz)
* gl (Antón Méixome)
* gu (Sweta Kothari)
* kn (Shankar Prasad)
* nb (Kjartan Maraas)
* or (Manoj Kumar Giri)
* pl (Tomasz Dominikowski)
* pt (Duarte Loreto)
* pt_BR (Fábio Nogueira)
* sv (Daniel Nylander)
* ta (I. Felix)
* te (Krishna Babu K)
* zh_HK (Chao-Hsiung Liao)
## Changes in 2.27.90
* Fixes to idle detection (now works with gnome screensaver 2.27+)
* return of the day view
* UI layout fixes to match HIG
* now it is possible to add more than one applet to panel without crashing
Updated translations:
* ee (Ivar Smolin)
* gl (Antón Méixome)
* es (Jorge González)
* hu (Gabor Kelemen)
* zh_HK (Chao-Hsiung Liao)
* sv (Daniel Nylander)
## Changes in 2.27.5
* Better autocomplete
* More skeptic on parsing time
* Legend in overview is sized proportionally to screen size,
allowing larger labels
Updated translations:
* be (Alexander Nyakhaychyk)
* es (Jorge González)
* pa (Amanpreet Singh Alam)
## Changes in 2.27.4
* Now it is possible to copy/paste activities in the overview
* mostly polishing and bug fixing the new stuff brought in in 2.27 cycle
Updated translations:
* bn_IN (Runa Bhattacharjee)
* es (Jorge González)
* et (Ivar Smolin)
* fr (Claude Paroz)
* sv (Daniel Nylander)
* uk (Maxim V. Dziumanenko)
## Changes in 2.27.3
* A much better DBUS support (Felix Ontanon)
* Switch days at 5am because humans tend to work late. Overlapping activities
fall in day where the largest part of it is (Patryk Zawadski)
* Now you can enter negatives minutes to start an activity in past.
Example "-30 cookies" will start activity "cookies" 30 minutes before now
* TSV, XML and iCal export
* Ability to filter task by date and category
* Overview has been improved by adding some nifty statistics for your pleasure
Updated translations:
* ta.po (Dr.T.Vasudevan)
## Changes in 2.27.2
* Now a reminder is displayed every configured amount of time also when no
activity is being tracked. (Can be disabled in preferences)
* Allow to switch to same task if description differs
* Activity edit icon in dropdown is now keyboard accessible
* Start time and end time can be specified when typing in task.
Example: 00:04 Hamster
* slightly smarter autocomplete with category suggestions when after @ symbol
* fixes to edit activity dialog's end time field
Updated translations:
* el.po (Jennie Petoumenou)
* et.po (Ivar Smolin)
* ta.po (Dr.T.vasudevan)
* uk.po (Maxim V. Dziumanenko)
* ca@valencia.po (Gil Forcada/Miquel Esplà)
## Changes in 2.27.1
* Overview window graphs have been redone and now are less noisy
* Tasks now can span over midnight, showing correct per-day totals in overview
* Add earlier activity / edit activity has been overhauled and now is much
easier to use. An experimental preview has been added
* In preferences UI buttons have been added for editing and deletion
* Glade files have been migrated to gtkbuilder format
* now it is possible to start overview and other windows straight from command
line using "-s [stats|edit|prefs]" switch
Updated translations:
* ca.po (David Planella)
* cs.po (Petr Kovář)
* da.po (Ask Hjorth Larsen)
* de.po (Hendrik Richter)
* el.po (Kostas Papadimas)
* en_GB.po (Philip Withnall)
* et.po (Ivar Smolin)
* fi.po (Ilkka Tuohela)
* fr.po (Claude Paroz)
* gl.po (Ignacio Casal Quinteiro)
* he.po (Yair Hershkovitz)
* kn.po (Shankar Prasad)
* lt.po (Gintautas Miliauskas)
* lv.po (Toms Bauģis)
* nl.po (Wouter Bolsterlee)
* or.po (Manoj Kuamr Giri)
* pl.po (Łukasz Jernaś)
* pt_BR.po (Vladimir Melo)
* ro.po (Mișu Moldovan)
* ru.po (Nickolay V. Shmyrev)
* si.po (Danishka Navin)
* sl.po (Matej Urban)
* sv.po (Daniel Nylander)
* tr.po (Baris Cicek)
* zh_CN.po (Aron Xu)
## Changes in 2.25.3
We were late for 2.25.1 and 2.25.2, so here we go - changes since 2.24.0!
Applet - changes
* Now it is possible to add description after activity, delimiting with
comma: "watering flowers, begonias" will add activity "watering flowers"
with description "begonias". Likewise you can go for cacti, and
forgetmenots
* Task category can be seen in dropdown and can be specified on fly to
autocreate: working@new project - will create category "new project"
and add activity "working" to it
* Hamster now can remind of itself every once in a while, interval is set
in preferences (George Logiotatidis)
* Sending dbus signals on activity change (Juanje Croissier)
Applet - love
* Applet now again can be found in applet list by searching for 'hamster'
* Get instant totals per category for today, in applet dropdown
* Improvements in report - somewhat nicer look and there are also totals
(Giorgos Logiotatidis)
* Use vertical space if we have some on panel and show applet in two lines
Updated translations
* bg.po (Alexander Shopov)
* el (Nick Agianniotis)
* he (Yair Hershkovitz)
* ku (Erdal Ronahi)
* lv (Toms Bauģis)
* sv (Daniel Nylander)
* zh_CN (Ray Wang)
## Changes in 2.24.0
Applet
* some more strings available for translation, but the main changes are
the updated translations
Updated translations
* ar (Djihed Afifi)
* bg (Alexander Shopov)
* bn_IN (Runa Bhattacharjee)
* ca (Gil Forcada)
* cs (Petr Kovar)
* da (Ask Hjorth Larsen)
* de (Hendrik Richter)
* el (Nikos Charonitakis)
* en_GB (Philip Withnall)
* es (Jorge González)
* et (Ivar Smolin)
* eu (Iñaki Larrañaga Murgoitio)
* fi (Timo Jyrinki)
* fr (Claude Paroz)
* gl (Ignacio Casal Quinteiro)
* gu (Sweta Kothari)
* he (Yair Hershkovitz)
* hi (Rajesh Ranjan)
* hu (Gabor Kelemen)
* it (Milo Casagrande)
* kn (Shankar Prasad)
* ko (Changwoo Ryu)
* lt (Gintautas Miliauskas)
* lv (Toms Baugis)
* mk (Jovan Naumovski)
* ml (പ്രവീണ് അരിമ്പ്രത്തൊടിയില് )
* mr (Sandeep Shedmake)
* nb (Kjartan Maraas)
* nl (Wouter Bolsterlee)
* pa (Amanpreet Singh Alam)
* pl (Tomasz Dominikowski)
* pt (Duarte Loreto)
* pt_BR (Vladimir Melo)
* ru (Alexandre Prokoudine)
* sl (Matej Urbančič)
* sq (Laurent Dhima)
* sr (Горан Ракић)
* sr@latin (Goran Rakić)
* sv (Daniel Nylander)
* ta (Kannan Subramanian)
* th (Theppitak Karoonboonyanan)
* tr (Baris Cicek)
* zh_HK (Chao-Hsiung Liao)
* zh_TW (Chao-Hsiung Liao)
## Changes in 2.23.92
Applet
* fixed code so that it works also with Python 2.4
* Fixed bug with tasks falling into unsorted category (bug 548914)
* Fixed error when switching tasks with doubleclick
Translations
* ar (Anas Afif Emad)
* bg (Alexander Shopov)
* bn_IN (Runa Bhattacharjee)
* ca (Gil Forcada)
* cs (Adrian Guniš)
* de (Matthias Mailänder)
* en_GB (Philip Withnall)
* es (Juanje Ojeda Croissier)
* et (Ivar Smolin)
* eu (Iñaki Larrañaga Murgoitio)
* fi (Timo Jyrinki)
* fr (Claude Paroz)
* gl (Ignacio Casal Quinteiro)
* gu (Sweta Kothari)
* he (Yair Hershkovitz)
* it (Stefano Pedretti)
* lt (Gintautas Miliauskas)
* lv (Toms Baugis)
* mk (Jovan Naumovski)
* mr (Sandeep Shedmake)
* nb (Kjartan Maraas)
* nl (Wouter Bolsterlee)
* pl (Tomasz Dominikowski)
* pt (Duarte Loreto)
* pt_BR (Vladimir Melo)
* ru (Sasha Shveik)
* sl (Matej Urbančič)
* sv (Daniel Nylander)
* zh_HK (Chao-Hsiung Liao)
* zh_TW (Chao-Hsiung Liao)
## Changes in 2.23.91
Applet
* When adding earlier activity in current day, set default end time to now
* In overview start week with monday/sunday depending on locale (bug 548102)
* Respect theme colors for graph labels
(bug 548840) patch by CJ van den Berg
* Fixed fail on exit when there is no last activity
Translations
* ar (Anas Afif Emad)
* ca (Gil Forcada)
* de (Matthias Mailänder)
* es (Juanje Ojeda Croissier)
* et (Ivar Smolin)
* fi (Timo Jyrinki)
* fr (Claude Paroz)
* gl (Ignacio Casal Quinteiro)
* gu (Sweta Kothari)
* he (Yair Hershkovitz)
* it (Stefano Pedretti)
* lv (Toms Baugis)
* mk (Jovan Naumovski)
* mr (Sandeep Shedmake)
* nb (Kjartan Maraas)
* nl (Wouter Bolsterlee)
* pl (Tomasz Dominikowski)
* pt (Duarte Loreto)
* pt_BR (Vladimir Melo)
* ru (Sasha Shveik)
* sv (Daniel Nylander)
* zh_HK (Chao-Hsiung Liao)
* zh_TW (Chao-Hsiung Liao)
## Changes in 2.23.90
Applet
* Changing name from "Hamster" to "Time Tracker"
* Information on when computer becomes idle is now determined from
screensaver
* Fixes to focusing issues when calling applet with hotkey
Translations
* de (Matthias Mailänder)
* es (Juanje Ojeda Croissier)
* et (Ivar Smolin)
* fr (Stéphane Raimbault)
* gl (Ignacio Casal Quinteiro)
* he (Yair Hershkovitz)
* it (Stefano Pedretti)
* lv (Toms Baugis)
* nb (Kjartan Maraas)
* nl (Wouter Bolsterlee)
* pt (Duarte Loreto)
* ru (Sasha Shveik)
* sv (Daniel Nylander)
## Changes in 2.23.6
Applet
* Follow GNOME version scheme
* Properly integrate with Keyboard Shortcuts in gnome-control-center
Translations
* de (Matthias Mailänder)
* es (Juanje Ojeda Croissier)
* fr (Stéphane Raimbault)
* it (Stefano Pedretti)
* lv (Toms Baugis)
* nl (Wouter Bolsterlee)
* ru (Sasha Shveik)
* sv (Kalle Persson)
## Changes in 0.6.2
Applet
* Fixed the header info and updated the Spanish translations
* Updated the Dutch translation by Wouter Bolsterlee (544975)
* Disable keybindings if not supported by g-c-c
* Properly integrate with GNOME's keyboard binding dialog
* Fixed problems with simple report
* Now you can edit facts in overview by double clicking
* Updated French translation (Stephane Raimbaul)
* Put icons back in overview window
* Stock buttons for add / update fact
* Fixed potential popup window positioning issue
Translations
* de (Matthias Mailänder)
* es (Juanje Ojeda Croissier)
* fr (Stéphane Raimbault)
* it (Stefano Pedretti)
* lv (Toms Baugis)
* nl (Wouter Bolsterlee)
* ru (Sasha Shveik)
* sv (Kalle Persson)
## Changes in 0.6.1
Applet
* Do not eat up middle-click
* Fixed fact pushing on overlap
* Correct orientation on vertical applets
Translations
* de (Matthias Mailänder)
* es (Juanje Ojeda Croissier)
* fr (Pierre-Luc Beaudoin)
* it (Stefano Pedretti)
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.6
Applet
* Simple reporting via Overview dialog
Translations
* de (Matthias Mailänder)
* es (Juanje Ojeda Croissier)
* fr (Pierre-Luc Beaudoin)
* it (Stefano Pedretti)
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.5
Applet
* Preferences are now editable via user interface
* Added option to stop tracking on shutdown
* Current activity is now showing up in totals
Translations
* es (Juanje Ojeda Croissier)
* it (Stefano Pedretti)
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.4.1
Applet
* Fixed lintian warnings, mentioned in bug 531965. Also, got rid of rest of them :)
* Fixed rules as per bug 532711. Patch by Juanje Ojeda.
Translations
* es (Juanje Ojeda Croissier)
* it (Stefano Pedretti)
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.4.1
Miscellanous
* Fixed usage of spanish and italian translations
Translations
* es (Juanje Ojeda Croissier)
* it (Stefano Pedretti)
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.4
Applet
* Fact editing!
Translations
* es (Juanje Ojeda Croissier)
* it (Stefano Pedretti)
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.3
Applet
* Many small fixes to activity editing window (setting, focus, F2 for
renames and others you would expect)
Translations
* es (Juanje Ojeda Croissier)
* it (Stefano Pedretti)
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.2
Applet
* change days on midnight also when there is no current activity
* option to stop tracking after certain minutes of idle
* simplified versioning to three numbers
Translations
* es (Juanje Ojeda Croissier)
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.7.5
Applet
* Fixed midnight crasher
Translations
* es (Juanje Ojeda Croissier)
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.7.4
Applet
* Fixed licensing issues
Debian
* Packaging is back to per arch
Translations
* es (Juanje Ojeda Croissier)
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.7.3
Applet
* In stats the top caption shows what can be actually seen
(day / week / month) - geekout
* remove hamster killname, since it breaks x86_64
* switching tasks on doubleclick in applet main window
* some more thinking on accidental facts (forth and back to previous task
within minute)
* graphs now have fixed offset from left, long labels get ellipsized
Debian
* attempt to package with arch = all
Translations
* es (Juanje Ojeda Croissier)
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.7.2
Applet
* Fixed focus issues with global hotkeys
Translations
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.7.1
Applet
* Fixed regression with keys ignored in applet window
Translations
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.7
Applet
* Fixed applet vertical sizing issues
* Showing Evolution's active TODO's in activity lists
* Drop down window now doesn't have double shadow on top of it
* Fixed bug with situation, when activities get moved to newly created
category
Translations
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.6.2
Applet
* Stop at 12 different activities a day, 12th being total of others
* Give more space to activity stats
* Put back resize to both sizes, since we are now ellipsizing
Translations
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.6.1
Applet
* Kind of fixed problem with gconf schema not appearing
Translations
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.6
Applet
* Enhanced drag and drop behaviour in edit activities window
* Added labels, tooltips, spacings, and other flags to enhance experience
Translations
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.5.5
Applet
* Fixed pysqlite dependency
* Fixed area chart color
Translations
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.5.4
Applet
* Hamster now has a process name for killall, which enables us to
kill it on install!
Translations
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.5.3
Applet
* Fixed antialiasing problems in bar chart
Translations
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.5.2
Applet
* Minor changes and slight adjustments to Swedish translation
Translations
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.5.1
Applet
* Fixed window icons
Translations
* lv (Toms Baugis)
* sv (Kalle Persson)
## Changes in 0.1.5
Applet
* Initial release
hamster-3.0.3/README.md 0000664 0000000 0000000 00000023226 14526461771 0014461 0 ustar 00root root 0000000 0000000 # Hamster - The Gnome Time Tracker
Hamster is time tracking for individuals. It helps you to keep track of how
much time you have spent during the day on activities you choose to track.
This is the main repo. It is standalone (single module).
All other repositories -`hamster-lib/dbus/cli/gtk`- are part of the separate rewrite effort.
More context is given in the history section below.
Some additional information is available in the
[wiki](https://github.com/projecthamster/hamster/wiki).
## Installation
### Backup database
This legacy hamster should be stable, and keep database compatibility with previous versions.
It should be possible to try a new version and smoothly roll back to the previous version if preferred.
Nevertheless, things can always go wrong. It is strongly advised to backup the database before any version change !
##### Locate the latest db
```bash
ls --reverse -clt ~/.local/share/hamster*/*.db
```
Backup the last file in the list.
### Kill hamster daemons
When trying a different version, make sure to kill the running daemons:
```bash
# either step-by-step, totally safe
pkill -f hamster-service
pkill -f hamster-windows-service
# check (should be empty)
pgrep -af hamster
# or be bold and kill them all at once:
pkill -ef hamster
```
### Install from packages
##### Debian and Ubuntu
Package status Debian: https://tracker.debian.org/pkg/hamster-time-tracker
Package status Ubuntu: https://launchpad.net/ubuntu/+source/hamster-time-tracker
Installation:
```sudo apt install hamster-time-tracker```
(or graphical package installer).
##### OpenSUSE
https://software.opensuse.org/package/hamster-time-tracker
##### Fedora and EPEL
Package status: https://src.fedoraproject.org/rpms/hamster-time-tracker
As of November 2023, hamster has only been packaged up to fc30 (with hamster version 2.0).
Installation (on releases with existing package):
```sudo dnf install hamster-time-tracker```
(or graphical package installer).
For more recent releases, refer to compilation from sources above.
##### Snap
Easy installation on any distribution supporting snap:
https://snapcraft.io/hamster-snap
##### Flatpak
[Flatpak](https://flatpak.org/) enables you to install Hamster in a versioned
environment and then run it inside a sandbox. It is a method independent from
your distribution-specific packaging system, ensuring that the application can
always be reproducibly built, even without hunting down all of the dependencies
yourself. Debugging is made easier as every user has the exact same environment
at runtime. Permissions are limited to what the application really needs to
function properly.
You can install the Hamster Flatpak from [Flathub](https://flathub.org/apps/details/org.gnome.Hamster) via:
```bash
flatpak install flathub org.gnome.Hamster
```
If you would like to install Hamster only for your user, simply pass the
`--user` option to the above command.
To invoke Hamster from the command line, use:
```bash
flatpak run org.gnome.Hamster [args...]
```
### Install from sources
#### Dependencies
Hamster needs python 3.6 or newer (not included in below install
commands). Older versions are not supported.
##### Debian-based
###### Ubuntu (tested in 19.04 and 18.04)
```bash
sudo apt install gettext intltool python3-gi python3-cairo python3-gi-cairo python3-distutils python3-dbus libglib2.0-dev libglib2.0-bin gir1.2-gtk-3.0 gtk-update-icon-cache
# and for documentation
sudo apt install itstool yelp
```
##### openSUSE
Leap-15.0 and Leap-15.1:
```bash
sudo zypper install intltool python3-cairo python3-gobject-Gdk
sudo zypper install itstool yelp
```
##### Fedora
```bash
sudo dnf install gettext intltool python3-pyxdg python3-cairo python3-gobject
sudo dnf install python3-dbus itstool yelp
```
##### Help reader
If the hamster help pages are not accessible ("unable to open `help:hamster-time-tracker`"),
then a [Mallard](https://en.wikipedia.org/wiki/Mallard_(documentation))-capable help reader is required,
such as [yelp](https://wiki.gnome.org/Apps/Yelp/).
#### Download source
##### Git clone
If familiar with github, just clone the repo and `cd` into it.
##### Download
Otherwise, to get the `master` development branch (intended to be quite stable):
```bash
wget https://github.com/projecthamster/hamster/archive/master.zip
unzip master.zip
cd hamster-master
```
or a specific [release](https://github.com/projecthamster/hamster/releases):
```bash
# replace 2.2.2 by the release version
wget https://github.com/projecthamster/hamster/archive/v2.2.2.zip
unzip v2.2.2.zip
cd hamster-2.2.2
```
#### Build and install
```bash
./waf configure build
# thanks to the parentheses the umask of your shell will not be changed
( umask 0022 && sudo ./waf install; )
```
The `umask 0022` is safe for all, but important for users with more restrictive umask,
as discussed [here](https://github.com/projecthamster/hamster/pull/421#issuecomment-520167143).
Now restart your panels/docks and you should be able to add Hamster!
##### Flatpak
Alternatively, you can also build a sandboxed
[flatpak](https://www.flatpak.org/) yourself. You might need to install the
GNOME SDK beforehand (an error will notify you about it, if needed). Execute:
```bash
flatpak-builder --force-clean --user --install \
build/flatpak org.gnome.Hamster.yml
```
This creates a temporary flatpack build folder in the ``build/flatpak``
directory. Once the app is installed, the whole ``build/flatpack/`` directory
can be removed.
#### Uninstall
To undo the last install, just
```bash
sudo ./waf uninstall
```
Afterwards `find /usr -iname hamster` should only list unrelated files (if any).
Otherwise, please see the [wiki section](https://github.com/projecthamster/hamster/wiki/Tips-and-Tricks#uninstall)
##### Flatpak
To remove the installed flatpak, just run:
```bash
flatpak uninstall org.gnome.Hamster
```
#### Troubleshooting
[wiki section](https://github.com/projecthamster/hamster/wiki/Tips-and-Tricks#troubleshooting)
#### Development
During development (As explained above, backup `hamster.db` first !),
if only python files are changed
(*deeper changes such as the migration to gsettings require a new install*)
the changes can be quickly tested by
```
# either
pgrep -af hamster
# and kill them one by one
# or be bold and kill all processes with "hamster" in their command line
pkill -ef hamster
python3 src/hamster-service.py &
python3 src/hamster-cli.py
```
Advantage: running uninstalled is detected, and windows are *not* called via
D-Bus, so that all the traces are visible.
Note: You'll need recent version of hamster installed on your system (or
[this workaround](https://github.com/projecthamster/hamster/issues/552#issuecomment-585166000)).
#### Running tests
Hamster has a limited test suite, that can be run using Python's builtin
unittest module. From the top-level directory, just run:
python3 -m unittest
This will let unittest automatically find all testcases in all files
called `test_*.py`, and runs them.
To run a subset of tests, specify the import path towards it. For
example, to run just a single test file, class or method respectively
run:
python3 -m unittest tests.test_stuff
python3 -m unittest tests.test_stuff.TestFactParsing
python3 -m unittest tests.test_stuff.TestFactParsing.test_plain_name
##### Flatpak
To run the tests inside the flatpak, use:
```bash
flatpak-builder --run build/flatpak org.gnome.Hamster.yml \
python3 -m unittest
```
#### Migrating
##### Migrating data to flatpak
If you would like to retain your data from a non-flatpak installation,
you can do so by running:
```bash
gio copy -b \
~/.local/share/hamster/hamster.db \
~/.var/app/org.gnome.Hamster/data/hamster/
```
After checking everything works, you can remove the original database.
##### Migrating from hamster-applet
Previously Hamster was installed everywhere under `hamster-applet`. As
the applet is long gone, the paths and file names have changed to
`hamster`. To clean up previous installs follow these steps:
```bash
git checkout d140d45f105d4ca07d4e33bcec1fae30143959fe
./waf configure build --prefix=/usr
sudo ./waf uninstall
```
## Contributing
1. [Fork](https://github.com/projecthamster/hamster/fork) this project
2. Create a topic branch - `git checkout -b my_branch`
3. Push to your branch - `git push origin my_branch`
4. Submit a [Pull Request](https://github.com/projecthamster/hamster/pulls) with your branch
5. That's it!
See [How to contribute](https://github.com/projecthamster/hamster/wiki/How-to-contribute) for more information.
## History
During the period 2015-2017 there was a major effort to
[rewrite hamster](https://github.com/projecthamster/hamster-gtk)
(repositories: `hamster-lib/dbus/cli/gtk`).
Unfortunately, after considerable initial progress the work has remained in alpha state
for some time now. Hopefully the effort will be renewed in the future.
In the meantime, this sub-project aims to pursue development of the "legacy" Hamster
code base, maintaining database compatibility with the widely installed
[v1.04](https://github.com/projecthamster/hamster/releases/tag/hamster-time-tracker-1.04),
but migrating to `Gtk3` and `python3`.
This will allow package maintainers to provide
new packages for recent releases of mainstream Linux distributions for which the old
1.04-based versions are no longer provided.
With respect to 1.04, some of the GUI ease of use has been lost, especially for handling
tags, and the stats display is minimal now. So if you are happy with your hamster
application and it is still available for your distribution, upgrade is not recommended
yet.
In the meantime recent (v2.2+) releases have good backward data compatibility and are
reasonably usable. The aim is to provide a new stable v3.0 release in the coming
months (i.e. early 2020).
hamster-3.0.3/data/ 0000775 0000000 0000000 00000000000 14526461771 0014106 5 ustar 00root root 0000000 0000000 hamster-3.0.3/data/art/ 0000775 0000000 0000000 00000000000 14526461771 0014674 5 ustar 00root root 0000000 0000000 hamster-3.0.3/data/art/16x16/ 0000775 0000000 0000000 00000000000 14526461771 0015461 5 ustar 00root root 0000000 0000000 hamster-3.0.3/data/art/16x16/org.gnome.Hamster.GUI.png 0000664 0000000 0000000 00000001656 14526461771 0022117 0 ustar 00root root 0000000 0000000 PNG
IHDR a sBIT|d pHYs
B(x tEXtSoftware www.inkscape.org< +IDAT8u_h[uǿw͟Me5RTvȐ{)MIRe>eLAhB#L0tk,nYܴɽ;>t:x89>$"Lf@M:6H ,E_Kֈ,W?c3e)&h#d'A @i[XD0F
j1ꌼ0Vkli4+;~XXitߪoeO#q8ouFho
}'eכ`MvybXͥu=DG$Ga v^}qكMkcAn $٘?7\J+|GW/(E49
B胈+D)!J` @Wb1PI۱)Vvo(
A.}>=N }_Vr-%mkD<C@Rx a=Ey:Yq^=-{
D{b4D cl]"v?0J%Ef\E(MOg7G
kSbdR2 f
(L$"-W7}?yamo7$7Da1|Xs]yގMϰ^P>xugݬ}DيiaaYd~r,?jQgcfX!o}[-GFoj~m-N`4pLFnurG0eznKeY4M6;ٓbTӅ[emϝWR4*IRYcd!t.* IENDB` hamster-3.0.3/data/art/22x22/ 0000775 0000000 0000000 00000000000 14526461771 0015453 5 ustar 00root root 0000000 0000000 hamster-3.0.3/data/art/22x22/org.gnome.Hamster.GUI.png 0000664 0000000 0000000 00000003025 14526461771 0022101 0 ustar 00root root 0000000 0000000 PNG
IHDR Ĵl; sBIT|d pHYs
B(x tEXtSoftware www.inkscape.org< IDAT8}[l\̙W]_'NQi L&u۠D6HQ%("!sKQ""RT"
Z!(iB#aG8v'kgw=~e@oTGw؛`tLYsAgl-<2ˌ봐S|VAƐa!j-զ^9\p")[#ȌV4g6$g>kxW*N#óGNm
w`Xn$N/}.8Oo߹rfn녱%I:0uk?DsU;pKn/~z项vʼn| *;Ņ%AHc[#y
0;NCH`K+JTR`,S$/
$ɶR^$B`N%A?~aݙR7[hwl4
'ԦLiSTK~]xh^Kkw.^XyZx;y:u=PƢLpժN!^md!hWN+P
oۯYm^KR,"R!>l8{TmbNv|FzθMKD~x*?7-?L0 x8cNvYn!rc0zͥ"L ) 0 Bs[Rۆ:+1iJ,nyZY$U &a|n"Uj#KL)o'?tbW6s lɵOqsZk}/r_ >C%i7ewML{tTm~βM\znrH[?y^Z$%DLI I 4~Iۆ28u!s~;FQzr8D^itFIL3EdwtJE6%K瓒y|bXVK7q,0_w(rݷ0xQoy[vF˥z27:ң
eO&Med^o
%7 E+S٬n@_]t;GW! }osԽ*&vTް#R0ԛ{lGgKW} k `{߿e CiЛD.iz6,\_7M/̲ `
R OOo!GA&Χv3,w|%1 B$ zw{ > G$"ޔC IENDB` hamster-3.0.3/data/art/24x24/ 0000775 0000000 0000000 00000000000 14526461771 0015457 5 ustar 00root root 0000000 0000000 hamster-3.0.3/data/art/24x24/org.gnome.Hamster.GUI.png 0000664 0000000 0000000 00000003102 14526461771 0022101 0 ustar 00root root 0000000 0000000 PNG
IHDR w= sBIT|d pHYs
B(x tEXtSoftware www.inkscape.org< IDATH[l\W{OlIBh$"T-U
> nB@J}jU&9Fv.sf̹7/ dKZp,8uv%8$ ă$qa1}'>|N)?@ȗuZ̪Z! mHh!-sjc Smzu+sgJdd>3/wYu-7G.Qn1%̾gz7v3K3?:L