]> git.0d.be Git - empathy.git/log
empathy.git
14 years agoUnref the EmpathyFTHandlers
Cosimo Cecchi [Mon, 4 May 2009 01:06:28 +0000 (03:06 +0200)]
Unref the EmpathyFTHandlers

Unref EmpathyFTHandler objects after adding them to the manager.

14 years agoProperly emit the TRANSFER_STARTED signal
Cosimo Cecchi [Mon, 4 May 2009 01:05:24 +0000 (03:05 +0200)]
Properly emit the TRANSFER_STARTED signal

Emit the TRANSFER_STARTED signal when actually starting the transfer
(after the DBus invocation callback).

14 years agoDon't notify progress for zero bytes
Cosimo Cecchi [Mon, 4 May 2009 01:04:42 +0000 (03:04 +0200)]
Don't notify progress for zero bytes

Also, remove useless state property.

14 years agoFirst implementation of error handling
Cosimo Cecchi [Mon, 4 May 2009 00:14:43 +0000 (02:14 +0200)]
First implementation of error handling

Implement the callback in EmpathyFTManager.
Erase a redundant is_cancelled property in EmpathyFTHandler and rely on
the GCancellable, which is shared by EmpathyTpFile and EmpathyFTHandler.

14 years agoTotal FileTransfer draft spec exorcism
Cosimo Cecchi [Sun, 3 May 2009 23:50:03 +0000 (01:50 +0200)]
Total FileTransfer draft spec exorcism

14 years agoRework the logic of cancelling transfers
Cosimo Cecchi [Sun, 3 May 2009 23:44:24 +0000 (01:44 +0200)]
Rework the logic of cancelling transfers

Rework the logic of cancelling transfers so that the GCancellable object
is not used from an UI frontend, as that would require to duplicate
storage for each EmpathyFTHandler in the manager.

14 years agoUse proper DEBUG() messages
Cosimo Cecchi [Sun, 3 May 2009 23:32:22 +0000 (01:32 +0200)]
Use proper DEBUG() messages

14 years agoUse values from TpFileTransferState
Cosimo Cecchi [Sun, 3 May 2009 23:29:08 +0000 (01:29 +0200)]
Use values from TpFileTransferState

Use values from the TpFileTransferState and
TpFileTransferStateChangeReason enums instead of the Empathy draft
interfaces.

14 years agoOnly close the FT operation after the state change
Cosimo Cecchi [Sun, 3 May 2009 23:26:15 +0000 (01:26 +0200)]
Only close the FT operation after the state change

Close the FT operation only after the "completed" state change has been
emitted, so that we can guarantee there will be no other progress
signals emitted after TRANSFER_DONE.
Also, add some other debug calls.

14 years agoFormat messages for hashing
Cosimo Cecchi [Sun, 3 May 2009 17:21:15 +0000 (19:21 +0200)]
Format messages for hashing

Format messages when hashing.
Also, add some debug spew to see when the callbacks are called.

14 years agoEmit the TRANSFER_STARTED signal
Cosimo Cecchi [Sun, 3 May 2009 17:19:54 +0000 (19:19 +0200)]
Emit the TRANSFER_STARTED signal

Emit the TRANSFER_STARTED signal also when offering.

14 years agoSet the "incoming" property at construct
Cosimo Cecchi [Sun, 3 May 2009 17:18:26 +0000 (19:18 +0200)]
Set the "incoming" property at construct

Set the "incoming" property of EmpathyTpFile when we construct it from
EmpathyDispatchOperation.

14 years agoSync with changes in master
Cosimo Cecchi [Sat, 2 May 2009 19:11:20 +0000 (21:11 +0200)]
Sync with changes in master

Sync with the changes in master and port to the stable TP FileTransfer
spec.

14 years agoAdd is_completed and is_cancelled API
Cosimo Cecchi [Sat, 2 May 2009 19:10:38 +0000 (21:10 +0200)]
Add is_completed and is_cancelled API

Add some API to get the state of the handler.

14 years agoUse the proper TP interface instead of emp_cli
Cosimo Cecchi [Sat, 2 May 2009 19:09:43 +0000 (21:09 +0200)]
Use the proper TP interface instead of emp_cli

Update to use the stable TP interface for FT.

14 years agoMake the whole thing compile
Cosimo Cecchi [Sat, 2 May 2009 13:23:13 +0000 (15:23 +0200)]
Make the whole thing compile

The branch now compiles. Still have to debug and implement error
handling.

14 years agoRemove some of the EmpFileTransferState crack
Cosimo Cecchi [Thu, 30 Apr 2009 17:50:06 +0000 (19:50 +0200)]
Remove some of the EmpFileTransferState crack

The basic idea is to completely hide the state in EmpathyFTHandler, and
let the clients interact with the signal interface instead of switching
cases for the state.

14 years agoAdd empathy_ft_handler_get_total_bytes API
Cosimo Cecchi [Thu, 30 Apr 2009 17:49:47 +0000 (19:49 +0200)]
Add empathy_ft_handler_get_total_bytes API

14 years agos/ft_manager/manager/ where appropriate
Cosimo Cecchi [Thu, 30 Apr 2009 15:57:19 +0000 (17:57 +0200)]
s/ft_manager/manager/ where appropriate

14 years agoW.I.P. code for EmpathyFTManager v2
Cosimo Cecchi [Thu, 30 Apr 2009 15:38:27 +0000 (17:38 +0200)]
W.I.P. code for EmpathyFTManager v2

Use GET_PRIV everywhere
Stubs of implementations of the transfer state machine

14 years agoAdd empathy_ft_handler_get_transferred_bytes API
Cosimo Cecchi [Thu, 30 Apr 2009 15:38:11 +0000 (17:38 +0200)]
Add empathy_ft_handler_get_transferred_bytes API

14 years agoFirst batch of W.I.P. rework of EmpathyFTManager
Cosimo Cecchi [Wed, 29 Apr 2009 15:48:22 +0000 (17:48 +0200)]
First batch of W.I.P. rework of EmpathyFTManager

14 years agoAdd to the EmpathyFTManager the new handlers.
Cosimo Cecchi [Wed, 29 Apr 2009 15:47:51 +0000 (17:47 +0200)]
Add to the EmpathyFTManager the new handlers.

14 years agoAdd some useful APIs to EmpathyFTHandler
Cosimo Cecchi [Wed, 29 Apr 2009 15:46:31 +0000 (17:46 +0200)]
Add some useful APIs to EmpathyFTHandler

Add some APIs to EmpathyFTHandler useful to get transfer properties.
Also, implement an error signal.

14 years agoFix indentation of function prototype
Cosimo Cecchi [Wed, 29 Apr 2009 15:45:48 +0000 (17:45 +0200)]
Fix indentation of function prototype

14 years agoRemove useless include of empathy-tp-file.h
Cosimo Cecchi [Wed, 29 Apr 2009 15:45:11 +0000 (17:45 +0200)]
Remove useless include of empathy-tp-file.h

14 years agoRemove dead code in EmpathyDispatcher
Cosimo Cecchi [Wed, 18 Feb 2009 15:47:16 +0000 (16:47 +0100)]
Remove dead code in EmpathyDispatcher

14 years agoRethink a bit the logic for an incoming transfer.
Cosimo Cecchi [Wed, 18 Feb 2009 15:41:12 +0000 (16:41 +0100)]
Rethink a bit the logic for an incoming transfer.

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.

14 years agoUse the new API to send a file with the file chooser.
Cosimo Cecchi [Wed, 18 Feb 2009 11:16:11 +0000 (12:16 +0100)]
Use the new API to send a file with the file chooser.

14 years agoEmit the transfer_started signal as soon as we start an incoming transfer.
Cosimo Cecchi [Wed, 18 Feb 2009 10:49:02 +0000 (11:49 +0100)]
Emit the transfer_started signal as soon as we start an incoming transfer.

14 years agoFree memory in _finalize inside EmpathyFTHandler.
Cosimo Cecchi [Wed, 18 Feb 2009 10:45:38 +0000 (11:45 +0100)]
Free memory in _finalize inside EmpathyFTHandler.

14 years agoWe don't need dispose, finalize and private fields in EmpathyFTFactory (yet?).
Cosimo Cecchi [Wed, 18 Feb 2009 10:41:46 +0000 (11:41 +0100)]
We don't need dispose, finalize and private fields in EmpathyFTFactory (yet?).

14 years agoCleanup in EmpathyTpFile style.
Cosimo Cecchi [Wed, 18 Feb 2009 10:39:49 +0000 (11:39 +0100)]
Cleanup in EmpathyTpFile style.

14 years agoMake libempathy compile with the new changes.
Cosimo Cecchi [Tue, 17 Feb 2009 19:07:06 +0000 (20:07 +0100)]
Make libempathy compile with the new changes.

14 years agoModify EmpathyFTHandler to adapt to the changes in EmpathyTpFile API.
Cosimo Cecchi [Tue, 17 Feb 2009 18:48:01 +0000 (19:48 +0100)]
Modify EmpathyFTHandler to adapt to the changes in EmpathyTpFile API.

