FreeBasic IDE-poseidonFB(Update 2024.11.10)

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

Re: FreeBasic IDE-poseidonFB

Post by St_W »

aurelVZAB wrote:well long time ago i download Poseidon editor from D programming site trying to use something for
C compiler and than editor work very well on my XP computer and i think that this old version
don't use iUP library..than win api....
Maybe you mean that one: http://www.dsource.org/projects/poseido ... creenshots ?
http://www.dsource.org/projects/poseidon
It uses DWT as GUI toolkit: http://www.dsource.org/projects/dwt
That's a port of Java's SWT to D. Maybe you know the IDE "Eclipse"? Then the UI should be familiar to you.
As already written above, DWT adds a much more heavyweight layer above the Win32 API, than IUP does.
Kuan Hsu wrote:I should change the framework( the old D framework, like DWT or DFL, both for D programming language V1.0 ) but the IDE become win32 only, or change the language( ex. Freebasic or C++, but I didn't used them for many years... ) + IUP to keep the cross-platform or change the different framework( it takes much time )?
I saw you stroke through that already, but still I'd like to ask: why would DWT let the IDE become win32 only? Do you mean some other DWT as the one I just mentioned above?
Regarding language: I think that an IDE which aims to be *the* FB IDE should be written in FreeBasic. Thus I would indeed prefer that this IDE would be written in FB, as it looks very promising to become a good IDE (even if it does not aim to become the FB IDE). As there is no modern, cross-platform IDE for FB available currently which integrates debugging, UI design and autocompletion/documentation I'm really happy about any IDE, though, no matter what language it was written in.
Kuan Hsu
Posts: 624
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB

Post by Kuan Hsu »

poseidonFB is not the same as Poseidon, in fact, 9 years pass(I started join Poseidon project at 2006), I already forget what I coding about Poseidon......@@

I like light-weight GUI framework and it should be easy to use, and I want to use linux O/S in future, Although I got many problems about D with IUP, I think I will continue this project

Future Plan:
1. Debug......@@
2. Advance the parser
3. Add GDB support

Dear St_w, the font chooser is still crash? Please try my new commit and tell me what the result is, thanks.

Kuan Hsu
St_W
Posts: 1634
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: FreeBasic IDE-poseidonFB

Post by St_W »

Kuan Hsu wrote:Dear St_w, the font chooser is still crash? Please try my new commit and tell me what the result is, thanks.
Yes, unfortunately it still crashes. Stacktrace looks similar to the previous ones again, so I'm not uploading a new Minidump. Tell me if you'd like to have one for debugging, then I'll create & upload. But, as already mentioned, the problem seems to be still the same one as in the first builds (at least the results are the same).
I'm wondering why it does not crash on your PC or on anyone else's PC (at least no one else has reported about that crash yet). I have tried on several PCs I own (notebooks and desktops) and it has crashed on each of them!
Kuan Hsu
Posts: 624
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB

Post by Kuan Hsu »

St_W wrote:I'm wondering why it does not crash on your PC or on anyone else's PC (at least no one else has reported about that crash yet). I have tried on several PCs I own (notebooks and desktops) and it has crashed on each of them!
Hm.......
Please try http://www.mediafire.com/download/ipfah ... FB_test.7z
The 7-z achrive has two files, please replace the poseidonFB.exe and extract poseidonFB_2.exe to your folder, please run the exe and see if crashs or not(the poseidonFB_2.exe just only call the IUP predefined dialog --IupFontDlg)

Thank you.
St_W
Posts: 1634
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: FreeBasic IDE-poseidonFB

Post by St_W »

both executables, the new poseidonFB.exe and the added poseidonFB_2.exe crash when I do:
  1. click "Option" (in menu)
  2. click "Preference" (in submenu)
  3. click "Editor" (tab header)
  4. double click any entry in the "Default_Font" list.
btw.: You can also find me in FreeBasic's official IRC channel on FreeNode; that would probably allow a faster message exchange, if you wish.
noop
Posts: 130
Joined: Sep 18, 2006 10:29

Re: FreeBasic IDE-poseidonFB

Post by noop »

St_W wrote:both executables, the new poseidonFB.exe and the added poseidonFB_2.exe crash when I do:
Was this resolved "behind the scenes"? I tested it and it doesn't crash for me.

Bug report:
1) Compiling/Executing doesn't allow spaces in path names.
2) Only Quick-Running works. Pressing "Compile File" doesn't create an executable.
3) The current working directory is always set to the path from which Poseidon is run.

