FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index WhatsNew / Novedades New FTDN June/Junio 2022 (FWH 22.06)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FTDN June/Junio 2022 (FWH 22.06)
Posted: Tue Jun 21, 2022 04:31 AM
April 2022 to June 2022
=======================

* Enhancement: FWH 32 and 64 bits use Visual Studio Community 2022 now, besides Borland and MinGW gcc.

* FiveWin.ch: Included a translate from
MEMOEDIT to FW_MEMOEDIT
#xtranslate MEMOEDIT( [<x,...>] ) => FW_MEMOEDIT( [<x>] )

* New: hbmk2.exe makes to build your FWH apps using Visual Studio Community 32 and 64 bits
Please review FWH\makes\hbmk2.zip

* Fix: AUTOGET dropdown was not properly capturing the mouse. Now it is ok. Thanks to Ariel
for his great feedback.

* New: Class TWebView allows you to use the new Microsoft Edge webview2 control. You can use
any C compiler (Borland, Microsoft, MinGW). Please review the new samples webview.prg and
webviewuni.prg

* New: samples\webview.prg and webviewuni.prg allows you to use the new Microsoft Edge webview2 control.
webviewuni.prg shows you how to access your FWH app from the Microsoft Edge webview control. This is
great to implement unitary tests.

Please install https://developer.microsoft.com/en-us/microsoft-edge/webview2/ x86 version before using it.
64 bits version is not ready yet. We expect to have it ready quite soon.

* XBrowse:
- Provides native support to Eagle1 library for MySql,
version 7.0 or later
MSTABLE class: Read/Write and autosort
MSQYERY class: ReadOnly
TDATAROW class also now natively supports Eagle1.lib

* New and improved array functions in fwdecode.prg

