Commit Graph

10 Commits

Author SHA1 Message Date
Pavel Tsarenko
bcd00a0fe6 2012-05-18 18:15 UTC+0300 Pavel Tsarenko (tpe2 at mail.ru)
* contrib/hbwin/win_reg.prg
  * contrib/hbwin/tests/test_reg.prg
    * added nRegSam (access mask) parameter into functions: win_regRead,
      win_regWrite, win_regGet, win_regDelete, win_regQuery, win_regSet.
      This parameter can be used in win32 applications, running under
      win64 systems for access to 32-bit or 64-bit registry.
2012-05-18 15:17:30 +00:00
Viktor Szakats
dc2edce1ef 2011-04-26 16:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/tests/testreg.prg
    + added type parameter to win_regWrite()/win_regSet()/win_regSetValueEx() functions
    + added QWORD support in win registry
    ! fixed very old xhb typo: sizeof( REG_DWORD ) -> sizeof( DWORD )
      (didn't cause actual error in compiled code)
    + added REG_DWORD, REG_QWORD tests

  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    * uninstall icon changed to better looking one
2011-04-26 14:29:38 +00:00
Viktor Szakats
0ad77a1373 2011-02-14 14:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.hbx
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/tests/testreg.prg
    + Added WIN_REGDELETE() high-level function.
    + Added WIN_REGDELETEKEY() Windows API (non-1-to-1) wrapper.
    + Added WIN_REGDELETEVALUE() Windows API (non-1-to-1) wrapper.

  * contrib/hbqt/hbmk2_qt.hbs
  * contrib/hbqt/qtgui/hbqtgui.h
  * contrib/hbqt/qtcore/hbqtcore.h
    + Cast HBQT_TYPE_ constants to unsigned int.
2011-02-14 13:40:18 +00:00
Viktor Szakats
97abb02ed9 2010-01-17 20:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_tprn.prg
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/hbwin.h
  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/tests/testprn.prg
  * contrib/hbwin/tests/testcom1.prg
  * contrib/hbwin/tests/testcom2.prg
  * contrib/hbwin/tests/testreg.prg
  * contrib/hbwin/tests/testmapi.prg
  * contrib/hbwin/win_com.c
  * contrib/hbwin/win_prn1.c
    * MM_TO_INCH macro moved from hbwin.ch to win_tprn.prg.
      (INCOMPATIBLE is someone happened to use this in app code)
    + Prefixed all Windows constants with WIN_ in hbwin.ch.
    + Prefixed all hbwin specific constants with HB_ in hbwin.ch.
    + Retained all old legacy / deprecated hbwin.ch constants
      for compatibility. Users are encourages to use the new
      ones, as the old ones will be deleted in the future.
    * Changed WIN_MULDIV() to use hb_retni() (instead of hb_retnl())
    * WIN_MULDIV() renamed to WAPI_MULDIV() and moved
      to wapi source. (INCOMPATIBLE, although it's unlikely anyone
      is using WIN_MULDIV() so I didn't keep it.)
    + Added some additional printing related Windows constants.
    + Added comments to hbwin.ch saying which constant is used
      in which WIN_*() function.
    * HB_WIN_MAPI_* constants renamed to WIN_MAPI_*.
      (I haven't dealt with compatibility as this is brand new
      functions with not much users yet)
    + Marked all hbwin.ch deprecated macros with HB_LEGACY_LEVEL3
    ! Fixed to use hbwin.ch constants in few remaining places in testprn.prg
    ; Now it's possible to include hbwin.ch in .c files.
    ; QUESTION: Why RGB_* color constants aren't using pure colors?
                If there is no special reason, I think it should be
                changed to pure ones (with 0xFF components).

  * src/compiler/hbgenerr.c
    * Formatting.
2010-01-17 19:43:19 +00:00
Viktor Szakats
aa13701479 2009-12-11 20:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_winbase.c
    * Eliminated hb_parclen() call in WAPI_FORMATMESSAGE() function.

  * contrib/hbwin/win_regc.c
    * WIN_REGSETVALUEEX(): Adjusted casting to not drop const.
    ! WIN_REGSETVALUEEX(): Added support for UNICODE builds when 
      string types (non-binary data) are passed.

  * contrib/hbwin/tests/testreg.prg
    + Extended with basic test for above.
2009-12-11 19:21:56 +00:00
Viktor Szakats
2551351908 2009-12-09 15:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_regc.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/win_dll.c
    + Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones.
    ; Please review me. The transition is not yet full, as there were 
      some problematic cases, which I've left as is.
    ! Added UNICODE support for WIN_REGQUERYVALUEEX()'s string return values.

  * contrib/hbwin/tests/testreg.prg
    + Added one more test call.
    ! Fixed to not use legacy registry call.
2009-12-09 14:45:54 +00:00
Viktor Szakats
93467d57d6 2009-05-19 07:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_regc.c
    * Cleanups: Documenting params, changing default, using SWITCH,
      HKEY to HKCU (from HKLM) to be friendly with restricted user
      situations (code may become incompatible), removed unused params,
      changed return values to logical, more consistently filling params
      returned by ref, fixed hkResult usage, fixed hbResult to use real
      pointer type, minor opts.
      Some of these changes may create incompatibility if:
         - no hkey is passed, since the default has changed.
         - using win_reg*() functions directly, since return value and
           hbResult type has changed.
    ! Fixed potential GPF is non-string was passed for string params.

  * contrib/hbwin/tests/testreg.prg
    + Added registry write test.

  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbrun/hbrun.prg
    * Minor opt.
2009-05-19 05:21:24 +00:00
Viktor Szakats
409012d5e6 2009-02-18 02:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk/hbmk2.prg
    ! Fixed not recognising hbp lines if the filter was at BOL.
    ! Two minor fixes.

  * utils/hbmk/examples/xbgtk.hbp
    + Added cflags, it was already supported, just forgot about it.

  * contrib/hbblat/tests/hbblat.hbp
  * contrib/hbblat/tests/blatcmd.prg
    % Using WIN_GETCOMMANDLINEPARAM().

  * contrib/hbwin/win_misc.c
  * contrib/hbwin/tests/testreg.prg
    + Added WIN_GETCOMMANDLINEPARAM().
      Similar to WAPI_GETCOMMANDLINE() but returns
      only the parameter part. Handles UNICODE,
      _SET_OSCODEPAGE and appnames with spaces.

  * contrib/hbwin/tests/hbwin.hbp
    ! Fixed to include shell32 lib.

  * contrib/hbwin/Makefile
  * contrib/hbwin/common.mak
  + contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/tests/testreg.prg
    + Added WAPI_GETCOMMANDLINE().
      With UNICODE and _SET_OSCODEPAGE support.

  * ChangeLog
    * TOFIX (hb_cmdline()) marked as POSTPONED with explanation.
2009-02-18 01:06:57 +00:00
Viktor Szakats
66dd443ef7 2009-02-04 00:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_osc.c
  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_tprn.prg
  * contrib/hbwin/win_tprt.prg
  * contrib/hbwin/win_dll.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/tests/testreg.prg
  * contrib/hbwin/tests/testole.prg
    * Renaming hbwin lib functions to a common and bitwidth-neutral
      namespace, which is WIN_*():
      - W32_REGPATHSPLIT()            -> WIN_REGPATHSPLIT()
      - W32_REGREAD()                 -> WIN_REGREAD()
      - W32_REGWRITE()                -> WIN_REGWRITE()
      - WIN32_REGCREATEKEYEX()        -> WIN_REGCREATEKEYEX()
      - WIN32_REGOPENKEYEX()          -> WIN_REGOPENKEYEX()
      - WIN32_REGQUERYVALUEEX()       -> WIN_REGQUERYVALUEEX()
      - WIN32_REGSETVALUEEX()         -> WIN_REGSETVALUEEX()
      - WIN32_REGCLOSEKEY()           -> WIN_REGCLOSEKEY()

  * contrib/hbwin/win_tprn.prg
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/tests/testprn.prg
    * Renaming hbwin lib functions/classes to a common and bitwidth-neutral
      namespace, which is WIN_*():
      - WIN32PRN class -> WIN_PRN class.
      - WIN32BMP class -> WIN_BMP class.
      - WIN32_ARC()                   -> WIN_ARC()
      - WIN32_BITMAPSOK()             -> WIN_BITMAPSOK()
      - WIN32_CREATEDC()              -> WIN_CREATEDC()
      - WIN32_CREATEFONT()            -> WIN_CREATEFONT()
      - WIN32_DELETEDC()              -> WIN_DELETEDC()
      - WIN32_DRAWBITMAP()            -> WIN_DRAWBITMAP()
      - WIN32_ELLIPSE()               -> WIN_ELLIPSE()
      - WIN32_ENDDOC()                -> WIN_ENDDOC()
      - WIN32_ENDPAGE()               -> WIN_ENDPAGE()
      - WIN32_ENUMFONTS()             -> WIN_ENUMFONTS()
      - WIN32_FILLRECT()              -> WIN_FILLRECT()
      - WIN32_GETCHARSIZE()           -> WIN_GETCHARSIZE()
      - WIN32_GETDEVICECAPS()         -> WIN_GETDEVICECAPS()
      - WIN32_GETEXEFILENAME()        -> WIN_GETEXEFILENAME()
      - WIN32_GETPRINTERFONTNAME()    -> WIN_GETPRINTERFONTNAME()
      - WIN32_GETTEXTSIZE()           -> WIN_GETTEXTSIZE()
      - WIN32_LINETO()                -> WIN_LINETO()
      - WIN32_LOADBITMAPFILE()        -> WIN_LOADBITMAPFILE()
      - WIN32_MULDIV()                -> WIN_MULDIV()
      - WIN32_OS_ISWIN9X()            -> WIN_OS_ISWIN9X()
      - WIN32_RECTANGLE()             -> WIN_RECTANGLE()
      - WIN32_SETBKMODE()             -> WIN_SETBKMODE()
      - WIN32_SETCOLOR()              -> WIN_SETCOLOR()
      - WIN32_SETDOCUMENTPROPERTIES() -> WIN_SETDOCUMENTPROPERTIES()
      - WIN32_SETMAPMODE()            -> WIN_SETMAPMODE()
      - WIN32_SETPEN()                -> WIN_SETPEN()
      - WIN32_STARTDOC()              -> WIN_STARTDOC()
      - WIN32_STARTPAGE()             -> WIN_STARTPAGE()
      - WIN32_TEXTOUT()               -> WIN_TEXTOUT()

  ; INCOMPATIBLE. Please update your source code.
2009-02-03 23:31:56 +00:00
Viktor Szakats
dd31acbb20 2008-09-14 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-ce-spec
  * harbour-w32-spec
  * harbour.spec
  * common.mak
  * include/hbver.h
    * Changed version number to 1.1.0

  * include/hbextern.ch
    + Added new thread functions.

  * harbour-ce-spec
  * harbour-w32-spec
  * contrib/Makefile
  * contrib/make_b32_all.bat
  * contrib/make_gcc_all.sh
  * contrib/make_vc_all.bat
  - contrib/hbw32
  + contrib/hbwin
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_tprt.prg
  * contrib/hbwin/common.mak
  - contrib/hbwin/hbw32.ch
  + contrib/hbwin/hbwin.ch
  - contrib/hbwin/tests/testw32p.prg
  + contrib/hbwin/tests/testprn.prg
  * contrib/hbwin/tests/testreg.prg
  * contrib/hbwin/tests/bld_b32.bat
  * contrib/hbwin/tests/testprt1.prg
  * contrib/hbwin/tests/bld_vc.bat
  * contrib/hbwin/tests/testprt2.prg
  * contrib/hbwin/Makefile
    * Renamed hbw32 to hbwin.
    * Renamed hbw32.ch to hbwin.ch.
    ; INCOMPATIBLE.
2008-09-14 10:36:50 +00:00