Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Aaron Bockover a3155ad78b 2006-01-20 Aaron Bockover <aaron@abock.org>
* sample/SampleServer.cs: Parse the command line a little better;
    adds --port, --server-name, --database-name, and --help options


svn path=/trunk/daap-sharp/; revision=57075
2006-02-20 18:17:58 +00:00
Aaron Bockover 5c083e4793 2006-01-19 Aaron Bockover <aaron@abock.org>
* src/daap-sharp.dll.config.in: Map to libdns_sd.so

    * src/ServiceLocator.cs: Actually start the browse request


svn path=/trunk/daap-sharp/; revision=57058
2006-02-19 22:44:34 +00:00
Aaron Bockover 90bb1f4edd 2006-01-19 Aaron Bockover <aaron@abock.org>
* configure.ac: Added check for pkg-config to fix package detection
    bug; Added --enable-mdnsd to skip Avahi check and define ENABLE_MDNSD
    for compilation

    * src/Makefile.am: Added files to DISTCLEANFILES so 'make distcheck'
    works; build with -debug and link using arguments from
    MCS_FLAGS (AVAHI_LIBS) instead of -pkg; compile Mono.Zeroconf
    sources into assembly use daap_SCRIPTS instead of daap_DATA to
    get a 0755 chmod; install daap-sharp.dll.{mdb,config}

    * src/Server.cs:
    * src/ServiceLocator.cs: Only compile Avahi-related code if ENABLE_MDNSD
    is not defined, otherwise, compile the alternate Mono.Zeroconf code;
    these changes allow DAAP support to be compatible with Avahi and
    Apple's mDNSResponder Zerconf implementation; daap-sharp should now
    be easily portable to OS X and Windows

    * src/daap-sharp.dll.config.in: Added configuration file with DLL map
    for native mdns calls

    * sample/Makefile.am: Build tests with -debug

    * sample/SampleServer.cs: Updated to reflect API changes in entagged

    * src/Mono.Zeroconf/*: Added sources for Mono.Zeroconf with a
    sync-tree script to update sources from repository for bundling


svn path=/trunk/daap-sharp/; revision=57056
2006-02-19 20:37:51 +00:00
James Willcox 2a31f54025 2006-01-13 James Willcox <snorp@snorp.net>
* src/ServiceLocator.cs (OnServiceResolved): don't fire of a 'Found'
	event if we already have it.

svn path=/trunk/daap-sharp/; revision=55560
2006-01-13 23:07:10 +00:00
James Willcox b07f101cc8 2006-01-08 James Willcox <snorp@snorp.net>
* src/ServiceLocator.cs: add ServiceArgs, and use that in
        ServiceHandler.  Make Service a class instead of struct.
        * sample/*: updated for the above


svn path=/trunk/daap-sharp/; revision=55216
2006-01-08 23:19:48 +00:00
Aaron Bockover 0f46506701 2006-01-07 Aaron Bockover <aaron@aaronbock.net>
* sample/SampleClient.cs: Updated to work with changes in src/Database.cs

    * src/ServerLocator.cs: Added a ToString override on Service structure

    * src/Database.cs: Make Songs IEnumerable instead of an array that is
    created from the internal ArrayList on each call; added SongAt(index)
    method and a SongCount property

    * src/SampleServer.cs: Removed, it's in sample/



svn path=/trunk/daap-sharp/; revision=55202
2006-01-08 02:39:54 +00:00
James Willcox 7e2651ae30 fix the dns-sd bits that advertise whether or not we require a password
svn path=/trunk/daap-sharp/; revision=52262
2005-10-27 03:47:04 +00:00
James Willcox 64df40249a * add persistentids to metadata
* close http responses
* random other cleanups

svn path=/trunk/daap-sharp/; revision=52053
2005-10-21 21:26:57 +00:00
James Willcox d3aff3ba93 the server publishes by default, and the client sample now dumps playlists
svn path=/trunk/daap-sharp/; revision=51783
2005-10-17 02:22:54 +00:00
James Willcox e79e3deef3 add authentication support to the server (Basic only, blah)
svn path=/trunk/daap-sharp/; revision=51650
2005-10-12 04:04:07 +00:00
James Willcox 253f509e54 add the ability to download all songs from a given host
svn path=/trunk/daap-sharp/; revision=51644
2005-10-12 00:35:49 +00:00
James Willcox 34c21e8b53 add a symlink so the samples will run out of the box
svn path=/trunk/daap-sharp/; revision=51374
2005-10-06 21:36:04 +00:00
James Willcox 0352856423 initial import
svn path=/trunk/daap-sharp/; revision=51369
2005-10-06 21:23:56 +00:00