- New: FW_AReverse( aArray ) --> Array of same length with
all elements in the reverse order.
Ex: FW_AReverse( { 1, 2, 3, 4 } --> { 4, 3, 2, 1 }

- New: FW_RAEval( aArray, bBlock, [nStart], [nCount] )
Evaluates bBlock for every row like AEval() but in the
reverse order from last element to the first element.
If the optional parameter nStart and/or nCount are provided,
the evaluation starts from nStart and for nCount elements.
Ex: c := ""
FW_RAEval( { "A","B","C","D","E" }, ;
{ |u,i| c += Replicate( u,i ) }, ;
4, 3 ) --> "DDDDCCCBB"
- Enahanced FW_AShuffle( aArray, [nStart], [nCount] )
Added parameters nStart and nCount.
This function Shuffles to elements of the array in random
order. Now using nStart and/or nCount shuffling can be
restricted to a part of the array

* printer.prg and fwpdf.prg:
- Enhancement: Added 3rd optional param "cUnits".
If specified, return value is in the specified units.

* New function WmiService() --> oWmi object

* New: Class TWebSocketServer to use web sockets. Please review samples\websock.prg new example
that combines the new Class TWebSocketServer and the new Class TWebView. PLease remember to build it
using the new samples buildhmt.bat that builds a FWH app using multithread.

* New: samples\webapp.prg shows the new desktop app to web app concept that we are implementing in FWH.
This is a work in progress, not ready for production, but please build webapp.prg and right click
on the dialog you get and you will see how FWH builds a web app dialog using a desktop dialog. Next
step will use the new Class TWebSocketServer to make it work on the web. Please stay tunned of the progress
of this revolution!

* New: Please build samples\FiveDbu.prg using the new samples\buildhmt.bat, then right click on the main window
and activate the "WebApp" option, then go to "localhost" from your web browser and you will see the FWH app
running on the web. This is a work on progress, but we wanted to show you this capability that is being built
inside FWH for all FWH apps. You have to be patient as we need your feedback to complete it, but this opens
incredible possibilities that you will see very soon.

Video
https://youtu.be/Cc8C4fZspu8
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN June/Junio 2022 (FWH 22.06)
Posted: Tue Jun 21, 2022 08:45 PM

Abril 2022 a Junio 2022

  • Mejora: FWH 32 y 64 bits utilizan ahora Visual Studio Community 2022, adem谩s de Borland y MinGW gcc.

  • FiveWin.ch: Se ha incluido una traducci贸n de MEMOEDIT a FW_MEMOEDIT
    #xtranslate MEMOEDIT( [<x,...>] ) => FW_MEMOEDIT( [<x>] )

  • Nuevo: hbmk2.exe es utilizado para construir sus aplicaciones FWH usando Visual Studio Community 32 y 64 bits.
    Por favor, revise FWH\makes\hbmk2.zip

  • Correcci贸n: El desplegable AUTOGET no captaba correctamente el rat贸n. Ahora est谩 bien. Gracias a Ariel
    por su gran retoalimentaci贸n.

  • Nuevo: La clase TWebView permite utilizar el nuevo control webview2 de Microsoft Edge. Puede utilizar
    cualquier compilador de C (Borland, Microsoft, MinGW). Por favor, revise los nuevos ejemplos webview.prg y
    webviewuni.prg.

  • Nuevo: samples\webview.prg y webviewuni.prg te permiten utilizar el nuevo control webview2 de Microsoft Edge.
    webviewuni.prg le muestra c贸mo acceder a su aplicaci贸n FWH desde el control webview de Microsoft Edge. Esto es
    genial para implementar pruebas unitarias.

Por favor, instale la versi贸n x86 desde https://developer.microsoft.com/en-us/m ... /webview2/ antes de usarla.
La versi贸n de 64 bits a煤n no est谩 lista. Esperamos tenerla lista muy pronto.

  • XBrowse:
  • Proporciona soporte nativo a la biblioteca Eagle1 para MySql, versi贸n 7.0 o posterior:
    Clase MSTABLE : Lectura/escritura y autoclasificaci贸n.
    Clase MSQYERY : S贸lo lectura.
    Clase TDATAROW : Tambi茅n soporta ahora de forma nativa Eagle1.lib.

  • Nuevas y mejoradas funciones de matrices en fwdecode.prg

  • Nueva: FW_AReverse( aArray ) --> Matriz de la misma longitud con todos los elementos en el orden inverso.
    Ejemplo: FW_AReverse( { 1, 2, 3, 4 } --> { 4, 3, 2, 1 }

  • Nueva: FW_RAEval( aArray, bBlock, [nStart], [nCount] )
    Eval煤a bBlock para cada fila como AEval() pero en el orden inverso desde el 煤ltimo elemento hasta el primero.
    Si se proporciona el par谩metro opcional nStart y/o nCount la evaluaci贸n comienza desde nStart y para nCount elementos.
    Ejemplo: c := ""
    FW_RAEval( { "A","B","C","D","E" }, ;
    { |u,i| c += Replicate( u,i ) }, ;
    4, 3 ) --> "DDDDCCCBB"

  • Mejora: FW_AShuffle( aArray, [nStart], [nCount] )
    Se han a帽adido los par谩metros nStart y nCount.
    Esta funci贸n mezcla los elementos de la matriz en orden aleatorio. Ahora usando nStart y/o nCount la mezcla puede ser
    restringida a una parte de la matriz.

  • printer.prg y fwpdf.prg:

  • Mejora: Se ha a帽adido el tercer par谩metro opcional "cUnits".
    Si se especifica, el valor de retorno est谩 en las unidades especificadas.

  • Nueva funci贸n WmiService() --> objeto oWmi

  • Nueva : Clase TWebSocketServer para utilizar sockets web. Por favor, revise el nuevo ejemplo samples\websock.prg que
    combina la nueva Clase TWebSocketServer y la nueva Clase TWebView. Por favor, recuerde construirlo usando el nuevo
    ejemplo buildhmt.bat que construye una aplicaci贸n FWH usando multithread.

  • Nuevo: samples\webapp.prg muestra el nuevo concepto de aplicaci贸n de escritorio a aplicaci贸n web que estamos implementando en FWH.
    Este es un trabajo en curso, no est谩 listo para producci贸n, pero por favor construya webapp.prg y haga clic derecho en el di谩logo
    que se obtiene y ver谩s c贸mo FWH construye un di谩logo de aplicaci贸n web utilizando un di谩logo de escritorio. El siguiente paso
    utilizar谩 la nueva clase TWebSocketServer para que funcione en la web. Por favor, mant茅ngase al tanto del progreso de esta revoluci贸n.

  • Nuevo: Por favor, construya samples\FiveDbu.prg usando el nuevo samples\buildhmt.bat, luego haga clic derecho en la ventana principal
    y active la opci贸n "WebApp", luego vaya a "localhost" desde su navegador web y ver谩 la aplicaci贸n FWH corriendo en la web. Esto es
    un trabajo en curso, pero quer铆amos mostrarte esta capacidad que se est谩 construyendo dentro de FWH para todas las aplicaciones FWH.
    Tienes que ser paciente ya que necesitamos tus comentarios para completarlo, pero esto abre posibilidades incre铆bles que ver谩s muy pronto

Video

https://youtu.be/Cc8C4fZspu8

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion