HMG IDE source code

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG IDE source code

Post by serge_girard »

As CALSCOT mentioned:
I applaud the source code becoming public, but I hope that there is some sort of central control or agreemnt as a mechanism to try to ensure that we don't end up with a whole lot of slightly incompatible versions. That could become a nightmare and do long term damage if it was to happen. Any thoughts on how that can be prevented?
This must indeed be solved! Rathi any ideas how to manage?
There's nothing you can do that can't be done...
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG IDE source code

Post by mol »

Super news!
Time to work to update everything for all changes in HMG and add new properties!

Thanks for sharing!
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: HMG IDE source code

Post by AUGE_OHR »

hi,

i like to request to add "DBF Field" into FMG in IDE

i have this Code to create a new *.FMG from DBF which can be load after *.FMG was create
DBF2FMG.ZIP
(2.23 KiB) Downloaded 220 times
have fun
Jimmy
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: HMG IDE source code

Post by jairpinho »

thanks Roberto and Claudio for providing the IDE, this will help to improve the community a lot
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG IDE source code

Post by Rathinagiri »

In order to get successful compilation of IDE in HMG 3.5, I had to change this from line 1349

Code: Select all

//-------------------------------------------
PROCEDURE LOAD_LANGUAGE_MESSAGE()
//-------------------------------------------
LOCAL i, nNum, cText, cMsgs, cLin
   
   cMsgs := HB_MEMOREAD (StartUpFolder + ALLTRIM ( HB_UTF8STRTRAN (HB_MEMOREAD (StartUpFolder + cFileLanguage), chr(26), ' ')))
   
   AFILL (aMsgs, "XXX")
   
   for i := 1 To HMG_LEN ( cMsgs )
      cLin := ALLTRIM(memoline ( cMsgs , 254 , i ))
      nNum := VAL ( HB_ULEFT ( cLin , 3 ) )
      if nNum > 0
         cText := ALLTRIM ( HB_USUBSTR ( cLin , 5 , 254 ) )
         aMsgs [ nNum ] := cText
      endif
   next i

RETURN

to this.

It seems that there are more memoline() and HB_MEMOREAD() used in the code. I am curious to find, why does it work in 3.4.4 and doesn't work in 3.5.

Code: Select all

//-------------------------------------------
PROCEDURE LOAD_LANGUAGE_MESSAGE()
//-------------------------------------------
LOCAL i, nNum, cText, cMsgs, cLin
   
//   cMsgs := HB_MEMOREAD (StartUpFolder + ALLTRIM ( HB_UTF8STRTRAN (HB_MEMOREAD (StartUpFolder + cFileLanguage), chr(26), ' ')))
   cMsgs := HB_ATOKENS( HB_MEMOREAD( StartUpFolder + ALLTRIM ( HB_UTF8STRTRAN (HB_MEMOREAD (StartUpFolder + cFileLanguage), chr(26), ' ')) ),   CRLF )
   AFILL (aMsgs, "XXX")
   for i := 1 To HMG_LEN ( cMsgs )
      cLin := cMsgs[ i ] // ALLTRIM(memoline ( cMsgs , 254 , i ))
      nNum := VAL ( HB_ULEFT ( cLin , 3 ) )
      if nNum > 0
         cText := ALLTRIM ( HB_USUBSTR ( cLin , 5 , 254 ) )
         aMsgs [ nNum ] := cText
      endif
   next i
RETURN
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Anand
Posts: 595
Joined: Tue May 24, 2016 4:36 pm
DBs Used: DBF

Re: HMG IDE source code

Post by Anand »

srvet_claudio wrote: Mon Nov 16, 2020 5:40 pm Hi all,
Roberto has decided to make public the source code of the HMG IDE.
Thanks to Roberto for this great work!
It's a great project, I hope you enjoy it!
Finally.

Many request were made for it earlier. And we thank Roberto and Claudio for it.

Hope it goes to Git and controlled as like HMG 3.5

Regards,

Anand
Regards,

Anand

Image
Pcmodula
Posts: 34
Joined: Thu Nov 22, 2012 6:00 pm

Re: HMG IDE source code

Post by Pcmodula »

srvet_claudio wrote: Mon Nov 16, 2020 5:40 pm Hi all,
Roberto has decided to make public the source code of the HMG IDE.
Thanks to Roberto for this great work!
It's a great project, I hope you enjoy it!
Best regards.
¡Leyendo entre líneas estas son buenas y malas noticias!
Hermoso porque aumenta el conocimiento de todos,
feo porque todavía no tiene las últimas sugerencias de Roberto.
Me gustaría que me explicara cuáles son los conceptos "incorrectos" de este ide.
Dado que ha delegado al Sr. Soto para publicar las fuentes, tal vez quiera
decir que está pensando en abandonar un proyecto que considera maduro y en
capaz de continuar de forma independiente?
¡Sería un verdadero golpe para el corazón!

Salu2
Pcmodula

Reading between the lines this is good and bad news!
Beautiful because it increases everyone's knowledge,
ugly because she still doesn't have Roberto's latest suggestions.
I would like you to explain what are the "wrong" concepts of this ide.
Since he has delegated Mr. Soto to publish the sources, maybe he wants
say that he is thinking of abandoning a project he deems mature and in
able to continue independently?
It would be a real blow to the heart!

Rds
Pcmodula
User avatar
fouednoomen
Posts: 186
Joined: Sun Oct 14, 2012 8:33 am
DBs Used: DBF, MySQL, MariaDB, SQLite, PostgreSQL, Oracle, ODBC
Location: Tunisia

Re: HMG IDE source code

Post by fouednoomen »

Thanks to Roberto and Claudio !
martingz
Posts: 394
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico

Re: HMG IDE source code

Post by martingz »

Mil gracias a Roberto y Claudio
ASESORMIX
Posts: 190
Joined: Thu Oct 25, 2012 8:08 pm
Location: Bqto, Venezuela

Re: HMG IDE source code

Post by ASESORMIX »

Saludos Cordiales Sr. Roberto.
Muchísimas Gracias por compartir tu gran esfuerzo con nosotros.

Tu gran generosidad sea recompensada con bendiciones de la Divina Providencia para ti y todos los tuyos.

Gracias, muchisimas gracias.
Post Reply