Commit Graph

170 Commits

Author SHA1 Message Date
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
js cf2da2b039 Fix #4100.
dbus-monitor actually showed the traceback that wouldn't appear
anywhere else.

Note to others: DBus.String needs to be converted using str()!
2008-07-15 14:22:34 +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
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
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 6d8dd51db0 show/hide ipython window instead of create/destroy 2008-04-15 18:09:04 +00:00
Yann Leboulanger 29dd9d2576 added ipython for SVN users only. 2008-04-14 15:19:09 +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
Yann Leboulanger 831511b2cb use correct function to open a groupchat from gajim-remote. fixes #3705 2008-01-24 12:16:17 +00:00
Yann Leboulanger 5128ef67d3 add groups in contact_information returned by gajim-remote. fixes #3655 2008-01-04 14:48:46 +00:00
Travis Shirk 0afc7b2328 Merge one_window branch
Merged revisions 9143,9145-9155,9157-9162,9164-9169,9171-9177 via svnmerge from
svn://88.191.11.156/gajim/branches/one_window

........
  r9145 | nicfit | 2007-12-13 21:49:09 -0700 (Thu, 13 Dec 2007) | 2 lines

  Implemented the original Nikos patch with an HPaned instead of a HBox and only do this mode when one_message_window == 'always'
........
  r9152 | nicfit | 2007-12-15 13:33:56 -0700 (Sat, 15 Dec 2007) | 2 lines

  Added config and GUI for one_message_window_with_roster
........
  r9153 | nicfit | 2007-12-15 13:41:46 -0700 (Sat, 15 Dec 2007) | 2 lines

  Use one_message_window_with_roster and some whitespace cleanup
........
  r9154 | nicfit | 2007-12-15 14:04:49 -0700 (Sat, 15 Dec 2007) | 2 lines

  Scratch the chckbox for with roster mode, use one_message_window opt and combo
........
  r9155 | nicfit | 2007-12-15 17:01:13 -0700 (Sat, 15 Dec 2007) | 2 lines

  MessageWindowMgr knows about ONE_MESSAGE_WINDOW_ALWAYS_WITH_ROSTER and MessageWindow can reparent itself rather then the roster having to do so.
........
  r9157 | nicfit | 2007-12-15 17:47:20 -0700 (Sat, 15 Dec 2007) | 2 lines

  Resizing fixes and make the roster window shrink when last tab is removed
........
  r9158 | nicfit | 2007-12-15 19:15:11 -0700 (Sat, 15 Dec 2007) | 2 lines

  Added "Show roster" (CTRL+R) to view menu when using always_with_roster to quickly hide/show the roster.
........
  r9159 | nicfit | 2007-12-15 19:49:30 -0700 (Sat, 15 Dec 2007) | 2 lines

  Handle window title setting in always_with_roster mode.
........
  r9160 | nicfit | 2007-12-15 20:13:57 -0700 (Sat, 15 Dec 2007) | 2 lines

  Removed FIXME
........
  r9167 | nicfit | 2007-12-17 18:40:59 -0700 (Mon, 17 Dec 2007) | 2 lines

  When roster is hidden, show it when the number of MessageWindow controls == 0
........
  r9168 | nicfit | 2007-12-17 19:07:49 -0700 (Mon, 17 Dec 2007) | 2 lines

  Disable hiding roster when there are no message controls open
........
  r9169 | nicfit | 2007-12-17 20:41:11 -0700 (Mon, 17 Dec 2007) | 2 lines

  Bunch of saved size bugs fixed
........
2007-12-18 23:42:22 +00:00
Travis Shirk a55a62a4d4 raise and return, right next to each other? Go with the newer revision of
returning DBUS_BOOLEAN(False)
2007-12-14 03:19:22 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger 07e52866d5 [oystein] fix dbus signature of gajim-remote list_contacts. fixes #3408 2007-08-30 18:58:40 +00:00
Julien Pivotto 6637366b68 Fix a name error in [8407] 2007-07-18 12:11:48 +00:00
Julien Pivotto c09b4aaa6c Add send_groupchat_message to gajim-remote. Fix #2447. 2007-07-18 12:07:21 +00:00
Julien Pivotto 9994643247 Added my own copyright :-P 2007-07-11 21:39:27 +00:00
Yann Leboulanger 8abd062365 [Lukas] split get_contact into get_contacts and get_contact. get_contact_from_full_jid uses get_contact. Maybe could be merged with optional argument, but it's clearer this way. Fixes #3275 2007-07-04 13:23:16 +00:00
Yann Leboulanger 33946aeeef remove useless function get_contcats_from_jid (same as get_contact). see #3275 2007-07-03 10:22:41 +00:00
Yann Leboulanger 5f797834ae fix signatures in remote control. fixes #2865 2007-01-21 18:13:23 +00:00
Jean-Marie Traissard 775b85a83e Var name, removed unused import, thanks pyflakes 2007-01-11 22:41:00 +00:00
Yann Leboulanger 5f7ad6fea1 always give the same number of arguments to dbus methods, use signatures. fixes #2784
simon, could you have a look to this patch ? does it seems correct ?
2007-01-11 17:58:44 +00:00
Yann Leboulanger 1b45a78584 fix indentation 2007-01-10 16:18:04 +00:00
Yann Leboulanger daa064a657 [Simon Mcvittie] fix gajim-remote list_contacts. fixes #2865 2007-01-09 19:09:21 +00:00
Yann Leboulanger 759ddff650 don't handle xmpp:// uri, correct uri are xmpp: 2007-01-05 17:38:43 +00:00
Yann Leboulanger 6076bd1028 ignore wrong incomming jid from gajim-remote open_chat. see #2861 2007-01-05 12:32:59 +00:00
Yann Leboulanger cafef3c1c5 [misc] handle uri like room_jid?join. see #2133 2007-01-02 02:45:43 +00:00
Yann Leboulanger 3e1c3ef811 make gajim-remote work with python-dbus 0.80+. see #2784 2006-12-26 12:04:22 +00:00
Yann Leboulanger e6a4d088a9 partially revert [7673]. see #2784 2006-12-17 23:00:44 +00:00
Yann Leboulanger 724f702320 fix typo. 2006-12-17 22:37:21 +00:00
Nikos Kouremenos 5c4e2efb6e another patch so we work in python dbus 0.80; see #2784 2006-12-17 11:56:01 +00:00
Jean-Marie Traissard 8f9643b3bc Update gajim-remote new command name, delete unused local var 2006-11-22 17:19:50 +00:00
Jean-Marie Traissard f041f8dd5e JID->Jabber ID in gc tooltip
if print_time==sometimes : Show the day if needed also. Use locale for time format (do
not force
24h)
Delete a lot of unused locale variables (thanks pychecker)
del gajim.py useless global vars after use
configpaths.py : use self. not this.
2006-11-21 18:46:33 +00:00
Jean-Marie Traissard 9347fe10e1 Remove lot of useless imports
Fix gajim-remote contact_info
Fix profile_win right click on avatar
Fix a call and a comment
Thanks pyflakes (a program, not a person) for the whole.
2006-11-15 01:59:21 +00:00
Nikos Kouremenos 213cfba438 gajim-remote get_unread_msgs_number now works ok. fix #2622 2006-11-03 12:55:05 +00:00
Nikos Kouremenos 946d180054 some events are not readable. thus unread event does not make sense. Pending Events is what we wanna say 2006-10-20 09:37:24 +00:00
Yann Leboulanger 725325eb7e priority is now by default set from status. online: 50, away: 40...
priorities are configurable with autopriority_* ACE options.
Fixes #1999, #1439, #1885, #1076
2006-10-03 14:57:19 +00:00
Nikos Kouremenos 1f6e5bcd7e move dbus_support to common; try to do exceptions for D-Bus [Dimitur please have a look] 2006-09-29 20:49:15 +00:00
Nikos Kouremenos 0b54816178 make it more understandable 2006-09-25 13:27:08 +00:00
Dimitur Kirov 7e23d31cbf fix Exception on missing base class 2006-09-25 13:23:27 +00:00
Nikos Kouremenos eedb3fd2d5 update and clean remote_control.py [kill old dbus, and generally improve code]; also use python24 decorators 2006-09-25 13:12:51 +00:00
Nikos Kouremenos e9a6b7c108 kill old dbus 2006-09-24 19:22:10 +00:00
Dimitur Kirov 08506dedf7 [mibus@mibus.org] remote control to take count
of "sync with global status" pref
2006-09-14 07:24:20 +00:00
Yann Leboulanger 282c8d3f33 [roidelapluie] gajim-remove send_xml. Fixes #2081 2006-09-09 18:25:49 +00:00
Yann Leboulanger 910afa2b47 gajim-remote show_next_unread is back 2006-09-03 20:35:23 +00:00
Yann Leboulanger a67eaba727 events are now saved in an Event class. show in roster/systray options in Advanced Notification Control (for incomming messages) now work. 2006-09-02 21:01:11 +00:00
Yann Leboulanger e261e0a7a0 gajim-remote now support nicknames. Fixes #871 2006-08-03 10:48:11 +00:00
Dimitur Kirov 0e0ef34b26 stip 'file://' at file_path start 2006-07-04 06:11:51 +00:00
Jean-Marie Traissard 9ec77f1dd9 Merge duplicate code 2006-06-16 17:01:36 +00:00
Jean-Marie Traissard 42d74e39fa [maciekp] Send single message with gajim-remote, fixes #2026. 2006-06-16 16:09:46 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov 226e5372e4 new arguments for gajim-remote add_contact
(<jid> [account]). If account is not specified,
show a combobox with active accounts
2006-05-19 21:13:45 +00:00
Dimitur Kirov 0291b50fec added command start_chat (Geobert QUACH patch) 2006-05-09 22:13:46 +00:00
Nikos Kouremenos 1524521c7f pychecker on our files. everyone please have a look so we do not do the same mistakes and in case you catch a mistake I did when cleaning 2006-03-24 18:48:26 +00:00
Yann Leboulanger 2890da56dd [dimorph] get_unread_msgs_number function in gajim-remote 2006-02-20 17:25:26 +00:00
Dimitur Kirov 952692098f gajim-remote suport for dbus 33 ~ 50 2006-02-18 16:34:38 +00:00
Dimitur Kirov d513b7372b emit signal as structures, instead of strings
(gajim may die with older dbus - it is not
completely tested)
2006-02-18 09:49:26 +00:00
Dimitur Kirov a13945e062 refacter gajim-remote code, don't use unrepr
(0.23 is not supported)
get cached vcards, instead of signaling server
2006-02-18 08:59:32 +00:00
Dimitur Kirov 2e7a00cd38 typo, now list_contacts without additional
argument [account] returns a valid result
2006-02-15 23:06:33 +00:00
Dimitur Kirov 70191a1959 added command account_info 2006-02-12 19:07:38 +00:00
Yann Leboulanger 5276b923fe use new contacts function 2006-02-02 18:42:29 +00:00
Travis Shirk a63132500b Pass account to window/control lookup methods 2006-01-25 02:43:55 +00:00
Yann Leboulanger cd974302b5 typo 2006-01-15 16:26:49 +00:00
Travis Shirk 1360933ba9 Merged in trunk updates, including meta_contacts
Merged revisions 4951,4962-4969 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4951 | nk | 2005-12-30 16:50:36 -0700 (Fri, 30 Dec 2005) | 1 line

fixes in greek transl
........
r4962 | asterix | 2006-01-01 11:41:04 -0700 (Sun, 01 Jan 2006) | 2 lines

merge meta_contacts branch with trunk. Meta contacts are not in gajim yet, but framework is here. We now use gajim.contacts.many_functions() to handle contacts and groupchat_contacts.

........
r4963 | asterix | 2006-01-01 11:43:24 -0700 (Sun, 01 Jan 2006) | 2 lines

correct contacts file

........
r4964 | asterix | 2006-01-01 11:47:26 -0700 (Sun, 01 Jan 2006) | 2 lines

dict.remove() doesn't exists, it's del dict[]

........
r4965 | asterix | 2006-01-01 11:50:15 -0700 (Sun, 01 Jan 2006) | 2 lines

some missing commits from branch

........
r4966 | asterix | 2006-01-01 11:53:30 -0700 (Sun, 01 Jan 2006) | 2 lines

end of gc_contact.nick -> gc_contact.name

........
r4967 | asterix | 2006-01-01 12:05:59 -0700 (Sun, 01 Jan 2006) | 2 lines

new ACE option: send_sha_in_gc_presence that allow to send sha info in groupchat presences

........
r4968 | asterix | 2006-01-01 12:12:36 -0700 (Sun, 01 Jan 2006) | 2 lines

0.9.1-2 in debian that solve the group bug (commit [4924])

........
r4969 | asterix | 2006-01-01 12:31:13 -0700 (Sun, 01 Jan 2006) | 2 lines

typo

