Commit Graph

11962 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
cdd4f7dbd7 2009-08-31 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/dbf1.c
  * harbour/source/rdd/sdf1.c
  * harbour/source/rdd/delim1.c
    * minor extension in default alias settings
2009-08-31 10:42:03 +00:00
Pritpal Bedi
addaac4ece 2009-08-30 17:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_slots.cpp
    ! Completely reworked events management. It now supports multi-threads.

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
    ! Reworked event management to support multi threads.

  * contrib/hbxbp/tests/demoxbp.prg
    ! Demonstrated the MT support. Click on <Dialogs> on main menu and play
      with more than one dialog.

  /*  Still there are few glitches in MT mode and I do request Przemek to 
      look into the code and suggest us what else is required. 
   */
2009-08-31 00:35:12 +00:00
Pritpal Bedi
f8f8ef00b7 2009-08-30 17:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbwin/wapi_winuser.c
    + Added two more functions.
2009-08-31 00:24:33 +00:00
Pritpal Bedi
9784c30523 2009-08-30 17:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtwvg/gtwvg.c
    ! A small fix in caret handelling. Under certain circumstances, 
      when other modal consoles are opened, HideCaret() is issued multiple
      time and hence caret is diappeared. For normal console it was ok.

  * contrib/gtwvg/wvgsink.c
    ! Some optimizations and formatting.
2009-08-31 00:22:51 +00:00
Przemyslaw Czerpak
2918474e6f 2009-08-30 11:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
    ! cleaned error messages to simulate Clipper behavior
2009-08-30 09:41:43 +00:00
Przemyslaw Czerpak
389141c531 2009-08-30 10:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/Makefile
  * harbour/source/main/Makefile
    ! hacked the order of linked library list to resolve problem with
      potential cross references between libraries on platforms which do
      not support library grouping

  * harbour/source/nortl/nortl.c
    ! added missing include hbmemory.ch

  * harbour/source/compiler/hbmain.c
    ! added protection against multiple init function freeing
2009-08-30 08:29:20 +00:00
Viktor Szakats
d362316d9a minor typo 2009-08-30 06:54:43 +00:00
Viktor Szakats
9b598a88fe 2009-08-30 08:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added sqlite3 and allegro package names for Ubuntu.
2009-08-30 06:47:23 +00:00
Viktor Szakats
42cdc060c3 2009-08-29 19:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/hbpp.c
    + Added command to HB_DYNLIB guard.

  * source/pp/Makefile
    ! Deleted wildcard check before hbpp obj deletion. It's wrong
      because hbpp obj isn't there when the rule is validated, so
      the deletion would never take place. (For some reason it was
      still deleted on some platforms though - apparently not on
      OS/2 GNU Make.). Anyhow addition of $(wildcard) call at this
      spot was not critical anyway. See: 2009-08-22 11:59

  * utils/hbmk2/hbmk2.prg
    ! Fixed checking wrong dependencies when non-.prg extension was
      used for .prg source files in incremental mode.
2009-08-29 17:09:05 +00:00
Przemyslaw Czerpak
d0845b91f5 2009-08-29 13:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/source/compiler/hbmain.c
    ! fixed typo in -m parameter handling
    ! fixed old memory leak exploited by compile time error in code with
      static variables
2009-08-29 11:33:22 +00:00
Przemyslaw Czerpak
c46621db36 2009-08-29 12:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/hbcomp.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/hbdbginf.c
  * harbour/source/compiler/genhrb.c
  * harbour/source/compiler/gencobj.c
    - removed old "AutoOpen" code used for @<name>.clp, SET PROCEDURE TO ...
      and DO <func> [ WITH <args,...> ] statements
      It was neither Clipper compatible not working correctly in some cases.
    + added new code for multi .prg module compilation into single unit
      with support for multiple file wide declarations just like Cipper
      does doe @.clp files and SET PROCEDURE TO / DO ... [ WITH ... ]
    % cleaned redundant code used in harbour compiler to execute grammar
      parser with different conditions. Now it's much shorter and simpler
      and hb_compparse() is called only from one place.
    ! fixed possible multiple declarations in symbol table for ANNOUNCE
      function
    % rewritten C code generation to increase speed and make it independent
      from some internal compiler structures. Now it's shorter and faster
      but it strongly uses scope attributes in symbol table so they have
      to be properly set during compilation and new code for .c file
      generation should help in their validation.
    % few other optimizations and cleanups

      Now Harbour can compile code like:
         /*** t01.prg ***/
         static s_var := "main sVar"
         proc main()
            ? procname(), "->", sVar
            do t02
         return

         /*** t02.prg ***/
         static s_var := "t02 sVar"
         proc t02()
            ? procname(), "->", sVar
         return

      by simpe:
         harbour -n -w -es2 t01
      or using tst.clp:
         t01
         t02
      and:
         harbour -n -w -es2 @tst
      in both cases it works just like Clipper. Please note that in the
      second version generated file inherits (like in Clipper) name from
      .clp file and is called "tst.c". The .clp file name is also used
      as module handler signature.

      TODO: add support for multiple static functions with the same name
            but coming from different .prg modules compiled into single
            unit using @.clp files or SET PROCEDURE TO / DO ... [ WITH ... ]
            In above modifications I already implemented it partially but
            I haven't made one very important extension which strongly
            interacts with symbol table usage during compilation and can
            be source of really bad problems if I made sth wrong so I plan
            to finish when above changes will have been tested.
