Enrico Maria Giordano | 20 Nov 11:33 2014
Picon

e.m.giordano@...>


Il 20/11/2014 07:02, Saulius Zrelskis ha scritto:

> Strange date
>
> 2014-11-20 1:11 GMT+02:00 Enrico Maria Giordano
> <e.m.giordano@... <mailto:e.m.giordano@...>>:
>
>     2014-11-14 00:11 UTC+0100 Enrico Maria Giordano
>     <e.m.giordano@... <mailto:e.m.giordano@...>>
>         * contrib\gtwvw\wvwfuncs.c
>           ! pacify warning

Sorry, fixed:

2014-11-20 00:11 UTC+0100 Enrico Maria Giordano 
<e.m.giordano@...>
   * contrib\gtwvw\wvwfuncs.c
     ! pacify warning

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
(Continue reading)

Enrico Maria Giordano | 20 Nov 00:11 2014
Picon

e.m.giordano@...>

2014-11-14 00:11 UTC+0100 Enrico Maria Giordano 
<e.m.giordano@...>
   * contrib\gtwvw\wvwfuncs.c
     ! pacify warning

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
Luiz Rafael Culik | 17 Nov 13:14 2014
Picon

changelog 2014-11-17 09:50 UTC-300 Luiz Rafael Culik <luiz/AT/xharbour/com/br>


  * contrib/hbsqlit3/sqlite3.c
  * contrib/hbsqlit3/sqlite3.h
  * contrib/hbsqlit3/sqlite3ext.h
    ! updated sqlite to version 3.8.7.1
  * contrib/hbsqlit3/xhbsqlite3.c
    ! some minor updates
  * contrib/gtwvw/gtwvw.c 
  * contrib/gtwvw/wvwcheck.c
  * contrib/gtwvw/wvwedit.c
  * contrib/gtwvw/wvwfuncs.c
  * contrib/gtwvw/wvwmenu.c
  * contrib/gtwvw/wvwpush.c
  * contrib/gtwvw/wvwstbar.c
  * contrib/gtwvw/wvwtbar.c
    ! updated to compile also in 64bits .
    ! warning. the functions in the list bellow should be tested !empty(returnvalues) insted of returnvalue !=0 since the return is now pointer type
      WVW_GET_HND_WINDOW,WVW_GETWINDOWHANDLE,WIN_GETDLGITEM,WIN_LOADICON,WIN_LOADIMAGE,WIN_GETDC,WIN_CREATEBRUSH.CREATEIMAGELIST
      LOADIMAGE,LOADBITMAP,LOADBITMAPEX,OPENIMAGE,OPENBITMAP,CREATESOLIDBRUSH,CREATEHATCHBRUSH,CREATEFONT,LOADICON,WINDOW2BITMAP
      WVW_DLGSETICON,WVW_CREATEDIALOGDYNAMIC,WVW_CREATEFONT,WVW_SETPOPUPMENU,WVW_CREATEMENU,WVW_CREATEPOPUPMENU,WVW_GETMENU
      WVW_GETSYSTEMMENU,WVW_SBCREATE,WVW_TBCREATE
  * contrib/gtwvw/hbgtwvw.h   
    ! some new constants and defines updated to allow 64bits

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@...
https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Saulius Zrelskis | 17 Nov 11:50 2014
Picon

Optimizing 2nd parameter of __DBLIST()

Hi All,

This sample produces compiler GPF:

--->---
proc main()
  local cFields

 LIST &(cFields)
return
---<---

Ron, can you remember, what happens with PCODE after implementing this change:

2001-07-26 02:50 UTC-0800 Ron Pinkas <ron <at> profit-master.com>
   * include/hbexpra.c
     + Added logic to optimize 2nd parameter of __DBLIST().
       Scan it if array, and optiimize elements that are codeblocks containing macros to the core value of such macro.
 
Best regards,
Saulius
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@...
https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Luiz Rafael Culik | 6 Nov 16:37 2014
Picon

changelog multiples

2014-11-06 13:40 UTC-300 Luiz Rafael Culik <luiz/AT/xharbour/com/br>
  * source/vm/fm.c
    ! in structure _HB_MEMINFO changed ULONG ulSignature to UINT32 ulSignature do the value will be 32bits on 64 bits compile
    ! in hb_xautorelease function changed PHB_MEMINFO pMemBlock = ( PHB_MEMINFO ) ( ( char * ) pMem - HB_MEMINFO_SIZE ); to PHB_MEMINFO pMemBlock = HB_FM_PTR( pMem ) becouse HB_FM_PTR does the same
      and also using HB_FM_GETSIG insted of HB_GET_LONG to get the signature
    ! in hb_mem2str changed type of uiSize parameter from UINT to HB_SIZE, as also change uiIndex and  uiPrintable variables types from UINT to HB_SIZE
    ! on functions calls to  hb_mem2str removed the cast to UINT on uiSize parameter
  * contrib/xwt/src/xwt_win/xwt_win.c  
    ! using SetWindowLongPtr with GWLP_USERDATA insted of SetWindowLong with GWL_USERDATA ( 64bits compilation)
  * contrib/xwt/src/xwt_win/xwt_win.h 
    ! using GetWindowLongPtr with GWLP_USERDATA insted of GetWindowLong with GWL_USERDATA ( 64bits compilation)
  * contrib/xwt/src/xwt_win/xwt_win_framewnd.c  
    ! using SetWindowLongPtr with GWLP_USERDATA insted of SetWindowLong with GWL_USERDATA ( 64bits compilation)
  * source/rtl/regex.c
    ! when  added cast to hb_size type to int when comparing with > 0 and  < 0 
  * contrib/tipssl/inetssl.h
    ! added include <cinterface.h>

2014-11-05 11:32 UTC-300 Luiz Rafael Culik <luiz/AT/xharbour/com/br>
  * include/cinterface.h
    ! minor fix on includes for mingw 4.8.2
    
2014-11-04 11:08 UTC-300 Luiz Rafael Culik <luiz/AT/xharbour/com/br>
  * source/rtl/pcre/config.generic.h 
    ! fix for compile with borland c++ 5.5.1
    
2014-11-04 09:15 UTC-300 Luiz Rafael Culik <luiz/AT/xharbour/com/br>
  * include/hbdefs.h
    ! minor change to detect existence of stdint.h for borland c++ 5.5.1

------------------------------------------------------------------------------
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@...
https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Luiz Rafael Culik | 1 Nov 20:42 2014
Picon

changelog multiples

2014-11-01 17:40 UTC-300 Luiz Rafael Culik <luiz/AT/xharbour/com/br>
  * contrib/gtwvw/gtwvw.c
    ! in hb_gt_wvwDlgProcMLess change init of iType variable from NULL to 0. also inside WM_NCDESTROY init the variable s_pWvwData->s_sApp->iType[ iIndex ] with 0 insted of NULL
    ! in hb_gt_wvwDlgProcModal change init of iType variable from NULL to 0. also inside WM_NCDESTROY init the variable s_pWvwData->s_sApp->iTypeModal[ iIndex ] with 0 insted of NULL
    ! in hb_gtInitStatics init the s_pWvwData->s_sApp->iTypeModal array and s_pWvwData->s_sApp->iType array with 0 insted of NULL
    ! on hb_gt_wvw_Info change the variable ulLen in the HB_GTI_CLIPBOARDDATA from ULONG to HB_SIZE      
    ! in FindControlId changed return (UINT) NULL; to return (UINT) 0;
  * contrib/gtwvw/wvwedit.c
  * contrib/gtwvw/wvwpush.c
  * contrib/gtwvw/wvwstbar.c
  * contrib/gtwvw/wvwtbar.c
    ! Changed  GWL_WNDPROC to  GWLP_WNDPROC
    ! SetWindowLong to SetWindowLongPtr and (LONG) to (LONG_PTR)
  * contrib/gtwvw/wvwfuncs.c 
    ! hb_retni( NULL ) -> hb_retni( 0 );
    ! hb_retnl( NULL ) -> hb_retnl( 0 );
  * contrib/gtwvw/hbgtwvw.h
    ! added some missing defines       
   
2014-10-31 21:50 UTC-300 Luiz Rafael Culik <luiz/AT/xharbour/com/br>
  * source/vm/fm.c
    ! ajusted typecasts in hb_xmemset and hb_xmemcpy ( ULONG  to HB_SIZE)
  * source/common/hbver.c
    ! updated to reflect new compiler based on harbour code
  * include/hbsetup.h
    include/hbdefs.h
    include/hbcompat.c
    ! added and updated some defines based on harbour code
  * source/rtl/hbzlib/gzguts.h
     ! added #include <unistd.h> when compiling in * nix ( unix and linux)
  * source/vm/consmt.c
    ! added HB_SYMBOL_UNUSED( uiIdleSleepMsec ); to HB_OS_UNIX  section of hb_idle_releaseCPU function
  * source/vm/thread.c
    ! added #include <unistd.h> to HB_OS_UNIX define section
  * source/rtl/winos.prg
    ! Added OS_ISWIN81 and OS_ISWIN8 functions when compiling for *nix platform  
  * source/vm/inet.c
    ! adjusted inet.h position on include 
  * source/tip/utils.c
    ! in function TIP_FILEMIMETYPE change HB_SIZE  iPos to HB_ISIZ  iPos 
  * source/rtl/philes.c
    ! in FWRITE  adjusted to use hb_retns insted of hb_retnl( ( LONG ) since hb_fsWriteLarge return HB_SIZE type
  * source/rtl/hbcomprs.c
    ! Change static ULONG hb_zlibUncompressedSize to static HB_SIZE hb_zlibUncompressedSize 
    ! change ULONG to HB_SIZE where aplicable
  * source/rtl/direct.c
    ! removed unnecessary cast to HB_LONG for   szDrvDelim[ 0 ] assingment
  * config/linux/gcc.cf
    ! added -DMEMCPY_64BIT when targeting 64bits 
  * include/cinterface.h
    ! removed unnecessary #include initguid.h for mingw 
  
on gtwvw more to come soon to allow full compile  on 64bits


   

------------------------------------------------------------------------------
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@...
https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Saulius Zrelskis | 31 Oct 09:42 2014
Picon

ChangeLog: 2014-10-30 22:05 UTC+0200 Saulius Zrelskis <labitas...>

2014-10-30 22:05 UTC+0200 Saulius Zrelskis <labitas...>
  * include/cinterface.h
    ! copy/paste typo in header comment

2014-10-30 21:45 UTC+0200 Saulius Zrelskis <labitas...>
  * include/cinterface.h
  * contrib/hbsqlit3/config.h
    ! changes to make mingw happy

2014-10-30 17:40 UTC+0200 Saulius Zrelskis <labitas...>
  * make_gc.bat
    ! fixed typos in "goto 'label'" on error

2014-10-29 10:55 UTC+0200 Saulius Zrelskis <labitas...>
  * source/pp/ppcore.c
    ! fix memory leak on preprocessing

Best regards,
Saulius
------------------------------------------------------------------------------
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@...
https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Przemyslaw Czerpak | 29 Oct 11:47 2014
Picon

Recent modifications

Hi,

xHarbour is not my dream anyhow I strongly suggest
that someone who is interesting in keeping this project
alive and having enough knowledge about xHarbour
internals verified recent Luiz modifications.
Otherwise this project will die shortly.
Luiz, it's nothing personal to you but each your recent
modification for macrocompiler introduced new critical
bugs like memory corruptions or GPF traps. You cannot
copy some code from Harbour if you do not fully
understand what Harbour and xHarbour does on different
levels. A lot of internal structures and code in Harbour was
rewritten to eliminate different bad side effects what allowed
to greatly simplify upper level code and increase performance
but now if you try to copy Harbour upper level code without
low level modifications then the results are unpredictable.
Such modification can be done only by someone with realy good
knowledge about [x]Harbour internals. You started with simple
modification with buffer overflow and ended with version which
corrupts readonly memory area.
Here is self contain example which illustrates one of
the problems you introduced:

   proc main()
      local cVal
      cVal := "{|| 1 }"
      ? cVal
      ? eval( &cVal )   // GPF on systems with RO memory protection
      ? cVal            // modified value on systems without it
   return

Probably Ron can help you verifying your modifications and updating
simplex. Meanwhile I suggest to remove all your recent modifications
from SVN. If you will continue such "minor fixes" then after some
time no one will be able to restore usable xHarbour state without
some global code revert.

best regards,
Przemek

------------------------------------------------------------------------------
Enrico Maria Giordano | 21 Oct 12:55 2014
Picon

Re: Bug in latest xHarbour from SVN


Il 21/10/2014 12:49, Rafael Culik ha scritto:

> Which gpf?

Probably in macro evaluation.

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
Enrico Maria Giordano | 21 Oct 11:49 2014
Picon

Re: Bug in latest xHarbour from SVN


Il 21/10/2014 11:42, Rafael Culik ha scritto:

> Enrico
>
> White GPf ?

What is "white GPF"?

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
Enrico Maria Giordano | 21 Oct 11:20 2014
Picon

Bug in latest xHarbour from SVN

I'm getting GPF from my apps. Going to the previous version fix the 
problem. Please check.

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho

Gmane