Commit Graph

12743 Commits

Author SHA1 Message Date
Viktor Szakats
224afe83e1 2009-12-08 01:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbqt/hbqt_hbqtsyntaxhighlighter.cpp
  + contrib/hbqt/hbqt_hbqtdbfmodel.cpp
  + contrib/hbqt/hbqt_hbqttableview.cpp
  + contrib/hbqt/hbqt_hbqtmydrawingarea.cpp
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_slots.cpp
  * contrib/hbqt/hbqt_slots.h
  * contrib/hbqt/Makefile
    * Formatting (some of these generated long lines, but for now I had to see what's
      happening in code)
    * Moved out some classes from hbqt_slots.cpp. (TODO/TOFIX: renaming, moving declarations)
    ! Fixed missing hb_vmRequestRestore() calls. (lots)
    + Added TOFIX hbqt_gcpointer();
    % Certain functions marked static.
    % Optimized out listActv vars.
    - Deleted commented code.

  * contrib/rddads/adsx.c
  * contrib/rddads/ads1.c
    * Minor formatting.
2009-12-08 00:10:17 +00:00
Przemyslaw Czerpak
94c1283dd8 2009-12-07 19:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/global.mk
    ! fixed variable name in output message
2009-12-07 18:29:27 +00:00
Przemyslaw Czerpak
1429103ddd 2009-12-07 18:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/ppcore.c
    * strip UTF-8 BOM signature from compiled .prg files

  * harbour/include/hbdefs.h
    + added HB_MACRONAME_JOIN() macro

  * harbour/include/hbinit.h
    ! fixed startup function declaration when HB_STRICT_ANSI_C macro is set

  * harbour/src/rdd/dbfcdx/dbfcdx1.c
    * modified to use unique names for startup functions

  * harbour/include/hbcdpreg.h
    * modified to use unique names in CP startup functions for non #pragma
      based initialization.

  * harbour/include/Makefile
  + harbour/include/hbgtreg.h
    + added default GT startup code in header file which can be
      included by GT drivers. This version uses unique function names
      for non #pragma based initialization.

  * harbour/src/rtl/gt_tpl/gt_tpl.c
  * harbour/src/rtl/gtdos/gtdos.c
  * harbour/src/rtl/gtwin/gtwin.c
  * harbour/src/rtl/gtxwc/gtxwc.c
  * harbour/src/rtl/gtcrs/gtcrs.c
  * harbour/src/rtl/gtstd/gtstd.c
  * harbour/src/rtl/gttrm/gttrm.c
  * harbour/src/rtl/gtcgi/gtcgi.c
  * harbour/src/rtl/gtos2/gtos2.c
  * harbour/src/rtl/gtsln/gtsln.c
  * harbour/src/rtl/gtpca/gtpca.c
  * harbour/src/rtl/gtgui/gtgui.c
  * harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/contrib/gtalleg/gtalleg.c
  * harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/hbct/ctwin.c
    * use #include "hbgtreg.h" for startup code
2009-12-07 17:42:41 +00:00
Mindaugas Kavaliauskas
dff90ef1d7 2009-12-07 11:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads1.c
    * renamed RDD from ADT to ADSADT
    + added public functions ADSADT, ADSNTX, ADSCDX, ADSVFP to be able 
      do a REQUEST RDD using RDD name from .prg code
  * harbour/contrib/rddads/adsx.c
    + added ADSNTXX, ADSCDXX, ADSADTX RDDs
2009-12-07 09:37:16 +00:00
Viktor Szakats
935fdfc158 2009-12-07 10:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/libpng/pngerror.c
  * external/libpng/pngrio.c
  * external/libpng/pngwrite.c
  * external/libpng/pngconf.h
  * external/libpng/pngwtran.c
  * external/libpng/pngpread.c
  * external/libpng/pngset.c
  * external/libpng/LICENSE
  * external/libpng/pngwio.c
  * external/libpng/pngrutil.c
  * external/libpng/pngwutil.c
  * external/libpng/pngread.c
  * external/libpng/pngmem.c
  * external/libpng/png.c
  * external/libpng/pngget.c
  * external/libpng/pnggccrd.c
  * external/libpng/png.h
  * external/libpng/pngrtran.c
  * external/libpng/pngtrans.c
    ! Reverted to 1.2.40 (from 1.2.41)
      Due to this regression:
      ---
      wcc386   -zq -bt=nt -bm -w0 -3s -i. -i../../../../../include -d2 -DHB_TR_LEVEL_DEBUG  -I/home/ice/w/xhb/hbci/harbour-build/external/zlib  -fo=pngmem.obj  ../../../pngmem.c
      ../../../pngmem.c(447): Error! E1057: Modifiers disagree with previous definition of 'png_calloc'
      ../../../pngmem.c(447): Note! I2002: 'png_calloc' defined in: ../../../png.h(3754)
      ---
