Commit Graph

7590 Commits

Author SHA1 Message Date
Viktor Szakats
0cf59b987f 2007-11-11 01:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tpopup.prg
     ! Fixed a few problems regarding HB_EXTENSION guards.
       (one method declaration was mistakenly guarded, and one 
       IF construct broke when compiled without HB_EXTENSION)

   * source/rtl/mlcfunc.c
   * source/rtl/alert.prg
     ! Fixed unused var warnings when HB_EXTENSION is off.

   * contrib/hgf/tests/bld_b32.bat
     ! Some more fixes. (removed hard coded BCC path, and 
       a few wrong dirs)
     ; For me form3.hbf works without a closing EOL, under Windows.
       So the problem might rather be something else. For sure though,
       HBPersistent()'s EOL detection and handling is not portable (TOFIX).

   * source/compiler/hbcomp.c
     ! Reverted previous change for non-Unix platforms, regaring
       command-line output. Now Harbour will again use stderr/stdout 
       about the same way CA-Cl*pper does. However odd this is, 
       most DOS/Windows programs work this way, so the "when in Rome" 
       rule got in effect here. Otherwise, any DOS/Windows build 
       output (BC/VC/GCC) goes to stdout, _except_ Harbour 
       errors/warnings, and this is not a good thing. Still, the 
       //STDOUT:, //STDERR: switches could come handy to override 
       the platform defaults.
2007-11-11 01:07:49 +00:00
Viktor Szakats
0ebb791450 2007-11-11 00:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/std.ch
     * Removed HB_EXTENSION guard from around SET commands 
       implementing Harbour _SET_* extensions. The reason: 
       _SET_* extensions are not marked as extensions (and 
       it would be nearly impossibly to do so), so it's more 
       consistent to behave the same way for their command 
       counterparts.

   * utils/hbpp/hbpplib.c
     ! Removed HB_EXTENSION guard from around __PP*() functions 
       which are Harbour undocumented ones, so they don't need to 
       be guarded. We're also in sync with hbextern.ch now.

   * utils/hbtest/rt_stra.prg
     ! Removed HB_EXTENSION guard from around hb_ValToStr() calls, 
       because this function is no longer marked as HB_EXTENSION.

   * contrib/hgf/os2pm/tmenu.prg
   * contrib/hgf/os2pm/tmenuitm.prg
   * contrib/hgf/gtk/shared.ch
   * contrib/hgf/gtk/dispatch.c
   * contrib/hgf/gtk/creamenu.c
   * contrib/hgf/gtk/msginfo.c
   * contrib/hgf/gtk/creabutt.c
   * contrib/hgf/gtk/general.c
   * contrib/hgf/gtk/creawin.c
   * contrib/hgf/gtk/harbgtk.h
   * contrib/hgf/gtk/menuitem.prg
   * contrib/hgf/win32/button.prg
   * contrib/hgf/win32/edit.prg
   * contrib/hgf/win32/form.prg
   * contrib/hgf/win32/menu.prg
   * contrib/hgf/win32/menuitem.prg
   * contrib/hgf/win32/winctrl.prg
   * contrib/hgf/tests/bld_b32.bat
   * contrib/hgf/tests/form2.prg
   * contrib/hgf/tests/form3.prg
   * contrib/hgf/tests/form3.hbf
   * contrib/hgf/tests/form3res.prg
   * contrib/hgf/tests/formtext.prg
   * contrib/hgf/tests/testctrl.prg
   * contrib/hgf/tests/testform.prg
     ! Fixed bld_b32.bat to link properly.
     ! Changed HBMenuItem CLASS to HGFMenuItem() to not collide with 
       Harbour class HBMenuItem() (C53 compatibility class).
     ; The above reported by Petr Chornyj.
     ! Added CRLF at the end of each source file where there was none.
     ! Fixed version headers.
     ; TOFIX1: HBPersistent():LoadFromFile() has a bug where it doesn't 
               load the last line if it doesn't end with newline.
     ; TOFIX2: HBPersistent() uses At() "dirty" extension.

   * contrib/odbc/test/odbcdemo.prg
   - contrib/odbc/test/browodbc.prg
   * contrib/odbc/test/odbccall.prg
   * contrib/odbc/test/testodbc.prg
   * contrib/odbc/common.mak
   + contrib/odbc/browodbc.prg
     ! Moved back browodbc.prg to /contrib/odbc (since it was not a test, 
       just missing from the non-GNU make files)
       Reported by Petr Chornyj.
     ! Added browodbc.prg to non-GNU makefile.
     ! Added version headers.
2007-11-10 23:48:48 +00:00
Viktor Szakats
6e47dd35f5 2007-11-10 18:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
   - samples
   + contrib/examples
   * contrib/Makefile
   * contrib/examples/Makefile
   * contrib/examples/guestbk/inifiles.prg
   * contrib/examples/guestbk/testcgi.prg
   * contrib/examples/guestbk/bld_b32.bat
   * contrib/examples/guestbk/Makefile
   * contrib/examples/pe/pe.prg
   * contrib/examples/pe/Makefile
   * contrib/examples/misc/Makefile
   * contrib/examples/hscript/bld_b32.bat
   * contrib/examples/hscript/Makefile
   * contrib/examples/Makefile
     * Moved /samples to /contrib/examples
