Commit Graph

17637 Commits

Author SHA1 Message Date
Jerzy Jamroz
6683d81eb9 fix: strlen instead of strnlen. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
d87ad35d37 feat: atInit presents its commands in the green colour. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
a9b66218c6 refactor: const adjustment. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
4cf7077ee2 fix: Copyright update. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
71e86e51bd fix: error C2059: syntax error at the atInitDef structure. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
43003ea18a fix: (CWE-126) CodeQL removal. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
61deabd787 fix: CMP=vs2012 (error C2143) variables to the top of a function. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
3ece668f6b refactor: strncpy to memcpy; malloc with the identifier. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
d7a02342e5 fix: CodeQL check failure.
Possibly wrong buffer size in string copy (Critical)
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
ecd76e5b5b fix: Portability update. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
9b92a98d06 fix: ELLLIST initialization with ELLLIST_INIT. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
16fd65639a refactor: initHookRegister moved to atInitRegister; strlcpy -> strncpy
portability.
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
f3e24ea8e3 fix: mallocMustSucceed makes this check unnecessary. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
dd09670b35 refactor: initHookRegister wihout the failure check. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
04c7cdd33a fix: Removal of unnecessary item->cmd NULL check. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
3a822ccb0c refactor: EPICS license adjustment. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
45b2be0171 refactor: Extra blank space after #include-s. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
1468319f31 refactor: Format change
* 4 space indentation
* epicsStdoutPrintf to printf
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
82994d600f perf: Extra safety with strlen(cmd). 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
8752372af1 build: atInit module moved to libcom. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
41f19bd798 build: atInit build-in without the selection capability. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
a89b12f9ef fix: free(item->cmd) not necessary due to the single allocation. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
132cc8b90a refactor: Introducing "__AT_INIT_LOG" consistency. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
bdb3744e7e perf: mallocMustSucceed upgraded with the single allocation. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
124f7b9d9b refactor: afterInit changed to atInit. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
579c15e4f2 feat: afterInit ELLLIST implementation. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz
326c8d588f feat: Refining the afterInit.
* Better error handling
* help message added
* version added
* afterInit=YES build var required to enable
2025-06-20 15:42:47 -05:00
Jerzy Jamroz
77140abe70 feat: afterInit integration to the IOC shell.
The command allows to define boot routines before the iocInit.
2025-06-20 15:42:47 -05:00
Andrew Johnson
3d7a6b0b50 Fixes to properly handle various situations
The "make" commands and filenames below are run in/relative to the
documentation directory.

1. Between releases, EPICS_DEV_SNAPSHOT != "":

"make" generates $(COMMON_DIR)/RELEASE_NOTES.md from new-notes/*.md
and installs it and all the older RELEASE-<ver>.md files into the
$(INSTALL_DOC) directory.

"make release" or "make unrelease" fail with an error message:
  "make release" not available, EPICS_DEV_SNAPSHOT not empty

2. Creating a release, so EPICS_DEV_SNAPSHOT == "":

"make" installs all existing RELEASE-<ver>.md files into $(INSTALL_DOC).

3. Creating a release, EPICS_DEV_SNAPSHOT == "", no file exists named
RELEASE-<ver>.md:

"make release" generates RELEASE-<ver>.md from new-notes/*.md and does
"git add" of that; runs "git rm" of new-notes/*.md;
generates $(COMMON_DIR)/RELEASE_NOTES.md with a different introduction;
Installs all RELEASE*.md files into $(INSTALL_DOC).

4. EPICS_DEV_SNAPSHOT == "", RELEASE-<ver>.md exists and was added to
the Git index:

"make unrelease" here undoes the changes the "make release" command
applied to the Git index and restores the deleted new-notes files.

Running "make release" twice in a row could mess up the first generated
RELEASE-<ver>.md file if any new-notes/*.md files were added or the
make-notes.pl script modified between the two, but to recover just
running "make unrelease" and then "make release" again.

4. EPICS_DEV_SNAPSHOT == "", RELEASE-<ver>.md was added to Git but the
file has since been deleted:

"make unrelease" here will also recover the state and restore any deleted
new-notes/*.md files.

5. EPICS_DEV_SNAPSHOT == "", RELEASE-<ver>.md exists but was not added to
the Git index:

"make release" or "make unrelease" fail with an error message:
  "make release" not available, RELEASE-<ver>.md exists but isn't in Git
2025-06-18 11:12:43 -05:00
Andrew Johnson
463ddf4694 Improvements to make-notes.pl script
Also fixes output title line
2025-06-18 11:12:43 -05:00
Andrew Johnson
389f51e55c Rename new-notes/PR-587 file; fix code block in PR-644 2025-06-18 11:12:43 -05:00
Andrew Johnson
855696b4b1 Adjust our release note and the new-notes/README file 2025-06-18 11:12:43 -05:00
Andrew Johnson
e45da11703 Allow users to skip build steps during doc development 2025-06-18 11:12:43 -05:00
Andrew Johnson
94b37fafb6 Fix heading levels in filters documentation 2025-06-18 11:12:43 -05:00
Andrew Johnson
8ecf71c0a4 Fix the anchors in links to other markdown files
Need to lower-case the anchors in links to other EPICS markdown docs.
2025-06-18 11:12:43 -05:00
Andrew Johnson
5aff8cee30 Adjust generated RELEASE_NOTES.md
- Use a Sphinx/Myst {include} directive to pull the text from all previous
RELEASE files into the output, which makes the website sidebar index work
properly.
- Exclude the RELEASE files from the files given to RTD to publish, they
aren't needed now and generate warnings if included.
- Updated the intro paragraph in all RELEASE files.
2025-06-18 11:12:43 -05:00
Andrew Johnson
32517665b9 Tell doxygen about some essential C/C++ macros 2025-06-18 11:12:43 -05:00
Andrew Johnson
d4ad7c315e Adjust toctree links to previous releases 2025-06-18 11:12:43 -05:00
Andrew Johnson
99682610a0 Fix header levels in some .dbd.pod files 2025-06-18 11:12:43 -05:00
Andrew Johnson
9eca4bc448 Add an H1 to the older RELEASE-<ver>.md files 2025-06-18 11:12:43 -05:00
Andrew Johnson
d2c73046f4 Updated Release Checklist
Includes instructions on how to generate a new Release-<ver>.md
file at the right time during the release process – it won't work
properly if done earlier.
2025-06-18 11:12:43 -05:00
Andrew Johnson
62b8653c39 Change links to older RELEASE docs into a toctree 2025-06-18 11:12:43 -05:00
Andrew Johnson
1515f4d792 CentOS-7 lacks perl-version 2025-06-18 11:12:43 -05:00
Andrew Johnson
91063e4caa Add links to older release notes files, update wording 2025-06-18 11:12:43 -05:00
Andrew Johnson
7b010cecd8 Update text 2025-06-18 11:12:43 -05:00
Andrew Johnson
569e94b9fe Add 'make release' target
It does nothing unless EPICS_DEV_SNAPSHOT is empty though.
2025-06-18 11:12:43 -05:00
Andrew Johnson
bb78ba223c Don't rely on EPICS_DEV_SNAPSHOT being "-DEV" 2025-06-18 11:12:43 -05:00
Andrew Johnson
42ba2875cc Created PR, renamed notes entry file 2025-06-18 11:12:43 -05:00
Andrew Johnson
5a7b5b3709 Build RELEASE_NOTES.md from new-notes/ files
Adds new-notes files for the PRs already merged.
Future conflicts in the now-deleted RELEASE_NOTES.md file must be
turned into new-notes/PR-nnn.md files when resolving them.
2025-06-18 11:12:43 -05:00
Andrew Johnson
7876a5f5cf Split RELEASE_NOTES.md into multiple files
Also added notes entries from PVA modules, back to 7.0.5.
2025-06-18 11:12:43 -05:00