Feature-Request:
1) CTRL+S (save file), CTRL+SHIFT+S (save all files), CTRL+W (close file/tab)
2) Allow creating and running a new file without saving it (I like to test code snippets without saving them).
3) Drag&Dropping of sourcecode files.
St_W
Posts: 1634
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: FreeBasic IDE-poseidonFB

Post by St_W »

noop wrote:
St_W wrote:both executables, [..] crash [..]
Was this resolved "behind the scenes"? I tested it and it doesn't crash for me.
Yep, we had a discussion on IRC a while ago and finally found out that it was the IUP library that caused the crash. Updating the library to a newer (the current) version did fix the crash issue, however, we did not try any further e.g. whether there exist any side effects when using a newer version. I do not know whether a newer library version is already integrated in the lastest download, but I don't think so. Anyway, the crash seems to occur under special conditions only as it seems, as I'm the only one reporting about that crash up to now (I tested on different computers with different OS versions, though).

I agree on the feature requests; I would also like to see this (and a lot more :-) ...).
Kuan Hsu
Posts: 624
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB

Post by Kuan Hsu »

noop wrote: Bug report:
1) Compiling/Executing doesn't allow spaces in path names.
2) Only Quick-Running works. Pressing "Compile File" doesn't create an executable.
3) The current working directory is always set to the path from which Poseidon is run.

Feature-Request:
1) CTRL+S (save file), CTRL+SHIFT+S (save all files), CTRL+W (close file/tab)
2) Allow creating and running a new file without saving it (I like to test code snippets without saving them).
3) Drag&Dropping of sourcecode files.
Bug:
1. I forgot pass " " to run command, it's easy to fix(DONE)
2. "Compile" means create a obj file, I'll change to create excute file(DONE)
3. Change current workiing directory is for....?(DONE)

Feature:
1. Got it(DONE)
2. I need create a temp file to do this request, It shouldn't too difficult.(DONE)
3. This work is about IUP, I'll try later...(DONE)
Last edited by Kuan Hsu on Oct 06, 2015 15:19, edited 3 times in total.
Kuan Hsu
Posts: 624
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB

Post by Kuan Hsu »

St_W wrote:I agree on the feature requests; I would also like to see this (and a lot more :-) ...).
This week I'll test GDB and try to add to poseidonFB^^
diskay
Posts: 17
Joined: Jan 06, 2010 9:36
Location: china

Re: FreeBasic IDE-poseidonFB

Post by diskay »

中国人吧,有没中文版本的,另外代码提示有点问题,保存之后才能生效。
Kuan Hsu
Posts: 624
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB

Post by Kuan Hsu »

diskay wrote:中国人吧,有没中文版本的,另外代码提示有点问题,保存之后才能生效。
1. 目前沒計畫加上多國版本
2. 可直接按快捷鍵F2,或在頁面上按右鍵->選擇Reparse
noop
Posts: 130
Joined: Sep 18, 2006 10:29

Re: FreeBasic IDE-poseidonFB

Post by noop »

Kuan Hsu wrote:
noop wrote: Bug report:
3) The current working directory is always set to the path from which Poseidon is run.
Bug:
3. Change current workiing directory is for....?
I've come to expect this as a default behaviour. Writing files currently puts them into the folder where Poseidon resides in (the working directory), unless specified otherwise. If I launch a programme from within an IDE I expect the result to be the same as if I had run it directly from a file explorer.
bcohio2001
Posts: 556
Joined: Mar 10, 2007 15:44
Location: Ohio, USA
Contact:

Re: FreeBasic IDE-poseidonFB

Post by bcohio2001 »

Looks promising! Did not go to in-depth with use, but found a bug?

Using Windows 10.
Load a file with space in name. Example: "Wordy Numbers.bas"
In the Outline view with list of variables, etc. Click on one of the variables and opens a new tab with the name "Numbers.bas"
Kuan Hsu
Posts: 624
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB

Post by Kuan Hsu »

noop wrote:I've come to expect this as a default behaviour. Writing files currently puts them into the folder where Poseidon resides in (the working directory), unless specified otherwise. If I launch a programme from within an IDE I expect the result to be the same as if I had run it directly from a file explorer.
Current Work Directory and DND Fixed and added, please check...^^
Last edited by Kuan Hsu on Oct 06, 2015 15:21, edited 2 times in total.
Kuan Hsu
Posts: 624
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB

Post by Kuan Hsu »

bcohio2001 wrote:Looks promising! Did not go to in-depth with use, but found a bug?

Using Windows 10.
Load a file with space in name. Example: "Wordy Numbers.bas"
In the Outline view with list of variables, etc. Click on one of the variables and opens a new tab with the name "Numbers.bas"
Fixed, please check...^^
Post Reply