Commit Graph

14170 Commits

Author SHA1 Message Date
Pritpal Bedi
678f8c14ac 2010-05-25 12:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbide/idedetect.prg
    + Added: -plugin= plugin to detect output target.

  * contrib/hbide/ideprojmanager.prg
    + Implemented: -plugin=( hb_dirBase() + "idedetect.prg" ).

      This implementation raises the barrier what was ailing hbIDE
      since long to detect the executable properly. 

      Thanks Viktor, this is wonderful addition to hbMK2.
2010-05-25 19:56:03 +00:00
Viktor Szakats
3458d7e9e7 2010-05-25 21:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * '-plug=' option renamed to '-plugin='
    + Added support for 'plugins=' line in .hbc files.
    % Plugins are now fully loaded just once at the beginning
      of hbmk2. (as opposed to every invocation)
    + Plugins are now automatically treated as .hrb or .prg
      based on _file content_. This means that any extension
      can be used for plugins for both .prg and .hrb code.
      When .prg or .hrb extension is used there isn't any
      extra trial made on the file content, it will be load
      as source or HRB respectively.
      Maybe we should find a new distinctive extension for 
      hbmk2 plugins.
    * Default extension for -plugin= option changed to .prg
      (was: .hrb)
    + Showing type of input plugin in -trace mode.
      ('source' or 'compiled')

  * config/detect.mk
    ! Applied fix to DragonFly patch, submitted by Tamas Tevesz.

  * src/vm/runner.c
    * Minor formatting.
2010-05-25 19:20:38 +00:00
Viktor Szakats
0120d2f7e6 2010-05-25 19:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/hbwin.ch
    + Added WAPI_MESSAGEBEEP()
    + Added MB_* constants.

  * contrib/hbwin/hbwin.ch
    ! Fixed some comments.

  * contrib/hbwin/win_svc.c
    + strlen() cast.
2010-05-25 17:57:30 +00:00
Viktor Szakats
513edc3356 2010-05-25 19:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Extended plugin API:
      - New macro expansion function:
          hbmk2_Macro( ctx, <str> )
      - New host variables:
          cTARGETTYPE, cTARGETNAME, lDEBUG, lMAP, lSTRIP, lINFO,
          lBEEP, lRUN, nErrorLevel

  * include/hbextern.ch
    + Added two recently added functions.

  * package/winuni/RELNOTES
    * Update one version number.
2010-05-25 17:09:12 +00:00
Viktor Szakats
3562c1e4b8 2010-05-25 16:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added one more envvar which is apparently used by users 
      even though it does nothing since many years.
      (see '10. TROUBLESHOOTING' section)

  * config/postinst.prg
    * Minor cleanups.
2010-05-25 14:43:31 +00:00
Viktor Szakats
bf304ae5c4 2010-05-25 16:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added DragonFly BSD to supported BSD system list.
2010-05-25 14:23:34 +00:00
Viktor Szakats
c95a4f9edc 2010-05-25 16:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbprintf.c
  * include/hbsetup.h
  * config/global.mk
  * config/bsd/libs.mk
  * config/detect.mk
    + Applied patch by Tamas Tevesz, making it possible to build
      Harbour for DragonFly BSD systems.
      Thanks a bunch.

  * utils/hbmk2/hbmk2.prg
    + Applied above change to hbmk2 code, so now it should also
      support DragonFly BSD. (pls test it)
2010-05-25 14:22:11 +00:00
Viktor Szakats
463d296dbf 2010-05-25 16:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added .hbi to the list of accepted projects at cmdline.
      This means that hbmk2 can be run like 'hbmk2 mylib.hbp mylib.hbi'
      to create the lib and also generate the implib.
    * '-keyheader=' renamed to '-reqheader='
    ! Fixed typo causing RTE while creating implibs for targets
      supporting OMF lib type.
2010-05-25 14:14:15 +00:00
Viktor Szakats
79ba9da837 2010-05-25 15:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/tobject.prg
  * src/rtl/tpersist.prg
  * src/rtl/memoedit.prg
  * src/rtl/teditor.prg
  * contrib/hbmysql/tmysql.prg
  * contrib/hbmysql/tsqlbrw.prg
  * contrib/hbodbc/todbc.prg
  * contrib/hbfbird/tfirebrd.prg
  * contrib/hbpgsql/tpostgre.prg
  * contrib/hbmisc/hbedit.prg
  * contrib/hbtip/smtpcli.prg
  * contrib/hbtip/mail.prg
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_tprn.prg
  * contrib/hbwin/wce_sim.prg
    ! Fixed to check for proper type instead of using
      'DEFAULT ... TO'

  * contrib/hbct/ct.prg
    % EXIT/INIT FUNCTION -> EXIT/INIT PROCEDURE
2010-05-25 13:04:58 +00:00
Viktor Szakats
baa3c6b7c0 2010-05-25 13:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental feature to aid external dependency
      detection. Key header files can now be specified using
      '-keyheader=' option. In case such key headers are not
      found when evaluating '-inctrypath' conditional header
      directories. The goal is to make hbmk2 capable of
      replacing GNU Make for all of our contribs. F.e.:
      'clean':
        {HB_HOST_BIN_DIR}/hbmk2 hbfbird/hbfbird.hbp hbsms/hbsms.hbp -o../lib/${hb_plat}/${hb_comp}/ -clean
      simple make:
        {HB_HOST_BIN_DIR}/hbmk2 hbfbird/hbfbird.hbp hbsms/hbsms.hbp -o../lib/${hb_plat}/${hb_comp}/
      'install':
        {HB_HOST_BIN_DIR}/hbmk2 hbfbird/hbfbird.hbp hbsms/hbsms.hbp -o../lib/${hb_plat}/${hb_comp}/ -instpath=${HB_LIB_INSTALL}/ -info

    % Minor cleanup to some plugin API functions.

  * utils/hbmk2/examples/plug_moc.prg
    % Minor cleanup.

  * contrib/sddoci/tests/test1.prg
    + Showing field length and decimals.
2010-05-25 11:36:12 +00:00
Przemyslaw Czerpak
91cf12d405 2010-05-25 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/vm/hashes.c
  * harbour/src/vm/hashfunc.c
    + added support for keeping strict assign order in hash arrays. It's
      enabled optionally by setting HB_HASH_KEEPORDER hash array flag.
      It gives the same functionality as associative arrays in xHarbour
      (enabled by HSETAACOMPATIBILITY()) but this implementation is
      internally completely different. It does not introduce linear
      scan in add operation so enabling it should not reduce the
      performance in this operation. It can even improve it on some
      hardware reducing number of memory bytes which have to be moved.
      Only delete operation will force linear index scan. The most
      important in this implementation is that it does not need any
      additional functions like HAA*() in xHarbour. Just simply all
      existing functions operating on position indexes like HB_HPOS(),
      HB_HKEYAT(), HB_HVALUEAT(), HB_HPAIRAT(), HB_HDELAT(), HB_HSCAN()
      use as index natural order in which items were added to hash array.
      Also HB_HKEYS(), HB_HVALUES() and FOR EACH iterations respect it.
    + added new PRG functions
         HB_HKEEPORDER( <hValue> [, <lNewSetting> ] ) -> <lPrevSetting>
         HB_HSETORDER( <hValue> [, <lNewSetting> ] ) -> <hValue>
      which cam be used to enable/disable strict order in hash array.
      Enabling strict order for non empty hash arrays accept the order
      created after sorting existing item not the original assign order.
      Disabling strict order for non empty hash arrays may change the
      items order.
    ; TODO: add translation for xHarbour's HAA*() functions to hbcompat.ch
            and/or xhb library.

  * harbour/contrib/hbnetio/netiocli.c
  * harbour/contrib/hbnetio/netiosrv.c
    % reenabled TCP_NODELAY on client and server side
      I had to be really tired when I was making tests and I mixed
      hb_socketSetNoDelay() with hb_socketSetBlockingIO().
      Thanks to Aleksander Czajczynski who noticed the delay in his
      tests.

  * harbour/contrib/hbwin/olecore.c
    * minor cleanup
