The crash is a "not responding" crash. The document tab does not open when it crashes.Kuan Hsu wrote:...
The crash is close poseidonFB immediately or no respond?
If no resopnd, the document tab has already opened or not?
opened = Load file and create scintilla error
no open = parser error
I think the linux version has the same problem, like "Load Prev Documents" crash...
Please help......
FreeBasic IDE-poseidonFB(Update 2024.03.03)
Re: FreeBasic IDE-poseidonFB(Update 2018.01.28)
Re: FreeBasic IDE-poseidonFB(Update 2018.01.28)
Hi All
It hasn't happened to me since, but:
In Linux the crash happens so quickly that it is hard to see how many documents have opened, but definitely it is at
the end of the first Doc, or the start of the second.
Then Poseidon disappears completely , and a few versions ago, you could attempt it again and sometimes you would succeed.
Regards
It hasn't happened to me since, but:
In Linux the crash happens so quickly that it is hard to see how many documents have opened, but definitely it is at
the end of the first Doc, or the start of the second.
Then Poseidon disappears completely , and a few versions ago, you could attempt it again and sometimes you would succeed.
Regards
Re: FreeBasic IDE-poseidonFB(Update 2018.01.28)
I've no idea what's wrong about load document or create a scintilla class object, I change some code about parser tree and build poseidonFB with bounds check and added some exception.....Imortis wrote:The crash is a "not responding" crash. The document tab does not open when it crashes.Kuan Hsu wrote:...
The crash is close poseidonFB immediately or no respond?
If no resopnd, the document tab has already opened or not?
opened = Load file and create scintilla error
no open = parser error
I think the linux version has the same problem, like "Load Prev Documents" crash...
Please help......
I open the files again and again but still can't reproduce the issue, umm......I think I need more check....
Re: FreeBasic IDE-poseidonFB(Update 2018.01.28)
Thank you very much for the correction.Kuan Hsu wrote:Rev.363 had commit.....
(surprising the previous bug with Win10 and not Win7!)
Re: FreeBasic IDE-poseidonFB(Update 2018.01.28)
As my test, we need cancel load and parse the document in another thread......Dinosaur wrote:Hi All
It hasn't happened to me since, but:
In Linux the crash happens so quickly that it is hard to see how many documents have opened, but definitely it is at
the end of the first Doc, or the start of the second.
Then Poseidon disappears completely , and a few versions ago, you could attempt it again and sometimes you would succeed.
Regards
Linux issue is existed when load files(>1), so load prev documents will crash frequently, I added some code to control while loading multi files not create a thread to load, I think I've solved the problem.
About the window crash issue, please tell me if it get fix at rev-364 or not?
Re: FreeBasic IDE-poseidonFB(Update 2018.01.31)
Hi All
In Linux Mint 18.3 Cinnamon.
Worth noting that I have NOT had a crash with "Load Previous Documents"
When creating a new project which has no files yet,
In Projects window: Right Click Sources / New File /Test.bas will create the new file but immediately close Poseidon.
Then when you restart Poseidon, and open Test.bas there is an error screen openFile() Error:
Array index out of bounds
: 1501
Regards
In Linux Mint 18.3 Cinnamon.
Worth noting that I have NOT had a crash with "Load Previous Documents"
When creating a new project which has no files yet,
In Projects window: Right Click Sources / New File /Test.bas will create the new file but immediately close Poseidon.
Then when you restart Poseidon, and open Test.bas there is an error screen openFile() Error:
Array index out of bounds
: 1501
Regards
Re: FreeBasic IDE-poseidonFB(Update 2018.01.31)
The issue should be fixed at rev.365, please check it~~Dinosaur wrote:Hi All
In Linux Mint 18.3 Cinnamon.
Worth noting that I have NOT had a crash with "Load Previous Documents"
When creating a new project which has no files yet,
In Projects window: Right Click Sources / New File /Test.bas will create the new file but immediately close Poseidon.
Then when you restart Poseidon, and open Test.bas there is an error screen openFile() Error:
Array index out of bounds
: 1501
Regards
Re: FreeBasic IDE-poseidonFB(Update 2018.01.31)
I've already modified LexBasic.cxx file and build linux version libraries( libiup_scintilla.so )
https://bitbucket.org/KuanHsu/poseidonfb/downloads/
How to install:
In my case( Linux Mint Cinnamon 18.3 x64 ), extract libiup_scintilla.so to /usr/lib/ (need admin)
It support:
Private/Protected/Public Function/Sub... fold
Cancel "Function =" fold
Windows DLL wil later updated.
Please try...^^
https://bitbucket.org/KuanHsu/poseidonfb/downloads/
How to install:
In my case( Linux Mint Cinnamon 18.3 x64 ), extract libiup_scintilla.so to /usr/lib/ (need admin)
It support:
Private/Protected/Public Function/Sub... fold
Cancel "Function =" fold
Windows DLL wil later updated.
Please try...^^
Re: FreeBasic IDE-poseidonFB(Update 2018.01.14)
I've tested many times but I couldn't speed up the speed of search AST nodes.....St_W wrote:Unfortunately code completion really slows down the editor considerably when bigger headers (like the windows headers) are used. Would be great if the performance could be improved or at least the impact on the input lag could be reduced (without turning off code completion completely). Apart from that I really like the editor for qick tests and smaller projects.
With big headers, every word key-in must search thousands of nodes, it's need a cost, smetimes the cost is too expensive
Here is my suggestions:
(1) Try to set "Autocomplete Trigger" = 0, It turn off auto-search the AST nodes, it will large speed increase!
(2) Then use codecomplete manually, after key-in, use Ctrl+Q( short Cut ) to search the AST nodes and popup the results.
Re: FreeBasic IDE-poseidonFB(Update 2018.02.04)
Hi All
Kuan Hsu, just heard about earth quake in your area.
Hope you are well.
Regards
Kuan Hsu, just heard about earth quake in your area.
Hope you are well.
Regards
Re: FreeBasic IDE-poseidonFB(Update 2018.02.04)
Thanks, I'm fine!Dinosaur wrote:Hi All
Kuan Hsu, just heard about earth quake in your area.
Hope you are well.
Regards
it's terrible!
Re: FreeBasic IDE-poseidonFB(Update 2018.02.04)
Hi I am new to the forum and I made an alternate English translation(Not the best of course) for poseidonFB. I am sorry if there are grammatical errors because I am not very good in English nor a native English speaker.
English.lng
English.lng
Code: Select all
file=File
new=New
open=Open
save=Save
saveas=Save As
saveall=Save All
close=Close
closeall=Close All
closealltabs=Close All Tabs
recentfiles=Recent Files
recentprjs=Recent Projects
clearall=Clear All
exit=Exit
edit=Edit
redo=Redo
undo=Undo
cut=Cut
copy=Copy
paste=Paste
commentline=(Un)Comment Line
selectall=Select All
search=Search
findreplace=Find / Replace
findnext=Find Next
findprev=Find Previous
findreplacefiles=Find / Replace In Files
goto=Goto Line
line=Line
windows=Windows
view=View
outline=Outline
message=Message
fullscreen=Fullscreen
prj=Project
newprj=New Project
openprj=Open Project
importprj=Import Fbedit Project
saveprj=Save Project
saveallprj=Save All Projects
closeprj=Close Project
closeallprj=Close All Projects
properties=Properties...
openinexplorer=Open In Explorer
removefromprj=Remove From Project
rename=Rename File
newfile=New File
filename=File Name
newfolder=New Folder
foldername=Folder Name
addfile=Add File(s)
build=Build
compile=Compile File
compilerun=Compile File And Run
run=Run
buildprj=Build Project
rebuildprj=ReBuild Project
quickrun=Quick Run
debug=Debug
rundebug=Run Debug
compiledebug=Compile With Debug
builddebug=Build Project With Debug
options=Options
tools=Tools
seteol=Set EOL Character
converteol=Convert EOL Character
convertencoding=Convert Encoding
convertcase=Convert Keyword Case
uppercase=UPPERCASE
lowercase=lowercase
mixercase=Mixedcase
setcustomtool=Set Custom Tools...
customtool1=Custom Tool(1)
customtool2=Custom Tool(2)
customtool3=Custom Tool(3)
customtool4=Custom Tool(4)
customtool5=Custom Tool(5)
customtool6=Custom Tool(6)
customtool7=Custom Tool(7)
customtool8=Custom Tool(8)
customtool9=Custom Tool(9)
language=Language
openlanguage=Choose Language...
preference=Preferences
compiler=Compiler
compilerpath=Compiler Path
debugpath=Debugger Path
x64path=x64 Compiler Path
compileropts=Compiler Options
compilersetting=Compiler Settings
errorannotation=Show Compiler Errors/Warnings Using Annotation
showresultwindow=Show Compiled Result Window
usesfx=Play Result SFX( When Result Window is OFF )
delexistexe=Before Compilation, Delete Existing Executables
consoleexe=Use Console Launcher To Run Program
parser=Parser
parsersetting=Parser Settings
enablekeyword=Enable Keyword Autocomplete
enableinclude=Enable Include Autocomplete
enableparser=Enable Parser
showtitle=Show Function Title
width=Width
showtypeparam=Show Type With Function Parameters
sortignorecase=Autocomplete List Is Ignore Case
selectcase=Selection Of Autocomplete List Is Case Insensitive
showlisttype=Show Autocomplete List Type
showallmembers=Show All Members( public, protected, private )
enabledwell=Enable Mouse Dwell to Show Type
parserlive=ParseLive! Level
none=None
light=Light
full=Full
update=Update Outline
trigger=Autocompletion Trigger
triggertip=Set The Value to 0 To Disable It
includelevel=Include Levels
editor=Editor
lnmargin=Show Linenumber Margin
fixedlnmargin=Fixed Linenumber Margin Size
bkmargin=Show Bookmark Margin
fdmargin=Show Folding Margin
indentguide=Show Indentation Guide
showcaretline=Hightlight Caret Line
wordwarp=Word Wrap
tabtospace=Replace Tab With Spaces
autoindent=Automatic Indentation
showeol=Show EOL Sign
showspacetab=Show Space/Tab
autoinsertend=Block complete
autoclose=Auto Close( quotes... )
coloroutline=Colorize Outline Items
showidemessage=Show IDE Messages
boldkeyword=Bold Keywords
bracematchhighlight=Show Brace Match Highlight
bracematchdoubleside=Use Double-Side Brace Match
multiselection=Enable Document Multi Selection
loadprevdoc=Load Previous Documents
middlescroll=Middle Button Scroll
controlcharsymbol=Set Control Character Symbol
tabwidth=Tab Width
columnedge=Column Edge
barsize=Bar Size
barsizetip=Needs a restart to take effect (2~5)
maker0=Maker0
maker1=Maker1
maker2=Maker2
maker3=Maker3
autoconvertkeyword=Keyword case conversion
font=Font
default=Default
'document=Document
leftside=Leftside
'fistlist=FileList
'project=Project
'outline=Outline
bottom=Bottom
'output=Output
'search=Search
'debug=Debug
annotation=Annotation
'manual=Manual
statusbar=StatusBar
color=Color
colorfile=Color Template
caretline=Caret Line
cursor=Cursor
prjtitle=Project Title
sourcefolder=Source Folder
sel=Selection
ln=Linenumber
foldcolor=FoldingMargin Color
selalpha=Selection Alpha
alphatip=Set 255 To Use Fore/BackColor\nSet 0 To Keep ForeColor
hlcurrentword=Highlight Current Word
hlcurrentwordalpha=Indicator Alpha
colorfgbg=Color/Foreground/Background
bracehighlight=Brace Highlight
manualerrorannotation=Error Annotation
manualwarningannotation=Warning Annotation
scintilla=Scintilla
SCE_B_COMMENT=SCE_B_COMMENT
SCE_B_NUMBER=SCE_B_NUMBER
SCE_B_STRING=SCE_B_STRING
SCE_B_PREPROCESSOR=SCE_B_PREPROCESSOR
SCE_B_OPERATOR=SCE_B_OPERATOR
SCE_B_IDENTIFIER=SCE_B_IDENTIFIER
SCE_B_COMMENTBLOCK=SCE_B_COMMENTBLOCK
shortcut=Short Cut
sc_findreplace=Find/Replace
sc_findreplacefiles=Find/Replace In Multiple Files
sc_findnext=Find Next
sc_findprev=Find Previous
sc_goto=Goto Line
sc_undo=Undo
sc_redo=Redo
sc_gotodef=Goto Definition
sc_procedure=Goto Member Procedure
sc_quickrun=Quick Run
sc_run=Run
sc_compile=Compile
sc_build=Build
sc_leftwindow=Toggle Left Window
sc_bottomwindow=Toggle Bottom Window
sc_showtype=Show Types
sc_reparse=Reparse
sc_save=Save File
sc_saveall=Save All
sc_close=Close File
sc_nexttab=Next Tab
sc_prevtab=Previous Tab
sc_newtab=New Tab
sc_autocomplete=Auto Completion
sc_compilerun=Compile File And Run
sc_comment=(Un)Comment
sc_backnav=Navigate Backwards
sc_forwardnav=Foward...
sc_backdefinition=Back Definition
keywords=Keywords
keyword0=Keyword0
keyword1=Keyword1
keyword2=Keyword2
keyword3=Keyword3
'manual=Manual
manualpath=Manual Path
manualusing=Use Help Manual
manual=Manual
about=About
configuration=Configuration...
setcustomoption=Set Custom Compiler Options...
bookmark=Bookmark
bookmarkprev=Previous Bookmark
bookmarknext=Next Bookmark
bookmarkclear=Clear Bookmark
outline=Outline
collapse=Collapse
showpr=Change Outline Node Title
refresh=Refresh
searchanyword=Search Any Word
hide=Hide
filelist=FileList
fullpath=FullPath
output=Output
clear=Clear
'tab
closeothers=Close Others
torighttabs=Send To Secondary View
tolefttabs=Send to Main View
rotatetabs=Split Views Horizontally
'popup window
highlightmaker=Highlight Maker...
highlghtlines=Highlight Line(s)
delhighlghtlines=Delete Highlighted Line(s)
colorhighlght=Select Color...
delete=Delete
showannotation=Show Annotation
hideannotation=Hide Annotation
removeannotation=Remove All Annotation
expandall=Expand All
contractall=Collapse All
'properties
prjproperties=Project Properties
general=General
prjname=Project Name
prjtype=Type
console=Console Application
static=Static Library
dynamic=Dynamic Link Library
prjdir=Project Directory
prjmainfile=Main file
prjtarget=Target Name
prjargs=Execute Arguments:
prjopts=Compile Options:
prjcomment=Comment
prjcompiler=FBC Path
include=Include...
includepath=Include Paths
librarypath=Library Paths
'search window
findwhat=Find What
replacewith=Replace It With
direction=Direction
forward=Forward
backward=Backward
scope=Scope
all=All
selection=Selection
casesensitive=Case Sensitive
wholeword=Whole Word
find=Find
findall=Find All
replacefind=Find/Replace
replace=Replace
replaceall=Replace All
countall=Count All
bookmarkall=Mark All
document=Document
alldocument=All Document
allproject=All Project
status=Status Bar
'short cut
shortcutname=ShortCut Name
shortcutkey=Current ShortCut Keys
'debug
runcontinue=Run/Continue
stop=Stop
step=Step
next=Next
return=Return
until=Until
terminate=Terminate
bp=Breakpoints
variable=Variables
watchlist=Watch List
add=Add
remove=Remove
removeall=Remove All
addtowatch=Add To Watchlist
'refresh=Refresh
locals=Locals
args=Arguments
shared=Shared
register=Registers
'caption
caption_new=New
caption_open=Open
caption_saveas=Save As
caption_cut=Cut
caption_copy=Copy
caption_paste=Paste
caption_selectall=Select All
caption_about=About
'caption_findreplace=Find/Replace
'caption_findreplacefiles=Find/Replace In Files
'caption_goto=Goto Line
caption_search=Search
caption_prj=Project
caption_openprj=Open Project
caption_importprj=Import FbEdit Project
caption_prjproperties=Project Properties
caption_preference=Preference
caption_argtitle=Compiler Options / EXE Arguments
caption_debug=Debug
caption_optionhelp=Compiler Options
'message
ok=OK
yes=Yes
no=No
cancel=Cancel
apply=Apply
bechange=has been changed, save it now?
samekey=Is the same with
needrestart=Needs a restart to change language
suredelete=Are you sure to delete file?
sureexit=Are you sure to exit poseidonFB?
opened=had already opened!
existed=had already existed!
wrongext=Wrong Ext Name!!
filelost=didn't exist!!
.poseidonbroken=Project error loading project setup file!!The XML file might be invalid or broken!!
.poseidonlost=has no valid XML file!
continueimport=The directory has poseidonFB project file, continue import anyway?
compilefailure=Failed to compile!
compilewarning=Compilation done with warning(s)!
compileok=Compilation success!
cantundo=This action can't be undone! Continue anyway?
exitdebug1=Exit debug right now?
exitdebug2=No debugging symbols found!! Exiting debug!
applycolor=Apply to other scintilla background color settings?
noselect=Nothing selected!
quest=Quest
alarm=Alarm
error=Error
foundword=Found Word.
foundnothing=Found Nothing!
exefile=Executables
basfile=freeBASIC Sources
bifile=freeBASIC Includes
supportfile=All Supported Files
lngfile=Language Files
chmfile=Microsoft Compiled HTML Help
allfile=All Files
fbeditfile=FbEdit Projects
Re: FreeBasic IDE-poseidonFB(Update 2018.02.11)
Hi,
Here is some feature requests.
1. HWND data type keyword is not showing in a special color as integer shows. Kindly display all data type keywords in same color
2. Is it possible to include variables, functions and types of "*.bi" file in intellisense ?
Let me explain this a little bit because i know my english is horrible.
Assume that i have a file with "bi" extension and it contains a type named "myType".
When i type code in my "bas" file, right after i type the letters "my", the intellisense should show "myType" with other items. And if i type a period right after "myType", then intellisense should show the public methods and public properties in myType.
3. If i type a function name from a "bi" file, right after i type a left bracket ( "(" ), there will be a tool tip which contains the parameter list of that function.
I know this must need some work. I hope the future updates will contain these features. Thanks in advance.
Here is some feature requests.
1. HWND data type keyword is not showing in a special color as integer shows. Kindly display all data type keywords in same color
2. Is it possible to include variables, functions and types of "*.bi" file in intellisense ?
Let me explain this a little bit because i know my english is horrible.
Assume that i have a file with "bi" extension and it contains a type named "myType".
When i type code in my "bas" file, right after i type the letters "my", the intellisense should show "myType" with other items. And if i type a period right after "myType", then intellisense should show the public methods and public properties in myType.
3. If i type a function name from a "bi" file, right after i type a left bracket ( "(" ), there will be a tool tip which contains the parameter list of that function.
I know this must need some work. I hope the future updates will contain these features. Thanks in advance.
Re: FreeBasic IDE-poseidonFB(Update 2018.02.11)
(1) poseidonFB has 4 colors for "KEYWORD", you can modify your own colors and keywords, using "Options" -> "Prefenence" -> "Keywords" tab to edit & "Color" tab to set colorkcvinu wrote:Hi,
Here is some feature requests.
1. HWND data type keyword is not showing in a special color as integer shows. Kindly display all data type keywords in same color
2. Is it possible to include variables, functions and types of "*.bi" file in intellisense ?
Let me explain this a little bit because i know my english is horrible.
Assume that i have a file with "bi" extension and it contains a type named "myType".
When i type code in my "bas" file, right after i type the letters "my", the intellisense should show "myType" with other items. And if i type a period right after "myType", then intellisense should show the public methods and public properties in myType.
3. If i type a function name from a "bi" file, right after i type a left bracket ( "(" ), there will be a tool tip which contains the parameter list of that function.
I know this must need some work. I hope the future updates will contain these features. Thanks in advance.
(2)(3) Oh, the recent reversion poseidonFB had a bug about "Save As", it added a dummy ".di" ext name at tail( it's for D language ), I'll fixed it; poseidonFB only parse *.bi and *.bas files, *.bi.di isn't parsed then intellisense and calltips are not working!
poseidonFB search #include "*.bi" follow freeBASIC rule:
Step 1: Relative from the directory of the source file
Step 2: Relative from the current working directory
Step 3: Relative from addition directories specified with the -i command line option
Step 4(Final): The include folder of the FreeBASIC installation (FreeBASIC\inc, where FreeBASIC is the folder where the fbc executable is located)
So if we create a test.bi with myType at D:\, but we create a new file without saving( ex: NONAME#0.bas ), although we type #include "test.bi" in NONAME#0.bas, poseidonFB don't know where the D:\test.bi is, the solved methods are:
a. Save NONAME#0.bas first, then put it in same dir as test.bi
b. Save test.bi to poseidonFB's dir( current working directory ) or the include folder of the FreeBASIC installation.
c. Use Project
Don't worry, my english is worst than your, haha~~
Re: FreeBasic IDE-poseidonFB(Update 2018.02.23)
FYI, HWND is not a FreeBASIC keyword or datatype. It is a constant defined in windows.bi (and other includes).kcvinu wrote:HWND data type keyword is not showing in a special color as integer shows.