Commit graph

11350 commits

Author SHA1 Message Date
Jean-Marie Traissard
e5b2e38792 Fix regression introduced in [9727]. Do not fail if the jid line contain 'Enter
JID or Contact name' or something at opening.
2008-06-03 18:44:32 +00:00
Yann Leboulanger
d1762dd9a0 improve new gmail e-mail popup window. Fixes #3252 2008-06-03 14:15:57 +00:00
Mateusz Biliński
654e157eff Added plug-in deactivation mechanism, which allows plug-ins to clean up after themselves (eg. disconnecting handlers made in GUI); GUI extension points handlers are removed from list.
Updated Length Notifier plug-in so that it can be properly deactivated.
2008-06-03 13:40:27 +00:00
Yann Leboulanger
da2ca25d5f fix typo in french translation. fixes #3994 2008-06-03 13:09:44 +00:00
Mateusz Biliński
77f10031f1 Added mechanism to successfully load plugins after GUI extension points have been created, e.g. when we want to modify ChatControl behaviour and objects of this class have already been created.
Also: customized IPython console look
2008-06-03 08:25:16 +00:00
Yann Leboulanger
e4d5625210 fix argument order in new_chat 2008-06-03 06:06:42 +00:00
Yann Leboulanger
cffec2aee1 [Fabian Fingerle] updated german translation 2008-06-03 05:55:19 +00:00
Brendan Taylor
ccca9332c6 fix undefined 'session' variable in _messageCB 2008-06-03 01:13:30 +00:00
Brendan Taylor
dc89b61d37 fix lazy session binding to reuse sessions and pick them up from pending events 2008-06-02 23:26:40 +00:00
Brendan Taylor
d19cb43ee0 don't assign a session to a control until it's needed 2008-06-02 23:26:32 +00:00
Brendan Taylor
7b6b6de1c5 fix TB in move_from_sessionless 2008-06-02 23:26:23 +00:00
Mateusz Biliński
f62698e28c Added docstrings in reST format (also with todos). Commented out 'print' statements related to roster window. A few modifications to make code prettier (PyLint driven). 2008-06-02 23:15:08 +00:00
Yann Leboulanger
03cbc6e2d5 ability to rename zeroconf account. Fixes #3945 2008-06-02 21:22:35 +00:00
Stephan Erb
fa48c480ff Fix modelfilter regression. Renaming a group duplicated it.
Even make it work in merged accounts mode.
2008-06-02 17:59:59 +00:00
Yann Leboulanger
2bcb932d2e [Fabian Fingerle] updated german translation 2008-06-02 16:35:15 +00:00
Yann Leboulanger
3fe89676ac don't allow to send custom status nor revoke subscription for transport contacts. fixes #3984 2008-06-02 10:27:16 +00:00
Yann Leboulanger
e5f682a81a fix wrong syntax 2008-06-02 10:23:27 +00:00
Yann Leboulanger
b3d57ed5b1 coding standards 2008-06-02 10:04:27 +00:00
Yann Leboulanger
8f9c097343 [Yrogirg] configurable latex formulas font size. Fixes #3986 2008-06-02 08:10:36 +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
Jean-Marie Traissard
d927d260c2 Removing tic tac toe game. Maybe one day a full version in a plugin ? :) 2008-06-01 23:07:34 +00:00
Stephan Erb
82edfdf42e Small cleanups to roster and modelfilter.
* rename draw_roster to better express its functionality
 * remove unnecessary call of refilter()
 * directly remove groups when there is only one child left and we want to remove it