2007-11-10 17:04:20 +00:00
Viktor Szakats
6d733d7695 2007-11-10 17:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/hvm.c
     ! Fixed unused var warning when HB_NO_DEBUG was defined 
       and TRACE disabled. (Reported by Enrico Maria Giordano)
2007-11-10 16:40:54 +00:00
Viktor Szakats
050bed0d99 2007-11-10 17:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.bat
   * make_vc.bat
   * contrib/xhb/make_b32.bat
   * contrib/xhb/make_vc.bat
   * contrib/libmisc/make_b32.bat
   * contrib/libmisc/make_vc.bat
   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
   * contrib/apollo/make_b32.bat
   * contrib/apollo/make_vc.bat
   * contrib/libnf/make_b32.bat
   * contrib/libnf/make_vc.bat
   * contrib/gd/make_b32.bat
   * contrib/gd/make_vc.bat
   * contrib/htmllib/make_b32.bat
   * contrib/htmllib/make_vc.bat
   * contrib/tip/make_b32.bat
   * contrib/tip/make_vc.bat
   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat
   * contrib/adordd/make_b32.bat
   * contrib/adordd/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/rdd_ads/make_b32.bat
   * contrib/rdd_ads/make_vc.bat
   * contrib/libgt/make_b32.bat
   * contrib/libgt/make_vc.bat
   * contrib/btree/make_b32.bat
   * contrib/btree/make_vc.bat
   * contrib/win32/make_b32.bat
   * contrib/win32/make_vc.bat
   * contrib/directx/make_b32.bat
   * contrib/directx/make_vc.bat
   * contrib/samples/make_b32.bat
   * contrib/samples/make_vc.bat
   * contrib/mysql/make_b32.bat
   * contrib/mysql/make_vc.bat
   * contrib/odbc/make_b32.bat
   + contrib/odbc/make_vc.bat
   * contrib/bmdbfcdx/make_b32.bat
   * contrib/bmdbfcdx/make_vc.bat
   * contrib/hgf/win32/make_b32.bat
   * contrib/hgf/win32/make_vc.bat
     ! Readded COPYCMD "hack" to core Harbour for fully portable
       "copy /y" functionality across all Micro$oft operating systems.
     + Same feature added for all contribs.

   * contrib/hbzlib/make_b32_dll.bat
   * contrib/hbzlib/make_b32_dll.mak
   * contrib/hbzlib/make_b32.bat
   - contrib/hbzlib/make_b32.mak
   * contrib/hbzlib/make_vc.bat
   - contrib/hbzlib/make_vc.mak
   + contrib/hbzlib/common.mak
     + Standardized make files (and some cleanup along the way)
     ; TODO: BC dll creating is still to be cleaned.
     ; TOFIX: Lots of warnings if compiled with standard BCC switch set.
     ; TOFIX: Lots of warnings when compiler for MSVC.

   * contrib/hgf/win32/win32.c
   * contrib/hgf/win32/form.prg
     ! Fixed one unused var warning in .prg code.
     ! Fixed to not use Harbour internals.
       (Petr, this should have the same effect as your request, 
       but pls test this change.)
2007-11-10 16:31:36 +00:00
Viktor Szakats
b582aa43c0 2007-11-10 12:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/libmisc/common.mak
   * contrib/apollo/common.mak
   * contrib/libnf/common.mak
   * contrib/gd/common.mak
   * contrib/htmllib/common.mak
   * contrib/tip/common.mak
   * contrib/adordd/common.mak
   * contrib/rdd_ads/common.mak
   * contrib/libgt/common.mak
   * contrib/btree/common.mak
   * contrib/win32/common.mak
   * contrib/directx/common.mak
   * contrib/samples/common.mak
   * contrib/mysql/common.mak
   * contrib/bmdbfcdx/common.mak
   * contrib/pgsql/common.mak
     ! .obj -> $(OBJEXT)

   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
     ! Minor fix.

   + contrib/pdflib/make_vc.bat
   + contrib/pdflib/make_b32.bat
   + contrib/pdflib/common.mak
   + contrib/pdflib/pdf1.prg
   + contrib/pdflib/pdfhbdoc.ch
   + contrib/pdflib/pdf.ch
   + contrib/pdflib/pdfhbdocs.prg
   * contrib/pdflib/pdflib.h
   * contrib/pdflib/pdfhbdoc.c
     * Borrowed from xhb.
     ! Fixed HB_ITEM -> PHB_ITEM.
     ! Fixed warnings.
     + Added non-GNU make files.
     ; NOTE: I didn't test this, it would be great if someone would.