2009-12-07 09:15:59 +00:00
Pritpal Bedi
513b57dcd6 2009-12-07 00:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbptreeview.prg
    ! Fixed how children nodes are managed.

  * contrib/hbide/idemisc.prg
  * contrib/hbide/projects/hbide.hbi
  * contrib/hbide/idestylesheets.prg
  * contrib/hbide/hbide.prg
    ! More context menu options. 
      RIGHT+CLICK on <Editor> files presents <Save><Close> options.

    + Implemented adding source files via <Select>.
      This implementation tries to substitute  meta-key-value,
      if one is defined, for part of path, a handy feature.
2009-12-07 08:59:58 +00:00
Viktor Szakats
70610ba63c 2009-12-07 03:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rdd/wafunc.c
    ! Fix to prev.
2009-12-07 02:24:33 +00:00
Viktor Szakats
66792cd024 2009-12-07 02:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbwince.h
    + Added following macros to help transitioning to new method
      of CP conversion when interfacing with Windows API (both UNICODE
      and non-UNICODE):
         HB_PARSTR( n, h, len )
         HB_RETSTR( str )
         HB_RETSTRLEN( str, len )
         HB_STORSTR( str, n )
         HB_STORSTRLEN( str, len, n )
    ; The goal is to replace HB_TCHAR_*() macros and hb_osEncodeCP()
      call with above ones. This will allow to use any CPs (even UTF8)
      on the .prg level and transparently interface with Windows
      with proper CP translation.
      We will probably need a few more macros to store strings in
      array elements f.e., but this is enough for a start.

  * contrib/hbwin/wapi_shellapi.c
    + Experimental: WAPI_SHELLEXECUTE() converted to use above new
      macros. It results in much cleaner code.
      Minor incompatibility: 3rd parameter is now passed as-is, so
      if non-string is passed it gets passed to Windows as NULL,
      which isn't a valid input parameter.
    ; NOTE: Probably it will useful to have HB_PARSTRDEF() which also
            accepts a default value to be used when non-string
            parameter was passed. (to replace old hb_parcx() calls).
            Is it possible to add such function or any other ways to solve that?
    ; TOFIX: I'm getting this warning:
               warning: implicit declaration of function 'hb_setGetOSCP'
             and it's probably too late, but I couldn't find a way to
             include hbset.h without errors or with least side-effects.
             Przemek, could you help?

  * contrib/hbwin/win_prn1.c
    * Formatting.

  * src/rdd/dbcmd.c
  * src/rdd/wafunc.c
    + Moved recently implemented codepage defaulting logic (_SET_DBCODEPAGE)
      to lower lever functions.
      Please review me.

  * external/libpng/pngrio.c
  * external/libpng/pngerror.c
  * external/libpng/pngconf.h
  * external/libpng/pngwrite.c
  * external/libpng/pngset.c
  * external/libpng/pngpread.c
  * external/libpng/pngwtran.c
  * external/libpng/LICENSE
  * external/libpng/pngwio.c
  * external/libpng/pngrutil.c
  * external/libpng/pngwutil.c
  * external/libpng/pngread.c
  * external/libpng/pngmem.c
  * external/libpng/png.c
  * external/libpng/pngget.c
  * external/libpng/pnggccrd.c
  * external/libpng/png.h
  * external/libpng/pngrtran.c
  * external/libpng/pngtrans.c
    * Updated to 1.2.41 (from 1.2.40)
