Commit Graph

8120 Commits

Author SHA1 Message Date
Yann Leboulanger 43f87899f8 [louizatakk] shell-like completion 2009-10-16 15:20:12 +02:00
Yann Leboulanger da955fd4da [hildjj] go away under windows too when screensaver is active. Fixes #4178 2009-10-15 19:51:49 +02:00
Yann Leboulanger 384283d2a4 find_library('c') return None under Windows 2009-10-15 19:43:10 +02:00
Yann Leboulanger 50aac85e88 remove our outgoing nickname color and status message color from gc_nicknames_colors 2009-10-14 16:31:42 +02:00
Stephan Erb 8bffd77a05 Merge local changes 2009-10-14 09:39:18 +02:00
Yann Leboulanger c59f4f7d73 show incoming and outgoing style in history window too. Fixes #5321 2009-10-14 08:40:28 +02:00
Yann Leboulanger bf298d4568 prevent traceback in upgrade function 2009-10-13 21:44:14 +02:00
Yann Leboulanger 1ae8339222 typo 2009-10-13 20:27:12 +02:00
Yann Leboulanger 166a70b48e update some colors. Fixes #5321 2009-10-13 20:05:45 +02:00
Yann Leboulanger d7a780e60a fix typo 2009-10-13 19:31:07 +02:00
Yann Leboulanger f18ede1c88 detect incoming MUC error presences from the ID. Fixes #5309 2009-10-13 19:26:56 +02:00
red-agent 6c2b658a9a Improved the lookup of the minimized control 2009-10-13 17:38:42 +03:00
Yann Leboulanger 2f1412050c [Xytovl] ability to configure font and colors of incoming / outgoing messages. Fixes #5311 2009-10-13 13:42:44 +02:00
Yann Leboulanger 997a8f8429 correctly get minimized room 2009-10-13 12:56:14 +02:00
Yann Leboulanger 970aa8c848 fix look in minimized_controls 2009-10-13 07:53:05 +02:00
red-agent 2367dda7c3 Fix for the autorejoin, to handle absent conferences 2009-10-13 00:46:06 +03:00
Stephan Erb 8aaee30f23 Merge with 5b124dac82e5ce6b3be2a3659bcbab12799e2220 2009-10-12 19:55:42 +02:00
Yann Leboulanger 8faf6d23c3 fix group renaming. Fixes #5316, see #4212 2009-10-11 21:54:40 +02:00
red-agent 86d0ad3cc3 Fix for the command argument constraints 2009-10-09 16:16:59 +03:00
Stephan Erb 5cea6334ef Move and rename xmpp_stringprep.py
It is more consistent to have this code closer to the xmpp protocol handling.
2009-10-08 18:24:21 +02:00
Yann Leboulanger ad0bb43793 [Dicson] Fix call to history manager 2009-10-08 17:51:49 +02:00
Stephan Erb 3fc9c10caa Remove old workarounds for Python 2.3. 2009-10-08 17:19:36 +02:00
red-agent 90c653b83a Fixed resource extraction from jid. Fixes #5310 2009-10-08 15:21:18 +03:00
red-agent 3ef8557a8e Tiny style fixes 2009-10-06 23:26:22 +03:00
Yann Leboulanger 416d2caf05 [waldteufel] stop generating zombies when playing sound. Fixes #5308 2009-10-06 21:35:48 +02:00
Yann Leboulanger 3a13f91162 prevent traceback 2009-10-06 21:27:40 +02:00
Yann Leboulanger 0d37f4f64b better session handling:
- when a new contact with higher prio connect, detach session from chat control. Fixes #5021
 - don't re-use a session that was for another sessin