2009-08-29 10:43:31 +00:00
Viktor Szakats
cb6c34a11f (deleted some extra lines from last changelog entry) 2009-08-29 09:38:36 +00:00
Viktor Szakats
e86a10719d 2009-08-29 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/bio.c
    - Disabled feature which doesn't seem to be exported via
      implibs.

  + contrib/hbssl/hbssls.hbc
  + contrib/hbssl/hbssls
  + contrib/hbssl/hbssls/Makefile
  * contrib/hbssl/hbssl.hbc
  * contrib/hbssl/Makefile
    * Default hbssl lib is now created to link dynamically (on Windows).
    + Added static build of hbssl by the name hbssls, with new .hbc
      file linking to static OpenSSL libs.

  * contrib/hbssl/Makefile
  + contrib/hbssl/hbssls.hbc
  * contrib/hbssl/hbssl.hbc

  * bin/hb-func.sh
    - Commented creation of dynamic libs. Now it's done on GNU Make
      level.

  * config/os2/gcc.mk
    - Disabled os2/gcc .dll creation. If someone comes up with a working
      solution we can readd it, but in current form it just broke os2/gcc
      target with no short-term hope for a solution.

  * source/common/hbver.c
    + Added "Embarcadero" to Borland C compiler name.
      Borrowed from xhb / Andi Jahja
    + Readded also "Borland" to both Embarcadero and CodeGear compiler
      names. Probably for most ppl "Borland" tells a hell lot more than
      these names which keep changing every second year.

  * contrib/gtwvg/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbtip/hbtipssl/Makefile
    * Formatting.
2009-08-29 09:21:45 +00:00
Viktor Szakats
eba19de1cd 2009-08-28 14:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Updated Ubuntu external pkg list.
    + Added slang to darwin external pkg list.

  * config/darwin/libs.mk
    + Added two syslib paths required for slang (gtsln).

  * utils/hbmk2/hbmk2.prg
    ! Fixed to add user GTs before the list of user libs.
      This is to ensure proper linkage with linkers which need
      this (mingw f.e. and all which used lib grouping switches
      before they were removed from hbmk2/make in Harbour)

  * config/bin.mk
  * config/dyn.mk
    + Added new HB_LINKING_VMMT variable, which is set to non-empty
      if hbvmmt is to be linked. It makes it possible to add
      MT dependent libs to sys lib list, if needed.

  * config/linux/libs.mk
    + Adding pthread lib when HB_LINKING_VMMT is set. This isn't
      needed on my *nix systems (Ubuntu and Darwin), but was used
      for all platforms in postinst.sh dynlib creation logic, so
      please speak up if we should add this lib to other *nix 
      platforms, or we can delete it from Linux.
2009-08-28 11:59:57 +00:00
Viktor Szakats
86318490b5 2009-08-28 08:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
    ! Fixed recent mistake in gpm detection at postinst (now redundant)
      dynlib generation phase.

  * source/rtl/fssize.c
    ! Fixed warnings shown by mingw64 4.5.0.

  * config/detfun.mk
    + Now accepting HB_WITH_* control variables in place of HB_INC_* once.
      If HB_WITH_* is set it overrides HB_INC_*. Experimental yet.
    * Minor in comments.

  * config/detect.mk
    * Minor correction for conf.mk inclusion.
