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

79 Коммитов

Автор SHA1 Сообщение Дата
Aaron Bockover f406fc8f9d 2007-08-27 Aaron Bockover <abockover@novell.com>
* autogen.sh: A fresh, hip, autogen

    * src/ServiceLocator.cs:
    * src/Server.cs: Removed old Mono.Zeroconf and Avahi support, replaced
    with new Mono.Zeroconf support (which is a frontend to either
    mDNSResponder or Avahi support, abstracted from applications or other
    libraries)

    * src/Client.cs:
    * src/Database.cs: Fix some compiler warnings
    
    * configure.ac: Require Mono.Zeroconf instead of either Avahi or
    mDNSResponder; check for TagLib#; bump version to 0.4.0

    * sample/SampleServer.cs: Use TagLib instead of Entagged to build the
    sample server

    * sample/Makefile.am: Fixed up to link against TagLib


svn path=/trunk/daap-sharp/; revision=84929
2007-08-28 03:25:36 +00:00
James Willcox c992a583e0 2007-01-29 James Willcox <snorp@snorp.net>
* src/Database.cs: fix a regression caused by s/Song/Track/ a while 
        back.  Track numbers were not getting fetched on the client side.


svn path=/trunk/daap-sharp/; revision=71903
2007-01-29 17:18:49 +00:00
James Willcox b8bc976e64 remove the strong name
svn path=/trunk/daap-sharp/; revision=68682
2006-11-29 18:42:21 +00:00
Aaron Bockover 70c784c574 Removed old Mono.Zeroconf
svn path=/trunk/daap-sharp/; revision=68678
2006-11-29 17:39:25 +00:00
James Willcox de41ac923f 2006-10-26 James Willcox <snorp@snorp.net>
* src/Server.cs: add a MachineId property
        * src/ServiceLocator.cs: do the same for Service

        Publish and parse "Machine ID" fields on the server and client


svn path=/trunk/daap-sharp/; revision=67019
2006-10-26 22:19:21 +00:00
James Willcox 2e7d481219 2006-10-18 James Willcox <snorp@snorp.net>
* src/Client.cs: don't fetch the content codes until Login(), as
        apparently iTunes protects that url with a password (if enabled)


svn path=/trunk/daap-sharp/; revision=66807
2006-10-18 22:11:45 +00:00
James Willcox 99930074cd 2006-10-02 James Willcox <snorp@snorp.net>
* src/content-codes: updated, includes new codes found in iTunes 7.0


svn path=/trunk/daap-sharp/; revision=66170
2006-10-02 18:54:17 +00:00
James Willcox f8bbbf1cd2 2006-09-26 James Willcox <snorp@snorp.net>
* src/ContentFetcher.cs: set ServicePoint connection limit to 3.
        We effectively waste one by having the '/update' request, so it's
        easy to run out.


svn path=/trunk/daap-sharp/; revision=65938
2006-09-26 21:29:25 +00:00
James Willcox 78de49f81d 2006-09-26 James Willcox <snorp@snorp.net>
* src/User.cs: added, represents a user connected to the server
        * src/Server.cs: add user login/logout events as well as a Users
        property for obtaining the list of logged-in users.


svn path=/trunk/daap-sharp/; revision=65933
2006-09-26 20:10:44 +00:00
James Willcox 31412e0417 2006-09-24 James Willcox <snorp@snorp.net>
* src/Client.cs: kill all connections to the server before logging out.


svn path=/trunk/daap-sharp/; revision=65874
2006-09-24 23:06:33 +00:00
James Willcox 7ca7c432f0 oops
svn path=/trunk/daap-sharp/; revision=65842
2006-09-23 23:20:31 +00:00
James Willcox 4c7f47ca66 2006-09-23 James Willcox <snorp@snorp.net>
* src/ContentFetcher.cs: correctly close the in-progress
        * requests


svn path=/trunk/daap-sharp/; revision=65839
2006-09-23 22:38:37 +00:00
James Willcox ced090276e oops, forgot to commit this stuff
svn path=/trunk/daap-sharp/; revision=65837
2006-09-23 21:34:54 +00:00
James Willcox e753c25fd7 2006-09-18 James Willcox <snorp@snorp.net>
* src/Server.cs: only password protect the /login path
        iTunes only passes the HTTP password there, and assumes the
        session id is good enough after that.


svn path=/trunk/daap-sharp/; revision=65617
2006-09-19 00:24:31 +00:00
James Willcox 2395cd6879 2006-08-06 James Willcox <snorp@snorp.net>
* src/Server.cs: when opening tracks for streaming, use FileAccess.Read
        * src/ContentCodeBag.cs: don't specify the 'content-code' embedded
        resource specifically since when building on Windows it gets assigned
        a totally outrageous name.


svn path=/trunk/daap-sharp/; revision=64113
2006-08-20 19:20:00 +00:00
James Willcox c5fb8b0b25 stop the server so the app will exit
svn path=/trunk/daap-sharp/; revision=63645
2006-08-11 16:22:01 +00:00
James Willcox b46b004833 fix the paths for 'make winrelease'
svn path=/trunk/daap-sharp/; revision=62850
2006-07-21 02:03:38 +00:00
James Willcox 85baefa3ee 2006-07-13 James Willcox <snorp@snorp.net>
* src/ContentCodeBag.cs: add some missing content codes for use
        with iPhoto


svn path=/trunk/daap-sharp/; revision=62722
2006-07-18 19:26:37 +00:00
James Willcox b9c81dfddc 2006-07-13 James Willcox <snorp@snorp.net>
* src/Database.cs: make the events conform to the standard
        framework design guidelines (added TrackArgs and PlaylistArgs)


svn path=/trunk/daap-sharp/; revision=62588
2006-07-13 22:56:57 +00:00
James Willcox 96684b6f21 last one I hope
svn path=/trunk/daap-sharp/; revision=62416
2006-07-10 23:42:43 +00:00
James Willcox 663b212fa1 still more sed crap
svn path=/trunk/daap-sharp/; revision=62415
2006-07-10 23:40:56 +00:00
James Willcox 182676cd80 this is getting ridiculous
svn path=/trunk/daap-sharp/; revision=62413
2006-07-10 23:22:02 +00:00
James Willcox 6e9f05d9c7 fix yet more sed screwups
svn path=/trunk/daap-sharp/; revision=62410
2006-07-10 22:38:07 +00:00
James Willcox 14f2da8ede fix sed screwups
svn path=/trunk/daap-sharp/; revision=62409
2006-07-10 22:35:04 +00:00
James Willcox 7e7e99afc0 convert to gmcs, and use generics in publically exposed collections
svn path=/trunk/daap-sharp/; revision=62408
2006-07-10 22:19:31 +00:00
James Willcox 9dd03f7a64 2006-07-07 James Willcox <snorp@snorp.net>
* configure.ac: require the latest Avahi, and bump to 0.3.4
        * src/Server.cs: don't crash if Stop is called more than once


svn path=/trunk/daap-sharp/; revision=62359
2006-07-07 21:24:37 +00:00
James Willcox 3a9c8a71da 2006-05-24 James Willcox <snorp@snorp.net>
* src/Server.cs: add a SongRequested event to Server, so apps
        can do logging or whatever when a song is requested.


svn path=/trunk/daap-sharp/; revision=61067
2006-05-24 15:53:29 +00:00
James Willcox 119f5602d7 2006-05-07 James Willcox <snorp@snorp.net>
* src/ServiceLocator.cs: make sure we properly dispose of the
        Avahi.Client when shutting down.
        * src/Server.cs: ditto


svn path=/trunk/daap-sharp/; revision=60391
2006-05-08 02:32:51 +00:00
James Willcox bd90760865 2006-05-07 James Willcox <snorp@snorp.net>
* daap-sharp.pc.in: include the .config file


svn path=/trunk/daap-sharp/; revision=60382
2006-05-07 15:53:05 +00:00
James Willcox 3537958827 fix 'release' target
svn path=/trunk/daap-sharp/; revision=60248
2006-05-04 03:36:34 +00:00
James Willcox 71c0dc961e 2006-04-07 James Willcox <snorp@snorp.net>
* configure.ac: bump to 0.3.3


svn path=/trunk/daap-sharp/; revision=59238
2006-04-08 01:33:46 +00:00
James Willcox 815c4cbff0 2006-04-07 James Willcox <snorp@snorp.net>
* src/Mono.Zeroconf: synced


svn path=/trunk/daap-sharp/; revision=59237
2006-04-08 01:23:24 +00:00
Aaron Bockover 09e1605cfd 2006-04-04 Aaron Bockover <aaron@abock.org>
* src/daap-sharp.dll.config.in: Map to libnss_mdns-0.2.so

    * src/Mono.Zeroconf: synced sources