2009-12-07 02:17:37 +00:00
Pritpal Bedi
62fb9c03d7 2009-12-06 15:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/idemisc.prg
  * contrib/hbide/idestylesheets.prg
  * contrib/hbide/projects/hbide.hbi
  * contrib/hbide/hbide.prg
    + Implemented Project definition/loading/manipulation through 
      <Project Tree> interface. 
    + Implemented this tree structure:

        - Projects
          - Executables
            - Harbour-Qt IDE
              - C:\harbour\contrib\hbide\  [ Path containing the source ]
                - hbide.prg
                - idemisc.prg
                - ...
              - C:\harbour\contrib\hbwin\
                - olecore.c
                - ...
            - GTWVG Demonstration Application
              - C:\harbour\contrib\gtwvg\tests\
                - demowvg.prg

        - Editor    [ Holds sources already opened ]
          - C:\harbour\contrib\hbide\  [ Path containing the source ]
            - hbide.prg
            - idetags.prg
            - ...

        RIGHT-CLICK ( context menu ) on <Projects> node presents a menu to 
           define or load a project.
        RIGHT-CLICK on <Project Description> node allows to redefine 
           the properties.
        DOUBLE-CLICK on any source file has two actions, 
              1) it opens the editor tab if file is not open already, 
              2) it makes the tab current which holds the source of this file.
           This action is valid on nodes contained beneath <Path> under 
           <Project Description> or under <Editor>.
            
        certainly hope that some of you will play with it and will report 
        back anything desired more.
2009-12-06 23:56:28 +00:00
Viktor Szakats
da2d111e78 2009-12-06 22:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn2.c
    ! Silenced mingw C++ mode warning as suggested by Xavi. (Thanks!)
2009-12-06 21:29:12 +00:00
Viktor Szakats
6c8babc782 2009-12-06 22:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_destruct.cpp
    % Removed headers not required for this file.
2009-12-06 21:24:08 +00:00
Viktor Szakats
97e5dce09c 2009-12-06 19:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/set.c
  * src/rdd/dbcmd.c
  * include/set.ch
  * include/hbset.h
    + Added support for SET( _SET_DBCODEPAGE ). This will set the
      default codepage for RDD operation. It affects following
      functions and everything which is based on them:
         DBUSEAREA()
         DBCREATE()
         HB_DBCREATETEMP()
         __DBOPENSDF()
      IOW every function which accepts current "dirty" Harbour
      extension <cCodePage>.
      This new SET() is useful if someone wants to use a different 
      than app codepage in tables, without modifying every above
      calls to pass the db CP as extra parameter (plus maintaining 
      this global setting in app code).
2009-12-06 19:01:01 +00:00
Viktor Szakats
3cba61fb5c 2009-12-06 18:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idemisc.prg
    ! Minor typo in prev.
2009-12-06 17:49:16 +00:00
Viktor Szakats
047e8eb9e3 2009-12-06 18:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rdd/dbcmd.c
    + Added short DBUSEAREA() parameter list doc in comment.

  * contrib/hbide/hbide.hbp
  - contrib/hbide/freadlin.c
  * contrib/hbide/idemisc.prg
    % Elminated HB_FREADLINE().
    % Highly optimized MEMOTOARRAY().
    % Using FOR EACH in PARSEWITHMETADATA(), APPLYMETADATA().
    ! -1 -> F_ERROR
    - Deleted #include "hbqt.ch". Not needed.
    * Minor formatting.
2009-12-06 17:48:12 +00:00
Przemyslaw Czerpak
9e7e433a1a 2009-12-06 18:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbtpathy/tpunix.c
    ! fixed tty raw IO mode setting
    * reduced CRTSCTS redefinition to WATCOMC and Linux, added small
      comment about it and iTODO compile time warning if CRTSCTS is
      not defined.
      TODO: make some cleanup and extensions for *nix version of this
            library.

  * harbour/config/os2/watcom.mk
    * disabled -s from GTSTD compile time parameters to test possible
      workaround for OW problems in MT mode and APIENTRY16 functions.
