Jean-Marie Traissard
47bc1d61b4
Added one unique function to src/gajim.py to add a GC bookmark.
...
Moved newly created auto_join_bookmarks() to good source file.
Fix :
-when using bookmark auto from join dialog : Action rebuild now done; Add GC sorted in list
-when using gc_control->bookmark : Store password if any.
2008-04-20 19:45:09 +00:00
Jean-Marie Traissard
0ca9610680
[elghinn] Cleaner way to check if we have gpg
2008-04-20 18:40:59 +00:00
Jean-Marie Traissard
8b8f139f79
Moved methods for opening new messages controls from roster.py to src/gajim.py. This is not roster related. See #3643 .
...
Sorted src/gajim.py functions, using steve-e style :p
2008-04-20 18:14:04 +00:00
Jean-Marie Traissard
1846cfefc6
Remove global temp vars after use
2008-04-20 15:24:34 +00:00
Yann Leboulanger
e54d749eec
add a new dbus signal when a contact changes his status. fixes #3655
2008-04-20 14:39:08 +00:00
Yann Leboulanger
9f8af02c74
no need of unread events in dbus informations. see #3655
2008-04-20 14:29:39 +00:00
Stephan Erb
4e6bd4ee8f
Port roster_window to gtk.TreeModelFilter.
...
Contacts are now online hidden when they connect/reconnect and not completely removed/readded. Should come with a great speed improvement for people with big rosters.
There are still a few known problems but non that should dalay this patch any longer. Related bugs will be tracked with 'modelfilter' keyword.
See #1201
2008-04-20 14:01:04 +00:00
Jean-Marie Traissard
0374e72b28
Use one function to join bookmarks automatically only. Fix bug "all bookmarks joined minimized when going back
...
from invisible". Not sure it's right place for this function.
2008-04-19 23:39:09 +00:00
Yann Leboulanger
54608822a3
always say we want to receive pep notifications even if server don't support it.
2008-04-19 22:08:40 +00:00
Yann Leboulanger
ffbc0c65bc
use a textview to change subject of a room. Fixes #3858
2008-04-18 19:15:03 +00:00
Yann Leboulanger
0158db6001
show better error message when sending message to a room where we are no more connected. fixes #3870
2008-04-18 18:35:53 +00:00
Yann Leboulanger
ef97e91a1d
put namespace name in protocol.py
2008-04-18 18:19:33 +00:00
Yann Leboulanger
041969309d
add many supported features to disco#info reply. fixes #3872
2008-04-18 18:10:12 +00:00
Jean-Marie Traissard
a095a3249e
[elghinn] Set default icon before creating roster so it's done for roster too
2008-04-18 09:43:26 +00:00
Jean-Marie Traissard
968b2acc4f
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
...
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Jean-Marie Traissard
2ce13dc40e
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with 'is' or 'is not', never the equality operators."
...
Comparisons to None part
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00
Yann Leboulanger
b35b2f9ad0
fix function call. fixes #3875
2008-04-17 19:26:09 +00:00
Yann Leboulanger
5dd0d4fce8
move functions that build icons to gtkgui_helpers instead of roster_window. Fixes #3873
2008-04-17 14:17:14 +00:00
Yann Leboulanger
278d63ca35
indentation
2008-04-17 06:55:12 +00:00
Yann Leboulanger
2d04fc6ae6
don't hide roster on startup if no systray module is available
2008-04-17 06:34:32 +00:00
Jean-Marie Traissard
fbc1ae9b5c
fix possible TB (can be None)
2008-04-16 21:39:58 +00:00
Yann Leboulanger
fdf46e5430
one more typo
2008-04-16 19:52:47 +00:00
Yann Leboulanger
18c8500f9b
really fix SQL query
2008-04-16 19:41:36 +00:00
Yann Leboulanger
4bfd971415
fix sql query
2008-04-16 19:22:16 +00:00
Yann Leboulanger
158231493a
remove useless print
2008-04-16 14:52:43 +00:00
Jean-Marie Traissard
df257baef5
Added helpers to commit in logger.py
...
Trying to ignore line for #3865
2008-04-16 13:46:44 +00:00
Yann Leboulanger
3aefee4700
try all IPs of a given host in case first one fails. Fixes #2958
2008-04-16 11:02:01 +00:00
Yann Leboulanger
b936fa4bfe
coding standards
2008-04-15 22:51:41 +00:00
Yann Leboulanger
b7fcb776b9
try to auto-convert emoticons.py files to the new format. Fixes #3696
2008-04-15 22:04:39 +00:00
Yann Leboulanger
6d8dd51db0
show/hide ipython window instead of create/destroy
2008-04-15 18:09:04 +00:00
Jean-Marie Traissard
88f7abd795
Fix "You are already in this GC" bugging at reconnection. Happened if we receive
...
bookmarks after we already reconnected to opened GC
2008-04-15 17:25:59 +00:00
Yann Leboulanger
f6f6f9fe5c
add BSD copyright to ipython_view.py file
2008-04-15 16:19:06 +00:00
Yann Leboulanger
0568a4b32b
typo
2008-04-15 15:59:13 +00:00
Yann Leboulanger
1a2f60186a
Don't fail on windows if bonjour is not installed. fixes #3861
...
socket module doesn't have AI_ADDRCONFIG attribute under windows
2008-04-15 15:58:07 +00:00
Jean-Marie Traissard
edb5910c1d
prevent traceback when ping reply arrives after we close the control; without
...
error too. Fixes #3859 .
2008-04-15 12:36:10 +00:00
Yann Leboulanger
5348c3a37f
add ACE option to configure interval between 2 idlness checks. default to 2 seconds. fixes #3004
2008-04-15 09:35:36 +00:00
Yann Leboulanger
e7f88e6dd6
prevent traceback when ping reply arrives after we close the control. fixes #3859
2008-04-15 09:02:36 +00:00
Jean-Marie Traissard
2c4e901b8f
Fix table creation typo.
...
Btw thanks elghinn for idea of this table :)
2008-04-15 02:05:08 +00:00
Jean-Marie Traissard
8f84ff29f5
fix indent
2008-04-15 01:54:31 +00:00
Jean-Marie Traissard
f32901d243
Create a new small table in DB to remember rooms last_history_line at next
...
launch. This is necessary because with a big history get_last_date_that_has_logs
can take about 5 seconds on first launch.
Created new gajim subversion.
2008-04-15 01:52:11 +00:00
Yann Leboulanger
29dd9d2576
added ipython for SVN users only.
2008-04-14 15:19:09 +00:00
Yann Leboulanger
bdac12d789
don't go autoaway when screensaver is activated is user disabled the autoaway option. Fixes #3824
2008-04-10 14:47:12 +00:00
Yann Leboulanger
b04d6aea63
correctly detect vcard error from groupchat participants (with fake jid)
2008-04-09 21:30:12 +00:00
Yann Leboulanger
db59de9397
fix argument in a menu.popup() call
2008-04-07 12:58:34 +00:00
Stephan Erb
7e6431fcea
Small fixes for activity dialog.
2008-04-07 11:44:35 +00:00
Yann Leboulanger
05218db68a
[rOOt & Asterix] use get_uf_activity/mood to translate them. store subactivities according to selected activity. fixes #3809
2008-04-07 11:17:33 +00:00
Stephan Erb
855a72855d
Add get_uf_* functions to make mood and activity translatable.
2008-04-07 11:14:23 +00:00
Yann Leboulanger
da966efaa7
use getaddrinfo to know if we should use ipv4 or v6 for zeroconf
2008-04-06 21:33:40 +00:00
Yann Leboulanger
067d9dbf2b
make zeroconf work correctly on both ipv4 and ipv6. Bind on an ipv6 socket if possible.
2008-04-06 16:51:31 +00:00
Jean-Marie Traissard
eb22930361
do a little less loops
2008-04-06 13:23:10 +00:00
Jean-Marie Traissard
06fdc8367b
Auto sort bookmarked rooms list (when opening manage dialog and when adding
...
new one). Fixes #3739 .
2008-04-06 13:14:00 +00:00
Jean-Marie Traissard
59cc0a4aa8
Correct indent
2008-04-05 12:53:01 +00:00
Jean-Marie Traissard
df13948d87
Make nick cycle works with spaces in nicks, fix a possible bug if gc_refer_to_nick_char is not ",". Fixes #3810 .
2008-04-05 12:48:39 +00:00
Yann Leboulanger
e341548d25
really ignore GTK warnings under windows
2008-04-04 21:31:27 +00:00
Yann Leboulanger
163b680200
don't translate user_mood and user_activity
2008-04-04 20:24:55 +00:00
Stephan Erb
b991b32886
Add missing tooltip and markup in vcard window. See #1069 . Make string a doc string.
2008-04-04 15:10:50 +00:00
Stephan Erb
e95a9fa5ef
Fix indentation.
2008-04-04 09:51:49 +00:00
Stephan Erb
bea91baeaa
Remove useless group redrawing. Remove unused variable.
2008-04-04 09:44:47 +00:00
Stephan Erb
611a53422e
A few small PEP GUI and code changes. No new functionality.
2008-04-03 22:50:03 +00:00
Stephan Erb
573ae48a43
History Window:
...
* Make usage of history_window (hopefully) more straight forward. (widget placement, focus, shown nicks, completion...)
* Kill two bugs where wrong nicknames were shown in chathistory and results window.
* Rename functions to make clear that their are intended for private usage only.
2008-04-03 17:48:55 +00:00
Yann Leboulanger
e40cb0d4b3
use -alpha option only with recent version of imagemagick. fixes #3755
2008-04-01 23:33:23 +00:00
Yann Leboulanger
f3665cd689
don't remove metacontact when we reconnect. fixes #3771
2008-04-01 23:13:10 +00:00
Jean-Marie Traissard
c497087115
Continue to check message for HL words after we found one that could be only the beginning of another real word.
2008-04-01 19:57:27 +00:00
Jean-Marie Traissard
d10e203255
Cleaner version to check if char after a highlight is an alphanum or not
2008-03-30 21:45:51 +00:00
Jean-Marie Traissard
39d18c893d
Fix logic, fix char code
2008-03-30 21:16:35 +00:00
Jean-Marie Traissard
75983ff571
Some "jep" -> "xep"
2008-03-30 20:35:02 +00:00
Yann Leboulanger
61be183c8e
don't stop autoconnect after first account
2008-03-30 12:05:04 +00:00
Yann Leboulanger
a6e06b3bca
add autoconnect_as feature to autoconnect as away or invisible
2008-03-30 11:50:59 +00:00
Yann Leboulanger
1c313ed242
update string printed when running gajim -h to show --config-path option
2008-03-27 13:59:03 +00:00
Yann Leboulanger
849a235263
[Nico Gulden] typo in some strings
2008-03-24 21:59:39 +00:00
Yann Leboulanger
6de493fbb5
update GC_Contact instance when we change our nickname in a room. fixes #3784
2008-03-24 09:16:03 +00:00
Jean-Marie Traissard
11e4945158
Use appropriate function to remove a line in unread_message table. See #3793 .
2008-03-24 00:45:53 +00:00
Yann Leboulanger
4e15d0f0d6
remove lines from unread_messages if messages are no more in logs table. Fixes #3793
2008-03-23 22:52:29 +00:00
Jean-Marie Traissard
a0d8aea90b
chat_control : fix possible var name confusion
...
roster : Fix resource problem, gajim.contacts.get_contact() can return first contact instead of specified resource. Fixes #3789 .
2008-03-23 17:44:47 +00:00
Yann Leboulanger
8aa1573e78
make About dialog not use run() function. fixes #3788
2008-03-23 11:14:50 +00:00
Travis Shirk
4b0ab39716
bumped (C)
2008-03-22 21:02:19 +00:00
Travis Shirk
8db2a68632
More sizing fixes. Along with [9408] closes #3713
2008-03-22 20:51:19 +00:00
Travis Shirk
00fe194744
Single window mode to any other resulted in the roster being the size of the roster + any chats that were in the orignal window. This fixes that. ( #3713 )
2008-03-22 18:19:56 +00:00
Yann Leboulanger
d1a685c4a7
typo in a string
2008-03-22 08:52:46 +00:00
Yann Leboulanger
45211c43f5
coding standards
2008-03-21 17:17:12 +00:00
Yann Leboulanger
92690da36b
fix zeroconf to be ablt to use IPv6. Fixes #3683
2008-03-21 16:55:39 +00:00
Yann Leboulanger
5b55264c92
fix call to correct function when inviting to room in roster
2008-03-21 12:46:54 +00:00
Yann Leboulanger
1008d162f4
show invitation from anonymous room in roster from a groupchat rather than from a normal Contact. fixes #3448
2008-03-21 12:30:23 +00:00
Jean-Marie Traissard
ccb23a9e0c
Fix TB introduced in [9400] if using minimized muc
2008-03-20 20:39:51 +00:00
Jean-Marie Traissard
ff32d0ccb3
roster.on_quit_request() cleanups :
...
-Check if there are pending events and send offline even if we don't ask a status message (was a indentation
mistake I think)
- Really make unread and recent working according to 'notify_on_all_muc_messages' value
- be faster, hopefully
2008-03-20 20:26:58 +00:00
Jean-Marie Traissard
9e15e4bcab
do not redraw_tab too much if not needed
2008-03-20 19:37:20 +00:00
Jean-Marie Traissard
d7a6734601
Clarify how roster.quit_on_next_offline works with comments.
...
Use only one function when user wants to quit. Bad dup code !
Maybe see #3643 .
2008-03-20 16:31:21 +00:00
Jean-Marie Traissard
e07ce48240
Restore single click behaviour. Function was called 2 times by mistake.
2008-03-19 23:53:40 +00:00
Jean-Marie Traissard
88db86bb99
Make jid_is_from_pm works with not-full jid
2008-03-19 23:14:58 +00:00
Jean-Marie Traissard
624a16034e
Fix small TBs about last changeset that could happen if some history were manually removed.
2008-03-19 22:01:21 +00:00
Jean-Marie Traissard
f9ca40ff1b
- Change the way roster.fire_up_unread_messages_events()/logger.get_unread_msgs() work, so it's
...
faster
- Stop adding pm chat messages received to unread messages. This is in addition to [8311], but
works also when chat win is already opened now.
- Automatically remove unread_message lines for messages older than a month, so we will clear this
table for everybody, and keep it quite clear. Specially because messages can still be blocked here
if it's from someone not in the roster and we don't open it during the session. This can be long
at first connection with this version, because we delete a lot of lines (nearly one per PMs you
received since a long time). Could also be a very little longer during one month.
2008-03-19 21:43:01 +00:00
Jean-Marie Traissard
7dca69467e
Stop loading all transport iconsets at launch. Load them on the fly, if and when needed. Speedup gajim start and
...
use less mem :)
2008-03-19 00:25:28 +00:00
Yann Leboulanger
80aeea1bd0
draw pixbuf at the corect place in cell_renderer_image. Fixes #3775
2008-03-18 12:26:32 +00:00
Jean-Marie Traissard
d32e1ae0ed
Fix another place where database could be malformed, using Asterix work in [9390]. Fixes #3342 .
2008-03-17 19:30:38 +00:00
Yann Leboulanger
0d427eff3b
Warn user when database is corrupted and unreadable. Fixes #3761
2008-03-17 07:22:43 +00:00
Yann Leboulanger
f3e6a4a120
fix indentation in gajim_remote.py. Fixes #3655
2008-03-16 12:59:04 +00:00
Yann Leboulanger
39c2e612b9
fix group listing in gajim-remote list_contacts and add number of unread events. Fixes #3655
2008-03-16 09:49:41 +00:00
Stephan Erb
8d4a0dd203
Indentation error. Fixes #3768
2008-03-14 12:37:02 +00:00
Yann Leboulanger
e572a0cd65
warn user when emoticon theme can't be loaded. fixed #3696
2008-03-14 08:46:10 +00:00
Yann Leboulanger
323c50ec44
coding standards
2008-03-13 09:07:58 +00:00