From 6d9aa99f9e7077d8769d9d8375fe0a2856034242 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Thu, 25 Mar 2004 16:45:14 +0000 Subject: [PATCH] libftdi: (tomj) wrote Changelog, library version increase --- ChangeLog | 10 ++++++++++ README | 3 +++ configure.in | 2 +- configure.in.in | 2 +- ftdi/Makefile.am | 2 +- ftdi/Makefile.in | 9 +-------- ftdi/ftdi.c | 2 +- libftdi.kdevprj | 2 +- libftdi.spec | 2 +- 9 files changed, 20 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4b6a19c..107fddc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +New in 0.3 +---------- + +* Improved read function which takes arbitrary input buffer sizes + Attention: Call ftdi_deinit() on exit to free used memory +* Vastly increased read/write performance (configurable chunksize, default is 4096) +* Set/get latency timer function working (Thanks Steven Turner/FTDI) +* Increased library version because the changes require recompilation + + New in 0.2 ---------- diff --git a/README b/README index 8b13789..c61b417 100644 --- a/README +++ b/README @@ -1 +1,4 @@ +libftdi - A library (using libusb) to talk to FTDI's +FT232BM and FT245BM type chips including the popular bitbang mode. +See the Changelog for news diff --git a/configure.in b/configure.in index 0a7aa03..83d1f09 100644 --- a/configure.in +++ b/configure.in @@ -38,7 +38,7 @@ dnl Perform program name transformation AC_ARG_PROGRAM dnl Automake doc recommends to do this only here. (Janos) -AM_INIT_AUTOMAKE(libftdi, 0.2) dnl searches for some needed programs +AM_INIT_AUTOMAKE(libftdi, 0.3) dnl searches for some needed programs dnl almost the same like KDE_SET_PEFIX but the path is /usr/local dnl diff --git a/configure.in.in b/configure.in.in index f38bc16..950cc79 100644 --- a/configure.in.in +++ b/configure.in.in @@ -38,7 +38,7 @@ dnl Perform program name transformation AC_ARG_PROGRAM dnl Automake doc recommends to do this only here. (Janos) -AM_INIT_AUTOMAKE(libftdi, 0.2) dnl searches for some needed programs +AM_INIT_AUTOMAKE(libftdi, 0.3) dnl searches for some needed programs dnl almost the same like KDE_SET_PEFIX but the path is /usr/local dnl diff --git a/ftdi/Makefile.am b/ftdi/Makefile.am index 6bd3e86..b2dd5d0 100644 --- a/ftdi/Makefile.am +++ b/ftdi/Makefile.am @@ -28,5 +28,5 @@ INCLUDES= $(all_includes) # Note: If you specify a:b:c as the version in the next line, # the library that is made has version (a-c).c.b. In this # example, the version is 2.1.2. (3:2:1) -libftdi_la_LDFLAGS = -version-info 1:0:1 $(all_libraries) +libftdi_la_LDFLAGS = -version-info 3:0:3 $(all_libraries) diff --git a/ftdi/Makefile.in b/ftdi/Makefile.in index 77b70ae..6ba1b61 100644 --- a/ftdi/Makefile.in +++ b/ftdi/Makefile.in @@ -65,11 +65,9 @@ host_alias = @host_alias@ host_triplet = @host@ target_alias = @target_alias@ target_triplet = @target@ -AMTAR = @AMTAR@ ARTSCCONFIG = @ARTSCCONFIG@ AS = @AS@ AUTODIRS = @AUTODIRS@ -AWK = @AWK@ CC = @CC@ CONF_FILES = @CONF_FILES@ CPP = @CPP@ @@ -78,7 +76,6 @@ CXXCPP = @CXXCPP@ DCOPIDL = @DCOPIDL@ DCOPIDL2CPP = @DCOPIDL2CPP@ DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@ -DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DOXYGEN = @DOXYGEN@ DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@ @@ -96,7 +93,6 @@ GMSGFMT = @GMSGFMT@ HAVELIBUSB = @HAVELIBUSB@ IDL = @IDL@ IDL_DEPENDENCIES = @IDL_DEPENDENCIES@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ JAR = @JAR@ JAVAC = @JAVAC@ JAVAH = @JAVAH@ @@ -212,10 +208,7 @@ X_LDFLAGS = @X_LDFLAGS@ X_PRE_LIBS = @X_PRE_LIBS@ all_includes = @all_includes@ all_libraries = @all_libraries@ -am__include = @am__include@ -am__quote = @am__quote@ idldir = @idldir@ -install_sh = @install_sh@ jni_includes = @jni_includes@ kde_appsdir = @kde_appsdir@ kde_bindir = @kde_bindir@ @@ -262,7 +255,7 @@ INCLUDES = $(all_includes) # Note: If you specify a:b:c as the version in the next line, # the library that is made has version (a-c).c.b. In this # example, the version is 2.1.2. (3:2:1) -libftdi_la_LDFLAGS = -version-info 1:0:1 $(all_libraries) +libftdi_la_LDFLAGS = -version-info 3:0:3 $(all_libraries) mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = diff --git a/ftdi/ftdi.c b/ftdi/ftdi.c index e7aaae7..0c2314a 100644 --- a/ftdi/ftdi.c +++ b/ftdi/ftdi.c @@ -20,7 +20,7 @@ /* ftdi_init return codes: 0: all fine - -1: couldn't allocate (64 byte) read buffer + -1: couldn't allocate read buffer */ int ftdi_init(struct ftdi_context *ftdi) { ftdi->usb_dev = NULL; diff --git a/libftdi.kdevprj b/libftdi.kdevprj index 523a22b..0b2a1fa 100644 --- a/libftdi.kdevprj +++ b/libftdi.kdevprj @@ -33,7 +33,7 @@ makefiles=Makefile.am,ftdi/Makefile.am project_name=libftdi project_type=normal_c sub_dir=ftdi/ -version=0.2 +version=0.3 version_control=None workspace=1 diff --git a/libftdi.spec b/libftdi.spec index 80584c1..e88f94e 100644 --- a/libftdi.spec +++ b/libftdi.spec @@ -1,6 +1,6 @@ Summary: Library to program and control the FTDI USB controller Name: libftdi -Version: 0.2 +Version: 0.3 Release: 1 Copyright: LGPL Group: System Environment/Libraries -- 1.7.1