Page 4 of 6

Re: [IDE Tool] History Viewer 2.13 [now with LINUX]

Posted: Fri Nov 18, 2011 2:24 pm
by HeX0R
After a long fight with Linux Mint 64Bit and PB i finally tried to compile the two template-dlls.
Well, o.k. template-so's.

Is it just me, or is it not possible to compile any shared library with PBx64Linux?
I allways get the following error:
error wrote: /usr/bin/ld: purebasic.o: relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC
purebasic.o: could not read symbols: Bad value
collect2: ld retruned 1 exit status
even, when trying to compile this:

Code: Select all

ProcedureDLL well()

EndProcedure

Re: [IDE Tool] History Viewer 2.13 [now with LINUX]

Posted: Fri Nov 18, 2011 2:46 pm
by Ajm
Hi,

I have never tried to compile a shared library on Linux.

I have tried your example and get exactly the same error Mint 10 Linux 64bit.

Re: [IDE Tool] History Viewer 2.13 [now with LINUX]

Posted: Fri Nov 18, 2011 7:27 pm
by HeX0R
O.k. this is not funny...

I changed anything, to make a one-in-all file (without shared libs), and in the end i realized that the WebGadget doesn't work in Linux Mint 64bit.
But the output of history viewer is a webgadget...

Sorry, no 64bit Linux version in the near future.

Re: [IDE Tool] History Viewer 2.13 [now with LINUX]

Posted: Fri Nov 18, 2011 8:05 pm
by Ajm
Hi HeXOR,

Sorry to have caused you so much trouble.

Unfortunatley its things like this that are making my decision to stay with PB very difficult. There seem to be quite a few bugs relating to 64bit Linux especially Mint that are not being addressed or the fixes are only being compiled for 32bit platforms.

As a side thought I just tried to compile the web browser example that come with PB on my Mint 10 64 bit and it runs fine.

I think it's time for me to research other cross platform languages to learn that have a bit more stability.

Thanks for trying.

Re: [IDE Tool] History Viewer 2.14 [now with LINUX]

Posted: Sun Feb 05, 2012 8:21 pm
by HeX0R
New Version available!

Update V2.14
  1. Improved History-Creation-Speed, so hv won't block your pc anymore at the end
  2. Improved History Output:
    When selecting a history, the complete History will be loaded into memory.
    Then you can change between versions and/or templates nearly instantly
    (Well o.k., huge sources will still need some time to load into the WebGadget)
  3. Put History Output in an extra threat
  4. Fixed Copy/Move into released projects (No one realized this??)
  5. Added possibility to copy historys (for starting new branches)
  6. Added quickjump Window for Procedures and Structures (CTRL + I[nfo])
  7. Some more things i forgot...
Windows-Version
Linux-Version

(For all of you using allready the win-version: Just click the ? and "Check for update" inside history viewer)

Re: [IDE Tool] History Viewer 2.14 [now with LINUX]

Posted: Sun Feb 26, 2012 8:30 pm
by HeX0R
Update V2.15
  1. Added possibility to search inside Sources (CTRL + F)
  2. Added defaultfont to templates
Windows-Version
Linux-Version

Re: [IDE Tool] History Viewer 2.16 [now with LINUX]

Posted: Wed Jul 04, 2012 10:06 pm
by HeX0R
Update V2.16
  1. Added deleting of history folders
  2. Changed: Splitter now resizable to x=0
  3. Improved deleting/ignoring speed (but not much)
Windows-Version
Linux-Version

Another useful info:
Virustotal.com didn't find any virus this time (yes, not even one!).
It seems, those antivirus-companies had (at least after years) understood, that PB isn't that evil :twisted:

Re: [IDE Tool] History Viewer 2.16 [now with LINUX]

Posted: Fri Jul 06, 2012 1:36 pm
by Olby
Hey,

I've been watching this for a while and decided to try it out.

First of all very useful tool, indeed well done!

However I noticed a few issues and would like to report them:

-Custom input dialog box is arbitrary positioned; especially when trying to add new release project (for me it is barely visible); I suggest you use #Window_Centered constant for all user prompts.

