summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [Release] Version 0.4.0v0.4.0Regis Merlino2013-10-032-2/+18
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Property] Add 'Never Quit' property to ManagerLudovic Ferrandis2013-10-025-3/+50
| | | | | | | It is now possible to manage the 'Never Quit' option via the Set() methode. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Network Filtering] New API and saveLudovic Ferrandis2013-10-0210-260/+278
| | | | | | | | - Remove all WhiteListxxx API - Add Set() to 'org.freedesktop.DBus.Properties' interface to 'com.intel.dLeynaServer.Manager' root interface Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Error] Get better error message for BrowseObjectsLudovic Ferrandis2013-09-261-1/+6
| | | | | | Fix #123: <https://github.com/01org/dleyna-server/issues/123> Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [BrowseObject]: Support Of ChildCount propertyLudovic Ferrandis2013-09-262-21/+195
| | | | | | Fix issue #122: <https://github.com/01org/dleyna-server/issues/122> Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Tasks] Fix a memory leakRegis Merlino2013-09-191-3/+8
| | | | | | Fixes https://github.com/01org/dleyna-collabora-android/issues/58 Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Coding Convention] New version of CheckPatch [3.8.0.30]Ludovic Ferrandis2013-09-112-2/+2
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Control Point] Get control point versionRegis Merlino2013-09-112-2/+8
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Device] Deprecate LastChange in favor of Changed signalRegis Merlino2013-09-066-76/+187
| | | | | | | | | | | Fix issue #109 * Remove LastChange signal * Add Changed signal * A Changed signal is emitted along with a ContainerUpdateID signal when LastChange is not managed by the DLNA server. Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [API] Add new BrowseObjects APILudovic Ferrandis2013-09-0412-1/+420
| | | | | | | | Add new BrowseObjects API in MediaDevice interface Fix issue #114: <https://github.com/01org/dleyna-server/issues/114> Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Filtering] Use generic filtering for GetAllLudovic Ferrandis2013-09-022-5/+5
| | | | | | | | | | | | | Task GetAll has a field member 'filter_mask'. This task and field are used by other methods, but not by GetAll properties. GetAll parsing function used directly DLS_UPNP_MASK_ALL_PROPS constant in the code. This will prevent to reuse the GetAll parsing function with another filter mask. Initialize filter_mask to DLS_UPNP_MASK_ALL_PROPS in GetAll method and use filter_mask in the GetAll parsing function. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Property] Support for new "Error" propertyLudovic Ferrandis2013-09-023-0/+33
| | | | | | | | | Add a new 'Error' property, used by BrowseObjects for instance. Error is a dictionary with 2 entries: ID: u -> Numeric error code Message: s -> Error message Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Property] Don't return empty properties in GetAllLudovic Ferrandis2013-08-291-13/+30
| | | | | | Remove various empty properties from Item and Container. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Service] Provide service version info to core component.Regis Merlino2013-08-231-1/+1
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Configuration] Post-release version bumpRegis Merlino2013-08-221-1/+1
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Release] Version 0.2.1v0.2.1Regis Merlino2013-08-222-1/+10
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Documentation] Fix SearchObjectsEx() return value signatureRegis Merlino2013-08-221-1/+1
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Network Filtering] Add Network Filtering supportLudovic Ferrandis2013-08-2216-70/+786
| | | | | | | | | | | | | | | | | Add 2 new settings: 1 - netf_enabled (boolean): To activate or deactivate the network filtering 2 - netf_entries (str list): List of supported network Add org.freedesktop.DBus.Properties DBUS Interface to com.intel.dLeynaServer.Manager root object. Add 4 new methodes to com.intel.dLeynaServer.Manager interface 1 - WhiteListEnable 2 - WhiteListAddEntries 3 - WhiteListRemoveEntries 4 - WhiteListClear Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Tests] Update the upload sync controller with live folder monitoringRegis Merlino2013-08-141-13/+121
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Tests] Add a sample upload sync controller appRegis Merlino2013-08-142-0/+424
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Git] Update .gitignoreRegis Merlino2013-08-141-0/+1
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Build] Ship the internal library in a private directoryEmanuele Aina2013-08-082-2/+2
| | | | | | | | | | The libdleyna-server-1.0.so library is not really meant for public consumption and it's just an internal implementation detail. To prevent any confusion, ship it in a package-specific subdirectory of the configured libdir. Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
* [Build] Fix small typo in the summary at the end of configure.acEmanuele Aina2013-08-071-1/+1
| | | | Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
* [Server] Update following the publish_object() connector API changeRegis Merlino2013-07-232-6/+6
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Cleanup] Code cleanup after code reviewLudovic Ferrandis2013-07-172-30/+28
| | | | | | | | | | | | | | | - Don't initialize result in task creation. Avoid specific cases. It doesn't make the code more readable, nor smaller. - if/else cleaning. Make default action in if statement, and error management in else statement. Most common usage. - Factorize code. Move same function call from each switch/case, outside the switch. Reduce code. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Klockwork] NULL pointer may be dereferenced. (#27)Ludovic Ferrandis2013-07-011-2/+3
| | | | | | Fix issue #27: ip_address may be NULL and may be dereferenced. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Klockwork] NULL pointer may be dereferenced. (#26)Ludovic Ferrandis2013-07-011-2/+3
| | | | | | Fix issue #26: ip_address may be NULL and may be dereferenced. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Klockwork] NULL pointer may be dereferenced. (#3)Ludovic Ferrandis2013-07-011-1/+1
| | | | | | Fix issue #3: device_type may be NULL and may be dereferenced. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Documentation] Tidied up the API.txt file.Mark Ryan2013-06-251-39/+60
| | | | Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
* Added the new TypeEx property and fixed TypeMark Ryan2013-06-247-172/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Type property is now almost consistent with the MediaServer2Spec Type property. This should remove a source of constant confusion and fix a number of bugs, in for example the download sync controller. dLeyna-server's implementation of Type differs only from MediaServer2Spec in one way. dLeyna-server has introduced one new value, item.unclassified, which is used when the object in question is an item but not one of the items supported by MediaServer2Spec, i.e., not an audio, video or image item. A new property, TypeEx has been introduced. TypeEx contains the extended type information for an object, i.e., the value Type used to hold (althought the values have changed), so if applications want the extended type they can still retrieve it. Both Type and TypeEx are searchable. The superset of values specified by TypeEx are permitted when creating a container, both in the type of the container and it its create classes. The extended type is exposed in the CreateClasses of a container and in the LastChange event. Type is no longer permitted in Update. TypeEx must be used. From an API point of view there are two breakagaes: 1. Applications that used Type to retrieve extended type information, need to be updated to use TypeEx. Applications that used Type in their search queries might also need to be updated. 2. Applications that updated the Type of an object will need to be updated to use TypeEx instead. There is one slightly unpleasent hack required to report the correct values for Search and Sort Caps. A correct solution would require making the p_map hash table many to many, which would result in a bigger change. I've left this improvement for another commit. Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
* [Server] Fix a crash case when the server stopsRegis Merlino2013-06-071-3/+4
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Build] Do not require dbus and dleyna-connector-dbus at build timeRegis Merlino2013-06-051-6/+0
| | | | | | | | | | | This is a port of commit: https://github.com/01org/dleyna-renderer/commit/efa7cb33e68801059ddbadcd95df46bbae865eb4 DBus and the DBus connector are only needed at runtime and dropping the pkg-config checks in ./configure allows the build to succeed even in restricted build environment with minimal dependecies. Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Build] Do not assume libexec=@prefix@/libexecRegis Merlino2013-06-053-3/+9
| | | | | | | | | | | | | This is a port of commits: https://github.com/01org/dleyna-renderer/commit/8179084be7b32f187e9ab4d79a24efa668a6df71 https://github.com/01org/dleyna-renderer/commit/f3e9967b3c8f76b6d43320749b6e58e1a607d2a9 For instance, Debian Policy recommends that helper programs should be installed under /usr/lib/${packagename}/ . http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-support-files Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Build] Install the .service file in $(datadir)/dbus-1/servicesRegis Merlino2013-06-053-18/+27
| | | | | | | | | | | | | | | | | | | | Port of commits: https://github.com/01org/dleyna-renderer/commit/d1c84c820ce180eabb57b83da3569a4de24c3ac4 https://github.com/01org/dleyna-renderer/commit/6981acf20cadec8a9c29e0096d16c2062d19a384 Calling `pkg-config --variable=session_bus_services_dir dbus-1` under JHBuild results in the system-installed dbus-1.pc being parsed and our .service file will be put under the /usr prefix instead of the JHBuild one. To avoid that, take $(datadir) in account and install it under $(datadir)/dbus-1/services by default like other packages do (eg. gvfs). For those with different needs a --with-dbus-service-dir configure flag is provided. Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Configuration] Post-branch version bumpRegis Merlino2013-06-031-1/+1
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Release] Version 0.1.0v0.1.0Regis Merlino2013-06-032-1/+4
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Configuration] Post-release version bumpRegis Merlino2013-05-312-2/+2
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Release] Version 0.0.2v0.0.2Regis Merlino2013-05-311-0/+40
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Device] Add a GetIcon() methodRegis Merlino2013-05-3110-1/+240
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Bug Fix] Use object and parent id values for detecting root objectChristophe Guiraud2013-05-162-18/+50
| | | | | | | | | | | | | | | | | | | | | | | | | Change the way to identify root object. We now use both object and parent ids values. Object with a "0" object id value or a "-1" parent id value will be considered as root object. Reasons for accepting both: a) there's code out there where root parent_id != -1 and b) there's also code out there where root-like (parentless) objects id != 0. Object with a "0" id value or a "-1" parent id value This fixes the case of issue #32 where root have an empty string as parent id value. According to the specification root parent id must have a "-1" value. Fix issue: https://github.com/01org/dleyna-server/issues/32 Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
* [Bug Fix] Incorrect CreateClass property nameLudovic Ferrandis2013-05-161-1/+3
| | | | | | Fix https://github.com/01org/dleyna-server/issues/94 Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Coding Convention] New version of CheckPatch [3.8.0.19]Ludovic Ferrandis2013-05-162-10/+6
| | | | | | NOTE: Ignored message types: CAMELCASE NEW_TYPEDEFS PREFER_PRINTF Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Property] Add support for object.container.storageFolderLudovic Ferrandis2013-05-162-1/+10
| | | | | | | - Add object class object.container.storageFolder - Add MediaServer2Spec definition "storage" for it Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Property] Add support for object.container.playlistContainerLudovic Ferrandis2013-05-162-5/+15
| | | | | | | | | | - Add object class object.container.playlistContainer - Add MediaServer2Spec definition "playlist" for it - Rename MediaServer2Spec "playlist" to "item.playlist" for objec class object.item.playlistItem Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [API] Add CreateReference method to org.gnome.MediaContainer2Ludovic Ferrandis2013-05-1610-4/+198
| | | | | | Fix https://github.com/01org/dleyna-server/issues/7 Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [API] Remove CreatePlaylist/CreatePlaylistInAny APILudovic Ferrandis2013-05-1412-709/+2
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Build] Add autogen.sh script to call `autoreconf -i`Emanuele Aina2013-05-023-4/+22
| | | | | | | | | | | | Even when using autoreconf an autogen.sh script is usually expected, as it save users from needing to know which flags to pass to autoreconf (ie. '-i'). It is also usually responsible of launching autoreconf from the right directory, calling utilities like intltoolize and gtkdocize, checking out git submodules and running ./configure unless $NOCONFIGURE is set. Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
* [Bug] Add a Rescan method to Manager interfaceSébastien Bianti2013-04-189-1/+44
| | | | | | | | - Resolves bug #4 - Make use of new API gupnp_context_manager_rescan_control_points() - Documentation updated. Signed-off-by: Sébastien Bianti <sebastien.bianti@linux.intel.com>
* [Property] Support of DLNA.ORG_CI, DLNA.ORG_FLAGS and DLNA.ORG_OPLudovic Ferrandis2013-04-175-44/+197
| | | | | | | | | | | | Fix https://github.com/01org/dleyna-server/issues/54 Add 3 new properties to Resource. As for other Resources properties, they are also directly available in MediaTiem2 or MediaContainer2 item by using the algorithm for selecting resource, given in the section "Transcoding and org.gnome.UPnP.MediaItem2". Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [MediaConsole] Added methods for creating serversMark Ryan2013-04-161-0/+19
| | | | | | | | | | Two new methods have been added to the UPNP class, server_from_name and server_from_udn. These methods can be used to construct Device objects from UDNs or friendly names, which is typically easier than using the d-Bus path, which is long and changes from one invocation of dLeyna-server to the next. Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>