Tests are more than welcome!
2009-10-06 17:35:25 +02:00
Yann Leboulanger 07277df1e2 [gotham] update default colors to be tangoified. see #5307 2009-10-06 11:41:32 +02:00
Yann Leboulanger 95047d3e50 add an enable checkbutton in accounts window for normal accounts too. Fixes #4489 2009-10-06 11:23:31 +02:00
red-agent 8d663c31c5 Yet another fix for the proccess renaming 2009-10-05 19:19:03 +03:00
red-agent 60bb2d0bdd Process name should correspond to the binary name 2009-10-05 17:33:50 +03:00
red-agent 563a2453ba Improved proccess renaming 2009-10-05 17:13:12 +03:00
Yann Leboulanger a6a9a647b2 add a checkbutton in join groupchat dialog to decide if we want to bookmark the room. Fixes #5245 2009-10-05 15:29:37 +02:00
Yann Leboulanger 4723194bca show message subject in chat history. Fixes #5185 2009-10-05 14:25:47 +02:00
Yann Leboulanger ea6c062b9a prevent a traceback when we get a wrong disco#info reply (a feature without a var attribute). Fixes #5232 2009-10-05 13:46:38 +02:00
red-agent e0dac306f7 Modified @documentation to not depend on order 2009-10-05 12:55:34 +03:00
red-agent b7ed152624 Added ignore/unignore aliases for block/unblock 2009-10-04 22:11:19 +03:00
red-agent d7e4ab3eb7 A workaround to make commands documentation easily translatable
Though I consider this a major regression, as using doc-strings is a much
cleaner and better solution. It requires not that big scaffolding to support it,
but some of Gajim developers think otherwise.
2009-10-04 20:43:51 +03:00
red-agent aea0508221 Code style fix 2009-10-04 19:56:07 +03:00
Yann Leboulanger c6dd2d6666 really check if we press control when we check for Ctrl+h or Ctrl+i in roster 2009-10-04 18:12:04 +02:00
Yann Leboulanger 616125d95e [praveen & I] ability to Ctrl+ H / I in roster to show history or information dialog of a contact. Fixes #5301 2009-10-04 11:28:20 +02:00
Yann Leboulanger c9d702b5cd [Vasily] fix indicator usage. Fixes #5271 2009-10-03 23:29:11 +02:00
Thibaut GIRKA b2b8ac4b76 Connect only if user accepts, move jingle detection to 'update_toolbar'
This allows jingle availability to be updated if contact sign in/out.
This patch will also wait for user acceptance before connecting.
This will, among other things, ensure that audio/video state won't be set to
JINGLE_STATE_CONNECTING while the connection is already up.
2009-10-03 22:40:12 +02:00
Yann Leboulanger b6d7cb992f remove some useless len() call 2009-10-03 09:38:13 +02:00
Yann Leboulanger 202d7861dd restore some commented code 2009-10-03 09:32:11 +02:00
red-agent 247a92b527 Fixed the build system for the reworked version of the command system 2009-10-03 00:10:30 +03:00
red-agent 958d937d5c Dropped in the reworked version of the new command system
The reworked version has refactored and simplified architecture, which also
involves simplified dispatching.
2009-10-02 23:57:11 +03:00
Yann Leboulanger ca127b8d31 fix printing HTML messages. Fixes #5298 2009-10-02 17:57:17 +02:00
Yann Leboulanger b954492bc2 fix typo 2009-10-02 17:18:36 +02:00
Yann Leboulanger 93e9d72dd5 don't show RIE dialog when we already have all proposed contacts. Fixes #5299 2009-10-02 17:05:04 +02:00
Yann Leboulanger 7e79f710e8 acknoledge rosterx messages 2009-10-02 16:54:33 +02:00
Yann Leboulanger 5406f8b49c improve connection time to muc. 2009-10-02 16:47:42 +02:00
Yann Leboulanger 6781600942 add a graphics optio nto all print text function to not display emoticons and latex formulas in nicks. Fixes #4651 2009-10-02 16:28:51 +02:00
Yann Leboulanger 887b8d31b2 don't show empty RIE requests. Fixes #5299 2009-10-02 14:58:47 +02:00
Thibaut GIRKA 01d7be2d61 merge default branch to jingle 2009-09-29 20:49:40 +02:00
Yann Leboulanger da398aa418 coding standards 2009-09-29 16:31:36 +02:00
Yann Leboulanger 4cfd56a69b add a workarround for backward compatibility about esession. see #4396 2009-10-01 22:17:19 +02:00
Yann Leboulanger 678e3807e9 [Mattj & Florob] fix canonicalize function to prevent having twice xmlns in the attributes. Fixes #4396 2009-10-01 19:13:52 +02:00
Yann Leboulanger c5b60e8df5 don't allow to check "enable e2e encryption" when enable_esessions is False. Fixes #5295 2009-10-01 09:51:10 +02:00
Yann Leboulanger c31d3e526a stop sending chatstates when remote server doesn't respond anymore. Don't acknoledge error message receipes. Fixes #4064 2009-10-01 09:41:46 +02:00
Yann Leboulanger 3802e01bba [Florob] fix module name for sha256. Fixes #5297 2009-10-01 08:26:08 +02:00
Yann Leboulanger a3e80d2c76 [Florob] handle new error code in groupchat. Fixes #5285 2009-09-30 17:21:58 +02:00
Yann Leboulanger 3afea608e2 use python sha and hmac built-in modules rather than those in python-crypto. Fixes #5294 2009-09-30 17:02:51 +02:00
Yann Leboulanger a9c7731cbb don't use same var for different things in the same function! Fixes #5235 2009-09-29 14:52:25 +02:00
Yann Leboulanger c2e15ae9d2 prevent traceback when closing single message window. Fixes #5292 2009-09-29 13:51:20 +02:00
Yann Leboulanger 4d8454a242 request bookmarks via XML if server announce it supports pubsub but doesn't answer in the next 30 seconds. Fixes #5198 2009-09-29 11:08:42 +02:00
Thibaut GIRKA 10a6b0683c Second typo corrected... I need to sleep... 2009-09-28 22:31:28 +02:00
Thibaut GIRKA b4d2227662 Fixed a typo ; Prepared tie breaking and content-info handling 2009-09-28 22:23:48 +02:00
red-agent c5b63d948d Fixed a bug with a raw commands 2009-09-28 08:20:24 +03:00
Thibaut GIRKA 85195e99ad workaround for psi, little fixes... 2009-09-27 22:56:09 +02:00
Yann Leboulanger a8cd67706b merge bug 4212 branch 2009-09-27 11:52:51 +02:00
red-agent 4112dcd538 Fixed the duplication of input history 2009-09-27 12:32:57 +03:00
Thibaut GIRKA e141d7875a Don't send audio/video data before session acceptance. 2009-09-26 23:07:09 +02:00
Thibaut GIRKA 5a1a36e348 Fix somes issues with content-add/content-accept/session-accept, and other things. 2009-09-26 21:55:43 +02:00
Benjamin Richter 7378efcb21 Improve group renaming efficiency. Fixes #4212 2009-09-26 20:23:59 +02:00
Thibaut GIRKA b5c7519740 A little fix with content acceptance ; modified a bit JINGLE_DISCONNECTED 2009-09-26 14:14:58 +02:00
Yann Leboulanger db4f73f058 fix indentation 2009-09-26 13:16:48 +02:00
red-agent 36a3db5e29 Tiny code style corrections 2009-09-26 13:44:08 +03:00
Thibaut GIRKA 08b7f18f50 Fix content reject 2009-09-26 12:31:56 +02:00
Thibaut GIRKA 62d6f408c2 Merge the commits I've made yesterday with asterik's ones 2009-09-26 12:25:36 +02:00
Thibaut GIRKA 193f2613a9 Rewritten contentAddCB in order to ask the user about new contents 2009-09-26 12:22:41 +02:00
Yann Leboulanger a8eedfc781 ability to accept contents and not only session 2009-09-26 10:29:08 +02:00
Thibaut GIRKA 011f4fe142 Auto-accept contents we have created (it would make no sense to refuse it...) 2009-09-25 23:52:39 +02:00
Thibaut GIRKA a8bccebfb7 Added approve_content and decline_content methods.
A content has now to be accepted (user-side) before {content,session}-accept
2009-09-25 23:05:14 +02:00
Yann Leboulanger 5f70d6b78e use a str instance instead of a xmpp.JID instance 2009-09-25 20:41:22 +02:00
Yann Leboulanger 20755acedc fix typo 2009-09-25 20:40:53 +02:00
Thibaut GIRKA 77541f3e7f support for content-{add,reject,accept}, new helpers, and other few things 2009-09-25 19:32:13 +02:00
Benjamin Richter 568e1edd1e Improved handling of RTL nicknames in roster. Fixes #4293
If the number of connected resources is appended in parentheses,
the appropriate ltr or rtl mark is inserted before, so that the
writing direction at the end of the nickname matches the writing
direction of the whole displayed string as determined by
http://www.unicode.org/reports/tr9/#The_Paragraph_Level
2009-09-25 17:11:38 +02:00
Yann Leboulanger a051d1ec95 initialize var before they are used 2009-09-25 15:47:43 +02:00
Yann Leboulanger a57448d083 fix some missing things in video GUI 2009-09-25 15:29:22 +02:00
Yann Leboulanger 32965a948e new GUI to start audio and video sessions. TODO: ability to add/remove audio/video content to an existing session 2009-09-25 13:52:44 +02:00
red-agent cca6cfe17b Keep the code consistent 2009-09-24 01:28:35 +03:00
Yann Leboulanger 245c3f12d4 don't remove a file before renaming under windows because os.remove('test') will remove 'TEST' under window. Fixes #5279 2009-09-23 22:27:52 +02:00
Yann Leboulanger cb1fccca7c fix /join command to use the same account as the one we're connected in the current room. 2009-09-23 21:35:27 +02:00
Yann Leboulanger 70e145a827 fix traceback preventing showing ALT text of an image. Fixes #5247 2009-09-23 19:07:58 +02:00
Yann Leboulanger 4db1d2738c process links and latex in HTML messages. Fixes #5053, #4539 2009-09-23 19:04:12 +02:00
Yann Leboulanger e8e2b219ba add a interface.run() function to really start Interface 2009-09-23 18:54:35 +02:00
Yann Leboulanger 17f17267ea call gtk.gdk.window.focus() with current timestamp rather than 0. This fixes some WM issues. 2009-09-23 17:35:42 +02:00
Yann Leboulanger abba30b439 Totem now uses MPRIS API. Fixes #4705 2009-09-23 16:43:31 +02:00
Thibaut GIRKA d7560ed764 My last commit was useless... now terminate the session if the connection fails 2009-09-22 22:33:00 +02:00
Yann Leboulanger 40160ecdc2 ignore when dropping file on a contact that doesn't support file transfer. Fixes #4058 2009-09-22 08:21:01 +02:00
Yann Leboulanger 80e4d0a36d disable Ubuntu indicator support. see #4942, Fixes #5271 2009-09-21 21:36:04 +02:00
Yann Leboulanger 086469a594 [g.livid] fix xfce4 notifd usage with git version of notifyd. Fixes #5280 2009-09-21 21:31:40 +02:00
Yann Leboulanger 6124a60b8f don't fail when we get chat / normal messages from a room_jid. Fixes #5276 2009-09-21 21:22:57 +02:00
Thibaut GIRKA a4e019ee7e Last time, I removed something I shouldn't have... 2009-09-20 22:41:17 +02:00
Yann Leboulanger 40199e359c farsighr module is now optional. Fixes #5278 2009-09-20 20:46:03 +02:00
Yann Leboulanger d89abc9195 prevent traceback when enabling Tune. Fixes #5277 2009-09-20 20:19:31 +02:00
Thibaut GIRKA c162780a58 coding standards, and other few things 2009-09-19 17:24:59 +02:00
Thibaut GIRKA 6b99db8980 merge default branch to jingle 2009-09-19 16:35:47 +02:00
Thibaut GIRKA 5503c80e2a fix some erros from my last commit, fix conditions for session initating and acceptance 2009-09-18 20:17:35 +02:00
red-agent 89bfa782dc Gajim's build system is a little bit funky. Fixes 5274 2009-09-18 18:45:08 +03:00
red-agent 8ae6679fe8 Added the new command system to the build system 2009-09-18 17:32:27 +03:00
Thibaut GIRKA bd9d793ad8 send messages to the gui, wait for codecs, and other things
JingleSession now sends messages about errors or session terminating to the GUI.
Another thing is that it'll wait for all transports candidates and all codecs to be ready before
starting or accepting a session. This is required by video, which is only missing a GUI. :)
2009-09-17 23:36:26 +02:00
red-agent 030738db2d Merge the new command system in 2009-09-17 23:22:48 +03:00
Yann Leboulanger f5b1c2dca7 improve GUI for jnigle 2009-09-17 22:21:06 +02:00
red-agent e0e4dd6c31 A bunch of fixes for the command completion 2009-09-17 19:06:38 +03:00
Yann Leboulanger 12baddbdc3 start of GUI stuff for VOIP 2009-09-17 14:48:15 +02:00
Yann Leboulanger b6481d54ea [Jonathan Michalon] Make latex images theme aware. 2009-09-17 13:54:20 +02:00
red-agent 39eef45bca Command auto-completion along with some fixes 2009-09-17 13:25:25 +03:00
red-agent 90d378941b Fixed arguments check in raw commands 2009-09-17 11:36:47 +03:00
red-agent 91e28d0ed9 Removed the command that was accidently commited 2009-09-17 11:24:58 +03:00
red-agent 684662c15d Few fixes for the command system 2009-09-17 09:03:57 +03:00
red-agent 1a327414ca Moderate refactoring and parser/adapter enhancements 2009-09-17 04:38:39 +03:00
Thibaut GIRKA 163b01e113 New class for video sessions, added an end_session method, and minor changes 2009-09-16 22:35:11 +02:00
Thibaut GIRKA 8b4cd1b368 Fixed two more or less fatal mistakes from my last commit 2009-09-16 21:21:08 +02:00
Yann Leboulanger 11c7de6c34 coding standards 2009-09-16 20:41:12 +02:00
Yann Leboulanger 4e4a91dbe1 prevent traceback. Fixes #5269 2009-09-16 16:14:03 +02:00
Thibaut GIRKA af44ee0840 Moved things to JingleRTPContent, start pipeline earlier
Some methods of JingleVoIPContent have been moved to JingleRTPContent, in prevision of a video content class.