2010-05-25 11:20:34 +00:00
Viktor Szakats
6fce1cd697 2010-05-25 09:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/ctrand.prg
  * contrib/hbct/getsecrt.prg
  * contrib/hbct/keysec.prg
  * contrib/hbct/getinput.prg
  * contrib/hbct/screen3.prg
  * contrib/hbct/ct.prg
  * contrib/hbct/cttime.prg
  * contrib/hbct/numconv.prg
  * contrib/hbct/showtime.prg
  * contrib/hbct/ctmisc.prg
  * contrib/hbct/getinfo.prg
  * contrib/hbct/scrmark.prg
  * contrib/hbct/keysave.prg
  * contrib/hbct/fcopy.prg
    ! Fixed formatting.
    ! Fixed to use proper type validation instead of 'DEFAULT TO'.
    ! Fixed to use F_ERROR instead of -1.
2010-05-25 07:26:37 +00:00
Teo Fonrouge
b539031c2c 2010-05-24 20:53 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
*  ChangeLog
     ! Fixed previous not accurate ChangeLog entry
2010-05-25 01:53:18 +00:00
Teo Fonrouge
94637137de 2010-05-24 19:37 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
*  contrib/hbtip/tests/dbtohtml.prg
     ! end tags fixed
     * using HB_SYMBOL_UNUSED to pacify Harbour warnings ( -w3 )
2010-05-25 00:37:39 +00:00
Teo Fonrouge
46543b976b 2010-05-24 19:19 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
*  contrib/hbtip/thtml.prg
     * removed old FOR EACH limitation
     * using HB_OSNewLine() as eol
     % on ::popNode added capability to check if end tags for the following
       tags are found: "tr","th","td"
       to end this tags, the user simply needs to call the current node
       with the minus ( - ) operator for the tag requiered to close:
         node - "th"

  *  ChangeLog
     ! Fixed wrong entry on my previous commit
2010-05-25 00:19:13 +00:00
Teo Fonrouge
77846542f5 2010-05-24 19:08 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
*  contrib/hbtip/thtml.prg
2010-05-25 00:09:08 +00:00
Pritpal Bedi
2a9e1924eb * Omitted ChangeLog commit. 2010-05-24 22:39:47 +00:00
Pritpal Bedi
79ebb96bf7 2010-05-24 15:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideprojmanager.prg
    % Fixed: to start build executable in "Start in" folder.
2010-05-24 22:12:53 +00:00
Viktor Szakats
adad4eca95 2010-05-24 21:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed old regression causing 'inctrypath' option to "forget"
      adding detected include dirs to the tool command lines.
2010-05-24 19:36:46 +00:00
Przemyslaw Czerpak
4481de3e73 2010-05-24 21:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/hashes.c
    * do not clone preallocated unused area

  * harbour/contrib/hbnetio/netiocli.c
    * disabled RT errors inside NETIO_CONNECT() and NETIO_GETCONNECTION()
      when wrong password or NETIO server is used but return .F.
2010-05-24 19:11:15 +00:00
Viktor Szakats
6409c1dcb9 2010-05-24 19:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/sddoci/sddoci.c
    ! Attempting to fix wrong numeric size for plain 'NUMERIC'
      (without size) type. I'm guessing so I'd appreciate if
      someone could dive into this more deeply.

  * utils/hbmk2/hbmk2.prg
    * Minor.

  * package/winuni/RELNOTES
    + Added OCILIB.

  * contrib/sddoci/sddoci.hbc
  * contrib/sddoci/sddoci.c
  * contrib/sddoci/Makefile
    * Changes to follow OCILIB 3.6.0
2010-05-24 17:53:40 +00:00
Viktor Szakats
e8aec4dff4 2010-05-24 18:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/plug_moc.prg
    * Minor cleanups to plugin API.

  * src/rtl/typefile.prg
    ! Typo in comment.
2010-05-24 16:45:51 +00:00
Viktor Szakats
ccc18d5011 2010-05-24 15:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Upped warning level for plugins to -w3.

  * utils/hbmk2/examples/plug_moc.prg
    + Added -inc, -clean and -rebuild (IOW incremental) 
      support for moc plugin. It was tested OK in small 
      example.

  * utils/hbmk2/examples/plug_tpl.prg
    * Minor.
