Commit graph

691 commits

Author SHA1 Message Date
karxi
195b59f29e Make Ctrl+Alt+w pipe widget information to console
The key combination used for this is likely to change. See
ConsoleWindow.designateCurrentWidget() for precisely what this does and
means.

Essentially, mousing over something (with the console open) and hitting
that combination of keys will give information on the GUI element the user
had the mouse over at the time (if any), via the console.

It also tells you what the stylesheet looks like, if it has one; if it
doesn't have one, it looks for one on the object's parents, posting that
instead if applicable.

The last selected widget is stored in CONSOLE.selected_widget - it can
be modified directly from there.

More features and detailed information may come in the future.
2017-01-10 19:53:26 -05:00
karxi
cf37cb6c36 Minor changes to console environment 2017-01-10 16:56:24 -05:00
karxi
e5d5446cf7 Add 'exit'/'quit' convenience functions to console 2017-01-09 19:31:04 -05:00
karxi
483af0f1e5 Make default options take focus (in case of mistypes) 2017-01-09 19:26:37 -05:00
karxi
43e8a589f1 Disable volume slider if volume can't be set 2017-01-09 18:59:57 -05:00
karxi
e78bb31249 Tweak console shortcut behavior 2017-01-09 17:20:03 -05:00
karxi
bd4bc95258 Made the console respect theme changes. 2017-01-09 16:52:25 -05:00
karxi
ee0b08820f Attempt at fixing main window icon on Windows
This code dips into ctypes, and might be removed. Errors will be
recorded as debug output; failures are otherwise ignored.
2017-01-09 16:20:43 -05:00
karxi
3a1581a27a Made PgUp/PgDown pass to super again 2017-01-09 05:20:48 -05:00
karxi
dcab587f33 Fix text area implicit scrolling 2017-01-09 02:25:49 -05:00
karxi
c1d03887b4 Update various UI aspects
Minor menu/UI tweaks, with the addition of some shortcuts.
Reconnecting in the middle of typing shouldn't kill the whole client
now.
It still needs to account for the "reconnecting" window (this will
likely be made to loop back into the query window for now).
2017-01-09 01:18:59 -05:00
karxi
c7755899a3 Make right-clicked tabs open convo context menus 2017-01-02 16:02:53 -05:00
karxi
1989915405 Allowed consecutive memo joins (comma-separated) 2017-01-02 14:14:57 -05:00
karxi
1cf0926e9f Minor source cleanup, pending rewrites 2017-01-02 13:49:54 -05:00
karxi
9f6ee05d43 Fixed idle messages (again) 2017-01-02 13:46:42 -05:00
karxi
22c5354bc6 AttrDict/DefAttrDict rewrite/bugfixing
The logic for both of these has been corrected; neither will try to
handle reserved or preexisting attributes as though they should be part
of their dicts.
These can still be set manually, but it makes things much safer.
New attributes have to come from the class or local __dict__ modifications.
2017-01-01 20:24:34 -05:00
karxi
b04e2e8ba0 Fix text-align on several themes.
Specifically: dad, danceofthorns, johntierchum, sbahj, strifekind
Also updated TODO.mkdn and *very* slightly adjusted README.mkdn.
2017-01-01 17:28:17 -05:00
karxi
02019c7dc5 Adjustments/retabbing for attrdict.py
Redid some of the logic behind AttrDict. It now raises AttributeError
when necessary, instead of giving the incorrect KeyError response.

