Commit Graph

574 Commits

Author SHA1 Message Date
Viktor Szakats
f9c1a843da 2011-04-07 16:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fserr.c
  * src/rtl/gtapi.c
  * src/rtl/natmsg.c
  * src/rdd/dbf1.c
    ! Fixed trace messages. [Tamas Tevesz]
2011-04-07 14:05:43 +00:00
Przemyslaw Czerpak
5f27749a75 2011-04-04 10:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    % small optimization
    ! added hack for multiple window resizing when user executes
      series of setmode() function. I'll look for cleaner solution
      in some spare time.
2011-04-04 08:48:10 +00:00
Viktor Szakats
dd71246623 2011-03-30 14:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    % Replaced kbd modifier readout with a more efficient
      version. It contains hack required to make core
      low-level function to work correctly with win consoles.
      Patch co-developed with Przemek.

  * contrib/hbtip/sendmail.prg
    ! Implemented fix to enclose attachment filenames in
      dbl quotes as suggested by George Frehner.
      Pls test.

  * contrib/hbtip/mail.prg
    * Formatting.
2011-03-30 12:23:17 +00:00
Viktor Szakats
9165756d29 2011-03-29 10:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    - Fully disabled palette setting feature due to bad side effects
      reported by Mindaugas.
      Maybe it could be reenabled in some cases, pls refine it if you
      need this feature. Pls also retest, I have a hard time replicating
      this side-effect on my system.

  * INSTALL
    * Updated. mingw tdm 4.5.2 works fine again.

  * examples/hbdoc2/gentpl.prg
    ! Fixed typo reported on users' list by Emmer.
2011-03-29 08:08:58 +00:00
Przemyslaw Czerpak
0be115f235 2011-03-29 09:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/thread.c
    * pacified warnings

  * harbour/src/rtl/hbrandom.c
    ! fixed typo in previous commit

  * harbour/src/rtl/hbproces.c
    * minor formatting
2011-03-29 07:55:45 +00:00
Przemyslaw Czerpak
81af308983 2011-03-29 08:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbznet.c
    % use Z_PARTIAL_FLUSH instead of Z_SYNC_FLUSH in hb_znetFlush()
      It should reduce a little bit the size of compressed data stream.
2011-03-29 06:05:40 +00:00
Przemyslaw Czerpak
a5fa7383a9 2011-03-27 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/rtl/hbrandom.c
    added new C functions which fills memory block with random values:
         void hb_random_block( void * data, HB_SIZE len )
    this function should be used with "good enough" random generator
    so in the future it may be changed to use internally sth different
    then rand().

  * harbour/src/vm/thread.c
    * pacified minor warning
2011-03-27 10:45:35 +00:00
Przemyslaw Czerpak
14777609cf 2011-03-26 03:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbproces.c
    ! fixed one HB_TRUE wrongly used instead of TRUE
    * minor simplification

  * harbour/include/hbgtinfo.ch
  * harbour/src/rtl/hbgtcore.c
    + added HB_GTI_VERSION - it returns version information just like
      hb_gtVersion() - usually the same but can be different in some
      multilevel GTs, i.e. when different GT drivers are used locally
      and remotely.

  * harbour/include/inkey.ch
  * harbour/src/rtl/hbgtcore.c
    + added HB_K_CONNECT and HB_K_DISCONNECT inkey codes.
      They can be used to signal that remote terminal is connected or
      diconnected.

  * harbour/tests/gtkeys.prg
    + added HB_K_* keycodes

  * harbour/contrib/hbnetio/netiosrv.c
    * removed unnecessary casting
2011-03-26 02:32:52 +00:00
Przemyslaw Czerpak
7e0338c588 2011-03-19 06:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    ! added protection for potentially unfinished due to signal
      interrupt close() operation in *nix systems in hb_fsClose()
      function
    * use hb_fsClose() instead of close() to be sure that the operation
      is completed in *nix systems
    * return NULL for DosToWinHandle( FS_ERROR )
    ; TODO: add protection against signal interrupting to all hb_fs*()
            functions which may need it.

  * harbour/src/rtl/hbproces.c
    * use hb_fsClose() instead of close() to be sure that the operation
      is completed in *nix systems
    ! Do not inherit ends of pipe handles in MS-Windows builds of
      hb_fsProcessOpen()
    ! Added missing CloseHandle( hProcess ) in MS-Windows builds of
      hb_fsProcessRun()
    ; QUESTION: Does hb_fsProcessRun() work correctly in MS-Windows builds?
                I've just noticed that I used WaitForMultipleObjects()
                WIN API function with unnamed pipe handles and I cannot
                find any information in MSDN that this is legal operation.
2011-03-19 05:59:25 +00:00
Przemyslaw Czerpak
f5529ea16d 2011-03-17 09:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbgtinfo.ch
    + added HB_GTI_ONLINE - Is terminal connected?

  * harbour/src/rtl/hbproces.c
    ! fixed MS-Windows version of hb_fsProcessRun() to unlock HVM stack
      when thread is waiting for child process
2011-03-17 08:38:14 +00:00
Viktor Szakats
f090632668 2011-03-17 08:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
    + New Intel compiler version detection. [Tamas Tevesz]

  * src/rtl/tpopup.prg
    ! Fixing shadow extension. [Maurizio la Cecilia]
      (with my indenting, fix and deletion of commented lines)

  * contrib/hbqt/qtgui/hbqtgui.hbx
    * Updated.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    ! Experimental fix [via Francesco Perillo]
2011-03-17 07:47:37 +00:00
Viktor Szakats
db07694a28 2011-03-16 13:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtxwc/gtxwc.c
  * contrib/hbct/disk.c
    ! Fixing warnings. [Tamas Tevesz]
  * contrib/hbqt/hbmk2_qt.hbs
    + Added traces. [Francesco Perillo]
    ! Formatted
    ! Changed ALWAYS to DEBUG.
  + contrib/hbqt/qtgui/qth/QCloseEvent.qth
  * contrib/hbqt/qtgui/qth/filelist.hbm
  * contrib/hbqt/qtgui/hbqt_init.cpp
    + Patch. [Francesco Perillo]
    ; Applied manually as it failed to apply automatically. Untested.
2011-03-16 12:58:15 +00:00
Przemyslaw Czerpak
f84b6db84b 2011-03-11 09:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbrandom.c
    ! fixed double number calculation for random values by removing
      some wrong trick with epsilon value. rand() function returns
      numbers in range [0,RAND_MAX] (inclusive) so can give RAND_MAX+1
      different results and this is the correct divisor to map rand()
      results to real range [0,1)  ( 0 <= n < 1 )
2011-03-11 08:42:10 +00:00
Przemyslaw Czerpak
35dfc7eb60 2011-03-10 00:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/lang/msgbgiso.c
    ! fixed typo in lang module name: "BGWIN" -> "BGISO"
    ; TODO: sync codepage and land module names to use the same ID.
            Now it's necessary to look at Harbour source code to find
            corresponding modules.

  * harbour/src/rtl/gtwvt/gtwvt.c
    ! fixed GPF when fullscreen was enabled before console window is
      created.
      Now it's possible to enable full screen mode before application
      starts without flickering window, i.e.:
         #include "hbgtinfo.ch"
         REQUEST HB_GT_WVT_DEFAULT
         PROC main()
            hb_gtInfo( HB_GTI_ISFULLSCREEN, .T. )
            ? hb_datetime()
            ? version()
            ? hb_compiler()
            ? hb_gtVersion(), hb_gtVersion(1)
            WAIT
         RETURN
2011-03-09 23:56:28 +00:00
Viktor Szakats
b93674121e 2011-03-09 21:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbzlibgz.c
    ! In block declaration in recent patch.
  * utils/hbmk2/hbmk2.prg
    ! Regression in recent xhb patch.
  * contrib/hbwin/axcore.c
    ! Format warning in trace.
2011-03-09 20:33:32 +00:00
Przemyslaw Czerpak
5a4f9153fe 2011-03-09 11:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbzlibgz.c
    % encapsulated all GZIP IO functions inside hb_vmUnlock() / hb_vmLock()
      calls.
2011-03-09 10:16:12 +00:00
Viktor Szakats
4908697aa5 2011-03-09 09:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwvt/gtwvt.c
    * Indenting.

  * INSTALL
    + Added new ghostscript link. [Tamas Tevesz]
      (left the old one as it has some information the new one doesn't)

  * contrib/hbqt/hbmk2_qt.hbs
  * contrib/hbqt/qtgui/qth/*.qth
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/qth/*.qth
  * contrib/hbqt/qtnetwork/qth/*.qth
  * contrib/hbqt/qscintilla/qth/*.qth
  * contrib/hbqt/qtdesigner/qth/*.qth
    + Patch to move wrapper code to C++. [Francesco Perillo]
    * My mods:
         - Restored the way registerResource() is implemented.
           (TODO: needs generic solution)
         - Formatting, some cleanups.
         - Minor corrections in generated code format (more TBD)
         - Deleted some unused code
         - Refixed strcpy() usage.
         - Added C++ puller for __QT* symbol.
         - Added manual version of HBQEventsFromPointer() which is still needed
           by hbqtcore. (TOFIX)
      Please test.
    ; TOFIX: Remove remaining generated .prg, holding this code:
             FUNCTION QtClass( ... )
                RETURN HB_QtClass():new( ... )
             Any takers?
2011-03-09 08:10:56 +00:00
Przemyslaw Czerpak
16d2f8ec66 2011-03-08 00:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapihb.c
    ! fixed typo in my last commit
2011-03-07 23:28:06 +00:00
Przemyslaw Czerpak
b4e9d2621f 2011-03-07 22:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/minmax.c
    ! fixed MAX() for mixed date and timestamp values

  * harbour/src/rtl/strtran.c
    % minor modification

  * harbour/src/rtl/cdpapihb.c
    * updated for signed HB_SIZE type
2011-03-07 21:44:02 +00:00
Przemyslaw Czerpak
017debeb6e 2011-03-07 12:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/valtype.c
    * modified to work with any HB_IT_STRING flags we may add in the future

  * harbour/src/rdd/dbcmd.c
    * eliminated explicit hb_parinfo() usage

  * harbour/src/compiler/harbour.y
    * added casting which seems to be necessary for some newer bison versions

  * harbour/doc/xhb-diff.txt
    * typo
2011-03-07 11:44:42 +00:00
Przemyslaw Czerpak
09283469f1 2011-03-01 11:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/win/bcc.mk
  * harbour/utils/hbmk2/hbmk2.prg
    * disabled W8060 warnings in BCC builds when warning level is set to low

  * harbour/src/rtl/gtwin/gtwin.c
    ! added missing void in hb_gt_win_IsFullScreen() declaration
2011-03-01 10:50:26 +00:00
Przemyslaw Czerpak
1c05209d95 2011-03-01 11:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbjson.c
    ! fixed typo which caused that \uNNNN in strings were ignored
      instead of being decoded
    ; QUESTION: why we are not using unicode strings in encoding by default?
2011-03-01 10:12:05 +00:00
Viktor Szakats
a61dbea633 2011-03-01 09:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbgtinfo.ch
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
    + HB_GTI_ISFULLSCREEN checking and setting inside GTWIN done.
    ! Minor fix for GTWVT, code patched to work on Windows 95 (tested).
    ; [Aleksander Czajczynski]

  * config/beos/gcc.mk
  * config/bsd/clang.mk
  * config/bsd/pcc.mk
  * config/linux/clang.mk
    + add soname specs to some gnu lds [Tamas Tevesz]
2011-03-01 08:44:17 +00:00
Przemyslaw Czerpak
701acbb116 2011-03-01 02:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
  * harbour/config/dos/watcom.mk
  * harbour/config/win/watcom.mk
  * harbour/config/linux/watcom.mk
  * harbour/config/os2/watcom.mk
    ! fixed to not use -wcd124 and -wcd136 in OpenWatcom C++ builds

   * harbour/config/win/xcc.mk
     ! added -noexpobj as workaround for problems with creating
       shared library
     * removed now unnecessary $(RM) harbour*.dll

  * harbour/src/rtl/base64d.c
    * pacified warning
    % removed unnecessary condition with RTE - decoded string has to
      be shorter then the source one taken from HVM string item so for
      sure it cannot exceed maximum string item size

  * harbour/src/rtl/base64c.c
    * generate RTE if encode string size is too big 
    * eliminated unnecessary INT_MAX string limit
2011-03-01 01:07:16 +00:00
Przemyslaw Czerpak
f9823284df 2011-02-28 21:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbapilng.h
  * harbour/include/hbapi.h
  * harbour/include/hbcomp.h
  * harbour/src/pp/pplib.c
  * harbour/src/pp/ppcore.c
  * harbour/src/common/hbstr.c
  * harbour/src/rtl/sha2.c
  * harbour/src/rtl/hbinet.c
  * harbour/src/compiler/ppcomp.c
  * harbour/src/compiler/hbfunchk.c
  * harbour/src/compiler/hbgenerr.c
  * harbour/contrib/hbtip/utils.c
    % added missing const to some variable declarations so they can be
      stored in readonly segments

  * harbour/doc/xhb-diff.txt
    ! fixed few typos
2011-02-28 20:43:05 +00:00
Viktor Szakats
0d92423b1c 2011-02-28 21:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbgtinfo.ch
  * src/rtl/hbgtcore.c
  * src/rtl/gtdos/gtdos.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtxwc/gtxwc.c
  * src/rtl/gtcrs/gtcrs.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/gttrm.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/gtsln/gtsln.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/gtwvt/gtwvt.c
  * contrib/hbct/ctwin.c
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/gtalleg/gtalleg.c
  * contrib/hbrun/hbrun.prg
  * tests/wvt_fs.prg
  * examples/gtwvw/gtwvw.c
    * Renamed HB_GTI_FULLSCREEN to HB_GTI_ISSCREENPOS
      HB_GTI_FULLSCREEN is now deprecated and will be deleted in future
      version of Harbour, use the new name instead.
    * Renamed HB_GTI_FULLSCREEN to HB_GTI_ISFULLSCREEN
      in context of GT window being fullscreen on physical display
      recently added in 2011-02-26 20:07 UTC+0100 Viktor Szakats
    ; If someone has further name suggestions, pls tell.

  * src/rtl/hbgtcore.c
    * Setting defaults for HB_GTI_ISFULLSCREEN and HB_GTI_ALTENTER.
2011-02-28 20:09:19 +00:00
Viktor Szakats
d26fa9bb12 2011-02-28 14:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
    ! Added hb_socketGetHostName() stub when HB_SOCKET_OFF.

  * contrib/hbrun/hbrun.hbp
    + Linking in hbpmcom on dos platform. [Tamas]
2011-02-28 13:02:14 +00:00
Viktor Szakats
a56c3ecac5 2011-02-28 08:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
    + Patch from Francesco. (more slot callbacks + minor formatting patches of mine)

  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
    * Minors.
2011-02-28 07:50:42 +00:00
Viktor Szakats
a13f7b1c0c 2011-02-26 20:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbgtinfo.ch
  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
  + tests/wvt_fs.prg
    + Added ability to switch GTWVT screen into fullscreen. See example
      for usage. Patch by Aleksander Czajczynski. Many thanks!
      Pls test.

  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    ! Fixed bug introed in 2011-02-24 18:03 UTC-0800 Pritpal Bedi
      where char array declaration used runtime size value.
      Replaced with hb_strdup(). In previous commit I've also fixed
      an strcpy() usage. strcpy() is strictly forbidden in Harbour
      codebase. Hopefully it fixes MSVC build failure.
2011-02-26 19:09:48 +00:00
Viktor Szakats
a9df1ad291 2011-02-24 22:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! HB_USHORT -> HB_SIZE after recent mod.
2011-02-24 21:41:21 +00:00
Viktor Szakats
124dbb123a 2011-02-22 22:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! Use hb_fsReadLarge()/hb_fsWriteLarge().
    + Added TODO to use hb_fileExtOpen().
    ! Deleted FXO_DEFAULTS after carefully checking there is no
      more "extra" feature of hb_fsExtOpen() enabled in this specific
      scenario.
2011-02-22 21:18:17 +00:00
Viktor Szakats
3db8ee700c 2011-02-22 18:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    * Restored open mode. Still waiting for proper fix.
    * Upped buffer to 65536.

  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/linux/clang.mk
  * config/dyn.mk
  * config/cygwin/gcc.mk
  * config/symbian/gcc.mk
    * Renamed DYN_FILE2/DYN_NAME2 to DYN_FILE/NAME_NVR.
      (NVR for 'versionless')
2011-02-22 17:09:50 +00:00
Mindaugas Kavaliauskas
8054719cd8 2011-02-22 14:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/fscopy.c
    * rewrote using hb_fsOpen()/hb_fsCreate() as requested by Viktor
2011-02-22 12:21:22 +00:00
Viktor Szakats
251a3a00ee 2011-02-22 13:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
  * config/global.mk
  * config/bin.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/dyn.mk
  * config/os2/gcc.mk
    * Trying to cleanup the harbour dynlib name situation.
      Here's the plan (which is similar to what's used in contrib area):
         win, wce: harbour-21[-subtype][.dll/.lib]
         dos, os2: harbour[.dll|.???]
         darwin:
            libharbour.2.1.0.dylib
            libharbour.2.1.dylib -> (symlink) [compatibility level]
            libharbour.dylib -> (symlink)
         *nix:
            # libharbour.s?.2.1.0
            # libharbour.s?.2.1 -> (symlink) [soname]
            # libharbour.s? -> (symlink)
    ; It's possible it's broken now. Pls test linux/gcc and darwin.
      'install' was not tested.
    ; TODO: Clean variable usage, there is some redundancy, plus
            some places where current solution is not generic, f.e.
            using HB_VER_*, HB_DYNLIB_BASE vs. HB_DYNLIB_NAME, etc.

  * harbour/src/rtl/fscopy.c
    * Reverted 2011-02-22 12:27 UTC+0200 Mindaugas Kavaliauskas
      which made behavior inconsistent with rest of similar
      functions like FERASE(), FRENAME(), which also don't throw
      RTE if bad parameter is passed, but return FERROR()
      and failure instead.
      Also restored _SET_DEFAULT handling to not create a special case
      compared to __COPYFILE() behavior, ia. some features like
      FXO_SHARELOCK are still enabled while FXO_DEFAULT is not).
      Pls rewrite it using hb_fsOpen()/hb_fsCreate() if that behavior
      bothers you.
2011-02-22 12:13:08 +00:00
Mindaugas Kavaliauskas
899023ede0 2011-02-22 12:27 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/fscopy.c
    * added runtime error for HB_FCOPY() bad param types only
    * made a function HB_FCOPY() a pure file system function 
      does not dependent on _SET_DEFAULT setting
    ; File open mode is not altered a avoid any influence on OS/2 
      behaviour if source and destination files are the same (see 
      ChangeLog entry at 2009-11-24 16:57). I guess, hb_fsExpOpen() 
      still can be changed to hb_fsOpen() with FO_EXCLUSIVE, 
      FO_CREAT, and FO_TRUNC but I'm unable to test it, so, I leave 
      current code.
2011-02-22 10:27:49 +00:00
Viktor Szakats
45bb463f06 2011-02-21 20:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    * Reverted my recent changes.
    ; Pls read past ChangeLog entries as to why this function
      is implementet the way it is make changes which don't break
      f.e. OS/2. Not throwing an RTE from this function is
      intentional.
    * Added parantheses to recent patch to hb_fsCopy().
2011-02-21 19:17:07 +00:00
Viktor Szakats
056e778977 2011-02-21 18:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! Fixed missing header in prev.
    ! Fixed to check empty value of parameters properly.
2011-02-21 17:25:43 +00:00
Viktor Szakats
743a53e052 2011-02-21 16:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! HB_FCOPY(): RTE when either of the parameters is not string.
    - Deleted FXO_DEFAULTS from open flags, so HB_FCOPY() and hb_fsCopy()
      don't depend on _SET_DEFAULT setting anymore.
2011-02-21 15:41:53 +00:00
Mindaugas Kavaliauskas
60e70eb29b 2011-02-21 16:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/axcore.c
    * return NIL instead of runtime error if failed to obtain 
      connection point
    ; Please test
  * harbour/src/rtl/fscopy.c
    * added error check for read operation
2011-02-21 14:29:54 +00:00
Viktor Szakats
79d4a781a4 2011-02-21 13:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/filesys.c
    + fs_win_set_drive(): Setting SEM_FAILCRITICALERRORS before
      SetCurrentDirectory() call to avoid screen msg in some error
      scenarios. Thanks to vbdasc (final patch has two modifications,
      so pls retest it).
    + hb_fsChDir(): Applied similar logic as above.
    * Using FALSE instead of 0 in both function above.

  * contrib/hbssl/evppkey.c
    * Comment.
2011-02-21 13:00:55 +00:00
Przemyslaw Czerpak
6156673ff3 2011-02-19 15:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbsocket.c
    ! added missing casting for C++ mode
2011-02-19 14:41:49 +00:00
Viktor Szakats
18e94d4e59 2011-02-19 09:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/Makefile
  + src/rtl/hbfilehc.c
  * src/rtl/hbfilehi.prg
    % Rewritten high-level HB_FNAME*() functions in C.
2011-02-19 08:28:16 +00:00
Viktor Szakats
989253ba51 2011-02-17 15:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbrun/hbrun.prg
    + Added GTWVT on win builds.

  * src/rtl/gtcrs/gtcrs.c
    ! Typo in comment.

  * src/rtl/errapi.c
    ! Deleted old TOFIX most pbly not relevant anymore.

  * tests/testid.prg
    ! Deleted old TOFIX and formatting.
2011-02-17 14:02:09 +00:00
Viktor Szakats
e4be7fd9c0 2011-02-17 13:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/achoice.prg
    + Added TOFIX.

  * src/rtl/hbrandom.c
    ! Fixed type and initialization of a variable.

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2011-02-17 12:57:57 +00:00
Viktor Szakats
2b78d2754b 2011-02-17 10:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbrandom.c
    ! Typo in comment. [Tamas]
    + Enabled using DBL_EPSILON in hb_random_num() on Windows
      platform, except bcc, which - according to the comment
      from original author - has some problems with this value.

  * package/harb_win.rc
  * contrib/hbrun/hbrun.rc
    * Modified manifest inclusion to be friendly with all Windows
      compilers (ie. not break them with their own headers and
      predefined macro definitions).
2011-02-17 09:29:13 +00:00
Viktor Szakats
709be07f83 2011-02-15 09:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_qt.hbs
    * Whitespace.

  * include/harbour.hbx
  * src/rtl/hbdoc.prg
  * tests/stripdoc.hbs
    * Added __HBDOC_FILTEROUT( <cFile> ) -> <cFile> internal
      function to strip all NG doc content from a file and
      return the stripped file.

  * contrib/hbide/idedocwriter.prg
    + Use core __HBDOC_TOSOURCE() to generate NG doc source.
      (just build tested)
    ; TOFIX: idedocwriter.prg and ideharbourhelp.prg
             still makes direct reference to NG doc physical
             format. Pls change these to use __HBDOC_* functions.
2011-02-15 08:21:47 +00:00
Przemyslaw Czerpak
11654224c1 2011-02-14 19:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbclass.ch
    + added some class(y) compatible commands for delegated messages

  * harbour/include/hboo.ch
  * harbour/src/vm/classes.c
  * harbour/src/rtl/tclass.prg
    * native support for delegated messages - work in progress

  * harbour/src/rtl/hbsocket.c
    ! fixed error checking to eliminate possible error code overload

  * harbour/ChangeLog
    * marked old TODO as [DONE]
2011-02-14 18:48:59 +00:00
Viktor Szakats
f9dbe711f3 2011-02-14 17:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbfilehi.prg
    ! Silly cut&paste typo causing major problem in some cases
      in HB_PATHNORMALIZE(). (in 2011-02-11 12:04 UTC+0100 Viktor Szakats)
      Thanks Teo for reporting the darwin/gcc problem it caused.
2011-02-14 16:20:26 +00:00
Viktor Szakats
6be6a26381 2011-02-14 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdoc.prg
    * Minor fix to not add padding when content line is empty.

  * doc/en/1stread.txt
  * contrib/hbnf/doc/en/numlock.txt
  * contrib/hbnf/doc/en/mouse1.txt
  * contrib/hbnf/doc/en/mkdir.txt
  * contrib/hbnf/doc/en/menu1.txt
  * contrib/hbnf/doc/en/byteor.txt
  * contrib/hbnf/doc/en/mouse2.txt
  * contrib/hbnf/doc/en/clrsel.txt
  * contrib/hbnf/doc/en/rmdir.txt
  * contrib/hbnf/doc/en/scancode.txt
    ! Fixed unaligned content lines.

  * doc/en/*.txt
    ! Restored.
2011-02-14 10:28:37 +00:00
Viktor Szakats
73bdced7d3 2011-02-14 10:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdoc.prg
    + Added logic to detect in which column the actual 
      content starts and read it accordingly.
      It uses the first content line as a base, so if 
      that one is wrong, the content will be read wrongly 
      and such NG sources should be fixed manually.
    * On output it will always start content in column 8 (base 1).

  * contrib/hbmysql/mysql.c
    ! MYSQL_REAL_ESCAPE_STRING() fixed taking wrong params.
      Reported by Bacco, thanks!

  * contrib/hbrun/pullext.prg
  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/plugins.prg
  * contrib/hbrun/headers.prg
    * Formatting.
2011-02-14 09:21:22 +00:00