2010-05-24 13:36:22 +00:00
Viktor Szakats
8d46df007c 2010-05-24 14:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Moved some local variables to internal hbmk2 structure.
    + Made some more functions and variables accesible to plugns 
      in order to help creating smooth external calls.

  + utils/hbmk2/examples/plug_moc.prg
    + Added 'moc' plugin, which is supposed to be fully functionaly,
      though I didn't test it live.

  - utils/hbmk2/examples/plug_moc.prg
  + utils/hbmk2/examples/plug_tpl.prg
    * Renamed first example.
2010-05-24 12:18:25 +00:00
Viktor Szakats
ac1b0f0894 2010-05-24 13:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/plug_moc.prg
    % Further cleaned context passing, so that now even the
      'state' variable is passed as part of context rather than
      as separate variable, so now the only parameter the plugin
      gets is the callback. This is much more flexible and future
      proof this way.
2010-05-24 11:27:26 +00:00
Viktor Szakats
892b8c4625 2010-05-24 13:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/plug_moc.prg
    % Refined how context is passed to plugins, and how
      context is passed back to public APIs.
    + Added way to accept parameters from the cmdline and .hbp
      files. This is possible via '-pflag=' and '-pi=' options.
      Latter serves to pass input file, so the input file magic
      logic is always applied to it. Notice that all plugins are
      getting all input parameters, so it's their job to process
      only what's relevant to them. plugin specific option prefixes
      f.e. can be a solution for that.
    + Added API to add new input .prg, .c, .cpp and .rc files
      to the build process.
    + Added better protection from tampering internal hbmk2
      structures by plugins.
    + Showing error condition and location in case of an RTE occurs
      in a plugin.
2010-05-24 11:21:30 +00:00
Przemyslaw Czerpak
dbcd987a99 2010-05-24 11:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/include/hbvmint.h
  * harbour/include/hbvmopt.h
  * harbour/include/hbstack.h
  * harbour/include/hbvmpub.h
  * harbour/include/hbtypes.h
  * harbour/src/vm/estack.c
  * harbour/src/vm/hvmall.c
    * slightly modified the names of HB_{API|STACK}_MACROS.
      These are internal macros in current Harbour code but they are
      still defined in some old user build scripts used to compiled
      user or core code what could cause unpredictable results for
      final binaries. AFAIR default xMate configuration enables them.
2010-05-24 09:39:17 +00:00
Viktor Szakats
965c71d8e1 2010-05-24 11:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed non-initialized variable (broken in after one of 
      recent changes)
2010-05-24 09:03:06 +00:00
Viktor Szakats
8913c978e3 2010-05-24 09:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  + utils/hbmk2/examples/plug_moc.prg
    + Added experimental plugin system. Plugins are written in .prg
      or .hrb and can be passed using '-plug=<.prg|.hrb>' option
      or simply by passing '.hrb' filename from cmdline or .hbp/.hbm
      files. Plugin names without dir component will be searched
      in local dir, hbmk2 dir then PATH.
      For the details of the calling protocol and available hbmk2
      API calls and variables, pls check the example and hbmk2
      source code.
      Plugin is called from several build stages, in case of multiple
      plugins all of them are called at each stage. The plugin
      receives the stage name, hbmk2 context and a hash table for
      custom variables. The variables are shared between stages and
      plugins. Notice that hbmk2 isn't hbrun, so there is a limited
      set of the Harbour language which you can use, this also ensures
      that the plugins will behave like hbmk2 itself for the most part.
      Nothing is finalized.
    ; The example is the working replica of moc detection logic found
      inside hbqt.
