Commit graph

245 commits

Author SHA1 Message Date
Hans-Christoph Steiner
65d88c595c bumped version to v0.2 for release
svn path=/trunk/externals/iem/comport/; revision=16384
2012-10-15 02:43:58 +00:00
Hans-Christoph Steiner
dcb81d5330 instead of just closing a lost connection, retry for a settable number of tries
svn path=/trunk/externals/iem/comport/; revision=16059
2012-03-09 05:20:47 +00:00
Hans-Christoph Steiner
17bd34efc3 set default poll time to 10ms since for most uses of serial at 115200 baud or less, the data doesn't come any faster than every 10ms
svn path=/trunk/externals/iem/comport/; revision=16053
2012-03-07 18:07:50 +00:00
Hans-Christoph Steiner
551302e63e cleaned up a couple error messages
svn path=/trunk/externals/iem/comport/; revision=16052
2012-03-07 18:04:41 +00:00
Hans-Christoph Steiner
34376be955 after select(), if both ioctl() and read() return a 0 count, assume that we lost the connection and close the serial port
svn path=/trunk/externals/iem/comport/; revision=16051
2012-03-07 04:59:28 +00:00
Hans-Christoph Steiner
b1717b4f77 added comport# to close log message and used pd_error() to report all errors so they are trackable
svn path=/trunk/externals/iem/comport/; revision=16050
2012-03-07 04:54:21 +00:00
Hans-Christoph Steiner
fc6e4dd223 post version message with verbose(-1, ) so it shows up at log level 3
svn path=/trunk/externals/iem/comport/; revision=15378
2011-09-28 17:12:06 +00:00
Martin Peach
5509a22ed7 In non MSW version, don't post messages about baud rate unless verbose is set.
svn path=/trunk/externals/iem/comport/; revision=15071
2011-04-13 17:24:51 +00:00
Hans-Christoph Steiner
18ae2b9c8c updated Makefile to latest version
svn path=/trunk/externals/iem/comport/; revision=14669
2010-12-21 02:16:08 +00:00
Hans-Christoph Steiner
49ca0deb14 fixed bug introduced by IOhannes' addition of unused HELPPATCHES variable that
stopped the help patches for abstractions from being installed

