File: NEWS

package info (click to toggle)
liblxi 1.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 516 kB
  • sloc: ansic: 3,325; makefile: 5
file content (423 lines) | stat: -rw-r--r-- 10,762 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
=== liblxi v1.22 ===



Changes since liblxi v1.21:

 * Revert "Cleanup libtirpc dependency checking"

   This reverts commit e9ea6e7c1f1af1616abc31a75f0c209079086d0a.

   Reverting because it breaks discovery of some instruments.

Primoz Salic:

 * fix vx11 discovery and raw protocols in windows



Changes since liblxi v1.20:

 * Cleanup libtirpc dependency checking

    Sun RPC has finally migrated fully from glibc to libtirpc so we can now
    do a standard meson dependency check for libtirpc. If you are on an
    older platform you will have to apply this patch reverted.

 * Remove search_mdns binary added by accident

 * Fix use of obsolete gethostbyname()

   Use getaddrinfo() instead to resolve hostname.

Primoz Salic:

 * fix:  Only finds _lxi._tcp services on MacOS, not the others #84

 * Add Windows support

Jakub Wilk:

 * Fix typo

Peder Toftegaard Olsen:

 * Fixed tcp timeout



Changes since liblxi v1.19:

Rob Carruthers:

 * refactor(bonjour): Fix typo & Refine browse default domain

 * feat(bonjour): Add mdns support for macOS

    This code is designed to discover LXI (LAN eXtensions for Instrumentation) devices using the Bonjour service (dns_sd.h) discovery protocol. The flow of the implementation is as follows:

    1. bonjour_discover(lxi_info_t *info, int timeout_ms) is the entry point of the code. It takes an lxi_info_t struct to store the discovered information and a timeout in milliseconds. It calls the browse_lxi_services() function with these parameters. The lxi_info_t is setup with callbacks to initially to recieve the discovered instrument data. See test folder for examples.

    2. lxi_info_t struct is defined in lxi.h.
    browse_lxi_services(lxi_info_t *info, int timeout_ms) iterates through lxi_services (defined in lxi.h) and calls the Bonjour DNSServiceBrowse() function for each service. It then processes the results and sets a timeout to stop waiting for results after a specified duration. It provides the browse_callback() function as a callback.

    3. browse_callback() is called for each discovered service. It extracts relevant information about the service and then creates a browse_data_t struct to aggregate service data. It calls DNSServiceResolve() to resolve the service's hostname, and provides resolve_callback() as a callback.

    4. resolve_callback() is called once the service hostname is resolved. It calls the resolve_ip_address() function to convert the hostname into an IP address. It also extracts more information about the service and then calls the info->service() callback function with the discovered service's information. Finally, it frees the memory allocated for the browse_data_t struct.

    5. resolve_ip_address() takes a hostname and port, and converts them into an IP address using the getaddrinfo() function. The resulting IP address is stored in the provided buffer.

    Service types and labels are declared in the lxi_services array in  src/lxc.c



Changes since liblxi v1.18:

 * Silence cast of function type in autogenerated vxi11 code

 * Add test example demonstrating how to use RAW protocol

 Rob Carruthers:

 * Docs: Update README with Homebrew installation instructions

 * macOS: Build support

 * macOS: Add check for RPC headers

 * macOS: Remove libtirpc dependency during build process



Changes since liblxi v1.17:

Alexander von Gluck IV:

 * build: make avahi optional again after meson conversion

   * matches readme again
   * liblxi is still usable, but it definitely
     takes some of the fun out of it.

 * vxi11: Drop non-portable pthread timeout call; solves #30

   * Convert to manually constructing a timedjoin
     wrapper which should work outside of Linux
   * Tested functional



Changes since liblxi v1.16:

Perry Hung:

 * vxi11: do not fail on zero length messages

   Zero length messages are valid replies in VXI-11. Do not return an error
   and prematurely exit.

   Reads should be repeated until EOI or an error is encountered.

Holzapfel:

 * Fixed missing VXI11 connect-abort multithreading synchronization

 * Fixed LXI connect error memory leak



Changes since liblxi v1.15:

 * Fix handling of send errors for TCP/RAW connections



Changes since liblxi v1.14:

 * Fix meson libtirpc dependency

   Remove the hardcoded include patch to libtirpc and replace it with one
   dynamically resolved via pkg-config.

   The reason for implementing the meson dependency check this way is to
   avoid linking with libtirpc because it is broken with regards to its Sun
   RPC implementation so instead we link with the RPC implementation which
   still reside in glibc. However, glibc removed their RPC header files so
   we need the headers from libtirpc.

   Further investigation is required to find and fix the bug in the
   libtirpc RPC implementation so we can get back to normal. They changed
   something moving it out of glibc and they shouldn't have.



