Commit graph

332 commits

Author SHA1 Message Date
IOhannes m zmölnig
b0ef994801 Drop a few #ifdefs 2024-10-09 13:07:02 +02:00
Antoine Rousseau
bed162fa41 update help patch: document [lock( and localize $0-comctl 2024-10-09 12:10:20 +02:00
Antoine Rousseau
f01764a67e on Linux and Mac, allow to lock the device with flock(), if it's already locked elsewhere then close it 2024-10-09 12:07:48 +02:00
Antoine Rousseau
e85a17be38 USB filter for Windows 2024-10-08 14:23:39 +02:00
Antoine Rousseau
87b574280d update help patch 2024-10-08 13:24:50 +02:00
Antoine Rousseau
14915d317c allow to filter only USB devices when querying ports or devices, for mac and linux 2024-10-08 13:24:34 +02:00
Antoine Rousseau
8b170f3d35 refactor comport_ports() and comport_devices() to common comport_enum() 2024-10-07 18:33:25 +02:00
IOhannes m zmölnig
328a3ec553 Merge remote-tracking branch 'ant1r/helppatch_rewrite' 2024-09-30 08:40:25 +02:00
Antoine Rousseau
5178cfcb0d mention the necessity to set DTR for some USB devices in the help patch 2024-09-27 18:29:01 +02:00
Antoine Rousseau
fab6f421b6 rewrite comport-help.pd, and update it with latest changes (baudrates and dont-open-negative-port-number) 2024-09-27 18:10:51 +02:00
Antoine Rousseau
6c697cafeb move things related to bird project from comport-help.pd to bird-help.pd 2024-09-27 18:09:17 +02:00
Antoine Rousseau
28f47d7dfc remove erroneous comment 2024-09-27 15:54:09 +02:00
Antoine Rousseau
e3a41b4a0c fix verbose printing of baud rate 2024-09-27 15:51:12 +02:00
Antoine Rousseau
6b6a9403de make sure to disable verbose for the initial 'test' comport 2024-09-27 15:35:33 +02:00
Antoine Rousseau
7da80496dd remove unnecessary defines 2024-09-27 15:26:35 +02:00
IOhannes m zmölnig
aae4d09a12 use 'else' clauses for discussing various OSs 2024-09-26 17:04:57 +02:00
IOhannes m zmölnig
321e36aef3 different printout when setting stobbits for windows and the rest 2024-09-26 17:04:29 +02:00
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