svn path=/trunk/externals/iem/comport/; revision=14178
2010-09-22 05:34:52 +00:00
mescalinum
aa706e9d01 remove -mcpu/-mtune flags as it breaks x64 build. we should eventually figure a way of determining automatically the CPU, but 'uname -m' doesn't tell the truth
svn path=/trunk/externals/iem/comport/; revision=14145
2010-09-15 12:37:05 +00:00
Hans-Christoph Steiner
68295eb180 uploaded package to http://git.debian.org/?p=pkg-multimedia/pd-comport.git;a=summary
svn path=/trunk/externals/iem/comport/; revision=14069
2010-09-11 21:02:22 +00:00
Hans-Christoph Steiner
a474f3fb39 added Windows makefile to the dist tarball
svn path=/trunk/externals/iem/comport/; revision=14068
2010-09-11 20:54:18 +00:00
Hans-Christoph Steiner
fa5bd79802 fix lintian error that quilt is required
svn path=/trunk/externals/iem/comport/; revision=14061
2010-09-11 20:13:48 +00:00
Hans-Christoph Steiner
e76e1039d5 prep to retag and re-release clean tarballs with Makefile updates
svn path=/trunk/externals/iem/comport/; revision=14048
2010-09-11 19:30:44 +00:00
Hans-Christoph Steiner
ca1cc57e87 updated to Makefile version 1.0.3
svn path=/trunk/externals/iem/comport/; revision=13994
2010-09-07 23:27:26 +00:00
Hans-Christoph Steiner
aedbea26e8 prepping for upload to Debian
svn path=/trunk/externals/iem/comport/; revision=13983
2010-09-07 19:05:11 +00:00
Hans-Christoph Steiner
c1597a8e0a added override_dh_strip target from pd-wiimote to strip things properly
svn path=/trunk/externals/iem/comport/; revision=13978
2010-09-05 05:37:29 +00:00
Hans-Christoph Steiner
5d7d412046 updated Makefile to latest version
svn path=/trunk/externals/iem/comport/; revision=13977
2010-09-05 05:26:04 +00:00
Hans-Christoph Steiner
1c74586bf4 added -svn to version after release tarball has been placed on SourceForge downloads
svn path=/trunk/externals/iem/comport/; revision=13975
2010-09-05 03:25:56 +00:00
Hans-Christoph Steiner
728f8cce8d updated to Makefile version 1.0.2
svn path=/trunk/externals/iem/comport/; revision=13928
2010-08-24 04:46:07 +00:00
Hans-Christoph Steiner
5c88ace13d rm LICENSE.txt and create symlink to Debian common license files
svn path=/trunk/externals/iem/comport/; revision=13843
2010-08-19 17:19:33 +00:00
Hans-Christoph Steiner
d8d3837c81 corrected to be LGPL-2.1
svn path=/trunk/externals/iem/comport/; revision=13842
2010-08-19 17:17:46 +00:00
Hans-Christoph Steiner
89c6b6c6a7 added siretart's gbp.conf file to force prisine-tar with git-buildpackage
svn path=/trunk/externals/iem/comport/; revision=13840
2010-08-19 16:33:59 +00:00
Hans-Christoph Steiner
fd7993e98a get building with debuild
svn path=/trunk/externals/iem/comport/; revision=13831
2010-08-18 23:21:15 +00:00
Hans-Christoph Steiner
4b0297cb1d debianized using the library template
svn path=/trunk/externals/iem/comport/; revision=13824
2010-08-17 19:32:22 +00:00
Hans-Christoph Steiner
87b596349f switched %f to %g in warning/error messages so that trailing 0s don't get printed
svn path=/trunk/externals/iem/comport/; revision=13227
2010-03-18 03:03:30 +00:00
Hans-Christoph Steiner
756fc5b17b added support for 'Abstract Control Model' tty's for things like the Arduino Teensy that use USB-CDC
svn path=/trunk/externals/iem/comport/; revision=13225
2010-03-18 02:03:27 +00:00
Martin Peach
6609bc6fbd Checks that the port is open before writing to its buffer.
svn path=/trunk/externals/iem/comport/; revision=13221
2010-03-17 20:39:20 +00:00
Martin Peach
ad24c79d3e seems MinGW and VC don't agree on the content of an OVERLAPPED struct.
svn path=/trunk/externals/iem/comport/; revision=13143
2010-02-04 16:25:38 +00:00
Martin Peach
217e4a430c Got rid of some more warnings in the MinGW version.
svn path=/trunk/externals/iem/comport/; revision=13142
2010-02-03 17:39:14 +00:00
Martin Peach
14e6f856c5 Got rid of a warning about the float com_num being printed as int by printing it as float.
svn path=/trunk/externals/iem/comport/; revision=13133
2010-02-02 17:52:41 +00:00
Martin Peach
1315bde6fb sprintf_s only works on MSVC. MinGW uses sprintf.
svn path=/trunk/externals/iem/comport/; revision=13132
2010-02-02 17:40:22 +00:00
Martin Peach
331644089a Changed some sprintf calls to sprintf_s in the _WIN32 sections.
svn path=/trunk/externals/iem/comport/; revision=13129
2010-02-01 21:31:12 +00:00
Martin Peach
0c9dd479c6 Use a 16384-byte buffer for send and another for receive. Read and write occur during comport_tick(), the clock callback, so any data written since the previous tick will be sent in a single write. Callback rate is now adjustable via the [pollintervall( message which defaults to 1ms (usually that's faster than the dsp block rate so the dsp rate takes precedence.)
svn path=/trunk/externals/iem/comport/; revision=13128
2010-02-01 21:13:58 +00:00
IOhannes m zmölnig
7e89880e44 fix build-bug introduced by mrpeach's multibyte read
svn path=/trunk/externals/iem/comport/; revision=13121
2010-01-31 14:10:12 +00:00
Martin Peach
6fa08ba7a3 Attempt to make reception more efficient in linux by reading the number of bytes actually available instead of one at a time. Added an rxerrors output for the info message. First 10 rxerrors print to console with errno/LastError.
svn path=/trunk/externals/iem/comport/; revision=13118
2010-01-29 03:56:46 +00:00
Hans-Christoph Steiner
ebc39b9349 replaced -export_dynamic with --export-dynamic and -Wl,--export-dynamic where
appropriate.  It seems that once upon a time -export_dynamic was a real flag.
Now it means -e xport_dynamic, meaning set the entry symbol to xport_dynamic,
giving this error message:

/usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000001b60

svn path=/trunk/externals/iem/comport/; revision=11724
2009-06-09 17:34:48 +00:00
musil
2d25fda968 win return
svn path=/trunk/externals/iem/comport/; revision=11388
2009-05-16 02:09:59 +00:00
musil
ca7d56b329 win return
svn path=/trunk/externals/iem/comport/; revision=11387
2009-05-16 02:09:13 +00:00
Hans-Christoph Steiner
d0c8651f69 removed extraneous test
svn path=/trunk/externals/iem/comport/; revision=11368
2009-05-14 20:19:39 +00:00
Hans-Christoph Steiner
c29a8fa5a1 made [comport] handle arguments more gracefully and made it throw an error if it can't open the serial port
svn path=/trunk/externals/iem/comport/; revision=11367
2009-05-14 20:17:33 +00:00
IOhannes m zmölnig
34873c90ba fixed mrpeach's changes so that now it compiles again on non-win32
svn path=/trunk/externals/iem/comport/; revision=10305
2008-09-21 13:23:12 +00:00
Martin Peach
1b05e2f7a4 cleaned up the help patch some more...
svn path=/trunk/externals/iem/comport/; revision=10290
2008-09-16 20:20:33 +00:00
Martin Peach
9fb73a2023 Fixed Windows stop bit settings (tracker# 1944125) so that 1, 1.5 or 2 stop bits can be set.
svn path=/trunk/externals/iem/comport/; revision=10289
2008-09-16 20:17:56 +00:00
Martin Peach
790cf21a9b Correctly set port index when opened by name on linux & OSX.
svn path=/trunk/externals/iem/comport/; revision=8991
2007-11-13 18:31:45 +00:00
IOhannes m zmölnig
d774d0fefc removed the "-Werror"
svn path=/trunk/externals/iem/comport/; revision=8830
2007-10-17 16:15:04 +00:00
Hans-Christoph Steiner
22575380ba made set_hupcl() dummy function so things build on WIN32
svn path=/trunk/externals/iem/comport/; revision=8804
2007-10-12 02:56:08 +00:00
Martin Peach
ef4e9582e1 Slight change at line 1017 to avoid unsigned/signed warning.
svn path=/trunk/externals/iem/comport/; revision=8803
2007-10-12 00:40:13 +00:00
Martin Peach
ea14c0fe89 Added list method and modified help patch. Changed hupcl so Windows doesn't see it.
svn path=/trunk/externals/iem/comport/; revision=8802
2007-10-11 21:06:09 +00:00