summaryrefslogtreecommitdiff
path: root/src/text_buffer.py
AgeCommit message (Collapse)Author
2013-05-15Fix #2229 (prevent correction if the 2 fulljid differ)mathieui
(Except in MUC, where we check the User object for that)
2013-03-31Fix #2275, ref #2229mathieui
- Refactor the message handlers to be more readable - Add a group_corrections tab-specific option (#2229) - Fix issues with /correct in private tabs and conversation tabs
2013-03-13Fix #2265mathieui
also: - fix Message.__str__/repr - fix a traceback with user gaming
2013-02-27Improve XEP-0308 supportmathieui
- Prevent correction of delayed messages - Prevent correction of messages by someone else in a MUC (and in a private tab) - Messages with unauthorized corrections (above) or wrong message id will be displayed as normal messages TODO: restrict the corrections to the same fullJID (only in direct "normal" conversations, because we can know in private an muc tabs, via the User object)
2013-01-02Prevent a RuntimeError when there are too many revisions on a messagemathieui
Python recursion sucks, and namedtuple.repr() uses that, so I rewrote __str__ and __repr__ in order to make it the iterative way instead.
2013-01-02Iterate over the messages from the end, not from the startmathieui
(the corrected message is way more likely to be recent)
2012-12-30Do not rebuild everything in order to modify a messagemathieui
(should fix the “leak” on /correct, and make it faster)
2012-12-29Display the number of revisions of a corrected message.Emmanuel Gil Peyrot
2012-12-29Fix /correct and /me highlights, and handle /correct a bit better.Emmanuel Gil Peyrot
2012-12-15Introduce a special "reverse" value for the COLOR_HIGHLIGHT_NICK theme option.Florent Le Coz
If COLOR_HIGHLIGHT_NICK = "reverse", the highlight nick will be in reverse mode. fix #2165
2012-12-07Add a new show_timestamps option to hide/show timestamps in text buffers.Florent Le Coz
2012-11-17Fix the history numbers when re-joining a roommathieui
the <history/> element had a xmlns="" instead of the proper namespace.
2012-11-11Preload history into discussion windows (à la mcabber)mathieui
- New option load_log defaulting to 200 to indicate the number of lines to be loaded - It’s still very raw, and the format of the message does not match the format of the normal room history, for example - Works in the Private chat, MUC, and Conversation tabs Thanks to labedz <github@labedz.org> for the original code
2012-10-12When a message is corrected, display it correctly in place of the previous one.Emmanuel Gil Peyrot
2012-05-17Use a different theme variable for the /me messagemathieui
2012-05-17Add a way to review room highlights - Fixes #1673mathieui
This new features is available with M-p and M-n (previous/next). It saves the last highlight viewed, meaning that if you scroll in the buffer, M-n or M-p will take you to the next or previous hl compared to the one before you started scrolling. For convenience, going to the previous highlight of the first highlight will take you to the bottom of the buffer, and going to the next highlight of the last highlight will do *the same*. If there are several highlights in one message, only the first line will be considered a highlight.
2012-01-26Make the color for information messages themableFlorent Le Coz
2012-01-26Display colors for /me messages in a better way.Florent Le Coz
2011-11-25Fix something with /me etc.Florent Le Coz
2011-11-25Use the nick color for the “*” char in /me messages.Florent Le Coz
2011-11-25/me now works in all chatabsFlorent Le Coz
fixes #2302
2011-11-06Fix a remaining crash from the Room class deletion.Florent Le Coz
2011-11-06Remove the Room class. fixes #2122Florent Le Coz
2011-09-21Handles 256 colors, easier theming and more flexible way to define colorsFlorent Le Coz
Doesn’t run yet if term doesn’t support 256 colors, I know (thus the branch "256")
2011-09-11Fix an issue that breaks the message display if it contains \tFlorent Le Coz
2011-09-11Change license to zlib (MIT sucks :()Florent Le Coz
2011-09-09Make it work. MAY segfault. Need intensive testing.Florent Le Coz
Should be A. LOT. FASTER. though.
2011-09-08c code that doesn’t workFlorent Le Coz
2011-06-25Fixed a stupid crash caused by mathieui. Shame on him.Florent Le Coz
2011-04-16Make the information messages "pop" the information buffer temporarlyFlorent Le Coz
2011-03-31Fix a crash on normal messages, and add colors to information messagesFlorent Le Coz
2011-03-29Messages in text_buffer should not be colored when theyFlorent Le Coz
have no nickname
2011-03-29Message and complete words can now be colored even if theFlorent Le Coz
take more than one line to be displayed.
2011-03-29Change how colors are handled. With \x19x etcFlorent Le Coz
Should work like before and be a little lighter on the RA
2011-03-21Use namedtuples instead of dict, this should GREATELY lower the memory footprintFlorent Le Coz
2011-03-09Avoid stupid traceback on normal messageFlorent Le Coz
2011-03-09Some optimizations in build_new_message. Also cleaned up. Added an optimized ↵Florent Le Coz
way to do "wcswidth(string) > n": wcsislonger. And should use less memory because the dict replacing Message and Lines object stores ONLY the needed attributes.
2011-02-14Make the number of lines and messages kept in memory configurableFlorent Le Coz
and lower (a lot) the number of lines kept in the info_win buffers This lower the memory usage.
2011-02-13Make the tab collectable by remove self references when closingFlorent Le Coz
them.
2011-01-05correctly displays a message in ConversationTabs when a resource goes offlinelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2011-01-01update copyright datelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-31remote nickname is colored in ConversationTablouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-15fix the ---- that I just brokelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-15HUGE performance improvement on refresh. fixed #1855louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-11-15a few renamings, and some other stufflouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-10-04update e-mail address and READMElouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-09-14complete refactoring of the ui. Everything is now very modulable. Little ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
info win added at the bottom. Roster is ready to be implemented.