PlanetSquires Forums

Support Forums => PlanetSquires Software => Topic started by: Paul Squires on September 04, 2017, 08:15:29 PM

Title: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: Paul Squires on September 04, 2017, 08:15:29 PM
Version 1.5.2 (September 4, 2017)
- Added: Import theme from external disk file (unicode or ansi).
- Added: Able to set Bold, Italic, Underline fonts for code editor elements: Text, Comments, Keywords, Line numbers, Operators, Preprocessor, and Strings.

https://github.com/PaulSquires/WinFBE/releases

Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: José Roca on September 04, 2017, 08:42:40 PM
New Spanish language file
Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: Paul Squires on September 04, 2017, 08:47:11 PM
Thanks Jose  :)
Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: José Roca on September 05, 2017, 06:35:50 PM
I think that I have found the solution to only have a copy of the framework that also could be placed anywhere. This will require a change in the WinFBE editor:

The "Compiler Setup" will require the addition of a new entry to set the path of the framework (by default, if the user does not change it, it will be <drive:><\editor folder>\src") and the editor will pass it to the compiler using the -i option. I have tried it adding "-i C:\Users\Pepe\WinFBE\src" to the "Additional compiler switches" and it works. This will allow to compile the examples using the Afx folder used by the editor (if the user unzips the "src" folder) without having to download and install the framework separately, making the process very beginner's friendly.

There is still the problem of the broken "windowsx.bi" file. If we modify AfxCtl.inc to include "windowsxx.bi" instead of "windosx.bi" it works, but if "windowsx.bi" is also included directly or indirectly, there will be conflicts. Maybe we can take the risk.
Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: Paul Squires on September 05, 2017, 08:18:16 PM
Hi Jose, yes I can certainly do that. i will try to add it now and get the EXE's uploaded to GitHub so you can test it before I create a release package for it. Give me a couple of hours.....
Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: Paul Squires on September 05, 2017, 09:29:52 PM
Hi Jose, new files uploaded to GitHub. You will need to download the EXE's and the language files.

I tried it, and it seems to work okay. Please let me know if it works okay for you as well.
Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: José Roca on September 05, 2017, 10:08:28 PM
Hi Paul,

Works with single files, but not with projects. Maybe you have forgot to pass the -i<path> when compiling a project?
Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: José Roca on September 05, 2017, 10:13:57 PM
My mistake. But it fails with the first sample project that I have tried, DShow_PlayClip. I have to investigate why.
Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: José Roca on September 05, 2017, 10:18:51 PM
Will have to check all the sample projects. I will have to create new .wfbe files. The one that fails has these contents:

' WINFBE PROJECT FILE
ProjectBuild={2E731200-DA0D-4067-BD1D-3B7E27C32D96}
ProjectOther32=
ProjectOther64=
ProjectCommandLine=
ActiveTab= 0
File=..\..\..\FreeBasic32\inc\win\windowsx.bi
FileType= 3
TabIndex=-1
Bookmarks=
FirstLine= 7
Position= 649
FileEnd=[-]
File=.\DShow_PlayClip.bas
FileType= 1
TabIndex= 0
FileEnd=[-]
File=.\Resource.rc
FileType= 4
TabIndex= 0
FileEnd=[-]
File=..\..\..\FreeBasic64\inc\disphelper\disphelper.bi
FileType= 3
TabIndex= 0
FileEnd=[-]

[Notes]
NOTES-START

NOTES-END

Don't know how
File=..\..\..\FreeBasic32\inc\win\windowsx.bi
and
File=..\..\..\FreeBasic64\inc\disphelper\disphelper.bi
have ended into it.
Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: José Roca on September 05, 2017, 10:29:07 PM
Well the problem is that that project includes dshow.bi and that .bi file includes windowsx.bi. That is what I was afraid of. Maybe we have to add dshowx.bi besides windowsxx.bi?

Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: José Roca on September 05, 2017, 10:39:12 PM
The only thing that we can do is to remove that project from the sample projects and pray that nobody will try to use dshow.bi.
Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: Paul Squires on September 05, 2017, 10:45:53 PM
Thanks Jose, I am hoping that by the time I am ready to release a WinFBE/WinFBX/FBC full package, that I will be able to include FB 1.06 which has the correct include file changes.
Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: José Roca on September 06, 2017, 03:38:50 PM
IMPORTANT

In your modified AfxCtl.inc file you have:

#include once "win/windowsxx.bi"

it should be

#include once "Afx/windowsxx.bi"

or it won't work if the user does not copy windowsxx.bi in the "win" folder.
Title: Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
Post by: Paul Squires on September 06, 2017, 04:58:38 PM
Thanks Jose, I will upload a new package tonight with the changes.