Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add egs_view egsinp editor with autocompletion #885

Open
wants to merge 32 commits into
base: develop
Choose a base branch
from

Conversation

rtownson
Copy link
Collaborator

@rtownson rtownson commented Jul 4, 2022

Add a new tab in egs_view that allows for editing and saving egsinp files for egs++.

The new code all over the egs++ library provide a structure by which an external library like egs_view can extract all of the input parameters. It's used for input validation, syntax highlighting, autocompletion, etc.

Application specific inputs are not handled yet. Also not yet run control, transport parameters, media definitions, or view control.

Note that this includes an astyle run on all the sources, geometries and ausgab objects, so it looks like there are more changes than there are. If you view the diff while hiding whitespace, then you will see the real changes.

This replaces PR #710.

@rtownson rtownson self-assigned this Jul 4, 2022
@rtownson rtownson requested a review from a team as a code owner July 4, 2022 13:07
@rtownson rtownson requested review from ftessier, mainegra and blakewalters and removed request for a team July 4, 2022 13:07
@rtownson rtownson mentioned this pull request Jul 4, 2022
@ftessier
Copy link
Member

ftessier commented Jul 4, 2022

@rtownson can I work to cleanup this branch, or would you rather I hold off?

@rtownson
Copy link
Collaborator Author

rtownson commented Jul 4, 2022

@rtownson can I work to cleanup this branch, or would you rather I hold off?

Maybe hold off, I'm just working on documentation so I'll be adding one more commit some time soon.

@ftessier ftessier added this to the Release 2023 milestone Jul 4, 2022
@rtownson
Copy link
Collaborator Author

rtownson commented Jul 4, 2022

Ok @ftessier, you're welcome to clean up this branch now.

hcgallop and others added 12 commits August 3, 2023 13:56
Recent changes to egs_view were missing some necessary additions to the
ui file. These have been included, along with a couple minor changes.
Also set the compiler flags to use std=c++14 instead of std=c++11.
Add egs_editor support for iaea_phsp_source. Also remove the c++14 flag
for egs_view since it should already be included for all C++ in order
for egs++ to compile.
Remove or improve debug messages. Add handling of the EDITOR_DEBUG
define for egs_editor debugging.
@ftessier ftessier force-pushed the add-egs-view-editor2 branch from b070748 to 4121af2 Compare August 3, 2023 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants