New FTDN June/Junio 2022 (FWH 22.06)

New FTDN June/Junio 2022 (FWH 22.06)

Postby Antonio Linares » Tue Jun 21, 2022 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FTDN June/Junio 2022 (FWH 22.06)

Postby Antonio Linares » Tue Jun 21, 2022 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to WhatsNew / Novedades

Who is online

Users browsing this forum: No registered users and 24 guests