2007-11-10 11:31:17 +00:00
Viktor Szakats
4c6474e9ca minor fix to prev 2007-11-10 05:08:13 +00:00
Viktor Szakats
35a4c7b944 2007-11-10 06:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hgf/tests/build_b32.bat
   + contrib/hgf/tests/bld_b32.bat
   - contrib/hgf/win32/makefile.bc
   + contrib/hgf/win32/make_b32.mak
   - contrib/hgf/win32/makevc.bat
   + contrib/hgf/win32/make_vc.bat
   - contrib/hgf/win32/makefile.vc
   + contrib/hgf/win32/make_vc.mak
   * contrib/hgf/win32/make_b32.bat
   - contrib/hbzlib/hrbdll.bc
   + contrib/hbzlib/make_b32_dll.bat
   - contrib/hbzlib/dll_b32.bat
   + contrib/hbzlib/make_b32_dll.mak
   - contrib/hbzlib/makefile.vc
   + contrib/hbzlib/make_vc.mak
   - contrib/hbzlib/makefile.bc
   + contrib/hbzlib/make_b32.mak
   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
     * Some non-GNU make file cleanup.
2007-11-10 05:07:06 +00:00
Viktor Szakats
cf01ca3701 2007-11-10 05:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.bat
   + make_b32.mak
   - makefile.bc
   * make_gcc.sh
   + make_gcc.mak
   - makefile.gc
   * make_vc.bat
   + make_vc.mak
   - makefile.vc
   * common.mak
   - contrib/maketpl.b32
   + contrib/mtpl_b32.mak
   - contrib/maketpl.vc
   + contrib/mtpl_vc.mak
   - contrib/maketpl.mak
   + contrib/mtpl.mak
   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat
     % Makefile name cleanup, batch file synchronization, 
       setting name cleanup. Some minor fixes.
       Now all non-GNU makefiles have the .mak extension.

   - contrib/xhb/makefile.vc
   * contrib/xhb/make_b32.bat
   + contrib/xhb/common.mak
   - contrib/xhb/makefile.bc
   * contrib/xhb/make_vc.bat
   - contrib/libmisc/makefile.vc
   * contrib/libmisc/make_b32.bat
   + contrib/libmisc/common.mak
   - contrib/libmisc/makefile.bc
   * contrib/libmisc/make_vc.bat
   + contrib/apollo/common.mak
   - contrib/apollo/makefile.bc
   * contrib/apollo/make_b32.bat
   + contrib/apollo/make_vc.bat
   - contrib/htmllib/makefile.vc
   * contrib/htmllib/make_b32.bat
   + contrib/htmllib/common.mak
   - contrib/htmllib/Makefile.bc
   * contrib/htmllib/make_vc.bat
   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat
   - contrib/libgt/makefile.vc
   * contrib/libgt/make_b32.bat
   + contrib/libgt/common.mak
   - contrib/libgt/makefile.bc
   * contrib/libgt/make_vc.bat
   * contrib/libnf/make_b32.bat
   - contrib/libnf/makefile.vc
   * contrib/libnf/make_vc.bat
   + contrib/libnf/common.mak
   - contrib/libnf/makefile.bc
   * contrib/gd/make_b32.bat
   + contrib/gd/common.mak
   - contrib/gd/makefile.bc
   + contrib/gd/make_vc.bat
   - contrib/tip/makefile.vc
   * contrib/tip/make_b32.bat
   + contrib/tip/common.mak
   - contrib/tip/makefile.bc
   * contrib/tip/make_vc.bat
   + contrib/adordd/common.mak
   - contrib/adordd/makefile.bc
   * contrib/adordd/make_b32.bat
   + contrib/adordd/make_vc.bat
   - contrib/rdd_ads/makefile.vc
   * contrib/rdd_ads/make_b32.bat
   + contrib/rdd_ads/common.mak
   - contrib/rdd_ads/makefile.bc
   * contrib/rdd_ads/make_vc.bat
   + contrib/btree/common.mak
   - contrib/btree/makefile.bc
   * contrib/btree/make_b32.bat
   + contrib/btree/make_vc.bat
   + contrib/directx/common.mak
   - contrib/directx/makefile.bc
   - contrib/directx/makefile.vc
   * contrib/directx/make_b32.bat
   * contrib/directx/make_vc.bat
   + contrib/win32/common.mak
   - contrib/win32/makefile.bc
   - contrib/win32/makefile.vc
   * contrib/win32/make_b32.bat
   * contrib/win32/make_vc.bat
   + contrib/bmdbfcdx/common.mak
   - contrib/bmdbfcdx/makefile.bc
   * contrib/bmdbfcdx/make_b32.bat
   + contrib/bmdbfcdx/make_vc.bat
   - contrib/samples/makefile.vc
   * contrib/samples/make_b32.bat
   + contrib/samples/common.mak
   - contrib/samples/makefile.bc
   * contrib/samples/make_vc.bat
   * contrib/mysql/common.mak
   - contrib/mysql/makefile.bc
   * contrib/mysql/make_b32.bat
   + contrib/mysql/make_vc.bat
   * contrib/pgsql/common.mak
   - contrib/pgsql/makefile.bc
   * contrib/pgsql/make_b32.bat
   + contrib/pgsql/make_vc.bat
     * Changed most libs to use the generic non-GNU makefiles.
     + Added support for MSVC for all above libs.
     ; directx won't build under MSVC with an error.
     + Added "implib" for rdd_ads. TOFIX: Doesn't work for MSVC.
     ; TOFIX: I couldn't compile pgsql using latest 8.2.5.

   * contrib/samples/gauge.c
     ! Fixed MSVC warning.

   + odbc/test
   + odbc/test/bld_b32.bat
   + odbc/test/harbour.mdb
   + odbc/test/odbcdemo.prg
   + odbc/test/browodbc.prg
   + odbc/test/odbccall.prg
   + odbc/test/testodbc.prg
   - odbc/bld_b32.bat
   - odbc/harbour.mdb
   - odbc/odbcdemo.prg
   - odbc/browodbc.prg
   - odbc/odbccall.prg
   - odbc/testodbc.prg
   - odbc/bldodbc.bat
   + odbc/make_b32.bat
   + odbc/make_vc.bat
   - odbc/hbodbc.b32
   + odbc/common.mak
     * Moved test functions to test fir.
     ! Fixed bld_b32.bat
     ! Renamed non-GNU BC make files to be in sync with the rest of contribs.
     ; TOFIX: There are some warnings under MSVC.
     ; TOFIX: .def -> .lib conversions fails under MSVC.

   - contrib/ole
   - contrib/delphi
   - contrib/hb_struc
   - contrib/dot
   - contrib/tprepro
     - Removed obsolete, incomplete or non-working contribs.
2007-11-10 04:53:45 +00:00
Viktor Szakats
d9ad098243 minor fix to prev 2007-11-09 14:24:31 +00:00
Viktor Szakats
266cb421e0 minor fix to prev 2007-11-09 14:23:33 +00:00
Viktor Szakats
17a72b54cf 2007-11-09 15:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/compiler/hbcomp.c
     ! Changed error messaged to go to stderr on non-Unix 
       platforms too. With this change the Harbour compiler 
       uses the same output on non-Unix platforms as on Unixes.
       With Przemek's previous and now this change, the 
       compiler uses stdout/stderr in the standard way 
       (messages to stdout, warnings/errors to stderr), 
       instead of being more or less CA-Cl*pper compatible.
       (in CA-Cl*pper startup msg plus some info went to 
       stderr and errors/warnings and some other progress 
       info went to stdout)

   * source/compiler/hbusage.c
     + Added -f* switches to help screen.

   * source/compiler/cmdcheck.c
     ! -r=<max> -> -r:<max>

   * contrib/libct/screen2.c
   * contrib/libct/cursor.c
   * contrib/libct/ctstrfil.c
     ! Fixed MSVC warnings.

   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat

   * contrib/htmllib/Makefile.bc
     * Changed to not generate .ppo output on build.

   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat
   - contrib/libct/makefile.bc
   - contrib/libct/makefile.vc
   + contrib/libct/common.mak
   + contrib/maketpl.b32
   + contrib/maketpl.vc
   + contrib/maketpl.mak
     + Added BC/VC non-GNU generic make script for contribs.
     + Using the above generic make scripts to build LIBCT.
       Notice BC/VC now uses one make file per contrib project 
       named common.mak. The two helper batch files are essentially 
       identical for BC and VC, and there is no reduancy or any 
       complexity in common.mak (they much resemble in content 
       to Makefile).
       Notice that with this new system users have to call 
       make_[b32|vc].bat INSTALL in order to get the libs and 
       headers installed in the final lib/header destinations.
       (This step was previously done automatically by the .bat 
       files in LIBCT - or maybe not in other contribs.)
       The new scripts also have a generic CLEAN functionality.
     ; Thanks Marek Paliwoda for the generic make scripts.
2007-11-09 14:23:01 +00:00
Przemyslaw Czerpak
491e9853b1 2007-11-09 00:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/tip/ftpcln.prg
    * converted TABs to SPACEs
2007-11-08 23:09:30 +00:00
Przemyslaw Czerpak
720c92505d 2007-11-08 22:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingw.sh
    * minor modification in one message

  + harbour/make_rpmw32.sh
  + harbour/harbour-w32-spec
    + added script to build RPMs with cross build of Harbour for MS-Windows
      using MinGW32 cross compiler.
      make_rpmw32.sh should create harbour-w32-<ver>.i[345]86.rpm which
      can be installed with platform native harbour RPMs.
      This RPM contains Harbour libraries compiled for Win32 and
      set of hbw* scripts which should be used instead of standard hb*
      ones to create MS-Windows binaries. It means that you can create
      standard Linux binaries and MS-Windows binaries in the same session
      without setting/changing any additional environment variables, f.e:
         hbmk -n -w -es2 test.prg
      will create Linux binaries and:
         hbwmk -n -w -es2 test.prg
      will create binaries for MS-Windows.
      Please also remember that if you create and install RPMs with Harbour
      for WinCE/PocketPC (make_rpmce.sh) then hbce* scripts will create
      WinCE/PocketPC binaries, f.e.:
         hbcemk -n -w -es2 test.prg
2007-11-08 21:58:03 +00:00
Przemyslaw Czerpak
a3fc484d14 2007-11-07 13:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/ppcore.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/cdpapi.c
  * harbour/source/rtl/mlcfunc.c
  * harbour/source/vm/classes.c
  * harbour/source/common/reserved.c
  * harbour/source/compiler/hbpcode.c
  * harbour/source/compiler/gencc.c
  * harbour/source/compiler/hbfunchk.c
    * cleaned possible dangerous code reported by Chen - many thanks
2007-11-07 12:53:20 +00:00
Przemyslaw Czerpak
c01cc32ee1 2007-11-07 10:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbfsapi.c
    ! fixed DJGPP builds
    * use _chmod() if available (for long file name support)
      or _dos_getfileattr() instead of direct interrupt calls
2007-11-07 09:48:22 +00:00
Przemyslaw Czerpak
8acd47d80c 2007-11-07 01:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filesys.c
    * updated hb_fsTell() and hb_fsEof() to respect platform dependent
      API calls used in hb_fsSeek[Large]()
2007-11-07 00:47:52 +00:00
Przemyslaw Czerpak
886a431742 2007-11-06 23:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/debug/dbgentry.c
    * changed the name of global static variable from 'info' to
      's_pInfo' to avoid possible typos
2007-11-06 22:20:03 +00:00
Przemyslaw Czerpak
07c9e15d8d 2007-11-06 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwince.h
    * put functions declarations inside HB_EXTERN_BEGIN / HB_EXTERN_END

  + harbour/include/hbwmain.c
    + added WinMain() to main() wrapper

  * harbour/include/hbexprb.c
  * harbour/source/common/expropt1.c
    ! fixed typo reported by Chen

  * harbour/source/pp/hbppgen.c
  * harbour/source/main/harbour.c
  * harbour/utils/hbpp/hbpp.c
    * use hbwmain.c when main() is not supported by C compiler/platform

  * harbour/source/rtl/gtwin/gtwin.c
    * include wincon.h in all builds except LCC

  * harbour/source/rtl/fserror.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/filesys.c
    * use HB_OS_WIN_32_USED as in other files (still on TOFIX list)

  * harbour/source/rtl/seconds.c
    + added HB_OS_WIN_32_USED

  * harbour/source/compiler/hbcomp.c
    ! fixed typo: stderr was used instead of stdout
2007-11-06 11:59:02 +00:00
Przemyslaw Czerpak
50d37bb233 2007-11-05 18:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/wcecon.prg
    + added small test for DBF/FPT/CDX file creation and browsing
      in PocketPC/WinCE
2007-11-05 17:36:10 +00:00
Przemyslaw Czerpak
256ef6afa3 2007-11-05 01:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmake/hbmlang.c
    * pacify some other data lost conversion warnings by explicit casting

  * harbour/source/compiler/harbour.y
    * cleaned explicit comparison with TRUE value

  * harbour/source/compiler/harbour.yyc
    * rebuild with all recent cleanup in harbour.y
2007-11-05 00:13:14 +00:00
Przemyslaw Czerpak
7aa8292529 2007-11-04 19:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/include/hbmacro.h
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/harbour.y
  * harbour/source/vm/macro.c
  * harbour/source/vm/garbage.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/classes.c
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rtl/binnum.c
  * harbour/source/rtl/gtwvt/gtwvt.c
    * added explicit casting or changed some declarations to avoid
      warning about possible data lost in conversions
  * harbour/source/rtl/direct.c
    % optimized directory array creation and fixed one TOFIX note

   I left few warnings intentionally to mark places which should be
   updated in the future (f.e. HB_SYMBOLSCOPE translations).
   Victor, if you can please make build test with MSVC builds and
   send the list of warnings which still exist to harbour-devel.
2007-11-04 18:21:17 +00:00
Przemyslaw Czerpak
79a2901315 2007-11-04 17:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
    ! fixed typo in quoting condition for 1-st line token
2007-11-04 16:47:48 +00:00
Mindaugas Kavaliauskas
7eb0a16404 2007-11-04 03:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* include/hbapifs.h
  * harbour/source/common/hbfsapi.c
    ! fixed hb_fsFileExists() for DOS 
    + Added hb_fsDirExists()

  * include/hbextern.ch
  * source/rtl/hbfile.c
    + Added HB_DIREXISTS()