The pipeline now starts in setupStream, and the stream's direction is changed when the stream is ready.
2009-09-16 13:55:54 +02:00
red-agent 4dae0bde44 Removed unused code 2009-09-15 23:40:29 +03:00
Yann Leboulanger 709dba715a global option alwaysauth become a per-account autoauth option. Fixes #5264 2009-09-15 22:26:42 +02:00
red-agent 6630d88c08 Fixed a bug in the nick command 2009-09-15 22:59:48 +03:00
red-agent 10a0867e59 Enhanced command arguments parser/adapter 2009-09-15 22:57:01 +03:00
Yann Leboulanger ebe93d25ff fix memory leak with gtkspell. Fixed #2025 2009-09-15 21:19:38 +02:00
Yann Leboulanger da29844342 [Dicson] fix typo. Fixes #5267 2009-09-15 19:49:56 +02:00
Yann Leboulanger 651e801334 correctly change the resource of a control. Fixes #5261 2009-09-15 17:41:47 +02:00
red-agent 8a72870a6d More code refactoring 2009-09-15 17:46:02 +03:00
red-agent c194b92136 Made command options refactoring along with some fixes 2009-09-15 03:33:02 +03:00
red-agent a264608b29 Slighlty changed command arguments parser/adapter internal logic
Made parser to preserve the order of options, so I can use it later to provide
some enhancments for the adapter.
2009-09-15 01:20:49 +03:00
red-agent 7bec311cfb Made some cosmetic API changes to the command system 2009-09-14 22:04:49 +03:00
red-agent 0a1ef72c0d Removed unused code from the Dispatcher 2009-09-13 22:11:40 +03:00
red-agent 620d102ac5 Fixed a typo 2009-09-13 21:19:10 +03:00
red-agent 6a20a33b70 Dropped in an implementation of standard commands 2009-09-13 17:43:44 +03:00
red-agent 880952b5c3 Few more fixes for the command system 2009-09-13 16:40:33 +03:00
Yann Leboulanger 949dbe6e38 better focus behavior when adding/removing a new proxy profile. Fixes #4017 2009-09-13 11:21:23 +02:00
Thibaut GIRKA 32ad59aa42 jingle: move from the old farsight to farsight2,
better compliance to the last version of XEP 0166, 0167 and 0176
2009-09-13 11:02:49 +02:00
red-agent cae86299e4 Rolled in a bunch of fixes for the command system 2009-09-13 00:22:17 +03:00
red-agent 981572f79d Improved error handling in the command system 2009-09-12 23:22:50 +03:00
red-agent ae0f32d922 Dropped in the brand new and shiny command system 2009-09-12 16:51:21 +03:00
red-agent c38e7050f5 Swept everything related to commands 2009-09-11 04:54:26 +03:00
Yann Leboulanger faf3a1fe6f add a reconnect menuitem in groupchat context menu when it's doconnected. Fixes #4004 2009-09-11 00:12:36 +02:00