Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

SIGTERM and SIGINT handler in PySide event loop #133

Open
wants to merge 97 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
0bb4f1e
A bit of fixes
zlatanvasovic Jul 15, 2013
7d9f8a7
Merge branch 'master' of https://github.com/lordamit/Brightness
LordAmit Jul 15, 2013
6f4a462
Fixed `README.md` problem due to merge, included ZDroid's contributio…
LordAmit Jul 15, 2013
c8fbee3
Shocking silly mistake!!!!!!!!!!!!!
archisman-panigrahi Jul 15, 2013
c9f9000
Update README.md
archisman-panigrahi Jul 15, 2013
7e15c4b
Merge pull request #8 from apandada1/master
LordAmit Jul 15, 2013
ddbe16b
Subtle formatting, also fix for windows based white spaces which were…
LordAmit Jul 16, 2013
dc66106
README fix
zlatanvasovic Jul 16, 2013
ffe2469
Merge pull request #9 from ZDroid/patch-1
LordAmit Jul 16, 2013
04fbd51
typo fix, controler to controller.
LordAmit Jul 16, 2013
7577f0b
Inclusion of License related information
LordAmit Jul 23, 2013
8d85eae
App title modifed to remove version number.
LordAmit Jul 27, 2013
04e9a02
fix issue #12, includes version number in about
LordAmit Jul 27, 2013
90f0e03
Add link to binary packages in README.md
archisman-panigrahi Jul 29, 2013
da3c041
Merge pull request #13 from apandada1/master
LordAmit Aug 1, 2013
b59dd6d
Update README.md
LordAmit Aug 1, 2013
7bde094
Just import os.system, not os.
zlatanvasovic Aug 3, 2013
f60de58
Merge pull request #15 from ZDroid/patch-1
LordAmit Aug 3, 2013
fb2c808
Update README.md
LordAmit Aug 3, 2013
3f28862
Update README.md
LordAmit Aug 3, 2013
bc37d41
Align text prettily
sazid Aug 4, 2013
7acab61
Fixed a serious bug, converted all os.system to system
LordAmit Aug 4, 2013
2fa300a
Merge pull request #16 from sazid/master
LordAmit Aug 4, 2013
9a872c9
Brightness Controller v2.0 - Near Completion B-)
LordAmit Aug 28, 2013
9d65768
.gitignore :bomb:
LordAmit Aug 28, 2013
52bd198
v2.0 - declarations
LordAmit Aug 28, 2013
182a5a1
removed unnecessary files.
LordAmit Aug 28, 2013
13baf73
New changes!
LordAmit Sep 17, 2013
35ff3db
removed the print commands
LordAmit Sep 17, 2013
573bb93
license details added
LordAmit Sep 17, 2013
8fff73e
fixed license details, version build included
LordAmit Sep 17, 2013
8650344
check for updates disabled for now
LordAmit Sep 17, 2013
16f543e
Fixed several settings related problems
LordAmit Sep 18, 2013
e65777d
further checked save settings. Looks workable.
LordAmit Sep 18, 2013
75dc6c8
PEP - 8 based standard maintenance, as followed by the suggestions fr…
LordAmit Sep 26, 2013
8641807
fixes #29
LordAmit Sep 26, 2013
910b42e
Put space between hashes and text to make license more readable
zlatanvasovic Oct 21, 2013
c7fda1c
Merge pull request #33 from ZDroid/license_fix
LordAmit Oct 30, 2013
b24afd0
Improve readme overall
zlatanvasovic Jan 2, 2014
d6b9148
New Year
zlatanvasovic Jan 2, 2014
6e386fe
Merge pull request #37 from ZDroid/look
LordAmit Jan 2, 2014
d054086
Update README.md
LordAmit Jan 17, 2014
8d5cca7
Update year
zlatanvasovic Jan 9, 2015
58b8629
Merge pull request #51 from ZDroid/patch-1
LordAmit Jan 28, 2015
2085024
updated description to add link to website
LordAmit Apr 9, 2016
5bafa1d
updated readme
LordAmit Apr 27, 2016
9e5d426
added gitignore
LordAmit Apr 27, 2016
5bf0fc3
modified: README.md
LordAmit Apr 27, 2016
68c3aed
fixed typos
LordAmit May 12, 2016
a2a44ce
corrected link for download
LordAmit Nov 24, 2016
a23dd71
updated readme
LordAmit May 9, 2017
b7ab2e6
changed so that the controls are now configurable
LordAmit May 24, 2017
9622440
New Image!
LordAmit May 24, 2017
c07dbe6
changed description.
LordAmit May 24, 2017
a6a632a
improved.
LordAmit May 24, 2017
b87bfff
fixed reverse control related bug.
LordAmit May 24, 2017
82bbe34
No more beta!
LordAmit May 24, 2017
109d533
Update logo
archisman-panigrahi May 24, 2017
9e03a62
Merge pull request #79 from apandada1/master
LordAmit May 24, 2017
856a426
fixed loading values and saving values
LordAmit May 25, 2017
f4e3964
template for issues
LordAmit May 25, 2017
ffb663e
fixes issue #80
LordAmit May 25, 2017
13f0388
removed .vscode
LordAmit May 25, 2017
edd43b7
unnecessary.
LordAmit May 25, 2017
6d27df8
icon fix
LordAmit May 26, 2017
09929c9
added PPA
LordAmit May 27, 2017
58260f3
Added commands for PPA
May 27, 2017
c70bfc4
Merge pull request #88 from apandada1/patch-1
LordAmit May 27, 2017
0136e74
updated readme.
LordAmit May 27, 2017
c43a0ba
added star
LordAmit May 29, 2017
f8223bd
update
LordAmit May 29, 2017
2798638
update
LordAmit May 29, 2017
23cb199
update
LordAmit May 29, 2017
61a520e
update
LordAmit May 29, 2017
0c84ab9
update
LordAmit May 29, 2017
7393221
updated description
LordAmit May 30, 2017
c29ad0d
details about 1
LordAmit May 30, 2017
bb0c333
It was updated.
Jun 7, 2017
2206a46
Merge pull request #93 from apandada1/patch-1
LordAmit Jun 23, 2017
58bcbb5
added debian installation segment.
LordAmit Aug 26, 2017
44b9cf8
Merge branch 'master' of ssh://ssh.github.com:443/lordamit/Brightness
LordAmit Aug 27, 2017
fc6e230
* Default saving and loading, with GUI dropdown options
jahan-addison Dec 9, 2018
c63b862
Merge branch 'jahan-addison-controller-improvements',
LordAmit Dec 23, 2018
699db45
Edited contributors and version number
archisman-panigrahi Dec 29, 2018
f6f4367
Feature: Close to systemtray - verify quit
jahan-addison Jan 1, 2019
a11d069
Merge pull request #118 from apandada1/master
LordAmit Jan 3, 2019
97262ef
Merge pull request #119 from jahan-addison/systemtray
LordAmit Jan 3, 2019
916992a
Create CODE_OF_CONDUCT.md
LordAmit Jan 3, 2019
bc4ffbb
Merge pull request #120 from LordAmit/add-code-of-conduct-1
LordAmit Jan 3, 2019
5246959
Create CONTRIBUTING.md
LordAmit Jan 3, 2019
f94fffd
Update issue templates
LordAmit Jan 3, 2019
626607e
Update issue templates
LordAmit Jan 3, 2019
f95f95f
Tray improvements, QTSingleApplication impl.
jahan-addison Jan 6, 2019
3200c76
Merge pull request #121 from jahan-addison/tray-additional-changes
LordAmit Jan 14, 2019
5614fdb
Update version no to 2.2
archisman-panigrahi Jan 18, 2019
e2368d7
Merge pull request #122 from apandada1/master
LordAmit Jan 19, 2019
0eb1f3c
SIGTERM and SIGINT handler in PySide event loop
jahan-addison Apr 16, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
OS:
Distro:
output of `xrandr -q`
Version of Brightness Controller:
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is. If the contents of the subsections do not apply, simply replace the contents with N/A.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here. Typically, the output of `xrandr -q`.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
103 changes: 85 additions & 18 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,35 +1,102 @@
*.pyc
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
lib
lib64
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.tox
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# Mr Developer
.mr.developer.cfg
.project
.pydevproject
#vscode
.vscode/
76 changes: 76 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Contributions
Always welcome. Look for issues with **feature** tag for a head start.
18 changes: 18 additions & 0 deletions License
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Brightness Controller
Linux Application to control brightness of dual monitor.
Copyright (C) 2015 Amit Seal Ami

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

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

contact: [email protected] / [email protected]
Loading