Commit Graph

295 Commits

Author SHA1 Message Date
Ambroz Bizjak
b6aea68304 epicsSingletonMutex.patch from lp:1479316 2015-08-18 14:38:18 -04:00
Andrew Johnson
02a105e5ab Merged changes from 3.14 branch up to revno 12540 2015-03-02 11:43:20 -06:00
Andrew Johnson
4cf3613ace Applied missing-header.patch 2015-02-20 12:38:26 -06:00
Andrew Johnson
2aea693faf Merged Jeff's 3.15_libcom_from_cvs_trunk branch. 2014-08-25 16:27:18 -05:00
Andrew Johnson
502366fdc3 epicsMutex C++ API: New constructor and newEpicsMutex macro
The new constructor accepts source file & line number.
The macro passes these in.
2014-02-07 14:13:12 -06:00
Jeff Hill
4d54b91a3a o fixed compile errors in, and proper diagnostic from, casPVI.cc
o suprressed some compile time warnings in bucketLib.c
o cleaned up cxx templates README
o removed use of tsMinMax from libCom in favor of the standard library 
     (calls to  tsMinMax still exist in other components in base, but they are being removed)
o removed sharable library export of certain private member functions from class fdManager
o fixed aToIPAddr to correctly lookup all of the different IP addresses string types on all OS types
    independent of the OS interfae variations
o removed use of inet_aton from vxWorks implementation of hostToIPAddr
   o this function is for converting a host name to an ip address _only_
   o the aToIPAddr wrapper is supposed to do the dotted ip ascii string to ip address structure 
   conversion independent of OS spoecific interface variations, when it works correctly
o fixed some spelling issues in comments
o added additional optimizations for processors w/o floating point ALU to addNanoSec in epicsTime
o removed tabs and junk comments from win32 osdProcess.c
o moved PLL update in win32 osdTime.c from timer to a dedicated thread
o added missing epicsExportShared symbols define to osiNTPTime.c
o fixed server ctor should not modify arguments of its caller in blockingSockTest
o removed sunpro specific ifdef nolomger needed from epicsTimeTest.cpp
2013-11-07 10:26:03 -07:00
Andrew Johnson
6f9c2db8a8 libCom: Revert 12374 which breaks MSVC++ builds
Both the Microsoft 2008 and 2010 compilers fail with this change.
2012-11-30 13:32:25 -06:00
Andrew Johnson
6fd9fb3066 libCom: Removed epicsSingleton workaround
This undoes commit 11565, "workaround for archaic T202 g++ bug"
which doesn't actually seem to be necessary for T202 compilation.
It also replaces 'typename' with 'class', for another compiler.

Modification provided by Dirk Zimoch.
2012-11-16 16:14:13 -06:00
Andrew Johnson
20b3955cd7 More Windows build fixes. 2012-07-19 14:59:55 -05:00
Andrew Johnson
2a20d48ca4 HPUX: Remove all // X aCC comments
These were added to suppress warnings from the HPUX compiler.
2012-04-12 11:13:50 -05:00
Ralph Lange
bc4a7854ec libCom: Explicitly use namespace std for size_t declaration in epicsSingleton.h
This fixes a compile error that occurs in new gcc versions (since ~4.6.1)
2011-08-08 18:31:19 +02: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
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
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
Jeff Hill
fa24d119dd use verify instead of assert (in tests) 2009-08-24 17:07:03 +00:00
Andrew Johnson
547e9bcfea Use epicsStrHash() 2009-03-24 17:04:02 +00:00
Jeff Hill
edcb7b96f8 fixed removeAll does not set the nInUse count to zero 2009-03-04 22:00:55 +00:00
Jeff Hill
68f6b7d47c workaround for archaic T202 g++ bug 2009-02-23 21:40:52 +00:00
Jeff Hill
e1b8caa8d7 fixed comment 2009-02-10 22:58:43 +00:00
Andrew Johnson
4026d9f27c Nested classes have no special access priviledges to their outer class, but
only the vxWorks compiler seems to check this.  Added friend to fix.
An implicit constructor is only created if no user-defined ones exist.
2009-01-06 21:53:04 +00:00
Jeff Hill
e99e352e2c redesigned this facility for simplicity, clarity, and robustness 2008-11-19 17:20:15 +00:00
Jeff Hill
fd5b03405a disable copy ctor and operator for the epicsOnceImpl private class 2008-11-19 17:11:49 +00:00
Jeff Hill
3ec09adf20 added code to catch bugs where a guard is used when it is released 2007-01-11 22:04:44 +00:00
Jeff Hill
ca95134827 added missing include 2006-09-13 21:54:13 +00:00
Jeff Hill
99d1b3dd04 improved string hash table distribution 2006-03-15 19:02:15 +00:00
Jeff Hill
fab9e49710 removed #include 2004-10-08 15:03:04 +00:00
Marty Kraimer
63f139adc5 epicsExit and epicsStdioRedirect 2004-08-27 16:04:26 +00:00
Jeff Hill
cab998f40d renamed chronIntIdResTable::add to chronIntIdResTable::idAssignAdd to avoid
hiding resTable::add in the public base class
2004-04-28 22:15:06 +00:00
Jeff Hill
8799d3c6ba fixed template arg does not default with sunpro 2004-02-09 21:28:07 +00:00
Jeff Hill
2c68ac3a10 fixed sunpro warnings 2004-02-07 01:22:26 +00:00
Jeff Hill
1fa297d34f fixed sunpro warnings 2004-02-07 01:21:30 +00:00
Jeff Hill
452a040183 fixed sunpro warnings 2004-02-07 00:38:19 +00:00
Jeff Hill
9fb90cfcab supress sun pro warnings 2004-02-04 02:09:11 +00:00
Jeff Hill
4b50e4d060 fixed ms warnings 2004-01-27 00:35:40 +00:00
Ralph Lange
c140e69d40 Bugfix in tsDLList<T>::push 2004-01-09 09:38:05 +00:00
Jeff Hill
6691657c42 new list push method 2004-01-08 23:03:27 +00:00
Jeff Hill
35d07ffbda changed the name of cxxCompilerDependencies.h to compilerDependencies.h 2003-09-17 19:25:31 +00:00
Andrew Johnson
c606ecf428 Fixed problems when instantiating several iterator functions.
Shouldn't test code at least ensure that all compile properly?
2003-06-19 15:26:47 +00:00
Jeff Hill
234c515b05 removed exception specifications 2003-02-12 19:03:59 +00:00
Jeff Hill
421e4b71b1 added removeAll mf 2003-02-12 19:00:33 +00:00
Jeff Hill
eb85ae1326 added iterator typedef 2003-02-12 19:00:08 +00:00
Jeff Hill
3f3f6963a0 added mf to check for identical mutex 2003-02-12 18:58:50 +00:00
Jeff Hill
92d9d53387 cosmetic 2003-01-23 22:58:23 +00:00
Jeff Hill
ca661479f8 fixed double include 2003-01-23 22:53:31 +00:00
Jeff Hill
360204275e removed leftover junk 2003-01-07 16:01:11 +00:00
Jeff Hill
11ad86c68e fixed typo 2003-01-06 23:13:12 +00:00
Jeff Hill
b99f97e95e fixed sun pro warning 2002-12-19 23:37:55 +00:00
Jeff Hill
8fdf6c18dc workaround borland 5.5 bug 2002-11-02 00:32:44 +00:00
Jeff Hill
e772ce948c fixed gnu warnings 2002-11-01 18:13:51 +00:00
Jeff Hill
0dce06f4cf upgraded compiler specific macros 2002-10-30 17:19:26 +00:00