summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [Configuration] Post-release version bumpversion-0-1-0Regis Merlino2013-08-291-1/+1
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Changelog] Update Changelogv0.1.2Regis Merlino2013-08-291-0/+8
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Build] Ship the internal library in a private directoryEmanuele Aina2013-08-292-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>
* [Configuration] Version bumpRegis Merlino2013-06-071-1/+1
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Configuration] Version bumpv0.1.1Regis Merlino2013-06-061-1/+1
| | | | 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>
* [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>
* [GUPnP] Output parameters could not be initialized on success.Ludovic Ferrandis2013-04-111-193/+243
| | | | | | | | Fix https://github.com/01org/dleyna-server/issues/49 Check output parameters (string & int) before use, even if the command succeed. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* dLeyna-server now handles invalid types.Mark Ryan2013-04-114-5/+40
| | | | | | | | | | | Previously, invalid types were not handled correctly which could lead to crashes when processing invalid meta data or when an invalid type is passed from applications, in the create container function for example. See https://github.com/01org/dleyna-renderer/issues/30 for more details Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
* [Configure] Check for the dbus connector lib availability if requiredRegis Merlino2013-04-101-4/+4
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Device] Fix device constructionRegis Merlino2013-04-093-51/+165
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Property] Fix a potential bug when setting Boolean gvariantLudovic Ferrandis2013-04-081-5/+5
| | | | | | | | | | | | | | | | | | | | When setting a gboolean as the result of a bitfield operation, the result could not be used directly in GVariant, using g_variant_new_boolean or a call like g_variant_builder_add(vb, "{sv}", key, g_variant_new_boolean(value)); gboolean is defined as gint g_variant_new_boolean call internal function that only copy the first byte of the gboolean. ex: gboolean x = 0x00000010 will work, and the GVariant = 0x10 gboolean x = 0x01000000 won't work. GVariant = 0; We should not do: gboolean x = (x & y) We must do: gboolean x = (x & y) != 0 Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Device] Fix nested gupnp service callsRegis Merlino2013-04-081-22/+32
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Property] Don't display Tracking Option properties when Tracking is off.Ludovic Ferrandis2013-04-041-8/+20
| | | | | | | | | Fix bug https://github.com/01org/dleyna-server/issues/27 This patch affects the properties below: ObjectUpdateID, ContainerUpdateID, TotalDeletedChildCount, UpdateCount Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Documentation] Explain Container reources in more detail.Mark Ryan2013-04-041-4/+8
| | | | | | | Added some extra text to explain in more detail what container resources are. Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
* [Property] Add MediaItem2 resource properties to Container. Fix UpdateCount.Ludovic Ferrandis2013-04-045-58/+171
| | | | | | | | | | | | | Add URLs, Size, DLNAProfile & Mime/Types resources We can now filter out URLs for Container, using SetProtocolInfo API Second part for bug https://github.com/01org/dleyna-server/issues/5 In addition this commit fixes the UpdateCount property that wasn't managed in the Get_Prop() method. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Device] Update CreateContainer DLNAManaged flagsRegis Merlino2013-03-291-1/+7
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Bug Fix] Fix a memory leak in dls_upnp_get_resourceLudovic Ferrandis2013-03-291-0/+2
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Property] Display Resource property in ContainerLudovic Ferrandis2013-03-294-61/+102
| | | | | | | | | Fix https://github.com/01org/dleyna-server/issues/5 Add 'Resource' property Add GetCompatibleResource API Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Property] Code cleaningLudovic Ferrandis2013-03-291-13/+7
| | | | | | | | | Remove useless pointer check. Update prv_add_strv_prop to behave as other functions. Now it checks if 'value' parameter is not NULL. Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Props] Handle wild cards for SortCaps & SearchCapsRegis Merlino2013-03-282-9/+19
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Tests] Add print_metadata() method to MediaConsoleChristophe Guiraud2013-03-251-0/+6
| | | | | | | | | | | - Add a print_metadata() debug method to the MediaConsole Python test application. This new method allows to retrieve and pretty print Media objects Metadata information which are formatted in DIDL Lite XML. - Related to issue #25 Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
* [API] Add new GetMetaData Media Object APIChristophe Guiraud2013-03-2210-4/+135
| | | | | | | | | | - Add a new method GetMetaData to the org.gnome.UPnP.MediaObject2 interface to allow the retrieval of the Meta data information of an object in DIDL-Lite XML format. - MediaConsole python test app updated. - Doc updated. - Fix issue https://github.com/01org/dleyna-server/issues/25 Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
* [Doc] add with-ua-prefix doc to READMEChristophe Guiraud2013-03-221-0/+7
| | | | | | | Add missing with-ua-prefix option doc to the README. Fix issue https://github.com/01org/dleyna-server/issues/37 Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
* [Copyright] Fix copyright headersLudovic Ferrandis2013-03-211-2/+3
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* Fixed two errors in the d-Bus API.txt docMark Ryan2013-03-201-2/+2
| | | | | | | | - 'item' was missing as a value for the Type parameters. - The document incorrectly stated that dLeyna-server does not support the container ChildCount property. It's ItemCount we do not support. Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
* [Configuration] Post-release version bumpLudovic Ferrandis2013-03-122-4/+4
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Release] dLeyna-server v0.0.1v0.0.1Ludovic Ferrandis2013-03-121-1/+2
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [Build] Add missing distribution filesRegis Merlino2013-03-111-1/+13
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Architecture] Change directory structure to enable build from a master projectRegis Merlino2013-03-1129-21/+31
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Readme] Fix a typoRegis Merlino2013-03-061-2/+3
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Doc] Add server dbus API documentationRegis Merlino2013-03-051-0/+903
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Server] Make service name a constantRegis Merlino2013-03-011-1/+3
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Tests] Add missing execution flags to test scriptsChristophe Guiraud2013-03-012-0/+0
| | | | | | - Add missing execution flags to test scripts. Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>