2010-05-24 07:50:59 +00:00
Viktor Szakats
6b53962852 2010-05-23 20:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + In non-incremental mode when no workdir is manually set, hbmk2
      will now create a temp subdir inside temp dir and create any
      intermediate output files there. (previously it was using the
      temp dir without creating a temp subdir inside).
    ; Please test and report leftover temp files and dirs, also test 
      it on *nix platforms.
    * Changed 'couldn't', 'don't' style English abbrevs to
      'could not', 'do not', etc.

  * config/rules.mk
    ! Fixed to include static-only C compiler options for targets 
      which have no separate static/dynamic C compiler pass.
      This should fix wrongly built pcre lib causing missing 
      exported functions in mingw Harbour .dlls.
2010-05-23 18:55:14 +00:00
Viktor Szakats
ceecd43fa9 2010-05-23 15:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Changed filtering implementation for cmdline parameters.
      Now filters can be placed anywhere and they work for all 
      parameters.
      Please test, regressions may be possible.

  * config/postinst.prg
    ! Added gpm handling logic to hbmk.cfg creation. This was 
      previously done in recently deleted postinst.sh function.
2010-05-23 13:53:57 +00:00
Przemyslaw Czerpak
7a908f8304 2010-05-23 10:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netiocli.c
    * replaced repeated code by static function
2010-05-23 08:47:05 +00:00
Przemyslaw Czerpak
20c6c6ee76 2010-05-22 23:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netiocli.c
  * harbour/contrib/hbnetio/readme.txt
    + added new client side function:
      NETIO_GETCONNECTION( [<cServer>], [<nPort>], [<nTimeOut>], ;
                           [<cPasswd>], [<nCompressionLevel>], [<nStrategy>] )
            -> <pConnection> | NIL
      I returns pointer item with HBNTIO connection. It can be used to
      speedup RPC calls and stream functions when <pConnection> is
      passed as parameter to these functions.
    + modified NETIO_PROCEXISTS(), NETIO_PROCEXEC(), NETIO_PROCEXECW(),
      NETIO_FUNCEXEC(), NETIO_OPENDATASTREAM(), NETIO_OPENITEMSTREAM()
      client side functions to accept as optional 1-st parameter
      connection pointer returned by NETIO_GETCONNECTION()
    + modified NETIO_CLOSESTREAM() and NETIO_GETDATA() client side
      functions to accept as optional 2-nd parameter connection pointer
      returned by NETIO_GETCONNECTION()
2010-05-22 21:55:01 +00:00
Viktor Szakats
6a7efb03ec 2010-05-22 17:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
    - Deleted references to hb-mkslib.

  * bin/hb-func.sh
  * bin/postinst.sh
    * Moved functions to postinst.
2010-05-22 15:52:18 +00:00
Viktor Szakats
ff94ab0b7b 2010-05-22 17:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
  * bin/postinst.sh
    - Deleted 'hbmk' script. Now superceded by hbmk2, which is
      backward compatible with hbmk.
    - Deleted 'hb-mkslib' compatibility synonym. Use 'hb-mkdyn'
      instead.
2010-05-22 15:19:30 +00:00
Viktor Szakats
757850ff60 2010-05-22 16:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! -hbimplib extended for bcc and msvc* to automatically recognize
      and use .def file with the same name as the .dll, if present.
    ! -hbimplib extended for bcc to first look for any existing
      OMF .lib file with the same name as the .dll.
    ! Refined fallback logic used in implib generation.
      (moved .dll existence check to lower level)
    * Refinements in pathsep usage in implib generation.

  * contrib/sddfb/sddfb.hbi
  * contrib/hbfbird/hbfbird.hbi
    + Using COFF libs for pocc targets.
2010-05-22 14:45:13 +00:00
Przemyslaw Czerpak
3f4fbb20d7 2010-05-22 13:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    * minor modification in hb_oleDispInvoke() function
2010-05-22 11:41:38 +00:00
Viktor Szakats
19cf7b4a7c 2010-05-22 10:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! -hbimplib extended for pocc to first look for any existing
      .lib file with the same name as the .dll.
2010-05-22 08:58:10 +00:00
Viktor Szakats
5ca20b5be1 2010-05-21 21:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! -hbimplib extended for msvc to first look for any existing
      .lib file with the same name as the .dll.

  * contrib/sddfb/sddfb.hbi
  * contrib/hbfbird/hbfbird.hbi
    * Changed to use existing .lib for msvc compilers.