2007-11-04 01:40:13 +00:00
Przemyslaw Czerpak
7bad05f1b6 2007-11-04 02:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/source/common/hbstr.c
    + added hb_strlow()

  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/filesys.c
    ! fixed _SET_DIRSEPARATOR behavior - now it's always set to default
      OS directory separator what means no translations. If you want to
      enable some translations then it should be set to other value, f.e.
      in *nixes:
         set( _SET_DIRSEPARATOR, "\" )
      enables translations of "\" in paths to "/"

  * harbour/source/main/harbour.c
    + added support for new compiler switches:
         - Filename casing:
               -fn:l       (lower)
               -fn:u       (upper)
               -fn-        (disable - default)
               -fn         (disable - default)
         - Directory casing
               -fd:l       (lower)
               -fd:u       (upper)
               -fd-        (disable - default)
               -fd         (disable - default)
         - Path separator:
               -fp:<char>
               -fp         (default: OS defined)
         - Filename space trimming:
               -fs         (enable)
               -fs-        (disable - default)
      These switches works only in standalone compiler.
      When compiler is linked with HVM and RTL then corresponding
      _SET_* switches are used instead.
2007-11-04 01:34:59 +00:00
Przemyslaw Czerpak
523a7a2705 2007-11-03 11:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/cdpapi.c
    * indenting
2007-11-03 10:12:31 +00:00
Przemyslaw Czerpak
c944fb87e4 2007-11-03 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/cdpapi.c
    * some minor speed improvement

  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    * use hb_cdpSelect() instead of direct accessing hb_cdp_page variable
2007-11-03 10:06:02 +00:00
Teo Fonrouge
0f48d95dc6 2007-11-02 22:09 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com)
* contrib/directx/makefile.vc
  * contrib/hbzlib/makefile.vc
  * contrib/hgf/win32/makefile.vc
  * contrib/htmllib/makefile.vc
  * contrib/libct/makefile.vc
  * contrib/libgt/makefile.vc
  * contrib/libmisc/makefile.vc
  * contrib/libnf/makefile.vc
  * contrib/rdd_ads/makefile.vc
  * contrib/samples/makefile.vc
  * contrib/tip/makefile.vc
  * contrib/win32/makefile.vc
  * contrib/xhb/makefile.vc
    * removed the "-TP" (force source as c++) msvc compiler flag
2007-11-03 04:10:28 +00:00
Przemyslaw Czerpak
13427dd60a 2007-11-03 02:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/bmdbfcdx/bmdbfcdx1.c
    * replaced all direct access to hb_set structure with functions
      Now it's possible to link bmdbfcdx with harbour.dll but because
      it still access hb_cdp_page then only if linker supports auto
      import conversions

  * harbour/source/common/hbfsapi.c
  * harbour/source/main/harbour.c
  * harbour/source/pp/hbppgen.c
  * harbour/utils/hbpp/hbpp.c
    * added filename conversion (hb_fsNameConv()) to hb_fsFileExists()
      function

  * harbour/include/hbapifs.h
  + harbour/source/common/hbfopen.c
  * harbour/source/common/Makefile
  * harbour/common.mak
    + added hb_fopen() function - it's a wrapper to fopen() function but
      calls internally hb_fsNameConv()

  * harbour/source/pp/hbppgen.c
  * harbour/source/pp/ppcore.c
  * harbour/source/common/hbtrace.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/genhrb.c
  * harbour/source/compiler/gencobj.c
  * harbour/source/compiler/genobj32.c
  * harbour/source/compiler/genc.c
  * harbour/source/rtl/gtchrmap.c
  * harbour/source/vm/fm.c
    * use hb_fopen() instead of fopen()
2007-11-03 01:35:47 +00:00
Mindaugas Kavaliauskas
cfdacbcef1 2007-11-02 18:52 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/common/hbfsapi.c
    ! fixed hb_fsFileExists() to return TRUE for files only
2007-11-02 16:57:00 +00:00
Miguel Angel Marchuet Frutos
804002c0b7 2007-11-02 16:04 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net>
* contrib/bmdbfcdx/bmdbfcdx1.c
    ! fixed undoing previous fix
2007-11-02 15:15:15 +00:00
Viktor Szakats
894347b801 2007-11-02 13:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- doc/genhtm.cmd
   - utils/hbtest/make_xpp.cmd
   - contrib/libmisc/doc/gendoc.cmd
   - contrib/libgt/doc/gendoc.cmd
     - Removed .cmd versions of .bat files.

   + contrib/dot/bld_b32.bat
     + New build batch file added (for testing).
2007-11-02 12:17:16 +00:00
Przemyslaw Czerpak
7c710e5226 2007-11-02 12:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbfsapi.c
  * harbour/source/common/hbwince.c
    ! fixed hb_fsFileExists() in W32 Unicode builds and WinCE
2007-11-02 11:48:44 +00:00
Miguel Angel Marchuet Frutos
803f57740e 2007-11-02 21:32 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net>
* contrib/bmdbfcdx/bmdbfcdx1.c
    ! fixed acces to set variables.
2007-11-02 08:51:55 +00:00
Przemyslaw Czerpak
52fb6f82ee 2007-11-01 21:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/samples/pe/bld_b32.bat
    * updated svn attributes
2007-11-01 20:32:16 +00:00
Przemyslaw Czerpak
95497af7d4 2007-11-01 20:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/tip/sendmail.prg
  * harbour/contrib/directx/test/anima2.bmp
  * harbour/contrib/directx/test/brick1.bmp
  * harbour/contrib/directx/test/black.bmp
  * harbour/contrib/directx/test/brick2.bmp
  * harbour/contrib/directx/test/brick3.bmp
  * harbour/contrib/directx/test/shot.bmp
  * harbour/contrib/directx/w32_ddrw.h
  * harbour/contrib/directx/Makefile
  * harbour/samples/pe/pe.prg
    * updated svn attributes
