Freddie Akeroyd
65b34874bd
Check for NULL in osdThreadGetTimer
2021-09-11 22:17:09 +01:00
Freddie Akeroyd
939d84f31a
Refactor to use common epicsThreadGetParamWIN32() function
2021-09-11 22:10:10 +01:00
Michael Davidsaver
857527280b
ci: install versioned g++
2021-05-19 08:49:24 -07:00
Freddie Akeroyd
d1ddbad053
Fix issue with very large timeout passed to epicsEventWaitWithTimeout()
...
A very large timeout was getting converted to a 0 wait and causing
some unit tests to fail in strange and random ways. Not trapping
large timeouts was an oversight when converting to waitable timers
on WIN32
2021-05-19 08:46:11 -07:00
Andrew Johnson
b55c019f10
Merged Freddie's waitable_timers branch into 3.15
2021-05-05 17:55:00 -05:00
Andrew Johnson
31584e52be
Merged Ralph's win-Z7 branch into 3.15
2021-05-05 17:49:11 -05:00
Andrew Johnson
2eb5af3167
Return dbPutSpecial(paddr, 1) status from dbPut()
...
The status from RSET::special(paddr, 1) has not been returned
to the put caller since 3.14, due to a bad up-merge.
2021-05-04 11:18:54 -05:00
Ralph Lange
fa069b0845
Revert config fixes for parallel builds with MSVC
...
This reverts commit 1454f42a27 .
This reverts commit 4aee25e8e2 .
2021-03-29 17:49:02 +02:00
Ralph Lange
c78db512f2
Windows: use -Z7 instead of -Zi to generate debug symbols
...
"C7 compatible" or "old-style" debug information is kept local
in the translation unit (.obj file) and does not create issues
with parallel builds
2021-03-26 17:30:36 +01:00
Freddie Akeroyd
29e9843056
Add release notes entry for waitable timers
2021-03-12 19:24:09 +00:00
Andrew Johnson
0c4ab7b24a
Merge my 'make-inc-fix' branch into 3.15
2021-03-11 20:45:37 -06:00
Andrew Johnson
d831c2b384
Merge 'FreddieAkeroyd-use_epicsStrtod' into 3.15
2021-03-11 20:18:57 -06:00
Andrew Johnson
34d06b6e36
Merge branch 'gabrielfedel-fix_msi' into 3.15
2021-03-11 20:12:07 -06:00
Andrew Johnson
b2f7f4e173
Minor fixes in configure/RULES files
2021-03-11 18:13:44 -06:00
Freddie Akeroyd
3c7fb7990f
Use <epicsStdlib.h>
2021-03-11 15:08:00 +00:00
Andrew Johnson
c359b49aed
Fix the 3.15 'make inc' build target
...
Now generates and installs dbd, header and html files.
No compilation involved/required.
2021-03-10 22:05:39 -06:00
Freddie Akeroyd
c140a0a804
Add additional cleanup and error handling
2021-03-10 21:58:35 +00:00
Gabriel Fedel
0bc2a3e999
Fix variable type and cast on msi.cpp
...
This way the attribution of i to cmdind is a valid value.
2021-03-10 14:37:14 +01:00
Freddie Akeroyd
8e7702c8a5
Use epicsStrtod, remove some warnings
2021-03-10 11:29:45 +00:00
Freddie Akeroyd
5f94ab6d9f
Tidy up
2021-03-10 10:47:24 +00:00
Gabriel Fedel
6ac10d43b1
Fix type comparision on msi.cpp
...
This change fix the comparision of different signedess (int and long
unsigned int).
2021-03-10 09:45:01 +01:00
Freddie Akeroyd
c6af4a245d
Use waitable timers
2021-03-10 01:17:47 +00:00
Andrew Johnson
9184983cf0
Merge branch Ticket80_use_os_strtod_if_above_vs_2015
2021-03-09 18:27:18 -06:00
Jack Harper
30172226f9
whoops, MSVC 1900 not 1800
2021-03-09 13:13:16 +00:00
Jack Harper
2ea0994507
tests passing
2021-03-09 13:04:57 +00:00
Ralph Lange
dd9f38d711
Build: Fix spurious failures with SNIPPETS in Windows
...
Under some combinations of shell / Make version / Windows version,
Windows make was giving up searching for a target "../"
2021-01-26 17:14:00 +01:00
Andrew Johnson
d997690aa5
Build: Fix tests for the 'make -s' flag
...
'make -j2' or more adds an 's' to MFLAGS in "--jobserver-fds".
This is the correct way to do the check.
2020-12-30 13:08:48 -06:00
Andrew Johnson
a043599e18
GHA: Save .tap files as an artifact
2020-12-28 18:04:06 -06:00
Andrew Johnson
02be10069e
Make the CI commit-ignore patterns match
2020-12-28 17:13:45 -06:00
Andrew Johnson
ff4317d05a
Make .appveyor.yml into a branch-specific filename
...
The name should match the Appveyor account that builds the branch;
From a suggestion by Michael.
2020-12-28 15:59:12 -06:00
Andrew Johnson
63919e199c
Fix menuPriority filename in RecordReference index
2020-12-28 13:40:35 -06:00
Andrew Johnson
518bab9675
Clean up .appveyor.yml
...
Whitelist the tagged versions too
Exclude MinGW debug builds since (unlike the VS builds) they use
the same system libraries as the non-debug builds.
We aren't building vs2008 any more anyway.
2020-12-23 11:56:32 -06:00
Andrew Johnson
a8036d7f34
posix/osdThread: Use "Once" versions properly
...
Functions used before epicsThreadInit() returns must call the
checkStatusOnceQuit() version to avoid recursion from errlogInit()
2020-12-23 11:53:05 -06:00
Andrew Johnson
436ce4526b
Appveyor: Update CMP from mingw => gcc
2020-12-21 15:49:52 -06:00
Andrew Johnson
9ba0081a82
Change the Appveyor steps to call the new cue.py script
2020-12-18 15:35:18 -06:00
Andrew Johnson
c60056d4d6
Reconfigure and tidy up the testFailure stuff
...
Many variables renamed.
Generated files are now named .log for .gitignore
Actions are now defined in CONFIG_BASE variables.
2020-12-18 15:32:46 -06:00
Andrew Johnson
68c056f2f8
Fix makeTestfile.pl to report test failures properly
...
If a test program reports test failures, the Perl wrapper
must return the same error status. On Windows where we use
system() instead of exec() that needs some value fiddling.
2020-12-18 10:20:31 -06:00
Andrew Johnson
48a6d2f781
GH-Actions: Undo my workflow name change
...
Changing it also modified the names of all previous builds.
2020-12-17 20:59:56 -06:00
Andrew Johnson
79bb9e000b
GH-Actions: Tweaks
2020-12-17 20:39:08 -06:00
Andrew Johnson
c404eb3f83
GH-Actions: Add short names for each job
2020-12-17 20:38:06 -06:00
Andrew Johnson
7beb32e209
Extend testFailures.pl to list the failed test programs
...
Creates a file .taps-failed in each O.<arch> directory,
appending the name of each tapfile that has failures to it.
The testFailures script now reads the .taps-failed files
from each directory listed in .tests-failed and nicely
displays the failing tests listed in each.
2020-12-17 18:34:24 -06:00
Andrew Johnson
a365de2419
Fix return value of epicsUnitTest::testDone()
...
Wasn't properly returning a non-zero exit status
when HARNESS_ACTIVE was set.
2020-12-17 18:21:07 -06:00
Ralph Lange
2035fc641a
PCAS: fix scope of tsDLList when used in other classes
...
Use ::tsDLList to avoid resolving to privately inherited
name (which was breaking builds on newer clang compilers)
2020-12-07 10:07:23 +01:00
Ralph Lange
d25c9a74ad
ci: travis-ci -> github actions
2020-12-06 15:12:28 +01:00
Andrew Johnson
7632c355ee
dbpr: Catch buffer overflow from long link strings.
...
Fixes lp: #1776141
Currently this just truncates when we hit the end of the buffer,
a better solution is warranted.
2020-11-16 14:25:51 -05:00
Andrew Johnson
4730e14cc7
Document the PINI, POST and PRIO menus
2020-11-13 18:17:47 -06:00
Ralph Lange
c969f05f51
AppVeyor: explicitly set default runner image (VS2015)
2020-11-03 12:04:57 +01:00
Ralph Lange
3947b9a061
Appveyor: whitelist 3.15 branch
...
- DO NOT UPMERGE TO 7.0
The AppVeyor epics-base-3 project is supposed to pull the .appveyor.yml from this branch to only build commits from 3.15.
2020-11-03 09:41:45 +01:00
Martin Konrad
228ad79b7a
Simplify addToList() function
2020-10-13 18:38:17 -04:00
Martin Konrad
bbc0a56d2b
Fix wrong PHAS order
...
Records with lower PHAS value than any previously loaded records
were inserted at the end of the list rather than at the beginning.
This fixes lp: #1899697 . Also fixes a proto-bug in that the second
argument to the previously used ellAdd() call assumed that
offsetof(scan_element, node)==0.
Thanks to Bruno Martins for providing this patch.
2020-10-13 18:34:39 -04:00