2009-12-06 17:35:20 +00:00
Viktor Szakats
f421b674e6 2009-12-06 12:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/Makefile
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_tprn.prg
  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/win_tcom.prg
  * contrib/hbwin/win_com.c
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_osc.c
  * contrib/hbwin/win_dll.c
  * contrib/hbide/ideparseexpr.c
    * Formatting.
2009-12-06 11:40:52 +00:00
Viktor Szakats
5c830ca710 2009-12-06 04:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideparseexpr.c
    ! Fixed to use hb_strncpy() instead of strncpy().

  * contrib/hbwin/win_os.prg
    + Added comment to indicate parameter accepted as reference.
2009-12-06 03:11:48 +00:00
Viktor Szakats
7a986994f2 2009-12-06 03:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
  * contrib/hbwin/win_reg.prg
  + contrib/hbwin/legacycr.c
    + Renamed three registry functions to reside in WIN_ namespace:
      win_regSet()   <= SetRegistry()
      win_regGet()   <= GetRegistry()
      win_regQuery() <= QueryRegistry()
    ; Old names are still available.

  ; TODO: Move legacy Windows function names to xhb lib.
          This has the advantage that they can stay there
          forever.

  * contrib/hbwin/win_os.prg
    * Changed to use new function names.
    * Variable name cleanup.
    % WIN_OSNETVREDIROK() optimized/simplified.

  * contrib/hbide/ideparseexpr.c
    * Final renaming cleanup.

  * contrib/hbide/hbide.prg
    + Changed to use HB_MEMOWRIT() instead of MEMOWRIT() to avoid
      legacy EOF char.
2009-12-06 02:48:42 +00:00
Viktor Szakats
c83dbe83c5 2009-12-06 03:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/tpunix.c
    + Cleaned definition of CRTSCTS macro, if not defined.
      Based on info sent to dev list by Przemek, plus Darwin value
      added after checking my system.
    + Added TODO warning and dummy return value if CRTSCTS
      cannot is unknown for target platform.
    ; Please review me.

  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_osc.c
  * contrib/hbwin/legacycv.c
    + Added WIN_OSISVISTAORUPPER().
    + Added xhb compatibility functions OS_ISWINVISTA_OR_LATER()
    + WIN_OSNETREGOK() extended to turn of SMB2 on Vista and upper systems.
    ! Fixed WIN_OSNETREGOK() to only attempt to change HKLM registry settings
      if run under admin account (on NT systems). This also fixes a typo
      in current xhb implementation.
    ; Adaptation of xhb addition by Peter Rees.

  * contrib/hbwin/win_regc.c
    + Added NOTE about minor xhb incompatibility in registry hive numbers.
      (default/zero is HKCU in Harbour, HKLM in xhb)

  * contrib/hbide/ideparseexpr.c
    * Cleaned int/size type usage.
    * Formatting.
    * Variables name cleanups.
2009-12-06 02:10:39 +00:00
Pritpal Bedi
9e275b0446 2009-12-05 13:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
    ! Build <Project Tree> from opened projects.
2009-12-05 21:57:02 +00:00
Viktor Szakats
5802ccba95 2009-12-05 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/tpunix.c
    ! Extra __WATCOM__ guard deleted.
2009-12-05 19:01:08 +00:00
Pritpal Bedi
3cd8c194e3 2009-12-05 09:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
  * contrib/hbide/projects/hbide.hbi
  * contrib/hbide/resources/projectproperties.ui
    ! Probably now <Project Properties> dialog will exit cleanly on <Cancel>.
    ! Destroyed more Qt objects on exit.

  * contrib/hbxbp/xbpstatusbar.prg
    ! Destruction of panels.
2009-12-05 18:04:12 +00:00
Viktor Szakats
765d52eb90 2009-12-05 18:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/hbide.prg
    - Deleted non __HARBOUR__ #if branch. Please tell me if I'm 
      wrong but hbide doesn't work anywhere else than Harbour.
    * IF() -> IIF().

  * contrib/hbide/hbide.env
    - Deleted windows-only stuff.
    - Deleted HB_COMPILER and HB_PLATFORM envvars. These are not required.
    * HB_INC_* -> HB_WITH_* although I don't understand why this is needed here.
      It probably should be deleted completely.
    ; NOTE: IMO this whole file is very much non-portable and it's not the 
            IDEs job to configure local environment. We have INSTALL to guide 
            users and hard coding any part of that information into setting 
            files is not good.

  * contrib/hbide/idestylesheets.prg
    % Optimized.

  * contrib/hbide/ideparseexpr.c
    ! Changed to use '\0' instead of 0.
2009-12-05 17:38:37 +00:00
Viktor Szakats
14552ab56f 2009-12-05 15:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideparseexpr.c
    ! Fixed to not contain non-ANSI comments.
    % Minor optimizations.
    ! Fixed linearfind() to return incorrect result when called in
      case insensitive mode. (not exploited by current code)
    % Marked worker functions as static.
    + Using Harbour types HB_BOOL and HB_SIZE. (type usage is still inconsistent)
    % Elminiated HB_ISBYREF() call. Not needed.
    ! Fixed to use hb_strncat() instead of strcat().
    ! Fixed unsafe '!' oparator usage. (MSVC C++ warning)
    ; TOFIX: There is still one unsafe strncpy() usage, but I can't fix it.
             Anyone?
2009-12-05 14:35:57 +00:00
Viktor Szakats
ca5565a8a0 2009-12-05 15:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideparseexpr.c
    ! Fixed to not use explicit values for const variable sizes.
      Using HB_SIZEOFARRAY() instead.
    ! Fixed C++ warnings.
    ! Fixed const usage. (explicit cast removed which silences
      warnings)
    % Minor optimization when returning value in PARSEXPR().
    ! Fixed potential GPF in PARSEXPR() when non string param is passed.
2009-12-05 14:15:16 +00:00
Viktor Szakats
141bb0f699 2009-12-05 13:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtos2/Makefile
  * config/os2/watcom.mk
    % Changed the way -s option is disabled for certain modules
      (currently gtos2).
      This method doesn't require new variable, although it's still 
      a hack.
2009-12-05 12:42:32 +00:00
Przemyslaw Czerpak
3c6be6883f 2009-12-05 13:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtos2/Makefile
  * harbour/config/os2/watcom.mk
    * disable -s in GTOS2 OpenWatcom builds using HB_CSTACK_CHECK variable.
      This is workaround for wrong code generated by OpenWatcom <= 1.8
      when -s switch is used for functions calling APIENTRY16 functions.
      Such code executed from non main thread causes GPF.
2009-12-05 12:21:39 +00:00
Viktor Szakats
b3ba627781 2009-12-05 13:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* win-make.exe
  * INSTALL
    + Updated to latest mingw release. Updated links.

  * utils/hbmk2/hbmk2.prg
    + Minor step towards -cpu support.
2009-12-05 12:11:36 +00:00
Viktor Szakats
c9b897c20e 2009-12-05 04:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to pass self-inherited -mlp64, -mlp32, -m64, -m32
      C compiler flags also to executable and dynlib linker.
2009-12-05 03:35:01 +00:00
Viktor Szakats
22e65f082a 2009-12-05 04:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/hbpp.c
  * src/compiler/hbusage.c
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbtest/hbtest.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbrun/hbrun.prg
    * Copyright year bumped to 2010.
2009-12-05 03:29:12 +00:00
Viktor Szakats
bf1e4afd3a 2009-12-05 03:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    + Syncing C/C++ Harbour build mode with hbmk2 invocation
      options in postinst phase. (please test)
      Only required for mingw, but it's done for every compiler
      for consistency, but only if it's overridden by user.
      (so f.e. for msvc, C++ isn't enabled in this case. This
      could be done on hbmk2 level however, but it would cause
      a lot of 3rd party code to break so I didn't do it yet.)

      I didn't add logic to hbmk2 to inherit build-time C/C++
      setting, because it wouldn't work in cross-build situations,
      and multi-target installations.

  * utils/hbmk2/hbmk2.prg
    + Added comment on msvc C++ mode.
2009-12-05 03:00:44 +00:00
Pritpal Bedi
8147e7fa16 2009-12-03 23:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  + contrib/hbide/hbide.env
  * contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/projects/hbide.hbi
  * contrib/hbide/resources/projectproperties.ui
    + Started the possibility to switch to any compiler while building a project.
    ! Implemented tooltips on <Project Properties> dialog components.
    + Added one more tab <Compilers> which holds the contents of hbide.env
      residing alongside hbide.exe. 

      NOTE: hbide.env is an experimental feature and as such name and location 
            of this file may change in future. 

    ! Few more artifacts corrected.
2009-12-05 02:42:09 +00:00
Viktor Szakats
6fdd5f7c26 2009-12-05 01:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added Harbour lib dir autodetection when Harbour installed
      on 64-bit systems (where libs are in */lib64/harbour).
      Please test it.

    ; NOTE: I've also found some logic which makes hbmk2 build
            process inherit -m64/-m32/-mlp64/-mlp32 switches from
            hbmk2 itself. But it only passes it to C flags.
            I'm not sure it sure pass it at all, but in case it
            needs to pass it, should it also pass it to linker
            flags? I don't have 64-bit linux development system
            to try these things.
2009-12-05 00:59:30 +00:00
Viktor Szakats
5c0eb70eee 2009-12-05 01:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Added some provisions for separate -cpu selection:
      Now win/wce compiler autodetection code tries to fill HB_CPU.
      This should eventually be extended to all platforms/compilers.
    + HB_CPU autodetection will now consider -m64 and -m32 HB_USER_CFLAGS
      on linux platform. This may not be correct on non-intel
      linux platforms. Eventually this hidden knob should be changed
      to proper CPU selection (probably).
    % De-xmas.
    ! Minor fixes to HB_COMPILER autodetection when HB_PLATFORM=wce
      is used on win hosts.
    ; I just hope there won't be any regressions.
2009-12-05 00:48:59 +00:00
Viktor Szakats
9577a82f9d 2009-12-05 00:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    % De-xmas.
2009-12-04 23:32:00 +00:00
Viktor Szakats
7f94680a86 2009-12-04 23:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbi18n2.prg
    ! HB_I18N_SAVEPOT(), __I18N_POTARRAYSAVE(): Changed to not 
      add double EOL at the end of the file.
2009-12-04 22:12:54 +00:00
Viktor Szakats
43ce5eb036 2009-12-04 18:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
    * Marked MSVS 2002 in comment.

  * ChangeLog
    * Minor typo.

  * contrib/hbide/idemisc.prg
    ! Fixed unused variable error.
2009-12-04 17:49:05 +00:00
Mindaugas Kavaliauskas
31c01a5776 2009-12-04 18:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads1.c
    ! added comment and workaround to invalid AdsGotoRecord( hTable, 0 )
      behavior
2009-12-04 16:41:49 +00:00
Mindaugas Kavaliauskas
c7d2e8a0f4 2009-12-04 15:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rdd/dbf1.c
    ! fixed variable length field setting after DBCREATE()
2009-12-04 13:57:10 +00:00
Viktor Szakats
699c1ce5f9 2009-12-04 10:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/tests/testprn.prg
    ! Fixed to fit all examples on the page.

  * contrib/hbwin/win_prn1.c
    % Minor optimization.
    * Minor formatting.
2009-12-04 09:32:31 +00:00
Pritpal Bedi
df3c6fba7a 2009-12-03 23:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
    ! Implemented <New Project> and <Load Project> prompts of 
      context menu of <Projects> node of <Project Tree>.

  + contrib/hbide/projects/hbide.hbi
    ! Demonstration project file to show the basic protocol used to 
      execute next compile/link actions.

      This implementation includes real-time view of the resultant
      .hbp file which will be supplied to HBMK2. Because, this is going
      to be a proposed engine, please experiment with the interface.
      Just change diffenrent components and click on <.hbp> tab page.
      It will reflect what the final .hbp will be supplied to HBMK2.
      I want to be sure I am not missing something.
2009-12-04 07:32:29 +00:00
Przemyslaw Czerpak
ea5521b0ee 2009-12-04 03:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    ! fixed ordSkipUnique() to properly update BOF/EOF flags, skip over
      ADS BOF phantom record and respect not optimized local filters
2009-12-04 02:41:49 +00:00
Pritpal Bedi
d5324d0861 2009-12-03 18:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idetags.prg
  * contrib/hbide/resources/projectproperties.ui
    ! More near  TO project properties, will be ready by tomorrow.
2009-12-04 02:02:34 +00:00
Przemyslaw Czerpak
989e532c00 2009-12-04 02:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbcairo/util.c
  * harbour/contrib/hbcairo/image.c
  * harbour/contrib/hbcairo/context.c
    ! fixed casting for some more pedantic C++ compilers
2009-12-04 01:50:14 +00:00
Viktor Szakats
55c332e09c 2009-12-04 01:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/global.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/hpux/gcc.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    % Moved initialization of *FLAGS vars into global.mk.
      Compiler .mk files only append to these vars.
    * Minor syncing between compilers regarding initial CFLAGS setup.
2009-12-04 00:47:16 +00:00
Viktor Szakats
43d68fd1de 2009-12-04 00:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/hpux/gcc.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Initializing LDFLAGS, DFLAGS and ARFLAGS at the beginning of files.
      This allows to easily add to these var according to build settings.
      It also syncs all .mk files to use the same layout in this regard.

  * config/wce/msvcarm.mk
  * config/win/msvc.mk
    + Added -debug linker option to .dll linking for msvc/msvcarm targets.
2009-12-03 23:44:40 +00:00
Przemyslaw Czerpak
18f7e28744 2009-12-04 00:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    * added support for dynamic descend flag switching by
         ordDescend( [<tag>], [<bag>], <lDescending> ) -> <lPrevSetting>
      It needs ADS 9.00 or higher and it's ignored in earlier ADS versions.
      Based on Brian Hayes modification in xHarbour ADS RDD.

  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/contrib/rddads/ads1.c
    * modified ordSkipUnique() to be compatible with CL53 - it means
      that the passed parameter has a little bit different meaning when
      table has active index and it hasn't.
      If no index is active (natural order) then passed parameter is number
      of records to skip just like in dbSkip() function otherwise it's only
      direction choice so negative value means backward skipping and
      zero or positive means forward skipping.
      We may decide to change this behavior anyhow please remember that
      it's not such clear what number of records to skip should mean during
      skipping with active order having repeated key values and with working
      filters which also can exclude some records. It's possible to create
      few algorithms giving different results for some conditions.
2009-12-03 23:24:14 +00:00
Viktor Szakats
5e1440f748 2009-12-04 00:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
     ! Added -debug linker option when building .dll for msvc and compatible targets.
     ! Fixed minor regression in embedded CRLFs of hbmk2 texts.

   * config/win/msvc.mk
   * utils/hbmk2/hbmk2.prg
     + Added -MT/-MTd for win/msvc compatible targets when verison is 7.1 (.NET 2003)
       or older. On these versions this will assure that multithreading C RTL is 
       being used (at the same time forcing static C RTL).

   * config/wce/msvcarm.mk
   * config/win/msvc.mk
     + Added -debug linker option for executables.
     ; TODO: Add it for .dlls too.

   * config/globsh.mk
     + Deleting (MSVC) .pdb and .ilk files for executables and dynlibs on 'make clean'.
2009-12-03 23:20:47 +00:00
Viktor Szakats
4cc92701c0 2009-12-03 20:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcairo/Makefile
    + Added autodetection for MacPorts cairo pkg.
    + Fixed autodetection on *nix systems in general.

  * INSTALL
    + Added cairo package information for Darwin/MacPorts and Ubuntu.

  * contrib/hbqt/qtcore/Makefile
    ! Fixed after last commit.
2009-12-03 19:58:43 +00:00
Pritpal Bedi
5b9f7f3d97 2009-12-03 11:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/qt45.qtp
  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/qtcore/filelist.mk
  * contrib/hbqt/qtcore/QUiLoader.cpp
  * contrib/hbqt/qtgui/QLabel.cpp
  * contrib/hbqt/qth/QLabel.qth
    ! Fixed QUiLoader issue.
    ! Fixed XbpStatic()'s weired behaviour which was caused by expected improvements
      in QLabel() class which eventually did not yield desired results, unluckily.
      I will look into this matter later.
      Now, HBQT sources re-built places proper make files and components.
2009-12-03 19:44:05 +00:00