aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-ft-factory.c
Commit message (Collapse)AuthorAgeFilesLines
* Add missing telepathy-glib-dbus.h includesXavier Claessens2013-10-031-0/+2
|
* Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-0/+2
| | | | | | | | | | | | Sort by: • "config.h" • API declarations, if any • public libraries • internal headers, alphabetically sorted (mostly) http://telepathy.freedesktop.org/wiki/Style#A.23includes https://bugzilla.gnome.org/show_bug.cgi?id=697076
* Drop unused/redundant header inclusionsEmanuele Aina2013-03-281-5/+0
| | | | | | | With the help of the script posted at http://stackoverflow.com/a/7135530 and some manual fixes, drop the unused or redundant #include directives. https://bugzilla.gnome.org/show_bug.cgi?id=696718
* ft-factory: ensure that the factory stays alive while ↵Guillaume Desmottes2012-06-261-2/+4
| | | | | | empathy_ft_handler_new_outgoing() is running https://bugzilla.gnome.org/show_bug.cgi?id=678524
* client-factory: stop creating EmpathyTpFile objectsJonny Lamb2011-11-091-1/+1
| | | | | | | TpAutomaticClientFactory will create TpFileTransferChannels for us and they're, like, way better. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* ft-handler: start using TpFTChannel instead of EmpathyTpFileJonny Lamb2011-11-091-1/+1
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-281-3/+2
| | | | No more ugly marshallers \o/
* EmpathyTpFile: inherit from TpFileTransferChannelGuillaume Desmottes2011-09-271-9/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=658245
* pass to proper user action time when requesting an outgoing FTGuillaume Desmottes2011-09-271-2/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=658245
* Port to new tp-glib client factoryGuillaume Desmottes2011-08-181-11/+4
| | | | | | | | | | | | | | | | | - EmpathyChannelFactory has been changed to EmpathyClientFactory and inherit from TpAutomaticClientFactory. - We now always use the _with_am variant of TpSimple* constructors - We define our own factory as default. - Replace empathy_get_account_for_connection() by tp_connection_get_account() - The factory is passed to EmpathyTpChat and TpyCallChannel - Use tp_simple_client_factory_ensure_account() instead of tp_account_manager_ensure_account(). - Rely on the factory to prepare connection features. This should ensure that all the TpProxy and TpContact objects created in Empathy are shared and use EmpathyClientFactory. https://bugzilla.gnome.org/show_bug.cgi?id=655799
* define constants for handler bus nameGuillaume Desmottes2011-03-171-1/+2
| | | | It's more convenient and safe than hardcoding them everywhere.
* ft-factory: don't leak the handlerGuillaume Desmottes2011-02-161-0/+12
|
* fix coding styleGuillaume Desmottes2011-02-161-10/+13
|
* Use TpSimpleHandler to handle incoming file transfer (#623139)Guillaume Desmottes2010-08-111-35/+93
|
* Remove the use_hash arg and propertyCosimo Cecchi2009-06-011-13/+5
| | | | | | | Remove the use_hash construct arg and property from EmpathyFTHandler and make it clear in the docs how clients are supposed to know whether we are hashing or not. Also, port EmpathyFTFactory to the new API
* Fix coding styleCosimo Cecchi2009-06-011-2/+2
|
* Remove useless GET_PRIVCosimo Cecchi2009-06-011-2/+0
|
* Use NULL instead of FALSECosimo Cecchi2009-06-011-1/+1
|
* Document EmpathyFTFactoryCosimo Cecchi2009-06-011-0/+83
|
* Use != NULL for pointer checks.Cosimo Cecchi2009-06-011-1/+1
|
* Adapt the code to the tp style.Cosimo Cecchi2009-06-011-15/+15
|
* Handle construction errorsCosimo Cecchi2009-06-011-19/+6
| | | | | Handle errors that may arise when constructing the handler from the factory.
* Add use_hash params for incoming transfersCosimo Cecchi2009-06-011-2/+3
| | | | | Add use_hash params for incoming transfers to the FT Factory and Handler, so that we will use them to check hash for received files.
* Update the EmpathyFTFactory APICosimo Cecchi2009-06-011-2/+3
| | | | Update the factory API to make hashing request optional.
* Handle errors coming from the EmpathyFTFactoryCosimo Cecchi2009-06-011-1/+1
|
* Rethink a bit the logic for an incoming transfer.Cosimo Cecchi2009-06-011-10/+33
| | | | | | | | | | | Now, a client should have to do the following, in order to receive a file transfer: - let the EmpathyFTFactory claim the EmpathyDispatchOperation - the factory will emit "new-incoming-transfer" when the handler is filled with the relevant properties - now you can choose a destination file, and then you should call _set_destination on EmpathyFTFactory passing the handler. - the factory will emit "new-ft-handler" as you're now ready to start the actual transfer.
* We don't need dispose, finalize and private fields in EmpathyFTFactory (yet?).Cosimo Cecchi2009-06-011-31/+1
|
* Make libempathy compile with the new changes.Cosimo Cecchi2009-06-011-6/+18
|
* W.I.P. for heavy lifting on EmpathyTpFile.Cosimo Cecchi2009-06-011-6/+18
|
* Implement empathy_ft_factory_claim_channel and make naming uniform.Cosimo Cecchi2009-06-011-5/+18
|
* Fix the build.Cosimo Cecchi2009-06-011-1/+1
|
* Implement hashing of the file. Make it compile.Cosimo Cecchi2009-06-011-5/+8
|
* Initial commit for EmpathyFTFactory and EmpathyFTHandler.Cosimo Cecchi2009-06-011-0/+147