Till Straumann
4352a1df59
- replaced TABs by four blanks
2014-09-03 09:39:15 -07:00
Till Straumann
f399b354e6
- replaced TABs by four blanks
2014-09-03 08:13:15 -07:00
Keenan Lang
6d4e284ab1
Added note to fixme comment to state that a function is relying on its current setup.
2014-09-02 17:21:42 -05:00
Keenan Lang
85936ff34c
Darwin's osdEnv.c was updated while I was working on this, changed my updated version to match.
2014-09-02 16:55:32 -05:00
Keenan Lang
ee197893e7
removing some extra whitespace to cleanup the diff
2014-09-02 16:44:47 -05:00
Keenan Lang
64a98452e3
epicsEnvSet clears macros before setting environment variable to ensure intuitive use of the function in nested iocsh calls. While adding this functionality, fixed a latent bug in macPutValue where if you tried to NULL a macro with the same name as an environment variable, you would go into an infinite loop.
2014-09-02 16:35:32 -05:00
Ralph Lange
4081935904
std/filters: fix bug in Makefile (showed up on Windows, not on Linux)
2014-08-29 16:33:47 -07:00
Ralph Lange
f88cc071fc
configure, ioc/db: remove clutter left by rebase, add rule for pm to html generation (include pm in ..)
2014-08-29 16:33:11 -07:00
Michael Davidsaver
7f7e63fee1
dbScan.c: clarify ioeventCallback
2014-08-29 15:43:16 -07:00
Till Straumann
16bef44e5d
- print header message
2014-08-29 15:03:56 -07:00
Till Straumann
f2626442b6
- removed message; if there is no support remain silent
2014-08-29 15:03:04 -07:00
Till Straumann
32c6888e1b
- removed message about a stack trace going to be printed
2014-08-29 15:02:20 -07:00
Till Straumann
0d323db997
- removed obsolete rule (used during development)
2014-08-29 15:00:54 -07:00
Andrew Johnson
8604d4643a
Merged Murali's memlock_all branch.
2014-08-29 10:58:55 -07:00
Michael Davidsaver
75321140ef
update example template
2014-08-29 10:58:18 -07:00
Michael Davidsaver
e24d4637c9
genVersionHeader: use date+time as the default version number
2014-08-29 09:56:32 -07:00
Ralph Lange
1bb4293967
src/tools: Set right margin to 0 in style sheet used for html docs created from pod
2014-08-28 15:42:46 -07:00
Ralph Lange
eb91f6701c
src/std/filters: Complete documentation for standard filters
2014-08-28 15:41:40 -07:00
Till Straumann
079357c242
- let default (no-op) version of stack trace print informative message
...
that stack traces are not supported.
2014-08-28 15:10:12 -07:00
Andrew Johnson
267ed50dc7
Allow unknown field attributes in record.dbd files
...
They will be noisy, but are retained in regenerated output and
won't stop the build from proceeding.
2014-08-28 14:12:28 -07:00
Ralph Lange
51c7dea070
ioc/db: make sure each priority gets at least one thread.
2014-08-28 12:30:07 -07:00
Kukhee Kim and Michael Davidsaver
e5b354708e
Implement LIFO behavior in compress record
2014-08-28 12:11:51 -07:00
Till Straumann
768c2c02e7
- paranoia test; errlogFlush; fixed debug messages
...
1) Added a paranoia test to make sure an ill-formatted
ELF string table is not overrun if there is no NULL
char found.
2) Added errlogFlush() before and after stack dump (suggestion
by Michael Davidsaver, thanks).
3) Fixed (out of sync) debug messages.
2014-08-28 11:43:46 -07:00
Till Straumann
47408ed14c
- indentation
2014-08-28 11:43:18 -07:00
Ralph Lange
648bf6a808
std/filters: add tagged configuration options to dbnd and sync plugins
2014-08-28 11:24:48 -07:00
Ralph Lange
17da152e22
ioc/db/test: add test for tagged plugin configuration
2014-08-28 11:24:09 -07:00
Ralph Lange
bc1cd15852
ioc/db: add optional "tagged" plugin configuration (sets integer tag and any value in one step)
2014-08-28 11:23:22 -07:00
Till Straumann
5a06c118c8
- added unit test for epicsStackTrace
2014-08-28 10:50:03 -07:00
Till Straumann
ccb5be72dd
- consistent naming: 'StackTrace' everywhere...
2014-08-28 10:49:22 -07:00
Till Straumann
8b2b03482f
- consistent naming: 'StackTrace' everywhere.
2014-08-28 10:47:59 -07:00
Michael Davidsaver
bc9255ba1c
add version header to example template
2014-08-28 10:38:24 -07:00
Andrew Johnson
7629cf818a
Add epicsScanLLong and epicsScanULLong macros and tests.
2014-08-27 23:29:19 -07:00
Andrew Johnson
b0cdaddebc
Added 64bit and long long epicsParse* functions
2014-08-27 22:21:30 -07:00
Andrew Johnson
9471488796
Add strtoll() and strtoull() for VxWorks
...
These are not yet provided even in VxWorks 6.9.
2014-08-27 22:11:08 -07:00
Michael Davidsaver
3f462bd032
check errors
2014-08-27 17:24:44 -07:00
Till Straumann
4459ca0ad8
- merged stacktrace onto current 3.15 tip (Thanks Andrew for his help)
2014-08-27 14:34:05 -07:00
Keenan Lang
9d0be21cc1
MAC_HANDLE's in iocshBody weren't being created with environment variables.
2014-08-27 13:31:16 -05:00
Keenan Lang
b2c2d9b7d6
Tests changed to accomodate macDefExpand's different args
2014-08-27 13:17:15 -05:00
Ralph Lange
6a018dce35
tools: Add support for Darcs to genVersionHeader.pl
2014-08-27 11:06:57 -07:00
Ralph Lange
55cf45364c
tools: Make genVersionHeader.pl log more detailed and streamlined with other EPICS build output
2014-08-27 11:03:54 -07:00
Keenan Lang
4497e8d5f4
Updated macLibREADME
2014-08-27 11:41:27 -05:00
Keenan Lang
2d3db2036b
Updated iocshBody to keep track of macro context to allow scoping of macro variables from iocshRun/Load
2014-08-27 11:33:14 -05:00
Murali Shankar
1b7c161f7f
On POSIX systems, an IOC application's ability to meet timing deadlines is often
...
dependent on its ability to lock part or all of the process's virtual
address space into RAM, preventing that memory from being paged to the swap
area. This patch will attempt to lock the process's virtual address space into
RAM if the process has the ability to run threads with different priorities. If
unsuccessful, it prints an message to stderr.
In Linux, one can grant a process the ability to run threads with different
priorities by using a command like ulimit -r unlimited. To use the FIFO
scheduler, use a command like so - chrt -f 1 softIoc -d test.db
In Linux, one can grant a process the ability to lock memory by using a command
like ulimit -l unlimited. Alternatively, these limits can be configured on a per
user/per group basis by using /etc/security/limits.conf or its equivalent.
In Linux, a child process created via fork inherits its parent's resource
limits. Thus, it is probably a good idea to start the caRepeater before
starting the IOC.
2014-08-26 17:29:27 -07:00
Ralph Lange
f40c25723d
libCom/osi: Fix for MinGW32 builds on Windows
2014-08-26 17:14:35 -07:00
Andrew Johnson
0d33e8a872
epicsStdio.c allow stderr from inside epicsThreadInit()
...
Circular initialization problem that Murali discovered when you
try to fprintf(stderr) from the posix/osdThread.c once() routine.
This change lets the stderr stream through in that case.
2014-08-26 16:40:02 -07:00
Andrew Johnson
83d22ce164
libCom: Darwin has setenv(), use it.
2014-08-26 14:51:18 -07:00
Ralph Lange
08bf6a1081
ioc/db: fix bug in callback thread initialization
2014-08-26 11:58:42 -07:00
Ralph Lange
862abba4cb
ioc/db: fix bug in callback.c
2014-08-26 10:58:59 -07:00
Ralph Lange
bd0c759af3
ioc/db: change call back queue wakeup algorithm (only wake when threads are sleeping and enough work in the queue)
2014-08-26 10:36:32 -07:00
Ralph Lange
15415b5590
Merge from parallel-cbthreads-2: return value for callbackRequest, add tests
2014-08-25 14:40:37 -07:00