Commit Graph

16599 Commits

Author SHA1 Message Date
Michael Davidsaver 1a0ba81d0d dbConvert: optimize copy w/o convert
Use memcpy() where input and output memory representations
are the exactly the same (integer and floating point types).

Assumes 2s complement integer types and that signed and
unsigned types have the same representation.
2014-06-13 15:37:11 -04:00
Michael Davidsaver 0e28ff55c6 add include 2014-06-13 15:37:10 -04:00
Andrew Johnson 3cf2d9057f Allow appended .db files to omit record type
This .db file syntax is now legal, provided the
named record already exists:

  record("*", "named") {
    field(VAL, 10)
  }
2014-06-12 14:47:42 -05:00
Jeff Hill johill@lanl.gov e374ee4658 patched this code to force alignment of the if request structure, which appears to be required to avoid exceptions on RTEMS with cpu architectures that detect use of misaligned addresses 2014-06-10 22:37:21 -06:00
Jeff Hill johill@lanl.gov ba6a32fefb protect against situations where the server name isnt specified at all in bootp/dhcp 2014-06-10 16:18:26 -06:00
Jeff Hill johill@lanl.gov aff46bd19a allow the NFS mount path to be embedded in the bootp server name parameter, and therefore different from the NFS mount point 2014-06-05 08:19:09 -06:00
Jeff Hill johill@lanl.gov 39b068cf0a RTEMS support for Altera Nios2 arch 2014-06-05 08:09:33 -06:00
Ralph Lange 41bd895cd5 ioc: Fix more MSVC 12.0 warnings 2014-06-04 21:18:43 +02:00
Ralph Lange 32c2775940 ioc/dbStatic: fix bug introduced in revision 12486 2014-06-04 17:07:16 +02:00
Ralph Lange 5754dc136e src/ioc: fix numerous warnings appearing on MSVC 12.0 / Windows (64bit) 2014-06-04 15:56:51 +02:00
Ralph Lange f8b746287e ioc/db/test: make chfPluginTest more flexible wrt %e formatting of double 2014-06-04 11:55:40 +02:00
Ralph Lange e7416ce144 ioc/db: fix issue with compiler differences between MSVC and GNU (enum signedness) 2014-06-04 11:53:32 +02:00
Andrew Johnson 9e1ebf8d0f Clean up build warnings from Darwin (clang). 2014-05-30 12:36:50 -05:00
Andrew Johnson 42a3b4fbfd Add a ca: prefix to RSRV's identity string 2014-05-29 17:36:04 -05:00
Andrew Johnson 511b2e4f5c Document briefly. 2014-05-29 17:34:23 -05:00
Andrew Johnson dbe2a890ec db: Use dbServer API
Setting TPRO now prints user@hostname instead of the thread
name when a record is processed as a result of a caput.

Also added the dbsr command, which currently just calls casr but
will call all registered server report routines (e.g. pvaSrv).
2014-05-29 17:11:31 -05:00
Andrew Johnson fc8ad6b9ec rsrv: Register with dbServer API. 2014-05-29 17:10:26 -05:00
Andrew Johnson 8857d0bb4e Add dbServer files. 2014-05-29 17:09:08 -05:00
Andrew Johnson c980613bd8 db/dbChannel: Rename dbr_final_type -> final_dbr_type 2014-05-29 12:31:47 -05:00
Michael Davidsaver 80b64d6a30 spinlocks update
add epicsSpinMustCreate()

Fix spinlock on RTEMS and vxWorks
UP systems to disable task preemption.

