Le 13/04/2021 à 13:50, James Richters via fpc-pascal a écrit :
I tried to make a fork of your repository but I could not change off the master 
branch,,  I always get an error: Checkout Failed  Cannot checkout to invalid 
path 'tools/text_glCAPI\jsLignes.Exclus.txt'  I suspect the / in the path is 
the problem because I am on Windows and it can only use \ for the path.. but I 
don't know how to fix it, so I just made my own repository of this so I can use 
GitHub.
The current version is at  https://github.com/Zaaphod/FileTree
I've removed this file. I work  both with Linux and Windows, most of the time it's ok, but it can happen when by mistake I commit some files with weird names that can cause some havoc in git in Windows ... For example the same file name but with differences in char case:

'tools/jsFichiers/JSFICHIERS_Resultat_du.txt'
'tools/jsFichiers/jsFichiers_Resultat_du.txt'

I noticed the time was in hours and minutes, but it's supposed to be in minutes 
and seconds, but sometimes it's in hours and minutes and seconds, so I tried to 
fix this.. it seems to be fixed ok for the totals, but to fix it I had to put 
the extra 0: in front of all my times so they are 0:03:20 instead of 3:20 I was 
able to display it the way I want in the totals, but I don't see how to change 
how it's displayed in the files.. so they are displaying with the extra 0: now.

I've added a few lines to handle this.
Conversion from datetime to string  is in TTreeData.SetdValue, and conversion from string to datetime is in TTreeData.SetValue.

But I noticed the VirtualTreeView is not building the tree correctly.  I am 
getting
I made an error in TfFileVirtualTree.vst_addnode_from_key_value:Recursif.
With "slNodes.AddObject( sCle, TObject(Parent));" , M:\Project1\File2 ended up in M: instead of M:\Project1
Corrected with : slNodes.AddObject( sCle, TObject(Node));
The program takes a while to load with a large datafile,  is there a way to put 
up some kind of screen immediately, even just a box that says loading...  just 
to let the user know the program was started so they don’t try to start it 
again?  Or even more fun.. have a bargraph showing the progress through the INI 
file 😊 (something I have absoilutly no idea how to accomplish)

I have added a gauge and a buttton to trigger the processing.

I find the execution relatively slow on Windows, I can see the progression of the gauge. On Ubuntu the result appears instantly, I can't see the progression of the gauge ( and my linux machine is less powerful than my windows machine).

Thanks again for the help with this!
With pleasure. I couldn't do this all the time, but it happens I have a bit of free time for this these days.


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to