14 years agoRemove the RequestData struct.
Cosimo Cecchi [Tue, 17 Feb 2009 13:07:39 +0000 (14:07 +0100)]
Remove the RequestData struct.

14 years agoW.I.P. for heavy lifting on EmpathyTpFile.
Cosimo Cecchi [Tue, 17 Feb 2009 11:03:58 +0000 (12:03 +0100)]
W.I.P. for heavy lifting on EmpathyTpFile.

14 years agoDon't schedule the next read two times when we're finished reading the stream.
Cosimo Cecchi [Mon, 9 Feb 2009 17:04:50 +0000 (18:04 +0100)]
Don't schedule the next read two times when we're finished reading the stream.

14 years agoAdd debug spew.
Cosimo Cecchi [Mon, 9 Feb 2009 16:32:47 +0000 (17:32 +0100)]
Add debug spew.

14 years agoAdd some error handling and keep on adding progress signals.
Cosimo Cecchi [Mon, 9 Feb 2009 15:14:08 +0000 (16:14 +0100)]
Add some error handling and keep on adding progress signals.

14 years agoFix the build.
Cosimo Cecchi [Mon, 9 Feb 2009 14:22:08 +0000 (15:22 +0100)]
Fix the build.

14 years agoStart implementing signals inside EmpathyFTHandler.
Cosimo Cecchi [Mon, 9 Feb 2009 09:20:25 +0000 (10:20 +0100)]
Start implementing signals inside EmpathyFTHandler.

14 years agoImplement empathy_ft_factory_claim_channel and make naming uniform.
Cosimo Cecchi [Thu, 5 Feb 2009 14:26:08 +0000 (15:26 +0100)]
Implement empathy_ft_factory_claim_channel and make naming uniform.

14 years agoFix the build.
Cosimo Cecchi [Thu, 5 Feb 2009 14:19:00 +0000 (15:19 +0100)]
Fix the build.

14 years agoSet more meaningful names for EmpathyFTHandler public methods.
Cosimo Cecchi [Thu, 5 Feb 2009 14:16:41 +0000 (15:16 +0100)]
Set more meaningful names for EmpathyFTHandler public methods.

14 years agoCall the dispatcher to create the Channel after we have built the request.
Cosimo Cecchi [Thu, 5 Feb 2009 14:00:16 +0000 (15:00 +0100)]
Call the dispatcher to create the Channel after we have built the request.

14 years agoImplement hashing of the file. Make it compile.
Cosimo Cecchi [Thu, 5 Feb 2009 11:24:47 +0000 (12:24 +0100)]
Implement hashing of the file. Make it compile.

14 years agoLittle cleanup.
Cosimo Cecchi [Thu, 5 Feb 2009 00:25:48 +0000 (01:25 +0100)]
Little cleanup.

14 years agoInitial commit for EmpathyFTFactory and EmpathyFTHandler.
Cosimo Cecchi [Wed, 4 Feb 2009 19:06:30 +0000 (20:06 +0100)]
Initial commit for EmpathyFTFactory and EmpathyFTHandler.

14 years agoOnly remove the address fields and position fields instead of all
Pierre-Luc Beaudoin [Mon, 1 Jun 2009 15:10:23 +0000 (11:10 -0400)]
Only remove the address fields and position fields instead of all

14 years agoRemove unused var
Pierre-Luc Beaudoin [Mon, 1 Jun 2009 14:43:08 +0000 (10:43 -0400)]
Remove unused var

14 years agoGet rid of McAccount everywhere
Pierre-Luc Beaudoin [Mon, 1 Jun 2009 14:39:26 +0000 (10:39 -0400)]
Get rid of McAccount everywhere

Shouldn't have to care about accounts, just connections.

14 years agoGet rid of Mission Control as EmpathyAccountManager does all that too
Pierre-Luc Beaudoin [Sun, 31 May 2009 19:39:15 +0000 (15:39 -0400)]
Get rid of Mission Control as EmpathyAccountManager does all that too

14 years agoFix inconsistency in preferences and code
Pierre-Luc Beaudoin [Sun, 31 May 2009 16:21:22 +0000 (12:21 -0400)]
Fix inconsistency in preferences and code

14 years agoDon't set priv on a separate line
Pierre-Luc Beaudoin [Sun, 31 May 2009 16:12:34 +0000 (12:12 -0400)]
Don't set priv on a separate line

14 years agoUse tp_g_value_slice_new_double
Pierre-Luc Beaudoin [Sun, 31 May 2009 16:10:02 +0000 (12:10 -0400)]
Use tp_g_value_slice_new_double

