Commit Graph

103 Commits

Author SHA1 Message Date
Sebastian Marsching
f18bdb7b56 Fix build on macOS.
This changeset consists of two changes:

The declaration of the pyInitLastState global variable is moved from
pydevsup.h to setup.c. This is needed to avoid an "duplicate symbols"
error when linking. As this variable is only used in setup.c anyway,
there is no downside in moving its declaration there.

The log example application is now only built on Linux. As it depends
on the inotify API, which is Linux-specific, it cannot be reasonably
built on other platforms. As it is not needed for the pyDevSup to work,
it is OK to built it without this application.
2019-02-25 08:37:52 -08:00
Daron Chabot
0d7e92ef80 MNT: py2/3 compatible dict methods 2019-02-24 07:29:06 -08:00
Philipp
62b4a046bc VAL asignment for waveforms 2018-10-31 22:13:27 +01:00
Philipp
54fabd3a9d Handle string waveforms 2018-10-31 21:23:33 +01:00
Philipp Niedermayer
4269c69c23 Use datetime.timestamp()
Includes nanoseconds and is timezone independend
Available from python 3.3 (older versions will still use timetuple)
2018-04-17 10:50:51 -07:00
Philipp Niedermayer
2e51578ec8 Fixes #6 2018-04-17 10:50:51 -07:00
Michael Davidsaver
d6685b49b9 use inspect 2018-01-24 15:48:56 -08:00
Michael Davidsaver
ab867e3bee add SKIP_DB_INSTALL for package build 2017-05-12 15:29:57 -04:00
Michael Davidsaver
ca85bb1cb8 shared lib deps 2016-04-22 12:08:03 -04:00
Michael Davidsaver
9be6038aab simpler unicode to char* 2015-08-04 10:10:16 -04:00
Michael Davidsaver
9d735107a4 add AsyncOffload
device support helper for async. (eg. aSub)
2015-06-16 10:50:34 -04:00
Michael Davidsaver
0f2768fe2c update Field doc 2015-06-12 16:44:58 -04:00
Michael Davidsaver
7ac846141f Field get/put of arrays
Adjust Field.getval() and Field.putval() to work
with numpy.ndarray.

putval() handle assign scalar to array

Field.getarray() for DBF_STRING returns 2d array
returns N by MAX_STRING_SIZE
2015-06-12 16:44:56 -04:00
Michael Davidsaver
3b227ec7fd add aSub support 2015-06-12 16:44:56 -04:00
Michael Davidsaver
e7510fa315 update ptable dset 2015-03-24 14:31:52 -04:00
Michael Davidsaver
b93aee9496 disect: track types by name string 2015-01-04 12:37:43 -05:00
Michael Davidsaver
89b411990a Reference counter debugging 2015-01-04 12:09:10 -05:00
Michael Davidsaver
7d527103bf dbrec: improper use of DBENTRY
use of DBENTRY after free and leak of same
2015-01-04 09:20:44 -05:00
Michael Davidsaver
46bc99a57d devsup.db: Record.setTime() accept float 2014-12-09 11:12:50 -05:00
Michael Davidsaver
79cf57d748 devsup.db: add initHook() dectorator 2014-12-09 11:12:24 -05:00
Michael Davidsaver
32b8145fc7 fix ref count mistake 2014-06-20 14:51:52 -04:00
Michael Davidsaver
6a1d485230 fix 2.6 build 2014-06-16 18:25:18 -04:00
Michael Davidsaver
ee2cb409c2 update documentation 2014-06-16 17:55:15 -04:00
Michael Davidsaver
9b5b9687b4 softIocPy auto-load dbd
Re-use softMain.c from Base
2014-06-16 16:35:01 -04:00
Michael Davidsaver
56ea9de16e prepend PWD to PYTHONPATH 2014-06-16 16:22:24 -04:00
Michael Davidsaver
d10ecd5d69 optionally include autosave, caPutLog, and/or devIocStats 2014-06-16 15:02:15 -04:00
Michael Davidsaver
34bff5c001 allow access to some global IOC calls
Might be useful at some point...
2014-03-08 11:09:15 -05:00
Michael Davidsaver
2c19a4b392 remove unused 2014-03-08 09:24:52 -05:00
Michael Davidsaver
c947b185ce __enter__ return self
enables 'with X as Y' syntax
2014-02-26 09:51:42 -05:00
Michael Davidsaver
2f33de5c39 fix some error handling 2014-02-26 09:49:38 -05:00
Michael Davidsaver
5378b540b6 initial version of parameter table 2014-02-08 12:39:13 -05:00
Michael Davidsaver
7c05753052 allow support module name in info() tag
Gives the option of reducing the input link
length and preventing runtime switching of
module.
2014-02-08 12:39:13 -05:00
Michael Davidsaver
7bdcef3767 add Field.getarraylen() 2014-02-08 12:33:59 -05:00
Michael Davidsaver
c9872d911b oops 2013-12-14 14:14:10 -05:00
Michael Davidsaver
b994904204 remove unused 2013-12-14 13:59:45 -05:00
Michael Davidsaver
de28a136af general get/set of array field length 2013-12-14 12:33:08 -05:00
Michael Davidsaver
8a575f183e py3 compat 2013-12-10 22:31:36 -05:00
Michael Davidsaver
17436ceffb add python version suffix to softIocPY 2013-12-10 21:57:15 -05:00
Michael Davidsaver
c2e2949ce4 compatibility 2013-12-10 20:45:53 -05:00
Michael Davidsaver
fb4d7a0c6f install python config
Usable by 3rd party modules.
Fix python3 stuff
2013-12-10 20:22:57 -05:00
Michael Davidsaver
1ab43405c4 thread safe processing reason
Use TLS to ensure that concurrent scanners
don't see our reason.
2013-12-10 18:29:01 -05:00
Michael Davidsaver
907db555b4 module import helper 2013-12-10 18:29:01 -05:00
Michael Davidsaver
6a9aa2e29d context manager to lock record 2013-12-10 16:26:42 -05:00
Michael Davidsaver
3464a6d1f2 IOScanListThread return queued status 2013-12-10 16:07:24 -05:00
Michael Davidsaver
46f997b9a9 handle array buffer replacement 2013-12-10 12:44:13 -05:00
Michael Davidsaver
cb69b38ae1 populate default interpreter path 2013-12-09 00:33:28 -05:00
Michael Davidsaver
01331ed3f5 update Makefile 2013-12-09 00:33:28 -05:00
Michael Davidsaver
6a19f971bb release GIL on error 2013-12-08 13:00:20 -05:00
Michael Davidsaver
c88ebd5bee silence some warnings 2013-12-08 12:31:35 -05:00
Michael Davidsaver
45c93831de handle NULL arguments to iocsh calls 2013-07-16 14:43:11 -04:00