2007-11-01 19:03:22 +00:00
Przemyslaw Czerpak
078d8ba9ca 2007-11-01 19:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/ole/bldtest.bat
  * harbour/contrib/ole/build32.bat
  * harbour/contrib/xhb/make_b32.bat
  * harbour/contrib/xhb/make_vc.bat
  * harbour/contrib/libmisc/make_b32.bat
  * harbour/contrib/libmisc/doc/gendoc.bat
  * harbour/contrib/libmisc/make_vc.bat
  * harbour/contrib/pgsql/make_b32.bat
  * harbour/contrib/apollo/test/bld.bat
  * harbour/contrib/apollo/test/bld_b32.bat
  * harbour/contrib/apollo/make_b32.bat
  * harbour/contrib/gd/make_b32.bat
  * harbour/contrib/gd/tests/bldtest.bat
  * harbour/contrib/libnf/make_b32.bat
  * harbour/contrib/libnf/make_vc.bat
  * harbour/contrib/htmllib/make_b32.bat
  * harbour/contrib/htmllib/make_vc.bat
  * harbour/contrib/tip/make_b32.bat
  * harbour/contrib/tip/make_vc.bat
  * harbour/contrib/libct/make_b32.bat
  * harbour/contrib/libct/make_vc.bat
  * harbour/contrib/adordd/make_b32.bat
  * harbour/contrib/rdd_ads/doc/gendoc.bat
  * harbour/contrib/rdd_ads/make_b32.bat
  * harbour/contrib/rdd_ads/make_vc.bat
  * harbour/contrib/libgt/make_b32.bat
  * harbour/contrib/libgt/doc/gendoc.bat
  * harbour/contrib/libgt/make_vc.bat
  * harbour/contrib/hbclip/make_clp.bat
  * harbour/contrib/btree/make_b32.bat
  * harbour/contrib/btree/mktest.bat
  * harbour/contrib/directx/make_b32.bat
  * harbour/contrib/directx/make_vc.bat
  * harbour/contrib/win32/make_b32.bat
  * harbour/contrib/win32/make_vc.bat
  * harbour/contrib/hgf/tests/build_b32.bat
  * harbour/contrib/hgf/win32/make_b32.bat
  * harbour/contrib/hgf/win32/makevc.bat
  * harbour/contrib/samples/make_b32.bat
  * harbour/contrib/samples/make_vc.bat
  * harbour/contrib/delphi/hbdll/start.bat
  * harbour/contrib/delphi/hbdll/bld_sdll.bat
  * harbour/contrib/mysql/make_b32.bat
  * harbour/contrib/odbc/bldodbc.bat
  * harbour/contrib/odbc/bld_b32.bat
  * harbour/contrib/bmdbfcdx/make_b32.bat
  * harbour/contrib/hbzlib/dll_b32.bat
  * harbour/contrib/hbzlib/make_b32.bat
  * harbour/contrib/hbzlib/make_vc.bat
    * fixed typo, changed eol-style to svn:eol-style
2007-11-01 18:10:37 +00:00
Przemyslaw Czerpak
25a4e6f63b 2007-11-01 18:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/ole/bldtest.bat
  * harbour/contrib/ole/build32.bat
  * harbour/contrib/xhb/make_b32.bat
  * harbour/contrib/xhb/make_vc.bat
  * harbour/contrib/libmisc/make_b32.bat
  * harbour/contrib/libmisc/doc/gendoc.bat
  * harbour/contrib/libmisc/make_vc.bat
  * harbour/contrib/apollo/test/bld.bat
  * harbour/contrib/apollo/test/bld_b32.bat
  * harbour/contrib/apollo/make_b32.bat
  * harbour/contrib/pgsql/make_b32.bat
  * harbour/contrib/libnf/make_b32.bat
  * harbour/contrib/libnf/make_vc.bat
  * harbour/contrib/gd/make_b32.bat
  * harbour/contrib/gd/tests/bldtest.bat
  * harbour/contrib/htmllib/make_b32.bat
  * harbour/contrib/htmllib/make_vc.bat
  * harbour/contrib/tip/make_b32.bat
  * harbour/contrib/tip/make_vc.bat
  * harbour/contrib/adordd/make_b32.bat
  * harbour/contrib/libct/make_b32.bat
  * harbour/contrib/libct/make_vc.bat
  * harbour/contrib/rdd_ads/doc/gendoc.bat
  * harbour/contrib/rdd_ads/make_b32.bat
  * harbour/contrib/rdd_ads/make_vc.bat
  * harbour/contrib/libgt/make_b32.bat
  * harbour/contrib/libgt/doc/gendoc.bat
  * harbour/contrib/libgt/make_vc.bat
  * harbour/contrib/hbclip/make_clp.bat
  * harbour/contrib/btree/make_b32.bat
  * harbour/contrib/btree/mktest.bat
  * harbour/contrib/directx/make_b32.bat
  * harbour/contrib/directx/make_vc.bat
  * harbour/contrib/win32/make_b32.bat
  * harbour/contrib/win32/make_vc.bat
  * harbour/contrib/hgf/tests/build_b32.bat
  * harbour/contrib/hgf/win32/make_b32.bat
  * harbour/contrib/hgf/win32/makevc.bat
  * harbour/contrib/samples/make_b32.bat
  * harbour/contrib/samples/make_vc.bat
  * harbour/contrib/delphi/hbdll/start.bat
  * harbour/contrib/delphi/hbdll/bld_sdll.bat
  * harbour/contrib/mysql/make_b32.bat
  * harbour/contrib/odbc/bldodbc.bat
  * harbour/contrib/odbc/bld_b32.bat
  * harbour/contrib/bmdbfcdx/make_b32.bat
  * harbour/contrib/hbzlib/dll_b32.bat
  * harbour/contrib/hbzlib/make_b32.bat
  * harbour/contrib/hbzlib/make_vc.bat
    * set eol-style to CRLF