tp_asv_* cannot be used as tp_asv does not copy the keys

14 years agoReorder functions to get rid of the function declarations
Pierre-Luc Beaudoin [Sun, 31 May 2009 16:03:36 +0000 (12:03 -0400)]
Reorder functions to get rid of the function declarations

14 years agoReimplement the singleton in the constructor
Pierre-Luc Beaudoin [Sun, 31 May 2009 15:53:18 +0000 (11:53 -0400)]
Reimplement the singleton in the constructor

14 years agoFix errors found by make check
Pierre-Luc Beaudoin [Fri, 29 May 2009 20:09:41 +0000 (16:09 -0400)]
Fix errors found by make check

14 years agoUse timeout instead of idle (and fix the fact that it wasn't actually working)
Pierre-Luc Beaudoin [Fri, 29 May 2009 20:00:00 +0000 (16:00 -0400)]
Use timeout instead of idle (and fix the fact that it wasn't actually working)

14 years agoUse DEBUG instead of printerr
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:51:31 +0000 (15:51 -0400)]
Use DEBUG instead of printerr

14 years agoDon't use foreach to iter over a HashTable
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:44:39 +0000 (15:44 -0400)]
Don't use foreach to iter over a HashTable

14 years agoFix bracket style
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:38:31 +0000 (15:38 -0400)]
Fix bracket style

14 years agoProperly unref objects used by EmpathyLocationManager
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:35:14 +0000 (15:35 -0400)]
Properly unref objects used by EmpathyLocationManager

14 years agoApply style fixes to EmpathyLocationManager
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:27:23 +0000 (15:27 -0400)]
Apply style fixes to EmpathyLocationManager

• update the copyright
• EmpathyLocationManagerPriv: document the hash table
• is_setup seems a poor name. geoclue_is_setup?
• remove PROP_0 we don't need/use it
• Don't use C++ comments

14 years agoDon't build the file instead of #if the whole file
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:15:42 +0000 (15:15 -0400)]
Don't build the file instead of #if the whole file

14 years agoFactory is sometimes ref leaked
Pierre-Luc Beaudoin [Fri, 29 May 2009 15:59:31 +0000 (11:59 -0400)]
Factory is sometimes ref leaked

14 years agoQueue location publish requests
Pierre-Luc Beaudoin [Fri, 29 May 2009 18:08:18 +0000 (14:08 -0400)]
Queue location publish requests

Using an idle callback makes it less probable that the location
will be updated twice in a very short time.  This scenario
is common is the address_cb and position_cb got a reply from
geocluse almost at the sametime.

14 years agoRename empathy_location_manager_get_default to dup_default
Pierre-Luc Beaudoin [Thu, 28 May 2009 21:03:35 +0000 (17:03 -0400)]
Rename empathy_location_manager_get_default to dup_default

This is more consistent with the rest of Empathy.

14 years agoMore explicit debug message on what is published
Pierre-Luc Beaudoin [Thu, 28 May 2009 18:23:05 +0000 (14:23 -0400)]
More explicit debug message on what is published

14 years agoAny location accuracy will do
Pierre-Luc Beaudoin [Thu, 28 May 2009 01:44:05 +0000 (21:44 -0400)]
Any location accuracy will do

14 years agoDon't use geoclue's timestamp
Pierre-Luc Beaudoin [Thu, 28 May 2009 01:42:47 +0000 (21:42 -0400)]
Don't use geoclue's timestamp

It turns out that the timestamp are not reliable (they
are often set to 0).

14 years agoDon't call geoclue functions if the init failed
Pierre-Luc Beaudoin [Wed, 27 May 2009 16:49:37 +0000 (12:49 -0400)]
Don't call geoclue functions if the init failed

14 years agoFix a warning if McAccount has no TpConnection
Pierre-Luc Beaudoin [Tue, 7 Apr 2009 21:44:18 +0000 (17:44 -0400)]
Fix a warning if McAccount has no TpConnection

14 years agoFix left over issues from rebasing
Pierre-Luc Beaudoin [Tue, 7 Apr 2009 18:38:04 +0000 (14:38 -0400)]
Fix left over issues from rebasing

14 years agoDon't show the location preferences if geoclue not available
Pierre-Luc Beaudoin [Sun, 25 Jan 2009 13:06:13 +0000 (00:06 +1100)]
Don't show the location preferences if geoclue not available

14 years agoFix compilation if geoclue is not enabled
Pierre-Luc Beaudoin [Sun, 25 Jan 2009 13:05:56 +0000 (08:05 -0500)]
Fix compilation if geoclue is not enabled

