Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
98bef91
Update README.md with team name
syntaxaire Feb 22, 2019
7a9fdd0
Added team logo
syntaxaire Feb 22, 2019
22533de
Correction from upstream
syntaxaire Feb 23, 2019
2bc5676
Correction from upstream
syntaxaire Feb 24, 2019
21dcf6d
Correction from upstream and added toolkit
syntaxaire Feb 24, 2019
7bbc8fc
Merge branch 'master' of https://github.com/syntaxaire/code-jam-4
syntaxaire Feb 24, 2019
d131418
Added EULA and related dialogs
syntaxaire Feb 24, 2019
fdf8627
Initial framework for a standard text editor
runew0lf Feb 25, 2019
26b5567
added menus and a troll menu test
runew0lf Feb 25, 2019
cf39bee
Moved icon into project
syntaxaire Feb 26, 2019
1a0cd1e
tweaked font request
syntaxaire Feb 26, 2019
01514b8
Added app configuration
syntaxaire Feb 26, 2019
0e4dd5c
Updated README.md with directory descriptions, made ui directory impo…
syntaxaire Feb 26, 2019
ce9ed7b
Added EULA dialog, fixed configuration loader
syntaxaire Feb 26, 2019
c0e88f2
Stopped EULA from being closed, added connections to agree button
runew0lf Feb 26, 2019
2eeed3b
Make sure the user has scrolled to the bottom before we accept
runew0lf Feb 26, 2019
0628c53
Added keypress sounds
runew0lf Feb 26, 2019
8d30dc1
cut some white space from the click sound
runew0lf Feb 26, 2019
e4efaea
WIP Troubleshooter
brycenaddison Feb 27, 2019
9ea588f
fixed my dodgy pathing
runew0lf Feb 27, 2019
dff1820
more work on troubleshooter
Feb 27, 2019
1181466
Added ear-piercing backspace sound
syntaxaire Feb 28, 2019
8cdf53a
Restructured project to allow running from Pipfile via `pipenv run st…
syntaxaire Feb 28, 2019
9326fdc
Ignore lint errors on Qt Designer generated files
syntaxaire Feb 28, 2019
bf44835
Changed configuration to a one-line file as discussed, added more con…
syntaxaire Feb 28, 2019
fed5e7d
Completed obnoxious EULA quiz
syntaxaire Feb 28, 2019
8c1d837
Added forgotten UI file
syntaxaire Feb 28, 2019
8b5596e
Added spurious message boxes that disappear instantly sometimes when …
syntaxaire Feb 28, 2019
fdd5c59
Added basic save/load functionality
syntaxaire Mar 1, 2019
7eb3a74
Added clear screen functionality
runew0lf Mar 1, 2019
9b516a8
Converted configuration from json to jjjjssssoooonnnn
syntaxaire Mar 1, 2019
fd3c969
Merge remote-tracking branch 'remotes/origin/master'
syntaxaire Mar 1, 2019
729a373
Added tip of the day
syntaxaire Mar 1, 2019
90ab551
Removed forgotten debug print
syntaxaire Mar 1, 2019
5401dbf
Added themes and accessibility options
syntaxaire Mar 1, 2019
2aa7970
Added external code to get meaningful tracebacks on crashes
syntaxaire Mar 2, 2019
2c5acf8
Added emoji picker
syntaxaire Mar 2, 2019
b22b5e0
update title to reflect filename changes
runew0lf Mar 2, 2019
13af135
added font selection dialog
runew0lf Mar 2, 2019
926fdfd
converted midi to mp3 for use with QSound
runew0lf Mar 2, 2019
eebf835
linted code
runew0lf Mar 2, 2019
b422af6
Removed tools package causing Azure build to fail
syntaxaire Mar 2, 2019
a9139c6
Regenerated Pipfile.lock in attempt to unbreak Azure
syntaxaire Mar 2, 2019
14d63d2
Final lint fix for clean build
syntaxaire Mar 2, 2019
1e0ccb1
Code overhaul: typos, comments, docstrings, type annotations, and PEP8
syntaxaire Mar 3, 2019
cc0f963
Pulled down all custom code from ui-generated folder into our code
syntaxaire Mar 3, 2019
83ed1de
Fixed crash caused by writing out files with Unicode
syntaxaire Mar 3, 2019
0878ddc
Fixed indent on multiline string
syntaxaire Mar 3, 2019
1012ab4
PEP257 compliance for docstring spacing
syntaxaire Mar 3, 2019
8cd041f
Changed filename to a property for automatic window title updates
syntaxaire Mar 3, 2019
e419421
Added unit tests, 'pipenv run test' command, and Azure pipeline integ…
syntaxaire Mar 3, 2019
76d8698
Added line_wrap toggle and set tab-stop width
runew0lf Mar 3, 2019
99de651
Converted Windows paths to universal for cross-platform
syntaxaire Mar 3, 2019
97e1649
Fixed bug allowing user to accept EULA, then restart to skip quiz
syntaxaire Mar 3, 2019
662b098
Added spoilers
syntaxaire Mar 3, 2019
6a07524
Added ability to open notepad.ini
syntaxaire Mar 3, 2019
d059460
Fixed crash when file selection is closed without choosing a file
syntaxaire Mar 3, 2019
00fed36
Made line wrap setting persist across restarts
syntaxaire Mar 3, 2019
6af71af
Lint fix
syntaxaire Mar 3, 2019
72c8115
Made more settings toggleable and persistent
syntaxaire Mar 3, 2019
e06bc20
i tried
brycenaddison Mar 3, 2019
58d14dc
Merge branch 'master' of https://github.com/syntaxaire/code-jam-4
brycenaddison Mar 3, 2019
4cf5f39
troubleshooter
brycenaddison Mar 3, 2019
0c14081
clean up troubleshooter
brycenaddison Mar 3, 2019
f2de66f
Integrated troubleshooter into Crocpad++.
syntaxaire Mar 3, 2019
8f91e14
Lint fix
syntaxaire Mar 3, 2019
3168d5f
Removed "finish" button in troubleshooter
Mar 13, 2019
b1d96c8
Fixed spacing on troubleshooter message
Mar 13, 2019
e69c097
Removed pygame as a dependency
Mar 14, 2019
a8f183a
Decreased troubleshooter probability
Mar 14, 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
3 changes: 2 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[flake8]
max-line-length=100
application_import_names=projectt
ignore=P102,B311,W503,E226,S311,W504,F821
exclude=__pycache__, venv, .venv, tests
exclude=__pycache__, venv, .venv, tests, crocpad/ui, crocpad/troubleshooter
import-order-style=pycharm
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ venv.bak/

# mypy
.mypy_cache/
.vscode/settings.json
notepad.ini
.vscode/launch.json
5 changes: 4 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ verify_ssl = true
flake8 = "*"

[packages]
pyqt5 = "*"

[requires]
python_version = "3.7"

[scripts]
lint = "python -m flake8"
lint = "python -m flake8"
start = "python -m crocpad"
test = "python -m unittest discover -s crocpad"
44 changes: 36 additions & 8 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 24 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,36 @@ You should be using [Pipenv](https://pipenv.readthedocs.io/en/latest/). Take a l

# Project Information

`# TODO`
This is the Code Jam 4 entry for team Cool Crocodiles.

## Description

`# TODO`
Crocpad++ is a free replacement for Notepad.

## Setup & Installation

`# TODO`
Use `pipenv install` from the root directory.

## How do I use this thing?

`# TODO`
Use `pipenv run start` to run Crocpad++.

## Project Structure
`project/`
Contains the Crocpad++ application.

`project/ui`
Contains `.ui` files created for Qt and the Python modules generated from those UI files.

`project/sounds`
Contains sound resources for a multimedia, user-friendly experience.

## Known bugs
- When running under Linux, occasionally the following message might appear:
>```qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 5441, resource id: 27411671, major code: 40 (TranslateCoords), minor code: 0```

## Attributions
`wrong.wav` is from https://freesound.org/people/sharesynth/sounds/341256/

## Spoilers
There are many subtle annoyances in Crocpad++. Please check `spoilers.txt` for a complete list.
5 changes: 4 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ jobs:
displayName: 'Install project dependencies'

- script: pipenv run lint
displayName: 'Lint the project'
displayName: 'Lint the project'

- script: pipenv run test
displayName: 'Run unit tests'
Binary file added cool-crocodiles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions crocpad/.idea/crocpad.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions crocpad/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions crocpad/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions crocpad/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions crocpad/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading