Commit Graph

117 Commits

Author SHA1 Message Date
Yann Leboulanger 457156cc0e put (group)chat controls in a hbox to be more extensible 2010-10-27 11:39:45 +02:00
Yann Leboulanger ca43e5441c merge message archiving branch. Fixes #3593 2010-08-11 18:43:41 +02:00
Yann Leboulanger 796213c9cb merge with trunk 2010-07-19 19:53:29 +02:00
Yann Leboulanger 60d9b234a7 Fix some mino things about archiving preference window. see #5792 2010-06-27 21:50:00 +02:00
Yann Leboulanger d58841cb2b [Dave Cridland] add XEP-0258 support. Great thanks for that! Fixes #5772 2010-06-07 19:11:44 +02:00
Yann Leboulanger 2c2e4201d7 merge from trunk 2010-05-25 16:33:40 +02:00
Éric Araujo 9b5ee1e13b convert tabs to spaces in source code thanks to reindent.py
Also use sed to remove now unneeded Vim lines, 2to3 -f ws_comma to fix
some whitespace, and fix some other madness manually.
2010-04-08 01:20:17 +02:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Éric Araujo 0408b35cfb convert tabs to spaces in source code thanks to reindent.py
also use 2to3 -f ws_comma to fix some whitespace
2010-02-10 17:59:17 +01:00
Yann Leboulanger fa05d88b2b merge from default branch 2010-02-08 22:25:41 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger 99872d8ff8 split message_window.ui to separate chat_control.ui and groupchat_control.ui 2010-01-22 21:17:59 +01:00
Yann Leboulanger 956accf010 Bye bye glade, Hi gtk builder. Fixes #4945 2010-01-22 19:57:59 +01:00
Yann Leboulanger 3a76966c14 merge from default branch 2010-01-19 16:37:14 +01:00
Yann Leboulanger d1a9a6983a EncryptedSession cannot be an ArchivingSession 2009-12-10 17:40:48 +01:00
Yann Leboulanger 5a3ef285a5 fix some archiving session negotiation bugs
print archving negotiation result in chat control
2009-12-02 11:52:49 +01:00
Alexander Cherniuk a23961fbf6 Big portion of doc-string refactoring 2009-11-25 22:59:43 +02:00
Mateusz Biliński 70731dbab7 Merged default branch into plugin-system branch. 2009-11-14 21:15:27 +01:00
Yann Leboulanger 503aebd919 [change window icon according to the content (muc, chat). Fixes #4300 2009-10-23 10:02:45 +02:00
Yann Leboulanger 0d37f4f64b better session handling:
- when a new contact with higher prio connect, detach session from chat control. Fixes #5021
 - don't re-use a session that was for another sessin

Tests are more than welcome!
2009-10-06 17:35:25 +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 6f3b32d9fd correctly create session (pm / not pm) when we send a message in a control without a session (after disabling E2E). Fixes #4818 2009-04-27 16:57:09 +00:00
Yann Leboulanger fdcf75ae59 minimize groupchats when closing several windows at the same time. Fixes #4987 2009-04-23 07:26:08 +00:00
Yann Leboulanger 0c27b86cc1 Warn user before closing chat window with tabs where we can loose data. Fixes #3645 2009-04-08 16:28:51 +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
Yann Leboulanger c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Julien Pivotto 5a31ba2ef0 Very basic integration of xHtml GUI 2008-11-14 11:13:15 +00:00
Yann Leboulanger 06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger 158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +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
Yann Leboulanger 5fbea47130 warning dialogs when closing a chat window are non blocking 2008-08-08 15:19:08 +00:00
Mateusz Biliński 16ac65e58b Improvements to GUI extension points handling - added method to remove these from PluginManager (memory optimization).
Removed logging from most of the code.
2008-08-03 13:29:11 +00:00
Yann Leboulanger d030cd8b03 prevent sending invalid XML chars in chat / groupchat and status. Fixes #3296 2008-07-30 12:21:47 +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
Brendan Taylor abbdf8d5c9 attach resource to sessions so that only the relevant sessions are terminated when a contact goes offline 2008-07-26 05:28:15 +00:00
js f704701ba4 Support for displaying XEP-0184 receipts. 2008-07-18 20:24:34 +00:00
Brendan Taylor 8b1abeba54 fix disappearing crypto icon 2008-07-18 04:01:07 +00:00
Brendan Taylor e32b184cf7 fix GroupchatControl session-related TB 2008-07-04 00:30:07 +00:00
Brendan Taylor e3613be1fa first pass at stripping out the one-tab-per-session code 2008-06-26 23:36:58 +00:00
Brendan Taylor 3ec61df48b minor fixes for ctrl.set_session 2008-06-10 02:58:04 +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
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 f7874d29c7 reuse chat controls after session termination
fixes #3950
2008-05-23 23:27:08 +00:00
Brendan Taylor 4feacc73ab moved OTR stuff from session.received to connection._messageCB
fixed lock icon when session has been terminated
2008-05-20 00:44:30 +00:00
js ea3e43c15a Always pass the special message '?OTR?' to libotr. 2008-05-19 20:25:58 +00:00
js acc78e6d48 Coding style & make translatable. 2008-05-19 18:48:53 +00:00
js 1cbe5678da * When we receive a plaintext, non-tagged message, don't append OTR
tag to outgoing messages anymore. Messages are not even passed to
  libotr anymore then.
* If we don't support OTR, strip OTR tags from the message before
  displaying it.
2008-05-19 17:41:51 +00:00