FreeBasic IDE-poseidonFB(Update 2024.03.03)

User projects written in or related to FreeBASIC.
Post Reply
St_W
Posts: 1626
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2016.4.20)

Post by St_W »

aurelVZAB wrote:
maybe I can rewrite the code using FreeBasic, but it will slow down the speed of developing this IDE
that is in fact excellent idea...maybe you can rewrite one of older versions ,i mean simplier and of course with
code parser which i found looking excellent...
I also think that you will have less problems with FB version because there is no need for C++ runtimes...
OR if you dont have time ..do you can rewrite just code parser as very good example i think
that have such a parser in FB would be great to have .
Although I'd also prefer a FreeBasic IDE to be implemented in FB, I don't think that's a good idea. Rewriting is a lot of work for sure and doing so likely will introduce new bugs. Some programming concepts currently not available in FB would make the source probably more complicated than it is in D (disclaimer: I don't know much about the D programming language).
I agree that using FB would eliminate the need for the MSVC runtime, but there are also other options like linking it statically or using other compilers like gcc or older MSVC versions (especially for older OSs).
The software is quite buggy currently and a rewrite would probably make it even worse.
@Kuan Hsu: Can't you reproduce the described crash on your machine performing the steps I described? I'll try myself, but I currently don't have a Windows machine available.
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2016.4.20)

Post by Kuan Hsu »

aurelVZAB wrote:then i open one FB file ..hmmm it looks that code parser not repond then i open one o2 file
again parser in left treeview not show anything
then after i click one one button app just crush..
If yes, please send your FB file to me, I'll check if the parser issue or...
mail:
army1833t@edirect168.com

and.....

What is "o2 file".......?
Last edited by Kuan Hsu on Apr 27, 2016 18:39, edited 1 time in total.
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2016.4.20)

Post by Kuan Hsu »

St_W wrote:@Kuan Hsu: Can't you reproduce the described crash on your machine performing the steps I described? I'll try myself, but I currently don't have a Windows machine available.
Can't reproduce the issue..............@@
aurelVZAB
Posts: 666
Joined: Jul 02, 2008 14:55
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2016.4.27)

Post by aurelVZAB »

hi Kuan
for example this new simpleWinGUI lib example by lottar
sorry i cannot show you here because there is no attachment in post options ..why?
i just copy file & paste to fbposeidon then save file and there is nothing into
left treeview control just name of file
parser is enabled in settings (preferences)

o2 file is OxygenBasic file
also there is no settings for compile options..

of course i agree that rewrote of complete editor would make more problems ...ahhh
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2016.4.27)

Post by Kuan Hsu »

aurelVZAB wrote:hi Kuan
for example this new simpleWinGUI lib example by lottar
sorry i cannot show you here because there is no attachment in post options ..why?
i just copy file & paste to fbposeidon then save file and there is nothing into
left treeview control just name of file
parser is enabled in settings (preferences)

o2 file is OxygenBasic file
also there is no settings for compile options..

of course i agree that rewrote of complete editor would make more problems ...ahhh
Can't reproduce the issue......@@
Left treeview control panel change to "Outline"? Paste the code and press "F2" then watch the Outline panel.
Please download lastest V0.164 and extract to a new folder then try again, I only found an IUP.dll version may be wrong issue
c-sanchez
Posts: 145
Joined: Dec 06, 2012 0:38

Re: FreeBasic IDE-poseidonFB(Update 2016.4.20)

Post by c-sanchez »

Kuan Hsu wrote:
c-sanchez wrote:The latest versions not working on Windows XP?
I have a error: The procedure entry point GetTickCount64 could not be located in the dynamic link library Kernel32.dll
Please try:(Need VC++ 2010 redistributable)
http://www.mediafire.com/download/hqp1j ... B_dll10.7z
Thanks Kuan Hsu. VC++ 2010 build working :)
Really i hate when the developers leave the support on Windows XP by a stupid reason like this, and indeed this is a too common reason now...
aurelVZAB
Posts: 666
Joined: Jul 02, 2008 14:55
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2016.4.28)

Post by aurelVZAB »

Kuan
i download v0.162 because i downt know where to find v0.164
well something is wrong because when i type letter O in scintilla control then program just close
looks like is executed api call ExitProcess(0)
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2016.4.28)

Post by Kuan Hsu »

aurelVZAB wrote:Kuan
i download v0.162 because i downt know where to find v0.164
well something is wrong because when i type letter O in scintilla control then program just close
looks like is executed api call ExitProcess(0)
V0.164 can download from 1st post
http://www.mediafire.com/download/89zzr ... eidonFB.7z

