Commit Graph

5 Commits

Author SHA1 Message Date
Viktor Szakats
81c9b0506c 2010-06-04 15:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/*
    * Deleted 'www.' from harbour-project.org website name.
      (www.harbour-project.org -> harbour-project.org)
2010-06-04 13:32:23 +00:00
Viktor Szakats
5cfcb4f323 2010-02-09 03:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/Makefile
  * src/common/hbwince.c
  + src/common/hbwin.c
    ! Moved Windows UNICODE helper function into new source,
      leaving WinCE API local emulation into separate source file.

  * include/hbwince.h
    + Now automatically includes windows.h. (since it depends on it)

  * include/hbdefs.h
    - Deleted HB_OS_WIN_USED autodetection. Not needed anymore.
    ! Fixed to not include hbwince.h anymore. It should be included
      directly from source files, where needed.

  * include/hbdefs.h
  * contrib/hbodbc/odbc.c
  * contrib/rddsql/sddodbc/odbcdd.c
    + Always defining HB_TCHAR_*() macros. They will be dummies
      in non-Windows or non-UNICODE builds.

  * include/clipdefs.h
    ! Legacy Clipper types moved to the bottom, because it's
      no longer true that hbapi.h defines their dependent types
      (our legacy ones).

  * contrib/hbwin/win_bmpd.c
  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_alloc.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/hbwin.h
  * contrib/hbwin/hbwinole.h
  * contrib/hbwin/mapi.c
  * contrib/hbwin/wapi_wingdi_font.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/wce_simc.c
  * contrib/hbwin/wapi_winnls.c
  * contrib/hbwin/win_bmp.c
  * contrib/hbwin/win_com.c
  * contrib/hbwin/Makefile
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/win_osc.c
  * contrib/hbwin/wce_smsc.c
  * contrib/hbwin/wapi_err.c
  * contrib/hbwin/legacycd.c
  * contrib/hbwin/hbwapi.h
  * contrib/hbwin/wapi_shellapi.c
  * contrib/hbwin/win_dlg.c
  * contrib/hbwin/legacyco.c
  * contrib/hbwin/win_dll.c
  * contrib/hbwin/wapi_winbase_mutex.c
    + Reworked the way windows.h is included and headers
      are organized. New types allow complete control and
      flexibility. Finally.

  * src/vm/mainwin.c
  * src/vm/maindll.c
  * src/vm/maindllh.c
  * src/vm/cmdarg.c
  * src/vm/maindllp.c
  * src/vm/task.c
  * src/vm/fm.c
  * src/vm/extrap.c
  * src/vm/thread.c
  * src/vm/hvmall.c
  * src/vm/dynlibhb.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbver.c
  * src/common/hbtrace.c
  * src/common/hbfsapi.c
  * src/common/hbdate.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/fstemp.c
  * src/rtl/gttone.c
  * src/rtl/fserr.c
  * src/rtl/filesys.c
  * src/rtl/lang.c
  * src/rtl/diskspac.c
  * src/rtl/console.c
  * src/rtl/cputime.c
  * src/rtl/gtclip.c
  * src/rtl/oemansi.c
  * src/rtl/disksphb.c
  * src/rtl/net.c
  * src/rtl/gtgui/gtgui.c
  * src/rtl/hbproces.c
  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
  * src/rtl/gtkbstat.c
  * contrib/hbct/ctnet.c
  * contrib/hbct/dattime3.c
  * contrib/hbct/disk.c
  * contrib/hbodbc/odbc.c
  * contrib/xhb/hboutdbg.c
  * contrib/xhb/xhberrc.c
  * contrib/xhb/filestat.c
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbnf/getenvrn.c
  * contrib/rddsql/sddodbc/odbcdd.c
  * contrib/rddads/adsx.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/rddads.h
  * contrib/rddads/ads1.c
  * contrib/rddads/adsmgmnt.c
  * examples/hbapollo/apollo.c
    + HB_OS_WIN_USED trick replaced with direct windows.h
      inclusion, just like we do for all other OSes.
    + Also inclded hbwince.h in source files which required
      it. Please test it.

  * contrib/hbqt/gtqtc/gtqtc.cpp
    - Deleted commented code to not create false grep hits
      all the time.
2010-02-09 02:58:53 +00:00
Viktor Szakats
4b7dad32fe 2010-01-23 14:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwapi.h
  * contrib/hbwin/wapi_alloc.c
  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/tests/testgdi.prg
    + Reworked the way DEVMODE structure is handled. As many winapi
      interfacing methods, this is also a strange beast, it contains
      some hidden information, so it must be created using some
      winapi calls. I finally settled with these three functions
      to handle DEVMODE structure from .prg level:
         __WAPI_DEVMODE_NEW( <cPrinterName> ) => <pDEVMODE>
         __WAPI_DEVMODE_SET( <pDEVMODE>, <hashToWriteFrom> )
         __WAPI_DEVMODE_GET( <pDEVMODE>, <hashToReadInto> )
      Then <pDEVMODE> can be passed to WAPI_CREATEDC() and WAPI_RESETDC().
      Remember to recreate <pDEVMODE> after using __WAPI_DEVMODE_SET()
      and before using __WAPI_DEVMODE_GET() to refresh the structure
      content with actual device settings.
2010-01-23 13:05:50 +00:00
Viktor Szakats
4abe879011 2010-01-21 12:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_alloc.c
  * contrib/hbwin/hbwapi.h
    + Added GC collected HBRUSH support functions.

  * contrib/hbwin/wapi_wingdi.c
    + Added link to WinCE MSDN documentation page.
    + Added hbwapi_par_POINT(). Handles both hash and array.
    + Added WAPI_CREATESOLIDBRUSH()
    + Added WAPI_CREATEHATCHBRUSH()
    + WAPI_SELECTOBJECT() corrected to return integer when region is passed.
    + Added:
        WAPI_FILLRECT()
        WAPI_ROUNDRECT()
        WAPI_RECTANGLE()
        WAPI_ARC()
        WAPI_ELLIPSE()

  * contrib/hbwin/hbwin.ch
    + WIN_HS_* constants added for WAPI_CREATEHATCHBRUSH()
    + WIN_DT_* constants converted to hex format.
2010-01-21 11:41:25 +00:00
Viktor Szakats
b1efdbe888 2010-01-20 16:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_wingdi.c
    ! Guarded for ! HB_OS_WIN_CE.
      (mingwarm compiles it, but poccarm doesn't)
      Maybe to focus on important things, we should drop
      POCC support altogether?

  * contrib/hbwin/win_tprn.prg
    * WIN_DELETEDC() calls deleted. 'hDC := NIL' is enough.

  * contrib/hbwin/Makefile
  + contrib/hbwin/wapi_alloc.c
  * contrib/hbwin/win_prn1.c
    + Moved hbwapi_* low-level object handling functions to
      separate WAPI source.
    * WIN_DELETEDC() converted to compatibility stub, it 
      will no longer release the handle.

  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/win_dll.c
    % Deleted '#if defined( HB_OS_WIN )' guards.
      (we can readd them for extra safety, but in this case
      they should be readded consistently for all source files)
    % Deleted '! defined( __RSXNT__ )' guards
      RSXNT is not supported a dead compiler since long.
    % Deleted '! defined( __CYGWIN__ )' guards.
      It compiles with current Cygwin, if someone is interested
      in older versions, pls send build results.
2010-01-20 16:05:09 +00:00