| 075df1e1 |
obexd: Coding style fixes |
Johan Hedberg |
13 years ago |
4 files, +34, -30 |
| 965973e2 |
obexd: Fix mixing spaces and tabs |
Vinicius Costa Gomes |
13 years ago |
1 file, +1, -1 |
| c5484db2 |
obexd: Add PBAP cache functions
Add the cache structure and basic functions to handle the cache
entries. This patch breaks temporarily the PBAP core functionalities. |
Claudio Takahasi |
13 years ago |
1 file, +89, -6 |
| 6dfb5014 |
obexd: service data structure cleanup
Mimetype driver callbacks should not access directly obex_session or
obex_object_t. This patch makes PBAP mimetype drivers independent
of the obex session context. |
Claudio Takahasi |
13 years ago |
7 files, +117, -53 |
| 7c028648 |
obexd: drivers should know nothing about obex_session
This removes all references from obex_session from the drivers. At most,
they should only know about their respective services. |
Vinicius Costa Gomes |
13 years ago |
8 files, +44, -55 |
| bff5b432 |
obexd: Fix ListPhonebook without a search attribute
When looking for a entry in the cache consider that the empty string
matches everything. Which is the case when the user doesn't provide
a name to search for. |
Vinicius Costa Gomes |
13 years ago |
1 file, +3, -0 |
| c7e99db5 |
obexd: ebook minor coding style fixes |
Claudio Takahasi |
13 years ago |
1 file, +6, -7 |
| fc54ed57 |
obexd: Initial implementation of PullvCardListing function for E-Book backend
Creates an ebook query for the given application parameters to obtain
only the contacts that match with the search value and returns a
XML vcard-listing object |
Claudio Takahasi |
13 years ago |
1 file, +143, -25 |
| 4f805f5e |
obexd: Add EVCard filter for PullPhoneBook
When filter is provided, PSE shall return only the vcard attributes
which matches with the filter mask. |
Claudio Takahasi |
13 years ago |
1 file, +73, -3 |
| cb8bc139 |
obexd: Change PullPhoneBook to return the vcards in the requested format |
Claudio Takahasi |
13 years ago |
1 file, +3, -1 |
| a5ebb33e |
obexd: Implements PhonebookSize for PullPhoneBook function
According to PBAP spec, when MaxListCount is zero, the PSE shall
ignore all other application parameters that may be present in the
request and return the PhonebookSize encoded in the application
parameter. |
Claudio Takahasi |
13 years ago |
9 files, +274, -184 |
| c6d258ba |
obexd: Fix MaxListCount handling for PBAP PullPhoneBook function
This parameter sent by the PCE indicates the maximum number of
entries that the PCE can handle or need. |
Claudio Takahasi |
13 years ago |
1 file, +4, -1 |
| 21359707 |
obexd: Fix ListStartOffset handling for PBAP PullPhoneBook function
For PBAP PullPhoneBook function the ListStartOffset parameter should be
verified to query the contacts considering the offset from the first entry
of the Phonebook object. |
Claudio Takahasi |
13 years ago |
1 file, +2, -2 |
| 76248416 |
obexd: restrict the drivers knowledge of the core
The mimetype drivers should know as little of possible of the core.
This removes a few things left in the filesystem driver. |
Vinicius Costa Gomes |
13 years ago |
1 file, +60, -15 |
| 80f64d03 |
obexd: Add a way to get global obexd options
For now just root folder and symlinks support are exported. |
Vinicius Costa Gomes |
13 years ago |
2 files, +13, -0 |
| cdcbdc3f |
obexd: Fix not checking for driver .put errors |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +5, -1 |
| ebf7f236 |
obexd: Fix mimetype driver selection not fallback to general default |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +25, -10 |
| 1d98f8e7 |
obexd: Fix too long lines (coding style) |
Johan Hedberg |
13 years ago |
1 file, +19, -12 |
| 6a425c95 |
obexd: Fix error code when removing non-empty directory
The spec clearly state that the error should be Precondition Failed when
removing non-empty directory is not supported.
The error in this case can be ENOTEMPTY or EEXIST as the rmdir man page
says:
"pathname contains entries other than . and .. ; or, pathname has ..
as its final component. POSIX.1-2001 also allows EEXIST for this
condition." |
Luiz Augusto von Dentz |
13 years ago |
1 file, +5, -0 |
| 352a8493 |
obexd: Add support for PBAP operations to the back-ends |
Vinicius Costa Gomes |
13 years ago |
4 files, +45, -8 |
| 30226d2e |
obexd: syncevolution mimetype driver was never used |
Vinicius Costa Gomes |
13 years ago |
1 file, +7, -0 |
| 7fdf709d |
obexd: simplify the finding of a service
We can use memcmp0() when searching for a specific attribute
without worrying about NULL pointers. |
Vinicius Costa Gomes |
13 years ago |
4 files, +16, -21 |
| a7100576 |
obexd: Add support to the WHO header in mimetype drivers |
Vinicius Costa Gomes |
13 years ago |
3 files, +32, -10 |
| 1f49a178 |
obexd: renaming driver->context to driver->driver_data |
Vinicius Costa Gomes |
13 years ago |
2 files, +6, -6 |
| 6c4b6ba5 |
obexd: obexd core should know nothing about filesystems
obexd core should not assume that it is dealing with "real"
files. |
Vinicius Costa Gomes |
13 years ago |
2 files, +24, -51 |
| e265df74 |
obexd: Fix bug when creating directories
(l)stat will return ENOENT when creating directories since mkdir hasn't
been called yet, which should be ignored and not returned as an error. |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +9, -5 |
| b77a1769 |
obexd: Fix PullBusinessCard not return transfer errors |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +12, -0 |
| 408fb342 |
obexd: Fix RemoveSession argument to be object path instead of string |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +1, -1 |
| aa00e119 |
obexd: no need to reset the session after a CONNECT
When the CONNECT request is accepted (REQDONE event), we don't have to
do anything, as a new session was just allocated. |
Vinicius Costa Gomes |
13 years ago |
1 file, +2, -0 |
| 9ce74b2d |
obexd: Move transfer implementation to its own file |
Luiz Augusto Von Dentz |
13 years ago |
7 files, +1110, -842 |
| 296e6971 |
obexd: Fix agent not being released after transfers complete
This requession was introduced by d57bffe46b71e17a640c11b389dd6da95f933729
that add another reference to the session for the agent.
To fix this a rework on refcount was done so that transfer now hold
references to the session and once done they release the references one
by one. |
Luiz Augusto Von Dentz |
13 years ago |
5 files, +524, -558 |
| 539120ca |
obexd: all the drivers structs can be declared static |
Vinicius Costa Gomes |
13 years ago |
5 files, +12, -12 |
| ed13e117 |
obexd: Renaming of obex_prepare_put and obex_stream_start
Make the use of these functions more clear, now they are called
obex_put_stream_start and obex_get_stream_start, respectively. |
Vinicius Costa Gomes |
13 years ago |
6 files, +16, -13 |
| 170dcc96 |
obexd: Fix not releasing the watches when a session is freed |
Luiz Augusto Von Dentz |
13 years ago |
1 file, +3, -2 |
| 27141a21 |
obexd: Always assign the service data returned by service connect callback
This patch fix the segmentation fault caused by invalid memory access
when services access the service data in the disconnect callback. |
Claudio Takahasi |
13 years ago |
1 file, +1, -4 |
| f53123b6 |
obexd: Added PBAP application parameter parser function |
Claudio Takahasi |
13 years ago |
11 files, +202, -73 |
| 784f61bd |
obexd: Fix wrong pointer assignment on PBAP connect |
Claudio Takahasi |
13 years ago |
1 file, +2, -2 |
| 78c43051 |
obexd: Remove unnecessary functions |
Claudio Takahasi |
13 years ago |
2 files, +0, -9 |
| 0bb5af37 |
obexd: Remove telephony driver
Telephony driver is not necessary. PBAP back-ends retrieve the
missed calls from other sources. Missed calls are not applied to
ebook and tracker uses sparql queries over D-Bus. |
Claudio Takahasi |
13 years ago |
2 files, +0, -63 |
| dd051a9e |
obexd: Fix folder and object name for OPP when auto accept is enabled |
Claudio Takahasi |
13 years ago |
1 file, +4, -1 |
| 4ce2d8b8 |
obexd: current_folder should not be in the core
We should not keep track of the current folder in the core obexd,
this should be taken care of by each plugin. |
Vinicius Costa Gomes |
13 years ago |
7 files, +132, -101 |
| 556447e3 |
obexd: Add support for per service user data |
Vinicius Costa Gomes |
13 years ago |
7 files, +66, -43 |
| 7fb0439a |
obexd: nobody outside the core should know about struct server |
Vinicius Costa Gomes |
13 years ago |
7 files, +26, -23 |
| dc5c831e |
obexd: Remove unnecessary header files includes |
Claudio Takahasi |
13 years ago |
7 files, +1, -17 |
| 9561c462 |
obexd: Fix OPP GET must be denied if the name header is included |
Vinicius Costa Gomes |
13 years ago |
1 file, +1, -1 |
| 9af7d3d9 |
obexd: Fix compilation with upstream openobex
Current openobex includes the OBEX_CMD_ACTION symbol, but
doesn't define OBEX_ACTION_{COPY,MOVE,SETPERM}. |
Vinicius Costa Gomes |
13 years ago |
1 file, +4, -4 |
| 32e0492a |
obexd: Remove unused argument of record registration function |
Claudio Takahasi |
13 years ago |
3 files, +3, -3 |
| 54d4d453 |
obexd: Converting emit_transfer_progress to static function |
Claudio Takahasi |
13 years ago |
2 files, +1, -3 |
| 9a885b6b |
obexd: Now obex_session is private to the core obexd
This finishes the process of making struct obex_session private to
the core. |
Vinicius Costa Gomes |
13 years ago |
12 files, +137, -111 |
| ebc3e654 |
obexd: Add support for mimetype driver to SyncEvolution |
Vinicius Costa Gomes |
13 years ago |
1 file, +164, -194 |