Commit Graph

13649 Commits

Author SHA1 Message Date
Viktor Szakats
082671ac6f 2010-03-05 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/Makefile
    - Disabled stdint.h for all targets to make some Harbour
      supported legacy compilers happy which don't support it
      (f.e. bcc 5.5)
2010-03-05 22:18:56 +00:00
Viktor Szakats
8a8ae50ff3 2010-03-05 21:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/Makefile
    + Added bzip2.

  * external/bzip2/Makefile
    ! Fixed to avoid stupid BCC tlib warning by enabling
      "case-sensitive library" option.

  * config/global.mk
  * config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.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/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Added support for HB_AFLAGS. Only bcc needs it ATM.
2010-03-05 20:21:44 +00:00
Viktor Szakats
0a520d6534 2010-03-05 20:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbverdsp.c
    % "Language options" merged into "Build options"

  * src/rtl/gtwin/gtwin.c
    - Deleted not working undocumented SetConsolePalette() code sections.
    * HB_GTI_PALETTE will return zeroes (black) on platforms/builds which
      don't support console palette API.
    + Enabled SetConsoleMenuClose() undocumented call in default builds.
      It seems so simple function that it's unlikely it will change
      (worst case it will be deleted). Return value confirmed to be
      BOOL (don't ask how).
      This feature requires Windows 2000 for final apps, no build-time
      requirement.
      Can be disabled using HB_GTWIN_USE_SETCONSOLEMENUCLOSE_OFF macro.
    % Minor optimization.

  * contrib/hbwin/win_reg.prg
    ! Changed to use local emulation of BIN2U() instead of XPP
      specific original implementation.
2010-03-05 20:02:08 +00:00
Viktor Szakats
d79a1b7b81 2010-03-05 19:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    + Added more code (probably the ugliest I've ever had a chance
      to create while touching Windows API) for undocumented
      SetConsolePalette() hack, following Saulius Zrelskis's
      suggestion. Now it doesn't GPF, but it does nothing else
      either (could be wrong SYSPAL_ constant, could be anything).
      From this point I'll let others continue, or delete all
      undocumented code sections.
2010-03-05 18:29:41 +00:00
Viktor Szakats
1a9fe1279d 2010-03-05 18:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbc
  * contrib/rddsql/sddmy/sddmy.hbc
    ! Fixed library name for Linux platforms.
      I hope it also works for other *nix systems.
      (On darwin/macports it doesn't because they placed
      the lib in a subdir, but at least the lib name is
      right)

  + external/bzip2
  + external/bzip2/LICENSE
  + external/bzip2/Makefile
  + external/bzip2/cnv_hb2o.bat
  + external/bzip2/cnv_o2hb.bat
  + external/bzip2/blocksor.c
  + external/bzip2/bzip2.c
  + external/bzip2/bzlib.c
  + external/bzip2/compress.c
  + external/bzip2/crctable.c
  + external/bzip2/decompre.c
  + external/bzip2/huffman.c
  + external/bzip2/randtabl.c
  + external/bzip2/bzlib.h
  + external/bzip2/bzlib_pr.h
    + Add locally hosted bzip2 library. Experimental, we
      don't use it yet. Will be deleted if of no use, or
      not portable enough. ATM OS/2, DOS and WCE targets
      are not supported.

  * external/pcre/pcre.dif
    - Deleted not more required local patch, since
      we're not using legacy (Windows) types anymore
      in Harbour.

  * external/pcre/pcre.h
  * external/pcre/pcreexec.c
  * external/pcre/pcreinal.h
  * external/pcre/pcredfa.c
  * external/pcre/pcrecomp.c
  * external/pcre/config.h
  * external/pcre/LICENCE
  * external/pcre/pcreprni.h
  * external/pcre/pcrestud.c
    + Updated to 8.0.1 (from 8.0.0)

  * external/libpng/pngrio.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/pngrutil.c
  * external/libpng/pngwutil.c
  * external/libpng/pngread.c
  * external/libpng/pngmem.c
  * external/libpng/pngget.c
  * external/libpng/png.c
  * external/libpng/png.h
  * external/libpng/pngpriv.h
  * external/libpng/pngrtran.c
    + Updated to 1.4.1 (from 1.4.0)
2010-03-05 17:54:42 +00:00
Viktor Szakats
29116c45c4 2010-03-05 15:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    + Added HB_GTI_PALETTE support for GTWIN. Requires Vista
      system or newer at runtime and requires Vista compatible
      SDK at build-time (this is MSVC newer versions or older
      versions with newer SDK). Unfortunately it cannot work
      with mingw and possibly other C compilers until they
      add support.
    + Added to set MS-DOS-like colors for GTWIN on Vista and
      newer systems (same requirements as above).
    + Added experimental undocumented SetConsolePalette()
      support for non-Vista systems and non-Vista SDKs,
      but it GPFs and doesn't support reading palette, so
      overall it's not enough for Harbour. I will let it there
      in case someone wants to deal with it and delete it
      after a few days.

  * contrib/rddads/ads1.c
    * Minor formatting.
2010-03-05 14:11:14 +00:00
Mindaugas Kavaliauskas
36db9d2adf 2010-03-05 14:59 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads1.c
    * changed errSubCode values. Now errSubCode ir equal to:
      = ADS error value, if error is returned from ADS. Values
        of error subcodes are > 1000.
      = EDBF_* - 900, if error is generated by RDD. Values of 
        error subcodes are < 1000.
    + added a detailed error description for ADS errors
2010-03-05 13:00:10 +00:00
Viktor Szakats
23f4d52dda 2010-03-05 13:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
  * include/hbapi.h
    + Added hb_iswinvista() to detect Vista and newer Windows versions.

  * src/rtl/version.c
  * include/hbextern.ch
    + Added HB_OSISWINVISTA() .prg level function with above meaning.

  * contrib/hbwin/win_os.prg
    % Changed to use HB_OSISWINVISTA() instead of hbwin specific
      WIN_OSISVISTAORUPPER().
2010-03-05 12:48:53 +00:00
Przemyslaw Czerpak
2dfec6cf2f 2010-03-05 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrddnsx.h
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/include/hbrddntx.h
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/hsx/hsx.c
  * harbour/src/rdd/usrrdd/usrrdd.c
  * harbour/src/rtl/hbsocket.c
    ! fixed casting for compilers which needs strict aliasing rules

  * harbour/harbour.spec
    ! fixed typo in hbxpp library name
    ! fixed to work with SDDSQLT3 library

  * harbour/contrib/hbwin/olecore.c
    ! fixed buffer overflow caused by wrongly used sizeof() instead of
      HB_SIZEOFARRAY()

  * harbour/contrib/rddsql/sddodbc/sddodbc.c
    ! fixed wrongly used & operator

  * harbour/src/rtl/hbsocket.c
    ! fixed to compile with OpenWatcom Linux builds
2010-03-05 12:19:49 +00:00
Viktor Szakats
0079c5478c 2010-03-05 11:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/sddoci.c
    ! Fixed OCILIB initalization to make OCI_GetLastError() work.
      (Thanks to OCILIB author Vincent Rogier for the report 
      and fix)

  * src/rtl/gtwin/gtwin.c
    % Simplified the way close button status is retrieved (based 
      on code posted Saulius Zrelskis)
    + Added code to disable 'close' menu also. This is using 
      undocumented Windows API call, so by default the logic 
      is disabled, and can be enabled with HB_GTWIN_UNDOC_WINAPI 
      macro. (Thanks to Saulius Zrelskis for this API tip)
      (NOTE: All 'close' controls are controlled by HB_GTI_CLOSABLE)
2010-03-05 10:13:33 +00:00
Przemyslaw Czerpak
aae4187975 2010-03-04 19:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/hvm.c
    ! removed unnecessary hbstack reference in MT builds - thanks to
      Grigory Filatov for the information
2010-03-04 18:43:51 +00:00
Viktor Szakats
8bb33ae346 2010-03-04 19:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour.spec
  * contrib/Makefile
  - contrib/hbsms
    - Deleted hbsms lib.
2010-03-04 18:08:34 +00:00
Viktor Szakats
fc617333a6 2010-03-04 13:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/telepath.prg
    ! Restored for real.
2010-03-04 12:57:07 +00:00
Viktor Szakats
2668c5e235 2010-03-04 13:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/telepath.prg
    ! Restored original before-millisec/midnight fix state.
    ; Someone else pls continue/restart this task.
2010-03-04 12:12:59 +00:00
Viktor Szakats
ef0f510518 2010-03-04 13:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/gtwvw/wvwcheck.c
  * examples/gtwvw/wvwedit.c
  * examples/gtwvw/hbgtwvw.h
    ! Added not terribly elegant (local) fix to missing 'hb_hInstance'
      link time errors. Not tested besides successful lib build.
2010-03-04 12:09:05 +00:00
Przemyslaw Czerpak
7da18ea3dc 2010-03-04 11:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
  * harbour/src/vm/macro.c
    % changed HB_PCODE_INFO structure to eliminate one memory allocation
      in macro compiler

  * harbour/include/hbapi.h
  * harbour/include/hbvm.h
  * harbour/src/vm/codebloc.c
  * harbour/src/vm/itemapi.c
  * harbour/src/vm/hvm.c
    * changed second parameter in hb_codeblockGet*() function to 'int'
    * merged codeblock execution context setting into one function
      hb_vmDoBlock() and removed hb_codeblockEvaluate()
    + added new internal function hb_vmEval()

  * harbour/src/vm/arrays.c
    % use hb_vmEval()

  * harbour/src/macro/macrolex.c
    * added missing const to maro text declaration

  * harbour/tests/speedtst.prg
    ! fixed to work with CLIP and xHarbour after we changed
      SECONDSCPU() to HB_SECONDSCPU() - all these compilers and FlagShip
      have SECONDSCPU() function
2010-03-04 10:06:32 +00:00
Viktor Szakats
eebfaee54d 2010-03-04 03:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/hbeditc.c
    * Reverted previous strcpy changes as they were causing GPF
      while editing.
    * Cleaned 'unsigned int', 'int' to be 'long'.
      Lots of unnecessary looking casts deleted.
      This fixed signedness warnings.
      Very rough cleanup, I didn't inspect all hundreds
      of changes one by one, so please test it.
    * Some more cleanups.
    ; The code looks more and more kludgy from the inside.
      It has quite some (seemingly) arbitrary extra space
      allocations, lots of pointer arithmetic, so
      it looks not very easy to safely modify it f.e. for
      EOL neutrality.
2010-03-04 02:23:58 +00:00
Viktor Szakats
36d2e9e8bb 2010-03-04 01:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * harbour.spec
  * mpkg_rpm.sh
    + Added freeimage to mainstream package now that
      it finally builds on *nix systems.

  * contrib/gtwvg/gtwvg.c
  * src/rtl/gtwvt/gtwvt.c
    * Deleted unnecessary cast.

  * contrib/hbmisc/hbeditc.c
    * Cleaned constant usage.

  * contrib/hbide/ideparseexpr.c
    * int -> HB_ISIZ
    % Minor optimization.
2010-03-04 00:45:05 +00:00
Pritpal Bedi
7c0086533d 2010-03-03 07:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
! In continuation of previous message:

    ; WARNIING: the original format of your existing .hbp 
                project file will be changed if you make use 
                of "Project Properties" docking window and 
                then click on "Save & Exit" or "Save".
                For contents viewing it will be ok.
                
                In the new format, if you save it via wizard,
                all sources will follow flags and comments 
                will be deleted.

    ; NOTE: now onwards, trace dump of command line operations
            and hbIDE output console will be the same which 
            will facilitates to resolve build issues effectively.

    ; APPRECIATION: hbmk2 is an excellent build tool I have seen  
                    so far in my development namespace. We owe
                    heavily to Viktor for this great contribution.
2010-03-03 15:39:35 +00:00
Pritpal Bedi
377582ef4d 2010-03-03 01:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/THbQtUI.prg
    ! A massive effort to stream-line GPF at exit.    
      At least now I know that it is caused by the way 
      QLayout has relation with parent and children both.
      To some extent I am been able to cover it, but not 
      completely, at least till now.

  * contrib/hbxbp/xbptreeview.prg
    + Implemented tooltip and changed the way context menu is fired.

  - contrib/hbide/projects/hbide.hbi
    ! Totally abandoned .hbi project protocol.

  * contrib/hbide/resources/environments.ui
  * contrib/hbide/resources/environments.uic
  * contrib/hbide/resources/projectpropertiesex.ui
  * contrib/hbide/resources/projectpropertiesex.uic
  * contrib/hbide/resources/themesex.ui
  * contrib/hbide/resources/themesex.uic
    ! Simplified layouts to cover GPFs at exit.

  * contrib/hbide/hbide.hbp
    + Added ideenviron.prg.

  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  + contrib/hbide/ideenviron.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/idethemes.prg

    + Restructured project management.
  
    + Implemented: .hbp as project definition protocol.
      Exploited -3rd= token to keep hbIDE specific data.
      Now you can open any existing .hbp and build it 
      out of the box. You must have set the build env
      beforehand OR take use of hbIDE's .env protocol.

    + Implemented: relative paths. The relative paths are
      are computed downwards and from .hbp location.
      Upper level paths still remain absolute. If your 
      projects structure is well thought of, then this 
      feature means this project tree is transferable 
      across different OS's and drives.

      The relative paths posed many difficulties. The 
      facts had to be resolved while search operations,
      while opening the files from Project Tree, and more.
      Now all are in perfect syncronization.

    + Managed: .hbp filters on source level and are 
      handelled transparently. In Project Tree source
      is shown without filters. Search operations are 
      also transparent. So, an entry like:
        {msvc|bcc}vouch/scandocument.prg 
      is respected by hbIDE.

    ! The other changes:
      - Project Properties dialogs contents.
        It is now very simple to understand and manage.

      - Concept of meta-data is eliminated.

      - The output executable is automatically recognized
        from linker output. So "Destination folder" is 
        kept for only "Launch" option which, in fact, does
        not know where executable is located. "Build & Launch"
        and "Rebuild & Launch" options do not look for
        "Destination folder" at all.

      - Project location is always pulled from .hbp file.
        It is not retained anywhere to make the project 
        portable.

      - Many more facts I cannot recollect at present.

     ; TODO: {hbmk2} slot in hbide.env protocol to pass
       command-line parameters.

     ; NOTE: delete hbide.ini, idesettings.ini, all .hbi's
             and start with clean state.
             
             Regression is highly possible and I am eager 
             to hear from you. This commit is just for 
             stramlining project management, though there 
             few other features implemented less important
             to mention.
2010-03-03 09:02:05 +00:00
Viktor Szakats
370890e0e1 2010-03-03 03:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/hbeditc.c
    ! One fix to prev right away. (in former strcpy)
2010-03-03 02:14:31 +00:00
Viktor Szakats
bfc7084c7f 2010-03-03 03:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/hbeditc.c
    ! Replaced unsafe string calls with safe one.
      (strncpy(), strcpy() -> hb_strncpy())
    ; Now this change may contain bugs. I'd appreciate if
      someone with trained eyes for C length would review the diff.
2010-03-03 02:05:13 +00:00
Przemyslaw Czerpak
91f9a3f12c 2010-03-03 02:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/doc/en/hvm.txt
    - removed __DBGVMVARLGET() description

  * harbour/src/debug/dbgbrwsr.prg
    % small speed improvement

  * harbour/include/hbextern.ch
  * harbour/src/vm/debug.c
    + added internal debug function: __DBGVMLOCALLIST( <nLevel> ) -> <aVars>
2010-03-03 01:39:10 +00:00
Viktor Szakats
f9d70c6659 2010-03-03 02:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- examples/pe
    - Deleted empty dir.
2010-03-03 01:03:51 +00:00
Viktor Szakats
5a773e089a 2010-03-03 01:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/Makefile
  + contrib/hbmisc/hbeditc.c
  + contrib/hbmisc/hbedit.prg
  + contrib/hbmisc/tests/sample.txt
  + contrib/hbmisc/tests/testedit.prg
  - examples/pe/sample.txt
  - examples/pe/editorlo.c
  - examples/pe/pe.prg
  - examples/pe/pe.hbp
  - examples/pe/editorhi.prg
    * Editor implementation moved to hbmisc lib.
2010-03-03 01:02:16 +00:00
Viktor Szakats
2cf87c3d7a 2010-03-03 01:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- examples/pe/license.txt
  + examples/pe/sample.txt
  * examples/pe/pe.prg
    * Renamed sample file.

  * examples/pe/editorlo.c
  - examples/pe/readme.txt
    * Moved readme content inside the source as comment.
2010-03-03 00:55:13 +00:00
Viktor Szakats
ca0685d44a 2010-03-03 01:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/pe/editorlo.c
  * examples/pe/pe.prg
  * examples/pe/editorhi.prg
  * examples/pe/readme.txt
    + Further cleanups (some types, unused code).
    % Minor optimization.
    * Deleted one completed (old) TOFIX item.
2010-03-03 00:52:16 +00:00
Viktor Szakats
be1d955b6d 2010-03-03 01:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/pe/editorlo.c
  * examples/pe/editorhi.prg
    + Cleaned internal layout (which was speed optimized for
      286 computer-era) to use GC collected objects rather
      than various levels of static variables and additional
      logic to handle parallel editor objects. Now the code
      is fully reentrant.
    * Renamed variables.
    ! Fixed potential GPFs along the way.
    ; TODO:
        - Clean to use ANSI C and Harbour APIs only. (this is pbly okay)
        - Clean to use safe Harbour string API functions instead of unsafe ANSI C ones.
        - Clean type usage.
        - Fix to support other EOL types than CRLF.
        - etc.

  * examples/pe/pe.prg
    ! Typo in prev.
2010-03-03 00:22:28 +00:00
Viktor Szakats
54e5e9b639 2010-03-02 23:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/pe/editorlo.c
  * examples/pe/pe.prg
  * examples/pe/editorhi.prg
    * Formatting/cleanups.
2010-03-02 22:55:47 +00:00
Viktor Szakats
69b7bafcf5 2010-03-02 23:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/pe/editorlo.c
    ; Started to level this code to Harbour standards.
    * Changed to use native Harbour C level API instead of Clipper
      compatibility one.
    - Delete old inactive code for standalone Habrourless build.
    * Cleaned several warnings.
    ! Fixed one potential GPF.
    ! Fixed one potential memory corruption.
    + Formatting.
2010-03-02 22:31:55 +00:00
Przemyslaw Czerpak
27998d5d67 2010-03-02 18:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbxpp/hbxpp.ch
    + added TEXT INTO <varname> [WRAP [<cEOL>]] [TRIMMED]

  * harbour/contrib/hbct/atrepl.c
    ! fixed in two places buffer overflow.
      Many thanks to Alexandr Okhotnikov for the information
    % code optimized to use hb_reclen_buffer() in all cases when new buffer
      is dynamically allocated.
    * small code simplification and change prefix of HB_SIZE variables from
      's' to 'n'
2010-03-02 17:40:11 +00:00
Viktor Szakats
936dfd3191 2010-03-02 18:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/atrepl.c
    ! Fixed an 'off by one' buffer bug causing GPF in ATREPL().
      Reported by Alexandr Okhotnikov.
2010-03-02 17:26:51 +00:00
Maurilio Longo
2a1c9afb2c 2010-03-02 16:40 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* src/rtl/filesys.c
     * hb_fsCurDirBuff() convert '/' to '\' for OS/2
2010-03-02 15:42:01 +00:00
Maurilio Longo
e6f389e837 2010-03-02 16:15 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* src/common/hbffind.c
     * hb_fsFindNextLow() to work reliably in my environment needs
       OBJ_TILE memory. I've found no documentation about this
       issue, maybe it's caused by old LAN Manager code when searching
       for files on network shares.
2010-03-02 15:17:08 +00:00
Viktor Szakats
c617a46cec 2010-03-02 15:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    + Implemented HB_GTI_CLOSABLE support for GTWIN.
      Needs to Windows 2000 or upper.
2010-03-02 14:48:04 +00:00
Viktor Szakats
39320786aa 2010-03-02 00:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddodbc/sddodbc.c
    ! Fixed returning Chr( 0 ) instead of last real char.
2010-03-01 23:47:23 +00:00
Viktor Szakats
96328f92e2 2010-03-01 14:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddodbc/sddodbc.c
    + Added support to return any size of string buffer from ODBC.
    ! Fixed typo in prev modification.

  * src/rtl/gtwvt/gtwvt.c
    ! Reverted close/SETCANCEL/HB_GTI_CLOSABLE behavior to
      match the old one and that of other GTs.
      Also see:
        2008-06-25 11:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
      Please use HB_GTI_CLOSABLE and HB_GTI_NOTIFIERBLOCK 
      to control GUI window close behavior.
2010-03-01 13:47:03 +00:00
Przemyslaw Czerpak
820d1d28d8 2010-03-01 13:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
    ! make linear scan in template tags to detect position of current
      record in tag after GOTO() operation - SIX3 compatible behavior
2010-03-01 12:42:34 +00:00
Przemyslaw Czerpak
7c8e18e208 2010-03-01 08:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/hvm.c
    ! added missing HB_STACK_TLS_PRELOAD
2010-03-01 07:00:57 +00:00
Xavi
d0fea72063 2010-03-01 04:05 UTC+0100 Xavi (jarabal/at/gmail.com)
* harbour/src/rtl/gtwvt/gtwvt.c
    ! Fixing WM_CLOSE event (Clicked 'X' on system menu)
      to avoid irregular shutdown with SETCANCEL( .F. )

      REQUEST HB_GT_WVT_DEFAULT
      ANNOUNCE HB_GTSYS
      PROCEDURE Main()
         SetCancel(.F.)
         ? "Click [X] Not close windows"
         while( LastKey() != 27 )
            Inkey( 1 )
         enddo
      RETURN
2010-03-01 03:06:26 +00:00
Viktor Szakats
422116d6e3 2010-03-01 02:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddsqlt3/sddsqlt3.c
    + Added support to retrieve buffers in UNICODE mode.
    ; Maybe needs fine tuning. F.e. we don't want to do this
      for raw/binary/blob data. Pls review.
    ; NOTE: Detecting real buffer size is weird. MSDN says
            NULL should be passed to data pointer, but in this
            case it returns error, if I pass any pointer, even
            fake one, it works. Pbly I'm misreading something.

  * contrib/rddsql/sddodbc/tests/test1.prg
  * contrib/rddsql/sddodbc/tests/test2.prg
    + Added simpleio.ch.

  * contrib/rddsql/sddsqlt3/sddsqlt3.c
  * contrib/rddsql/sddodbc/sddodbc.c
  * contrib/rddsql/sddoci/sddoci.c
    ! Fixed bad GPF after previous modif which limited field names
      to specific length.
2010-03-01 01:34:52 +00:00
Viktor Szakats
8be99a1b5b 2010-03-01 01:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
    * Bumped pcode version to 3 (mininum kept at 2)

  * contrib/rddsql/sddodbc/sddodbc.c
    ! Fixed missing UNICODE conversion for field names.

  * contrib/rddsql/sddoci/sddoci.c
  * contrib/rddsql/sddsqlt3/sddsqlt3.c
    ! Fixed to limit field length to the one supported by RDD engine.
2010-03-01 00:26:17 +00:00
Przemyslaw Czerpak
bb86055fe6 2010-03-01 00:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpcode.h
  * harbour/include/hbxvm.h
  * harbour/src/compiler/hbfix.c
  * harbour/src/compiler/hbpcode.c
  * harbour/src/compiler/hbdead.c
  * harbour/src/compiler/genc.c
  * harbour/src/compiler/hbopt.c
  * harbour/src/compiler/gencc.c
  * harbour/src/compiler/hblbl.c
  * harbour/src/compiler/hbstripl.c
  * harbour/src/vm/hvm.c
    + added new PCODE HB_P_PUSHAPARAMS and -gc3 function with corresponding
      action hb_xvmPushAParams

  * harbour/include/hbexprb.c
  * harbour/src/common/expropt1.c
  * harbour/src/vm/hvm.c
    + added support for special PRG function:
         HB_ARRAYTOPARAMS( <aValue> ) -> <aValue>[ 1 ] [, <aValue>[ N ] ]
      It can be used in the same context as multivalue macros
      or ... operator and converts array to list of parameters, i.e.:
         proc main
            local aValue, aIndexes

            aValue := { 1, { 2, 3, "abcde" } }
            aIndexes := { 2, 3 }
            ? "array:",    hb_valToExp( aValue )
            ? "indexes:",  hb_arrayToParams( aIndexes )

            ? "array[", hb_arrayToParams( aIndexes ), "] =>", ;
               aValue[ hb_arrayToParams( aIndexes ) ]
            aValue[ hb_arrayToParams( aIndexes ) ] += ":add"
            ? "array:",    hb_valToExp( aValue )

            aValue := { "test", aValue }
            aIndexes := { 2, hb_arrayToParams( aIndexes ) }
            ? "array:",    hb_valToExp( aValue )
            ? "indexes:",  hb_arrayToParams( aIndexes )
            ? "array[", hb_arrayToParams( aIndexes ), "] =>", ;
               aValue[ hb_arrayToParams( aIndexes ) ]
         return
2010-02-28 23:52:05 +00:00
Viktor Szakats
4b455a03b1 2010-02-28 20:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddsqlt3/Makefile
  - contrib/rddsql/sddsqlt3/sddsq3.c
  + contrib/rddsql/sddsqlt3/sddsqlt3.c
  - contrib/rddsql/sddsqlt3/sddsq3.hbc
  + contrib/rddsql/sddsqlt3/sddsqlt3.hbc
  * contrib/rddsql/sddsqlt3/tests/hbmk.hbm
    * Renamed sddsq3 to sddsqlt3.
      (pass 2 of 2)
2010-02-28 19:08:41 +00:00
Viktor Szakats
1c2398b3dc 2010-02-28 19:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/Makefile
  - contrib/rddsql/sddsq3
  + contrib/rddsql/sddsqlt3
    * Renamed sddsq3 to sddsqlt3.
      (pass 1 of 2)
2010-02-28 19:03:33 +00:00
Viktor Szakats
740d9b96f8 2010-02-28 18:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddsq3/sddsq3.c
  * contrib/rddsql/sddoci/sddoci.c
    ! Fixed warnings reported by bcc, msvc.
2010-02-28 18:00:34 +00:00
Viktor Szakats
07170dcc55 2010-02-28 18:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbsqlit3/hbsqlit3.c
    + Added TOFIX: utf8 conversion is missing from the interface.

  * contrib/rddsql/Makefile
  + contrib/rddsql/sddsq3
  + contrib/rddsql/sddsq3/Makefile
  + contrib/rddsql/sddsq3/sddsq3.c
  + contrib/rddsql/sddsq3/sddsq3.hbc
  + contrib/rddsql/sddsq3/tests
  + contrib/rddsql/sddsq3/tests/hbmk.hbm
  + contrib/rddsql/sddsq3/tests/test1.prg
  + contrib/rddsql/sddsq3/tests/test.sq3
    + Added SDD to access SQLITE3 databases.
    ; Please test it with real data, especially blobs.

  * contrib/rddsql/sddoci/sddoci.c
    * Formatting.
    ! Fixed leak.
2010-02-28 17:42:25 +00:00
Viktor Szakats
b850625aab 2010-02-28 12:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/sddoci.c
    ! Fixed handling of numeric types widths and decimals.
    ; This marks last known TODO/TOFIX as DONE.

  * src/vm/extrap.c
    + Minor
2010-02-28 12:01:25 +00:00
Viktor Szakats
a1cec1f6e9 2010-02-28 11:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sqlbase.c
    ! Fixed crash on close when connection could not be made.

  * INSTALL
    + Added link to Oracle Instant Client downloads.
2010-02-28 10:20:55 +00:00
Pritpal Bedi
9fae196788 2010-02-27 19:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/resources/harbour_splash.png
  * contrib/hbide/resources/hbidesplash.png
  * contrib/hbide/resources/togglelinenumber.png

  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h

  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
    + Implemented: toggling the line-numbers visibility in editors.
      Slot is provided with left-hand toolbar button.
      Toggling is availabler per one editor tab.

    + Entered: copy-right information in hbIDE splash screen.
2010-02-28 03:21:43 +00:00