Maybe you can also try:
http://www.mediafire.com/download/hqp1j ... B_dll10.7z
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2016.4.20)

Post by Kuan Hsu »

c-sanchez wrote:Thanks Kuan Hsu. VC++ 2010 build working :)
Really i hate when the developers leave the support on Windows XP by a stupid reason like this, and indeed this is a too common reason now...
It's about IUP version( IUP's DLL).....

Change to >= VC++ 2012 version because when I try to use IUP 3.18, IUP( compiled using VC++ 2010) couldn't show autocompletion, calltip......
The issue finally I try to solve and seem to work, but I got a conclusion: D language / IUP are not good friends( because of C strings convert )

Anyway, poseidonFB_dll10.7z has one key crash or no parser tree issues?
c-sanchez
Posts: 145
Joined: Dec 06, 2012 0:38

Re: FreeBasic IDE-poseidonFB(Update 2016.4.20)

Post by c-sanchez »

Change to >= VC++ 2012 version because when I try to use IUP 3.18, IUP( compiled using VC++ 2010) couldn't show autocompletion, calltip......
The issue finally I try to solve and seem to work, but I got a conclusion: D language / IUP are not good friends( because of C strings convert )
heh i see, really it would be interesting to see this ide written in FreeBasic. Is true, this can slow down the develop, but at the same time it would not be more beneficial? ie, maybe, so perhaps some look interested in helping with FreeBasic code. Although, unfortunately it is something that I do not occur very often apparently.
but also, maybe freebasc is better friend with iup? hehe
Anyway, poseidonFB_dll10.7z has one key crash or no parser tree issues?
Nop, i don't have issues at moment :)
The default font of document is Consolas....
woops, I forgot to comment this before.
about fonts, was my error, Windows XP don't have by default Consolas installed, i guess is a font from Vista or Seven, sorry :P
Last edited by c-sanchez on Apr 29, 2016 15:17, edited 1 time in total.
aurelVZAB
Posts: 666
Joined: Jul 02, 2008 14:55
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2016.4.28)

Post by aurelVZAB »

Kuan
i get version v0.164 and it looks that is more stable
parser work but only if loaded file is .bas
also sometimes crush on autoindent when typed 'mm' but under comment
like :

Code: Select all

'comment mm
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2016.4.29)

Post by Kuan Hsu »

aurelVZAB wrote:Kuan
i get version v0.164 and it looks that is more stable
parser work but only if loaded file is .bas
also sometimes crush on autoindent when typed 'mm' but under comment
like :

Code: Select all

'comment mm
I can't reproduce the key-in crash issue......@@
And parser should also work for *.bi
But I modified one line( about turn char* to UTF32 char ), I wish I can fix the crash issue at V0.165

V0.165 is downgrade IUP's dll using vc++ 2010, please replace the iup.dll and iup_scintilla.dll( in poseidonFB.7z achive)
Imortis
Moderator
Posts: 1924
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2016.5.3)

Post by Imortis »

I really like this editor. I am going to start using it for my own projects.

I did notice one problem with the autocomplete/parser:

Code: Select all

redim test() as integer
Using that code, the parser does not see the variable test, even after refreshing the outline.

That is the only issue I have come across so far. I am really impressed.

EDIT:
It looks like REDIM was missed the the parser.d with the parseVariable() function. It should function just like DIM, so I think you can just change the following line:

Code: Select all

if( token().tok == TOK.Tdim || token().tok == TOK.Tstatic || token().tok == TOK.Tcommon || token().tok == TOK.Tconst )
to something like this:

Code: Select all

if( token().tok == TOK.Tdim || token().tok == TOK.Tstatic || token().tok == TOK.Tcommon || token().tok == TOK.Tconst || token().tok == TOK.Tredim)
I could be missing something, but I think that is the only required change.
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2016.5.3)

Post by Kuan Hsu »

Imortis wrote:I really like this editor. I am going to start using it for my own projects.
I'm glad that you like poseidonFB IDE, thanks^^

I will add the redim parser at V0.168(DONE), but not only add token().tok == TOK.Tredim
I need modify another 2 parts:
1. When parse TOK.Tredim should call parseVariable() function
2. The parser need parse next token is Preserve or not........^^
Imortis
Moderator
Posts: 1924
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2016.5.5)

Post by Imortis »

Found another issue:
If using a project, and us the "Run Debug" option, it will try to run a program with the name of the project, not the name of the EXE.

I also have a feature request:
Can you make the editor save the EOL character in the settings? I use the Windows settings, but it defaults to Unix after opening. If I could set a line ending and have it stay on opening the editor, that would be nice. Or, maybe make a way to choose the default from the Preferences.
Post Reply