Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove last references to mission-control 4 | Sjoerd Simons | 2009-07-16 | 1 | -0/+1 |
| | |||||
* | Refuse sending empty or special files (directories, char/block devices, etc.) | Frédéric Péters | 2009-06-17 | 1 | -1/+18 |
| | | | | (GNOME bug 563678) | ||||
* | Free the cb_data after errors in construction | Cosimo Cecchi | 2009-06-01 | 1 | -6/+10 |
| | |||||
* | Use the new API. | Cosimo Cecchi | 2009-06-01 | 1 | -39/+22 |
| | |||||
* | Fix trailing whitespace | Cosimo Cecchi | 2009-06-01 | 1 | -1/+1 |
| | |||||
* | Use the new API in the handler | Cosimo Cecchi | 2009-06-01 | 1 | -21/+65 |
| | |||||
* | Fix trailing whitespaces | Cosimo Cecchi | 2009-06-01 | 1 | -3/+3 |
| | |||||
* | Remove the use_hash arg and property | Cosimo Cecchi | 2009-06-01 | 1 | -44/+17 |
| | | | | | | | 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 | ||||
* | Actually check if FT+hash is supported | Cosimo Cecchi | 2009-06-01 | 1 | -40/+74 |
| | | | | | | | | Use the new API to find out if FT+hash is supported before setting the handler as ready. This gives the clients to use empathy_ft_handler_can_hash reliably before calling empahty_ft_handler_start_transfer to know to which signal they should connect. | ||||
* | Add GObject propreties for EmpathyFTHandler | Cosimo Cecchi | 2009-06-01 | 1 | -1/+109 |
| | |||||
* | Remove useless member | Cosimo Cecchi | 2009-06-01 | 1 | -1/+0 |
| | |||||
* | Style fixes for *_free() functions | Cosimo Cecchi | 2009-06-01 | 1 | -21/+6 |
| | |||||
* | Don't use slices for 4096 chunks | Cosimo Cecchi | 2009-06-01 | 1 | -2/+2 |
| | |||||
* | Properly free memory | Cosimo Cecchi | 2009-06-01 | 1 | -2/+2 |
| | |||||
* | Clarify a bit the docs about checksumming | Cosimo Cecchi | 2009-06-01 | 1 | -2/+6 |
| | |||||
* | Report the right remaining time in the progress cb | Cosimo Cecchi | 2009-06-01 | 1 | -1/+1 |
| | |||||
* | Add a comment to make the style checker happy | Cosimo Cecchi | 2009-06-01 | 1 | -1/+1 |
| | |||||
* | Fix coding style | Cosimo Cecchi | 2009-06-01 | 1 | -13/+13 |
| | |||||
* | Use the new function in EmpathyFTHandler | Cosimo Cecchi | 2009-06-01 | 1 | -35/+36 |
| | |||||
* | Set use_hash according to what the CM returns | Cosimo Cecchi | 2009-06-01 | 1 | -0/+11 |
| | | | | | | Set use_hash according to what the CM returns and not what the user would like it to be, so that clients won't be confused about whether they should connect to "hashing-started" after "transfer-done". | ||||
* | Use the right macros to pass a gboolean as user_data | Cosimo Cecchi | 2009-06-01 | 1 | -0/+2 |
| | | | | | Use GPOINTER_TO_INT and GINT_TO_POINTER instead of passing the address, as that doesn't work. | ||||
* | Document EmpathyFTHandler | Cosimo Cecchi | 2009-06-01 | 1 | -0/+251 |
| | |||||
* | Use != NULL for pointer checks. | Cosimo Cecchi | 2009-06-01 | 1 | -7/+7 |
| | |||||
* | Use g_slice_* instead of g_malloc | Cosimo Cecchi | 2009-06-01 | 1 | -2/+2 |
| | |||||
* | Use tp_g_value_slice_new_* where possible | Cosimo Cecchi | 2009-06-01 | 1 | -18/+10 |
| | |||||
* | Unref the EmpathyTpContactFactory | Cosimo Cecchi | 2009-06-01 | 1 | -0/+2 |
| | |||||
* | Adapt the code to the tp style. | Cosimo Cecchi | 2009-06-01 | 1 | -39/+40 |
| | |||||
* | Don't destroy an hashtable owned by DBus | Cosimo Cecchi | 2009-06-01 | 1 | -2/+0 |
| | |||||
* | Don't leak GErrors. | Cosimo Cecchi | 2009-06-01 | 1 | -1/+3 |
| | |||||
* | Handle construction errors | Cosimo Cecchi | 2009-06-01 | 1 | -0/+9 |
| | | | | | Handle errors that may arise when constructing the handler from the factory. | ||||
* | Add some debug messages | Cosimo Cecchi | 2009-06-01 | 1 | -0/+12 |
| | |||||
* | Add empathy_ft_handler_get_use_hash | Cosimo Cecchi | 2009-06-01 | 1 | -1/+19 |
| | | | | This is needed, as the GConf property might change during the transfer. | ||||
* | W.I.P. for hash on receiver side. | Cosimo Cecchi | 2009-06-01 | 1 | -11/+102 |
| | |||||
* | Add use_hash params for incoming transfers | Cosimo Cecchi | 2009-06-01 | 1 | -4/+6 |
| | | | | | 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. | ||||
* | Add the USE_HASH property in class_init | Cosimo Cecchi | 2009-06-01 | 1 | -3/+8 |
| | |||||
* | Make checksum optional when sending | Cosimo Cecchi | 2009-06-01 | 1 | -5/+19 |
| | |||||
* | First cleanup after rebase | Cosimo Cecchi | 2009-06-01 | 1 | -41/+39 |
| | |||||
* | Simplify the hashing code | Cosimo Cecchi | 2009-06-01 | 1 | -70/+48 |
| | | | | | Simplify the hashing code with the aid of GIOScheduler. This has the nice side effect that checksum updating is now done in the I/O thread. | ||||
* | Ensure the callbacks are only run once | Cosimo Cecchi | 2009-06-01 | 1 | -0/+3 |
| | | | | | Also ensure that we get no progress callbacks after the transfer has been cancelled. | ||||
* | Add back speed and remaining time | Cosimo Cecchi | 2009-06-01 | 1 | -17/+49 |
| | |||||
* | Properly ref/unref the request table | Cosimo Cecchi | 2009-06-01 | 1 | -7/+14 |
| | | | | | | Destroy the request table early, and keep a reference when passing it to the dispatcher. Also, don't cancel the nonexistant EmpathyTpFile when stopping hashing. | ||||
* | Properly emit the TRANSFER_STARTED signal | Cosimo Cecchi | 2009-06-01 | 1 | -8/+11 |
| | | | | | Emit the TRANSFER_STARTED signal when actually starting the transfer (after the DBus invocation callback). | ||||
* | First implementation of error handling | Cosimo Cecchi | 2009-06-01 | 1 | -36/+25 |
| | | | | | | 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. | ||||
* | Total FileTransfer draft spec exorcism | Cosimo Cecchi | 2009-06-01 | 1 | -5/+4 |
| | |||||
* | Rework the logic of cancelling transfers | Cosimo Cecchi | 2009-06-01 | 1 | -3/+16 |
| | | | | | | 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. | ||||
* | Use proper DEBUG() messages | Cosimo Cecchi | 2009-06-01 | 1 | -8/+8 |
| | |||||
* | Only close the FT operation after the state change | Cosimo Cecchi | 2009-06-01 | 1 | -0/+2 |
| | | | | | | | 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. | ||||
* | Emit the TRANSFER_STARTED signal | Cosimo Cecchi | 2009-06-01 | 1 | -0/+3 |
| | | | | Emit the TRANSFER_STARTED signal also when offering. | ||||
* | Add is_completed and is_cancelled API | Cosimo Cecchi | 2009-06-01 | 1 | -12/+52 |
| | | | | Add some API to get the state of the handler. | ||||
* | Add empathy_ft_handler_get_total_bytes API | Cosimo Cecchi | 2009-06-01 | 1 | -4/+16 |
| | |||||
* | Add empathy_ft_handler_get_transferred_bytes API | Cosimo Cecchi | 2009-06-01 | 1 | -0/+12 |
| | |||||
* | Add some useful APIs to EmpathyFTHandler | Cosimo Cecchi | 2009-06-01 | 1 | -2/+77 |
| | | | | | Add some APIs to EmpathyFTHandler useful to get transfer properties. Also, implement an error signal. | ||||
* | Rethink a bit the logic for an incoming transfer. | Cosimo Cecchi | 2009-06-01 | 1 | -3/+23 |
| | | | | | | | | | | | 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. | ||||
* | Emit the transfer_started signal as soon as we start an incoming transfer. | Cosimo Cecchi | 2009-06-01 | 1 | -0/+5 |
| | |||||
* | Free memory in _finalize inside EmpathyFTHandler. | Cosimo Cecchi | 2009-06-01 | 1 | -0/+20 |
| | |||||
* | Make libempathy compile with the new changes. | Cosimo Cecchi | 2009-06-01 | 1 | -2/+1 |
| | |||||
* | Modify EmpathyFTHandler to adapt to the changes in EmpathyTpFile API. | Cosimo Cecchi | 2009-06-01 | 1 | -7/+40 |
| | |||||
* | Remove the RequestData struct. | Cosimo Cecchi | 2009-06-01 | 1 | -147/+120 |
| | |||||
* | W.I.P. for heavy lifting on EmpathyTpFile. | Cosimo Cecchi | 2009-06-01 | 1 | -45/+149 |
| | |||||
* | Don't schedule the next read two times when we're finished reading the stream. | Cosimo Cecchi | 2009-06-01 | 1 | -1/+0 |
| | |||||
* | Add debug spew. | Cosimo Cecchi | 2009-06-01 | 1 | -0/+19 |
| | |||||
* | Add some error handling and keep on adding progress signals. | Cosimo Cecchi | 2009-06-01 | 1 | -13/+62 |
| | |||||
* | Fix the build. | Cosimo Cecchi | 2009-06-01 | 1 | -2/+6 |
| | |||||
* | Start implementing signals inside EmpathyFTHandler. | Cosimo Cecchi | 2009-06-01 | 1 | -7/+73 |
| | |||||
* | Fix the build. | Cosimo Cecchi | 2009-06-01 | 1 | -2/+3 |
| | |||||
* | Set more meaningful names for EmpathyFTHandler public methods. | Cosimo Cecchi | 2009-06-01 | 1 | -6/+9 |
| | |||||
* | Call the dispatcher to create the Channel after we have built the request. | Cosimo Cecchi | 2009-06-01 | 1 | -6/+73 |
| | |||||
* | Implement hashing of the file. Make it compile. | Cosimo Cecchi | 2009-06-01 | 1 | -12/+365 |
| | |||||
* | Little cleanup. | Cosimo Cecchi | 2009-06-01 | 1 | -3/+3 |
| | |||||
* | Initial commit for EmpathyFTFactory and EmpathyFTHandler. | Cosimo Cecchi | 2009-06-01 | 1 | -0/+216 |