-Add new release project and right click on Binaries and select Properties (it's not greyed out) HV will crash;

-Expand/collapse state of tree view; would be nice if this could be stored per item i.e in the hv source code database;

Could you please explain how and when source codes are added to HV? So far I've only managed to get some of my files into hv. It would be nice if it would include a file every time it is saved because PB IDE might crash and then hv will not be able to include the file (as far as I understand HV stores data upon exit from IDE);

Thanks very much for this wonderful utility :!:

Re: [IDE Tool] History Viewer 2.16 [now with LINUX]

Posted: Fri Jul 06, 2012 4:03 pm
by HeX0R
Hi Olby,

thanks for the reports and the kind words!
Custom input dialog box is arbitrary positioned; especially when trying to add new release project (for me it is barely visible); I suggest you use #Window_Centered constant for all user prompts
It was like this in the past, but for some reason i can't remember i changed it.
But there is a much worse bug in it:
Open it, then set focus on any other window, come back and the dialoge is gone. No chance to end hv...

I will change this, hopefully this weekend.
Add new release project and right click on Binaries and select Properties (it's not greyed out) HV will crash
Well, in fact it is normaly greyed out, it depends what you are clicking before...
Definately a bug, will also look into it.
Expand/collapse state of tree view; would be nice if this could be stored per item i.e in the hv source code database
I'm not sure, if this makes sense.
Normaly you start hv through the IDE and it will automatically expand the tree of the file you are looking at.
Could you please explain how and when source codes are added to HV? So far I've only managed to get some of my files into hv. It would be nice if it would include a file every time it is saved because PB IDE might crash and then hv will not be able to include the file (as far as I understand HV stores data upon exit from IDE)
From the download site:
h3x0r.ath.cx wrote:It works like this:
Whenever you open a sourcecode it will look in its history, if this file allready is there.
If it isn't it will create a copy of the whole file.
Whenever you close your IDE the changes to the previous version will be saved.
Additional Info:
I did it like this, because storing it into db anytime you save the file will result in 20-30 histories, with nothing in it as e.g. a typo.
Think about the following scenery:
When you are in testing mode, meaning you typed a lot of lines and now you press F5, your source gets saved.
Directly after that, the compiler says: syntax error line... .
So you correct it, try again.
Another typo appeared...
This would result in 2 very unnecessary histories.

And this is only one example.

But to be true my IDE almost never crashed!
Or do you mean the linux version?

Re: [IDE Tool] History Viewer 2.16 [now with LINUX]

Posted: Fri Jul 06, 2012 6:48 pm
by HeX0R
O.k., i had a little spare time, so i fixed/changed some things:

Update V2.17
  1. Added Storing histories into db directly after saving (not recommended, but requested)
  2. Changed: Position of Inputbox
  3. Changed: Adding Versions in projectview will now offer a suggestion (using last version of a project and adding '#2')
  4. Fixed: Inputbox didn't show, when hv looses focus (resulting in a no more usable hv)
  5. Fixed Properties of binaries are now disabled (and won't crash hv anymore)
I moved the Inputbox more to the right and added a version-suggestion.
Should make things easier.

As allways, updating is easy via hv: go to menu ? / Check for update

Or dl anything:
Windows-Version
Linux-Version

Re: [IDE Tool] History Viewer 2.17 [now with LINUX]

Posted: Fri Jul 06, 2012 11:40 pm
by Olby
Thanks for the update.

By the way, I wonder why are you not using InputRequester instead?

Speaking of expanding/collapsing. If the current source code is not yet added to the history then the whole tree is collapsed which is quite cumbersome. I have a huge project with 20+ include files which makes it a chore to work with the tree list. It would help if it would either remember the state of every tree item or expand the whole tree whenever the source is not there. Or maybe you can add a couple of interface buttons (say + and -) that will collapse or expand currently selected tree branch.

No am using the Win32 version of PB. What you said about storing source history makes sense.
What if I open and close the source file which is not in the history without closing the IDE, will it save it or not? It would be nice if it would.

Perhaps you can add a shortcut that would add/update all current source files?

Sorry for pestering you, but I see potential in it and would love to provide some help.

Thanks!

EDIT: Just tested the new position of the Add New Release Project input requester. Still too high, can't see the whole window. :(

EDIT2: Hmm, just tried to open all include files hoping that if I close the IDE they will get added. Unfortunately it looks like I have to edit every one of them to trigger HV to store a copy.

Re: [IDE Tool] History Viewer 2.17 [now with LINUX]

Posted: Sat Jul 07, 2012 1:27 am
by electrochrisso
I like the the image of the box, on your site HeXOR, what software did you use to create it. :?:

Re: [IDE Tool] History Viewer 2.17 [now with LINUX]

Posted: Sat Jul 07, 2012 9:03 am
by HeX0R
>>By the way, I wonder why are you not using InputRequester instead?
Normal Inputrequester has no cancel button.
My Inputrequester feels more intuitive (at least for me).
And to be true, i don't like modal requesters in windows-tools,
because this also means that the messagequeue is frozen (and i often communicate from threads to windows via windowsmessages).

>>What if I open and close the source file which is not in the history without closing the IDE, will it save it or not? It would be nice if it would.
You first have to save the source, because opening a source without saving means of course, there haven't been any changes.

>>Perhaps you can add a shortcut that would add/update all current source files?
See in preferences/special tasks/create all missing historys of a sourcecode-folder

>>EDIT2: Hmm, just tried to open all include files hoping that if I close the IDE they will get added. Unfortunately it looks like I have to edit every one of them to trigger HV to store a copy.
see above

>>EDIT: Just tested the new position of the Add New Release Project input requester. Still too high, can't see the whole window
O.k., extra for you, you can use this hv.exe
I'm now too lazy to create an extra update for this peanuts ;)

>>I like the the image of the box, on your site HeXOR, what software did you use to create it.
I'm using Cover-Expert

Re: [IDE Tool] History Viewer 2.17 [now with LINUX]

Posted: Sat Jul 07, 2012 11:49 am
by Olby
HeX0R wrote:>>By the way, I wonder why are you not using InputRequester instead?
Normal Inputrequester has no cancel button.
My Inputrequester feels more intuitive (at least for me).
And to be true, i don't like modal requesters in windows-tools,
because this also means that the messagequeue is frozen (and i often communicate from threads to windows via windowsmessages).
Umm, hitting escape cancels the requester. Or just leave it blank and hit ok = same effect as escape. ;)

Thanks for the update!

Re: [IDE Tool] History Viewer 2.18 [now with LINUX]

Posted: Sun Jul 15, 2012 12:17 pm
by HeX0R
Update V2.18
  1. Added: Any individual history is deletable now. (Changes will be integrated in the following history)
  2. Changed: Select Archive Window now resizable
  3. Changed: Added a Version ComboBox to Archive-Window
  4. Fixed: When enabled "store histories directly on saving" no more backups have been created
Windows Version
Linux Version