HMG New Version in GitHub

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
bpd2000
Posts: 1172
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 257 times
Been thanked: 153 times

Re: HMG New Version in GitHub

Post by bpd2000 »

Rathinagiri wrote:
Mon Jul 27, 2020 12:49 pm
If you are sure enough your code is good, you can submit here also. I will try to review and submit myself.
Hi
Everybody face same problem
I suggest to start new thread, where user submit code and as suggested you
Code can be uploaded by you after verification

Also add Quick link for GitHub on Home page
BPD
Convert Dream into Reality through HMG

trmpluym
Posts: 279
Joined: Tue Jul 15, 2014 6:52 pm
Location: The Netherlands
Has thanked: 9 times
Been thanked: 40 times

Post by trmpluym »

Maybe also include the suggestions in:

http://hmgforum.com/viewtopic.php?f=43&t=5537

User avatar
salamandra
Posts: 241
Joined: Thu Jul 31, 2008 8:33 pm
DBs Used: DBF, MySQL, SQL
Location: Brazil
Has thanked: 107 times
Been thanked: 9 times

Post by salamandra »

trmpluym wrote:
Mon Jul 27, 2020 9:38 pm
Maybe also include the suggestions in:

http://hmgforum.com/viewtopic.php?f=43&t=5537
+1
There is one time in which is crucial awakening. That time is now. ( Buddha )

User avatar
AUGE_OHR
Posts: 1071
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 185 times
Been thanked: 296 times

Post by AUGE_OHR »

hi,

when start with HMG i had some Problem with 32 Bit Unicode Debugger so i enhance it to work "for me"
i have document it here http://hmgforum.com/viewtopic.php?f=12&t=6173&p=59887

---

i normal work under 32 Bit were i had Problem with HMG Debugger.
i also have 64 Bit, using multi-boot, but i don´t use it often.

when working under 64 Bit "Original" Debugger do not crash :o
so Problem with Array might be only on 32 Bit OS :roll:

---
many enhancement like ON DBLCLICK "does not hurt" but some Modification might be wrong (but do not crash anymore)

DBGGUI.PRG
add ON DBLCLICK OnKeyPress( VK_RETURN ); in line 280, 308 , 326, 361, 388, 407, 421
add ON DBLCLICK OnKeyPress_DisplayVars( VK_RETURN, cFormName, cGridName, xVarValue, aObjRawValue, aColor ) ; in line 672

line 1254

Code: Select all

PROCEDURE UpdateGridVars()
aVars := HMG_Debugger():GetVars( @aBVars )
i had Problem with

Code: Select all

nValue := _HMG_FormDebugger.Grid_Vars.VALUE
which sometimes are > LEN(aVars) so it crash :(

so please revise UpdateGridVars() if i misunderstood concept

---

DBGHB.PRG

modify METHOD GUIDoEvents() by add BEGIN SEQUENCE / END SEQUENCE

Code: Select all

FUNCTION __dbgValToStr( uVal )
CASE cType == "B" ; RETURN hb_valToExp ( uVal )  // "{|| ... }"
modify METHOD GetVars() by add BEGIN SEQUENCE / END SEQUENCE
add aVars := {}

same Problem like in UpdateGridVars() with LEN(Array)
i have change it to "do not crash" but not sure if i´m misunderstood Concept

---

hope it is useful to update HMG
HMG_Debugger2.zip
(24.17 KiB) Downloaded 43 times
have fun
Jimmy

User avatar
AUGE_OHR
Posts: 1071
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 185 times
Been thanked: 296 times

Post by AUGE_OHR »

Request : build.bat / build64.bat


hi,

i like use build.bat / build64.bat in CMD Box
when start Original build.bat / build64.bat it will add Path ... each time :roll:

---
SET HMGPATH=%~dp0

rem ******************************************************************************
rem SET BINARIES PATHS
rem ******************************************************************************

SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\mingw\bin;%PATH%

rem *******************************************************************************
rem PROCESS PARAMETERS
rem *******************************************************************************
rem
rem /n no run after build
rem /d enabled debugger
rem /c console mode
---

this Version only add Path once :D
SET HMGPATH=%~dp0

rem ******************************************************************************
rem SET BINARIES PATHS
rem ******************************************************************************

path|find /i "%HMGPATH%\harbour\bin" >nul || GOTO SETPATH
GOTO NEXTSTEP

:SETPATH
SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\mingw\bin;%PATH%

rem *******************************************************************************
rem PROCESS PARAMETERS
rem *******************************************************************************
rem
rem /n no run after build
rem /d enabled debugger
rem /c console mode

:NEXTSTEP
have fun
Jimmy

Carlos Britos
Posts: 227
Joined: Sat Aug 02, 2008 5:03 pm
Has thanked: 6 times
Been thanked: 7 times

Post by Carlos Britos »

Hi,
I have created in github some scripts to compile official HMG and the different forks using github actions.

In the following link you can see them.
https://github.com/asistex/HMG/tree/master/workflows

I hope it will be useful for everyone.

----------------------------

Hola,
He creado en github algunos script para compilar HMG oficial y los diferentes forks usando github actions.

En el siguiente link pueden verlos.
https://github.com/asistex/HMG/tree/master/workflows

Espero que sea de utilidad para todos.


Greetings

Carlos
Regards/Saludos, Carlos (bcd12a)

User avatar
apais
Posts: 363
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 68 times
Been thanked: 50 times
Contact:

Post by apais »

Carlos.
Diego y yo ya habíamo hecho lo mismo hace unas semanas.
Pero a nadie pareció importarle.
Mi link: https://github.com/apais/hmgbinaries

Espero que alguien lo integre en el github de HMG algún día.
Angel Pais
Web Apps consultant.
Harbour Web Drivers co-developer.
https://www.mod-harbour.com
https://www.amigo-software.com.uy

Post Reply