| 2dfd36a4 |
obexd: Fix some PBAP clients not recognizing phone numbers
Some PBAP clients appear to have problems dealing with value lists, i.e.
TYPE=WORK,VOICE, so now we encode type information as a parameter list,
i.e. TYPE=WORK;TYPE=VOICE. |
Vinicius Costa Gomes |
13 years ago |
1 file, +22, -12 |
| c6791973 |
obexd: Fix order of contacts in the combined calls folder |
Vinicius Costa Gomes |
13 years ago |
1 file, +2, -2 |
| 11c141b6 |
obexd: Make use of BtIO on obex-client |
Luiz Augusto von Dentz |
13 years ago |
1 file, +18, -53 |
| 537072e4 |
obexd: Fix transfer for empty name/mimetype specific |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +13, -10 |
| 0dff3b37 |
obexd: Fix memory leak when freeing transfer parameters |
Luiz Augusto Von Dentz |
13 years ago |
2 files, +10, -4 |
| 4e5782eb |
obexd: Fix crash on pbap client when message was already replied/freed |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +11, -1 |
| 757db74d |
obexd: Fix not replying error when transfer could not be started |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +55, -26 |
| fc180e2f |
obexd: Replace uses of debug with DBG |
Luiz Augusto Von Dentz |
13 years ago |
18 files, +94, -95 |
| 97c6683e |
obexd: Add dynamic debug feature |
Luiz Augusto von Dentz |
13 years ago |
27 files, +376, -315 |
| 6ba70b4e |
obexd: Fix possible memory leak |
Luiz Augusto von Dentz |
13 years ago |
1 file, +4, -5 |
| 223ff516 |
obexd: Rename debug() into log_debug() to hide it in favor of DBG() |
Luiz Augusto von Dentz |
13 years ago |
2 files, +4, -4 |
| e2245c37 |
obexd: Add support for responding Auth Challenge
For now, we answer with the fixed password "BlueZ", and only
when the challenge comes in the CONNECT request. |
Vinicius Costa Gomes |
13 years ago |
1 file, +90, -1 |
| 04933431 |
obexd: Fix not unregistering transfer when completed |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +12, -4 |
| 1a912cc1 |
obexd: Cleanup coding style to be more readable |
Johan Hedberg |
13 years ago |
1 file, +10, -8 |
| f619e750 |
obexd: Fix exporting empty contacts
According to the spec only owner's contact should be present if
empty. |
Vinicius Costa Gomes |
13 years ago |
1 file, +31, -25 |
| 6a77a7b3 |
obexd: Fix using UTC time on exported dates
Some devices are not able to calculate the localtime from a
UTC time, so the most portable way is to always provide
the clients with the localtime. |
Vinicius Costa Gomes |
13 years ago |
1 file, +40, -2 |
| a6b0b55b |
obexd: Fix complex logic discovering the type of call
As is_sent and is_answered are never NULL, we can use
g_str_equal() and simplify our logic. |
Vinicius Costa Gomes |
13 years ago |
1 file, +2, -7 |
| 1e057ba2 |
obexd: Fix including calls in the main phonebook
We should only include contacts from the user in the main
phonebook. |
Vinicius Costa Gomes |
13 years ago |
1 file, +2, -2 |
| 8c1d1ada |
obexd: Add support for the X-IRMC-CALL-DATETIME field
This field indicates the type of the call and when the call was made. |
Vinicius Costa Gomes |
13 years ago |
3 files, +87, -8 |
| abcdcfeb |
obexd: Fix wrong assumption about name fields
The only situation that we should put some content to the name fields
is the phonebook listing case, where we should use the telephone number
as name. In the content of the vCard in the case of the mandatory fields
we add them, even if they are empty. |
Vinicius Costa Gomes |
13 years ago |
2 files, +14, -15 |
| 11a5539e |
obexd: Fix PBAP Tracker backend setPhonebook response
In the case of malformed requests we could respond with
the wrong error code or even success. |
Vinicius Costa Gomes |
13 years ago |
1 file, +5, -6 |
| d89ddfa7 |
obexd: Fix queries for incomming and outgoing folders |
Vinicius Costa Gomes |
13 years ago |
1 file, +3, -3 |
| 26fab968 |
obexd: Fix off-by-one error when dealing with offsets
During a PullPhonebook there was a off-by-one error, which was
causing more entries than asked for to be exported. |
Vinicius Costa Gomes |
13 years ago |
1 file, +1, -1 |
| f809a5e6 |
obexd: Fix ordering during folder listing
We need to order the list before setting the offset. |
Vinicius Costa Gomes |
13 years ago |
1 file, +6, -6 |
| 0d2b7011 |
obexd: Fix not always including the TEL header
The TEL header should be always included. |
Vinicius Costa Gomes |
13 years ago |
1 file, +4, -1 |
| 7ed41268 |
obexd: Fix broken assumption about the contacts
We were assuming that all contacts were PersonContacts, they could be
just plain nco:Contacts. |
Vinicius Costa Gomes |
13 years ago |
1 file, +9, -9 |
| 5e4bc641 |
obexd: Fix wrong response code for PBAP PUT
When the object being received is small we don't get the REQCHECK
event, so we must call chkput() even if the service doesn't implement
PUT. |
Vinicius Costa Gomes |
13 years ago |
1 file, +6, -4 |
| cbb8ba77 |
obexd: Add nokia backup plugin |
Rajeev Kuthiravattath |
13 years ago |
1 file, +295, -0 |
| e5b28fb4 |
obexd: Use usb_moded to detect usb connections |
Luiz Augusto von Dentz |
13 years ago |
1 file, +20, -31 |
| 8572afb4 |
obexd: Make use of transport drivers and some cleanups |
Luiz Augusto von Dentz |
13 years ago |
8 files, +29, -890 |
| 9c002fff |
obexd: Add usb transport driver |
Luiz Augusto von Dentz |
13 years ago |
1 file, +256, -0 |
| 31b444ae |
obexd: Add bluetooth transport driver |
Luiz Augusto von Dentz |
13 years ago |
1 file, +609, -0 |
| d072018c |
obexd: Add server.{c,h} files
Those files add support for transport driver to interact with core. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +193, -0 |
| ceae0567 |
obexd: Add support for transport drivers |
Luiz Augusto von Dentz |
13 years ago |
2 files, +124, -0 |
| 25e02498 |
obexd: Fix inconsistency when using vCard version 2.1
With vCard version 2.1 the type prefix to parameter values is
optional, so the client implementation may not be able to parse
it. |
Vinicius Costa Gomes |
13 years ago |
1 file, +10, -4 |
| f0e2e1d7 |
obexd: Fix handling of Tracker optional parameters
Even some mandatory arguments can be empty, for example, the owner
may not have added his/her own info to his contact. So we must assume
that almost everything is optional. This means that some queries may
be totally empty. |
Vinicius Costa Gomes |
13 years ago |
1 file, +71, -63 |
| 69394a48 |
obexd: Fix copyright statements in nokia-backup.c |
Johan Hedberg |
13 years ago |
1 file, +2, -2 |
| bbf82a03 |
obexd: Fix wrong response code to PUT requests for PBAP
According to the spec we must respond any PUT request with the
Bad Request response code. |
Vinicius Costa Gomes |
13 years ago |
1 file, +1, -1 |
| 4d2577cb |
obexd: Fix owner vcard having the wrong handle
With this we assume that the owner contact information is stored
under the uri of the owner default contact (nco:default-contact-me). |
Vinicius Costa Gomes |
13 years ago |
1 file, +13, -13 |
| 17ddbe8a |
obexd: Fix mimetype driver match when service has .who
In situation such as pcsuite service driver which has .who we need to
fallback to an empty one otherwise it will not be possible to reuse
drivers such as capability which doesn't need a specific version in
this case.
The order is now:
who specific: who not NULL, target not NULL and mimetype not NULL
non-who/mimetype specific: target not NULL and mimetype not NULL
target default: target not NULL
general default: target is NULL aka Highlander - there can be only one |
Luiz Augusto von Dentz |
13 years ago |
2 files, +49, -32 |
| 696b904b |
obexd: Fix crash on PBAP SetPhoneBook function
If the client doesn't send a NAME header, the folder argument may
be NULL. |
Claudio Takahasi |
13 years ago |
1 file, +3, -0 |
| e368ac5e |
obexd: Fix handle range problem for PBAP dummy back-end
If the handle value is bigger than the maximum possible addressable
value(32bits), it is better to ignore this unusual situation than try
to map it to a valid handle value and add extra logic to translate
this new value when a PullvCardEntry request is received. |
Claudio Takahasi |
13 years ago |
1 file, +10, -9 |
| abad371e |
obexd: Fix crash on PBAP SetPhoneBook function
Fix crash on PBAP SetPhoneBook for tracker back-end. When the
target folder is NULL and flags indicates "Go up 1 level", g_free
is called for a wrong address. g_strrstr function doesn't return
a newly-allocated string. |
Claudio Takahasi |
13 years ago |
1 file, +0, -1 |
| 6defa888 |
obexd: Fix object name not being updated when agent changes it
In case of opp the agent may have changed the object name which in case
of the name being NULL will cause a bad request response. |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +3, -0 |
| 9a5ce165 |
obexd: Add obex_set_name so plugins can set object name |
Luiz Augusto Von Dentz |
13 years ago |
2 files, +8, -0 |
| 6730d2fb |
obexd: Fix service driver matching when who is not specified
In situation such as pc-suite driver the client may connect omitting WHO
header which is perfect fine and should be allowed. |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +2, -1 |
| 70bc46ac |
obexd: Fix FTP GET name handling
The FTP service was only using the current folder name to build the
target filename for GET requests.
And we must reject requests without name and type headers:
"Either the Type header or the Name header must be included in the
GET request when it is sent to the server." -- GOEP |
Vinicius Costa Gomes |
13 years ago |
1 file, +13, -5 |
| a1b7c6c0 |
obexd: Fix memory leak |
Vinicius Costa Gomes |
13 years ago |
1 file, +1, -0 |
| ac68d205 |
obexd: Fix invalid memory access when removing a file |
Vinicius Costa Gomes |
13 years ago |
2 files, +6, -2 |
| 85a2f90d |
obexd: Fix dealing with large files
In C, the result of an operation has always the size of the largest
operand, in this case both operands are unsigned longs, which was
causing the operation to overflow on 32bit machines.
The solution is to force an operand to be of a size that would not
overflow and to store the result somewhere with a safe size. |
Vinicius Costa Gomes |
13 years ago |
1 file, +3, -1 |