Commit graph

279 commits

Author SHA1 Message Date
Stephan Erb
e7337211fb Rename the Contacts class and document it, beeing a temporary refactoring artifact. 2009-12-01 23:31:17 +01:00
Yann Leboulanger
5b10d8fe5c base of using icon themes. see #2378 2009-11-27 16:42:32 +01:00
Alexander Cherniuk
6bf2246de5 A big portion of doc-string refactoring 2009-11-26 13:58:12 +02:00
Mateusz Biliński
70731dbab7 Merged default branch into plugin-system branch. 2009-11-14 21:15:27 +01:00
Stephan Erb
a9f5bb59d7 Merge changes from default branch into refactoring branch 2009-10-31 17:25:47 +01:00
Stephan Erb
47f875a4bc Move CapsCache global from gajim.capscache to caps.capscache. 2009-10-30 23:01:25 +01:00
Stephan Erb
c7ff97703f Redistribute responsibility: Let contact instances check if features are supported 2009-10-27 20:31:09 +01:00
Thibaut GIRKA
ab6510db38 merge default branch to jingle 2009-10-16 17:19:33 +02:00
red-agent
90c653b83a Fixed resource extraction from jid. Fixes #5310 2009-10-08 15:21:18 +03:00
Yann Leboulanger
c9d702b5cd [Vasily] fix indicator usage. Fixes #5271 2009-10-03 23:29:11 +02:00
Thibaut GIRKA
01d7be2d61 merge default branch to jingle 2009-09-29 20:49:40 +02:00
Yann Leboulanger
80e4d0a36d disable Ubuntu indicator support. see #4942, Fixes #5271 2009-09-21 21:36:04 +02:00
Yann Leboulanger
40199e359c farsighr module is now optional. Fixes #5278 2009-09-20 20:46:03 +02: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
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
Yann Leboulanger
235c4d9ab8 * ask only once at a time to change our nickname in a room in case of conflict
* add a checkbutton to use the entered nickname by default without asking anymore. Fixes #5141
2009-07-17 09:53:15 +02:00
Yann Leboulanger
fda322706b [Spike411] Facebook iconset for Gajim. A great thanks to Jakub Szypulka for is iconset: http://cubestuff.wordpress.com/2008/05/21/facebook-goes-tango/ 2009-06-27 09:50:50 +02:00
Mateusz Biliński
38fa0be12a [roidelapluie] Added initial support for Roster Item Exchange (XEP-0144) based on ticket #378. Only handling NS_ROSTERX 'set' operations is supported and tested as of now. 2009-06-21 03:43:57 +02:00
Mateusz Biliński
018bda5a5f Merged default branch with plugin-system branch. Not all elements are fully
functional. This should be considered as sync commit.
2009-06-07 00:00:03 +02:00
Yann Leboulanger
23c6c708cd except: -> except Exception: 2009-05-07 11:30:46 +00:00
Yann Leboulanger
d71e82921e fix an unhandled traceback under windows 2009-05-07 11:18:48 +00:00
Yann Leboulanger
e0f0871ea6 [ken.vandine] add indicator support. Fixes #4942 2009-04-04 05:06:46 +00:00
Yann Leboulanger
f1ae7fc984 do not enable zeroconf if avahi or bonjour is not available. Fixes #4891 2009-03-16 08:43:13 +00:00
Yann Leboulanger
aa44b8466a [brubru] colored output of logging system. Fixes #4875 2009-03-11 09:16:07 +00:00
Yann Leboulanger
e0123f0c24 encrypt and decrypt GPG messages in a thread, and call a callback when it's finished (sending a message is now asyncronous). Fixes #4445 2009-02-06 19:01:36 +00:00
Brendan Taylor
898bc7c347 gave latex processing its own file, merged duplicate processing and
detection code
2009-01-09 19:55:26 +00:00
Brendan Taylor
9298312369 detect latex support at startup 2009-01-09 18:40:17 +00:00
Yann Leboulanger
507bd7b8c6 cache os information so it's requested to system only once 2008-12-24 15:00:38 +00:00
Yann Leboulanger
e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger
983301d589 [thorstenp] convert some strings to comment 2008-12-02 14:09:18 +00:00
Yann Leboulanger
3e88fdf41e check session support instead of Esession support, and announce we support it. Fixes #4429 2008-11-30 18:53:02 +00:00
Yann Leboulanger
06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger
86271b6e3c [thorstenp] string to comment 2008-10-20 15:30:52 +00:00
Mateusz Biliński
c0a26be684 Three core (raw) events (iq, message, presence) go also through Network Events Controller (layer between network library and Global Events Dispatcher, newly added) and from there they are dispatched through Global Events Dispatcher.
Ability to register new incoming network events (based on exisiting one) added. Modify-only network events are possible (eg. add some text each message, but don't create any new global event). Events creation can be chained.
Examples of new network events classes are in New Events Example plugin.
Events from src/gajim.py now all go through Global Events Dispatcher and only through it (easy to modify, in chain, data passed with them).
2008-08-18 16:35:14 +00:00
Julien Pivotto
de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto
8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
Mateusz Biliński
06aee9d2d0 Initial version of Global Events Dispatcher.
Events previously generated for D-Bus support in remote_control.py go through Global Events Dispatcher now - this means any plugin can subscribe to them.
Implemented D-Bus support plugin based on remote_control.py.
2008-08-10 13:40:49 +00:00
Stephan Erb
f5be05a14a Coding style 2008-08-06 20:19:16 +00:00
js
8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
Mateusz Biliński
8aa9cad2e0 Plugin's configuration is now saved to disk (currently: using UserDict and shelve modules).
Length Notifier Plugin has configuration dialog (added entry with JIDs to be included when plugin is working) - fully usable.

Default values of configuration key has been added to GajimPlugin.

Some other minor changes/fixes.
2008-07-29 19:09:28 +00:00
Yann Leboulanger
49ea574c7d typo 2008-07-29 06:40:09 +00:00
Yann Leboulanger
1fd2c5f050 add NS_TUNE, ACTIVITY and NICK to features list 2008-07-29 06:17:35 +00:00
js
f7d8631a5c New activity dialog. 2008-07-28 20:57:56 +00:00
js
c5e679a078 Show mood in chat window. 2008-07-22 21:08:52 +00:00
Brendan Taylor
c9b2556c41 make esessions an optional caps feature 2008-07-20 15:54:05 +00:00
Brendan Taylor
814c9c118a XEP-0116 support discovery 2008-07-14 00:26:05 +00:00
Yann Leboulanger
4db9685849 add mrim transport icons. Fixes #4078 2008-07-10 12:18:26 +00:00
Brendan Taylor
e4aa0de7f7 don't make submenus in the Actions menu if we've only got a zeroconf account and a normal account 2008-06-13 02:18:16 +00:00
js
c2eb4b5a9f Completely remove OTR.
Sorry, it just wasn't maintainable. The problem is the current libotr
API. I'm sick of working around the strange libotr API, sick of getting
HTML messages, sick of losing messages. The final argument for
completely removing it was that we can't get the message ID of a sent
msg anymore - which we need. I tried to work around this as well, but
there seems to be no way to wait for a signal in glib the way I would
need it for the workaround (I wanted to emit a signal in inject_message
and then wait for it after the call to otr_message_fragment_and_send
so the signal can pass us the message id). And the last reason is that
we're heading towards a new release and thus want to stabilize the code,
thus don't have time to work around even more libotr API strangeness.
I will give feedback to the libotr developers, who are currently
planning a new API, so that we can hopefully see OTR support once again
as soon as libotr4 is released.

Kjell already announced that he will continue his branch:
https://code.launchpad.net/~afflux/gajim/otr

I really hope the libotr devs will provide a sane API with libotr4 so
we can integrate OTR support again.

Oh, and I added one more try/except block for OS X.
2008-06-08 15:27:05 +00:00
Mateusz Biliński
95b1e45920 Initial commit related to plug-in system:
- basic PluginManager class that loads plugins from *.py files
  in given directories
- Singleton metaclass was created to use with PluginManager;
  notice: __init__ of class is called only once (not like in code
	that is included in Python Cookbook)
- variable to keep paths of plugin directories has been created
  (common.gajim.PLUGINS_DIRS); also added initilization of these
  paths to common.ConfigPaths
- added global variable with PluginManager object:
  common.gajim.plugin_manager
- created customized logger for plugin system ('gajim.plugin_system')
- created function decorator plugins.helpers.log_calls which logs
  each call of function/method; it also logs when function is left
- base class Plugin for plug-in implementation added; not much
  here - only empty class attributes: name, short_name, authors,
	version, description
- based on Plugin class, first plugin was created named
  LengthNotifierPlugin; it is used to notify users when they
  exceed given length of message during writing it (text entry
  field highlights)
- first GUI extension points works when ChatControl object
  is created (it is used in mentioned plugin)
- added 'epydoc.conf' file customized a little bit (file
	is also in trunk now)
- fixed indentation in common.sleepy module (also in trunk
	now)
2008-06-01 23:33:51 +00:00