This has restored compatibility with copy.deepcopy().
2016-12-30 20:59:47 -05:00
karxi
d43220535f Fiddling with potential changes to the theme system 2016-12-29 10:38:42 -05:00
karxi
706520f60d Who knew Markdown was such a pain? 2016-12-23 14:31:57 -05:00
karxi
1c647ba13c Made the console output text in the proper place. 2016-12-23 13:22:11 -05:00
karxi
e657138dad Formatting consistency for README and TODO. 2016-12-23 12:53:21 -05:00
karxi
0a073afda2 Fixed some README.mkdn formatting problems. 2016-12-23 08:14:28 -05:00
karxi
c99f865765 Minor change to avoid GitHub formatting error 2016-12-23 07:35:39 -05:00
karxi
5884abb80f README and TODO cleanup/reorganization
This is a bit of a process, and neither file is done. It will take a bit
of time for me to finish sorting everything out and finish rewriting
README.mkdn.
2016-12-23 07:21:41 -05:00
karxi
8da877cf85 Minor console code tweaks 2016-12-23 07:21:23 -05:00
karxi
2c594f47b3 Added some basic version checking
Hopefully this will help reduce the number of incidents where someone
tries to run this with an incompatible version of Python.
2016-12-23 07:17:07 -05:00
karxi
3362ea864e Updated the TODO list...this should be the last
Apologies for the fiddling - Markdown syntax is a little finicky.
It should be good for now.
2016-12-23 02:17:54 -05:00
karxi
01b7dfa40e Updated TODO list...again 2016-12-23 02:16:12 -05:00
karxi
f4d2782269 Updated TODO list. 2016-12-23 02:13:13 -05:00
karxi
106cd93b5d Updated TODO list. 2016-12-23 02:12:16 -05:00
karxi
a1e4b365c1 Updated TODO list. 2016-12-23 02:09:58 -05:00
karxi
cddbafb11c Updated the TODO list. 2016-12-22 17:37:09 -05:00
karxi
c232872e13 Fixed a typo. 2016-12-22 17:30:29 -05:00
karxi
8ae3c92231 Tentative initial README update. 2016-12-22 17:27:33 -05:00
karxi
1f390ffda9 Console cleanup. 2016-12-22 17:27:06 -05:00
karxi
6944cc25a0 General cleanup 2016-12-22 17:17:53 -05:00
karxi
dabd2b46c1 Added a rudimentary console for easier interaction with Pesterchum's code. Still WIP. 2016-12-22 15:29:13 -05:00
karxi
0b36b45ddb Fixed some mistakes pertaining to Pesterchum's inheritance structure. 2016-12-22 11:19:16 -05:00
karxi
b264498956 Made automatic idle set away status the way it should. 2016-12-22 00:50:42 -05:00
karxi
951c6681fa Cleanup and type realignment. I'll be working on adjusting the Pester/Memo frames. 2016-12-21 18:26:26 -05:00
karxi
0cb3a74f1f Update to .gitignore for vim users (like myself); should stop picking up swap files now. 2016-12-21 17:29:37 -05:00
karxi
b8c89856e0 Cleaned up the update checker.
I also quieted it down in the logs. Rewrite pending.
(Now that Homestuck is over, is there really any need for this?...)
2016-12-21 17:28:02 -05:00
karxi
5c9615cd4c Fixed some bugs pertaining to bot detection. Later, this should be unified (when the class structure is readjusted) or at least turned into a proper mix-in. 2016-12-19 20:23:45 -05:00
karxi
3510e2d383 Fixed a typo in several theme files.
Affected: Dad, Dance of Thorns, Johntier, SBaHJ, Strifekind
Changed property 'allign' to 'align', as it should be.
2016-12-13 13:09:51 -05:00
karxi
ec9e07f7e7 Minor changes for when the console is done 2016-12-13 13:08:36 -05:00
karxi
eff759d475 Changed volume logging level. 2016-12-12 15:17:48 -05:00
karxi
0d4edc4e57 Fixed Autoidentify (note that it's set on a per-handle basis) 2016-12-12 15:11:50 -05:00
karxi
7fe3c417df Fixed a typo that broke messages. 2016-12-11 04:01:48 -05:00
karxi
4d48bdb98a Disabled version checking until I can rewrite the code for it and prevent it from causing problems. 2016-12-10 22:34:03 -05:00