Commit Graph

604 Commits

Author SHA1 Message Date
Nikos Kouremenos 98e78c7999 win9x: save in current dir 2005-05-20 18:13:38 +00:00
Nikos Kouremenos ecf50d8c56 win32: store the config in the correct place, and move it if existes in the old place 2005-05-20 18:08:24 +00:00
Yann Leboulanger 686a9a0bd9 when an error occure while Process()ing xmpp, we print the TB so it's easier to debug 2005-05-20 17:30:29 +00:00
Nikos Kouremenos 80144824b0 fix #278 2005-05-20 17:25:21 +00:00
Nikos Kouremenos 41e7d106d8 typo 2005-05-20 16:46:07 +00:00
Yann Leboulanger f3d36d9d80 status -> show
we cannot join a gc twice at the same time with the same account
2005-05-20 16:31:52 +00:00
Yann Leboulanger 1d4d9f5229 print a user friendly show when a contact change his status 2005-05-20 16:04:12 +00:00
Nikos Kouremenos 5293788dc1 introducing common/helpers.py where get_uf_status lives [more functions to come there in the future] 2005-05-20 15:58:23 +00:00
Yann Leboulanger 056ff7bd28 do not print ": " in vcard window if there is no status message 2005-05-20 15:50:44 +00:00
Yann Leboulanger 58ab395501 <status> is not a must (except when using GPG) 2005-05-20 15:32:05 +00:00
Nikos Kouremenos 4b6e527fdf asking the user about removing an account that he's connected 2005-05-20 15:05:22 +00:00
Yann Leboulanger 0e7e396289 these lines cause an error 2005-05-20 14:46:27 +00:00
Yann Leboulanger 715fde5a87 fix idle problems 2005-05-20 14:03:02 +00:00
Yann Leboulanger b5ed8ee163 apply Alexey patch for TLS error. Now buffer is 1M, so this workaround should prevent TLS crash 2005-05-20 13:27:39 +00:00
Yann Leboulanger 2377437112 do not print empty message (fix #301) 2005-05-20 11:23:08 +00:00
Yann Leboulanger 894e38cc7f client.DisconnectHandler is no more called, so no TB will be raised when disconected
so no need to embrace every "send" call in try: except: block
2005-05-20 10:49:46 +00:00
Nikos Kouremenos e7e88cd701 bugfix 2005-05-20 00:12:15 +00:00
Nikos Kouremenos 19235f6f68 win32: path is even better now .gajim ==> Gajim 2005-05-20 00:09:18 +00:00
Nikos Kouremenos d2e0782121 win32 fix: save logs in the correct place and issue correct messages not only POSIX 2005-05-20 00:05:18 +00:00
Nikos Kouremenos 148fe12a2d removing () from ifs and foo==0 becomes not foo in an if 2005-05-19 17:50:19 +00:00
Nikos Kouremenos 781261b99d dialogs.py: removing \ where appropriate 2005-05-19 17:47:40 +00:00
Nikos Kouremenos 12d3888526 removing two lines that were hiding links_open_with_combobox under POSIX [sorry for that] 2005-05-19 16:50:58 +00:00
Yann Leboulanger 739021ec02 print error messages when we get Process() exception 2005-05-18 18:57:54 +00:00
Nikos Kouremenos 120fb4b3a0 suse is lsb compliant, but doesnot put lsb_release by default until 9.3 so readding scanning for suse file [now it is tested too] 2005-05-18 17:02:46 +00:00
Nikos Kouremenos 9a70ab0218 Some distros put to optional LSB vars n/a, so detect that and remove it.
SUSE uses lsb_release for quite a lot of versions I've been told so depend only on lsb for SuSE [the files things was untested in SUSE anyways]
2005-05-18 16:42:28 +00:00
Nikos Kouremenos 79c5b5d0e2 hidden_rows ==> collapsed_rows 2005-05-18 16:30:59 +00:00
Nikos Kouremenos c0e8557f52 userfriendly status string used in tabbed_chat window too 2005-05-18 15:40:42 +00:00
Yann Leboulanger f92cdf02cb set self.connected to 0 before dispatching the status to the GUI so the connectiing icon should disapear if connection failed 2005-05-18 14:05:54 +00:00
Yann Leboulanger bb424fecf1 put xmpp.Process() in a try/except (see ticket #291) 2005-05-18 13:42:12 +00:00
Nikos Kouremenos 86b7862d2c better strings complete 2005-05-18 13:28:51 +00:00
Yann Leboulanger 338cb7dd7d re-add event in make_menu function in systray so we can rightclick on it 2005-05-18 12:51:01 +00:00
Nikos Kouremenos 7eb8a879b5 better strings 2005-05-18 12:34:20 +00:00
Yann Leboulanger a730ab8e90 missing import 2005-05-18 12:28:29 +00:00
Yann Leboulanger 6a10743ce5 add strings to translate in advanced configuration editor 2005-05-18 12:02:57 +00:00
Yann Leboulanger d479973e2c do not translate debug messages 2005-05-18 12:02:27 +00:00
Yann Leboulanger 35e6ac3de8 we can now join password protected groupchats 2005-05-18 09:18:29 +00:00
Yann Leboulanger 5a775c8214 little bugfix with namespaces 2005-05-18 09:17:41 +00:00
Yann Leboulanger 5d8ea9d3bc we can now ask vcard when we recieve a subscription request 2005-05-18 08:47:38 +00:00
Yann Leboulanger 19a1f45159 set the log level after the config file has been parsed 2005-05-18 07:38:47 +00:00
Nikos Kouremenos 277616adf2 adding /clear in GC 2005-05-18 01:01:49 +00:00
Nikos Kouremenos 41e9deceff typo 2005-05-18 01:00:13 +00:00
Nikos Kouremenos 1c25e7a930 fixing #170 2005-05-18 00:44:39 +00:00
Yann Leboulanger bf05e29ebb do not print debubg if verbose = False 2005-05-17 21:33:41 +00:00
Yann Leboulanger 9fcb9f1d70 no need of global things in systray.py 2005-05-17 20:31:43 +00:00
Nikos Kouremenos 0393a34a65 removing unnecessary arg in make_menu 2005-05-17 19:23:55 +00:00
Yann Leboulanger 99401f2abb add a DATA_DIR in gajim 2005-05-17 17:37:50 +00:00
Nikos Kouremenos 36bf675fd3 when in windows open links/mailtos with default application. arnaud njoy 2005-05-17 15:04:54 +00:00
Nikos Kouremenos 7aaffae0dc better strings 2005-05-17 11:55:30 +00:00
Yann Leboulanger 7e7bceea97 if sound is not available under windows, don't crash 2005-05-17 08:01:49 +00:00
Yann Leboulanger 9aa5b02fc5 minimum width for left widget in gc hpaned 2005-05-16 20:17:53 +00:00
Nikos Kouremenos 8a6132d929 clean up in vcard.py 2005-05-16 14:15:13 +00:00
Nikos Kouremenos 375b56401b subscription_request_window ==> Subscription_request_window 2005-05-16 13:56:46 +00:00
Yann Leboulanger c2481dc949 use
keyval == keysyms.Tab or keyval == keysyms.ISO_Left_Tab
instead of:
hardware_keycode == 23
so it works under win too.
2005-05-15 20:58:04 +00:00
Yann Leboulanger 5555d6e317 hide tls option in gui until it is fixed in xmpppy 2005-05-15 20:17:44 +00:00
Nikos Kouremenos 67dd479d35 making previous commit a bit more clear 2005-05-15 19:23:44 +00:00
Nikos Kouremenos 9dcf2d0e79 removing colors from DEBUG when in windows 2005-05-15 19:19:00 +00:00
Yann Leboulanger 9a36ba4063 we can now print tabulations in gc 2005-05-15 17:49:40 +00:00
Yann Leboulanger 9cd8304502 contacts are alphabetically sorted in gc 2005-05-15 17:36:43 +00:00
Yann Leboulanger 44bf5e7422 reset allow_notification when we go offline 2005-05-15 16:54:04 +00:00
Nikos Kouremenos c9b791e5a2 delay popup notif back to 30 seconds
with high net load 15 secs is not enough. it is important not to give the idea to the user that those contacts that popup in 17 second just signed in cause that is simply not true. So it is better to lose one possible contact logging in the first 30 seconds after we logged in, that to show 3 or 4 contacts just logged in at once
2005-05-15 15:42:57 +00:00
Nikos Kouremenos 4ef68bb7e5 important bug in xmpppy does not allow us to default to tls True. In fact big stanzas result in disconnection. So until it fixed, TLS is *highly* discouraged [maybe we should disable it via GUI] cause I was even able to get disconnection when sending huge text [so not only disco related but allover] 2005-05-15 13:17:05 +00:00
Nikos Kouremenos 7b191bc2c4 adding resizability in cols in disco window 2005-05-15 12:02:50 +00:00
Nikos Kouremenos f4d8ff0944 use isdigit() instead of excepting ValueError 2005-05-15 11:52:35 +00:00
Nikos Kouremenos 9152f128e7 fixing a traceback with disco menuitem
see http://nkour.blogspot.com/2005/05/pythons-init-return-none-doesnt-return.html for more
2005-05-15 11:47:15 +00:00
Nikos Kouremenos 0d4084ead7 hiddenlines or hidden_lines ==> hidden_rows 2005-05-15 11:37:00 +00:00
Nikos Kouremenos a7bf88e8f1 removing string module it is deprecated 2005-05-15 11:35:42 +00:00
Nikos Kouremenos 6174a6cb51 removing colors when in windows 2005-05-15 11:34:48 +00:00
Nikos Kouremenos 9b88055b54 disco menuitem under Chat which is now Actions [now it is even better] 2005-05-15 11:27:32 +00:00
Nikos Kouremenos e7c8ac4dbe disco menuitem under Chat which is now Actions 2005-05-15 11:24:23 +00:00
Yann Leboulanger c649ef9272 set default role to visitor instead of None 2005-05-15 09:29:45 +00:00
Nikos Kouremenos 42d0164532 failing is bad. some of the modules we depend may mix tabs and spaces [in olders versions fact they do] and still work. issue a warning that is for devs anyways 2005-05-15 00:00:09 +00:00
Nikos Kouremenos afe2de643c if text is given for input_entry select it by default [so user can just type and replace it 2005-05-14 23:31:27 +00:00
Nikos Kouremenos 9de8bdf86d profile argument scanning: it is better like that 2005-05-14 23:08:38 +00:00
Nikos Kouremenos 1a5927afb2 at last a way to always scroll to end. thanks muntyan from #gtk+ :) 2005-05-14 22:24:14 +00:00
Nikos Kouremenos d8e0b91ee8 Input dialog to accept entry text as optional argument and to display it if given [using that in change subject 2005-05-14 16:34:07 +00:00
Yann Leboulanger ec5effc66b destroy the window when we want to quit gc window 2005-05-14 11:46:15 +00:00
Yann Leboulanger c3437d2d14 upgrade the self.account var when we change the name of the account (fix #279) 2005-05-14 11:01:09 +00:00
Nikos Kouremenos 288b68dd53 adding resizing ability in treeview cols in advanced finding a gtk bug [I reported it] 2005-05-14 02:09:28 +00:00
Nikos Kouremenos 961ded4882 Advanced_window ==> Advanced_configuration_window 2005-05-14 01:42:10 +00:00
Nikos Kouremenos 786b3984bc HIGing some more strings 2005-05-14 01:37:42 +00:00
Nikos Kouremenos 460fa3e532 groupchat window major UI changes. now is more UserFriendly and looks like every other IM clients that do groupchat 2005-05-14 01:29:53 +00:00
Nikos Kouremenos facc7a5fef ./gajim.py --profile foo will create and use ~/.gajim/config.foo. Thanks for writing and emailing in gajim devel ml the patch, tab 2005-05-13 22:38:48 +00:00
Yann Leboulanger 156c81846b look if we have unread / recent messages AFTER we get the status message (we can also do it before AND after ... comments ?) 2005-05-13 20:50:49 +00:00
Nikos Kouremenos e2012ca370 clear menuitem to use stock [have image] 2005-05-13 19:58:03 +00:00
Yann Leboulanger 324e8b25bf save status in Connection class
send our show / status when we join a gc
2005-05-13 18:54:44 +00:00
Yann Leboulanger e1020b288f the delayed timestamp in before time.time() ! 2005-05-13 18:23:08 +00:00
Nikos Kouremenos 229863bc0b glade fixes in advanced window and applying patch to make filter work [thanks Vincent Hanquez] 2005-05-13 18:05:15 +00:00
Nikos Kouremenos 526430c9b2 ichat style in time fix 2005-05-13 18:03:10 +00:00
Nikos Kouremenos 0a0cd669eb last_msg ==> last_status_msg and change_title ==> change_roster_title 2005-05-13 18:00:13 +00:00
Nikos Kouremenos e5d0ea8b87 higing some menuitem strings 2005-05-13 17:58:54 +00:00
Yann Leboulanger 5ebc240eeb tell xmpppy that stanza is treated when we send the version 2005-05-13 17:20:13 +00:00
Nikos Kouremenos 97aef098bc fixes/cleanups allover:
Basically a traceback a traceback with present()
replace some menuitem strings to be more HIG
introducing /clear and that is all I think
2005-05-13 16:53:30 +00:00
Yann Leboulanger 2737236f48 30 sec -> 15 sec of delay before showing notification windows 2005-05-12 21:46:44 +00:00
Yann Leboulanger 834d16654f fix #216 (Ctrl+V works when we open the chat window) 2005-05-12 21:39:20 +00:00
Yann Leboulanger f9a26dce55 remove unneeded commented line 2005-05-12 18:55:01 +00:00
Nikos Kouremenos 0408a86d7b conversation history window now has better title (mentions with whom) 2005-05-12 18:52:37 +00:00
Nikos Kouremenos 9be572c32d more common [gedit, gossip, ..] to prepend a custom menuitem (Clear) and also adding _ to it 2005-05-12 18:40:42 +00:00
Yann Leboulanger bbe1c02fc2 finish changing config option names ... 2005-05-12 17:46:17 +00:00
Nikos Kouremenos 00cd5dd0dc fixed #264 2005-05-12 17:17:20 +00:00
Nikos Kouremenos c4dfadff09 vpaned4 ==> vpaned for groupchat window [so we can hack border width] 2005-05-12 17:02:26 +00:00
Nikos Kouremenos ee5b444470 use present() for groupchat vcard window 2005-05-12 16:59:51 +00:00
Nikos Kouremenos 4ad7c30f47 use present if already open for conversation history window 2005-05-12 16:55:48 +00:00
Nikos Kouremenos 27723d1279 fixing #256 2005-05-12 13:52:09 +00:00
Nikos Kouremenos 33b125f42e contact information for vcard window title and better spacing and removing a border for history window 2005-05-12 13:49:36 +00:00
Nikos Kouremenos 47eb596780 do not fail if ~/.gajim is file or ~/.gajim/logs is file. also use os.path.join() for / to become \ for 9x until now I think we have been failing 2005-05-12 13:43:17 +00:00
Yann Leboulanger e98a0d8846 finish removing the thread thing about autoconnect 2005-05-12 10:29:47 +00:00
Nikos Kouremenos 052cd2740b make get_ui_status func which converts dnd xa to human understandble strings and use that func in Status change dialog 2005-05-12 09:14:31 +00:00
Nikos Kouremenos d4d667690e applying patch by Alexey to allow Gajim to exit after disconnection. 2005-05-12 09:13:35 +00:00
Nikos Kouremenos 44c5e2f2b9 removing legacy code from the threads epoch 2005-05-12 00:22:36 +00:00
Nikos Kouremenos bc4cc346b1 fix for Join_gc action see http://nkour.blogspot.com/2005/05/pythons-init-return-none-doesnt-return.html for more.
Also adding a FIXME: in case yann has not reply from Alexey and wants to hack sth in Gajim :)
2005-05-12 00:00:40 +00:00
Nikos Kouremenos 69b279d240 avoid possible keyerror 2005-05-11 22:00:48 +00:00
Nikos Kouremenos 1353525bf2 fixing a gui bug with sensitivity for proxy table (thanks owen from #gtk+ irc room 2005-05-11 21:02:22 +00:00
Yann Leboulanger e9abca09fc we now have clear in the conversation textview in gc and chat window (close #220) 2005-05-11 19:40:37 +00:00
Yann Leboulanger 9967408dd6 temporary fix to fix #265.
when we'll have a user instance for each contact in gc we won't need that, we'll use real informatino window with the first tab
2005-05-11 18:47:09 +00:00
Yann Leboulanger 6ab10d5fe5 logger.py do the replacements, not history_windows.py 2005-05-11 17:48:30 +00:00
Nikos Kouremenos a88696772a closing #259 2005-05-11 17:14:10 +00:00
Yann Leboulanger 88f4449fbb we now catch the errors when we connect and when we authentificat to the server 2005-05-11 16:37:01 +00:00
Yann Leboulanger 1e50542793 proxyport is an int, we have to print strings 2005-05-11 16:32:34 +00:00
Yann Leboulanger 00cc513d49 update the register and join buttons in disco as soon as we receive the info (ne need to change the line) 2005-05-11 16:19:55 +00:00
Yann Leboulanger a472b4a321 we can have popup notification even if we don't have sound enabled when a contact disconnect 2005-05-11 15:21:13 +00:00
Yann Leboulanger c22e2c5f7a bugfix: when we have an error, we sane an error to the GUI, not a notify 2005-05-11 15:14:43 +00:00
Nikos Kouremenos d98a451764 send and show N/A if client or os is empty 2005-05-11 11:09:53 +00:00
Yann Leboulanger 225ca870f1 we now catch all errors and send them to the gc if it's open 2005-05-11 10:05:43 +00:00
Yann Leboulanger fa183bae5d when we remove an agent we need to remove it with its resource (especially when we are not really registererd {wrong password}) 2005-05-11 09:12:18 +00:00
Yann Leboulanger b5244d8a9c according to JEP-0100, no need to get the key of an agent to remove it 2005-05-11 09:08:06 +00:00
Yann Leboulanger 1926369859 don't send an error iq after we process the roster iq (thx Alexey) close #251 2005-05-11 07:55:17 +00:00
Yann Leboulanger 2f35fade71 bugfix when keepalive package doen't come back 2005-05-10 17:45:10 +00:00
Yann Leboulanger 87f19fb638 print all errors in gc 2005-05-10 16:53:28 +00:00
Yann Leboulanger 1d63886ef8 default for GUI via glade and not via code for sync_with_global_status too 2005-05-10 15:57:49 +00:00
Nikos Kouremenos 1c9e02e2f5 for account_modification_window default for GUI via glade and not via code [cleaner & better] 2005-05-10 15:51:48 +00:00
Nikos Kouremenos c847d8c2e2 glade fix for giving focus to write widgets in proxy table 2005-05-10 15:45:06 +00:00
Nikos Kouremenos 30cd93c245 fixing a typo 2005-05-10 15:41:55 +00:00
Nikos Kouremenos aa386389cb gui to default to use_tls by default 2005-05-10 15:39:35 +00:00
Yann Leboulanger 6610bd5373 missing glade diff for proxy 2005-05-10 15:38:49 +00:00
Yann Leboulanger 6fa84c0dfe we now support user and password for proxy 2005-05-10 15:38:16 +00:00
Nikos Kouremenos 8175a92f7d proxy user/pass gui rdy 2005-05-10 15:08:31 +00:00
Yann Leboulanger b6648278e1 bugfix in account modification 2005-05-10 14:35:21 +00:00
Nikos Kouremenos 8e530045aa fixed #200 2005-05-10 12:19:24 +00:00
Yann Leboulanger aa9de25923 Alexey patch that allows discover that server is violating RFC by not restarting stream after TLS start.
If server did such thing xmpppy will not crash unpredictely but will issue a appropriate exception.
2005-05-10 09:27:04 +00:00
Yann Leboulanger 61558b8942 we write the new account option in the config file only when the account has been successfully registered 2005-05-10 09:20:35 +00:00
Nikos Kouremenos dc1a13ff8e adding some tooltips 2005-05-09 23:24:57 +00:00
Nikos Kouremenos a23ed9704c bye bye jabber.py [I like it, it rhymes :P] 2005-05-09 22:19:01 +00:00
Nikos Kouremenos adccebd4f3 removed unneeded lines 2005-05-09 22:18:44 +00:00
Yann Leboulanger 3fd078dd0b we can now disable the use of TLS 2005-05-09 19:52:43 +00:00
Nikos Kouremenos df6b4b75b9 it's better like that. after 0.7 I hopefully will pass the socket to main() 2005-05-09 17:00:02 +00:00
Nikos Kouremenos 33056b778b border width 4 (as everywhere) 2005-05-09 13:59:28 +00:00
Nikos Kouremenos 39fdf223c1 fixing expands in register agent window (thanks gjc) 2005-05-09 13:21:29 +00:00
Nikos Kouremenos 2475d4728d \t is only possible via copy pasting and we shouldn't touch clipboard text where we can 2005-05-09 10:46:40 +00:00
Yann Leboulanger b9406c24d6 /me\n or /me't also works ! 2005-05-09 10:36:44 +00:00
Yann Leboulanger 0f66868a70 revert latest commit I did (sorry) 2005-05-09 10:34:47 +00:00
Yann Leboulanger 0c8b0bbde2 /me\n or /me /t is also valid ! 2005-05-09 10:30:34 +00:00
Nikos Kouremenos 5bb1df8a19 for /mebalbla u want a space after /me right? :) 2005-05-09 10:20:08 +00:00
Yann Leboulanger 0f8de69f57 /meblabla is not a /me 2005-05-09 08:17:42 +00:00
Nikos Kouremenos c707636421 tls gui hack ready [this has to be rdy before 0.7 coz we use by default tls now and that may break idiotic servers that say tls is there but is not 2005-05-08 22:08:28 +00:00
Yann Leboulanger c741fbef11 remove unneeded lines 2005-05-08 21:03:42 +00:00
Yann Leboulanger f4b05e51fa request_register_agent_info is now async 2005-05-08 20:56:11 +00:00
Yann Leboulanger 4985612036 remove unneeded line 2005-05-08 17:47:52 +00:00
Yann Leboulanger 1753a316e4 the removal of an agent is now async 2005-05-08 17:33:08 +00:00
Yann Leboulanger 2171def073 we get the roster asynchronously now 2005-05-08 17:00:41 +00:00
Yann Leboulanger 2f977d1b1a we may want to remove an iter (when we remove an account for exemple) 2005-05-08 16:56:14 +00:00
Yann Leboulanger da4457401f apply Alexey's patch in order to be able not to use TLS connection 2005-05-08 16:50:56 +00:00
Nikos Kouremenos 4a90f80cfa chk new version commit: fixing a bug introduced by tab when he changed the names of the var in config and adding a timeout 2005-05-08 15:06:24 +00:00
Nikos Kouremenos 58e7da6d54 update path to some files so they match the new structure [it is far from complete and of course it is vital to have the paths fixed before 0.7] 2005-05-07 20:23:55 +00:00
Yann Leboulanger 1d87384800 bugfix from Alexey about proxy, can someone test if it works ? 2005-05-07 17:02:32 +00:00
Yann Leboulanger 58705bbba5 patch from Alexey: new function: SendAndCallForResponse.
It will help in resolving locking problems
2005-05-07 16:16:24 +00:00
Yann Leboulanger e4692d22d6 do not remove a contact from the roster if show_offline is True 2005-05-07 15:47:11 +00:00
Yann Leboulanger 457a800cf4 we can show notification windows even if we don't play sound 2005-05-07 15:40:58 +00:00
Yann Leboulanger 00c7b60f18 bugfix: when a user go offline and quickly online it was removed from the roster 2005-05-07 15:23:02 +00:00
Yann Leboulanger be913f8f27 xmpp patch from alexey: fix auth problem 2005-05-07 14:46:21 +00:00
Yann Leboulanger 77ea76ba9b bugfix in removing account Part 2 (fix #236) 2005-05-07 14:45:50 +00:00
Yann Leboulanger 69ba1d3198 bugfix when we remove an account 2005-05-07 14:36:07 +00:00
Nikos Kouremenos 413ea7b6e7 check_for_new_version move to src from src/common [has gtk stuff] 2005-05-07 14:02:16 +00:00
Yann Leboulanger 4f6af83ef4 save the config when we change an option in advanced config window 2005-05-07 13:14:37 +00:00
Yann Leboulanger 54ae5dc351 send only _one_ keepAlive packet 2005-05-07 12:41:29 +00:00
Yann Leboulanger fab74069c6 Gajim is JEP-0011 compliemt now 2005-05-07 12:24:19 +00:00
Yann Leboulanger 56d60f3fd5 xmpppy changes:
- Sync with latest CVS version + gajim patches.
- streamErrorHandler disabled. If you want enable it - unrem it at line 66 of
  dispatcher.py
- TLS re-enabled. Should work fine now
- disconnection TLS plugout re-enabled. Didn't successed in reproducing
  problem though so maybe not fixed.
- My temporary fixes replaced with CVS ones.

gajim connection.py changes (in chunks order):
- getTags is incorrect. Replaced with getChildren
- browseAgents is absent from xmpppy. Fixed with manual node send. Made use of
  buildReply method and con argument
- formatting fix
- crude fixed register problem. I do not know how to do it properly. It is
  client stuff. Honest! I have no idea how to make it non-blocking and yet make
  library to fallback to older protocols.
  getInstructions() moved to xmpppy
Thanks Alexey !
2005-05-07 10:57:40 +00:00
Yann Leboulanger 66249dafb5 add a default Role in gc 2005-05-07 09:08:54 +00:00
Yann Leboulanger d9cf8bb1a0 remove unneeded code 2005-05-06 19:56:48 +00:00
Yann Leboulanger 4202e2549b we can launch Gajim even if we have no connection (this will have to be launched in a thread) 2005-05-06 19:53:26 +00:00
Yann Leboulanger 7668643750 finish Custom -> custom translation 2005-05-06 19:52:18 +00:00
Nikos Kouremenos 723af5012a fixing a traceback after yann's commit and asking a qu for yann [as FIXME:] 2005-05-06 18:01:07 +00:00
Nikos Kouremenos e4dfc6e739 fixing #231 2005-05-06 17:35:57 +00:00
Yann Leboulanger 98beecbc08 update the iconset in gc windows when we change the iconset 2005-05-06 17:02:58 +00:00
Nikos Kouremenos 77607214fe replace setup.py in favor of Makefile in idle module compilation 2005-05-06 12:06:10 +00:00
Nikos Kouremenos 3c200bea78 this is no longer needed 2005-05-06 10:43:34 +00:00
Nikos Kouremenos 69a42c1da5 roster theme names first letter small 2005-05-06 10:26:28 +00:00
Nikos Kouremenos 61d6692a8d if config does not exist do not print error could not open file 2005-05-06 08:33:23 +00:00
Nikos Kouremenos a346454c45 make gajim bootable if not config available. this code is temp but seems to fixes the pb. plz hack it so it meats your taste 2005-05-05 17:11:48 +00:00
Nikos Kouremenos f804c04d59 bugfix 2005-05-05 16:02:14 +00:00
Nikos Kouremenos 058b326e60 platform => os 2005-05-05 14:02:39 +00:00
Nikos Kouremenos 1f5e991af0 remove tab should have the show status image show/hide code, cause switch page is not enough 2005-05-05 13:18:44 +00:00
Yann Leboulanger e8965ae8b4 send keepalive every minute 2005-05-04 19:20:02 +00:00
Nikos Kouremenos cb4d4bc233 glade fixes (mostly titles) 2005-05-04 19:12:38 +00:00
Nikos Kouremenos 51aae4e3bf allow focus in all parent widgets in tabbed chat window to avoid the dotted rectangle on History button 2005-05-04 18:49:53 +00:00
Nikos Kouremenos 49ff06842c add new contact dialog code cleanup and some GUI fixes:\nProtocol combobox is disabled if uid is empty\nguess_agent() doesnt change to Jabber if not ICQ\nBecause of massive usage of get_widget() I self'ed them [it's ok this dialog dies soon and it is always better to do less glade parsing 2005-05-04 17:44:49 +00:00
Nikos Kouremenos bc6e64bf16 typo 2005-05-04 17:32:23 +00:00
Nikos Kouremenos 0a15ecc5b4 removing extra identation. I also want to mention that the previous commit shouldn't have had all those files. It was by accident. Anyways the previous commit also fixed a GUI bug for the Groupchat: now groupchat window and chat window use *different* hboxes 2005-05-04 16:40:41 +00:00
Nikos Kouremenos 2e668210c2 if not foo else becomes if foo else: 2005-05-04 16:22:07 +00:00
Nikos Kouremenos 73f6e4d758 fixing #221 2005-05-04 15:30:08 +00:00
Nikos Kouremenos 91d058fda4 set_property('visible', bool) becomes show()/hide() depending on bool val 2005-05-03 16:43:27 +00:00
Nikos Kouremenos dd5eaf1ab9 active_tab --> set_active_tab [I also though of a minute to start adding properties eg. foo.set_active_tab(bar) would be foo.tab = bar. if u like that we can see designing like that in the future 2005-05-03 16:39:27 +00:00
Nikos Kouremenos 68b0672437 show contact status if tabbed and more than one tabs in the tab itself. this is more HIG and ergonomic cause we know the status of a contact without clicking on it. Also this design is followed by Gossip, Gaim and many others IM clients that do tabbedUI 2005-05-03 16:37:59 +00:00
Nikos Kouremenos 543ad45eb4 config value log --> verbose. perhaps in the future debug (coz in the future we will have an xml window) or just stick with verbose :P part 2 2005-05-03 16:27:00 +00:00
Nikos Kouremenos 7d26b7db8c config value log --> verbose. perhaps in the future debug (coz in the future we will have an xml window) or just stick with verbose :P 2005-05-03 16:26:30 +00:00
Yann Leboulanger 4005f944c7 no xmpppy debug when log = False 2005-05-03 08:06:59 +00:00
Vincent Hanquez 4534b2bbbc support for readonly variable
add 'version' as a readonly variable
2005-04-30 22:24:45 +00:00
Nikos Kouremenos b6d32de0ea adding Cyan theme roster 2005-04-30 17:40:32 +00:00
Nikos Kouremenos 46eaae7d0f allow focus for account modification window widget name 2005-04-30 17:21:05 +00:00
Nikos Kouremenos a2f9ad8bcd #215 fixed 2005-04-30 17:19:03 +00:00
Nikos Kouremenos 6ba87fdd50 account_modification_window gives fcus to Name of account 2005-04-30 11:02:30 +00:00
Nikos Kouremenos 4779c800b7 removing \ where not needed 2005-04-30 08:48:50 +00:00
Nikos Kouremenos 3db9a32c91 select and TLs do not like each other. falling back to non TLS. thanks rohan 2005-04-29 15:56:43 +00:00
Nikos Kouremenos 27bb186ce5 agents can start with @ so find <=0 instead of find != -1 2005-04-29 15:39:16 +00:00
Nikos Kouremenos 94537da614 make roster theme UI better 2005-04-29 15:01:44 +00:00
Nikos Kouremenos 3cb963554d features.py still problematic, just adding the stuff alexey said in case his grab this to continue fixing 2005-04-29 14:16:55 +00:00
Nikos Kouremenos 0b331139ed connection.py still problematic, just adding the stuff alexey said in case his grab this to continue fixing 2005-04-29 14:15:16 +00:00
Nikos Kouremenos caad4cd972 cleanup 2005-04-29 14:14:25 +00:00
Nikos Kouremenos 8bb18de5e4 check on jid and not on name for agent protocol (thanks mikea) 2005-04-29 14:11:05 +00:00
Yann Leboulanger fbdae750c2 we now have themes for roster colors / fonts 2005-04-29 13:04:06 +00:00
Yann Leboulanger 3f417a2fba reset to default color now works in chat tab 2005-04-29 09:47:09 +00:00
Nikos Kouremenos 77fadb30db nothing important: removing a comment, adding one 2005-04-29 08:00:06 +00:00
Yann Leboulanger bce9902708 merge / split group chat windows on the fly 2005-04-28 15:48:20 +00:00
Yann Leboulanger 9377f0223b use less long variables 2005-04-28 14:55:57 +00:00
Yann Leboulanger 7d9d47ac9b we now save and restore some variables in tabbed chat window (gpg_enabled) when we split / merge windows 2005-04-28 14:38:36 +00:00
Yann Leboulanger 11ef5a0787 close add contact window when we press esc (fix #204) 2005-04-28 13:01:47 +00:00
Yann Leboulanger 583591e18e we can be free for chat 2005-04-27 22:37:36 +00:00
Yann Leboulanger 7275e06657 remove unneeded var 2005-04-27 22:37:18 +00:00
Yann Leboulanger cd771c22ef add a new child for each option instead of always rewrite over the same 2005-04-27 22:14:28 +00:00
Yann Leboulanger 9fd9b98a79 save hidden lines when we quit 2005-04-27 21:49:59 +00:00
Nikos Kouremenos 1ef087ca75 bugfix (now self.account) 2005-04-27 20:12:57 +00:00
Yann Leboulanger 184542a4d1 when we double click on a contact (or when we click on the systray icon), present the chat_window.
idem for gc window
2005-04-27 19:09:34 +00:00
Vincent Hanquez db89a48bf3 remove the filter by default that clobber all options except account,
*by* *default* without any ways to unclobbered options since the rest of the
code is *NOT* working. *donkey*.
2005-04-27 19:03:28 +00:00
Yann Leboulanger c75e610914 merge and split tabbed chat window on the fly (need to do the same for gc)
begining is in the previous commit (sorry)
2005-04-27 18:57:34 +00:00
Yann Leboulanger eef71fcb27 xmpppy gives us the UTC time, we convert it to localtime 2005-04-27 18:26:31 +00:00
Nikos Kouremenos b372567405 redoing my cleanup. the print are now ALL commented. they were left just in case Vincent wanted to test easier. Gajim would run after my cleanup, and even advanced config would run. As yann has said in the past, svn is a place of DEVELOPMENT. Please Vincent just because of 3 prints that were not commented out IN ORDER TO HELP YOU if you went to hack, you should NOT revert all the fixes. Yann said this is strong I would say sth worse.
-- edited by tab. this is not the place for laundry.
2005-04-27 15:16:40 +00:00
Nikos Kouremenos 8c30b8ce53 asterix said this var names part II 2005-04-27 15:06:25 +00:00
Nikos Kouremenos 0a9d0aec55 asterix said this var names 2005-04-27 15:05:31 +00:00
Yann Leboulanger 119cbe0eb9 bugfix when we begin a new chat, show the window 2005-04-27 13:50:13 +00:00
Yann Leboulanger e2c6bdedec do not read the configfile when we save the configuration 2005-04-27 13:49:44 +00:00
Vincent Hanquez 0ae961c76f [revert 1258]
only half of the diff is correct (the window opening).

lots of lines looks like nk's experimentations and obviously do not cleanup
anything nor make the thing works:

* print 'show', name
* self.filterstr = 'account'
* print 'refilter starts'
* print self.filterstr
* self.modelfilter.refilter() #FIXME: does not work!
2005-04-27 13:49:42 +00:00
Nikos Kouremenos 44d8b641b1 advanced config allow opening only once, cleanup in filter [still does not work], cleanup in glade for advanced config window 2005-04-27 12:53:14 +00:00
Vincent Hanquez af256c0abd set the correct widget name for setting colors 2005-04-27 00:19:07 +00:00
Vincent Hanquez 61c70c1ae8 re-create connections at the good place ! 2005-04-27 00:14:22 +00:00
Vincent Hanquez d5c3059a18 add a default value to data for the foreach function 2005-04-26 23:53:11 +00:00
Vincent Hanquez 92a4fea8a9 new simple optparser. *break* old configuration file compatibility. 2005-04-26 23:45:25 +00:00
Vincent Hanquez d415620b13 normalize value directly into is_valid_XXX 2005-04-26 23:41:20 +00:00
Yann Leboulanger 5ee1f2b29a fix a typo 2005-04-26 22:19:18 +00:00
Vincent Hanquez 8ed41802bf add a data parameter to the config foreach's callback function 2005-04-26 22:17:47 +00:00
Yann Leboulanger a27ab3f739 better load of icons, so transports have every icon (if the file doens't exists it is a blank icon) 2005-04-26 22:11:03 +00:00
Yann Leboulanger 3cd6922815 fix some typos 2005-04-26 21:33:01 +00:00