Skip to content

Releases: PaulSquires/WinFBE

WinFBE Version 3.0.2 (BETA 2)

16 Oct 21:01
Compare
Choose a tag to compare

NOTE: CHANGES ARE BEING MADE TO THE CODETIP AUTOCOMPLETE POPUPS SO RESULTS MAY BE INCONSISTENT

THIS IS A BETA RELEASE SO PLEASE ENSURE THAT YOU HAVE BACKUP COPIES OF YOUR CODE

Editor:

  • Fixed bug where WinFBE 64-bit only would GPF if currently loaded file is edited by an external editor causing WinFBE to reload the file.
  • Fixed bug where focus would be lost from the Find textbox as the user typed a search word and a corresponding match was found.
  • Fixed bug where an invalid startup position for the editor would be saved if WinFBE closed while it is minimized to the Windows Taskbar.

Visual Designer:

  • MAJOR FILE FORMAT CHANGE: Form data separated from code file and is now saved to external file with *.design file extension.
  • When selecting a control from the toolbox and then just clicking on a form (not "drawing" it), it creates a control with a height and width of 0. There are now default sizes for all controls that may be created too small.
  • When double-clicking an event in the toolbox, automatically enable that event, create the placeholder (if needed) and switch to that event in the code view.
  • When double-clicking a control in design view, automatically switch to the code view for the default event handler for that control (e.g.: the _Click handler if it's a button).
  • Listview was not clearing columns/rows when a form is reused (e.g. via popup form).
  • Added Listview property (HeaderThemed) to enable/disable theme drawing for the header portion of the Listview.
  • The ability to set the default control font name and size for all new controls created for a project, rather than always defaulting to Segoe UI 9pt.
  • Added Button control property (AllowFocusRect) to enable/disable drawing the rectangle around the button when it has focus. Only valid if Theme property is False.
  • Added Button control property (TextForeColorHot) to set text color when mouse hovers over the button. Only valid if Theme property is False.
  • Added Control property (Anchor) which allows you to specify layout resize/movement at design time (uses the WinFBX CLayout class behind the scenes).
  • Added Anchor property for Forms.
  • Added ChildFormParent property for Forms.
  • Added new (mostly complete) internal code parser that creates codetips and autocomplete popups.

WinFBE Version 3.0.2 (BETA 1)

11 Oct 16:23
Compare
Choose a tag to compare

WARNING: ONLY USE THIS BETA ON BACKUP VERSIONS OF YOUR VISUAL DESIGNER PROJECTS

** This Beta will do an automatic conversion/upgrade of your visual designer form files. **

Version 3.0.2 (beta 1)
Editor:

  • Fixed bug where WinFBE 64-bit only would GPF if currently loaded file is edited by an external editor causing WinFBE to reload the file.
  • Fixed bug where focus would be lost from the Find textbox as the user typed a search word and a corresponding match was found.

Visual Designer:

  • MAJOR FILE FORMAT CHANGE: Form data separated from code file and is now saved to external file with *.design file extension.
  • When selecting a control from the toolbox and then just clicking on a form (not "drawing" it), it creates a control with a height and width of 0. There are now default sizes for all controls that may be created too small.
  • When double-clicking an event in the toolbox, automatically enable that event, create the placeholder (if needed) and switch to that event in the code view.
  • When double-clicking a control in design view, automatically switch to the code view for the default event handler for that control (e.g.: the _Click handler if it's a button).
  • Listview was not clearing columns/rows when a form is reused (e.g. via popup form).
  • Added Listview property (HeaderThemed) to enable/disable theme drawing for the header portion of the Listview.
  • The ability to set the default control font name and size for all new controls created for a project, rather than always defaulting to Segoe UI 9pt.
  • Added Button control property (AllowFocusRect) to enable/disable drawing the rectangle around the button when it has focus. Only valid if Theme property is False.
  • Added Button control property (TextForeColorHot) to set text color when mouse hovers over the button. Only valid if Theme property is False.
  • Added Control property (Anchor) which allows you to specify layout resize/movement at design time (uses the WinFBX CLayout class behind the scenes).

WinFBE Version 3.0.1

06 Jun 11:02
Compare
Choose a tag to compare

WinFBE FreeBASIC Editor for Windows (Version 3.0.1)

Editor:

  • "Save All" was not correctly adding the saved file to the Explorer list.
  • When closing all files sometimes not positioning editor to a dirty file that needed to be saved.
  • Enable/Disable "Highlight current line" editor option would not honor the theme color.
  • Toggling a Bookmark by clicking in the Bookmark margin would not visually update the Bookmarks list in the Explorer window.
  • Changed the statusbar positions for Line/Col and Build Configuration.
  • When a visual design Form is active, pressing TAB character would insert the TAB character into the underlying code editor.
  • Corrected "Append loop variable to For/Next statement" in cases where the variable did not immediately have a space character after it.

Visual Designer:

  • Several items in the Designer top menu were not being enabled/disabled correctly.
  • Possible that Form files would not have their dirty flag correctly maintained if AutoSave was active.
  • Adding an image to a TabControl tab header could cause a GPF resulting in WinFBE to crash.

WinFBE Version 3.0.0

24 May 10:30
Compare
Choose a tag to compare

Major new version 3.0.0 release.

Version 3.0.0 (May 24, 2022)
Editor:

  • Complete re-write of main editor UI to have a look and feel more in line with modern code editors.
  • Updated to Scintilla Version 5.1.5 (Dec 7, 2021). Also, switched to use Lexilla.dll with custom lexer called lexWinFBE that handles the FreeBasic lexing.
  • All new Theme system. All colors (RGB) can be edited in external .theme files found in the \themes folder.
  • Added Windows API keywords and syntax highlighting.
  • New Bookmarks list that shows all bookmarks from all open (and closed) files. Easily navigate or clear bookmarks throughout all files.
  • New option to save/restore "session". Allow reloading and showing of files active during most previous editor use. Will reload a project should a project had been active. Editor state (open windows, editing position, selected compiler, etc) is saved and restored.
  • Added Environment option to automatically load the last used Session file when the editor starts. If the last Session saved was a Project, then the project will be loaded.
  • New keyboard binding mapping allowing the user to choose their own keyboard shortcuts for various editor functions.
  • New Auto Save functionality. When enabled, unsaved files will be periodically saved to temporary files. In the event of crash, these files will be ask to be used when the editor next attempts to load the crashed file.
  • New Font option (Environment Options / Colors and Fonts) to allow for extra spacing between editor lines on screen.
  • Re-worked portions of Code Folding to make it visually more appealing.
  • Changed some default Code Folding keyboard shortcuts because "Alt" based shortcut would sometimes invoke Windows system functionality.
  • Changed logic of "Toggle Current and All Below" folding to now work on fold levels inside a function that of greater depth than the fold level being toggle. Previously, this function only worked on base level fold points (basically, the sub/function line and all other sub/functions below it in the source code). This new logic makes it easier to fold/unfold code blocks from deep with a particular function making it somewhat more usable in practice than the old logic.
  • Greatly increased the Font selector combobox (Environment Options / Colors and Fonts) so it should be easier now to pick fonts that have long descriptive names.
  • Multiple code editor text selections is now enabled. Hold CTRL and highlight multiple areas of text.
  • Editor will try to gracefully fallback amongst various monospaced fonts should the previously selected font in the config file no longer exist. This can occur, for example, if you switch to different computers without the same fonts installed, or you switch between Windows and Linux (Wine).
  • Replace All actions are now batched allowing Ctrl+Z Undo to undo all of the changes made, not just the last one.
  • Changed Replace keyboard short from Ctrl+R to Ctrl+H to be in line with the vast number of other editors that use the Ctrl+H shortcut.
  • Added the forward slash ('/') key shortcut for commenting lines (in addition to the current 'B' key option).
  • Removed the ancient Win32 api help file and the menu option to invoke it.
  • Removed main editor Toolbar to be consistent with most other modern editors that have foregone the use of a dedicated toolbar.
  • When files added to a Project, newly added *.BAS files are now treated as NORMAL rather than MODULE files.
  • Tweaked "Check for Updates" to provide more reliable reporting in the event of failure to retrieve information from the server.
  • Tweaked the F3 and Shift+F3 accelerator that will Find Next/Prev the last highlighted search text. It is now more consistent by not being reset to a different search term under some situations.
  • Re-worked the Find/Replace popup dialog to be visually more appealing and to work better with keyboard. Added keyboard shortcuts for some find/replace actions (for example, Ctrl+Alt+Enter to Replace All).
  • Added keyboard shortcut "CTRL+~" (ctrl+tilde) to allow you to move keyboard focus back to the active editing window. This is useful, for example, for jumping between the editing window and the Find/Replace dialog.
  • Added keyboard shortcuts to move to next and move to previous compiler errors. This is a quick way to jump to and fix errors without having to use your mouse to double click the compiler error message in the Output window.
  • Added "Explorer Categories" that allow user defined custom nodes to display in the Explorer window (only when used with an active Project).
  • The Explorer window now allows for multiple nodes to be selected (via Ctrl or Shift) and to popup right-click menu to perform actions on the group of selected nodes (for example, to re-designate files to different FileTypes, etc).
  • Code Fold points are now saved between Project and/or Sessions in the same manner as Bookmarks are treated.
  • Disabled the functionality whereby if Find/Replace dialog is open and user switches to a different tab in the editor, then search highlights would automatically reposition the caret to the first found find text in the newly selected tab.
  • Bookmark searches for Previous/Next Bookmark will now display in center of screen if Environment option "Position searches to middle of screen" is enabled.
  • Find In Files corrected to properly process . files. In situations of . searches known binary formats are bypassed (eg. EXE, DLL, BMP, etc).
  • Corrected issues whereby Replace All could fail to replace matching entries near the end of the edit buffer.
  • Implemented Preserve Case option for Find/Replace. Currently, only supports preserve Full Upper Case or Full Lower Case preserve case replace.
  • Added (-gen gas64) option for Build Configurations.
  • Fixed bug whereby FindReplace window would not close when all other underlying code windows have been closed.
  • Added ability to disable the default keyboard shortcut for each keyboard shortcut.
  • Fixed issue whereby edit window would lose focus if pasting text while the Find/Replace dialog is active.
  • Fixed SetCompilerPathsII user tool being generated for new default winfbe configuration files.
  • Fixed "Convert to Mixed Case" keyboad shortcut from Ctrl+Alt+M to Ctrl+Alt+X.
  • Added right click popup menus for cut/copy/paste for textboxes that were changed to RichEdit (Find/Replace/CompilerLog/Notes).
  • Added popup tooltip for Function list that displays the function prototype. Easier now to differentiate between overloaded functions.
  • Fixed selecting function with multiple overloads would incorrectly always position the editor to the first instance of that function.
  • Added some bcrypt* Win32 api keywords to the default winapi_keywords.txt file.
  • Fixed issue whereby deleting a User Tool would result in a ghost entry in the User Tool top menu until the program was restarted.
  • Updated the SetCompilerSwitchesII user tool to the latest version.

Visual Designer:

  • New control property hWindowToolTip which will retrieve the windows handle for any tooltip created for a control.

WinFBE Version 2.2.0

26 Mar 17:33
Compare
Choose a tag to compare
  • Previous upload for version 2.1.9 did not include GCC toolchain for 32-bit FBC. It is now included so you can use the -gen gcc compiler flag to create 32-bit programs.

WinFBE Version 2.1.9

25 Mar 14:40
Compare
Choose a tag to compare

Editor:

  • FreeBASIC Compiler v1.07.2 (with GCC 5.2). You can still use different backend toolchains via the SetCompilerPaths plugin.
  • New Windows installer (winfbe_suite_setup.exe) create to help users who do not feel comfortable with standard compressed archive files. WinFBE is not designed to be installed into the Windows Program Files folder.
  • Multiple find/replace selection highlights could occur if the user changed the active selection area after activating the Find/Replace dialog.
  • Replace-dialog selection-highlight in code window out of sync with actual highlight (when 2nd+ selection performed).
  • Find/Replace dialog active and pressing Ctrl+A to select all text in one of the find/replace textboxes would instead select all text in the current active code edit window.
  • Split windows would not activate cold folding in both panes. Only one pane would respond to code folding margin margin clicks.
  • SCEN_KILLFOCUS in WM_COMMAND was resetting the hWndActiveScintilla window to zero causing a situation whereby incorrect split pane could be used to display code from Sub/Functions selector combobox.
  • Have noticed that with Code Folding enabled that file loading/parsing is somewhat slower. If you prefer faster document responsiveness maybe turn off the code folding option.
  • Double periods ".." would appear within the default displayed filename in the 'Save As' dialog for new files being saved for the first time.
  • Sample_Projects folder contained corrupted winfbe project files.

WinFBE Version 2.1.8

19 Nov 15:09
Compare
Choose a tag to compare

Editor:

  • Polish language file provided by Waldemar Pajak.
  • Updated Italian language file provided by Massimiliano.
  • For/Next loop variables were sometimes not being correctly identified when that option was enabled in Editor Options.
  • Multiline comment blocks inside of sub/function blocks was not being parsed correctly causing sub/function definitions in the visual designer to be regenerated.
  • The "Refresh" method would appear twice in the codetip popup menu for Forms.
  • New Form files will default to .inc file extension if a project is active, otherwise the file extension will default to .bas.

Visual Designer:

  • DateTimePicker control: font property not set correctly at run time.
  • Menu Editor: added blank line to dropdown Shortcut key combobox so you can unselect any previously set shortcut key.
  • PictureBox control: added property 'ImageFromFile' to be able to load images from disk.
  • ListBox: backcolor of an empty list box was not being handled correctly.

WinFBE Version 2.1.7

31 May 19:45
Compare
Choose a tag to compare

Editor:

  • Added: Occurrences Highlighting. Editor will highlight words under the current cursor position (Visual Studio has this type of feature as well).
  • Changed: Changed the default toolchain to: FreeBASIC-1.07.1-gcc-8.4
  • Fixed: Performance issue with parsing document when about to show a popup Autocomplete list.

Visual Designer:

  • Fixed: Listbox control not consistently updating display visually during add or remove.

WinFBE Version 2.1.6

17 May 15:03
Compare
Choose a tag to compare

Editor:

  • Fixed: Issue with subs/functions not displaying in Explorer treeview during project loading.
  • Fixed: File/Open single source file (non-project related) would not display filename in Explorer treeview.
  • Fixed: Leading chr(9) tab characters interfered with triggering Autocomplete for "this." or "this->".
  • Fixed: Parser infinite loop when parsing DIM lines with { } variable initializers.
  • Fixed: Compiling a visual designer Form file when a project was not active would fail if more than one file was open in the editor at the time of compiling.
  • Fixed: A Utf8 to Unicode conversion error when outputting Form code.
  • Fixed: Some elements from parsed code would not display in popup AutoComplete selection lists.
  • Fixed: Run after Compile would fail if -x command line used specifying a relative path filename.

Visual Designer:

  • Fixed: Form would flash on screen even if Visible = False.

Alternate GCC Toolchains for WinFBE

22 May 18:48
Compare
Choose a tag to compare

This post contains several downloads for FreeBASIC GCC toolchains that can be easily integrated into the WinFBE Editor. This allows you to compile your programs using different (and more up to date) GCC compiler toolchains than the one that ships with the FreeBASIC compiler. A very special thank-you to srvaldez for creating these toolchains. I merely combined each toolchains's 32 and 64 bit versions into one combined toolchain.

Simply download the toolchains that interest you and unzip them directly into the \WinFBE_Suite-Editor folder. There is no download for the "5.2" toolchain because that toolchain is already installed in WinFBE.

Two of the toolchains also include SARG's fbc64_gas64 compiler (dated 2020/04/18) for 64-bit ASM code generation (1.07.1 gcc 8.4, and 1.08.0 gcc 10.0).

In order to quickly switch between the toolchains, modify the "SetCompilerPathsII.ini" file located in your \WinFBE_Suite-Editor\Tools folder to include these lines (assuming that you have downloaded all of the toolchains): Special thank-you to deltarho[1859] for the SetCompilerPathsII user tool.

"5.2 (1.07.1)", "..\FreeBASIC-1.07.1-gcc-5.2\fbc32.exe", "..\FreeBASIC-1.07.1-gcc-5.2\fbc64.exe"
"8.4 (1.07.1)", "..\FreeBASIC-1.07.1-gcc-8.4\fbc32.exe", "..\FreeBASIC-1.07.1-gcc-8.4\fbc64.exe"
"8.4 (1.07.1) (gas64)", "..\FreeBASIC-1.07.1-gcc-8.4\fbc32.exe", "..\FreeBASIC-1.07.1-gcc-8.4\fbc64_gas64.exe"
"9.3 (1.07.1)", "..\FreeBASIC-1.07.1-gcc-9.3\fbc32.exe", "..\FreeBASIC-1.07.1-gcc-9.3\fbc64.exe"
"10.0 (1.08.0)", "..\FreeBASIC-1.08.0-gcc-10\fbc32.exe", "..\FreeBASIC-1.08.0-gcc-10\fbc64.exe"
"10.0 (1.08.0) (gas64)", "..\FreeBASIC-1.08.0-gcc-10\fbc32.exe", "..\FreeBASIC-1.08.0-gcc-10\fbc64_gas64.exe"
"11.0 (1.08.0)", "..\FreeBASIC-1.08.0-gcc-11\fbc32.exe", "..\FreeBASIC-1.08.0-gcc-11\fbc64.exe"