Commit graph

1164 commits

Author SHA1 Message Date
Dpeta
318a403a12
Fix exception when sound isn't available 2023-03-14 18:10:17 +01:00
Dpeta
9b9e52e0ef
Define sound related attributes in __init__ 2023-03-14 18:01:39 +01:00
Dpeta
dc6b646065
Merge pull request #128 from Dpeta/only-qsoundeffect
Only use QtMultimedia.QSoundEffect for audio.
2023-03-14 17:56:45 +01:00
Dpeta
b0f6995ef1
Only use QtMultimedia.QSoundEffect for audio. 2023-03-14 17:52:11 +01:00
Dpeta
c2826a8158
Merge pull request #127 from Dpeta/cutting-room-floor
Remove unused (or broken) features
2023-03-14 15:46:55 +01:00
Dpeta
ebb9c082ae
Remove external config import.
At least for now. Pretty sure the function leaks a file handle and it has no documentation, no one seems to know what it does.
2023-03-14 15:37:01 +01:00
Dpeta
9c3ca20ad3
Remove console, not a lot of people used this. 2023-03-14 15:23:53 +01:00
Dpeta
3585547558
Remove remnants of lua quirks, they've not worked since python 3 and I'm not aware of anyone who uses them. 2023-03-14 15:16:00 +01:00
Dpeta
b046798724
Remove setup.py/cx_freeze setup, currently superseded by pyinstaller. 2023-03-14 15:13:59 +01:00
Dpeta
3fd5815677
Remove libseccomp (silly) 2023-03-14 15:08:58 +01:00
Dpeta
523b1f0755
Merge pull request #126 from Dpeta/icon
Replace .ico/.icns icons with higher-res versions.
2023-03-08 16:17:51 +01:00
Dpeta
7ac5106e02
Replace .ico/.icns icons with higher-res versions.
'pesterchum.ico' contains pc_chummy.png upscaled with Gimp to 16x16, 32x32, 64x64, 128x128, and 256x256. The previous icon only contained 16x16 and 32x32.
'pesterchum.icns' is pc_chummy.png upscaled to 512x512 with Gimp, converted to .icns with Pillow.