14 years agoMerge fixes due to API changes
Pierre-Luc Beaudoin [Thu, 22 Jan 2009 05:03:54 +0000 (16:03 +1100)]
Merge fixes due to API changes

14 years agoVarious style fixes
Pierre-Luc Beaudoin [Sat, 17 Jan 2009 14:32:46 +0000 (16:32 +0200)]
Various style fixes

14 years agoSend a int64 timestamp to match the spec
Pierre-Luc Beaudoin [Mon, 12 Jan 2009 23:02:03 +0000 (01:02 +0200)]
Send a int64 timestamp to match the spec

14 years agoClear remote location upon disabling
Pierre-Luc Beaudoin [Fri, 2 Jan 2009 04:34:23 +0000 (23:34 -0500)]
Clear remote location upon disabling

14 years agoFix key freeing
Pierre-Luc Beaudoin [Tue, 30 Dec 2008 18:24:06 +0000 (13:24 -0500)]
Fix key freeing

14 years agoImplement reduced accuracy
Pierre-Luc Beaudoin [Tue, 16 Dec 2008 22:40:49 +0000 (17:40 -0500)]
Implement reduced accuracy

14 years agoSend timestamp
Pierre-Luc Beaudoin [Tue, 16 Dec 2008 20:18:51 +0000 (15:18 -0500)]
Send timestamp

14 years agoWhen updating the resources, check for changed location
Pierre-Luc Beaudoin [Mon, 15 Dec 2008 21:17:45 +0000 (16:17 -0500)]
When updating the resources, check for changed location

14 years agoMore ressource fix
Pierre-Luc Beaudoin [Fri, 12 Dec 2008 23:14:03 +0000 (18:14 -0500)]
More ressource fix

14 years agoInitial position/address and ressource fix
Pierre-Luc Beaudoin [Fri, 12 Dec 2008 22:40:22 +0000 (17:40 -0500)]
Initial position/address and ressource fix

14 years agoShould not be elseif
Pierre-Luc Beaudoin [Fri, 12 Dec 2008 18:56:46 +0000 (13:56 -0500)]
Should not be elseif

14 years agoPublish location when enabling it
Pierre-Luc Beaudoin [Thu, 11 Dec 2008 21:31:52 +0000 (16:31 -0500)]
Publish location when enabling it

14 years agoSupport all position fields
Pierre-Luc Beaudoin [Thu, 11 Dec 2008 21:07:55 +0000 (16:07 -0500)]
Support all position fields

14 years agoSupport address fields
Pierre-Luc Beaudoin [Wed, 10 Dec 2008 22:27:42 +0000 (17:27 -0500)]
Support address fields

14 years agoPublish location after connection and when location changes
Pierre-Luc Beaudoin [Wed, 10 Dec 2008 17:04:30 +0000 (12:04 -0500)]
Publish location after connection and when location changes

14 years agoAdd EmpathyLocationManager
Pierre-Luc Beaudoin [Sat, 29 Nov 2008 04:01:20 +0000 (23:01 -0500)]
Add EmpathyLocationManager

14 years agoAdd a Location tab in preferences
Pierre-Luc Beaudoin [Fri, 29 May 2009 17:53:38 +0000 (13:53 -0400)]
Add a Location tab in preferences

14 years agoConfigure bits for geoclue
Pierre-Luc Beaudoin [Tue, 25 Nov 2008 22:11:29 +0000 (17:11 -0500)]
Configure bits for geoclue

14 years agoMerge commit 'ksz/can_stream_tube'
Guillaume Desmottes [Mon, 1 Jun 2009 14:47:55 +0000 (15:47 +0100)]
Merge commit 'ksz/can_stream_tube'

14 years agoAdd the method empathy_contact_can_stream_tubes in the empathy-tp-contact-factory
Arnaud Maillet [Fri, 29 May 2009 13:18:52 +0000 (15:18 +0200)]
Add the method empathy_contact_can_stream_tubes in the empathy-tp-contact-factory

14 years agoadd chat.freenode.net as default FreeNode server (#584061)
Guillaume Desmottes [Sun, 31 May 2009 11:38:06 +0000 (12:38 +0100)]
add chat.freenode.net as default FreeNode server (#584061)

14 years agoSmall update
Gabor Kelemen [Sat, 30 May 2009 23:03:16 +0000 (01:03 +0200)]
Small update

14 years agoCope with status icon begin NULL
Sjoerd Simons [Sat, 30 May 2009 21:48:46 +0000 (22:48 +0100)]
Cope with status icon begin NULL