Commit Graph

8936 Commits

Author SHA1 Message Date
Viktor Szakats
77a782874f 2008-09-03 23:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparc/hbziparc.prg
     ! Fix to one of the rarely used function names.

   * contrib/gtalleg/gtalleg.c
   * contrib/hbw32/dllcall.c
   * contrib/hbcurl/hbcurl.c
   * contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
   * source/vm/memvars.c
   * source/rtl/gtwin/gtwin.c
   * source/rtl/math.c
   * source/rtl/gtclip.c
   * source/rtl/fstemp.c
   * source/rtl/is.c
   * source/rtl/xsavescr.c
   * source/rtl/fkmax.c
   * source/rtl/langapi.c
   * source/rtl/hbrandom.c
   * source/rtl/hbinet.c
   * source/rtl/hbffind.c
     * Minor formatting, code style/format cleanup (!=/== NULL mostly).

   * source/compiler/genc.c
     * Minor; empty line added to .c output.
2008-09-03 21:32:25 +00:00
Viktor Szakats
08ef0adcfc 2008-09-03 20:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparc/hbziparc.prg
     ! Some formatting to docs.
     + Now .zip extension will only be added if _SET_DEFEXTENSIONS 
       is TRUE (the default).
2008-09-03 18:04:05 +00:00
Viktor Szakats
a46904f1b9 2008-09-03 19:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparc/hbziparc.prg
     ! RTE fixed when not specifying some optional params.
     ! Fixed to parse the right array, and thus not exluding 
       all filenames to be zipped.
     ; Disclaimer: I'm not a user of these functions, and 
       I've admittedly not tested them besides tests/unzipa.prg 
       and tests/zipa.prg (which are pretty basic cases), so 
       bumps are expected. If you find some bugs, please try 
       to provide patches to fix them. Thanks.
2008-09-03 17:42:46 +00:00
Viktor Szakats
1ab0f2347c another addition. 2008-09-03 14:42:43 +00:00
Viktor Szakats
13817e0898 2008-09-03 16:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparc/make_b32.bat
   * contrib/hbziparc/make_vc.bat
     % Special C flags not needed anymore.

   - contrib/hbziparc/hbzipold.cpp
   + contrib/hbziparc/hbzipcpp.old
     * Renamed to not look like something live.
2008-09-03 14:37:53 +00:00
Viktor Szakats
c9c1278680 Minor changes. 2008-09-03 14:30:41 +00:00
Viktor Szakats
c212e5cc79 2008-09-03 16:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-ce-spec
   * make_deb.sh
   * harbour-w32-spec
   * harbour.spec
   * contrib/Makefile
   * contrib/make_b32_all.bat
   * contrib/make_gcc_all.sh
   * contrib/make_vc_all.bat
   + contrib/hbziparc
   - contrib/hbziparch
     + hbziparc readded to default contrib list, as it 
       creates no more harm now.
     ; NOTE: And now that this is about ready, we might 
             step forward to develop a .7z interface ;)
