Florent Le Coz
6597d83355
Merge branch 'master' into plugins
2011-11-06 16:00:41 +01:00
mathieui
bf9857b782
Fixes mostly #2285 (no more crashes), but as for why we get an iqerror
...
when trying to get the version from a full jid……
2011-11-06 15:46:52 +01:00
mathieui
fbb465a092
Fixes #2284
2011-11-06 14:18:45 +01:00
mathieui
12850ed062
Use Tab.state proxy everywhere, also, use the right color on private
...
message
2011-11-06 03:57:43 +01:00
Florent Le Coz
e3477d7db8
Remove the Room class. fixes #2122
2011-11-06 03:31:47 +01:00
mathieui
e6797c29a5
Smaller means being insane, and even then, it should’nt bug too much
...
Fixes #2259
2011-11-06 00:15:38 +01:00
mathieui
25fb35d7e1
Things related to priority, fixes #2266 (imo)
2011-11-05 22:12:03 +01:00
mathieui
3f08e235a1
Fix some chat states problems (e.g. /dnd sending inactive)
2011-11-05 21:10:16 +01:00
mathieui
4a8ef77839
Partial fix to #2266 and #2255 (removes the idea of "color state" and
...
adds state, that are computed to the current theme color)
2011-11-05 19:35:24 +01:00
mathieui
9d64bd1398
Remove aliases to /status
2011-10-29 17:46:45 +02:00
Florent Le Coz
21f0c8f3f3
Fix the url matching in the link plugin
2011-10-29 17:20:18 +02:00
Florent Le Coz
0451127ff8
Merge branch 'master' into plugins
2011-10-29 07:20:10 +02:00
Florent Le Coz
881de6a7c0
add get_conversation_messages for the plugin API
2011-10-29 07:05:19 +02:00
Florent Le Coz
cb2796abc5
Add a \n when writing the command to the fifo
2011-10-29 07:03:49 +02:00
Florent Le Coz
f8fcf6696d
Remove any mention of “coucou”
2011-10-29 05:14:05 +02:00
Florent Le Coz
7e16ffd9e0
Remote execution.
...
We can use a fifo to write command, and execute them on the local
machine by running a simple daemon.
2011-10-29 05:11:30 +02:00
mathieui
14702b1806
Fixed some typos
2011-10-11 23:04:40 +02:00
mathieui
be2d66f8a2
Fixed #2268
2011-10-09 19:54:13 +02:00
mathieui
ed87f26db7
Added a connect() function to the plugins API, for internal event
2011-10-01 23:48:42 +02:00
Florent Le Coz
deea31d9b7
merge missing changeset from default into plugin, so both branches are up to date
2011-09-29 00:25:01 +02:00
Todd Eisenberger
7b8a860de9
Fix loading already loaded plugins
2011-09-27 10:14:18 -07:00
mathieui
ff3c40c5b4
Fixes a bug when the user leaves a MucTab, goes to a privatetab and /join with no args
...
(it joined the muc, but did not open a new tab)
2011-09-26 10:40:04 +02:00
Florent Le Coz
47c052acf4
Add a send_message() function for plugins
2011-09-25 21:15:00 +02:00
mathieui
c427ce7ac0
Remove /pubsub command
2011-09-25 20:30:23 +02:00
Florent Le Coz
c80022e816
merge default into plugins branch. So that branch is still up to date too
2011-09-25 20:12:43 +02:00
Florent Le Coz
674f151c38
Default theme is now ok, I think
2011-09-25 19:24:14 +02:00
mathieui
0f7ec35c97
Remove /pubsub command for the time being
2011-09-25 18:25:50 +02:00
Florent Le Coz
e718682c7f
That.
2011-09-25 15:33:05 +02:00
Florent Le Coz
0ee2194d3c
Backed out changeset e811b4e21013
2011-09-25 15:32:00 +02:00
Florent Le Coz
b5ce85869b
Forgot that…
2011-09-25 15:31:12 +02:00
Florent Le Coz
cac130e754
Autoload plugins
2011-09-24 23:44:52 +02:00
Florent Le Coz
eb096892a9
Completion for load and unload commands
2011-09-24 23:10:55 +02:00
Florent Le Coz
a9d2cf8ff2
make colors work with 3-digits color numbers
2011-09-23 22:50:14 +02:00
Florent Le Coz
b5beb9d8bf
Merge branch 256 into master
2011-09-23 21:31:18 +02:00
Florent Le Coz
e3b933445f
[teisenbe] first attempt at a plugin system.
2011-09-23 17:43:01 +02:00
mathieui
f34d3172a1
Fixes #2251
2011-09-21 17:44:41 +02:00
Florent Le Coz
700b11e42d
Handles 256 colors, easier theming and more flexible way to define colors
...
Doesn’t run yet if term doesn’t support 256 colors, I know
(thus the branch "256")
2011-09-21 00:52:03 +02:00
mathieui
f5258c2e92
Cycle on the disconnected tabs with M-e
2011-09-16 23:33:04 +02:00
mathieui
455a2746bc
Disable the pubsub.louiz.org browser
2011-09-12 20:21:32 +02:00
Florent Le Coz
96794a4e49
Change license to zlib (MIT sucks :()
2011-09-11 17:10:05 +02:00
Florent Le Coz
b7b1faebdb
merge
2011-09-11 04:22:04 +02:00
Florent Le Coz
1a485318bf
Fix a traceback when a contact not yet accepted goes offline
2011-09-11 03:32:54 +02:00
Florent Le Coz
e84cbf6ba5
Make the roster tab shine when someone added you in her roster
2011-09-11 03:29:27 +02:00
mathieui
78c216cd61
Added a help message for the first run
2011-09-10 16:41:47 +02:00
mathieui
62233527c5
Fixes #2215
2011-09-10 16:07:29 +02:00
Florent Le Coz
eb180ed52e
Add (optional) lazy resize, and also fix the screen becoming empty when resizing to a lower width.
2011-09-09 19:12:20 +02:00
mathieui
ff6f829e8d
Fixes #2235
2011-09-06 21:05:00 +02:00
mathieui
1fcc2ec83c
Fixed various things regarding privatetabs:
...
the room nick is used when it is not defined in the config file (was appearing as a message from the room itself)
connections/deconnections are now monitored (→ Fixes #2233 , and thus fixes #2211 )
2011-09-06 20:59:11 +02:00
mathieui
70c63691f8
An 'inactive' chat state is now sent to the current room when going away
2011-09-06 14:42:10 +02:00
Florent Le Coz
d41634d4ea
Change license to MIT
2011-09-06 02:45:53 +02:00
Florent Le Coz
a6932c688a
Add the /quit command
2011-09-06 02:30:19 +02:00
Emmanuel Gil Peyrot
12bcb9235f
Display the JID of an error sender. Fixes #2218 .
2011-08-12 21:24:28 +02:00
Florent Le Coz
c2ba5388a5
Fix a crash on missing completion for /bind
2011-07-18 22:22:13 +02:00
Florent Le Coz
956bda066b
PUBSUB: publish items on node, with a text editor
2011-07-11 02:23:45 +02:00
Florent Le Coz
0327e5aca3
[pubsub] use callbacks to make everything non-blocking.
...
And add an informative message in the top bar to know what just happened
2011-07-09 18:21:19 +02:00
Florent Le Coz
d9cc0aac4d
Merge these forgotten commits as well.
2011-07-04 22:54:38 +02:00
Florent Le Coz
3dbf9228d8
Merge that too
2011-07-04 22:48:40 +02:00
Florent Le Coz
1935f5ec23
Remove useless keyboard shortcuts
2011-07-03 02:40:28 +02:00
Florent Le Coz
606360e07c
/bind command
2011-07-03 02:24:56 +02:00
Florent Le Coz
a99257ad9a
Key bindings \o/
2011-07-03 02:06:40 +02:00
mathieui
5a5736bb3c
Fixes #2220 (that was hard)
2011-06-29 00:13:22 +02:00
Florent Le Coz
b470c7875f
Beep() on highlight/message/private-messages (configurable)
2011-06-27 22:01:57 +02:00
mathieui
306abbf974
Fixes #1736
2011-06-23 23:33:02 +02:00
Florent Le Coz
4e04c0bb7b
Fix receipt of private message. They were seen as comig from the room.
2011-06-23 02:29:34 +02:00
mathieui
7d6a03c9bb
/reconnect is too dangerous for retards
2011-06-21 17:17:42 +02:00
Florent Le Coz
283d06e3c2
Remove a useless refresh (that would make things a little slower)
2011-06-20 00:20:19 +02:00
mathieui
afab9e050f
Fixes bug #2183
2011-06-18 18:31:57 +02:00
Florent Le Coz
77a2165639
Handler error messages even when not comming from a room
2011-06-18 15:48:19 +02:00
mathieui
c51559b14f
Fixes #2209
2011-06-18 14:28:49 +02:00
Florent Le Coz
c93815737f
Empty roster on disconnect
2011-06-18 12:52:58 +02:00
mathieui
07ce4dcb10
Fix /connect (and renamed it to /reconnect)
2011-06-18 12:00:28 +02:00
Florent Le Coz
dd9186c72a
Fix the refresh of the muc info header on new messae
2011-06-15 23:33:29 +02:00
mathieui
c44e182a00
Remove InfoTab references
2011-05-29 16:29:38 +02:00
Florent Le Coz
e0fcaeac86
fixes #2153 Remove the anon-specific tab
2011-05-29 02:15:52 +02:00
Florent Le Coz
8021283e65
Fix some bug due to the new way chars are returned
2011-05-29 02:07:30 +02:00
Florent Le Coz
0db064fdf7
Merge, whatever
2011-05-29 00:35:47 +02:00
Florent Le Coz
8d3053bd93
fixes #2164 . Restore multiline messages on paste of big text. That’s now faster and works ~100% of the time (no more message cut in two part for no reason, I think)
2011-05-29 00:35:11 +02:00
mathieui
67881b9779
Fixes #2179
2011-05-28 23:51:58 +02:00
Florent Le Coz
2f0015c631
Fix arguments for /status command
2011-05-19 20:45:14 +02:00
Florent Le Coz
5aff41b69b
Fix the argument split issues
2011-05-19 20:38:12 +02:00
mathieui
423a7d1447
Fixes #2177 , and fixes chatstates a bit
2011-05-14 15:45:30 +02:00
mathieui
c55f199143
fixes #2171 , fixes #2173 , also set a minimum size (< 5 lines crashes poezio when resizing)
2011-05-14 01:21:59 +02:00
mathieui
bf5599d4d0
fixes #1995 (hopefully google will fix their server, one day…)
2011-05-13 21:00:39 +02:00
mathieui
ec1aef198b
Fix #2170
2011-05-13 20:34:19 +02:00
mathieui
03a691c4d1
Fix #2176 , and remove useless stuff added by 2to3
2011-05-13 20:19:10 +02:00
mathieui
c631673cf3
should fix #2161 , and enable xhtml-im while in debug
2011-05-11 14:33:22 +02:00
mathieui
6e58f88d05
Fix the /version command in mucs (and globaaly) & improve shlex parsing
2011-05-10 00:47:41 +02:00
Florent Le Coz
4b932d3a87
Do not dispaly information message about the contact that were already connected at the moment we got logged in.
2011-04-18 03:42:10 +02:00
Florent Le Coz
d913e71513
Refresh optimization on chatstates
2011-04-18 03:34:51 +02:00
Florent Le Coz
3aa6e891a5
Add some more debug and optimze the general refresh again
2011-04-18 03:07:28 +02:00
Florent Le Coz
da76355af0
Remove the paused timed event when we send the message
2011-04-17 15:49:38 +02:00
Florent Le Coz
cd623aef58
Litter bug on roster presence
2011-04-17 13:55:34 +02:00
Florent Le Coz
bf2bd33bd3
Idem
2011-04-16 22:55:30 +02:00
Florent Le Coz
1c4867b180
Fix some refresh issues
2011-04-16 22:03:11 +02:00
Florent Le Coz
3711c258a8
Optimize refresh by doing only when strictly required and on the concerned part of the screen.
...
Also remove the \n at the end of /info when status message is empty
2011-04-16 21:46:07 +02:00
Florent Le Coz
9889baf0ce
Make the information messages "pop" the information buffer temporarly
2011-04-16 18:07:14 +02:00
Florent Le Coz
72ec428320
Ignore messages with empty body. fixed #2144
2011-04-10 14:19:18 +02:00
Florent Le Coz
a6c56682b7
Implement paused chate state. fixed #2124
2011-04-10 03:52:46 +02:00
Florent Le Coz
35b6e146cb
Basic timed event implementation.
2011-04-09 22:18:36 +02:00
Florent Le Coz
27a20b349c
Have a timeout in read_char to enable timed events
2011-04-08 16:36:00 +02:00
Florent Le Coz
ce5d67d8f6
Alt+ a number returns to the previous tab if we are already on tab “number”.
...
Kassdédi mrk
2011-04-05 20:51:35 +02:00
Florent Le Coz
f4c138e444
Save the last presence. Fix #2133
2011-04-05 05:27:52 +02:00
Florent Le Coz
63e4833b09
Fix a crash on normal messages, and add colors to information messages
2011-03-31 00:36:15 +02:00
Florent Le Coz
51cebe7bdc
Remove the xhtml-im that was inserted for debug, add the start of a method to enter attributes in Inputs, convert \n to <br /> in xhtml_im bodies and put that body in a <p> element
2011-03-29 21:07:53 +02:00
Florent Le Coz
ba02b51554
Convert html markup received in xhtml_im elements to poezio colors
...
and use that as the body
2011-03-29 20:36:02 +02:00
Florent Le Coz
c2cb61da06
Cleanup some code not used anymore
2011-03-29 14:15:02 +02:00
Florent Le Coz
dcd29c636f
Change how colors are handled. With \x19x etc
...
Should work like before and be a little lighter on the RA
2011-03-29 12:44:19 +02:00
Florent Le Coz
a2abc116e5
Jump the space on /message JID blabla command
2011-03-27 14:40:29 +02:00
Florent Le Coz
2d81b7407b
Alt+J
2011-03-20 03:32:48 +01:00
Florent Le Coz
902cfd9056
Little mistake
2011-03-20 02:44:51 +01:00
Florent Le Coz
56cbdaacb6
Alt+x where x is a number
2011-03-20 02:42:29 +01:00
Florent Le Coz
cba3adcced
Command connect, to reconnect if needed. Fixed #1149
2011-03-20 01:46:44 +01:00
Florent Le Coz
6e14fce61f
/version <jid> command
2011-03-15 23:40:54 +01:00
Florent Le Coz
e06b8baa52
Remove the avail command, since /ava[TAB] is even shorter than that.
2011-03-13 14:22:20 +01:00
Emmanuel Gil Peyrot
e178924c1f
Remove the /show command and map /away, /avail, etc. to /status.
2011-03-11 22:10:37 +01:00
Florent Le Coz
1a2252b3e5
Have a single TextWin in common for each tab, reducing the needed memory, and simplifying its resize (F7 and F8 stuff)
2011-03-08 04:20:46 +01:00
Florent Le Coz
8f48c5ede7
Inputs are garbage collected, making MucListTab collectable.
...
Memory improvement issues.
2011-03-07 21:41:13 +01:00
Florent Le Coz
b6a5ed7286
very little cleanup
2011-03-07 20:11:47 +01:00
Florent Le Coz
83fbf8dae1
Move a lot of muc-only-related stuff insid the MucTab class
...
instead of core.
May break some stuff, maybe
2011-03-05 22:39:35 +01:00
Florent Le Coz
fb40ac54fc
Kind of big cleanup.
...
Core and Connection classes are now used as singletons, we do not need to pass them to each Tab and Win. This remove a lot of arguments to varius methods.
2011-03-05 21:42:56 +01:00
Florent Le Coz
9c291d1368
fixed #2117 Fix tracebacks: remove traceback handler.
2011-03-03 03:43:48 +01:00
Florent Le Coz
40426cb715
Avoid a blink at startup with a stupid hack…
2011-03-03 03:24:04 +01:00
Florent Le Coz
8be400792a
Fix a tb when receiving the first private message of a conversation
2011-02-25 00:38:34 +01:00
Florent Le Coz
001a20c91a
Display chatstates in the user list in MucTabs
2011-02-24 21:56:16 +01:00
Florent Le Coz
cccbad13d5
end and handle chatstates in privateconversations
2011-02-24 21:39:49 +01:00
Florent Le Coz
3f41cc8967
Refresh the tab when we receive a chat state
2011-02-24 20:31:34 +01:00
Florent Le Coz
1d2bb35f3b
Pass the message too
2011-02-24 20:16:35 +01:00
Florent Le Coz
138b17cdb3
In normal conversations: Send composing and active chat states
...
and display the state of the remote contact
2011-02-24 20:02:18 +01:00
Florent Le Coz
8aede04f5b
Fix the info_win of the InfoTab (anon mode)
2011-02-16 02:54:02 +01:00
Florent Le Coz
b707696b46
Ctrl+Shift+left and right switch to the previous/next tab
2011-02-15 20:44:31 +01:00
Florent Le Coz
83e52d55f2
/message command. Fixed #2106
2011-02-15 16:22:25 +01:00
Florent Le Coz
68c468b1a9
Remove the resize timer etc, because the resize process
...
is waaaaaay faster now.
2011-02-15 15:27:30 +01:00
Florent Le Coz
68f784e5c2
Make the resize faster by resizing each tab
...
only at its next refresh
2011-02-15 15:20:34 +01:00
Florent Le Coz
ac99467965
Make the tab collectable by remove self references when closing
...
them.
2011-02-13 22:28:35 +01:00
Florent Le Coz
6ed087a65c
Fix /list completion (complete the servers only)
2011-02-10 16:18:17 +01:00
Florent Le Coz
30f9f2b055
Fix the /help command with commands of the current tab
2011-02-10 16:15:33 +01:00
Florent Le Coz
ffcf65ec43
/help completion
2011-02-10 16:13:28 +01:00
Florent Le Coz
ad7e9b749d
/win completion and fix the return values of other completions
2011-02-10 16:08:17 +01:00
Florent Le Coz
23fa745629
/show completion
2011-02-10 13:05:37 +01:00
Florent Le Coz
3dbb6590d3
Make the shell split do a normal split if the syntax is wrong
2011-02-10 12:39:15 +01:00
Florent Le Coz
d31f1390ad
update version to 0.7.5-dev and remove some debug
2011-02-09 20:42:57 +01:00
Florent Le Coz
399434c1ae
get_tab_by_name is safer now, by passing the type of the tab we want.
...
This avoid confusion between various tabs having an identical name (which
should not happen anyway…)
2011-01-26 23:43:07 +01:00
Florent Le Coz
b89a10bd05
Fix a traceback occuring when an (unknown) tab has a name corresponding to an existant MucTab.
2011-01-26 23:32:41 +01:00
Florent Le Coz
41e29926eb
Properly consider the size of the window on data-form tab
2011-01-26 05:01:16 +01:00
Florent Le Coz
f9cf0ac76d
/status also changes your presence in MUCs
2011-01-24 17:02:46 +01:00
Florent Le Coz
4a84691228
Handle correctly the banning of a muc participant
...
Fixed #2112
2011-01-23 23:01:53 +01:00
Florent Le Coz
333b80b5df
/status command. fixed #2110
2011-01-23 22:49:58 +01:00
Florent Le Coz
7c531eeec1
Fix on_user_join issue, and displays the jid if available on /info
2011-01-21 19:39:41 +01:00
Florent Le Coz
1b995e4bf0
Data form support.
...
supported yet:
text-single, text-private, list-single, boolean
The interface is really ugly, but, well, it works
2011-01-21 04:46:21 +01:00
Florent Le Coz
33c69df12b
/info command (to see user's affiliation, role, etc)
2011-01-17 16:25:15 +01:00