Don't use posix spinlocks when
thread priorities are used.
2014-05-23 15:14:49 -04:00
Ralph Lange 271e1811e3 ioc/dbStatic: make offset in field description an unsigned short, add cast to code generator
fixes ~2600 compiler warnings (on windows-x64)
2014-05-22 16:18:02 +02:00
Andrew Johnson 7dd5e217f6 Merged Ralph's get-cpus branch. 2014-05-19 09:44:05 -05:00
Andrew Johnson ea1ebd0a7c Fix some HTML character escapes. 2014-05-19 09:26:24 -05:00
Ralph Lange 722d5eeba7 libCom/osi: use epicsThreadGetCPUs implementation from thread-pool branch (posix, WIN32) 2014-05-18 17:24:38 +02:00
Ralph Lange 286bfc5215 .bzrignore: add QtCreator project files 2014-05-18 14:28:39 +02:00
Andrew Johnson 6e01fd9c3d docs/cap5: Adjust link to CA Ref manual. 2014-04-30 12:07:30 -05:00
Andrew Johnson 2b7781c8d9 Support for Solaris 11 on x86 and SPARC.
Thanks to Bob Soliday for the necessary changes.
2014-04-25 16:51:28 -05:00
Andrew Johnson 9170d79ffe libCom/test: isinf() and isnan() want doubles
This apparently becomes important in a newer GCC version.
2014-04-25 14:08:25 -05:00
Janet Anderson 3019a5fb07 mkmf.pl needs -I prefix on include directories. 2014-04-14 15:09:59 -05:00
Janet Anderson 2efb1d0373 mkmf.pl needs -I prefix on include directories. 2014-04-14 15:00:37 -05:00
Andrew Johnson ca9ef80760 configure: Cancel GNUMake built-in compiler rules
Their rules don't have our _INC dependencies, and were
being used in the gdd build (with no -I paths).
2014-04-10 12:35:47 -05:00
Andrew Johnson 475296ad49 Modify inc dependencies
Using inc causes a rebuild every time; replace it with
the list of include files that the compiler might use.
Also adjust gdd build to avoid a circular dependency.
2014-04-09 16:54:26 -05:00
Andrew Johnson e2e40a4b9f configure: Add inc dependency to compile rules
The inc step must have been completed before we run
the C/C++ compilers to build any object files.
2014-04-07 12:38:03 -05:00
Andrew Johnson f24dafa1e0 libCom: Adjust the Posix epicsMutexOSD structure
Make pthread_mutex_t lock the first member of the
parent structure, so it's easy to convert between them.
2014-04-01 11:09:36 -05:00
Andrew Johnson 312fdee91d cap5: Fix fisibility of boot_Cap5
Old method doesn't work any more, not sure what changed.
2014-03-18 14:18:08 -05:00
Andrew Johnson a3b5ced30b CAref: Clean up HTML anchors
Only need to set name attribute on anchors, not id too.
Having both causes linklint warnings.
2014-03-14 15:43:29 -05:00
Andrew Johnson 4b18edc586 Merged changes from 3.14 branch.
Up to revno 12479.
2014-03-13 15:04:31 -05:00
Andrew Johnson e63f14bc95 configure: Fix for Ben's INC_osclass issue
Janet developed the fix, I documented it.
2014-03-12 16:42:18 -05:00
Andrew Johnson b1ece5d8d2 cap5: Added CA->version function
Documented.
2014-03-11 17:46:14 -05:00
Andrew Johnson 894771e789 docs: Update Release Notes. 2014-03-11 17:14:30 -05:00
Andrew Johnson f5b9db9583 libCom: Fix epicsString.h comparison functions
The string comparison functions epicsStrCaseCmp() and
epicsStrnCaseCmp() were returning incorrect results
when the strings did not match.

These functions now match their BSD equivalents, and
have working tests to confirm their operation.
2014-03-11 17:12:41 -05:00
Andrew Johnson 7b9b2b19d3 Document changes. 2014-03-06 16:02:20 -06:00
Andrew Johnson 56cc1a638a rsrv: Use casIntfAddrList in cast_server
Remove re-parsing of EPICS_CA[S]_SERVER_PORT params.
Bind the UDP socket to the first address in the list.
2014-03-06 16:00:02 -06:00
Andrew Johnson b6defc6a7f rsrv: Use EPICS_CAS_INTF_ADDR_LIST in req_server
Parse EPICS_CAS_INTF_ADDR_LIST into new ELLLIST casIntfAddrList.
Display warning if contains more than one entry.
Bind the TCP socket to the first address in this list.
2014-03-06 15:55:13 -06:00
Janet Anderson 4e1a5eefff Set BUILD_CLASS to HOST. 2014-03-04 09:21:35 -06:00
Janet Anderson 0ba29b2eff Set BUILD_CLASS to HOST. 2014-03-04 09:12:25 -06:00
Janet Anderson 5ad46f557c Added static cross builds for win32-x86 and windows-x64. 2014-03-03 16:34:06 -06:00
Janet Anderson d90f4d7976 Added static build config files for win32-x86 and windows-x64. 2014-03-03 13:31:14 -06:00
Andrew Johnson 5bdd9ddca6 Windows: Fix static builds on MinGW
Xiaoqiang Wang proposed some fixes that allow static builds on
the MinGW targets to succeed. Some additional changes made to
blockingSockTest.cpp also clean that up.
2014-02-25 15:56:13 -06:00
Janet Anderson 7eba398792 If T_A not defined, define DEP and look for template files in the . dir. 2014-02-24 13:01:23 -06:00