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

24 Коммитов

Автор SHA1 Сообщение Дата
Aaron Bockover 826491a6ed 2006-05-08 Aaron Bockover <aaron@abock.org>
* src/Song.cs: Make GetFrameString, GetFrameShort, and GetFrameInt
    perform conversions to respective return type if frame type is not of
    the expected data type; fixes an issue with a Nomad Jukebox 1 device
    reported and originally fixed by Bertrand Lorentz (BGO #341030)

    * src/NjbTest.cs: Updated to generate a standalone FDI file


svn path=/trunk/njb-sharp/; revision=60411
2006-05-08 16:04:27 +00:00
Aaron Bockover eba708967e 2006-04-17 Aaron Bockover <aaron@abock.org>
0.3.0 Release

    * Makefile.am:
    * src/Makefile.am: Added MAINTAINERCLEANFILES

    * src/*.{c,cs}: Updated copyright headers

    * src/en/*: Updated monodoc documentation

    * NEWS: Updated with release entry

    * AUTHORS: Updated email address


svn path=/trunk/njb-sharp/; revision=59543
2006-04-17 17:11:40 +00:00
Aaron Bockover 45b24754e4 2006-04-17 Aaron Bockover <aaron@abock.org>
* src/NjbTest.cs: Added --hal-fdi-dump to generate HAL FDI entries for
    all devices listed in DeviceId

    * src/DeviceId.cs: Added support for storing input/output formats


svn path=/trunk/njb-sharp/; revision=59542
2006-04-17 16:33:39 +00:00
Aaron Bockover 05fb2c379d 2006-04-13 Aaron Bockover <aaron@abock.org>
* configure.ac: Bump to 0.3.0


svn path=/trunk/njb-sharp/; revision=59459
2006-04-13 16:37:08 +00:00
Aaron Bockover 624045aeee 2006-04-13 Aaron Bockover <aaron@abock.org>
* src/SongFrame.cs: Fixed frame creation

    * src/Device.cs: Fixed send track support; added DeleteSong support

    * src/Utility.cs: Added FreeStringPtr

    * src/Song.cs: Added set accessors to common frame properties


svn path=/trunk/njb-sharp/; revision=59453
2006-04-13 15:36:26 +00:00
Aaron Bockover b77a5bd76d 2005-12-22 Aaron Bockover <aaron@aaronbock.net>
* configure.ac: Bump to 0.2.2

    * src/Makefile.am: Fixed install to 


svn path=/trunk/njb-sharp/; revision=54757
2005-12-22 23:26:37 +00:00
Aaron Bockover b588905bec 2005-12-22 Aaron Bockover <aaron@aaronbock.net>
* configure.ac: Version 0.2.1

    * src/Makefile.am: Install to 

    * src/en/*: Updated documentation


svn path=/trunk/njb-sharp/; revision=54721
2005-12-22 06:31:44 +00:00
Aaron Bockover 1070a0fbe6 2005-12-18 Aaron Bockover <aaron@aaronbock.net>
* src/en/*: Updated documentation

    * src/DeviceId.cs: Make table more easily readable

    * src/Device.cs: Changed Songs and DataFiles properties to GetSongs and
    GetDataFiles methods returning an ICollection as the tasks are expensive
    and exposing as properties is misleading (framework design guidelines);
    uppercase the SDMIID

    * src/Song.cs: Changed Frames property to GetFrames method as the
    operation is expensive (conform to .NET framework design guidelines);
    changed Length (ushort) property to Duration (TimeSpan); added a Device
    property for 'parent' lookups

    * src/NjbTest.cs: Updated to reflect change from properties to methods
    for GetSongs()


svn path=/trunk/njb-sharp/; revision=54587
2005-12-19 03:39:51 +00:00
Aaron Bockover 8e6e943aa8 2005-12-18 Aaron Bockover <aaron@aaronbock.net>
* njb-sharp.mdp: Updated MonoDevelop project

    * src/njb-sharp.dll.config.in: DLL Map; should remain unused directly
    in consuming applications for now, but can serve as a template for the
    end application to use

    * configure.ac: Added expanded_libdir variable and generate a DLL map

    * src/Device.cs (Dispose): Only call NJB_Close if Handle is still valid

    * src/Discoverer.cs: Added a Rescan method which may need to be used
    for rediscovering potentially new devices. Refreshes the device list
    cache. Very useful if consuming application also uses HAL for device
    notification.

    * src/Makefile.am: Added DeviceId.cs

    * src/DeviceId.cs: Simple class and static table to perform pre device
    lookup to verify if a USB device will most likely be supported by libnjb.
    Lookups to table are performed based on USB vendor and product IDs. This
    is useful for HAL-based detection, where probing Njb.Discoverer may be
    costly for each [USB] device in the system. Also maps device names to
    something more suitable for display.


svn path=/trunk/njb-sharp/; revision=54573
2005-12-18 08:37:59 +00:00
Aaron Bockover 6a359309a9 2005-12-17 Aaron Bockover <aaron@aaronbock.net>
* src/Device.cs: Added support for finding the USB bus and file path
    of the device; Added overrides for Equals and GetHashCode methods
    based on UsbDeviceId and UsbBusPath properties

    * src/njb-glue.c: Added two new helper methods to proxy device path and     filename information from underlying libusb structures

    * src/en/*: Updated docs


svn path=/trunk/njb-sharp/; revision=54568
2005-12-17 21:19:41 +00:00
Aaron Bockover e2e7c75c8c 2005-12-01 Aaron Bockover <aaron@aaronbock.net>
* njb-sharp.pc.in: Added a LibraryBase variable

svn path=/trunk/njb-sharp/; revision=53818
2005-12-02 04:04:39 +00:00
Aaron Bockover 222c0443a7 2005-12-01 Aaron Bockover <aaron@aaronbock.net>
* configure.ac: Fixed typo in detecting MONODOCER, bumped to version 0.2
    * src/Makefile.am: Added DataFile.cs, link against Mono.Posix.dll
    * njb-sharp.md[sp]: MonoDevelop solution/project file
    * src/Device.cs: Added fetch support for songs; fixed minor syntax issues;
    added DataFile container list support; do not cache Song/DataFile objects
    * src/Global.cs:
    * src/SongFrame.cs:
    * src/Song.cs: fixed syntaxt issues
    * src/Discoverer.cs: Remove IDisposable, fixed minor syntax issues
    * src/NjbTest.cs: Added song transfer support to test case
    * src/DataFile.cs: Skeleton bindings for Data File support
    * Makefile.am: Make DISTCLEANFILES standard
    * vacuum.sh: Clean out autogenerated build gunk
    * src/en/*: Updated docs


svn path=/trunk/njb-sharp/; revision=53816
2005-12-02 04:01:49 +00:00
Aaron Bockover a1bbee5833 Make ArrayHandle internal
svn path=/trunk/njb-sharp/; revision=51633
2005-10-11 19:21:14 +00:00
Aaron Bockover ef367c756c Add documentation, assembly information
svn path=/trunk/njb-sharp/; revision=51632
2005-10-11 19:18:11 +00:00
Aaron Bockover 971d0cad69 Add documentation
svn path=/trunk/njb-sharp/; revision=51631
2005-10-11 19:17:32 +00:00
Aaron Bockover c179d6796a Show songs on a device
svn path=/trunk/njb-sharp/; revision=51620
2005-10-11 18:15:46 +00:00
Aaron Bockover f822cc9aea Version 0.1.1
svn path=/trunk/njb-sharp/; revision=51619
2005-10-11 18:15:33 +00:00
Aaron Bockover 3acb6748bd Add song read support, Version 0.1.1
svn path=/trunk/njb-sharp/; revision=51618
2005-10-11 18:15:19 +00:00
Aaron Bockover 27c66efa37 Glue for weird NJB structure
svn path=/trunk/njb-sharp/; revision=51617
2005-10-11 18:14:59 +00:00
Aaron Bockover 3913156ceb Add Song.cs/SongFrame.cs to build
svn path=/trunk/njb-sharp/; revision=51616
2005-10-11 18:14:33 +00:00
Aaron Bockover 689d59ddc2 List songs on device
svn path=/trunk/njb-sharp/; revision=51615
2005-10-11 18:14:19 +00:00
Aaron Bockover aac016e509 Add song/track reading support
svn path=/trunk/njb-sharp/; revision=51614
2005-10-11 18:14:06 +00:00
Aaron Bockover 7b660e57d8 Replaced LGPL with MIT
svn path=/trunk/njb-sharp/; revision=51552
2005-10-11 08:00:41 +00:00
Aaron Bockover 7dad3c7ce7 Initial njb-sharp import (libnjb bindings)
svn path=/trunk/njb-sharp/; revision=51551
2005-10-11 07:57:25 +00:00