2009-08-28 06:54:23 +00:00
Viktor Szakats
0be602694a 2009-08-28 00:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.mk
  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/os2/gcc.mk
    + Finished support for HB_LDFLAGS variable (to hold Makefile
      local extra linker options). We don't use this feature yet.

  * config/sunos/sunpro.mk
    + Setting CXX for sunos/sunpro.mk to make it build .cpp files
      without forcing cpp mode explicitly. (suncc seems to do nothing
      with .cpp input files.)

  * config/bsd/libs.mk
  * config/hpux/libs.mk
  * config/darwin/libs.mk
  * config/sunos/libs.mk
    - Deleted commented /usr/X11R6/lib64 lib dir. It's a Linux
      distro specific thing.

  * config/linux/libs.mk
    + Added comment for /usr/X11R6/lib64
2009-08-27 22:53:07 +00:00
Przemyslaw Czerpak
dec2109f1b 2009-08-27 21:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filebuf.c
    ! added missing static in declaration

  * harbour/source/rdd/dbffpt/dbffpt1.c
    ! fixed default memo extension in non workarea methods
2009-08-27 19:41:22 +00:00
Viktor Szakats
3505bc2e51 2009-08-27 21:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
    ! Fixed typo in recent rework, causing embedded libpng
      component not being detected.

  * config/global.mk
    ! Reverted override support. This will need 3.81.90,
      in 3.81 override and export keywords don't mix tool
      well together, or I'm missing something, it could be.
2009-08-27 19:20:32 +00:00
Viktor Szakats
fa633572c4 2009-08-27 20:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added new HB_INC_* values to the list. Added more
      information on them. Described 'no' option.
    + Added info on passing these config vars through cmdline.

  * config/global.mk
    + Added support to override some vars even if passed via
      make commandline.
2009-08-27 18:57:07 +00:00
Viktor Szakats
b1ad2df9c5 2009-08-27 20:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.mk
  * config/hpux/gcc.mk
    ! Restored cmdline lenght saver trick for BSD and HPUX after 
      giving this http://www.in-ulm.de/~mascheck/various/argmax/ 
      a bit more careful read.
2009-08-27 18:15:49 +00:00
Viktor Szakats
3c6f81ed58 2009-08-27 20:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/libs.mk
    ! Deleted some stuff left when doing the copy from
      global.mk (yesterday).
      Should fix double -fPIC switches seen on 64-bit Linux builds.

  * config/linux/libs.mk
    + Adding /usr/X11R6/lib64 to sys lib path list on 64-bit systems.
      If you find this wrong, please tell, we can tweak conditions.

  * config/bsd/gcc.mk
  * config/darwin/gcc.mk
  * config/hpux/gcc.mk
  * config/linux/gcc.mk
  * config/sunos/gcc.mk
    * Changed to just plain pass list of obj on cmdline in dynamic
      lib creation rule. Should be safe on these OSes according to this doc:
         http://www.in-ulm.de/~mascheck/various/argmax/
      (we need about 31-32KB of cmdline at this moment)
2009-08-27 18:09:27 +00:00
Viktor Szakats
94cde1d19f 2009-08-27 19:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.mk
    ! Mistake slipped in.
2009-08-27 17:16:44 +00:00
Viktor Szakats
aab7c92afc 2009-08-27 18:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.mk
  * config/hpux/gcc.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/sunos/gcc.mk
    * Changed to use different method to pass object file list to gcc.
      Previous method (@<filename>) only works in 4.x (?) gcc versions.
2009-08-27 16:37:37 +00:00
Viktor Szakats
4e93ea8ec2 2009-08-27 18:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/sunpro.mk
    + Setting CXX for linux/sunpro.mk to make it build .cpp files
      without forcing cpp mode explicitly. (suncc seems to do nothing
      with .cpp input files.)
      Same fix for sunos/sunpro?

  * config/rules.mk
    + Added option to override C++ compiler tool name with
      $(CXX) variable.

  * external/sqlite3/Makefile
  * external/libpng/Makefile
    * Formatting/cleanup.
2009-08-27 16:20:34 +00:00
Viktor Szakats
5f71a149ba 2009-08-27 17:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/sunpro.mk
  * config/sunos/sunpro.mk
    + Added HB_CCPATH, HB_CCPREFIX and HB_CCPOSTFIX support for CC and LD.
    - Deleted HB_CCPREFIX from linux/sunpro AR command.

  * config/global.mk
    * Updated comments.
