Commit graph

315 commits

Author SHA1 Message Date
IOhannes m zmölnig
dc01895dca prevent out-of-bounds copy 2024-09-26 16:52:07 +02:00
IOhannes m zmölnig
b66214e6a8 negative port-numbers at creation time indicate not-to-open
Closes: https://git.iem.at/pd/comport/-/issues/5
2024-09-26 16:48:32 +02:00
IOhannes m zmölnig
53f49d7004 extend valid baudrates
also use a single table for baudrates and baudspeedbits,
so it's easier to update

Closes: https://git.iem.at/pd/comport/-/issues/8
2024-09-26 16:42:14 +02:00
IOhannes m zmölnig
56df49f8a5 PD -> Pd 2024-09-26 16:10:50 +02:00
IOhannes m zmölnig
dab840e0ac Use 'logpost() rather than the deprecated 'verbose()' 2024-09-26 16:10:19 +02:00
IOhannes m zmölnig
95e3f1d3a1 Drop pd-lib-builder tests 2024-09-26 16:08:09 +02:00
IOhannes m zmölnig
f2ed62ce3f Merge commit '77525265694bac50ed94c5ef62ebbae680c72ab0' 2024-09-26 16:07:53 +02:00
IOhannes m zmölnig
a82f18ad59 store pretty device-name
rather than cluttering the code with '#ifdef _WIN32'
2024-09-26 16:07:17 +02:00
IOhannes m zmölnig
7752526569 tips-and-tricks: windows extension is '.dll' 2023-07-06 10:50:52 +02:00
IOhannes m zmölnig
f76ac409a2 Release v0.7.0 2023-07-06 10:22:33 +02:00
IOhannes m zmölnig
4484e7a38d Update CHANGELOG 2023-07-06 10:21:48 +02:00
IOhannes m zmölnig
aaab76aa9a Update documentation on building double-precision externals 2023-07-06 10:19:22 +02:00
IOhannes m zmölnig
6f30280275 Drop section about building externals for W64
Pd has supported Win64 for quite some time, there's nothing special anymore
2023-07-06 10:14:53 +02:00
IOhannes m zmölnig
4b6743cda5 document 'extension' and 'floatsize' variables 2023-07-06 09:58:50 +02:00
IOhannes m zmölnig
a54f4e4e20 add 'floatsize' variable for building double-precision externals 2023-07-06 09:58:50 +02:00
IOhannes m zmölnig
82c778b4cf support building multiple flavours without intermediate 'clean'
- object-files now encode the extension in their filename
  (e.g. helloworld.pd_linux.o)
  this uses the new $(objects.extension) variable
- avoid duplicate extensions for shared libraries
2023-07-06 09:58:50 +02:00
IOhannes m zmölnig
cba03bac01 make path to Makefile.pdlibbuilder settable in the example
i *really* want to encourage people to use a settable path.
it makes packaging a *lot* easier if it is possible to use an
upgraded Makefile.pdlibbuilder
2023-07-06 09:58:27 +02:00
danomatika
85b7a71d69 tips: filled out macO universal build info (basics) 2023-05-30 16:21:51 +02:00
danomatika
891fe2bafa tips: format consistency, correct indentation for sh cmd 2023-05-30 16:14:19 +02:00
katjav
5c2e137f7a Fix broken armv6l platform detection (issue #71) 2022-12-15 16:35:20 +01:00
IOhannes m zmölnig
1450e73c4c Bump version to v1.2 2022-03-21 11:36:53 +01:00
IOhannes m zmölnig
073854e915 Update CHANGES.txt 2022-03-21 11:36:31 +01:00
IOhannes m zmölnig
df6a82e4cd hrmpf: on macOS speed_t is "long", on linux it is "int"...
let's use "long" for now...
2022-03-21 11:31:25 +01:00
IOhannes m zmölnig
3eb008b6d8 functions need to return values 2022-03-21 11:26:41 +01:00
IOhannes m zmölnig
d06acc6753 document creation arguments 2022-03-21 11:24:51 +01:00
IOhannes m zmölnig
9e46ba1c45 windows errors are "long unsigned int" 2022-03-21 11:12:29 +01:00
IOhannes m zmölnig
4f891c5ec1 drop unused variable (and fix wrong use) 2022-03-21 11:07:35 +01:00
IOhannes m zmölnig
5f1f1ef3e1 Allow to specify the serial_device_prefix as the first arg to [comport]
this probably makes patches non-cross-platform.

Closes: https://git.iem.at/pd/comport/-/issues/1
2022-03-21 11:05:17 +01:00
IOhannes m zmölnig
e093e5c1f7 use MAXPDSTRING for size of serial_device_prefix 2022-03-21 10:57:58 +01:00
IOhannes m zmölnig
7cfa0d75c6 drop commented ifdefs 2022-03-21 10:53:01 +01:00
IOhannes m zmölnig
df041fd089 document "inputprocess" message 2022-03-21 10:40:34 +01:00
IOhannes m zmölnig
b0eea92472 bump copyright boilerplate 2022-03-21 10:36:19 +01:00
IOhannes m zmölnig
5c3d3adaf0 re-format the LGPL 2022-03-21 10:35:52 +01:00
IOhannes m zmölnig
10e9a84cea add more copyright holders 2022-03-21 10:35:40 +01:00
IOhannes m zmölnig
c1c26bc89d bump changes 2022-03-21 10:35:30 +01:00
IOhannes m zmölnig
620021f0f5 alignment 2022-03-21 10:27:19 +01:00
IOhannes m zmölnig
d0fafb8e55 allow the user to re-enable input processing
just in case somebody needs the old behaviour
2022-03-21 10:27:06 +01:00
IOhannes m zmölnig
a679b2d459 rename x->verbose to x->x_verbose
it's really a Pd-specific member (as opposed to comport-specific)
2022-03-21 10:17:27 +01:00
IOhannes m zmölnig
9a390dd34d document x->verbose 2022-03-21 10:15:56 +01:00
IOhannes m zmölnig
38ceccda20 set_hupcl() is always implemented, so n oneed to #ifdef its invocation 2022-03-21 10:15:47 +01:00
IOhannes m zmölnig
cb4ccec942 use (t_bool) for boolean values 2022-03-21 10:15:21 +01:00
IOhannes m zmölnig
c1f00275dd use (int) for x->rxerrors 2022-03-21 10:10:13 +01:00
IOhannes m zmölnig
7cea55b373 use (int) for parity_bits 2022-03-21 10:09:09 +01:00
IOhannes m zmölnig
178bb339bf rename variables
so we have raw and cooked values separately
2022-03-21 10:07:32 +01:00
IOhannes m zmölnig
25186d308c use (int) for data_bits 2022-03-21 09:58:03 +01:00
IOhannes m zmölnig
561172f3f6 use "int" for baudrate
rather than both float and t_float (and use pointercasets...)
2022-03-21 09:53:56 +01:00
IOhannes m zmölnig
fb54e0fac8 re-grouped members for better readability 2022-03-21 09:43:42 +01:00
IOhannes m zmölnig
7db31d1ae4 whitespace 2022-03-21 09:40:46 +01:00
IOhannes m zmölnig
36cff9839a drop unused members 2022-03-21 09:39:52 +01:00
IOhannes m zmölnig
4fcbc3dcb1 Merge remote-tracking branch 'ressi/input-fix' 2022-03-21 09:30:22 +01:00