FreeBasic IDE-poseidonFB(Update 2019.06.16)

User projects written in or related to FreeBASIC.
Kuan Hsu
Posts: 415
Joined: Sep 16, 2007 15:12
Location: Taiwan

FreeBasic IDE-poseidonFB(Update 2019.06.16)

Postby Kuan Hsu » Sep 13, 2015 10:30

Hello everyone!

sorry for my poor english!

I've written a new freebasic IDE is called -- poseidonFB
code by D programming language and IUP framework and based on Scintilla component
(Windows: D 1.076 + Tango 0.99.9 +IUP 3.27)
(Linux: D 1.074 + Tango 0.99.9 +IUP 3.27 )

PoseidonFB support:
1. Syntax highlighting
2. Project manager
3. Autocompletion & Calltip
4. Function / Type / Variable... treeview
5. Find / Replace in document or project
6. Jump to defintion
7. Utf-8/16/32 decode & encode
8. Debug
9. Compile / Quick run / Build project
10. etc......

It still in early beta stage but usable, please enjoy it!

Japanese translated intro: http://makoto-watanabe.main.jp/freebasic/tipsPoseidonFB.html
Japanese poseidonFB Language Pack: https://bitbucket.org/KuanHsu/poseidonfb/downloads/
Source Code: https://bitbucket.org/KuanHsu/poseidonfb/
Quick tutorial: http://www.freebasic.net/forum/viewtopic.php?f=8&t=23935&p=211429#p211429
poseidonFB Manual:https://bitbucket.org/KuanHsu/poseidonfb/downloads/

