Commits

Commit Message Author Age Changes
d37fe0b4 obexd: Fix application parameter parsing in obex put Fix for application parameter parsing which is missing in obex put. Divya Yadav 13 years ago 1 file, +1, -0
6d78da00 obexd: Remove unused public function obex_io_error_quark is only used in session.c so can be static Luiz Augusto von Dentz 13 years ago 2 files, +1, -4
d381a6d9 obexd: free active transfer on session shutdown The currently active request should be canceled just like any other queued transfer. Otherwise obex timeout is reported. Mikel Astiz 13 years ago 1 file, +8, -0
1eeaea68 obexd: fix unreported canceled transfers A session can be shut down from D-Bus, and therefore the pending transfer callbacks must be reported. Mikel Astiz 13 years ago 1 file, +14, -1
baa84b72 obexd: fix canceling queued transfers The Cancel() method in the D-Bus api should also abort queued transfers, which should just be removed from the queue. Mikel Astiz 13 years ago 1 file, +8, -4
84d105d8 obexd: add obc_transfer_set_filename This is just a setter for the filename field in transfers. Mikel Astiz 13 years ago 2 files, +9, -0
81cc887c obexd: make sure callback does not match size Otherwise it can be interpreted as successfully finished, which has its own code path. Mikel Astiz 13 years ago 1 file, +2, -2
902f089d obexd: expose obc_transfer_set_callback This will allow setting the callback before the transfer is started, particularly to report queued transfer cancellations. Mikel Astiz 13 years ago 3 files, +20, -18
5189cfee obexd: process transfer queue only if none active session_process_queue should make sure there is no active operation, to avoid starting a second one at the same time. Mikel Astiz 13 years ago 1 file, +3, -0
7b944e8f obexd: fix obc_session_get_buffer Size 0 should be reported if no transfer exists. Some existing code relies on this behavior. Mikel Astiz 13 years ago 1 file, +5, -1
35e61613 obexd: map: Use ENOSYS to indicate not implemented function Luiz Augusto von Dentz 13 years ago 3 files, +11, -11
81bdbef8 obexd: Use ENOSYS to indicate not implemented function Luiz Augusto von Dentz 13 years ago 1 file, +1, -1
4c2a0c0d obexd: Use ENOSYS to indicate not implemented function Luiz Augusto von Dentz 13 years ago 1 file, +10, -10
e57e3c40 obexd: Make use of g_obex_errno_to_rsp to translate posix errors Luiz Augusto von Dentz 13 years ago 1 file, +1, -27
f576cae0 obexd: Fix queueing packet containing error while suspended Queueing the error won't remove the original packet created by transfer from the queue so upon resume gobex will attempt to send it again. To fix this we no longer create a error packet instead the session is market as aborted and the error stored so when gobex finally resumes the error is forward properly. Luiz Augusto von Dentz 13 years ago 2 files, +7, -4
2e1ab9b7 obexd: queue transfers in pbap sessions Previous implementation reported busy when trying to queue several operations in the same session. Mikel Astiz 13 years ago 1 file, +66, -61
2e609642 obexd: queue transfers in ftp sessions Previous implementation reported busy when trying to queue several transfers in the same session. Mikel Astiz 13 years ago 1 file, +11, -28
ffb675e3 obexd: fix cancel when no agent present The authorization check should consider the scenario of no agent being assigned to the transfer. Mikel Astiz 13 years ago 1 file, +1, -1
93c9b5a5 obexd: Use ENOSYS to indicate not implemented function Luiz Augusto von Dentz 13 years ago 1 file, +1, -1
19b460af obexd: terminate queued transfers properly Previous implementation of session_terminate_transfer assumed that the transfer being terminated would always be the active one. However, it should be possible to cancel any queued transfer using the D-Bus api. Mikel Astiz 13 years ago 1 file, +26, -4
64e3360b obexd: fix pbap select when same path given twice If the same path is selected twice, the operation can be skipped but the D-Bus response should still be sent. Mikel Astiz 13 years ago 1 file, +16, -43
aae5348e obexd: fix incorrect error check Previous statement always returned success. Mikel Astiz 13 years ago 1 file, +4, -2
5655cb9c obexd: fix memory leak in obc_session_put obc_session_put takes ownership of the given buffer, but did not free the memory in case of error. Mikel Astiz 13 years ago 1 file, +6, -2
318dfd09 obexd: Add L2CAP support in bluetooth module This adds support for reading GoepL2capPsm attribute from sdp record and connect to it. Luiz Augusto von Dentz 13 years ago 3 files, +82, -15
713ca9d9 obexd: Update record to support version 1.2 with GoepL2capPsm attribute Luiz Augusto von Dentz 13 years ago 1 file, +5, -1
47f6ccd2 obexd: Add support for L2CAP transport This uses driver port, if set (!= 0), as psm and export it in the service record. Luiz Augusto von Dentz 13 years ago 6 files, +169, -57
10092d19 obexd: Add port to service driver This add possibility to optional port in addition to channel. Luiz Augusto von Dentz 13 years ago 1 file, +3, -0
8303363e obexd: Fix sending GET while SRM is active If SRM is active remote will be generating responses automatically Luiz Augusto von Dentz 13 years ago 1 file, +5, -2
922d1819 obexd: remove gobex dependency of session Modules should no longer need to access gobex directly Luiz Augusto von Dentz 13 years ago 3 files, +0, -8
fcc8068d obexd: remove use of gobex in ftp module gobex should not be use directly as it can interfere with ongoing requests of the session. Luiz Augusto von Dentz 13 years ago 1 file, +6, -11
5955e79c obexd: Update record to support version 1.2 with GoepL2capPsm attribute Luiz Augusto von Dentz 13 years ago 1 file, +5, -1
533eb6f7 obexd: Fix length parameter of strncpy Jaganath Kanakkassery 13 years ago 1 file, +3, -3
46e41cbc obexd: fix unreported error case The authorization request of a queued transfer could fail, and this needs to be reported to the transfer initiator. Otherwise it would likely result in D-Bus timeouts. Mikel Astiz 13 years ago 1 file, +14, -1
f5a5c959 obexd: remove use of gobex in map module gobex should not be use directly as it can interfere with ongoing requests of the session. Luiz Augusto von Dentz 13 years ago 1 file, +2, -12
c4b8c8ad obexd: remove use of gobex in pbap module gobex should not be use directly as it can interfere with ongoing requests of the session. Luiz Augusto von Dentz 13 years ago 1 file, +43, -94
5e8a10df obexd: introduce obc_session_cancel Luiz Augusto von Dentz 13 years ago 2 files, +23, -0
514cc9d0 obexd: introduce obc_session_delete Luiz Augusto von Dentz 13 years ago 2 files, +32, -0
2e91048e obexd: introduce obc_session_move Luiz Augusto von Dentz 13 years ago 2 files, +33, -0
aa38bd05 obexd: introduce obc_session_mkdir Luiz Augusto von Dentz 13 years ago 2 files, +67, -0
ed58b419 obexd: introduce obc_session_setpath Luiz Augusto von Dentz 13 years ago 2 files, +148, -6
5da12f41 obexd: fix not queuing requests properly OBEX does not support requests in parallel so they have to be queued like in SendFiles. Luiz Augusto von Dentz 13 years ago 1 file, +124, -142
f427608f obexd: fix not checking session_request return In case session_request return an error proceed to the next Luiz Augusto von Dentz 13 years ago 1 file, +10, -3
b5a360fb obexd: Fix file not getting deleted when a push is aborted Problem: Even if transfer is aborted file will be saved with partial content. Fix: In os_reset_session() os->cmd is checked for PUT before calling driver->remove(), but os->cmd is never assigned.This fix sets os->cmd wit respective opcode Jaganath Kanakkassery 13 years ago 1 file, +12, -0
5ffb0bb3 obexd: Fix folder listing parent-folder should indicates the existence of a parent folder which is the opposit of what the code is currently doing. Luiz Augusto von Dentz 13 years ago 1 file, +1, -1
65d9c7f8 obexd: remove unused field from obc_session Luiz Augusto von Dentz 13 years ago 1 file, +0, -1
685ed406 obexd: Fix possible GLib assertion failure In case of error there might be no io channel to shutdown. Mikel Astiz 13 years ago 1 file, +5, -3
5c1c3c5d obexd: introduce obc_session_copy Luiz Augusto von Dentz 13 years ago 2 files, +33, -0
4e4c8e23 obexd: simplify handling of D-Bus pending calls in bluetooth.c There is no much of point to have a user_data if it is always the same type, besides this code is very inefficient and cause a lookup in the list of pending calls everytime a reply is received. Luiz Augusto von Dentz 13 years ago 1 file, +70, -107
bab4ca5f obexd: move bluetooth specific code from session.c to bluetooth.c This simplifies session.c code quite a bit and enables supporting other transports in the future. Luiz Augusto von Dentz 13 years ago 2 files, +658, -539
8c97039f obexd: add bluetooth transport driver Luiz Augusto von Dentz 13 years ago 3 files, +105, -9
Previous Next