........
2006-01-01 20:06:26 +00:00
Travis Shirk c30ee542dc Close to usable for chat, receiving messages, etc. 2005-12-31 21:55:44 +00:00
Travis Shirk a52596266c Merged trunk 2005-12-30 21:37:36 +00:00
Yann Leboulanger da873080af gajim-remote get_status without account now return global status 2005-12-14 17:55:03 +00:00
Nikos Kouremenos 30eaaecb91 tab not space in contributors 2005-12-10 00:59:02 +00:00
Nikos Kouremenos 6e413e7f5a [lorien420] Notification Daemon Popups are now clickable! CONGRAAAAAAATS Andrew Sayman 2005-12-10 00:56:38 +00:00
Yann Leboulanger 612716e2db change copyright from "Gajim Team" to real people 2005-12-09 23:30:28 +00:00
Yann Leboulanger cae7ce3bac "Gajim Team" in all hearders become "Contributors for this file" 2005-12-09 17:15:30 +00:00
Yann Leboulanger 34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Yann Leboulanger 734e7ecb21 ne need to duplicate code, show_next_unread in remote_control now does the same thing as click on systray when there is one or more pending event 2005-12-04 23:15:43 +00:00
Nikos Kouremenos 618e89c480 remote_control to use exceptions.py and the latter to be included in POTFILES.in [please always do this when new files] 2005-12-01 17:49:45 +00:00
Nikos Kouremenos 50446b7f5b remove unused var 2005-11-30 17:12:58 +00:00
Nikos Kouremenos 1095357c90 try to make get_status work 2005-11-30 16:17:06 +00:00
Nikos Kouremenos b854555e58 fix strings to be more readable; add get_status (did not test yet); raise allover 2005-11-30 15:26:08 +00:00
Nikos Kouremenos 7d357dfe5a fix names of exception, fix docstring, fix strings 2005-11-30 14:48:58 +00:00
Nikos Kouremenos ececa0dacf remove noused code (it is here from the time we tried to gajim-remote on/off on the fly. clean up! 2005-11-19 22:01:10 +00:00
Nikos Kouremenos 6d2d1fcba1 remove hardcoding dbus version 2005-11-16 21:22:35 +00:00
Yann Leboulanger 9ce32c8211 add a gc command: /say that send the message without looking for commands ("/say /help" sends "/help") 2005-11-16 20:25:06 +00:00
Nikos Kouremenos 1f5b2acd9f nothing 2005-11-13 17:43:41 +00:00
Nikos Kouremenos 082fc7aaa9 fixing dict name: gajim.interface.windows --> gajim.interface.instances 2005-11-13 15:08:47 +00:00
Yann Leboulanger 726640ef4b the old self.plugin variable becomes gajim.interface, no need to pass it to every functions/classes 2005-10-20 11:17:17 +00:00
Nikos Kouremenos 599e8d15a4 add two more ft proxies until we get to autodiscover if the server we have the JID on, has support and we prio on that 2005-09-17 11:26:15 +00:00
Dimitur Kirov 71231fb864 don't load remote control if dbus is 0.23.x
and python is 2.4
2005-09-15 20:40:55 +00:00
Nikos Kouremenos 15bede7a5f better varname 2005-09-13 14:28:22 +00:00
Dimitur Kirov 7495464de7 if jid is not a conntact, open-chat with first connected account 2005-09-13 14:15:13 +00:00
Dimitur Kirov be43c2c850 added add_contact and remove_contact methods 2005-09-09 22:22:05 +00:00
Dimitur Kirov a1c0fbb4b0 added prefs_put and prefs_del commands 2005-09-09 20:51:22 +00:00
Dimitur Kirov 37780f6b72 added prefs_list and prefs_store commands
(prefs_del, prefs_put are not implemented yet)
2005-09-09 15:29:32 +00:00
Nikos Kouremenos 7e808fbb56 work with xmpp: too 2005-09-08 10:24:33 +00:00
Nikos Kouremenos 0372f162e9 remove a fixme 2005-09-08 09:23:49 +00:00
Nikos Kouremenos 914749b740 register xmpp:// gajim-remote handler in GNOME; various cleanup 2005-09-07 21:12:30 +00:00
Dimitur Kirov c99093c203 fixed show vcard info 2005-09-06 13:17:10 +00:00
Dimitur Kirov e4a28f6572 added send_file remote command 2005-08-23 23:41:23 +00:00
Nikos Kouremenos 8ac54a2e41 in windows do not say about missing dbus bidingins 2005-08-15 18:28:19 +00:00