2009-08-27 15:24:16 +00:00
Viktor Szakats
0416f85a76 2009-08-27 14:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gtwvt/Makefile
    % Simplified inclusion logic.
2009-08-27 12:30:27 +00:00
Viktor Szakats
847324892a 2009-08-27 14:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
    + Using new central detection function.
      HB_WITH_LIBHPDF -> HB_INC_LIBHARU.

  * contrib/hbhpdf/Makefile
    * Minor formatting.
2009-08-27 12:18:29 +00:00
Viktor Szakats
e26afe0b17 2009-08-27 14:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/Makefile
    ! Fix to prev. (uploaded version from wrong local machine)
2009-08-27 12:03:09 +00:00
Viktor Szakats
d3d011b679 2009-08-27 13:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/Makefile
  * contrib/hbxbp/Makefile
  * contrib/gtqtc/Makefile
    + QT detection is now also based on detfun.mk.
    * hbxbp changed a little, but the logic is basically the same.
2009-08-27 12:00:28 +00:00
Viktor Szakats
b23e716c11 2009-08-27 13:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_deb.sh
    * HB_WITHOUT_ADS -> HB_INC_ADS
    * HB_WITHOUT_ODBC -> HB_INC_ODBC
    ; Please verify these changes.

  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbtip/Makefile
    + Using new central detection function instead of replicating
      in in every contrib. The "side effect" is that now precise
      instructions will be shown if a given contrib isn't included in a build.
      Code is much cleaner/simpler/shorter now.
    ; It's possible that I made some mistakes along the line,
      plus report if anything is wrongly detected.
    * external component names converted to all lowercase.
    ; QT will be done in next commit.

  * config/detfun.mk
  * config/detect.mk
    + Added usage instructions (moved parts from detect.mk to detfun.mk).
    * Moved help to detfun.mk.
    + Added HB_INC_* 'force' option.
    + Now clearing _DET_* vars on exit.
    * external component names converted to all lowercase.

  * config/global.mk
    + Updated plans.
2009-08-27 11:17:45 +00:00
Viktor Szakats
03e7583f20 2009-08-27 09:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/detect.mk
    % Deleted compatibility input and output vars.

  * ChangeLog
    + Items marked done.
2009-08-27 07:50:31 +00:00
Viktor Szakats
a27085c3c8 2009-08-27 09:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtalleg/Makefile
    * Minor cleanup.

  * contrib/hbssl/Makefile
    ! Fixed to use HB_HAS_OPENSSL to form -I options.
    * Formatting.
2009-08-27 07:48:30 +00:00
Viktor Szakats
1018acc82f 2009-08-27 09:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtalleg/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbfimage/Makefile
  * contrib/rddsql/sddfb/Makefile
    % Changed to use detfun.mk for external component detection.

  * config/detfun.mk
  * config/detect.mk
    + Separate platform and compiler filters.
    + Added new verbosity level (shows successful detection location)
    + Returns error text in _DET_RES_TEST variable.
2009-08-27 07:42:30 +00:00
Viktor Szakats
ba35cc2c25 2009-08-27 09:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_deb.sh
  * bin/hb-func.sh
  * harbour.spec
  * mpkg_tgz.sh
    * HB_WITHOUT_GTCRS -> HB_INC_CURSES
    * HB_WITHOUT_GTSLN -> HB_INC_SLANG
    * HB_WITHOUT_X11   -> HB_INC_X11
    * HB_GPM_MOUSE     -> HB_INC_MOUSE (in few remaining hbmk script places)
    ; NOTE: After all this cleanup/leveling is done, probably
            HB_INC_* variables will be changed to more standard
            HB_WITH_* format. First I want to finish this part.
2009-08-27 07:06:52 +00:00
Viktor Szakats
ec4af7032d 2009-08-27 08:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_deb.sh
  * mpkg_tgz.sh
  * bin/hb-func.sh
  * harbour.spec
    + HB_GPM_MOUSE -> HB_INC_GPM and HB_HAS_GPM depending on whether
      it's a config var or a reaction to config (in postinst)
      I've left some value in hbmk script which may need further
      attention.
      I didn't test these changes, please do.
2009-08-27 06:46:44 +00:00
Viktor Szakats
0a38236e96 2009-08-27 08:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/detfun.mk
    + Accept 'yes' for HB_INC_* variables. Same meaning as leaving 
      it empty.
