Commit Graph

106 Commits

Author SHA1 Message Date
Marcel Holtmann
c081792026 obexd: Update Intel copyrights 2012-12-04 22:48:07 +01:00
Marcel Holtmann
4174e904a2 obexd: Update copyright information 2012-12-04 22:48:07 +01:00
Vinicius Costa Gomes
3b67aba1b3 obexd: Fix the types of session->size and session->transferred
These were represented as ssize_t which represent the maximum size
of the addressable memory, so they are 32bits in 32bit machines. We
were expecting them to be 64bits.
2012-12-04 22:48:06 +01:00
Claudio Takahasi
1b4bf20d6a obexd: Fixed SendFiles to use "Source" argument.
SendFiles was ignoring "Source" argument and using the default adapter
always.
2012-12-04 22:48:04 +01:00
Marcel Holtmann
6541461762 obexd: Fix handling of strict-aliasing rules 2012-12-04 22:48:04 +01:00
Luiz Augusto von Dentz
6a40f1133f obexd: Add Channel property.
Channel can be used to connect to specific channel without resolving target
record.
2012-12-04 22:48:04 +01:00
Vinicius Costa Gomes
83f47d59fc obexd: Fix the registration of the Transfer interface for FTP sessions
When the type of the transfer was NULL, which is the case for most
GET's, the Transfer interface was not registered.
2012-12-04 22:48:03 +01:00
Marcel Holtmann
ac08e32b2a obexd: Allow compilation with -Wsign-compare 2012-12-04 22:48:01 +01:00
Forrest Zhao
fba78dbad8 obexd: add support for Sync Putphonebook 2012-12-04 22:48:00 +01:00
Forrest Zhao
2077c66ccf obexd: add support for Sync Getphonebook 2012-12-04 22:48:00 +01:00
Marcel Holtmann
e356b2e9ff obexd: Fix compiler warning 2012-12-04 22:48:00 +01:00
Forrest Zhao
6a19f9408f obexd: add initial framework support for SYNC client 2012-12-04 22:48:00 +01:00
Forrest Zhao
ee7b55d29c obexd: use session_get_data(), session_set_data() to access 'priv' field of struct session_data 2012-12-04 22:48:00 +01:00
Forrest Zhao
5e9fcefe1a obexd: rename pbapdata in struct session_data to priv, so that it could be reused by Sync client 2012-12-04 22:48:00 +01:00
Marcel Holtmann
e8aa19fec7 obexd: Update copyright information 2012-12-04 22:48:00 +01:00
Luiz Augusto von Dentz
04235bf3f7 obexd: Introduce GetCapabilities support to client API. 2012-12-04 22:48:00 +01:00
Marcel Holtmann
2a776169f4 obexd: Return if function type is not provided 2012-12-04 22:48:00 +01:00
Raymond Liu
d184f1d0e1 obexd: Rename SetFilters/GetFilters/ListAllFilters to SetFilter/GetFilter/ListFilterFields 2012-12-04 22:47:59 +01:00
Raymond Liu
df080bdba5 obexd: Add SetFilters and remove AddFilter, RemoveFilter for PBAP client 2012-12-04 22:47:59 +01:00
Raymond Liu
ecd621b972 obexd: Bug fix on session_get, do not register transfer twice 2012-12-04 22:47:59 +01:00
Raymond Liu
99be1da31c obexd: Minor bug fix on Pull Search Function 2012-12-04 22:47:59 +01:00
Raymond Liu
3a1e6b3e8d obexd: Implement Filter related function for PBAP client 2012-12-04 22:47:59 +01:00
Raymond Liu
6172e3e51f obexd: Implement List and Search function for PBAP client 2012-12-04 22:47:59 +01:00
Raymond Liu
6497c0dd5c obexd: add Pull function for PBAP client 2012-12-04 22:47:59 +01:00
Raymond Liu
690e25c5a0 obexd: add GetSize function for PBAP client 2012-12-04 22:47:59 +01:00
Raymond Liu
ebd3eccc79 obexd: add PullAll function for PBAP client 2012-12-04 22:47:59 +01:00
Raymond Liu
bd34b83f81 obexd: Add SetFormat and SetOrder function for PBAP client 2012-12-04 22:47:59 +01:00
Raymond Liu
75d32c6b3a obexd: Implement Select function for PBAP Client 2012-12-04 22:47:59 +01:00
Raymond Liu
70f6779621 obexd: Export session_get and minior fix on get_xfer_listing_progess 2012-12-04 22:47:58 +01:00
Raymond Liu
331ea6fd14 obexd: Do not send NULL to g_str_equal for compare 2012-12-04 22:47:58 +01:00
Raymond Liu
258e3f73b0 obexd: Unregister service and session interfaces in session_unref 2012-12-04 22:47:58 +01:00
Marcel Holtmann
081dcc327d obexd: Fix PBAP interface registration 2012-12-04 22:47:57 +01:00
Raymond Liu
cf27f8d323 obexd: Add framework code for pbap client 2012-12-04 22:47:57 +01:00
Vinicius Costa Gomes
7eccdecbda obexd: Use the right types when appending the folder listing data 2012-12-04 22:47:57 +01:00
Vinicius Costa Gomes
0206932131 obexd: Sending a error message when some error occurs during folder listing 2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
ce64bca4cf obexd: Separate getting a folder listing from getting a file
As there are some special conditions involving a folder listing as
no object size, storing everything inside a buffer, this is better left
apart from the "normal" case.
2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
7bf74c35d9 obexd: Sends a final Progress message when the transfer is complete 2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
bec136fcac obexd: Adds support for dynamic buffers 2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
3570c2513e obexd: Checks for errors in write when receiving a object 2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
79c7ab0e3e obexd: Fixes the dbus signature of the folder listing method 2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
09364c9d3f obexd: Do not remove owner watch in the disconnect remove watch callback 2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
90bd741085 obexd: Separate Session and Transfer properties 2012-12-04 22:47:56 +01:00
Vinicius Costa Gomes
789fcf9ad3 obexd: Removes the owner disconnect watch when removing closing the session 2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
9929152403 obexd: Dealing with folder listings
When the object size is unknown ends the transfer as soon as the first
packet arrives.
2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
91b2a8d879 obexd: Do not try to send a error notification if the path is invalid 2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
cceb761559 obexd: Closes the session when the client leaves the bus 2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
2874ef9574 obexd: Adds Session Close method 2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
2632843b83 obexd: Check for allocation failure when sending messages to the agent 2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
0e00848363 obexd: A little simplification
Moving transfer termination (closing and freeing it)
inside unregister_tranfer, to avoid repeated code.
2012-12-04 22:47:55 +01:00
Vinicius Costa Gomes
cc219ecc36 obexd: Removes memory leaks when the transfer ends 2012-12-04 22:47:55 +01:00