2008-09-03 14:11:44 +00:00
Viktor Szakats
9bbe8421de 2008-09-03 15:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/Makefile
   * contrib/hbziparch/common.mak
   + contrib/hbziparch/hbziparc.prg
   - contrib/hbziparch/hbzipnew.cpp
   + contrib/hbziparch/hbzipold.cpp
   * contrib/hbziparch/tests/bld_b32.bat
   * contrib/hbziparch/tests/bld_vc.bat
   - contrib/hbziparch/Wildcard.h
   - contrib/hbziparch/ZipString.h
   - contrib/hbziparch/FileInfo.h
   - contrib/hbziparch/ZipFileMapping_lnx.h
   - contrib/hbziparch/ZipMutex_win.h
   - contrib/hbziparch/ZipPathComponent.h
   - contrib/hbziparch/Aes.h
   - contrib/hbziparch/BaseLibCompressor.cpp
   - contrib/hbziparch/zlib
   - contrib/hbziparch/ZipCentralDir.h
   - contrib/hbziparch/RandomPool.h
   - contrib/hbziparch/ZipPathComponent_win.cpp
   - contrib/hbziparch/ZipString_stl.h
   - contrib/hbziparch/ZipPlatform_win.cpp
   - contrib/hbziparch/std_mfc.h
   - contrib/hbziparch/DeflateCompressor.h
   - contrib/hbziparch/ZipCrc32Cryptograph.h
   - contrib/hbziparch/Wildcard.cpp
   - contrib/hbziparch/ZipString.cpp
   - contrib/hbziparch/FileFilter.h
   - contrib/hbziparch/ZipMutex.h
   - contrib/hbziparch/ZipCompatibility.cpp
   - contrib/hbziparch/ZipFileMapping_win.h
   - contrib/hbziparch/ZipExtraData.cpp
   - contrib/hbziparch/Sha1.h
   - contrib/hbziparch/ZipArchive.cpp
   - contrib/hbziparch/ZipFileHeader.h
   - contrib/hbziparch/DirEnumerator.cpp
   - contrib/hbziparch/DeflateCompressor.cpp
   - contrib/hbziparch/ZipBaseException.h
   - contrib/hbziparch/std_stl.h
   - contrib/hbziparch/_features.h
   - contrib/hbziparch/ZipFileMapping.h
   - contrib/hbziparch/BaseLibCompressor.h
   - contrib/hbziparch/FileFilter.cpp
   - contrib/hbziparch/ZipException.h
   - contrib/hbziparch/ZipCryptograph.h
   - contrib/hbziparch/ZipAbstractFile.h
   - contrib/hbziparch/ZipStorage.h
   - contrib/hbziparch/ZipStringStoreSettings.h
   - contrib/hbziparch/stdafx.h
   - contrib/hbziparch/ZipCompatibility.h
   - contrib/hbziparch/ZipExtraData.h
   - contrib/hbziparch/ZipMemFile.h
   - contrib/hbziparch/Hmac.cpp
   - contrib/hbziparch/Bzip2Compressor.h
   - contrib/hbziparch/ZipExport.h
   - contrib/hbziparch/ZipArchive.h
   - contrib/hbziparch/ZipExtraField.cpp
   - contrib/hbziparch/ZipFileHeader.cpp
   - contrib/hbziparch/ZipPlatform.h
   - contrib/hbziparch/ZipAesCryptograph.cpp
   - contrib/hbziparch/ZipException.cpp
   - contrib/hbziparch/ZipCompressor.h
   - contrib/hbziparch/ZipFile_stl.cpp
   - contrib/hbziparch/DirEnumerator.h
   - contrib/hbziparch/ZipCryptograph.cpp
   - contrib/hbziparch/ZipStorage.cpp
   - contrib/hbziparch/ZipAutoBuffer.h
   - contrib/hbziparch/ZipCollections_mfc.h
   - contrib/hbziparch/ZipFile_mfc.h
   - contrib/hbziparch/resource.h
   - contrib/hbziparch/ZipCallbackProvider.h
   - contrib/hbziparch/ZipMemFile.cpp
   - contrib/hbziparch/Bzip2Compressor.cpp
   - contrib/hbziparch/ZipCollections.h
   - contrib/hbziparch/ZipFile.h
   - contrib/hbziparch/Aes.cpp
   - contrib/hbziparch/ZipCentralDir.cpp
   - contrib/hbziparch/RandomPool.cpp
   - contrib/hbziparch/ZipMutex_lnx.h
   - contrib/hbziparch/Hmac.h
   - contrib/hbziparch/ZipExtraField.h
   - contrib/hbziparch/ZipCompressor.cpp
   - contrib/hbziparch/License.txt
   - contrib/hbziparch/ZipCrc32Cryptograph.cpp
   - contrib/hbziparch/ZipAesCryptograph.h
   - contrib/hbziparch/ZipPathComponent_lnx.cpp
   - contrib/hbziparch/ZipPlatformComm.cpp
   - contrib/hbziparch/ZipString_mfc.h
   - contrib/hbziparch/ZipCallback.h
   - contrib/hbziparch/ZipAutoBuffer.cpp
   - contrib/hbziparch/ZipFile_mfc.cpp
   - contrib/hbziparch/ZipCollections_stl.h
   - contrib/hbziparch/BytesWriter.h
   - contrib/hbziparch/ZipPlatform_lnx.cpp
   - contrib/hbziparch/_platform.h
   - contrib/hbziparch/ZipFile_stl.h
   - contrib/hbziparch/readme.txt
   - contrib/hbziparch/Sha1.cpp
     + Added .prg level implementation of old hbziparch interface.
       It's based on Toninhos functions sent to the list, but 
       synced with old interface and extended with new features, 
       fixes and all the remaining interface functions, and old 
       doc.
       There are some non-implemented stuff, and a couple of 
       NOTEs and TOFIXes, if someone wants, these can be addressed.
       (some not, as hbmzip doesn't support multi-volume archives.)
     * Library renamed from hbziparch -> hbziparc to be short 
       filename. The dir itself will also be renamed so.
     * Make files modified to compile on all platforms and to 
       pull hbmzip to build tests.
     - Removed ZipArchive sources.
     ; Temporarily kept hbzipold.cpp to serve as reference.
     ; TOFIX: There is a problem with the loop adding new 
              files to the .zip.
2008-09-03 13:55:18 +00:00
Viktor Szakats
5c9d394ac2 2008-09-03 15:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/Makefile
   * contrib/hbziparch/common.mak
   - contrib/hbziparch/hbziparc.c
   - contrib/hbziparch/hbxdirec.c
   * contrib/hbziparch/hbzipnew.cpp
     * Merged Harbour C parts to .cpp file.
     * Made full low-level interface static.
2008-09-03 13:16:52 +00:00
Viktor Szakats
5bc2db82c9 2008-09-03 15:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     ! Some fixes to prev.
2008-09-03 13:06:28 +00:00
Viktor Szakats
bcd8957d0f 2008-09-03 12:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     ! Some fixes and further reduction.
2008-09-03 10:35:01 +00:00
Viktor Szakats
ce9936791f 2008-09-03 10:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     % Merged slightly different internal functions, thus 
       removing significant redundancy.
       Higher level hb_unzipFile(), hb_unzipFileIndex(), hb_unzipAllFile()
       are now functionally the same, since the only difference was 
       how the file list parameter was handled.
     ! Removed any remaining Win32 dependency.
2008-09-03 09:31:45 +00:00
Viktor Szakats
b5581fbd66 2008-09-02 23:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     * Complete cleanup/refactor/fixes.
       (original functions and internal logic was kept, 
       except some shady path/curdir manipulations, which 
       were removed, along with any directory changes)
       The code got significantly easier to oversee, so if 
       someone wants to find out how this interface works, 
       now the code is much easier to read. If we want to 
       keep this in Harbour, maybe we could just swap the 
       low-level interface to utilize hbmzip calls instead 
       of ZipArchive ones. We would lose the segmented 
       archive feature though, but I'm not sure how 
       important this is these days, when there is no 
       floppy disk anymore.
       Code size is now 40% smaller than in 1.0.0.
       It's still far from being perfect, but now it's at 
       least possible to fix.
2008-09-02 21:49:42 +00:00
Viktor Szakats
b95227ded2 2008-09-02 10:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmake/hbmake.prg
     ; Applied patch by Bill Robertson:
     ! Fixed previously introduced (by me actually) bug. Thanks.
     % Removed "non-extended" codepath, since it was never used.
     ! UI elements fixed to properly accomodate to any 
       screen dimensions.

   * utils/hbmake/hbmake.prg
     ! Fixed to not change casing of files, plus a few other minor fixes.
     ! Made one filename comparison multiplatform by using hb_FileMatch()
     ; Added TOFIXes where filename comparison is not multiplatform.
     % Removed some dead or commented code.
2008-09-02 08:25:14 +00:00
Viktor Szakats
b99239efda 2008-09-01 21:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbw32ddr
   * contrib/Makefile
   * contrib/make_b32_all.bat
   * contrib/make_gcc_all.sh
   * contrib/make_vc_all.bat
     - Removed contrib hbw32ddr.
       For those wanting to peek into this code, or 
       pick up development, the exact source can be 
       found in Harbour 1.0.0 release.
2008-09-01 19:54:24 +00:00
Viktor Szakats
3bb8276f9c 2008-09-01 21:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     % Cleanups, optimizations, fixes. Now it's possible to 
       oversee what the code actually tries to do.
     * Statics reduced to one, not changing current dir anymore.
     ; It may happen that something is not working as it was, please test.
       Path handling is/was very shady. Unix support is (and was) 
       not working at places.
     ; NOTE: 'Kiss of death' change.
             Please be prepared that I plan to remove hbziparch 
             from the repository sometimes this week. If you have 
             a strong reason not to do so (or some alternative 
             proposal), pls write to the list.
             If someone wants to continue using it, it can be accessed 
             from past revisions of the SVN, or the 1.0.0 binary and 
             source releases.
             Someone could as well upload the lastest (or latest stable) 
             revision to our website.
2008-09-01 19:49:15 +00:00
Viktor Szakats
25ac0c7948 2008-09-01 15:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbziparch/hbziparc.h
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
   * contrib/hbziparch/tests/unzipa.prg
     % Further cleanups, optimizations.
     % Removed adding current directory to .zip filename 
       if it didn't contain a path. If a file doesn't contain 
       path, the OS will create it by default in the current dir.
       If someone knows why this hack was there, please tell.
2008-09-01 13:58:19 +00:00
Viktor Szakats
53ee42aedd 2008-09-01 12:39 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     * One variable rename missed from previous commit.
2008-09-01 10:39:47 +00:00
Viktor Szakats
61eb31ae0b 2008-09-01 12:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.h
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
     ! Fixed several potential leaks.
     % Optimized out several unnecessary allocations.
     % Optimized out several unnecessary string copying.
     % Cleaned all global variables.
     % Cleaned all static variables in C code.
     % Using HB_ERR_FUNCNAME.
     ! Returning empty values instead of NULL.
     ! Fixed potential GPFs.
     ! Using manifest constants instead of literals.
     * Cleaned header file and constant usage.
     * Other minor fixes and optimizations.
     * Formatting.
     ; The code is still a mess.
2008-09-01 10:36:44 +00:00
Viktor Szakats
e8006b26e7 2008-09-01 09:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.h
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
   * contrib/hbziparch/hbxdirec.c
     % Cleanups: Unused headers, types, one #define, 
       one BCC582 warning, one Linux/GCC/MinGW #ifdef oddness.
     ; NOTE: Need to test this on Linux.

   * utils/hbmake/hbmake.prg
     ; Applied cleanup and fix patch from Bill Robertson:
     ! LIBFILES -> HBLIBS
       EXTERNLIB -> CONTRIBLIB
       EXTLIBFILES -> CONTRIBLIBS
     * ALLLIB = $(USERLIBS) $(LIBFILES) ... ->
       ALLLIB = $(USERLIBS) $(CONTRIBLIBS) $(HBLIBS) ...
     % Removed CONTRIBLIB = YES from makefile output as it did nothing.
     % Combined two ShowHelp() secs into one and put together 
       with ShowCredits() at top of program.
     % Simplied Flag checks somewhat but it's still awkward. I fixed 
       a mingw bug where a flag was set to .t. in one place and .f. 
       later because of inconsistent use of letters, capitals/lower, etc. 
       Still lots of checking for lower(...), upper(...), etc. of the 
       command-line params.
     * Changed Help screen to reflect current program options better.
     * Made some alert message a little clearer and minor formatting.
     ! Initalized s_nMakeFileHandle to F_ERROR and reset it to F_ERROR 
       whenever the file was closed. Didn't seem to be a current problem, 
       just good practice.

   * utils/hbmake/hbmake.prg
     * Removed separate /credits switch and added content to 
       main help screen.
     % Removed a few CLS commands from command-line orientated 
       places.
     % Removed -elx and -ex from help screen (as these are the 
       same as -el and -e). They are still accepted though.

   * source/compiler/hbusage.c
     + Added Bill Robertson to credits list.
2008-09-01 08:18:39 +00:00
Viktor Szakats
23f4044748 2008-08-31 16:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* hbwhat32/whtdate.c
   * hbwhat32/whthead.c
   * hbwhat32/whtbrsh.c
   * hbwhat32/whtgdi.c
   * hbwhat32/whtmisc.c
   * hbwhat32/whttab.c
   * hbwhat32/whtbmp.c
   * hbwhat32/whtkbrd.c
     % Using hb_arraySet*() instead of hb_arraySet()
2008-08-31 15:00:17 +00:00
Viktor Szakats
0e8db70888 2008-08-31 16:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbdoc/bld_vc.bat
   * utils/hbmake/bld_vc.bat
     % Minor cleanup.

   * contrib/hbwhat32/whticon.c
   * contrib/hbwhat32/whtcret.c
   * contrib/hbwhat32/whthead.c
   * contrib/hbwhat32/whtmous.c
   * contrib/hbwhat32/whtmeta.c
   * contrib/hbwhat32/whtrgn.c
   * contrib/hbwhat32/whttbar.c
   * contrib/hbwhat32/whtrect.c
   * contrib/hbwhat32/whtbrsh.c
   * contrib/hbwhat32/whtgdi.c
   * contrib/hbwhat32/whtview.c
   * contrib/hbwhat32/whtlv.c
   * contrib/hbwhat32/whtwnd.c
   * contrib/hbwhat32/whtcomm.c
   * contrib/hbwhat32/whtprn.c
   * contrib/hbwhat32/whttab.c
   * contrib/hbwhat32/whtfont.c
   * contrib/hbwhat32/whtbmp.c
   * contrib/hbwhat32/whtpen.c
   * contrib/hbwhat32/whtkbrd.c
   * contrib/hbwhat32/whttext.c
   * contrib/hbwhat32/whtdc.c
   * contrib/hbwhat32/whtdraw.c
   * contrib/hbnf/fttext.c
   * contrib/hbnf/peek.c
   * contrib/hbnf/ontick.c
   * contrib/hbnf/origin.c
   * contrib/hbnf/mouse.c
   * contrib/hbnf/poke.c
     ! Fixed to use Harbour API instead of legacy Clipper API.

   + contrib/hbbtree/tests/bld_b32.bat
   + contrib/hbbtree/tests/bld_vc.bat
   + contrib/hbbtree/tests/bld_djgp.bat
   - contrib/hbbtree/tests/mktest.bat
   * contrib/hbbtree/tests/ctest.c
     + Added make files.
     * Minor cleanups.
     ; One of the tests fail.

   * contrib/hbbtree/tbtree.prg
     ! Fixed crash due to scope problem in class declaration.

   * contrib/examples/pe/editorlo.c
     ! #include <x> -> #include "x" for Harbour headers.
2008-08-31 14:29:27 +00:00
Viktor Szakats
edc7abc792 2008-08-31 10:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/oleauto.prg
   * contrib/hbw32/w32_tole.prg
     * MessageBox() calls converted to Alert()s.
       A #translate added for the to be reconverted to MessageBox(), 
       since I'm not sure why should we use MessageBox()es here?
       IMO it'd be better to throw RTEs, or handle these cases more 
       "natively". Opinions?

   * contrib/hbole/oleauto.prg
     + Modified to generate RTE when the object could not 
       be created, so that it works more like OLE in hbw32.lib, 
       and the test doesn't crash in this case. I don't have 
       Excel, and this is what I could fix without it.

   * contrib/hbw32/w32_tole.prg
   * contrib/hbw32/w32_ole.c
     ! Typos, minor formatting.

   * common.mak
   * source/hbpcre/Makefile
   * source/hbpcre/cnv_hb2o.bat
   * source/hbpcre/cnv_o2hb.bat
   - source/hbpcre/ucpinter.h
   - source/hbpcre/ucptable.h
   - source/hbpcre/pcrefind.c
   + source/hbpcre/pcreucd.c
   * source/hbpcre/pcrevutf.c
   * source/hbpcre/pcre.h
   * source/hbpcre/pcreconf.c
   * source/hbpcre/pcreinfo.c
   * source/hbpcre/pcremktb.c
   * source/hbpcre/config.h
   * source/hbpcre/pcrenewl.c
   * source/hbpcre/pcreoutf.c
   * source/hbpcre/chartabs.c
   * source/hbpcre/pcrerefc.c
   * source/hbpcre/pcreget.c
   * source/hbpcre/pcrefinf.c
   * source/hbpcre/pcretryf.c
   * source/hbpcre/pcreexec.c
   * source/hbpcre/pcreinal.h
   * source/hbpcre/pcretabs.c
   * source/hbpcre/pcredfa.c
   * source/hbpcre/pcrever.c
   * source/hbpcre/pcrecomp.c
   * source/hbpcre/pcrexcls.c
   * source/hbpcre/pcrestud.c
   * source/hbpcre/ucp.h
     + Updated to PCRE 7.8 RC1
       (will be updated to final pretty soon)
       This version contains the small patches we 
       so far had locally in Harbour. Thanks to 
       Philip Hazel for applying them.
2008-08-31 09:07:57 +00:00
Viktor Szakats
ffdf363493 2008-08-30 11:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.ch
     + Added HB_LEGACY_OFF macro to turn off HB_LEGACY_LEVEL.

   * utils/hbmake/hbmake.prg
     * Two minor cleanups.

   * doc/en/hb_apiit.txt
   * source/vm/eval.c
     * PEVALINFO -> PHB_EVALINFO
     * EVALINFO -> HB_EVALINFO

   * contrib/hbct/ctwin.c
   * contrib/hbct/keyset.c
   * contrib/hbct/misc3.c
   * contrib/hbnf/numlock.c
   * contrib/hbnf/shift.c
   * contrib/hbnf/alt.c
   * contrib/hbnf/ctrl.c
   * contrib/hbnf/caplock.c
     * GTI_* -> HB_GTI_*

   * source/rtl/spfiles.c
     * FHANDLE -> HB_FHANDLE
2008-08-30 10:21:22 +00:00
Viktor Szakats
5f33ef7f7d 2008-08-29 14:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmake/hbmake.prg
     ; Applied patch created by Bill Robertson:
     * The following functions aren't used in hbmake and were removed:
       FindCfile(), TestforPrg(), AsDll(), ExtenPrg(), GetMakeDir()
2008-08-29 12:26:19 +00:00
Przemyslaw Czerpak
0b684e3379 2008-08-29 11:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
    ! removed all classes and functions static declarations
    ! fixed cleanup code for classes and functions declarations
2008-08-29 09:30:15 +00:00
Viktor Szakats
dd64b568d8 2008-08-29 10:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ config/w32/mingwce.cf
   - config/w32/cemgw.cf
   * harbour-ce-spec
   * make_xmingwce.sh
   * bin/hb-mkslib.sh
   * bin/hb-func.sh
   * bin/postinst.sh
   * source/vm/Makefile
     * Renamed 'cemgw' HB_COMPILER name to 'mingwce' 
       for consitency.
2008-08-29 08:40:30 +00:00
Viktor Szakats
b7b03486a4 2008-08-29 10:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
     ! Minor typo.

   * utils/hbmake/hbmake.prg
     % Minor cleanup.

   * source/common/hbver.c
     * Further cleanup of constant usage.
     + Changed Borland to CodeGear to BCC5.9 and above.
       (borrowed from xhb / Andi Jahja)

   * config/w32/gcc.cf
   * config/w32/dm.cf
     * contrib syslibs moved to separate lines.
2008-08-29 08:37:04 +00:00
Viktor Szakats
7d82aaeaba 2008-08-28 20:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vc.bat
   - make_vcce.bat
     + Added some additional information how to create WinCE 
       builds using make_vc.bat.
     - Deleted make_vcce.bat
2008-08-28 18:17:37 +00:00
Viktor Szakats
826f64a0c3 2008-08-28 20:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtchrmap.c
   * source/rtl/hbgtcore.c
   * source/vm/hvm.c
     + Added three TOFIXes regarding namespace violations.
       s_pszLinkedMain        -> hb_vm_pszLinkedMain
       s_defaultGT            -> hb_gt_szNameDefault
       s_szDefaultCharMapFile -> hb_gt_szCharMapFileDefault
       TOFIX: These should be fixed in 1.1 (or maybe even in 
              1.0.1 if this isn't such a big problem for 3rd 
              parties).
2008-08-28 18:01:20 +00:00
Viktor Szakats
29554fc8dc 2008-08-28 18:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/wvgutils.c
     ! Fixed to use documented Harbour API hb_winmainArgGet() 
       instead of the (since cleaned away) undocumented Harbour 
       global variable hb_hInstance.
2008-08-28 16:32:59 +00:00
Viktor Szakats
2c93cfbd44 minor correction 2008-08-28 10:27:21 +00:00
Viktor Szakats
62f603dbbc typo 2008-08-28 10:26:27 +00:00
Viktor Szakats
47fcd90e00 2008-08-28 12:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbfimage/fi_winfu.c
     ! Added CBM_INIT definition for Pellec C in WinCE mode.
       [UNDONE. CreateDIBitmap() also doesn't exist in WinCE. ]
2008-08-28 10:25:28 +00:00
Viktor Szakats
be82d17256 2008-08-28 12:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vc.bat
     * Updated usage text.

   * include/hbwince.h
     ! Fix for Pelles C 5.0 in WinCE/ARM mode.

   * include/hbsetup.h
     + Detecting Pelles C 5.0 in ARM mode as HB_WINCE.

   * ChangeLog
     - Removed some advices not valid anymore from previous entry.

   * contrib/mtpl_b32.bat
   * contrib/mtpl_vc.bat
     * Synced with /make_*.bat so that the name of the .mak 
       file is now hard-wired instead of being HB_CC_NAME dependent.
       This way contribs may be built for WinCE in the future 
       (this still needs adding WinCE support to mtpl_vc.mak).

   * contrib/mtpl_gcc.sh
     + Darwin autodetection was missing.

   * contrib/hbfimage/fi_winfu.c
     ! Added CBM_INIT definition for Pellec C in WinCE mode.

   * source/rtl/gtclip.c
     + Added GMEM_MOVEABLE definiction for Pelles C in WinCE mode.

   + config/w32/poccce.cf
     + Added Pellec C WinCE make file.

   + config/w32/msvcce.cf
     + Added WinCE GNU make file for MSVC. Untested, probably not working, 
       this is just a small step to make the GNU-make equal in feature 
       with the non-GNU make one.

   * config/w32/bcc32.cf
     * Minor sync of C options with non-GNU make file.

   * config/w32/msvc.cf
     * Attempt to sync C options with non-GNU make file.

   * contrib/hbfbird/firebird.c
     * Minor formatting.

   ; NOTE1: For better consistency I'd like to rename GNU make compiler names
            'mingw32' to 'mingw' (they've dropped '32' long ago), and 
            'cemgw' to 'mingwce'.
   ; NOTE2: Pelles C WinCE build still generates following errors:
       POLINK: error: Unresolved external symbol 'GetModuleFileNameA'.
       POLINK: error: Unresolved external symbol 'RegOpenKeyExA'.
       ../../math.c(605): error #3120: [asm] Symbol 'inf' is undefined.
       contrib\gtwvg\gtwvg.h(78): fatal error #1035: Can't find include file <olectl.h>.
       ../../ctmath2.c(324): error #3120: [asm] Symbol 'inf' is undefined.
       ../../win32.c(70): error #2048: Undeclared identifier 'CS_OWNDC'.
       ../../win32.c(75): error #2048: Undeclared identifier 'IDI_APPLICATION'.
       ../../win32.c(75): error #2140: Type error in argument 2 to 'LoadIconA'; found 'int', expected 'const char *'.
       ../../win32.c(181): error #2048: Undeclared identifier 'MFS_DISABLED'.
       ../../win32.c(194): warning #2027: Missing prototype for 'InsertMenuItem'.
       ../../win32.c(219): warning #2027: Missing prototype for 'SetMenu'.
       ../../odbc.c(94): fatal error #1035: Can't find include file <sql.h>.
       contrib\hbsqlit3\sqlite3\sqlite3.c(9936): warning #2027: Missing prototype for 'localtime'. [ ... ]
       ../../w32_ole.c(403): error #2152: Unknown field 'pllVal' of 'union (no name)'.
       ../../w32_ole.c(403): error #2168: Operands of = have incompatible types 'int' and 'long long int *'.
       ../../w32_ole.c(408): error #2152: Unknown field 'llVal' of 'union (no name)'.
       ../../w32_ole.c(786): error #2152: Unknown field 'pllVal' of 'union (no name)'.
       ../../w32_ole.c(786): error #2144: Type error: pointer expected.
       ../../w32_ole.c(792): error #2152: Unknown field 'llVal' of 'union (no name)'.
       ../../hbsyslog.c(31): error #2140: Type error in argument 2 to 'RegisterEventSourceW'; found 'const char *', expected 'const wchar_t *'.
       ../../hbsyslog.c(97): error #2140: Type error in argument 8 to 'ReportEventW'; found 'const char * *', expected 'const wchar_t * *'.
       ../../firebird.c(448): error #2149: Undefined size for 'times' with type '(incomplete) struct tm'.
       ../../firebird.c(479): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
       ../../firebird.c(480): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
       ../../firebird.c(481): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
       ../../firebird.c(482): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
       ../../firebird.c(483): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
       ../../firebird.c(484): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
       ../../firebird.c(493): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
       ../../firebird.c(493): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
       ../../firebird.c(493): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
       ../../firebird.c(502): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
       ../../firebird.c(503): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
       ../../firebird.c(504): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
       ../../fi_winfu.c(97): warning #2027: Missing prototype for 'CreateDIBitmap'.
       ../../fi_winfu.c(98): error #2048: Undeclared identifier 'CBM_INIT'.
       ../../fi_winfu.c(99): error #2168: Operands of = have incompatible types 'HBITMAP' and 'int'.
       ../../fi_winfu.c(150): warning #2027: Missing prototype for 'GetDIBits'.
       [ lots of them with hbmysql ]
2008-08-28 10:22:54 +00:00
Viktor Szakats
964e38d978 2008-08-28 01:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.bat
   * make_vc.bat
     * exit_err.bat -> hbmkpost.bat
       Please update your environment if you used this feature.
       INCOMPATIBLE.

   * make_vcce.bat
     ! Adjusted to latest change.

   * make_gnu.bat
     * Minor formatting.
2008-08-27 23:21:25 +00:00
Viktor Szakats
ec88209762 2008-08-28 01:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.bat
   * make_vc.bat
     ! Made makefile name independent of the HB_CC_NAME envvar.
       NOTE: If this poses a limitation for someone, please shout, 
             we may add an additional variable to control/override 
             makefile name (but it cannot directly depend on 
             HB_CC_NAME now that make_vc.mak and make_vcce.mak 
             got merged.)
2008-08-27 23:14:54 +00:00
Viktor Szakats
0efb91321b 2008-08-27 21:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ config/w32/poccce.cf
     + Added POCC GNU make file for WinCE.
       It has quite some errors yet.
2008-08-27 20:03:46 +00:00
Viktor Szakats
a8fe14c2d5 2008-08-27 21:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vcce.bat
     ! Fixed.

   * contrib/rddads/make_vc.bat
     ! Undone previous modification. Quotes are needed to support 
       dirs containing spaces (this is actually the case for the 
       default install dir of ACE SDK).
       For very old MSVC compilers not understanding quotes 
       in -I (and possibly other) switches, pls specify the 
       external package #include directories directly through:
       set C_USR=-IC:\mypath\pkg\include
       and so on. MSVC98 is a very old product and there is 
       probably no way to make all features of our build systems 
       100% compatible with it, but with this manual workaround, 
       it can properly work (until a recommended VC upgrade :).
2008-08-27 19:31:25 +00:00
Jean-Francois Lefebvre
6475e630a4 2008-08-27 17:05 UTC+0100 JF Lefebvre (Mafact) (jfl at mafact dot com) 2008-08-27 15:10:53 +00:00
Viktor Szakats
19ca803a4d 2008-08-27 12:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/hbcomp.c
     * Changed the default -gc generation mode for real.
2008-08-27 10:06:20 +00:00
Viktor Szakats
b4a932d5e5 One changed missed from previous modification. 2008-08-27 09:55:23 +00:00
Viktor Szakats
de16b749e3 2008-08-27 11:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/rdddbt/dbfdbt1.c
   * contrib/gtalleg/gtalleg.c
   * contrib/gtwvg/gtwvg.c
   * contrib/hbbmcdx/bmdbfcdx.c
   * contrib/hbbtree/hb_btree.c
   * contrib/hbct/ctwin.c
   * contrib/rddads/ads1.c
   * source/codepage/cp_tpl.c
   * source/codepage/cpbg866.c
   * source/codepage/cpbgiso.c
   * source/codepage/cpbgmik.c
   * source/codepage/cpbgwin.c
   * source/codepage/cpcs852.c
   * source/codepage/cpcsiso.c
   * source/codepage/cpcskam.c
   * source/codepage/cpcswin.c
   * source/codepage/cpde850.c
   * source/codepage/cpdeiso.c
   * source/codepage/cpdewin.c
   * source/codepage/cpel737.c
   * source/codepage/cpelwin.c
   * source/codepage/cpes850.c
   * source/codepage/cpesmwin.c
   * source/codepage/cpeswin.c
   * source/codepage/cpfr850.c
   * source/codepage/cphr1250.c
   * source/codepage/cphr437.c
   * source/codepage/cphr852.c
   * source/codepage/cphu852.c
   * source/codepage/cphu852s.c
   * source/codepage/cphuiso.c
   * source/codepage/cphuisos.c
   * source/codepage/cphuwin.c
   * source/codepage/cphuwins.c
   * source/codepage/cpit437.c
   * source/codepage/cpit850.c
   * source/codepage/cpitisb.c
   * source/codepage/cpitiso.c
   * source/codepage/cpltwin.c
   * source/codepage/cppl852.c
   * source/codepage/cppliso.c
   * source/codepage/cpplmaz.c
   * source/codepage/cpplwin.c
   * source/codepage/cppt850.c
   * source/codepage/cpptiso.c
   * source/codepage/cpru866.c
   * source/codepage/cpruiso.c
   * source/codepage/cprukoi.c
   * source/codepage/cpruwin.c
   * source/codepage/cpsk852.c
   * source/codepage/cpskiso.c
   * source/codepage/cpskkam.c
   * source/codepage/cpskwin.c
   * source/codepage/cpsl437.c
   * source/codepage/cpsl852.c
   * source/codepage/cpsliso.c
   * source/codepage/cpslwin.c
   * source/codepage/cpsrwin.c
   * source/codepage/cpsv850.c
   * source/codepage/cpsvclip.c
   * source/codepage/cpsvwin.c
   * source/codepage/cptr857.c
   * source/codepage/cptrwin.c
   * source/codepage/cpua866.c
   * source/codepage/cpuakoi.c
   * source/codepage/cpuawin.c
   * source/lang/msg_tpl.c
   * source/lang/msgbe866.c
   * source/lang/msgbewin.c
   * source/lang/msgbg866.c
   * source/lang/msgbgiso.c
   * source/lang/msgbgmik.c
   * source/lang/msgbgwin.c
   * source/lang/msgca.c
   * source/lang/msgcs852.c
   * source/lang/msgcsiso.c
   * source/lang/msgcskam.c
   * source/lang/msgcswin.c
   * source/lang/msgde.c
   * source/lang/msgdewin.c
   * source/lang/msgel.c
   * source/lang/msgelwin.c
   * source/lang/msgeo.c
   * source/lang/msges.c
   * source/lang/msgeswin.c
   * source/lang/msgeu.c
   * source/lang/msgfr.c
   * source/lang/msggl.c
   * source/lang/msghe862.c
   * source/lang/msghewin.c
   * source/lang/msghr437.c
   * source/lang/msghr852.c
   * source/lang/msghriso.c
   * source/lang/msghrwin.c
   * source/lang/msghu852.c
   * source/lang/msghucwi.c
   * source/lang/msghuiso.c
   * source/lang/msghuwin.c
   * source/lang/msgid.c
   * source/lang/msgis850.c
   * source/lang/msgit.c
   * source/lang/msgko.c
   * source/lang/msgltwin.c
   * source/lang/msgnl.c
   * source/lang/msgpl852.c
   * source/lang/msgpliso.c
   * source/lang/msgplmaz.c
   * source/lang/msgplwin.c
   * source/lang/msgpt.c
   * source/lang/msgro.c
   * source/lang/msgru866.c
   * source/lang/msgrukoi.c
   * source/lang/msgruwin.c
   * source/lang/msgsk852.c
   * source/lang/msgskiso.c
   * source/lang/msgskkam.c
   * source/lang/msgskwin.c
   * source/lang/msgsl437.c
   * source/lang/msgsl852.c
   * source/lang/msgsliso.c
   * source/lang/msgslwin.c
   * source/lang/msgsr852.c
   * source/lang/msgsriso.c
   * source/lang/msgsrwin.c
   * source/lang/msgtr857.c
   * source/lang/msgtrwin.c
   * source/lang/msgua866.c
   * source/lang/msguakoi.c
   * source/lang/msguawin.c
   * source/lang/msgzhb5.c
   * source/lang/msgzhgb.c
   * source/pp/pplib3.c
   * source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/delim1.c
   * source/rdd/sdf1.c
   * source/rtl/gt_tpl/gt_tpl.c
   * source/rtl/gtcgi/gtcgi.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtdos/gtdos.c
   * source/rtl/gtgui/gtdef.c
   * source/rtl/gtgui/gtgui.c
   * source/rtl/gtos2/gtos2.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtsln/gtsln.c
   * source/rtl/gtstd/gtstd.c
   * source/rtl/gttrm/gttrm.c
   * source/rtl/gtxwc/gtxwc.c
     ! Fix for MSVC 64-bit C mode startup procedure.
2008-08-27 09:38:54 +00:00
Viktor Szakats
b7af6baf80 2008-08-27 03:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmake/hbmake.prg
     ; Applied patches made by Bill Robertson. (Thanks!)
     % Removed Function C( STRING ) as it was only used in the function, 
       Attention(), to center a line on the screen.
     % Removed Static Function IsWin() since it wasn't being used.
     ! Replace all remaining calls to hb_OSNewLine() with s_cEOL.
     ! Changed some calls from OutStd() to OutErr() since they were 
       essentially errors mesages.
     % Replaced some long series of FWrite()s with a single FWrite() 
       where convientent so I could see what was being written to 
       the makefile easier.
     ! Replaced some comparisons from '=' to '=='.
2008-08-27 02:00:15 +00:00
Viktor Szakats
7066d1f40b Minor cleanup to _MSC_VER comment 2008-08-27 01:12:27 +00:00
Viktor Szakats
e433d7ff4b 2008-08-27 02:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/filesys.c
     ! Disabled hb_fsPOpen() body for __CYGWIN__.
       This way __CYGWIN__ compiles cleanly.
       (although I'm not sure how important Cygwin support is)
2008-08-27 00:48:03 +00:00
Viktor Szakats
d741d2d955 Restored previous 'minor formatting's 2008-08-26 23:48:47 +00:00
Viktor Szakats
59310e6115 2008-08-27 01:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/hbinet.c
     ! Bad workaround for the '__WSAFDIsSet unresolved' problem 
       in Pelles C 5.00.13 AMD64 mode, to make final executables 
       link at all. Some hbinet.c features (or the whole module) 
       won't properly work though.
       This possible bug has been reported on the Pellec C forums:
       http://forum.pellesc.de/index.php?topic=2590.0
2008-08-26 23:46:58 +00:00
Viktor Szakats
412a855ee7 Comment added to previously added POCC workaround. 2008-08-26 23:28:56 +00:00
Viktor Szakats
fd4c743825 2008-08-27 00:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbinit.h
   * source/rtl/gtwin/gtwin.c
   * source/rtl/gtwvt/gtwvt.c
   * source/compiler/genc.c
     + Enabled init functions for MSVC 64-bit in C mode.
     ; NOTE: You get the idea, please comment. If there is 
             no simpler/easier/shorter way to achieve this, 
             I'll update the rest 150 files, too.
2008-08-26 23:03:56 +00:00