2009-08-27 06:40:11 +00:00
Viktor Szakats
6fd88596fc 2009-08-27 08:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/detfun.mk
  * config/detect.mk
    + Added positive platform/compiler filters.
    + Simplified internal platform/compiler filter syntax, now it's
      one unified list where compiler/platform can be mixed and
      negative filters can be passed by using '!' char prefix.
    ! In comment text.

  * source/rtl/gtsln/Makefile
    ! Fixed silly copy-paste mistake in recent autodetection changes.
      Thanks to Tamas Tevesz for spotting it.

  * source/rtl/gtsln/mousesln.c
    * Using macros instead of a constants.
      (2 -> STDERR_FILENO)
2009-08-27 06:28:18 +00:00
Viktor Szakats
c890f8ec8e 2009-08-27 01:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/hpux/gcc.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Added system lib paths to DFLAGS. This caused dynlib link
      error with X11 lib on Darwin.
2009-08-26 23:41:27 +00:00
Viktor Szakats
8d611240fa 2009-08-26 19:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/lib.mk
    + Added hack to make hbpp hack (in  source/pp/Makefile) happy.
      Should fix missing 'pow' symbols reported on the list.

  * config/detect.mk
    ! Fixed gpm mouse detection prerequisites.
    ; TODO: Will need some more tweaking to make it clean, I'll do it
            a bit later.
2009-08-26 17:53:36 +00:00
Viktor Szakats
f61ee664b2 2009-08-26 18:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtsln/Makefile
    + Changed to use HB_HAS_* values instead of doing autodetection
      locally.

  * source/rtl/gttrm/Makefile
    + Indenting.

  * config/global.mk
    + Added HB_LDFLAGS variable. Not yet used.
2009-08-26 16:55:12 +00:00
Viktor Szakats
5495d2978a 2009-08-26 18:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
    * Using HB_HAS_GPM instead of old HB_GPM_MOUSE.

  * config/bin.mk
  * config/dyn.mk
  * config/bsd/libs.mk
  * config/darwin/libs.mk
  * config/hpux/libs.mk
  * config/dos/djgpp.mk
  * config/win/mingw.mk
  * config/linux/libs.mk
  * config/os2/gcc.mk
  * config/sunos/libs.mk
    * Extended the way it's decided whether to include
      rtl external lib dependencies or not. Now binary specific
      logic was moved to bin.mk, and dynamic lib logic was added
      to dyn.mk.
      The flag is called HB_LINKING_RTL (not empty means yes).
    + Updated syslib list assembly parts to use HB_HAS_*
      autodetection variables instead of trying to find it out
      by other means.

  * config/global.mk
    + Adding gtcrs, gtsln, gtxwc to std liblist if required
      components are available. This means that it's now again
      possible to select these as build-time default GTs.
    * Updated comment for setting plans.
2009-08-26 16:43:24 +00:00
Viktor Szakats
a0ab9cd07a 2009-08-26 17:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ config/detfun.mk
  + config/detect.mk
  * config/global.mk
    + Added generic external component detection function.
    + Added central detection for optional external components
      used by Harbour core. These are: openssl, gpm, slang, curses, x11
      Easy to extend with new ones.
      The detection code will run once per make session and
      results can be used in all our make files by checking HB_HAS_*
      variable. If it's empty we cannot use the component, if
      it's not we can. In this case it contains dir where headers
      were located. It's possible that it's a list of paths.
      Users can control these components by using HB_INC_* variable
      the following way: if it's left empty, Harbour make system
      will automatically look into default locations, this usually
      works on *nix systems. If set to a path (or a list of paths),
      this list will be checked. Finally to explicitly disable a
      component, user can set the variable to 'no'.
      Following legacy control variables are yet understood, but
      the will be removed in the near future:
          HB_WITHOUT_GTCRS=yes is the same as HB_INC_CURSES=no
          HB_WITHOUT_SLANG=yes is the same as HB_INC_SLANG=no
          HB_WITHOUT_GTXWC=yes is the same as HB_INC_X11=no
      Notice that these settings aren't meant to allow user control
      of actual Harbour components (like gtxwc). If we need something
      like this, we can do it, but it wasn't the subject of this change.
      HB_GPM_MOUSE var is still set for compatibility with internals.
      NOTE: I've left verbose output on to see what's happening, this will
            tuned after testing.
    ; TODO: Remove reliance on legacy settings in our own codebase.
    ; TODO: Start using HB_HAS_* values for dynamic lib syslib list assembly
            and in GT Makefiles.

  * contrib/hbtip/hbtipssl/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbssl/Makefile
    * HB_HAS_OPENSSL works a little differently now, not empty
      means 'yes', empty means 'no'.