Should hopefully solve the awful anti-aliasing and interpolation artifacts some systems introduce when upscaling the icons.
2023-03-08 16:07:25 +01:00
Dpeta
5b42a2cd71
Merge pull request #125 from Dpeta/pygame-ce
Add pygame-ce as an alternative to pygame.
2023-03-07 19:40:39 +01:00
Dpeta
346b8af834
Add pygame-ce as an alternative to pygame and update 'requirements-qt5.txt'.
Seems like many of the core maintainers were banned from contributing to pygame, and split off to pygame-ce.
2023-03-07 19:19:07 +01:00
Dpeta
340a6481ba
Check for missing channel/namelist in _endofnames() 2023-03-01 00:01:38 +01:00
Dpeta
d1e4bdb7dc
Fix opening a log without having one selected raising an exception. 2023-02-28 23:52:46 +01:00
Dpeta
f09c6eeafd
Merge pull request #124 from Dpeta/sasl
Use SASL when auto-identifying to NickServ on connect.
2023-02-28 23:40:06 +01:00
Dpeta
82c7be4516
Timeout capability negotiation after 5 seconds when waiting on SASL. 2023-02-28 23:32:35 +01:00
Dpeta
5f817867eb
Allow more replies to end SASL auth 2023-02-25 21:22:36 +01:00
Dpeta
2a65361c92
Add post-connection SASL authentication (not used rn) 2023-02-25 18:18:19 +01:00
Dpeta
f8c3dd3b35
Add basic pre-registration SASL authentication.
Unfinished, currently breaks nickserv auto-identify when switching handles.
2023-02-25 04:46:59 +01:00
Dpeta
1ec2d42e31
Fix pylint action 2023-02-25 02:40:23 +01:00
Dpeta
62f3e21bd4
Don't subscript Qt signals (unsubscriptable-object) 2023-02-25 02:34:30 +01:00
Dpeta
cc6508bb7b
Add Qt to pylint extension-pkg-allow-list & simplify action 2023-02-25 02:33:36 +01:00
Dpeta
829d981424
Merge pull request #123 from Dpeta/alternian
Add alternian font tags (<alt></alt>)
2023-02-25 02:18:12 +01:00
Dpeta
0cd1b1ace7
Use <em> instead of <span> for alternian text. 2023-02-23 20:50:49 +01:00
Dpeta
595252a3d3
Add alternian text 2023-02-23 02:17:32 +01:00
Dpeta
8e3f5410b7
Chain iterators and extend when excluding links from quirks 2023-02-23 01:25:13 +01:00
Dpeta
d3c9b8eedf
Move profileChanged behavior to mainwindow 2023-02-19 21:38:00 +01:00
Dpeta
7c8e682c36
Merge pull request #122 from Dpeta/str_typecasts_and_qstring
Remove most unnecessary str() typecasts and just use 'str' for Qt slots/signals
2023-02-19 21:20:12 +01:00
Dpeta
2398b5a626
Remove most unnecessary str() typecasts. 2023-02-19 21:10:35 +01:00
Dpeta
69f409b9d1
Remove most unnecessary str typecasts from pesterchum.py 2023-02-19 20:06:59 +01:00
Dpeta
f6c5c1e804
Replace QString with str 2023-02-19 19:36:53 +01:00
Dpeta
70ea19e839
"QString" --> str 2023-02-19 19:04:16 +01:00
Dpeta
a7f266c382
Still request caps in IRC compatibility mode 2023-02-17 20:45:09 +01:00
Dpeta
756099f753
Revert "Check if audio device is output"
This reverts commit 7f63c09141.
2023-02-17 20:29:37 +01:00
Dpeta
7f63c09141
Check if audio device is output 2023-02-17 20:21:29 +01:00
Dpeta
ed87c797ba
Fix PyQt5 compatibility 2023-02-17 19:41:13 +01:00
Dpeta
1d4e34d9e0
Add option for choosing audio output device. 2023-02-17 19:23:59 +01:00
Dpeta
13f120b029
Use enumerate instead of range+len for loops. 2023-02-17 02:22:50 +01:00
Dpeta
ab614f636e
Chain iterators in gradient.py and add comments to quirks/ scripts 2023-02-17 00:50:30 +01:00
Dpeta
129d26532f
Comment out broken tag types.
( Fixes a possible remote exception trigger :"3 )
2023-02-17 00:12:34 +01:00
Dpeta
7172db6151
Merge pull request #120 from Dpeta/irc-mode2
- Adds an "IRC compatibility mode" toggle in settings, which stops the clients from sending any Pesterchum-unique syntax/commands. This replaces low latency mode as they both result in leaving the #pesterchum channel.
- Adds a toggle to force valid initials on all incoming messages, this breaks doc scratch roleplayer text without initials if enabled.
- Renames the 'Connection' tab in options to 'IRC'.

Enabling both of these should make chatting on a normal IRC server with Pesterchum manageable.
2023-02-16 23:55:16 +01:00
Dpeta
ec0c6cdaf9
Finish up IRC compatibility & force-valid-prefix toggle 2023-02-16 23:45:55 +01:00
Dpeta
3f7caf73b2
Add force prefix option 2023-02-15 23:41:46 +01:00
Dpeta
938cf69b85
Add IRC compatibility mode (only disables things for now . . .) 2023-02-15 23:41:45 +01:00
Dpeta
ccf462d8a8
Merge pull request #119 from Dpeta/refactoring
Enforce more pylint messages (mainly refactoring)
2023-02-15 17:52:50 +01:00
Dpeta
64538b2644
Use isinstance() for typechecks. 2023-02-15 17:01:27 +01:00
Dpeta
370685f6b3
Remove AttrDict and enable pylint typecheck message category.
The AttrDict class had Python 2 leftovers which the linter flagged and isn't really necessary anyway, plus it wasn't licensed under the GPL.
2023-02-15 16:34:48 +01:00
Dpeta
9ec4dbd088
Apply the following pylint messages:
- use-list-literal
 - use-dict-literal
 - consider-using-in
 - consider-using-from-import
2023-02-14 19:55:23 +01:00