Changes since liblxi v1.13:

 * Add lxi_discover_if() function

   Works exactly like the lxi_discover() function but adds an additional
   parameter ifname that specifies which network interface to broadcast on
   in case of using the DISCOVER_VXI11 discovery type.

 * Bypass linking with libtirpc because of bug

   When linking with libtirpc some of the VXI11 connect calls starts
   failing for some instruments. More investigation is needed to find out
   exactly why. It may be some regression in the libtirpc Sun RPC
   implementation. The Sun RPC features have recently been moved out of
   glibc into libtirpc.

   When we do not link with libtirpc we fallback to using glibc's
   implementation of the RPC features which seem to work better.

   We will accept this hack for now.

 * Remove include directory

 * Reduce compiler optimization level

 * Introduce proper Avahi timeout handling for mDNS

 * Increase number of allowed concurrent sessions

 * Fix timeout for VXI11 connect

   The VXI11 API does not provide any way to specify a communications
   timeout when connecting. To fix that we move the VXI11 connect action
   into a separate thread that is killed if the timeout is reached before
   the thread exits.

   The old behavior was that the connect action would eventually time out
   for instruments on known subnets.  However, if you tried to connect to
   an instrument on an unknown subnet it would stall forever.

   This new implementation will respect the timeout for all cases.

 * Replace autotools with meson

zramudzuli:

 * Added timeout for RAW/TCP connections



Changes since liblxi v1.12:

 * Fix Sun RPC headers configure check

   The Sun RPC headers have been moved out of glibc into a separate
   library, libtirpc.

   Hence, check for glibc headers first and in case that fails search for
   headers in libtirpc via pkg-config.

 * Add const qualifier

   Because it is the right thing to do.

 * Update Travis

 * Use libtirpc for Sun RPC headers

 * Move test directory



Changes since liblxi v1.11:

 * Add send/receive sanity checks

 * Strip CR from ID response string

   Fixes corrupted output from 'lxi discover'.



Changes since liblxi v1.10:

 * Fix mDNS/DNS-SD discover feature



Changes since liblxi v1.9:

 * Update Travis

 * Cleanup

 * Add --disable-avahi configure option

   Makes avahi mandatory unless --disable-avahi is provided.



Changes since liblxi v1.8:

 * Update AUTHORS

 * Convert tabs to spaces

 * Make API usable in C++

   As suggested by Dima Kogan, lets wrap the API so that it is usable in
   C++.

 * Only export lxi API specific functions

   Hide visibility of internal functions so that only the lxi API specific
   ones are exported/visible to applications linking with liblxi.

   These changes are applied on behalf of Dima Kogan.

 * Add discover fallback to request ID via HTTP/XML

   If retrieving the instrument ID fails via VXI-11 during discovery then
   try to retrieve the ID via the /lxi/identification XML file hosted by
   some instruments via HTTP.

   Adds dependency on libxml2.

Dmitri Goutnik:

 * Make code clang friendly, fix warnings



Changes since liblxi v1.7:

 * Fix lxi_connect() so it does not apply lock

   Some instruments fail to lock for exclusive access when creating a
   VXI-11 connection. So, to play it safe, we will simply not try to lock
   when setting up the connection.



Changes since liblxi v1.6:

 * Update to new URL

 * Update README

 * Update AUTHORS

 * Use HTTPS in the configure script

Jakub Wilk:

 * Fix typos



Changes since liblxi v1.5:

 * Update README

 * Add authors section in README

 * Add README.md to prettify GitHub page



Changes since liblxi v1.4:

 * Add support for mDNS/DNS-SD discovery

   Add parameter to lxi_discover() so it is possible to select discovery
   using VXI-11 or mDNS/DNS-SD.

   If detected available, Avahi is used as the mDNS/DNS-SD backend
   implementation.

 * Print errors to stderr

 * Update README



Changes since liblxi v1.3:

 * Fix discover output strings

   Discovery of multiple LXI instruments revealed a bug in the id string
   handling which results in garbled output strings. Adding missing string
   termination fixes this.

 * Add timeout handling for raw/TCP

 * Update examples

 * Cleanup

 * Update README

 * Add support for configurable protocol backends

   Reworked the code to support configurable protocol backends. Currently
   supported protocols include VXI11 and raw TCP. In the future support for
   HiSlip can be added.



Changes since liblxi v1.2:

 * Fix building with multiple jobs (make -jN, N>1)

 * Update README



Changes since liblxi v1.1:

 * Added AUTHORS file

 * Update COPYING

 * Update README

 * Update connect test

 * Improve lxi_connect() with device name and timeout

 * Make timeout error message human readable

   Lets explain the most common error, that is timeout, in a human readable
   format.

 * Fix timeout handling

 * Use thread-safe version of VXI11 function calls

 * Autogenerate VXI11 RPC functions

   Automatically generate VXI11 RPC functions instead of using bundled or
   system provided VXI11 library. This allows us to generate thread-safe
   versions of the VXI11 RPC functions in the future.



Changes since liblxi v1.0:

 * Fixed instrument not responding

   Use the default LAN Device Name of "inst0". Some instruments do not
   respond if this device name is not used.

 * Remove unused rpcgen tool check

 * Cleanup rpc header check

 * Add support for use of system VXI library

   Added configure option '--with-vxi=[internal/system]' which allows the
   user to decide whether to use the internally bundled VXI library or the
   VXI library provided by the system.

   By default the internal VXI library is used.



liblxi v1.0:

 * First release (stable)