2009-08-26 16:00:07 +00:00
Przemyslaw Czerpak
58db3ccf8a 2009-08-26 13:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filebuf.c
    * reverted the alternative IO API look up order
    * small modification
2009-08-26 11:47:49 +00:00
Viktor Szakats
aa49a8f376 2009-08-26 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/hpux/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Added "system" libs to dynamic lib creation commands.
    ; TODO: There is one step left: To build system lib list
            also when dynamic libs are to be created.
            This will need some extra detection logic.
2009-08-26 11:17:28 +00:00
Viktor Szakats
123f2ec1a9 2009-08-26 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added new section: HOW TO DO A PARTIAL [RE]BUILD
      This wouldn't have been possible a week ago, the
      situation was so much different and complicated for
      various cases.
    ! Cleaned msys/cygwin/<DIR> references and NOTEs.

  * config/dyn.mk
  * config/bin.mk
  * config/global.mk
  + config/bsd/libs.mk
  * config/bsd/gcc.mk
  + config/hpux/libs.mk
  * config/hpux/gcc.mk
  + config/darwin/libs.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  + config/linux/libs.mk
  * config/linux/global.mk
  + config/sunos/libs.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    % Moved "system" library logic to compiler libs.mk files
      for all *nix compilers.

  * config/dos/djgpp.mk
  * config/global.mk
    * DJGPP with win-based make messages converted to a warning
      and moved next to the other similar warning detecting
      another non-ideal combination.
2009-08-26 11:05:58 +00:00
Viktor Szakats
18bfd44b68 2009-08-26 11:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Documented HB_CCPATH, HB_CCPREFIX, HB_CCPOSTFIX config variables.

  * source/Makefile
  * config/lib.mk
    + Added gtxwc to Harbour dynamic libs on *nixes.

  * config/global.mk
    ! Always set HB_INC_INSTALL on sh shells to make postinst.sh
      happy.

  * config/linux/global.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
    % Moved 'system' library name and path list forming logic to
      platform global.mk.
    ; TODO: Also for other platforms.

  * source/Makefile
    ! Fixed to use '-' separator between dynlib name and version
      on *nixes too, except on darwin, where it's a '.'.
2009-08-26 09:27:56 +00:00
Przemyslaw Czerpak
59f2cf152b 2009-08-26 11:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.c
    ! fixed runtime font modification
2009-08-26 09:16:48 +00:00
Viktor Szakats
907bd2c8e0 2009-08-26 08:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
  * config/global.mk
    ! Added 'SHELL := /bin/sh' lines after 'sh' HB_SHELL detection.
      Under certain circumstances SHELL will point to COMSPEC even
      when launched from bash shell (f.e. DJGPP GNU Make launched
      from DJGPP sh.exe running on Windows OS or using MSYS sh.exe).
      This seems to be a safe and often used solution on all platforms
      according to GNU Make docs '5.3.1 Choosing the Shell' section:
         http://www.gnu.org/software/make/manual/make.html
      Fix me if you find this wrong.

  * ChangeLog
    ! Stripped non-ASCII (accented) chars in recent entries.
      See: 2008-11-09 12:26 UTC+0100 Viktor Szakats
2009-08-26 06:31:55 +00:00
Przemyslaw Czerpak
9bbf25760e 2009-08-26 02:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapifs.h
  * harbour/source/rtl/filebuf.c
    + added hb_fileExists() and hb_fileDelete() functions
    + added support for alternative file IO API used in RDD code which
      can be implemented by 3-rd party developers and registered using
      hb_fileRegister() function.

  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbfnsx/dbfnsx1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    * use hb_fileExist() and hb_fileDelete() functions for files accessed
      by hb_file*() API
2009-08-26 00:34:58 +00:00
Pritpal Bedi
5f41a5de1b 2009-08-25 15:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpfontdialog.prg
    ! Fixed warning about oFont:setPointSize() which cannot be less than 0.
      Discovered by István Bisz.
2009-08-25 22:50:46 +00:00