Skip to content

Assortment of fixes - particularly for reading saved cctree.out - #17

Open
qais-yousef wants to merge 5 commits into
hari-rangarajan:masterfrom
qais-yousef:master
Open

qais-yousef wants to merge 5 commits into
hari-rangarajan:masterfrom
qais-yousef:master

Conversation

@qais-yousef

Copy link
Copy Markdown

I started with not being able to use the saved cctree.out as in #16 and ended up with a bit extra fixes on top. Which I'm not sure how good they are - particularly the one about sorting. taglist() fails to find lots of elements and I literally hacked it to reduce the error rate, but not entirely eleminated it.

It seems this project is no longer maintained - but hey in case anyone finds this useful..

The mapping didn't match between what we write and read.

And it seems we must write Uncompressed Numeric otherwise it doesn't
work for some reason.

Must use CCTreeLoadXrefDBFromDisk(). Use the non FromDisk version
doesn't work.

Signed-off-by: Qais Yousef <qyousef@layalina.io>
And set it as unsorted in the tag file. Some ids can't be found still
and I'm not sure why. Something is tripping taglist() to find those ids.

The format might not be correct enough..

Signed-off-by: Qais Yousef <qyousef@layalina.io>
It seems taglist() can get confused for very long lines

Signed-off-by: Qais Yousef <qyousef@layalina.io>
We wrongly  pruned nodes that were smaller than the current depth!

Signed-off-by: Qais Yousef <qyousef@layalina.io>
We were creating maxdepth+1 instead of maxdepth basically.

Signed-off-by: Qais Yousef <qyousef@layalina.io>
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.

1 participant