Skip to content

Add files via upload - #719

Open
LifWirser wants to merge 13 commits into
masterfrom
VSE_doc_temp
Open

Add files via upload#719
LifWirser wants to merge 13 commits into
masterfrom
VSE_doc_temp

Conversation

@LifWirser

Copy link
Copy Markdown
Contributor

Thank you for submitting a pull request and becoming a contributor to the Vega Strike Core Engine.

Please answer the following:

Code Changes:

Issues:

  • Please list any related issues

Purpose:

  • What is this pull request trying to do?Add support for : Doxygen, Valgrind, GDB (still incomplete

  • What release is this for?All

  • Trubleshootring code documentation

@BenjamenMeyer BenjamenMeyer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to some of this needing to use the automation we've added (authors) or need to add (change log); this also introduces an extra unnecessary layer of directories (doc/doc).

So I'd like to see the doxygen stuff directly under doc, not doc/doc, and things simplified up a bit for easier maintenance. And please keep in mind we're going to add some automation of some of this to be as reliable as we can about it - especially authors.

Comment thread doc/doc/AUTHORS Outdated
@@ -0,0 +1,51 @@
Vega Strike
http://vegastrike.sourceforge.net

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LifWirser

Copy link
Copy Markdown
Contributor Author

AUTHORS already exsisted but while I'm here I'll try to delete, I'm trying to move doxygen data to where I had intended

@LifWirser

Copy link
Copy Markdown
Contributor Author

If I am seing corredtly all should fixed

@stephengtuggy

Copy link
Copy Markdown
Contributor

This is better. Looks like the files are in their correct directories now. However, I don't know that we need to delete the preexisting AUTHORS file. Then it will just need to be regenerated.

Apart from that, this looks good.

@BenjamenMeyer BenjamenMeyer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please restore doc/AUTHORS for this PR, and let's explore that in its own PR

Comment thread doc/AUTHORS
Replaced /doc/AUTHORS, per request to handle seperate issue not yet entered
stephengtuggy
stephengtuggy previously approved these changes Aug 24, 2022

@stephengtuggy stephengtuggy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@vincele vincele left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need significant work to be mergeable, but anyways thanks for the effort.
Be careful with your whitespace, and try to use a spell checker, it should help.

Comment thread doc/DOCUMENTATION

Units are accessed through a UnitContainer or a UnitCollection depending on the number. These structures keep reference counts and remove any "dead" units from them when accessed. Star system has the complete list of units and cycles through them to accomplish physics, etc.

Included in this directory contains resources for generating documentation/degugging

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

degugging ?

Comment thread doc/DOCUMENTATION

For more Details please see the doxygen Documentation.
For more Details please see the
doxygen Documentation- {VS_root}/doc/VS_Doxygen.RDME .

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Documentation-" ?
remove the dot

Comment thread doc/VS_Doxygen.RDME
@@ -0,0 +1,6 @@
The basic idea is first to Warn you will require lots of space if you proceed.
The basic steps are in the VSE root directory run "doxygen ./doc/doxygen/VS_doxy.Config" and all the data will be in a subdir under /doc/doxygen. the VS_doxy.config is editable (please make a bakup of the config file first, just in case. Currently it is configured to run on VegaStrike github master >"INPUT" needs to be adjusted for appropriate directoy.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the added whitespace at start intended ?
"directory run" remove doubled space

Comment thread doc/VS_Doxygen.RDME
The basic idea is first to Warn you will require lots of space if you proceed.
The basic steps are in the VSE root directory run "doxygen ./doc/doxygen/VS_doxy.Config" and all the data will be in a subdir under /doc/doxygen. the VS_doxy.config is editable (please make a bakup of the config file first, just in case. Currently it is configured to run on VegaStrike github master >"INPUT" needs to be adjusted for appropriate directoy.

Requires: doxygen, Graphviz, Vegastrike {engine,assets} source packages. Lots of free storage.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Requires: doxygen" remove doubled space

Comment thread doc/VS_Gdb_Python.RDME
@@ -0,0 +1,93 @@
In order to properly setup and use gdb with pythonon the "vegastrike-engine", some things need to happen.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe "python on" ?

Comment thread doc/VS_Valgrind.RDME
4 edit ".valgrindrc" and comment out (with "#") the "python,python2" lines.
On my system python and python .supp files are the same. so not taking chances I comment them out ,Also the
lines of openmpi-valgrind.supp and pmix/pmix-valgrind.supp are not used in vegastrike last time I checked ,
so they can be commented or given suppression tag as you see fit.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whitespace damage, again
what is a suppression tag ?

Comment thread doc/VS_Valgrind.RDME
On my system python and python .supp files are the same. so not taking chances I comment them out ,Also the
lines of openmpi-valgrind.supp and pmix/pmix-valgrind.supp are not used in vegastrike last time I checked ,
so they can be commented or given suppression tag as you see fit.
Also insert "--suppressions=" before all other lines. DON'T FORGET TO SAVE

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, this may be it...

Comment thread doc/VS_Valgrind.RDME
lines of openmpi-valgrind.supp and pmix/pmix-valgrind.supp are not used in vegastrike last time I checked ,
so they can be commented or given suppression tag as you see fit.
Also insert "--suppressions=" before all other lines. DON'T FORGET TO SAVE
5 run valgrind simular to "valgrind --tool=callgrind ./vegastrike-engine -d../../Assets-Production"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"simular to" => "like this"

Comment thread doc/VS_Valgrind.RDME
5 run valgrind simular to "valgrind --tool=callgrind ./vegastrike-engine -d../../Assets-Production"
in this example callgrind will be run - many other options

I found there is a "gdb server option" but for now this will be a start

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line

Comment thread doc/doxygen/notes_Doxy
@@ -0,0 +1 @@
The "doxyhen.config.orig" was originaly in /engine directory and all reletive files ,edit to run from a directory other than }VS|/engine location (VSE_root)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doxyhen => doxygen
originally in ./engine
relative
whitespace damage (multiple instances)

@vincele

vincele commented Dec 29, 2022

Copy link
Copy Markdown
Contributor

Also the PR title does not explain what this is about, please fix it

@BenjamenMeyer BenjamenMeyer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good; but please fix @vincele 's comments.

@royfalk

royfalk commented Oct 2, 2024

Copy link
Copy Markdown
Contributor

What's the status of this PR? It looks like it's 90% done.

@stephengtuggy

Copy link
Copy Markdown
Contributor

@LifWirser it would be great if you could take a look at fixing the typos @vincele noted. (Also, please merge in the latest changes from master.) Then we could get this PR merged. As @royfalk noted, it's 90% finished. Let's get it across the finish line.

@stephengtuggy
stephengtuggy self-requested a review March 14, 2025 20:32
@stephengtuggy
stephengtuggy dismissed their stale review March 14, 2025 20:33

I shouldn't have approved this originally. There are a number of typos.

Comment thread doc/VS_Gdb_Python.RDME
enter this at ">>>" prompt

>>> import os
>>> print('I am pid ()'.format(os.getpid()))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
>>> print('I am pid ()'.format(os.getpid()))
>>> print('I am pid {}'.format(os.getpid()))

Comment thread doc/VS_Gdb_Python.RDME

>>> import os
>>> print('I am pid ()'.format(os.getpid()))
I am pid ()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
I am pid ()
I am pid 19612

@royfalk

royfalk commented Jun 22, 2025

Copy link
Copy Markdown
Contributor

@LifWirser should someone else take over this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants