mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.7K
active users

#doxygen

0 posts0 participants0 posts today

Having to deprecate a part of #poser's API for the first time, I added support for the #deprecated attribute supported by #GCC and #clang and then found #Doxygen couldn't automatically use it.

I didn't want to document deprecation *twice*, so I came up with a little hackery, see screenshots. 🙈

It's not perfect, requiring to type the message in plain text as a macro argument forbids the usage of a comma 😉 But hey, it works!

zirias.github.io/poser/api/lat

All new files my old `btrfs` filesystem creates are above 32-bit inode space:

$ touch a && stat '-c%i' a
11833717710

Very occasionally I build 32-bit `i686-linux` packages. Sometimes they fail to run against file with so large inodes.

Two casualties today:
- `doxygen`: github.com/doxygen/doxygen/pul
- `graphviz`: gitlab.com/graphviz/graphviz/-

Without the change doxygen fails to run when built against i686-linux target and installed on thew filesystem with 64-bit inodes (btrfs with many files in my case):
$ doxygen -g && doxygen ...
GitHubCMakeLists.txt: use 64-bit file API on 32-bit linux by trofi · Pull Request #11518 · doxygen/doxygenBy trofi

@debacle @alienghic I wish there was a package for those projects that use #Doxygen or those that #Qt's #QDoc.
Some projects such as KDE use docbooks, there's a rudamentary mode for them:
elpa.gnu.org/packages/docbook.

With doxygen , Qt or Pythons API doc doc the documentation often doesn't really look like a manual like in Info mode I think there
should be a separate mode for such to view them or something that makes them easier to view in a single page per object.

elpa.gnu.orgGNU ELPA - docbook

The s390x open source team at IBM confirms the latest versions of various software packages run well on #Linux on #IBMZ & #LinuxONE

In June 2024 validation was maintained for over 30 projects, including: #CockroachDB #doxygen & #HashiCorp's #Terraform

Also, the AI/ML team at #IBM did initial work focused on s390x compatibility for Mage AI & the Triton Inference Server received compatibility fixes for big endian platforms.

Full report at: community.ibm.com/community/us

community.ibm.com · Linux on IBM Z and LinuxONE Open Source Software Report: June 2024

Thinking about automation of documentation for error messages from Linux based app written in #C. Something like #Doxygen, but it doesn't go into function bodies. Need something that will go into function body and look for comments ahead of the calls which display errors. The tool collects these to provide documentation on impact and user action related to the available messages.

Seen something like this?

Or other ways to manage this content?

Keeping msgs and docs in sync by hand is a pain.

I'm looking for opinions on function API doc strings for C and C++. I know that python has a well-defined approach. For C/C++ I have been using doxygen, but emacs support has waned: doxymacs has been unmaintained for ages.
Is there any new and widely supported approach you would recommend for C and C++? Or is there an upcoming revival of support for doxygen in emacs?
#Emacs #c++ #doxygen