2007-11-01 17:37:41 +00:00
Przemyslaw Czerpak
c441d870aa 2007-11-01 18:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/cdpapi.c
    * added mossing const in declaration

  * harbour/contrib/xhb/make_b32.bat
  * harbour/contrib/xhb/make_vc.bat
  * harbour/contrib/win32/make_b32.bat
  * harbour/contrib/win32/make_vc.bat
    * changed EOL style to CRLF
2007-11-01 17:17:14 +00:00
Przemyslaw Czerpak
878b5a7406 2007-11-01 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/cdpapi.c
    * changed accented character handling and multibyte character
      comparison to make some operations like:
         dbSeek(cVal)
         while ordKeyVal() = cVal
            ...
         enddo
      safe also with such CDPs
2007-11-01 10:05:39 +00:00
Teo Fonrouge
b96d19580a 2007-10-30 18:37 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com)
* contrib/tip/sendmail.prg
    * cleanup to compile with a std harbour build, removed the
      "include "hbcompat.ch"", and added the #translate for LIKE found in the
      hbcompat.ch file, to keep it easy and clean when comparing from/to the
      xHarbour version.
2007-10-31 00:37:31 +00:00
Lorenzo Fiorini
2628156403 2007-10-30 18:49:17 +00:00
Lorenzo Fiorini
89b80f91a6 2007-10-30 18:48:10 +00:00
Lorenzo Fiorini
3b7531cf09 2007-10-30 19:25 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
* harbour/contrib/gd/gd.prg
  * harbour/contrib/gd/gdbar.prg
  * harbour/contrib/gd/gdbarcod.prg
  * harbour/contrib/gd/gdchart.prg
  * harbour/contrib/gd/tests/counter.prg
    * removed #ifdef HB_COMPAT_XHB
2007-10-30 18:25:37 +00:00
Przemyslaw Czerpak
2115fa088a 2007-10-30 15:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/libnf/fttext.c
    - removed not necessary size_t definition
2007-10-30 14:18:02 +00:00
Przemyslaw Czerpak
55747014ee 2007-10-29 17:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
  * harbour/make_xmingwce.sh
  * harbour/make_xmingw.sh
    * removed HOST_OS_UNIX_COMPATIBLE

  * harbour/makefile.gc
    * changed ppgen.c -> hbppgen.c

  * harbour/source/pp/hbppgen.c
  * harbour/source/vm/dynsym.c
    * fixed some typos in comment

  * harbour/source/rtl/hbcrc.c
    ! fixed casting
2007-10-29 16:58:14 +00:00
Viktor Szakats
6cec6c9644 2007-10-29 11:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* doc/howtosvn.txt
     + Added few propset command. Would need some more cleanup.

   * contrib/win32/test/testw32p.prg
     ; Formatting

   * source/common/hbfsapi.c
     ! Minor fixes.

   * source/compiler/hbusage.c
     + Added (c) after copyright.

   - lib/b16
   - obj/b16
     - Removed not needed directories.
2007-10-29 10:22:06 +00:00
Viktor Szakats
4e1cd3e7e2 typos 2007-10-27 16:01:41 +00:00
Viktor Szakats
e400c484b5 2007-10-27 17:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbpp/pragma.c
   * source/rtl/binnum.c
   * source/rtl/direct.c
     ! Some VS2005 -O2 warnings.
       One TOFIX added at the same time, since DIRECTORY()
       has a problem returning file sizes greater than 2GB.
2007-10-27 15:54:12 +00:00
Viktor Szakats
0639e8b140 2007-10-27 16:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapifs.h
   * source/rtl/fserror.c
   * source/rtl/philes.c
   * source/rtl/philes53.c
     ! Two FS API functions moved the hb_fs*() namespace:
       hb_getFError() -> hb_fsGetFError()
       hb_setFError() -> hb_fsSetFError()
2007-10-27 15:00:42 +00:00