Not proud or satisfied about this bug fix as I had to use ChatGPT in the end.

https://github.com/shanmukhateja/gitraven/pull/1

The fix was computing `objFullPath` over each iteration and then use it when computing absolute path for a tree node.

#diary #gitraven #opensource #cpp #qt

fix(tree): Absolute path calculation rewrite by shanmukhateja · Pull Request #1 · shanmukhateja/gitraven

The existing code showed "Changes" as child node for leaf node of tree "foo/bar/a/a" This happens because we use absolute path to determine unique nodes and due to a logic bug, ...

GitHub

Something's brewing!!

#GitRaven is getting UI to switch branches and tags.

#opensource #cppdev #diary

I am making time for #GitRaven project again. It had stalled for sometime due to other commitments.

Today, I learned C++ and Qt lifetimes, the advantages of member initializer lists. I still have one more issue to fix w.r.t this topic but I will hold it off a little longer, switching my focus on adding features.

#diary #cppdev #git #opensource #developers

Hello #fediverse

Here is my next post on my #GitRaven pet project that's written in C++ and Qt.

This time, I am integrating Monaco editor (editor/viewer of VSCode) to this project.

Give it a read:
https://blog.suryatejak.in/ghostllm-how-to-setup-monaco-editor-for-qwebengine

#git #opensource #monacoeditor #cpp #javascript

Hello #fediverse

I am happy to share my blog post on #GitRaven project.

This post has been stuck on Drafts for so long! I am happy it's out :)

This is my first C++ project as well as my first Qt project. Some of you might remember my #MyStudio project journey with Rust + GTK.

Anyways, here's hoping you'd give it a read.

I am open to feedback so feel free to share your views :)

https://blog.suryatejak.in/gitraven-how-to-draw-custom-widgets-on-qtreeview-rows

Here's my first dev post of my new pet project #GitRaven

https://blog.suryatejak.in/gitraven-how-to-use-qtreeview-with-a-custom-model-class

It's written in C++ and this took so much time to figure out.

#blog #devdiary #diary #opensource #cpp

I ran into my very first "it runs as long as you do it the app's way" kind of bug. My guess is, by assigning a different variable here, the pointer's address is aligned "just right" for my code to work.

This comment is from my #GitRaven project.

```
// FIXME: Use `amendCommitOid` instead
// Note: The app seg faults when this variable is deleted :/
git_oid oid = autoCommitOid;
```

#cppdev #cpp #programming