- 25 Feb, 2022 1 commit
-
-
Tony Farrell authored
Mostly changes around chase ASI-233, a buffer space issues picked up for Hector. Mostly just logging changes. Also fixed various spelling issues and removed tab characters ditscmd.c - When not building for VxWorks, allow for much larger default reply buffer to avoid stuffing around with buffer sizes in many cases. ditsinteract.c - DitsActionWait() and called routines. Add logging both INTERNAL and USER1 levels. (ASI-233) ditscmd.c - Various places, use USER1 logging level as well as current logging level (ASI-233) ditsuface.c - DitsUfaceTransIdWait - Add logging both INTERNAL and USER1 levels. (ASI-233) dmakefile - DRAMA version to 3_124.
-
- 14 Oct, 2021 3 commits
-
-
Tony Farrell authored
Added ARGTEST action to ticker.c. Added .gitignore file. See merge request !2
-
Tony Farrell authored
-
Tony Farrell authored
The ARGTEST action is a simple action that just lists is argument. This is being used by the DramaDul/waittestbulk test program and is otherwise usefull in testing. Added the .gitignore file, ignoring the contents of the build. This may need modifications on other machines since some files are machine specific.
-
- 07 Oct, 2021 1 commit
-
-
Tony Farrell authored
-
- 05 Oct, 2021 1 commit
-
-
Tony Farrell authored
Includes all the changes from ACMM version 3.119, 3.120, 3.121, 3.122. Since the GIT and ACMM versions had changed indepdently. ACMM ChangeLog: Wed May 05 14:18:14 2021 <tjf@hector.10.80.10.9> DramaDits version: 3.122 ditsmonitor.c/DitsMonitorMsg(), The reply buffer for the forward monitor path set to 700x4 rather then 700x2. This was needed for the Hector Detector to DRT case, where the tasks are running on different machines. The Hector Detector task is using bulk data to transfer its data, which requires more space for messages then 700x2, but the monitor path is the one that is set up. ACMM ChangeLog: Fri Apr 30 14:51:34 2021 <tjf@aaolxp.aao.gov.au> DramaDits version: 3.121 Fix some comment spelling mistakes Catch bad status on entry to Dits___MsgImpSys(). ACMM ChangeLog: Wed Mar 17 13:57:26 2021 <mnb@aaolx133mbir.10.80.10.9> DramaDits version: 3.120 Added last resort target %/libdits.a with recipe make libdits.a to the GNUMakefile.am. This allows the intended command: make libdits.a; if the makefile is called with a full pathname eg: make /Users/mnb/2dfdr/2dfdr_build/drama/DramaDits/libdits.a which happens on the current catalina envirnments. There should b eno other impact. ACMM ChangeLog: Wed Feb 17 09:09:52 2021 <tjf@aatliq.10.80.10.9> DramaDits version: 3.119 Remove DCONSTV qualifications from macro return values in DitsFix.h and DitsInteraction.h, they do nothing and gcc 9.3, C++ mode, is now complaining about them. ACMM Version 3.122.
-
- 18 Jun, 2021 1 commit
-
-
Mario Gonzalez authored
Mac build See merge request !1
-
- 17 Jun, 2021 1 commit
-
-
Mario Gonzalez authored
-
- 16 Jun, 2021 1 commit
-
-
Mario Gonzalez authored
-
- 04 Sep, 2020 1 commit
-
-
afarrell authored
The GNUmakefile.am was trying to use .mid files in distribution, which has now been removed.
-
- 21 Aug, 2020 30 commits
-
-
Second attempt at GNUMakefile.am
-
Ensure GNUMakefile.am includes new ditsputact.c routine. Fix commenting problems in ditsputact.c Fix compiler warning in ticker.c Change approach to disabling warning about fall through in case in duitoken.c, use the comment approach rather then the pragma.
-
Changes needed to ctest.c to ensure the output is always consistent regardles sof machine performance.
-
Fix issue in sdptest.C and don't output result which changes on different machines.
-
Some of the testing diff commands don't work reliably due to things comming out in different orders. Disabled for the moment. Also the sdptest does not give the same results on 32 bit and 64 bit machines which is not being handled correctly yet.
-
LISTACTALL was listing overriden versions of actions, resolve that. Add DitsIsRegTestMode() function, which returns true if the DRAMA_REG_TEST envrionment variable is defined. This allows us to change the output of programs when running in regression test mode (e.g. don't output as much floating point precision). dmakefile reworked to capture output of tests and run tests during normal build.
-
Add DitsPutAction() routine - simplier way of adding one action. Add support for action descriptions - via DitsPutActions(), new DitsPutAction() routine, DitsGetActDescr() routine and output by control messages. Add DitsPutActDescr() and DitsPutThisActDescr() routines.
-
Fix various warnings from gcc 8.3. Included some string length issues but only in test program, but most were about switch statement fallthroughs (a comment is now required to this is delibrate, to turn off the warning) and "const" returns which were unecessarry. If ditscmd is built with the DUL_BUILD macro defined, then it invokes DulLoadFacs(). The idea is that whilst ditscmd is by default still part of this sub-system (which can't use DUL, that is later in the build), DUL can rebuild it and re-release it with this call enabled. That will allow ditscmd to translate a much larger set of error codes.
-
ditscmd add q option. ditsgetinfo doesnt output bad status if just looking for a task which isnt there. In ditsgetinfo, If checking for a task running, don't output the unknown task error if it is not just return bad status. This makes creating scripts which check for tasks running easier Add -q option to ditscmd, a parameter get which does not use MsgOut for output, instead just stdout, for use in scripts. ditscmd monitor operations now set the Send-Current flag, so the current values are seen on startup.
-
All warning now removed when compiled using GCC 5.4 on Linux, mainly through the use of DGCC_DIAG_OFF, but also sometimes through appropiate casts.
-
tasks command now outputs pid and node name.
-
Add LISTACTALL and LISTACTACTIVE control messages, simple versions of DUMPACTALL and DUMPACTACTIVE which just provide the action names. DitsStop() ErsOut() calls now include the task name supplied to the call, which allows us to work out which task is outputting the message.
-
Improve logging around task disconnect and ensuring we return MACHLOST code rather then TASKDISK when we have lost the machine Improve logging around disconnection and machine lost messages as part of trying to work out an AAO CCD system failure where unexplained disconnections occur. Basic approach is that if we have a logging routine, we log even if the relevant DITS_LOG_BASIC etc. flags are not set. These are rare events so won't dramatically increase the log size. Note - now return DITS__MACHLOST status in cases where we used to return DITS__TASKDISC (which was a mistake).
-
If DitsLoad() is invoked with a program name greater then IMP_MAX_PROG_NAME in length, then it fails immediately, as some times the IMP failure can be hard to diagnoise. Appropiate error reporting suggesting the environment variable approach is output.
-
Fix issue in MsgOut() which was causing crashes if logging was enabled and we are in UFACE mode without an ufaceMsgOut routine enabled. Picked up on taipan machine, maybe due to changes in compiler or libraries.
-
Better error reporting if we fail to fetch parameter names setting up a monitor - the previous reporting made it hard to work out what had failed, particular for a forward monitor.
-
Remove use of now depreciated ERS_M_NOFMT flag, using either ERS___M___NOFMT or calling ErsRepNF(), depending on the case. ditscmd - Explicitly handle trigger messages so that we can support -v for trigger messages and improve the error output. Import error handling for success argument handling failures.
-
dits_link.* modified to link libmess.a rather then mess.o
-
I have modified IMP to work through NAT, so modify the message in the previous version to indicate what to do. The requirement is that the system inside of the NAT environment must set the IMP_LOCALNODE_FORCE to the external IP address of the NAT router.
-
IMP__WRONG_MACHINE messages can be triggered by an attempt to run DRAMA through a NAT (Network Address Translation) system. This doesn't work as IMP presumes the IP address of the machine on the other side of the NAT system is reachable.
-
Fix some MacOSX Mavericks warnings. Add macro to allow user to work out if DRAMA_REA_DRAMA2 available Add DITS_HAVE_REA_DRAMA2 macro to DitsTypes.h, so that code comiling against both old and new DRAMA code and work out what to do with DITS_REA_DRAMA2. Fix various compilaing warnings using DGCC_DIAG_OFF()/DGCC_DIAG_ON() macros.
-
DitsStop() writes its log message using Dits___Log() rather then DitsLog(), to keep it consistent with other internal logging. ditsexhand_ux.c logs under different conditions, consistent with mods to DitsStop().
-
Add routines DitsTransIdLock() and DitsTransIdUnlocked() to ensure a transaction is not reused too soon (by DRAMA2). Bulk data triggers were not getting through, and have not been for years - due to a check in Dits___MsgTap() against the message tag - which has a confusing usage for Bulk data trigger messages. Set the value to 0 when Dits___MsgTap() is invoked for bulk data messages, which disables the check.
-
Modify DitsMsgWait() logging - don't need to output time. Add DitsUfaceMsgOut(), and use it to implement Dits___UfaceInfoMess(). This allows DitsUfaceMsgOut() to be invoked from the DRAMA2 Orphan handler.
-
sdptest.C, ditsloadcmd.c, ditsutil.c, dui.c, tocker.c, btocker.c tock_sdstest.c, ticker.c, ctest.c, ctest3.c. Fix warnings detected by MacOsX mavericks, mainly uninitialised variables, but some others as well.
-
Add DitsSignalDrama2(), such that we have a special signal for use by DRAMA 2 thread events. DitsGetEntReason() will return the new code of DITS_REA_DRAMA2. This will allow us to distinguish user triggered signals from thread completion signals. Add DitsSignalExit(), a special signal which causes the mainloop to exit.
-
DitsStop will now log a shutdown message with status.
-
Modification to VxWorks version of last chage, don't stop option processing after task name seen, people have been using that.
-
ditscmd.c Changes. Add -- option to VxWorks version (already exists in unix (via getopt()). Document -- option in help. Add -w option. Fix some compilation warnings picked up by later GCC.
-
Removed call to nanosleep under VxWorks in tea.c.
-