2010-05-21 19:16:32 +00:00
Viktor Szakats
d8d5c8c4b2 2010-05-21 17:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/genhrb.c
    ! Fixed very old copy paste error in .hrb generation feedback 
      text.
2010-05-21 15:06:56 +00:00
Viktor Szakats
fd6c16eced 2010-05-21 11:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/gtwvw/gtwvw.c
  * examples/gtwvw/hbgtwvw.h
    * HB_EXPORT cleanup.
2010-05-21 09:59:42 +00:00
Viktor Szakats
a98d098119 2010-05-21 11:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_EXTERN macro to eventually replace 'extern' keyword.

  * include/hbstack.h
  * include/hbsocket.h
  * include/hbapicls.h
  * contrib/xhb/hbserv.h
  * contrib/gtwvg/gtwvg.h
  * contrib/hbcairo/hbcairo.h
  * examples/gtwvw/gtwvw.c
  * examples/gtwvw/hbgtwvw.h
    ! Fixed declarations to use 'extern HB_EXPORT' keyword order.
    ! Fixed declarations where 'extern' keyword was missing.

  ; TODO: To fix watcom .dll support 'extern HB_EXPORT <type> <func()>'
          will have to be changed to 'extern <type> HB_EXPORT <func()>'
          or even better to 'HB_EXTERN <type> HB_EXPORT <func()>' to
          also stay future-proof.
2010-05-21 09:47:48 +00:00
Viktor Szakats
55af9daf4b 2010-05-21 08:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_svc.c
    + WIN_SERVICEINSTALL(): Extended to accept 3rd parameter
      for the full filename of the service executable. This
      makes it possible to install other .exes not just self.
2010-05-21 06:52:49 +00:00
Pritpal Bedi
b669a223c9 2010-05-20 16:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg
    ! Two small fixes. No code regeneration required.
2010-05-20 23:50:49 +00:00
Viktor Szakats
e5507489ea 2010-05-21 01:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Showing warning when HB_BUILD_IMPLIB=yes is used without
      'install' make option.
2010-05-20 23:06:29 +00:00
Viktor Szakats
977cffcf00 2010-05-20 23:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed overlook in recent modification (put .def file macros
      in normal linker command template)
    ! Fixed missing '-nologo' option in msvc -hbdyn[vm] linker 
      command template.
2010-05-20 21:35:20 +00:00
Viktor Szakats
7f803c89f0 2010-05-20 23:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed filter evaluation to not let envvar names colliding
      with built-in filter keywords influence the results.
      (f.e. '{watcom}' while having properly configured watcom
      compiler defining WATCOM envvar and using a non-watcom
      compiler for the actual hbmk2 session).
    % Optimized filter evaluation.
    ; Thanks to Przemek for the patches.
2010-05-20 21:18:46 +00:00
Przemyslaw Czerpak
0205170996 2010-05-20 21:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    * cover some functions and HB_THREADSTATE structure by _HB_API_INTERNAL_
    * export hb_threadReleaseCPU() function
2010-05-20 19:15:11 +00:00
Viktor Szakats
1c380b63ed 2010-05-20 21:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * config/rules.mk
  * external/pcre/Makefile
    + Added HB_CFLAGS_STA variable to hold C compiler options 
      passed solely when compiling for static lib.
    * Change PCRE setup to use HB_CFLAGS_STA instead of -U 
      trick at the same time silencing msvc warning.
2010-05-20 19:07:59 +00:00
Viktor Szakats
c17e6e8610 2010-05-20 20:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * config/rules.mk
    + Added HB_CFLAGS_DYN variable to pass lib specific options
      specially directed to compilation phase when building
      to create a .dll. Currently this affects pcre and zlib since
      these are included in harbour .dll.

  * external/libhpdf/Makefile
  * external/pcre/Makefile
  * external/png/Makefile
  * external/zlib/Makefile
    + Configured HB_CFLAGS_DYN for these libs to properly create
      exported symbols in harbour .dll. This was a problem so far
      for any non-mingw made harbour .dll.
2010-05-20 18:58:21 +00:00