svn path=/trunk/daap-sharp/; revision=59022
2006-04-04 15:36:11 +00:00
Aaron Bockover 3790f765b2 2006-04-04 Aaron Bockover <aaron@aaronbock.net>
* src/Server.cs (UnregisterService): handle exception when trying to
    shutdown the service locator


svn path=/trunk/daap-sharp/; revision=59017
2006-04-04 15:07:49 +00:00
James Willcox 9acfba56b7 2006-03-12 James Willcox <snorp@snorp.net>
* src/Database.cs: fix DownloadSong()
        * sample/Mirror.cs: call ServiceLocator.Start (oops)


svn path=/trunk/daap-sharp/; revision=57883
2006-03-12 23:12:13 +00:00
James Willcox cb3f552600 2006-03-12 James Willcox <snorp@snorp.net>
* src/Server.cs: support range requests for seeking, and limit the
        number of database revisions kept for creating deltas.
        * src/Client.cs: support seeking (range requests)


svn path=/trunk/daap-sharp/; revision=57873
2006-03-12 17:29:02 +00:00
James Willcox 01452ea637 oops
svn path=/trunk/daap-sharp/; revision=57854
2006-03-12 01:12:27 +00:00
James Willcox 621a9ccce8 2006-03-11 James Willcox <snorp@snorp.net>
* src/Mono.Zeroconf/*: updated


svn path=/trunk/daap-sharp/; revision=57853
2006-03-12 01:09:22 +00:00
James Willcox 0ad1320919 2006-03-10 James Willcox <snorp@snorp.net>
* configure.ac: bump to 0.3.2
        * src/ContentParser.cs: add workaround for buggy servers.
        If a content code can't be found, fallback to our internal one.


svn path=/trunk/daap-sharp/; revision=57806
2006-03-11 00:48:22 +00:00
James Willcox 6fd8f4c77c break the 'winrelease' target into a 'winbuild' and 'winrelease' one
svn path=/trunk/daap-sharp/; revision=57740
2006-03-09 19:03:21 +00:00
James Willcox 1d9376de24 2006-03-07 James Willcox <snorp@snorp.net>
* src/Mono.ZEroconf/*: Updated


svn path=/trunk/daap-sharp/; revision=57673
2006-03-07 22:19:46 +00:00
Aaron Bockover c01c7a4c9e 2006-03-07 Aaron Bockover <aaron@abock.org>
* src/Mono.Zeroconf/*: Updated Mono.Zeroconf sources (run an A query
    in DNSServiceQueryRecord to resolve addresses instead of using
    gethostbyname)


svn path=/trunk/daap-sharp/; revision=57670
2006-03-07 21:58:52 +00:00
Aaron Bockover 5b647a6c0e 2006-03-05 Aaron Bockover <aaron@abock.org>
* src/Mono.Zeroconf/*: Updated Mono.Zeroconf sources


svn path=/trunk/daap-sharp/; revision=57604
2006-03-06 03:49:53 +00:00
James Willcox 6ec962230e 2006-02-22 James Willcox <snorp@snorp.net>
* src/Database.cs (DownloadSong): don't assume that the length
        argument is valid.


svn path=/trunk/daap-sharp/; revision=57188
2006-02-23 00:14:00 +00:00
James Willcox a996448d1f 2006-02-21 James Willcox <snorp@snorp.net>
* configure.ac: bump to 0.3.1
        * src/Server.cs: fix a small Uri handling problem which was
        causing a bug on windows.
        * src/en/*: updated


svn path=/trunk/daap-sharp/; revision=57115
2006-02-21 23:12:13 +00:00
James Willcox 24dfe44b25 2006-02-21 James Willcox <snorp@snorp.net>
* src/Mono.Zeroconf/Native.cs: use dnssd.dll as the P/Invoke dll
        * src/daap-sharp.dll.config.in: update the dllmap
        * src/Utility.cs: add ToDateTime and FromDateTime
        * src/*.cs: remove dependence on Mono.Unix

        Make the necessary changes to run on windows


svn path=/trunk/daap-sharp/; revision=57097
2006-02-21 18:01:47 +00:00
Aaron Bockover 2b6049a00a 2006-01-20 Aaron Bockover <aaron@abock.org>
* src/Mono.ZeroConf/Service.cs (set_HostTarget): Updated Mono.Zeroconf     sources (fix VPN-related DNS resolve bug)


svn path=/trunk/daap-sharp/; revision=57078
2006-02-20 19:19:38 +00:00
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