summaryrefslogtreecommitdiff
path: root/src/windows.py
AgeCommit message (Collapse)Author
2013-01-21Break the ugly roster refresh loop into twomathieui
- The code is more understandable - The number of iterations may have slightly increased - Less things are done inside the lock, so the overall experience should be smoother
2013-01-11Improve the xml tabmathieui
fix refresh bugs, display the scrolling status, add an info bar, add the global info win
2013-01-02Fix a traceback with correctionsmathieui
2012-12-30Typomathieui
2012-12-30Fix #2189 Fix #2139 - Make /correct work properly in all chat tabsmathieui
#2189 wasn’t crashing, but well. Also fix a crash with the separator and /correct
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-15Make /w command better.Florent Le Coz
fix #2185
2012-12-15In user lists, the upper line is now the upper most person.Florent Le Coz
This means you cannot scroll too high. fix #2180
2012-12-15Fix the position of the ++ indicator in muc user list when asc sort is in use.Florent Le Coz
fix #2181
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-15Do not use COLOR_HIGHLIGHT_NICK for things not related to highlighted nicks.Florent Le Coz
2012-12-13bugfix: count roster list length by real listed item and not count filtered ↵Łabędź
items bugfix: use cache table of roster (created on every refresh) to get selected row object, fixing bad row selecting when jumping over group (was changing pos variable and not selected_row while moving to next contact after group)
2012-12-07Add a new show_timestamps option to hide/show timestamps in text buffers.Florent Le Coz
2012-11-30Add a hide_user_lits option that does what it says.Florent Le Coz
fix #2170
2012-11-22Make the search usable againmathieui
- Disable the history when searching - → allow moving the cursor around to select a contact when searching - fix refresh issues
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-14Correctly use MORE instead of PLUS.Florent Le Coz
2012-10-13Fixes #2374 (Crash on " " in the MUC list)mathieui
- Also fixes arefresh issue (up&down keys didn’t refresh the win) - Rework the style of the Columns a bit (was 2-spaces indent & trailing spaces)
2012-10-09Send a real \t when pasting a text containing tabs.Florent Le Coz
2012-09-26Rewrite the tab number handlingmathieui
- Now the tab number is computed instead of assigned and fixed - Added tabs.GapTab to keep the old behaviour - Added a create_gaps option, defaults to true (may change in the future) - If there are gaps before using /set to change the option to false, they will be removed. (this is a preparation for the move_tab command)
2012-08-06Add a common.safeJID function, and use it everywheremathieui
2012-08-05Should fix most tracebacks due to the new sleek versionmathieui
(sleekxmpp added JID validation, which means that JID(something) now raises an exception if the jid is invalid, instead of failing silently and having JID('') as a default)
2012-08-01Add a roster_group_sort option, which works like roster_sortmathieui
- defaults to "name" (sort by group name) - document it - also, micro-optimize get_nb_connected_contacts()
2012-07-31Add a roster_sort option to sort the contacts inside the roster groupsmathieui
- defaults to jid_show (which means that they are sorted into sub-groups by show and are sorted by JID inside those) - See the default config file or the documentation for details
2012-07-26Change how scrolling is donemathieui
- All functions involved return a boolean, and the core function use that value to determine if a refresh is needed or not. (avoids useless refreshs) - Scrolling with PGUP/DOWN on the roster now only does _one_ action, an not a range corresponding to the screen size (should be way faster)
2012-07-19Remove the shell_completionmathieui
- completion is normal with no way to change it (shell_completion was buggy) - remove it in the default config and in the doc too
2012-07-03Add a new color to the theme, for the warning promptmathieui
- Currently only used by the SSL checking prompt - fg: black ; bg: red ; bold
2012-05-24Truncate everything in the roster if needed.mathieui
Group names, resources jids, and bare jid/roster name combinations are now truncated if they are bigger than the window size. If there is a resource (for a contct) or a number of online contacts (for groups), it will still be displayed at the end of the line.
2012-05-17Do not add a '…' if the nick has the exact same size as the limitmathieui
2012-05-17Add a shortcut to go to the first unread message (separator) with M-pmathieui
2012-05-17Fix a crash if there are no messages in the roommathieui
2012-05-17Resolves separator persistence problems - Fixes #2073mathieui
Now we have to pass the textbuffer object when we want to add a line separator.
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-05-05Fix some completionsmathieui
2012-04-27Prevent some iteration problemsmathieui
2012-04-27Roster update: Merge branch 'master' of https://git.louiz.org/poeziomathieui
Conflicts: src/core.py src/tabs.py
2012-04-27Necessary modifications for the API changemathieui
2012-04-19Add a show_roster_jids optionmathieui
2012-04-19Show the current status in the ContactInfoWinmathieui
2012-04-18Add new options use_tab_nicks, show_tab_numbers, and show_tab_namesmathieui
(thanks gio)
2012-04-18Quote everything that is completed by default, except commandsmathieui
2012-03-08Validate the SSL cert using the TOFU (Trust On First Use) modelmathieui
2012-02-25Second and third of #2336mathieui
2012-02-15Merge branch 'master' of https://git.louiz.org/poezioFlorent Le Coz
2012-02-15Add an option to configure the max nick lengthFlorent Le Coz
2012-02-14Fixes #2303 (add user_list_sort option)mathieui
2012-02-14Add 'joined' tab state, and rewrite the function handling the prioritiesmathieui
2012-01-25Fixes #2316mathieui