Commit Graph

12998 Commits

Author SHA1 Message Date
Michael Davidsaver
34800b071f fix arrTest
Don't use compiled in paths
include menuConvert as this is now required at runtime
2012-05-24 14:11:10 -04:00
Michael Davidsaver
20d60bef81 fix db plugin tests
Avoid installing xRecord.dbd.  This would otherwise be installed
by the DBDINC.

Also must split out recordtype definition from record instance
definition and run the registrar function between the two loads.
This is due to new sanity checks in the loading process
2012-05-24 14:11:09 -04:00
Michael Davidsaver
434f6346fa registerRecordDeviceDriver needs DBD search path 2012-05-24 14:11:09 -04:00
Michael Davidsaver
386a2f73a7 don't destroy locked mutex 2012-05-24 14:11:08 -04:00
Andrew Johnson
146520d035 dbStatic: Fix dbReportDeviceConfig() overflow.
Reported by Hinko Kocevar.
2012-05-21 15:43:03 -05:00
Kate Feng
ea8d19e727 RTEMS: Make nfsMount() globally visible. 2012-05-16 12:25:27 -05:00
Andrew Johnson
39ca40fc33 configure: Move GNU_DIR setting for linux-xscale_be
All site-specific values should be set in CONFIG_SITE files.
2012-05-16 11:57:17 -05:00
Andrew Johnson
b5e1b0117c configure: Added linux-microblaze target files 2012-05-16 11:56:14 -05:00
Andrew Johnson
c1cebc89bf rsrv: Add epicsShareFunc to casStatsFetch()
Fixes lp:999167
2012-05-14 11:16:33 -05:00
Andrew Johnson
385d9f007a configure: Tell Perl all I/O streams are UTF-8 encoded. 2012-05-07 15:15:26 -05:00
Andrew Johnson
ee327a6440 configure: Use $(PERL) variable to call perl. 2012-05-07 10:36:04 -05:00
Andrew Johnson
4982a6308b db: Don't call epicsPrintf() from callbackRequest()
The callbackRequest() routine can be called from an ISR,
so use epicsInterruptContextMessage() to print errors.
2012-05-04 17:34:48 -05:00
Andrew Johnson
243baddbf6 Add an Init stat to all thread control variables
This makes the uninitilized value not the Run state.
2012-05-04 13:38:59 -05:00
Andrew Johnson
5b228618e1 Merged epicsStdioRedirect.h into epicsStdio.h 2012-05-03 12:19:34 -05:00
Andrew Johnson
45348ad6ca configure: Replace COMMENT with NOP in ECHO
Using COMMENT the ECHO command drops the whole line under -s,
whereas using NOP (':') only drops up to the next ';' terminator.
2012-05-01 10:15:45 -05:00
Andrew Johnson
dde8c61ad8 registry: Cleanup
Delete spurious global symbols
Remove unnecessary casts
Fix (c) headers
Added missing #include guard
Remove unnecessary #includes
Prettified.
2012-04-30 17:40:43 -05:00
Michael Davidsaver
8b2c08f2f6 fix build 2012-04-27 13:25:27 -04:00
Michael Davidsaver
c1c7698a98 disable filter tests until fixed... 2012-04-27 13:25:27 -04:00
Michael Davidsaver
60692fd9d2 clean all 2012-04-27 13:25:27 -04:00
Michael Davidsaver
773c277d20 ugly hack to make unit test run 2012-04-27 13:25:26 -04:00
Michael Davidsaver
cb175516d6 fix build after reorg 2012-04-27 13:25:25 -04:00
Michael Davidsaver
ceabe74653 fix test build 2012-04-27 13:25:25 -04:00
Ralph Lange
948a3feba7 Fix in dbLink.h: Include all used headers 2012-04-27 13:25:19 -04:00
Ralph Lange
57fc84fef3 dbState: Avoid segfaults when called with NULL pointer 2012-04-27 13:25:18 -04:00
Michael Davidsaver
03a30f3b8f Add DbState soft support for bi/bo records. 2012-04-27 13:25:18 -04:00
Michael Davidsaver
83586b49d0 Add test code for sync plugin. 2012-04-27 13:25:17 -04:00
Michael Davidsaver
95881525e5 Add sync plugin that uses the db state 2012-04-27 13:25:16 -04:00
Ralph Lange
c4b54c6d4d Fix compiler warnings and minor issues. 2012-04-27 13:25:16 -04:00
Michael Davidsaver
4893d0ef8b Add dbState library that provides a means of synchronizing plugins to events. 2012-04-27 13:25:15 -04:00
Ralph Lange
77eba53222 Change arr plugin behaviour from exclusive to inclusive range end specifier 2012-04-27 13:25:14 -04:00
Michael Davidsaver
0d9d992717 Add [s:i:e] sub-array shorthand parsing and unit test 2012-04-27 13:25:14 -04:00
Ralph Lange
ef2814ec44 Fix bug in arr plugin (for incr <= 0), add tests for invalid and out-of-bound parameters 2012-04-27 13:25:13 -04:00
Michael Davidsaver
45a531b167 Add arr plugin for array subsets (+ testcode) 2012-04-27 13:25:07 -04:00
Ralph Lange
ef4b2e5892 Fix in dbExtractArray.c for DBF_STRING copies with wrap around 2012-04-27 13:25:03 -04:00
Ralph Lange
0e2a66e721 Fixes and additions in dbExtractArray.c
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* Add forced write of '\0' to destination to end strings correctly
* Add dbExtractArrayFromBuf() to make array copies from ref type field logs easier
2012-04-27 13:24:54 -04:00
Michael Davidsaver
0b32220e86 Added tests for ts and dbnd plugins, fix in dbnd.c: make local functions static 2012-04-27 13:22:04 -04:00
Ralph Lange
d2d91a545f Bunch of minor changes
* Fix decorations in chfPlugin.c/.h
* Fix missing include in dbAccessDefs.h
* Beautification in dbChannel.c
2012-04-27 13:22:02 -04:00
Michael Davidsaver
62ba76c71a Add dbExtractArray to support extracting same type arrays with offset and increment 2012-04-27 13:22:02 -04:00
Michael Davidsaver
0cfe224f47 Add deadband plugin (client defined monitor deadband) 2012-04-27 13:22:01 -04:00
Ralph Lange
b843a8990a Fix: don't put dropped event (NULL) on the event queue 2012-04-27 13:22:01 -04:00
Ralph Lange
444a200b61 Change how ...Show is generated, minor refactoring and fix in ts plugin 2012-04-27 13:22:00 -04:00
Ralph Lange
d2abc71527 Add function to dbChannel.c to create a db_field_log copy of array/string data 2012-04-27 13:22:00 -04:00
Michael Davidsaver
e67ef8a005 Add ts filter plugin to set timestamp to "now" 2012-04-27 13:21:59 -04:00
Ralph Lange
6e58dcfab6 Change interface to ...Show functions, minor refactoring
* ...Show functions take an indent argument (number of spaces to print
  in front of each line) instead of a char* intro to avoid allocation at each level,
  replacing '\t' with 8 spaces in top level code where necessary
* Refactor element_size -> field_size (as used in dbAddr), also in dbChannel
  functions
* Fix: wrong macro name in unused part of db_field_log.h
2012-04-27 13:21:59 -04:00
Ralph Lange
317065dadb Minor fixes in chfPluginTest.c 2012-04-27 13:21:58 -04:00
Ralph Lange
6923dc5fd2 Add ability for plugins to drop db_field_log updates (+tests) 2012-04-27 13:21:58 -04:00
Ralph Lange
47e2e228ab Extend and add lots of tests in chfPluginTest.c
* Add tests for callback registration (pre and post)
* Add tests for callback execution (pre and post)
* Add tests for report function and array destructor
* Add test for combinations of two plugins (that register pre eventq, post eventq or in
  both chains), checking the order of calls and db_field_log changes independently
* Make test messages more verbose and comprehensive
2012-04-27 13:21:57 -04:00
Ralph Lange
f8e9a7643a Added pvt pointer argument to parse_error in the plugin interface 2012-04-27 13:21:57 -04:00
Ralph Lange
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
2012-04-27 13:21:57 -04:00
Ralph Lange
0a6ca6011a Run post-event-queue filters for events 2012-04-27 13:21:56 -04:00