Andrew Johnson
dbaa045afc
Merged compiler-specific include files branch.
2011-09-01 11:42:37 -05:00
Andrew Johnson
c5212ea23c
libCom: epicsVersion.h changes
...
Make version numbers easier to compare.
2011-08-30 17:50:53 -05:00
Jeff Hill
be1c21fc51
o changed the build system so that we can implement functionality which is compiler specific in a separate file for each compiler. This will avoid accumulating MxN ifdef's where M is the number of OS and N is the number of comilers (worst case). This will make it easier to find code that is compiler specific centralizing all of it under libCom/osi/compiler. That should make it mush easier to port EPICS to run on a new compiler.
...
o refactored compilerDependencies.h into code that is compiler specific (one libCom/osi/compiler/xxx/compilerDependent.h for each comiler) and code that isnt libCom/osi/compilerDependencies.h (this is a new location and is no longer in libCom/misc).
2011-08-17 13:57:46 -06:00
Michael Davidsaver
f7fc564556
Fold antelope/flex and asHost into libCom
...
Build lexer and parser from libCom/Makefile.
Since libCom now includes asLib.c and asLib_lex.c we must build
antelope and flex without linking them to Com. This works because
they only need epicsTempFile anyway. However make doesn't like a
subdirectory with the same name as a target object, so the antelope
source directory is now called yacc. The two main.c files were also
renamed to avoid other build problems.
Merge asHost into Com and remove mentions in CONFIG_BASE
Lots of noise since SRCS must be renamed to Com_SRCS
2011-02-25 15:39:44 -06:00
Andrew Johnson
588ea50bfb
Split libCom/Makefile into individual subdirectories.
...
The new Makefile fragments in the subdirectories are incomplete and will
not work individually. Build rules are placed in a separate RULES file.
This approach keeps the instructions for building each file local and
easier to find than in a large Makefile in the parent directory.
2011-02-25 00:49:03 -06:00
Michael Davidsaver
4910c76925
move alarm.h to libCom/misc
2010-12-17 14:05:59 -05:00
Andrew Johnson
2fb7df8548
libCom: __attribute__((deprecated)) not in gcc 2.x
...
Only apply this attribute for gcc 3 and later.
2011-06-20 13:52:32 -05:00
Andrew Johnson
9a831f9dc5
libCom: Simplify libCom/Makefile by splitting into parts
...
Each SRC_DIR gets its own Makefile fragment, and where it needs
private build rules a RULES files.
If this pattern gets used elsewhere we could automate the include
lines (search $(SRC_DIRS) for Makefiles and RULES files?).
2010-12-10 15:23:42 -06:00
Andrew Johnson
6f8c946d76
libCom: Recognize -pre and -rc in version snapshot.
2010-10-08 15:17:55 -05:00
Andrew Johnson
fbda9f3280
RCS keyword updates for Bazaar
...
Replaced $Id$ and $Header$ keywords with $Revision-Id$
Deleted $Log$ keywords and any log messages
2010-10-05 14:27:37 -05:00
Andrew Johnson
5d17059cb1
libCom: Changes to epicsVersion.h generation
...
Use DEV instead of CVS in names.
Lower-case the -rc<n> status strings.
Rename CVS_DATE to COMMIT_DATE.
No Bazaar equivalent to the CVS tag $Name$ exists.
Modernize and "use strict" in the Perl code.
2010-10-05 13:33:35 -05:00
Andrew Johnson
534ca2c86e
Make ellFree() a 1-argument macro, calls ellFree2() with free as freeFunc.
2009-08-28 18:34:38 +00:00
Andrew Johnson
4868904839
Added CONTAINER macro, from Micheal Davidsaver (BNL).
2009-08-04 16:31:06 +00:00
Andrew Johnson
4e0ab97038
(M. Davidsaver): static keyword is part of C89,
...
remove all uses and internal definitions of LOCAL macro
2009-07-09 16:37:24 +00:00
Andrew Johnson
d7d0531394
offsetof is required by C89 (M. Davidsaver)
2009-07-09 16:19:57 +00:00
Andrew Johnson
d6fcbe14ab
Cleaned up dbDefs.h and errMdef.h
...
Added various #include lines needed in other sources.
2009-07-09 15:27:43 +00:00
Andrew Johnson
a66a192ed5
Expand READONLY macro, deprecate.
2009-06-05 19:56:33 +00:00
Andrew Johnson
f0652aa1b6
allocations MustSucceed
2009-04-23 22:19:46 +00:00
Andrew Johnson
31d149d8d9
Fixed 64 bit compiler warnings from Tom Palaia/MacOS.
2009-04-23 18:49:40 +00:00
Andrew Johnson
d545a8f04f
Added test code, fixed bug found in epicsStrnEscapedFromRawSize().
2009-04-10 19:58:34 +00:00
Andrew Johnson
f3d07ad12f
ellLib changes: ANSIfication patch; moved test code out of ellLib.c into
...
its own unit test program in libCom/test; changed ellFree() to take a
function pointer for the free() routine, so it can be used on Windows;
modified epicsExit and dbBkpt to use it and pass in the free routine.
2009-04-09 16:51:05 +00:00
Andrew Johnson
ca269744a6
Flush result output, allows Test::Harness to display progress.
2009-04-07 21:28:58 +00:00
Ralph Lange
7fccc59fe9
ANSIfication of stuff (mostly missing argument types in declarations)
2009-04-03 17:46:26 +00:00
Andrew Johnson
7228190dde
Fix memory leak.
2009-04-03 01:57:11 +00:00
Ralph Lange
433e400c4d
Fix in calculating the needed buffer length for escaped strings.
2009-04-02 13:05:42 +00:00
Ralph Lange
73470d5f4c
Added new functions to escape non-printable characters. (epicsString)
2009-04-02 02:13:04 +00:00
Andrew Johnson
7eeb70a8d9
Added epicsStrHash() and epicsMemHash(), after analyzing several hash
...
functions found online and the two already in Base (which both perform
a memory lookup per character and are not as good as this one).
2009-03-19 17:44:22 +00:00
Jeff Hill
c5f15a3e17
fixed bug introduced after R3.14.9, but before R3.14.10-RC1 and R3.14.10-RC2
2008-10-21 20:26:48 +00:00
Jeff Hill
dff447028f
improved fix for mantis 316
2008-09-27 01:37:01 +00:00
Jeff Hill
1ba1909bdb
improved fix for mantis 316
2008-09-27 01:18:39 +00:00
Jeff Hill
32616ba5fa
imprved fix for mantis 316
2008-09-26 22:12:15 +00:00
Andrew Johnson
37f4457c03
Added EPICS_DEPRECATED.
2008-09-26 17:24:32 +00:00
Andrew Johnson
3a671f712f
Missing epicsExportSharedSymbols
2008-09-15 18:49:31 +00:00
Andrew Johnson
0bddd7dc8c
Added Unit Test Harness to summarize results on vxWorks/RTEMS.
...
Added taskwdTest to tests run.
2008-09-03 16:48:03 +00:00
Janet B. Anderson
ca1c83bf3a
Added shared library support for cygwin and mingw builds.
2008-08-06 16:52:52 +00:00
Janet B. Anderson
519b33e4fb
Changes for shared library build using MinGW compiler on win32.
2008-07-29 21:11:56 +00:00
Andrew Johnson
f0811601ea
Fixed warnings on MinGW.
2008-07-29 20:47:11 +00:00
Andrew Johnson
ff4f3f2070
Fixed warning on Solaris.
2008-07-28 18:32:32 +00:00
W. Eric Norum
02b87df99c
The ipToAsciiProxy thread calls upon vendor libraries which may use significant amounts of stack. Account for this by providing the thread with an epicsThreadStackBig stack.
2008-07-21 17:40:44 +00:00
Andrew Johnson
3be3203377
Convert Inf and NaN values properly.
2008-06-12 22:44:16 +00:00
Andrew Johnson
9d7fb60785
Added mote about deprecating epicsShareAPI.
2008-04-15 20:30:22 +00:00
Andrew Johnson
e8d52af7bc
Can't make epicsInt8 a 'signed char', it breaks too much stuff.
...
This is a problem - on some archs char is signed, on others not.
2008-04-01 15:54:01 +00:00
Andrew Johnson
f21aed109c
An epicsInt8 is signed, but a bare 'char' isn't necessarily.
2008-03-31 19:46:46 +00:00
Andrew Johnson
54ce8fbdbe
Fixed Mantis #290 .
2007-11-13 23:27:35 +00:00
Andrew Johnson
52ab7f6d6b
A char with the top bit set doesn't cast properly when its signed.
2007-09-11 19:11:55 +00:00
Jeff Hill
fe2b0e599d
fix dll exports
2006-12-22 21:56:46 +00:00
Jeff Hill
2c9414a881
installed epics thread exit capabilities
2006-12-07 17:00:20 +00:00
Jeff Hill
f16d241662
installed epics thread exit capabilities
2006-12-07 00:49:19 +00:00
Jeff Hill
94dfec0999
fixed compiler warning
2006-12-05 19:56:28 +00:00
Jeff Hill
5b6a358fab
fixed gnu build issue
2006-11-29 01:07:57 +00:00