Note: in gtkTreeStore iters persist as long as the row isn't removed. Iters in Modelfilter persist as long as the model is unchanged.
2008-06-01 22:46:41 +00:00
Jean-Marie Traissard
c6aa116db8 try another way do redraw roster. See #3955. 2008-06-01 22:23:16 +00:00
Jean-Marie Traissard
acb955b726 Officially back in team 2008-06-01 21:49:34 +00:00
Jean-Marie Traissard
9f613afd4f Don't traceback when refiltering during the model.clear (has a bad account name).
Fixes #3893.
2008-06-01 21:13:06 +00:00
Yann Leboulanger
5a459104d5 fix traceback when joining a room without a nick. Fixes #3979 2008-06-01 08:44:03 +00:00
Jean-Marie Traissard
f604ed373a Remove unused temp var 2008-05-31 22:13:57 +00:00
Jean-Marie Traissard
4dc8ad861c -Fix TB in my last commit
-Stop using idle_call for marking days with log in calendar, because this was... longer !
-Stop emiting month changed signal two times (so it was even longer)
2008-05-31 20:49:48 +00:00
Jean-Marie Traissard
57a1c4b130 Use idle_add for history_win._fill_completion_dict (LOT faster) 2008-05-31 19:41:42 +00:00
tomk
cb2d629535 added prototype of BOSHClient class and script for usage example, removed import of common.gajim from transports_nb 2008-05-31 16:51:40 +00:00
Yann Leboulanger
75cc8f460a [Vardo] conf file for epydoc generation 2008-05-31 15:50:17 +00:00
Stephan Erb
794a5f33d5 Use correct modelfilter API to expand to selected contacts. 2008-05-31 15:31:49 +00:00
Yann Leboulanger
4b8f1137f6 make some strings translatable 2008-05-31 14:48:15 +00:00
Yann Leboulanger
1a683098e9 set publish_tune False by default 2008-05-31 08:28:33 +00:00
Brendan Taylor
1796a6006b fix on_vadjustment TB 2008-05-31 00:54:57 +00:00
Brendan Taylor
0b16f4bb20 fix a multiple tab regression 2008-05-31 00:54:48 +00:00
Brendan Taylor
1920b963da fix unit test to be runnable from anywhere 2008-05-31 00:54:40 +00:00
Stephan Erb
e2c3555e6f A few expand/collapse related changes.
* always adjust account toggle state
 * try to eliminate extra adjustmants to group state
 * small function renaming
2008-05-30 23:09:13 +00:00
Yann Leboulanger
6733ba484c show current mood / activity in the dialog for changing them. Fixes #3952 2008-05-30 22:39:01 +00:00
Yann Leboulanger
533e955cf1 make pep work, move config options per account, make publish_tune configurable in account context menu. fixes #3954 2008-05-30 21:43:53 +00:00
Stephan Erb
ac8faf47ca Fix eventhandling for non chat message events.
Evens were not properly removed.
2008-05-30 20:56:54 +00:00
Stephan Erb
6fd860a1b3 Remove debug print. 2008-05-30 20:21:12 +00:00
Stephan Erb
7259f95b0b Fix drag and drop within the same group. 2008-05-30 20:16:00 +00:00
Stephan Erb
0e519bce9e Do not recalibrate metacontacts if there is only one brother (the big brother). 2008-05-30 20:07:14 +00:00
Stephan Erb
4b6fabadd9 Don't remove contacts from roster when they have pending events.
* update documentation and fix indentation
 * don't remove offline contacts from roster when we open the last pending, non chat message event
 * store account and jid per event
2008-05-30 17:42:53 +00:00
Yann Leboulanger
8973b91070 auto_join_bookmarks only join non-opened groupchats. Opened one are already auto-joined on re-connection. Fixes #3891 2008-05-30 10:26:33 +00:00
Yann Leboulanger
685707e2e0 check active tab with control variable, not jid. fixes #3876 2008-05-30 10:07:01 +00:00
js
37b6f7058a [Kjell Braden] Fix OTR SMP. 2008-05-29 18:42:58 +00:00
Brendan Taylor
e3e514cdc9 some basic session unit tests and support files 2008-05-29 02:49:03 +00:00
Brendan Taylor
bcf7018fce gave sessionless window location its own method 2008-05-29 02:48:55 +00:00