Download: Bitbucket Download -> Download repository
or
Win32:poseidonFB.7z V0.411(2019/06/16)
Linux 64bit:poseidonFB_x64 V0.411(Built and tested at Linuxmint 17.3 64bit, Linuxmint 18 64bit)(Linux version can't setup the window background color)
Need install the IUP libs:https://sourceforge.net/projects/iup/files/3.25/Linux%20Libraries/

Install modified iup_scintilla: ( Linux )

poseidonFB use modified libiup_scintilla.so for correct code folding, it can be download from https://bitbucket.org/KuanHsu/poseidonfb/downloads/, extract libiup_scintilla.so to /usr/lib/ (need admin)

Window 7:
Image

Linux 64:( Linux Mint 18.3 Cinnamon 64bit )
Image

( V0.411: Modified keyword case convert; added QB-IDE keyword case convert; cancel "Function Title" width; updated IUP 3.27 )
( V0.410: Modified codecompletion bug while "Auto Convert Keyword Case" is ON )
( V0.409: Modified parser bug -- ".keyword / ->keyword"; try to fix crash bug )
( V0.408: Fixed NAMESPACE codecomplete crash bug; modified "Keyword Case Convert" )
( V0.407: Added "en-Keyboard layout" option; modified divide-word rule while using "Show Type" or "Jump Definition )
( V0.406: Modified parser, to added "Naked" keyword and fixed "Sub" keyword in asm )
( V0.405: Added "Miscellaneous" in "Project" panel )
( V0.404: Added "EXTRAASCENT" and "EXTRADESCENT" at "[size]" in editorSettings.ini )
( V0.403: Fixed critical crash bug while both Codecomplete & Calltip threads running at same time; modified "Search/Replace" to change "Function Title" and auto expand )
( V0.402: Fixed "Compile & Run" bug )
( V0.401: Focus last edited document while using "Load Previous Document"; fixed Ctrl+L-Click to add breakpoint on margin in Windows )
( V0.400: Updated to IUP 3.25; added "Close Right" )(Need update all *.xpm)
( V0.399: Fixed "Run" crash bug when no project existed; modified project tree collapse crash bug; re-modified linux crash bug when autocomplete in back thread )
( V0.398: Fixed linux crash bug while keying DOT in autocomplete list; added "Import All Files"; modified project files order )(Need update all *.xpm)
( V0.397: Modified "Run" command also use new "Focus" target name; added create new dir while "Project Dir" issn't existed; added "Enable Compile At Back Thread" option )
( V0.396: Fixed 'Autocomplete' position issue; added 'Multiple Settings' in 'Project'; modified Build/Compile at different thread )
( V0.395: Updated to IUP3.24; added 'Delete double quote/paren/bracket/curly'; changed the font using in dialog, now using 'Default Font'; modified plugin; added Simplified Chinese.lng( thank to Takase ) )(Need update all *.xpm)
( V0.394: Prevent "Infinite Loop" in main parser loop; modified scanner code to prevent unexpected memory bug )
( V0.393: Fixed Cancel issue about close poseidonFB; little modified "Project" layout )
( V0.392: Fixed memory leak when reset the parser; little modified "Outline" layout )
( V0.391: Load project while starting poseidonFB if "Load Previous Documents" = ON )
( V0.390: Fixed memory leak when open file )
( V0.389: Added Key support at "Search" dialog; modified "POSEIDONFB_COMMANDLINE" action without send "SAVEPOINT" attribute )
( V0.388: Fixed "Mark Next" sometimes no respond bug; added IUP name attributes for plugin support )
( V0.387: Modified "Set Custom Tool..." setting behavior; added plugin support using IUP )
( V0.386: Fixed "Find v" not correct bug; fixed "CallTip" trigger many times bugs( ex: press TAB multiple lines....) )
( V0.385: Fixed sometime the font setting can only trigger one time bug; fixed "CallTip" crash issues )
( V0.384: Added "CallTip" also used "Codecomplete AT Back Thread", less key-in delay )
( V0.383: Modified memory leak of "Preference" dialog; removed some test code; disabled load files using back thread )
( V0.382: Improved "Call Tip" )
( V0.381: Modified "Codecomplete AT Back Thread", make more stable and runable in linux )
( V0.380: modified "AutoComplete", overwrite everything until the next non-identifier character or insert are can be selection; modified iup_scintilla.dll; added "Enable Codecomplete AT Back Thread" option in "Preference" )
( V0.379: Modified new "Find/Replace" focus issue; little modified "Preference" and "Project Properties" layout )
( V0.378: Changed "Find/Replace" dialog layout; modified "AutoComplete", now it overwrite everything until the next non-identifier character; updated Spanish.lng( thank to c-sanchez ) )(Need update all *.xpm)
( V0.377: Added "Save Document Status" option; modified "Comment Line" behavior; disabled "Auto Convert Keyword Case" action in string )
( V0.376: Fixed scroll to linenumber bug while some line fold; modified "Auto Convert Keyword Case" trigger ruler; added warning dialog while without project dir in "Project Properties" )
( V0.375: Seperated "(Un)Comment"; added "Set As Main Module" ; fixed linux version ParserLive! crash bug )
( V0.374: Fixed "->" codecompletion not work bug; fixed "Auto Convert Keyword Case" bugs; fixed "Close All" crash bug )
( V0.373: Modified some code about "Choose Font" and dialog size )
( V0.372: Fixed "Pass One File To Compiler" save files before build not work bug )
( V0.371: Added "Pass One File To Compiler" option in "Project Properties", using at "Build Project /ReBuild Project" )
( V0.370: Modified "Set Custom Tools..." and some little bugs )
( V0.369: Modified "Auto End"; modified "Set Custom Tools..." )
( V0.368: Fixed "Save As" bug )
( V0.367: Modified "Debug" to more convenient; updated English.lng( thank to Takase ) )(Need update all *.xpm)
( V0.366: Modified "Enable Parser" & "Enable Include Autocomplete" & "Enable KeyWord Complete" behavior; updated iup_scintilla.dll(Windows) )
( V0.365: Fixed create "New File" crash stupid bug )
( V0.364: Modified codecomplete; fixed "Preference" dialog close crash bug )
( V0.363: Fixed "Set Custom Compiler Options ..." dialog layout error in Win10; try to fix open file crash error, enabled array bounds checking )
( V0.362: Modified some dialog loulay; added "Cut" & "Copy" & "Paste" shortcuts; added "Bar Size" option in "Preference"; modified variables display style in "Watchlist"; modified codecompletion code; modified "Middle Button Scroll" behavior )
( V0.361: Modified mouse action on margin; modified codecompletion code )
( V0.360: Rewrite some code about "Goto Member Procedure" code; try to fixed "Load prev Documents" crash bug )
( V0.359: Modified "Goto Member Procedure" code; fixed "SaveAll" bug )
( V0.358: Modified "Goto Definition" code )
( V0.357: Recompile iup_scintilla dynamic lib to support nested comment and other fold-block( do~loop, while~wend....), added support include *.bi to insert source code with codecomplete )
( V0.356: Fixed "Fold" bugs by reparse the freebasic lexer; fixed filedialog bugs in linux )
( V0.355: Add new popup menu on doucument margin )(Need update all *.xpm)
( V0.354: Fixed linux debug bugs; improve codecomplete effectiveness; fixed 'Menu->View' to 'Preference' connection )
( V0.353: Modified linux terminal window title )
( V0.352: Modified "Run" command with linux terminal window )
( V0.351: Fixed parser tokenize "Virtual" error bug )
( V0.350: Fixed "Auto Insert End" while "Declare", modified "Brace Match" more correctly )
( V0.349: Combine poseidonFB & poseidonD sources code; modified "Auto Insert Block End" )
( V0.348: Seperate "Set Custom Compiler Options..." and "Compiler Options / EXEArguments"; Modified "Compile & Run" behavior )
( V0.347: Fixed "Preference" color apply no change bug; added consoleLauncher.exe window position setting )
( V0.346: Fixed "Find/Replace" bugs )
( V0.345: Modified "Build Project" function to check existed *.bas/*.o to compile/link to build project, added "Rebuild Project" )(Need update all *.xpm)
( V0.344: Fixed "Auto Insert End" bug )
( V0.343: Fixed after clean undo/redo buffer can't save bugs; modidied iup_scintilla.dll; fixed Preference dialog memory leak bug; tried to add DPI-aware support )
( V0.342: Modified for "FOCUS" problem; updated Russian.lng( thank to dixiony ) )
( V0.341: Updated English.lng/Traditional Chinese.lng; modified "Preference" dialog; modified DnD code about "Split-views" )
( V0.340: Added "Auto Close"; little modified about "Split-views" )
( V0.339: Added "Rotate Sub Tabs"; modified "Menu->Close All" to "Menu->Close All Tabs"; added "Clean Undo/Redo buffer" in right-click popup menu; fixed use FBdebugger crash bugs )
( V0.338: Fixed "Find/Replace" bugs about use "Replace" & "Replace All" )
( V0.337: Added Clean Undo/Redo buffer button; added split documents view, updated Russian.lng( thank to dixiony ) )
( V0.336: Modified "Auto Insert Block End" IF..ENDIF behavior; modified to enable "Include Autocomplete" and "Keyword Autocomplete" when disable Parser )
( V0.335: Modified search parsed node bug; Changed if "Enable Document Multi Selection" = V, the Ctrl + LeftClick( goto definition ) will disable )
( V0.334: Modified SCI_SETSCROLLWIDTHTRACKING = true; added Selection of text in a rectangular block, using Alt + LeftClick + Drag; added Selecting all the text between the parentheses, using Ctrl + Middle-Click; updated Russian.lng( thank to dixiony ) )
( V0.333: Fixed linux crash bug; modified linux "Include Autocomplete" couldn't display 2nd layer; fixed "Outline Tree" still exist at NONAME*.bas whiile re-creating )
( V0.332: Modified parse current line of "ParseLive!"; enable SCI_SETSCROLLWIDTHTRACKING = true )
( V0.331: Modified "message window" and "Search" & "Serach In Files" dialog displaying; modified "Search" & "Serach In Files" dialog layout; updated Japanese.lng, thank to Makoto WATANABE )
( V0.330: Update some localizations; "message window" now be minimized follow main dialog )
( V0.329: Modified not ascii-char crashed bug again; modified enummember autocomplete )
( V0.328: Modified Escaped String Literal parser; modified variable in Type..End Type Block parser )
( V0.327: Added hidden dialog opacity options in editorSettings.ini )
( V0.326: Modified "Goto Member Precedure"; using Win32 API instead of playsound.exe; reduce archive size; added "All Supported Files" )
( V0.325: Modified Ctrl+Click( Goto Definition/Goto Member Precedure ) behavior )
( V0.324: Added "Navigation"; added caret line of "Message"; fixed "Set Custom Compiler Option" apply bugs )(Need update all *.xpm)
( V0.323: Modified "Message" windows for Compile/Build/QuickRun action; added item number of error annotation )
( V0.322: Modified "Message" windows to use IupScintilla for colorize; fixed linux version bugs )
( V0.321: Updated to IUP3.23; added DWELL_CB action -> "Show Type" )
( V0.320: Modified project file -- xml format to ini format, load xml/ini format and save only ini format; added icons; fixed project tree multiple selection behavior; updated German.lng, thank to St_W )(Need update all *.xpm)
( V0.319: Added "Clear" & "Close" & "OPACITY" on "IDE Message"; "Quick Run" using selected encodings; modified Russian.lng( thank to WQ1980 ) )
( V0.318: Fixed "Add files" not working bug; enabled multple selections in project tree; added "IDE Message"; enabled Ctrl+ left/Right Click to "Goto Definition"/"Goto Member Procedure"; fixed not ascii-char crashed bug; modified "Preference" layout; added Simplified Chinese.lng( thank to wangtao03 ) )
( V0.317: Fixed "Short-Cut" setting bugs )
( V0.316: Added "Middle Button Scroll" option )
( V0.315: Fixed variable parser in TYPE..END TYPE block; added Monokai theme, modified Spanish.lng( thank to c-sanchez ); modified "Set Custom Tools" apply behavior )
( V0.314: Enabled "Show Annotation" and double-click output window while using "Quick Run" )
( V0.313: Relayout "Preference"; modified setting font effect on document )
( V0.312: Modified "Project Tree" items order; modified "Preference" to have more space; fixed "Goto Definition" on CONSTRUCTOR / DESTRUCTOR )
( V0.311: Fixed "Goto Definition" & "Show Type" not work after reparse bug )
( V0.310: Modified "View" menu, added "Windows" menu; used HtmlHelpW API to show manual )
( V0.309: Get back "Set Eol" option; updated IUP svn r4408 )
( V0.308: Fixed "Include Autocomplete" not trigger at linux EOL )
( V0.307: Added "Include Autocomplete" )(Need update all *.xpm)
( V0.306: Fixed open/save as non*.bas/*.bi file tab title bug; enabled SCI_SETBACKSPACEUNINDENTS )
( V0.305: Updated IUP svn r4373; cancel toolbar Outline/Message buttons; try to fixed crash bugs( about redo ) )
( V0.304: Added "FullScreen"; fixed use mouse wheel crash bug; modified linenumber margin width by zoom and different EOL sign )
( V0.303: Update IUP SVN r4360 using Visual C++ 2010; modified indentation issue when "Auto End" is "ON"; modified selection color; linenumber margin size more "dynamic" )
( V0.302: Fixed make new color template crash bugs; added "Fixed Linenumber Margin Size" option; modified autocomplete trigget rule; updated Russian.lng & Ukrainian.lng, thank to ur_naz )
( V0.301: Fixed color template save bugs; fixed use mouse wheel on StatusBar/Filelist/All SplitLine crash bugs )
\( ^∀^)/ ( This is sparta!!!! poseidonFB Sparta V0.300: Fixed color template won't work bug, added an delete template button; fixed "SAVESTATE" bugs; added file filter for open manual files; fixed iupscintilla bug about "TARGETEND"; added new feature about right-click status bar; advanced "GOTO" set; double-click to collapse Outline/Project, Message window... )(Need update all *.xpm)(Need use IUP svn r4360 in rev.300 archive)
Last edited by Kuan Hsu on Jun 16, 2019 2:04, edited 510 times in total.
marcov
Posts: 2750
Joined: Jun 16, 2005 9:45
Location: Eindhoven, NL
Contact:

Re: FreeBasic IDE-poseidonFB

Postby marcov » Sep 13, 2015 10:54

Why do you use a monospaced font for the left (treeview) pane? IMHO that wastes space and doesn't add much.
integer
Posts: 378
Joined: Feb 01, 2007 16:54
Location: usa

Re: FreeBasic IDE-poseidonFB

Postby integer » Sep 13, 2015 11:21

@marcov
Were there some good points to the IDE?
It's from a First Post of a new member and I have not attempted it (yet). I'm not lazy (more like cautious).
An editor is a highly complex program and this is the first post of a new member.
What is the editor you use for FreeBasic and how does this one compare?
fxm
Posts: 8959
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: FreeBasic IDE-poseidonFB

Postby fxm » Sep 13, 2015 11:44

Yes first post, but not new member:
Kuan Hsu

Posts: 1
Joined: Sep 16, 2007 17:12
Has thanked: 0 time
Been thanked: 0 time

8 years of work!
I am also waiting for comment from intrepid testers!
marcov
Posts: 2750
Joined: Jun 16, 2005 9:45
Location: Eindhoven, NL
Contact:

Re: FreeBasic IDE-poseidonFB

Postby marcov » Sep 13, 2015 11:59

integer wrote:@marcov
Were there some good points to the IDE?


It was just a first impression from the screenshot. It was what directly me struck me as strange.

What is the editor you use for FreeBasic and how does this one compare?


I don't really use FB, I follow it this forum for compiler and RTS related issues.
When I use it I make small stub programs in joe and simply compile them on the cmdline.
Kuan Hsu
Posts: 415
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB

Postby Kuan Hsu » Sep 13, 2015 12:06

fxm wrote:Yes first post, but not new member:
Kuan Hsu

Posts: 1
Joined: Sep 16, 2007 17:12
Has thanked: 0 time
Been thanked: 0 time

8 years of work!
I am also waiting for comment from intrepid testers!


HA HA...Not work for 8 years,
I worked this project at June, 2015
dodicat
Posts: 5757
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: FreeBasic IDE-poseidonFB

Postby dodicat » Sep 13, 2015 12:45

WinRar extracts this but not properly.
Is there a free .7z extractor?

By the way I've had a look at D in the past.
It looks powerful but difficult.

If I get your file extracted I shall certainly test it out.
fxm
Posts: 8959
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: FreeBasic IDE-poseidonFB

Postby fxm » Sep 13, 2015 12:49

7-Zip Portable | PortableApps.com - Portable software for USB, portable and cloud drives:
http://portableapps.com/apps/utilities/7-zip_portable
Imortis
Moderator
Posts: 1614
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: FreeBasic IDE-poseidonFB

Postby Imortis » Sep 13, 2015 13:18

I tested it, and as you say it is still in beta. I had a few things that did not work as expected, but it shows promise!

Keep up the good work. I can't want to see it grow.
St_W
Posts: 1466
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: FreeBasic IDE-poseidonFB

Postby St_W » Sep 14, 2015 10:12

I tried it and it didn't use a monospaced font for the editor, probably because I don't have a font named "Inconsolata", which is set in the "Preference" dialog. When I try to change the font (press the "..." button) the executable crashes.

I would also prefer to have monospaced fonts only in the editor and console output, but not in dialogs, code outline, file tab headers, ...
Kuan Hsu
Posts: 415
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB

Postby Kuan Hsu » Sep 14, 2015 12:56

Monospaced is my personal aesthetic, but it seems to not so popular...... ><

I will add all font setting, I still can keep my aesthetic but everybody can set the font by themselves.

About crash, I still have no idea what's happens, but I will rewrite the code and test it.
dodicat
Posts: 5757
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: FreeBasic IDE-poseidonFB

Postby dodicat » Sep 14, 2015 13:39

I cannot get the ide to work with Win XP.
I get the ide running OK, but cannot compile.
Also, I don't want to use the de-bugger, so how do I do that?
I had to download an extra .dll file, maybe this is the reason.

The ide leaves:

at the beginning of a source code.

I have to get rid of it to run the file on fbide once more.


Maybe it is just not XP compatible.
XP is outdated now anyway.
St_W
Posts: 1466
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: FreeBasic IDE-poseidonFB

Postby St_W » Sep 14, 2015 14:03

Kuan Hsu wrote:About crash, I still have no idea what's happens, but I will rewrite the code and test it.

Unfortunately I haven't any experience with D and no D compilers installed.
So here's the Minidump+Heap: http://www.filedropper.com/poseidonfb (16MB compressed; 66MB uncompressed)
Lothar Schirm
Posts: 333
Joined: Sep 28, 2013 15:08
Location: Bavaria, Germany

Re: FreeBasic IDE-poseidonFB

Postby Lothar Schirm » Sep 14, 2015 17:23

Looks very promising! I have found a mistake: If you change the debugger path, it will be written into the compiler path.
Kuan Hsu
Posts: 415
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB

Postby Kuan Hsu » Sep 14, 2015 17:30

St_W wrote:Unfortunately I haven't any experience with D and no D compilers installed.
So here's the Minidump+Heap: http://www.filedropper.com/poseidonfb (16MB compressed; 66MB uncompressed)


I've reupload the new version of poseidonFB which can set the font of Outline, Project...
The code had be re-written, please check it crash or not?

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 3 guests