summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* examples: Fix browse.js for removed APIJens Georg2022-08-071-9/+6
|
* Context: Add new convenience constructorsJens Georg2022-08-073-3/+10
| | | | | Add new constructors that allow to set the new parameters directly, instead of forcing the use of g_object_new
* all: Coverity fixesJens Georg2022-06-051-1/+1
| | | | | | CID352971, CID352973, CID352974, CID352977, CID352980 Also sprinkle some coverity false-positive markers
* examples: Fix import for JavaScript exampleJens Georg2022-06-041-1/+1
|
* examples: Add light-server example in pythonJens Georg2022-04-241-0/+125
|
* ServiceProxy: Drop deprecated introspectionJens Georg2022-01-091-10/+14
| | | | | Remove deprecated introspection functions, completely rewrite the introspect_async() function
* ServiceAction: Forward-port Action.return_successJens Georg2022-01-031-3/+3
|
* all: Bump API versionJens Georg2021-10-274-4/+4
| | | | Reset ABI version, also bump project version
* all: white_list -> context_filterJens Georg2021-07-061-29/+32
|
* examples: Use varargs version in C exampleJens Georg2021-07-031-23/+5
|
* all: LGPL-2.0 -> LGPL-2.1Jens Georg2021-06-094-56/+5
| | | | Also, drop the wall of license text and use the SPDX identifier
* tests,examples: Some tests are examplesJens Georg2021-06-096-0/+1160
| | | | Those are moved into examples, and gtests is moved one up
* Fix build with hardened security flagsAndreas Müller2021-05-311-3/+3
| | | | | | | | | | | | | | | | | ../gupnp-1.2.6/examples/get-volume.c: In function 'on_introspection': | ../gupnp-1.2.6/examples/get-volume.c:53:17: error: format not a string literal and no format arguments [-Werror=format-security] | 53 | g_critical (error->message); | | ^~~~~~~~~~ | ../gupnp-1.2.6/examples/get-volume.c:114:17: error: format not a string literal and no format arguments [-Werror=format-security] | 114 | g_critical (error->message); | | ^~~~~~~~~~ | ../gupnp-1.2.6/examples/get-volume.c: In function 'main': | ../gupnp-1.2.6/examples/get-volume.c:150:17: error: format not a string literal and no format arguments [-Werror=format-security] | 150 | g_error (error->message); | | ^~~~~~~ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* examples: Add get-volme C exampleJens Georg2021-05-242-0/+172
|
* examples: Add get-volume.pyJens Georg2021-05-241-0/+69
|
* examples: Fix JavaScript exampleJens Georg2021-05-241-14/+22
|
* examples: Update get-volume.js to use new APIJens Georg2021-02-141-9/+9
|
* example: Use UPnP 1.1 and IPv6 in browse.jsJens Georg2019-02-051-1/+5
|
* service-proxy: Add new API for calling actionsJens Georg2019-02-041-11/+25
|
* build: Switch to mesonJens Georg2018-11-022-15/+12
|
* Fix out-of-tree buildJens Georg2016-10-151-1/+1
| | | | Signed-off-by: Jens Georg <mail@jensge.org>
* Remove deprecated functionsJens Georg2016-10-152-3/+12
| | | | Signed-off-by: Jens Georg <mail@jensge.org>
* Bump API/ABI versionsJens Georg2016-10-154-1/+6
| | | | Signed-off-by: Jens Georg <mail@jensge.org>
* examples: Use newTargetValueJens Georg2016-04-203-3/+3
| | | | | | | | Adapt to 2011 spec update Signed-off-by: Jens Georg <mail@jensge.org> https://bugzilla.gnome.org/show_bug.cgi?id=764050
* Add some JavaScript examplesJens Georg2016-02-053-0/+191
| | | | Signed-off-by: Jens Georg <mail@jensge.org>
* Remove GLIB_CHECK_VERSION <= 2.40Jens Georg2015-12-052-8/+0
| | | | | | We require 2.40 by the build, so the macros are not needed anymore. Signed-off-by: Jens Georg <mail@jensge.org>
* examples/light-server: add --quiet and --help optionsAndrzej Bieniek2013-10-161-2/+24
| | | | | | | | | | | | | | | | | | | | Quiet option is useful to disable printing overhead when measuring library performance. Example run: gupnp/examples$ ./light-server -q ^C gupnp/examples$ ./light-server --help Usage: lt-light-server [OPTION...] Help Options: -h, --help Show help options Application Options: -q, --quiet Turn off output https://bugzilla.gnome.org/show_bug.cgi?id=708575
* examples/light-client: add --quiet, --help and repeat optionsAndrzej Bieniek2013-10-161-8/+57
| | | | | | | | | | | | | | | | | | | | | Options added to help with library performance measurements. To send 1000 toggle commands with 50ms delay run: gupnp/examples$ ./light-client -q -c 1000 -d 50 toggle For more options run: gupnp/examples$ ./light-client --help Usage: lt-light-client [OPTION...] [on|off|toggle] Help Options: -h, --help Show help options Application Options: -q, --quiet Turn off output -c, --repeat-counter=value Repeat counter -d, --repeat-delay=value Delay in [ms] between each iteration https://bugzilla.gnome.org/show_bug.cgi?id=708575
* Fix compilation with -Wall -WextraJens Georg2013-05-292-7/+20
|
* Prevent C++ name mangling in examplesJens Georg2013-05-291-1/+2
|
* g_type_init() is deprecated for glib >= 2.35.0Juan A. Suarez Romero2012-11-302-0/+5
| | | | | | Call it for old versions. https://bugzilla.gnome.org/show_bug.cgi?id=688411
* Removed the deprecated calls to g_thread_init()Riko Yamada2012-04-012-2/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673100
* Explicitly linker example apps to needed librariesZeeshan Ali (Khattak)2010-09-031-2/+2
|
* gcc warning fixesPhilip Withnall2010-03-181-0/+14
|
* make signal autoconnect work on windowsJens Georg2009-07-291-5/+6
|
* Free app developer from hosting of desc docsZeeshan Ali (Khattak)2009-07-211-7/+3
| | | | | | | Now the application developer just gives us the path of the directory where description documents are hosted and a path to the root device description (which could either be absolute or relative to description document directory.
* Add the example XML files to the distributionRoss Burton2009-02-021-0/+3
| | | | Thanks to Romain Tartière <romain@blogreen.org>
* 2008-11-18 Ross Burton <ross@linux.intel.com>Ross Burton2008-11-182-9/+27
| | | | | | | | | | | | | * tests/test-proxy.c: * tests/test-server.c: * tests/test-browsing.c: * tests/test-introspection.c: * examples/light-client.c: * examples/light-server.c: Don't user g_error but g_printerr (Sven Neumann). git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1364 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-11-14 Ross Burton <ross@linux.intel.com>Ross Burton2008-11-142-2/+2
| | | | | | | | | | | | | | | * libgupnp/gupnp-service.c: * libgupnp/gupnp-service-proxy.c: * tests/test-proxy.c: * tests/test-server.c: * tests/test-browsing.c: * tests/test-introspection.c: * examples/light-client.c: * examples/light-server.c: Don't pass arbitrary strings to printf() for security (thanks Sven Neumann) git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1360 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-08-30 Jorn Baayen <jorn@openedhand.com>Jorn Baayen2008-08-301-2/+3
| | | | | | | | | | * examples/Makefile.am: Link examples to gthread. git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1247 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-06-10 Ross Burton <ross@openedhand.com>Ross Burton2008-06-101-2/+2
| | | | | | | | * examples/BinaryLight1.xml: Use better friendly and model names. git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1054 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* Add READMERoss Burton2008-06-091-0/+12
| | | | git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1044 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-06-09 Ross Burton <ross@openedhand.com>Ross Burton2008-06-095-0/+357
* examples/: * Makefile.am: * configure.ac: Add some basic but non-trivial examples. git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1042 d8cb91d7-bff9-0310-92b9-80b65e4482b2