Commit graph

2444 commits

Author SHA1 Message Date
mathieui
28d928999d Fix #2297 (crash after resize)
wrap some curses calls with try/except block
2014-04-18 19:18:48 +02:00
mathieui
dc08adf605 Do not lock on the “composing” chat state with otr
might send too many stanzas when send_chat_states is false, but I don’t
care.
2014-04-17 20:39:01 +02:00
mathieui
71ae73ca7b Log part messages and show a leave message on /cycle 2014-04-17 00:02:19 +02:00
mathieui
214904f199 Change the formatting of join/part messages
also remove some hardcoded stuff
2014-04-16 23:07:00 +02:00
mathieui
a511d5a84d Document the create_gaps option
and sets the default value to false, to keep coherent with the code.
2014-04-15 23:05:33 +02:00
mathieui
a784216196 Fix #2440 (highlight composing tabs)
- add a show_composing_tabs option, default value: "direct"
- todo: find a nice different color for this
2014-04-15 22:57:44 +02:00
mathieui
80ebe9edc0 Fix the color of the message with /part
(it now uses the theme)
2014-04-14 22:59:40 +02:00
mathieui
3221534b0f Implement XEP-0249 (Direct MUC Invitations)
- fallback to mediated invitations if only the bare jid is given to the
  command or if the jid does not advertise support

TODO: provide a way to send passwords
2014-04-14 22:32:34 +02:00
mathieui
245f5f050c Fix #2422 (traceback in input) (also #2431)
now the scroll is made with 1/3 of the input size every time instead of
fixed offsets
2014-04-14 20:56:05 +02:00
mathieui
b884e6d6e2 Fix #2339 (put the more “important” users at the bottom in the userlist when configured)
(one-line fix, and the others are for reformatting imports to be consistent)
2014-04-14 19:51:56 +02:00
mathieui
e3859c2862 Do not load a plugin if its init() traceback
and show a somehow helpful error message in this case
2014-04-13 23:13:18 +02:00
mathieui
9c2203e7e3 Do not show the plugin unload on exit 2014-04-13 22:39:49 +02:00
mathieui
f809dffd8e Remove module-level code from the plugin manager as well 2014-04-13 22:38:25 +02:00
mathieui
165ee9ee1a Fix #2503/4 (use “.” as an alias for the current tab in /move_tab) 2014-04-12 02:59:49 +02:00
mathieui
f58dfe26af Only highlight the nick if it is not inside a word
thanks gio
2014-04-12 00:34:25 +02:00
mathieui
04aa6c8914 Fix #2428 (complete fulljids on /version in MUCs)
also clean up some newlines mess
2014-04-11 01:25:00 +02:00
mathieui
0847643b54 Fix #2421 (load and unload several plugins) 2014-04-11 00:55:42 +02:00
mathieui
d18fe6c477 Do not traceback when unable to read the config file 2014-04-11 00:43:22 +02:00
mathieui
a1b2055127 Fix #2500 (better “C’est toi le”)
Thanks, anonymous contributor
2014-04-10 19:34:26 +02:00
Florent Le Coz
e451041f05 make clean also removes the .so copied in src/ 2014-04-09 22:45:17 +02:00
Florent Le Coz
9ab0a6d12e Make clean removes the build directory containing the .so library 2014-04-09 22:41:28 +02:00
mathieui
d1609b97e4 Fix #2497/#2498 (/theme should return an error when loading fails)
It was actually doing that for old python version but not recent onces
2014-04-09 20:10:07 +02:00
mathieui
f165d3a4a0 Set display_user_color_in_join_part to true by default 2014-04-09 01:45:02 +02:00
mathieui
7803103891 Actually fix that bookmarks typo bug 2014-04-09 00:26:47 +02:00
mathieui
fe072a847b Fix the dark theme with the new “non-empty-input tabs”
that was ugly
2014-04-09 00:26:31 +02:00
Florent Le Coz
369034a64a Fix a forgotten "self." that caused alt+k to traceback 2014-04-08 23:40:01 +02:00
mathieui
c9b163a350 Update COPYING after 3 years 2014-04-07 02:00:33 +02:00
mathieui
1ce485c6fa Fix #2354 (logs are badly colored with xhtml history)
- now it should work properly
- add a COLOR_LOG_MSG theming option, used both for local and remote
  history
2014-04-07 01:25:30 +02:00
mathieui
53040305ce fix a wrong naming in the previous commit 2014-04-06 20:18:31 +02:00
mathieui
e216fd2112 Code cleanup
fixes whitespace issues, some builtin overrides, and some enormous lines

might make poezio run nanoseconds faster!
2014-04-06 19:58:57 +02:00
mathieui
218c71dfbf Do not instantiate the roster at module level
.
2014-04-06 17:30:52 +02:00
mathieui
e000466ab8 Do not instantiate the message logger at module level
.
2014-04-06 17:26:33 +02:00
mathieui
fe07016322 Do not instantiate the Config at module load
delayed execution is cleaner and less error-prone
2014-04-06 17:26:21 +02:00
mathieui
964e84e11b Fix room joining on muclisttab that was broken in the previous commit 2014-04-06 00:30:43 +02:00
mathieui
f405984f8d Always enable the cursor when we refresh an input
fixes some bugs when closing tabs that disable it
2014-04-06 00:19:36 +02:00
mathieui
7b446d9b4d Improve drastically the performance of the MucListTab
- avoid doing stringprep on every item, avoid at least one full copy
- add the number of items to the infowin
2014-04-06 00:15:01 +02:00
mathieui
7c7f9b2f47 Do not instantiate Keyboard at module-level 2014-04-05 21:42:27 +02:00
mathieui
8def5609d9 Remove the pubsub-related stuff from the main branch
as it is unused code anyway.
2014-04-05 17:57:45 +02:00
mathieui
587450939b Fix a bug introduced in ca0950d 2014-04-05 17:54:24 +02:00
mathieui
5b8c236daa Add the core module to the setup.py 2014-04-05 17:53:51 +02:00
mathieui
673788bf46 Split the Core class
Although the logic stays the same, and everything is put back together
in a single class.
2014-04-05 17:50:50 +02:00
mathieui
38061a6397 Improve /bookmark *
- /bookmark{_local,} * now keeps the order of the tabs, and puts the
  currently non-opened tabs at the end of the list.
- also fix a bug in remote bookmark saving
2014-04-05 14:19:22 +02:00
mathieui
d2de6236f2 Enable XEP-0198 (Stream Management) 2014-04-04 01:13:36 +02:00
mathieui
cbc805b6d5 Fix a hidden traceback on groupchat messages 2014-04-04 00:42:12 +02:00
mathieui
695877ba2b Do not log correction errors in the error log anymore 2014-04-04 00:25:46 +02:00
mathieui
ca0950db07 Remove unused imports
(thanks eijebong)
2014-04-04 00:24:16 +02:00
mathieui
b6d6070751 Update the ugly timestamp fixes for better DST detection 2014-04-03 01:33:59 +02:00
mathieui
ace9fc6661 Fix #1998, #2439 (reset chat state status) 2014-04-02 21:53:12 +02:00
mathieui
c9069ce623 Fix #2377 (send back unavailable presence on message from unknown room) 2014-04-02 21:40:58 +02:00
mathieui
52e6334c8c Fix #2340 (change tab priority when the input is not empty) 2014-04-02 21:33:17 +02:00