Skip to content

Commit

Permalink
Code update 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulSquires committed Oct 6, 2018
1 parent 1e932a4 commit 7a52685
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 10 deletions.
Binary file modified Languages/deutsch.lang
Binary file not shown.
Binary file modified Languages/italian.lang
Binary file not shown.
Binary file modified Sample_Projects/VisualDesigner/FormTest.wfbe
Binary file not shown.
Binary file modified Sample_Projects/VisualDesigner/frmLogon.inc
Binary file not shown.
7 changes: 7 additions & 0 deletions Settings/codetips_winformsx.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,10 @@ T:wfxButton|BackColorDown,COLORREF|TextForeColor,COLORREF|TextBackColor,COLORREF
T:wfxOptionButton|Checked,Boolean|StartGroup,Boolean|GroupName,CWSTR|Show,Long

T:wfxFrame|Show,Long


T:wfxListBoxItem|hWindow,hwnd|Index,Long|Selected,Long|Text,CWSTR|Data32,Long

T:wfxListBoxItemsCollection|hWindow,hwnd|Clear,Long|Count,Long|Remove,Long|Add,Long|ByIndex,Long

T:wfxListBox|Item,wfxListBoxItem|Items,wfxListBoxItemsCollection|AllowSelection,Boolean|BorderStyle,ControlBorderStyle|ColumnWidth,Long|IntegralHeight,Boolean|MultiColumn,Boolean|SelectionMode,ListSelectionMode|ScrollAlwaysVisible,Boolean|SelectedItem,wfxListBoxItem|SelectedIndex,Long|Sorted,Boolean|UseTabStops,Boolean|TopIndex,Long
Binary file modified WinFBE.wfbe
Binary file not shown.
Binary file modified WinFBE32.exe
Binary file not shown.
Binary file modified WinFBE64.exe
Binary file not shown.
11 changes: 10 additions & 1 deletion changes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Version 1.8.0 (October 6, 2018)
- Added: Merged pull request 7c5fb4d from skyfishtb. Parsing of ENUM and REDIM.
- Added: Delete any previously existing compile output file (ie. .EXE, .DLL, .a) so it will not exist should the compile fail.
- Added: Code editor Calltips for the ListBox control.
- Fixed: Updated gcc.exe to correct 64 version.
- Fixed: Corrected libexec subfolder names for 32/64 bit versions of cc1.exe (part of the gcc toolchain).
- Changed: Updated Italian language file (thanks Massimiliano).
- Changed: Updated German language file (thanks Joerg Buckel).

Version 1.7.9 (September 1.7.9)
- Fixed: Relative paths in User Tools commands failing after compiles (a compile would change current folder).
- Fixed: Per 1.7.8, accidently neglected to include latest FBC nightly build and GCC 8.1. It is now included in 1.7.9.
- Fixed: Per 1.7.8, accidentally neglected to include latest FBC nightly build and GCC 8.1. It is now included in 1.7.9.

Version 1.7.8 (September 4, 2018)
- Added: Resulting file size of successful compiled EXE now shows in the status bar.
Expand Down
2 changes: 1 addition & 1 deletion src/WinFBE.bas
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Using Afx

#Define APPNAME WStr("WinFBE - FreeBASIC Editor")
#Define APPNAMESHORT WStr("WinFBE")
#Define APPVERSION WStr("1.7.9")
#Define APPVERSION WStr("1.8.0")

#ifdef __FB_64BIT__
#Define APPBITS WStr(" (64-bit)")
Expand Down
15 changes: 14 additions & 1 deletion src/modCompile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,12 @@ Function code_Compile( ByVal wID As Long ) As BOOLEAN
Next
End If
' Attempt to delete any existing output file so it will not exist
' should the compile fail.
if AfxFileExists(gCompile.OutputFilename) then
kill gCompile.OutputFilename
end if
wst = L(203, "Compiling...") + " " + AfxStrPathname("NAMEX", gCompile.MainFilename)
SetCompileStatusBarMessage( wst, 0 )
AfxDoEvents
Expand Down Expand Up @@ -797,6 +803,13 @@ function ParseLogForError( byref wsLogSt as CWSTR, _
dim as CWSTR cwsCompileMsg
' If the output file was never created then throw an error
If (NumWarnings = 0) andalso (NumErrors = 0) then
if FileLen(gCompile.OutputFilename) = 0 then
NumErrors = NumErrors + 1
end if
end if
' In all cases where warnings and/or errors exist, we will show the Compiler Results listview
If (NumWarnings > 0) orelse (NumErrors > 0) then
cwsCompileMsg = L(193, "Errors:") & " " & NumErrors & " " & _
Expand Down Expand Up @@ -834,7 +847,7 @@ function ParseLogForError( byref wsLogSt as CWSTR, _
END IF
END IF
end if
If NumErrors = 0 Then
' 2018-08-29: Show popup compile message in cases where no errors but warnings may exist.
' Hide the Output window is already open but there is no longer any warnings
Expand Down
10 changes: 3 additions & 7 deletions src/modSplitter.inc
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,9 @@ End Function
' Process WM_LBUTTONUP message for splitter
' ========================================================================================
Function Splitter_OnLButtonUp() As BOOLEAN
If gApp.bDragActive Then
gApp.bDragActive = False
gApp.hWndPanel = 0
ReleaseCapture()
End If
ReleaseCapture()
gApp.bDragActive = False
gApp.hWndPanel = 0
Function = 0
End Function
Expand Down

0 comments on commit 7a52685

Please sign in to comment.