summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* core: Remove redundant include errno.hSyam Sidhardhan2012-08-231-1/+0
|
* core: Remove map_ap.cLuiz Augusto von Dentz2012-08-162-529/+0
| | | | It is no longer needed as MAP plugin is now using GObexApparam API
* Fix some common spelling errorsSzymon Janc2012-06-142-3/+3
| | | | Fix spelling errors reported by codespell.
* core: Change agent interface to org.bluez.obex.AgentLuiz Augusto von Dentz2012-06-051-2/+3
|
* core: Change D-Bus service file to use org.bluez.obexLuiz Augusto von Dentz2012-06-051-1/+1
|
* core: Change D-Bus namespace to org.bluez.obexLuiz Augusto von Dentz2012-06-052-20/+19
| | | | This changes the namespace from org.openobex to org.bluez.obex
* Do not set signature and reply in GDBus tablesLucas De Marchi2012-05-181-14/+11
| | | | | Use GDBUS_* macros, so signature and reply fields are not set in each method/signal.
* Convert GDBus methods to use macro helpersLucas De Marchi2012-05-181-9/+18
| | | | | With these macro helpers we can separate in/out arguments and use their own vector.
* Constify GDBus signal tablesMarcel Holtmann2012-05-171-2/+2
| | | | | | | Constify signal tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
* Constify GDBus method tablesMarcel Holtmann2012-05-171-3/+3
| | | | | | | Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
* core: Use signalfd to handle unix signalsLuiz Augusto von Dentz2012-05-071-14/+78
| | | | | | | Writing anything to syslog in the signal handler can cause a deadlock with any ongoing syslog write. This is also aligned with what BlueZ and other projects has been doing.
* build: Remove glib-helper.h supportMarcel Holtmann2012-04-161-30/+0
|
* src: Remove headers declared but not definedSyam Sidhardhan2012-04-131-4/+0
|
* src: Use goto for avoiding code duplicationSyam Sidhardhan2012-04-131-2/+2
|
* MAP: Add implementation of map_ap_encode()Slawomir Bochenski2012-03-281-2/+89
|
* map_ap: Fix whitespace errorsJohan Hedberg2012-03-271-4/+0
|
* map_ap.c: Add implementation for map_ap_get_*Slawomir Bochenski2012-03-271-4/+54
|
* core: Fix application parameter parsing in obex putDivya Yadav2012-02-291-0/+1
| | | | | Fix for application parameter parsing which is missing in obex put.
* core: Use ENOSYS to indicate not implemented functionLuiz Augusto von Dentz2012-02-201-10/+10
|
* core: Make use of g_obex_errno_to_rsp to translate posix errorsLuiz Augusto von Dentz2012-02-201-27/+1
|
* core: Fix queueing packet containing error while suspendedLuiz Augusto von Dentz2012-02-202-4/+7
| | | | | | | | | 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.
* bluetooth: Add support for L2CAP transportLuiz Augusto von Dentz2012-02-144-6/+11
| | | | | This uses driver port, if set (!= 0), as psm and export it in the service record.
* core: Add port to service driverLuiz Augusto von Dentz2012-02-141-0/+3
| | | | This add possibility to optional port in addition to channel.
* obex: Fix file not getting deleted when a push is abortedJaganath Kanakkassery2012-02-021-0/+12
| | | | | | | | | 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
* map_ap.c: Add dumping of map_ap_t after decodingSlawomir Bochenski2012-01-201-0/+25
|
* map_ap.c: Add implementation for map_ap_decode()Slawomir Bochenski2012-01-201-1/+97
|
* map_ap.c: Add implementation for map_ap_set_*Slawomir Bochenski2012-01-201-4/+52
|
* map_ap.h: Remove MAP_AP_INVALIDSlawomir Bochenski2012-01-201-1/+0
| | | | | Due to the change in MAP AP definitions resolving, there is no need for guard value.
* MAP: Implementation of MAP AP core functionsSlawomir Bochenski2012-01-201-1/+76
| | | | | This adds implementation for creation and destruction of map_ap_t and the definitions of MAP supported application parameters.
* obex: Reset obex session in transfer_complete()Jaganath Kanakkassery2012-01-111-1/+6
| | | | | | | | This fix solves the following issues in multiple file push. Agent authorize is happening only for first file. Transfer_completed signal is getting called only after last push Incorrect value is sent for "total" and "transfered" signal from second file onwards.
* Fix incorrect transfer path id during request authorizationJaganath Kanakkassery2012-01-111-1/+1
| | | | | Transfer is registered with id as cid, but authorize method is called with id as pointer to obex session structure
* Fix not responding SUCCESS code to GET in some conditionsLuiz Augusto von Dentz2012-01-111-54/+17
| | | | When there is no body to be transfer obexd is responding with CONTINUE.
* Fix not responding when driver_get_headers return 0Luiz Augusto von Dentz2012-01-111-22/+18
| | | | | | When calling driver_get_headers it may not be ready but after the backend respond the result can still be 0 which indicades no headers need to added and we can start sending the body.
* Fix compilation issues with standard includesMarcel Holtmann2011-12-223-0/+3
|
* MAP: Skeleton of application parameters supportSlawomir Bochenski2011-12-082-0/+204
| | | | | | | This introduces skeleton of functions for supporting processing of Message Access Profile specific OBEX application parameters. The code is usable in both MSE (server) and MCE (client), thus the patch enables linking the code to obexd and obex-client.
* transport: Remove OpenOBEX include and fix standard includesMarcel Holtmann2011-12-051-3/+4
|
* service: Remove OpenOBEX include and fix standard includesMarcel Holtmann2011-12-051-3/+4
|
* mimetype: Remove OpenOBEX include and fix standard includesMarcel Holtmann2011-12-051-4/+5
|
* log: Remove OpenOBEX includeMarcel Holtmann2011-12-051-2/+0
|
* Port core daemon to gobexLuiz Augusto von Dentz2011-11-294-860/+577
|
* Remove obex_get_idLuiz Augusto von Dentz2011-11-292-18/+0
| | | | | Plugins that need the peer address/name should use obex_getpeername which uses the transport driver to resolve it.
* Fix calling getpeername directly on manager.cLuiz Augusto von Dentz2011-11-293-23/+22
| | | | | Manager should be transport agnostic and not pretend the transport is always RFCOMM since in future this might not be true even for Bluetooth.
* bluetooth: add .getpeername supportLuiz Augusto von Dentz2011-11-291-0/+1
|
* Remove use of obex_object_t from service.hLuiz Augusto von Dentz2011-11-162-12/+8
| | | | | Plugins including service.h need to include openobex headers because of this.
* Introduce obex_get_non_header_dataLuiz Augusto von Dentz2011-11-163-0/+14
| | | | | This function remove the need of calling OBEX_ObjectGetNonHdrData in the plugins.
* Remove use of obex_object_t on obex.hLuiz Augusto von Dentz2011-11-163-17/+16
| | | | | Plugins including obex.h need to include openobex headers because of this.
* Remove unused function obex_aparam_writeLuiz Augusto von Dentz2011-11-162-13/+0
|
* Fix empty parameter list in function declarationSyam Sidhardhan2011-11-143-3/+3
|
* Make obex_server_init to initialized all services registeredLuiz Augusto von Dentz2011-11-034-30/+35
| | | | | This way we don't have to keep adding new entries to main.c everytime a new service is introduced.
* Move secure flag to service driverLuiz Augusto von Dentz2011-11-034-11/+10
| | | | | The driver already define the channel so it makes sense to have the secure flag in the same place.