e6ae903f2c
notes on db_field_log usage
Michael Davidsaver
2012-06-29 17:02:22 -04:00
aa17f317f8
define more of probe field log
Michael Davidsaver
2012-06-29 17:02:20 -04:00
fb61234431
Change the epicsParse APIs to return a units pointer.
Andrew Johnson
2012-06-29 14:41:35 -05:00
d6648d4473
libCom/osi: Add some copyrights for ITER
Ralph Lange
2012-06-29 18:12:07 +02:00
8c323b2197
libCom/osi: Add epicsThreadMap (calls user function for each thread)
Ralph Lange
2012-06-29 17:54:38 +02:00
bde52418b9
Various fixes for vxWorks
Andrew Johnson
2012-06-29 10:09:56 -05:00
1f5376b30b
libCom/osi: Add RTEMS and vxWorks implementation for epicsThreadHooks
Ralph Lange
2012-06-29 14:49:24 +02:00
7e9f048433
Add decorations to epicsThreadHooks.c
Ralph Lange
2012-06-29 11:22:48 +02:00
803777329c
Cleanup of epicsThread hooks - move declarations to epicsThread.h, use epicsThreadId type - use static elllist initializer for static lists
Ralph Lange
2012-06-29 11:15:47 +02:00
2fd6004827
forgot to remove TODO
Michael Davidsaver
2012-06-28 13:57:24 -04:00
4986c184c7
cleanup for dbRegisterFilter()
Michael Davidsaver
2012-06-28 13:44:33 -04:00
222ea314b0
Add thread hooks to epicsThread that are called when a thread starts or exits - add Linux implementation that + sets the system command name to the EPICS thread name + retrieves the Linux LWP ID and prints it instead of the posix thread ID in show commands
Ralph Lange
2012-06-28 18:12:26 +02:00
683093222a
integer type should be epicsInt32
Michael Davidsaver
2012-06-28 10:55:49 -04:00
61b285a5e3
booleans are stored as char not int
Michael Davidsaver
2012-06-28 10:55:48 -04:00
4a393a428d
fix examples in chfPlugin.h
Michael Davidsaver
2012-06-28 10:55:47 -04:00
8eedb09395
chfPluginTest: more verbose error messages
Michael Davidsaver
2012-06-28 10:55:47 -04:00
4a6216534c
rtems test harness setup to create temp files
Michael Davidsaver
2012-06-28 10:55:46 -04:00
39ccbeeb11
Make db unit tests self contained
Michael Davidsaver
2012-06-28 10:55:46 -04:00
026307c06d
db cleanup
Michael Davidsaver
2012-06-28 10:55:44 -04:00
4eb31d7edc
Fix dbScan bug, add scan period units and checking.
Andrew Johnson
2012-06-27 16:43:15 -05:00
05f07d9ec8
tools/DBD: Improve error reporting
Andrew Johnson
2012-06-27 11:58:23 -05:00
6595ff9518
Clean up some compiler warnings from gcc 4.6
Andrew Johnson
2012-06-26 00:19:10 -05:00
0dc67498ed
libCom: Mark epicsStrtod() as extern "C"
Andrew Johnson
2012-06-25 10:39:47 -05:00
44a70cca5a
merged server-side-plugins branch
Andrew Johnson
2012-06-22 18:16:26 -05:00
ddc675adc1
merged record-updates branch
Andrew Johnson
2012-06-22 17:58:12 -05:00
42ebafd6ae
merged msi-join branch
Andrew Johnson
2012-06-22 17:53:33 -05:00
fb6dfe6210
merged remove-hpux-artifacts branch
Andrew Johnson
2012-06-22 17:32:10 -05:00
269fb01c63
libCom: Add routines for parsing strings into epicsTypes
Andrew Johnson
2012-06-22 14:06:52 -05:00
7cae5ebd7b
Fixes for build issues found on Darwin.
Andrew Johnson
2012-06-21 17:58:07 -05:00
c79532e4ce
configure: Remove HDEPENDS option.
Andrew Johnson
2012-06-21 17:21:40 -05:00
e1e8f56d27
Moved filter plugins, fixed portability issues.
Andrew Johnson
2012-06-21 15:27:32 -05:00
93bc78d2ed
configure: Don't override CROSS_COMPILER_TARGET_ARCHS on Cygwin
Andrew Johnson
2012-06-21 12:09:04 -05:00
84a8bacc58
Re-merged the dontcant branch.
Andrew Johnson
2012-06-19 14:28:26 -05:00
32f556637d
libCom/osi: Fixed all epicsThreadSleep() implementations
Andrew Johnson
2012-06-18 14:52:03 -05:00
bd53941ac4
Cleanup of mbbi, mbbo record code.
Andrew Johnson
2012-06-18 12:13:14 -05:00
c708bb1bac
epicsTypes: Added epicsInt64 and epicsUInt64
Andrew Johnson
2012-06-08 16:28:31 -05:00
24e2452bd4
libCom/test: epicsAtomic tests
Andrew Johnson
2012-06-07 13:38:11 -05:00
958b40f74c
libCom: Silence errlog when running tests
Andrew Johnson
2012-06-05 15:53:32 -05:00
e458e8fe2d
Don't try to build dbltExpand on Win32.
Andrew Johnson
2012-06-01 14:33:55 -05:00
37a9efa290
Added test for msi -o option.
Andrew Johnson
2012-06-01 14:16:13 -05:00
efec22eea5
Add automated tests for msi.
Andrew Johnson
2012-06-01 14:03:53 -05:00
d5f050a9a2
Support ';'-separated path lists on Windows
Andrew Johnson
2012-05-31 16:39:05 -05:00
386a2f73a7
don't destroy locked mutex
Michael Davidsaver
2012-05-24 14:11:08 -04:00
8b2c08f2f6
fix build
Michael Davidsaver
2012-04-27 13:25:27 -04:00
c1c7698a98
disable filter tests until fixed...
Michael Davidsaver
2012-04-27 13:25:27 -04:00
60692fd9d2
clean all
Michael Davidsaver
2012-04-27 13:25:27 -04:00
773c277d20
ugly hack to make unit test run
Michael Davidsaver
2012-04-27 13:25:26 -04:00
cb175516d6
fix build after reorg
Michael Davidsaver
2012-04-27 13:25:25 -04:00
ceabe74653
fix test build
Michael Davidsaver
2012-04-27 13:25:25 -04:00
948a3feba7
Fix in dbLink.h: Include all used headers
Ralph Lange
2012-04-27 13:25:19 -04:00
57fc84fef3
dbState: Avoid segfaults when called with NULL pointer
Ralph Lange
2012-04-27 13:25:18 -04:00
03a30f3b8f
Add DbState soft support for bi/bo records.
Michael Davidsaver
2012-04-27 13:25:18 -04:00
83586b49d0
Add test code for sync plugin.
Michael Davidsaver
2012-04-27 13:25:17 -04:00
95881525e5
Add sync plugin that uses the db state
Michael Davidsaver
2012-04-27 13:25:16 -04:00
c4b54c6d4d
Fix compiler warnings and minor issues.
Ralph Lange
2012-04-27 13:25:16 -04:00
4893d0ef8b
Add dbState library that provides a means of synchronizing plugins to events.
Michael Davidsaver
2012-04-27 13:25:15 -04:00
77eba53222
Change arr plugin behaviour from exclusive to inclusive range end specifier
Ralph Lange
2012-04-27 13:25:14 -04:00
0d9d992717
Add [s:i:e] sub-array shorthand parsing and unit test
Michael Davidsaver
2012-04-27 13:25:14 -04:00
ef2814ec44
Fix bug in arr plugin (for incr <= 0), add tests for invalid and out-of-bound parameters
Ralph Lange
2012-04-27 13:25:13 -04:00
45a531b167
Add arr plugin for array subsets (+ testcode)
Michael Davidsaver
2012-04-27 13:25:07 -04:00
ef4b2e5892
Fix in dbExtractArray.c for DBF_STRING copies with wrap around
Ralph Lange
2012-04-27 13:25:03 -04:00
0e2a66e721
Fixes and additions in dbExtractArray.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
Ralph Lange
2012-04-27 13:24:54 -04:00
0b32220e86
Added tests for ts and dbnd plugins, fix in dbnd.c: make local functions static
Michael Davidsaver
2012-04-27 13:22:04 -04:00
d2d91a545f
Bunch of minor changes
Ralph Lange
2012-04-27 13:22:02 -04:00
62ba76c71a
Add dbExtractArray to support extracting same type arrays with offset and increment
Michael Davidsaver
2012-04-27 13:22:02 -04:00
0cfe224f47
Add deadband plugin (client defined monitor deadband)
Michael Davidsaver
2012-04-27 13:22:01 -04:00
b843a8990a
Fix: don't put dropped event (NULL) on the event queue
Ralph Lange
2012-04-27 13:22:01 -04:00
444a200b61
Change how ...Show is generated, minor refactoring and fix in ts plugin
Ralph Lange
2012-04-27 13:22:00 -04:00
d2abc71527
Add function to dbChannel.c to create a db_field_log copy of array/string data
Ralph Lange
2012-04-27 13:22:00 -04:00
e67ef8a005
Add ts filter plugin to set timestamp to "now"
Michael Davidsaver
2012-04-27 13:21:59 -04:00
6e58dcfab6
Change interface to ...Show functions, minor refactoring
Ralph Lange
2012-04-27 13:21:59 -04:00
317065dadb
Minor fixes in chfPluginTest.c
Ralph Lange
2012-04-27 13:21:58 -04:00
6923dc5fd2
Add ability for plugins to drop db_field_log updates (+tests)
Ralph Lange
2012-04-27 13:21:58 -04:00
47e2e228ab
Extend and add lots of tests in chfPluginTest.c
Ralph Lange
2012-04-27 13:21:57 -04:00
f8e9a7643a
Added pvt pointer argument to parse_error in the plugin interface
Ralph Lange
2012-04-27 13:21:57 -04:00
926246a495
=?UTF-8?q?Update=20copyright=20notices,=20refactor=20in=20dbEvent.c:=20make=20LOCK/UNLOCK=20macros=20require=20=C2=A8;=C2=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
Ralph Lange
2012-04-27 13:21:57 -04:00
0a6ca6011a
Run post-event-queue filters for events
Ralph Lange
2012-04-27 13:21:56 -04:00
f806551fe3
Add context qualifier to db_field_log, support plugins for CA read operations
Michael Davidsaver
2012-04-27 13:21:56 -04:00
ec7dfb1890
Change mechanism to detect data type/size changes by plugins
Ralph Lange
2012-04-27 13:21:55 -04:00
c41fcef260
Restructured pre- and post-event queue chains, type/size change detection
Ralph Lange
2012-04-27 13:21:55 -04:00
b99975cf71
Allow filter plugin to change the type of data and the array size
Ralph Lange
2012-04-27 13:21:54 -04:00
b09a9758b0
Changed db_field_log types to add support for plugin-created array copies
Ralph Lange
2012-04-27 13:21:54 -04:00
5ea973151f
Make reference (array/string) updates use a reference type db_field_log.
Ralph Lange
2012-04-27 13:21:54 -04:00
4dd42383ef
Add filter/plugin insertion into the high-priority filter list (pre event queue).
Ralph Lange
2012-04-27 13:21:53 -04:00
dd03d19cf2
dbEvent.c: use a free list for the field logs and keep a pointer in the event queue
Ralph Lange
2012-04-27 13:21:53 -04:00
d92665c5a3
Refactoring: enforce consistent use of names in dbEvent.c - NO EFFECTIVE CODE CHANGES
Ralph Lange
2012-04-27 13:21:52 -04:00
9f5f5246aa
Added required mask per plugin to shorten check loop. Trivial test change. [src/db/chfPlugin.c src/db/test/chfPluginTest.c]
Ralph Lange
2012-04-27 13:21:52 -04:00
52c6eaa848
Refactor: get rid of ...Ctx (as Ctx is often used for user handles) [src/db/chfPlugin.c]
Ralph Lange
2012-04-27 13:21:52 -04:00
de134ea72d
Added chfPlugin, a simple interface for channel filter plugins. - chfPlugin.h contains the simple jump table and doxygen documentation - chfPlugin.c is a wrapper library around the yajl callbacks that parses any client-supplied configuration into the user's structure - test/chfPluginTest.c tests the library and the data conversion
Michael Davidsaver
2012-04-27 13:21:51 -04:00
d22b719e32
Changed the structure for channel filters and channel filter plugins. - Made chFilterPlugin public (moved from dbChannel.c to dbChannel.h) - Made the interface jump table chFilterIf part of the chFilterPlugin (i.e. once per plugin) instead of chFilter (once per instance) - Added a pointer from chFilter (instance) to chFilterPlugin (plugin) - Added a private user pointer in chFilterPlugin - Changed dbFindFilter() to return a chFilterPlugin* (instead of the jump table) - Changed dbRegisterFilter() to accept a user private pointer as 3rd arg
Ralph Lange
2012-04-27 13:21:50 -04:00