summaryrefslogtreecommitdiff
path: root/ao-tools/libaltos
Commit message (Collapse)AuthorAge
* Move altosui to the top level, placing libaltos inside it.Keith Packard2010-11-24
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Store libaltos.so in $(libdir)/altosKeith Packard2010-09-09
| | | | | | It's not a public library, so hide it away in a subdirectory. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix windows installer to ship correct filesKeith Packard2010-09-04
| | | | | | Was shipping altosui.jar instead of altosui-fat.jar Signed-off-by: Keith Packard <keithp@keithp.com>
* Use autotools for altosui and libaltosKeith Packard2010-09-04
| | | | | | | This switches from hand-written Makefiles to automake with libtool for these parts of the system. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Catch I/O errors on telemetry device, report to userKeith Packard2010-09-03
| | | | | | | This catches the USB device being unplugged and makes sure the user sees an error dialog in this case. Signed-off-by: Keith Packard <keithp@keithp.com>
* add distclean targets to libaltos and altosui to all Debian package to buildBdale Garbee2010-09-02
|
* make invocation of 'install' pathless to work on more Unix variantsBdale Garbee2010-08-30
|
* libaltos: Use overlapped I/O on windowsKeith Packard2010-08-30
| | | | | | Otherwise, reads block writes and vice-versa. Crazy stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Add pre-built Windows .dllKeith Packard2010-08-30
| | | | | | This lets us create the windows distribution on Linux. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Add pre-built Mac OS X libaltos.dylibKeith Packard2010-08-30
| | | | | | This allows the mac bits to be built on Linux. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Improve MakefileKeith Packard2010-08-30
| | | | | | | | | Builds Windows .dll correctly now and sample app. Moves linux install target to end so it is not default Adds .NOTPARALLEL to disable parallel gnumake. Removes -g debugging flags to shrink file size. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Fix windows build.Keith Packard2010-08-30
| | | | | | | Need stdlib.h to get calloc/free defined, remove debug printfs, fix serial timeouts. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: cjnitest needs altos_flush nowKeith Packard2010-08-29
|
* libaltos: Missing OS_LDFLAGS on cjnitest buildKeith Packard2010-08-29
|
* libaltos: Mac OS X cannot use 'poll(2)' on serial lines.Keith Packard2010-08-29
| | | | | | | Who ships this stuff, anyway? Instead of blocking, we'll poll every 100ms now, otherwise, we won't be able to abort the read when the device is closed. Yay! Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: AltusMetrum devices use more than one USB ID.Keith Packard2010-08-29
| | | | | | List all usb devices, picking those with AltusMetrum IDs. Signed-off-by: Keith Packard <keithp@keithp.com>
* add install target for libaltosBdale Garbee2010-08-27
|
* add a dummy install targetBdale Garbee2010-08-27
|
* libaltos: use pipe to wake up getchar on close. use mutexesKeith Packard2010-08-23
|
* libaltos: integrate Windows support.Keith Packard2010-08-17
| | | | | | | | | | | This adds Windows support for discovery and I/O. The API to the library is mostly unchanged, except that it now exports product and vendor USB IDs as Win7 doesn't expose the product name anywhere that we've been able to find, so we'll be updating the firmware to use unique idProduct values for each product. Signed-off-by: Keith Packard <keithp@keithp.com>
* Moved Mac OS packaging to altosui dirKeith Packard2010-07-29
|
* libaltos: build with java src encoding UTF8Keith Packard2010-07-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Close serial, join reader thread, free altos_fileKeith Packard2010-07-29
| | | | | | | | | Separating out the close and free actions ensures that the reader thread will not access freed memory or dereference a null pointer while shutting down the connection to the serial device. Otherwise, a race condition exists between the serial close and the thread join. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add Mac OS X packaging files for altosuiKeith Packard2010-07-27
|
* libaltos: build fat 10.5-compatible libraryKeith Packard2010-07-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: make clean remove all built filesKeith Packard2010-07-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos needs -I. on all systemsKeith Packard2010-07-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Darwin doesn't have strndup.Keith Packard2010-07-26
| | | | | | This provides a private version of this GNU extension. Signed-off-by: Keith Packard <keithp@keithp.com>
* Re-enable Linux support for altosui.Keith Packard2010-07-26
| | | | | | | This steals code from cc-usbdev for scanning the USB tree and uses the same tty code as on Darwin Signed-off-by: Keith Packard <keithp@keithp.com>
* Add libaltos which talks to USB connected altos devicesKeith Packard2010-07-26