PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: WinFBE 1.5.2 on GitHub (September 4, 2017)  (Read 278 times)

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8104
  • Windows 10
    • PlanetSquires Software
WinFBE 1.5.2 on GitHub (September 4, 2017)
« on: September 04, 2017, 07:45: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

Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Josť Roca

  • FireFly3 Registered User
  • Master FireFly Member
  • *
  • Posts: 2785
    • Josť Roca Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #1 on: September 04, 2017, 08:12:40 PM »

New Spanish language file

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8104
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #2 on: September 04, 2017, 08:17:11 PM »

Thanks Jose  :)
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Josť Roca

  • FireFly3 Registered User
  • Master FireFly Member
  • *
  • Posts: 2785
    • Josť Roca Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #3 on: September 05, 2017, 06:05: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.
« Last Edit: September 05, 2017, 06:20:13 PM by Josť Roca »
Logged

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8104
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #4 on: September 05, 2017, 07:48: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.....
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8104
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #5 on: September 05, 2017, 08:59:52 PM »

Hi Josť, 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.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Josť Roca

  • FireFly3 Registered User
  • Master FireFly Member
  • *
  • Posts: 2785
    • Josť Roca Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #6 on: September 05, 2017, 09:38: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?

Josť Roca

  • FireFly3 Registered User
  • Master FireFly Member
  • *
  • Posts: 2785
    • Josť Roca Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #7 on: September 05, 2017, 09:43:57 PM »

My mistake. But it fails with the first sample project that I have tried, DShow_PlayClip. I have to investigate why.

Josť Roca

  • FireFly3 Registered User
  • Master FireFly Member
  • *
  • Posts: 2785
    • Josť Roca Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #8 on: September 05, 2017, 09:48: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.

Josť Roca

  • FireFly3 Registered User
  • Master FireFly Member
  • *
  • Posts: 2785
    • Josť Roca Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #9 on: September 05, 2017, 09:59: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?

Josť Roca

  • FireFly3 Registered User
  • Master FireFly Member
  • *
  • Posts: 2785
    • Josť Roca Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #10 on: September 05, 2017, 10:09: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.

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8104
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #11 on: September 05, 2017, 10:15:53 PM »

Thanks Josť, 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.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Josť Roca

  • FireFly3 Registered User
  • Master FireFly Member
  • *
  • Posts: 2785
    • Josť Roca Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #12 on: September 06, 2017, 03:08: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.
« Last Edit: September 06, 2017, 03:13:23 PM by Josť Roca »
Logged

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8104
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.5.2 on GitHub (September 4, 2017)
« Reply #13 on: September 06, 2017, 04:28:38 PM »

Thanks Josť, I will upload a new package tonight with the changes.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor