Age | Commit message (Collapse) | Author |
|
|
|
(keep a get_name() fallback just in case for now)
|
|
some stuff is now hidden wen the window size gets too small (might need
some adjustments). The info buffer in the roster tab, the userlist in
mucs, the vertical tab list, the info buffer everywhere, etc…
|
|
- two options request/ack_message_receipts
- two new theme parameters : CHAR_ACK_RECEIVED and COLOR_CHAR_ACK
- if a message has a receipt, the character is displayed between the
timestamp and the nick, using the color
|
|
|
|
|
|
|
|
now the scroll is made with 1/3 of the input size every time instead of
fixed offsets
|
|
when configured)
(one-line fix, and the others are for reformatting imports to be consistent)
|
|
- now it should work properly
- add a COLOR_LOG_MSG theming option, used both for local and remote
history
|
|
fixes whitespace issues, some builtin overrides, and some enormous lines
might make poezio run nanoseconds faster!
|
|
fixes some bugs when closing tabs that disable it
|
|
- avoid doing stringprep on every item, avoid at least one full copy
- add the number of items to the infowin
|
|
(thanks eijebong)
|
|
config.get('option', 'value').lower() == 'value' is just ugly and
stupid, especially for bool.
One if in basetabs:556 was also missing a comparison, leading to True
whenever the option was set.
|
|
- No idea why subclasses of ConversationTab were working before
(info_header was overriden with None in __init__)
- Or why the date parsing worked (“Exeception”)
- Some more reformatting with pylint indications
- Document each module in the tabs module
|
|
When the connection lags and the user presses tab,
poezio will insert a tab inside the input, wich has now
a specific formatting. This caused poezio to crash.
|
|
- Replace tabulations in the input by highlighted “t”s
- More readable, and less messy to deal with.
|
|
|
|
|
|
Noticeable changes:
- The input "view" is smarter, it always move to a decent position so we can
see enough text around the cursor.
- The cursor goes at the end of the input when pasting some long text
- The formatting chars (^C and o, b, a, 1, 2, 3 etc) are now visible in the
input. This makes it a lot easier to know where these special characters
are, to change them and efficiently edit our text (we just lose a little,
on the cosmetic side, but who cares)
- The code is actually a lot simpler in the functions to move the cursor,
insert/delete chars: we do not have to deal with special cases where the
formatting characters are actually composed of two chars.
fixes #2183
|
|
selected_row wasn’t reset
|
|
|
|
|
|
Also add an override parameter to new_completion so that the
completion does not care if the list matches the previous input
or not.
|
|
A command argument can now be completed even if it isn’t the last
one in the input.
- Add a new method Input.new_completion
Almost like the old auto_completion method, except taht it takes
another argument: argument_position, which is the argument to be
completed.
- Methods using the old completion method still work
- All completion methods in poezio now use the new one if necessary
- Further details can be found in the docstring of new_completion
|
|
Added a configuration option and some theme variables.
|
|
|
|
also fix some typos in the comments, and a refresh issue with the input
|
|
|
|
|
|
|
|
see #2142
|
|
Some characters take 0 columns, others take 1 or 2 (full-width characters)
fixes #2142
|
|
- now case-insensitive
- search in the bare jid instead of userpart only (and still in roster
names)
- do not display groups when searching
- display offline contacts
- do not expand resources if they were before the search
|
|
|
|
|
|
Now it scrolls horizontally of 1/4 the size of the input
|
|
(also add colors to the /info command in MUCs)
|
|
fix #2296
|
|
|
|
|
|
When an external (or internal) event may cause the order of the
cache to be modified, or new elements to be added, schedule it
for a rebuild. Otherwise, don’t, and only rebuild it when
refreshing (that should improve refresh speed a lot).
Also, if the position in the roster is further than the total size
of the roster, go back to the top instead of displaying an empty
window with “+++”.
|
|
|
|
|
|
- separate_history, defaults to false
|
|
- The input is split in two parts: on the left is what the user enters,
on the right is the first match (the right part has a different
color)
- Start and cancel a search with ^R
- Validate a search with enter, then press another time enter to send
- CommandInput and MessageInput now inherit from the HistoryInput class
and share some methods
|
|
also:
- fix Message.__str__/repr
- fix a traceback with user gaming
|
|
- configuration options
- theming options
- /gaming
|
|
- Added as always new theming variables:
CHAR_ROSTER_MOOD, CHAR_ROSTER_ACTIVITY (a SNOWMAN!)
COLOR_ROSTER_MOOD, COLOR_ROSTER_ACTIVITY
- Added two new notification types in Theme.INFO_COLORS (mood/activity)
- Added new configuration options:
display_mood/activity/tune_notifications (those can be set for a
specific JID)
enable_user_tune/nick/activity/mood
- Added /activity and /mood commands, with completions
- Moved the old /activity to /last_activity
- Details are show in the ContactInfoWin if there is room, or with "i"
on a contact in the roster.
|