Commit Graph

1235 Commits

Author SHA1 Message Date
Viktor Szakats
3410c9c196 2011-03-11 13:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    * Changed to use target platform instead of host
      platform to decide about ld config. Checkme.
2011-03-11 12:42:17 +00:00
Viktor Szakats
4d314929e3 2011-03-11 13:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbrun/hbrun.prg
    ! Fixed to not crash due to corrupted .hrb leftover files next to hbrun executable.

  * src/compiler/hbusage.c
    ! typo in e-mail address
  * contrib/hbqt/hbqt_common.hbm
    + qt autodetection on beos
  * config/postinst.hbs
    * ld config -> linux only
  ; [Tamas Tevesz]
2011-03-11 12:37:30 +00:00
Viktor Szakats
37c7665abf 2011-03-10 07:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbgs/hbgs.hbp
    + Added autodetection path [Tamas Tevesz]
  - contrib/hbmlzo/3rd/minilzo/minilzo.hbx
    - Deleted .hbx file (always empty, not needed for 3rd libs)
  * contrib/hbmlzo/3rd/minilzo/minilzo.hbp
    - Deleted commented/empty option.
  * contrib/hbqt/hbmk2_qt.hbs
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
    * Formatting.
  * config/global.mk
    + Attempt to add better LIBRARY_PATH envvar support for beos.
      Please test.
2011-03-10 06:55:02 +00:00
Viktor Szakats
8ccafaceb9 2011-03-06 18:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpost.hbm
  * config/postinst.hbs
    ! Cygwin fixes. Also contains logic from Tamas.

  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
    - Deleted comment. [Tamas Tevesz]
2011-03-06 17:40:09 +00:00
Przemyslaw Czerpak
09283469f1 2011-03-01 11:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/win/bcc.mk
  * harbour/utils/hbmk2/hbmk2.prg
    * disabled W8060 warnings in BCC builds when warning level is set to low

  * harbour/src/rtl/gtwin/gtwin.c
    ! added missing void in hb_gt_win_IsFullScreen() declaration
2011-03-01 10:50:26 +00:00
Viktor Szakats
a61dbea633 2011-03-01 09:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbgtinfo.ch
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
    + HB_GTI_ISFULLSCREEN checking and setting inside GTWIN done.
    ! Minor fix for GTWVT, code patched to work on Windows 95 (tested).
    ; [Aleksander Czajczynski]

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

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

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

  * harbour/src/rtl/base64c.c
    * generate RTE if encode string size is too big 
    * eliminated unnecessary INT_MAX string limit
2011-03-01 01:07:16 +00:00
Viktor Szakats
4bcee3a895 2011-02-28 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/hbmzip.hbp
    * Changed header used for minizip autodetection.
      zip.h is also used by component named libzip.
      Thanks to Przemek for the hint.
      [ looking for multiple headers (possibly connected by various 
      bool operators) is too huge work for so far too little gain, so
      for now I pass it.]

  * contrib/hbrun/hbrun.prg
    + Use HB_GTI_FULLSCREEN to detect if the GT is capable of non-console 
      mode of operation (formely hard-wired check for GTCGI was done).
      Pls verify me.

  * config/postinst.hbs
    + Show msg that postinst.hbs is finished (and errlev) [Tamas]
2011-02-28 19:02:16 +00:00
Viktor Szakats
d2fe20cb82 2011-02-26 14:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    ! Typo.
2011-02-26 13:28:56 +00:00
Viktor Szakats
5eec02d8ed 2011-02-26 10:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqtgui.ch
  * contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_init.cpp
    ! Fixed indentation in recent additions.
    + Added new function hbqt_create_objectFromEventType2() which
      is supposed to create the object and fill PPTR in C code
      (without calling back to .prg)
      I didn't make any functional tests so pls do it.
    + Added mechanism to register/unregister event types with
      object names.
    + QTGUI will now register its event types on init.
    + Event filter changed to look for registeres event types
      and create appropriate object dynamically.
    ; TODO: Old code is still there, until the new one gets tested.
            Please do tests.
    ! Fixed to pull required class wrappers for object types
      associated with events.
    ; TOFIX: hbqt_create_object()/HBQT_CREATEQTOBJECT() is wrong
             because it uses macro expansion to call object instantation,
             which means _ALL_ HBQT apps now require to pull and link
             every existing QT symbols to work reliably, which is
             unacceptable for all apps (except HBIDE which pulls all
             these anyway)
             We should move to full C++ wrappers to solve this
             cleanly.
    ; TOFIX: Clean code to never use the unsafe hbqt_create_objectFromEventType().
    ; TOFIX: Just a note: Raw pointers are still used in QLIST f.e.,
             so even the raw pointer problem is not fully solved yet.

  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtcore/hbqtcore.hbx
    * Regenerated automatically.
    ; !!! FOR HBQT (AND ALL) DEVELOPERS: Please enable HB_REBUILD_EXTERN=yes !!!

  * contrib/hbtip/sendmail.prg
    + Encode .xml attachments in base64. Response to sf.net #3192722
    + Set MIME type for .xml (text/xml)
    ; Pls review this.

  * config/postinst.hbs
    + Create dynlib symlinks only if the dynlib was actually created
      and exists. (different patch from what we've dicussed on the
      list, so pls verify it)
2011-02-26 09:53:15 +00:00
Viktor Szakats
ed48efd2f3 2011-02-24 19:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.mk
    ! make the clean target also remove the newly-created libharbour* symlinks [Tamas]

  * utils/hbmk2/hbmk2.prg
    + Added TODO to eventually delete lib grouping.

  * config/linux/watcom.mk
    - Disabled dynlib creation on linux/watcom, because watcom support
      is broken yet.
2011-02-24 18:34:23 +00:00
Viktor Szakats
76eb4a7412 2011-02-23 10:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/sunpro.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + adjust dt_soname generation for sun toolchain [Tamas]

  * contrib/hbpost.hbm
    + Added soname support for sunos. Pls test.

  * config/global.mk
    * Minor.
2011-02-23 09:58:51 +00:00
Viktor Szakats
110230ef33 2011-02-23 00:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed to use cygharbour-21.dll name for cygwin targets.

  * config/bsd/gcc.mk
    + Added -soname option.

  * config/cygwin/gcc.mk
    ! Revert. cygwin doesn't have $(LN) command.

  ; Some useful looking links, for the record:
    - http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html
    - http://www.akkadia.org/drepper/dsohowto.pdf
    - http://abicheck.sourceforge.net/abicheck.html#Documentation
2011-02-22 23:32:36 +00:00
Viktor Szakats
72d11d87b8 2011-02-22 23:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/pcc.mk
  * config/darwin/icc.mk
  * config/hpux/gcc.mk
  * config/linux/watcom.mk
  * config/linux/icc.mk
  * config/cygwin/gcc.mk
    * $(LN) commands inlined in ($DY) line.
2011-02-22 22:55:04 +00:00
Viktor Szakats
ac2b90b3f1 2011-02-22 23:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/linux/sunpro.mk
  * config/sunos/sunpro.mk
    + Added $(LN) commands to these remaining targets.
      Only vxworks is missing them now, but I can't remember 
      how this worked there.
2011-02-22 22:51:29 +00:00
Viktor Szakats
959357134f 2011-02-22 23:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/pcc.mk
  * config/hpux/gcc.mk
  * config/linux/watcom.mk
  * config/linux/icc.mk
    + Added $(LN) calls for targets it was missing from.
      (and which they use multiline dynlib creation block)

  * config/cygwin/gcc.mk
    * Moved $(LN) calls to separate lines to be in sync with 
      rest of platforms with multiline dynlib creation block.
2011-02-22 22:45:53 +00:00
Viktor Szakats
659850bdcc 2011-02-22 23:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/linux/clang.mk
  * config/cygwin/gcc.mk
  * config/symbian/gcc.mk
    + Added symlinks for "2.1" versioned dynlib name.
    ; [ Apparently several *nix platforms/compilers don't have symlinks implemented yet at all. ]
2011-02-22 22:39:21 +00:00
Viktor Szakats
ecce8a322c 2011-02-22 23:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/sunpro.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * massage solaris configs to be more in line with other gccs. [Tamas]
2011-02-22 22:32:27 +00:00
Viktor Szakats
dcf504288f 2011-02-22 21:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/clang.mk
    ! Typo after recent mods.
2011-02-22 20:49:49 +00:00
Viktor Szakats
6d12a3f041 2011-02-22 21:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed regression for win/wce systems after recent dynlib changes.
      On these systems the referenced lib name should always contain
      the version number.
2011-02-22 20:38:35 +00:00
Viktor Szakats
f8fd50ecd0 2011-02-22 18:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
    * Cleaned to use new central variables for harbour dynlib links.
    ; TODO: Do the same with rest of *nix targets when adding soname
            and '2.1' style symlinks, when current system proves okay 
            with darwin and linux/gcc targets.
2011-02-22 17:43:15 +00:00
Viktor Szakats
3db8ee700c 2011-02-22 18:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    * Restored open mode. Still waiting for proper fix.
    * Upped buffer to 65536.

  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/linux/clang.mk
  * config/dyn.mk
  * config/cygwin/gcc.mk
  * config/symbian/gcc.mk
    * Renamed DYN_FILE2/DYN_NAME2 to DYN_FILE/NAME_NVR.
      (NVR for 'versionless')
2011-02-22 17:09:50 +00:00
Viktor Szakats
f7515e28c5 2011-02-22 16:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/gcc.mk
    * Using central macros for dynlib versions.

  * config/dyn.mk
    + Added macros to help creation of .major.minor versioned dynlib links.
2011-02-22 15:25:40 +00:00
Viktor Szakats
30d0951cfd 2011-02-22 16:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
    ! LIB_PREF -> DYN_PREF
2011-02-22 15:13:16 +00:00
Viktor Szakats
0367a7f8f4 2011-02-22 16:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    % Deleted two remaining HB_DYNLIB_NAME* variables.
2011-02-22 15:08:35 +00:00
Viktor Szakats
7b2883a9e3 2011-02-22 16:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/dynlib/2nd/Makefile
  * src/dynlib/Makefile
  * config/none.mk
  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/dyn.mk
  * config/os2/gcc.mk
    * DYNNAME2 -> DYNNAME
2011-02-22 15:01:39 +00:00
Viktor Szakats
788ed22d93 2011-02-22 15:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/dynlib/2nd/Makefile
  * src/dynlib/Makefile
  * config/none.mk
  * config/dyn.mk
    % Dropped DYNNAME. Now using DYNNAME2 only.
    % Dropped HB_DYNLIB_NAME*. Now using HB_DYNLIB_BASE* only.
    ; TODO: Rename DYNNAME2 to DYNNAME, rename HB_DYNLIB_BASE* to HB_DYNLIB_NAME*.
2011-02-22 14:55:12 +00:00
Viktor Szakats
251a3a00ee 2011-02-22 13:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
  * config/global.mk
  * config/bin.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/dyn.mk
  * config/os2/gcc.mk
    * Trying to cleanup the harbour dynlib name situation.
      Here's the plan (which is similar to what's used in contrib area):
         win, wce: harbour-21[-subtype][.dll/.lib]
         dos, os2: harbour[.dll|.???]
         darwin:
            libharbour.2.1.0.dylib
            libharbour.2.1.dylib -> (symlink) [compatibility level]
            libharbour.dylib -> (symlink)
         *nix:
            # libharbour.s?.2.1.0
            # libharbour.s?.2.1 -> (symlink) [soname]
            # libharbour.s? -> (symlink)
    ; It's possible it's broken now. Pls test linux/gcc and darwin.
      'install' was not tested.
    ; TODO: Clean variable usage, there is some redundancy, plus
            some places where current solution is not generic, f.e.
            using HB_VER_*, HB_DYNLIB_BASE vs. HB_DYNLIB_NAME, etc.

  * harbour/src/rtl/fscopy.c
    * Reverted 2011-02-22 12:27 UTC+0200 Mindaugas Kavaliauskas
      which made behavior inconsistent with rest of similar
      functions like FERASE(), FRENAME(), which also don't throw
      RTE if bad parameter is passed, but return FERROR()
      and failure instead.
      Also restored _SET_DEFAULT handling to not create a special case
      compared to __COPYFILE() behavior, ia. some features like
      FXO_SHARELOCK are still enabled while FXO_DEFAULT is not).
      Pls rewrite it using hb_fsOpen()/hb_fsCreate() if that behavior
      bothers you.
2011-02-22 12:13:08 +00:00
Viktor Szakats
7412a0b97b 2011-02-20 19:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpost.hbm
  * config/linux/gcc.mk
    + Setting -soname on linux systems. Experimental, I don't know a bit about 
      what this value should be or how it's supposed to work, so pls test.
      Once settled one something, it should be extended to all *nix platforms 
      and all linux compilers.
2011-02-20 18:47:21 +00:00
Viktor Szakats
6e5efdd168 2011-02-19 20:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
  * package/harbour-win.spec.in
  * package/harbour-wce.spec.in
  * include/hbver.h
  * config/global.mk
    + Changed version number to:
         2.1.0rc2 (from 2.1.0rc1)
2011-02-19 19:50:00 +00:00
Viktor Szakats
0703b5799d 2011-02-13 13:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * src/dynlib/Makefile
  + src/dynlib/2nd
  + src/dynlib/2nd/Makefile
    * Changed so that _HB_BUILD_DYN_ST=yes now creates a separate,
      secondary dll in ST mode, called harbourst/harbours.
2011-02-13 12:47:03 +00:00
Viktor Szakats
1db06691e5 2011-02-10 21:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/dynlib/Makefile
  * config/postinst.hbs
  * config/global.mk
  * config/bin.mk
    * Cleaned up names after previous change.
2011-02-10 20:51:49 +00:00
Viktor Szakats
64eec33e40 2011-02-10 19:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- src/dynlib/mt
  * src/dynlib/Makefile
  * src/vm/maindllp/dllpcode.c
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * utils/hbmk2/hbmk2.prg
  * config/postinst.hbs
  * config/global.mk
  * config/bin.mk
    * Changed to have only one harbour dll, and this one with MT support.
      This means the old MT mode dll named harbourmt/harbourm is no more
      and the old ST mode dll vanished also. This will result in much 
      cleaner layout of Harbour binary tree, smaller distribution size, 
      and unambigous dll tree when linking an app with dll multiple 
      components (f.e. contribs).
      If someone wants to build an ST mode harbour dll, she can use the 
      internal build-time option: _HB_BUILD_DYN_ST=yes
    ; Please test.

    ; TODO: Do a final cleanup on internal variable names to not have "ST" in them.
2011-02-10 18:21:32 +00:00
Viktor Szakats
96ec4a7825 2011-02-10 13:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbrun/hbrun.prg
  * config/postinst.hbs
  * bin/hb3rdpat.hbs
    * Using new filename handling functions from core.
    % Deleted redundant local copies of these functions.

  * utils/hbmk2/hbmk2.prg
    + REQUESTing new filename handling function till they are
      used in hbmk2 too.
    ; TODO: Make the switch in hbmk2 too.
2011-02-10 12:34:30 +00:00
Viktor Szakats
0eedcc3e20 2011-02-09 02:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
  - contrib/hbrun/hbrunext.hbp
  + contrib/hbrun/hbrun.prg
  + contrib/hbrun/hbrun.hbp
  + contrib/hbrun/hbrun.1
  * config/postinst.hbs
  - utils/hbrun
  * utils/Makefile
    * Moved hbrun to contrib area.
    ; Now it can contain any contrib libs.
2011-02-09 01:28:20 +00:00
Viktor Szakats
1c6e0d342a 2011-02-07 10:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Do not add .hbx file to input file list if the file doesn't
      exist. This is to resolve the chicken-egg problem when
      initially creating the .hbx file for a new project.
    ! Never use .hbx filename for forming the output name
      and deciding about startup module.

  * utils/hbmk2/hbmk2.prg
  * config/postinst.hbs
    + Do not add duplicates to extern list.
      (it may have only happened if renaming sources and 
      building without clean)
2011-02-07 09:56:13 +00:00
Viktor Szakats
1c0f6467db 2011-02-05 17:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/ssl.c
    ! Suppressed msvc warning.
    ! Fixed build error in bcc.
    ; Both regression after 2011-02-03 01:44 UTC+0100 Viktor Szakats

  * config/postinst.hbs
  - config/hbextern.hbs
    * Merged hbextern.hbs into postinst.hbs.
2011-02-05 16:52:44 +00:00
Viktor Szakats
3e640f36a4 2011-02-05 09:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/hbextern.hbs
    + Now generates code which makes it possible to use __HBEXTREQ__
      macro to compile .hbx as extern puller module. So no extra
      .prg is needed for that.

  * contrib/hbpost.hbm
    + Define __HBEXTREQ__

  * contrib/hbunix/hbunix.hbp
  + contrib/hbunix/hbunix.hbx
    + Added extern puller (now without extra .prg)

  * contrib/hbrunext/pullext.prg
  * contrib/hbrunext/hbrunext.hbp
    + Added hbunix for *nix builds.

  * contrib/hbct/hbct.hbx
  * contrib/hbmxml/hbmxml.hbx
  * contrib/hbxbp/hbxbp.hbx
  * contrib/hblzf/hblzf.hbx
  * contrib/hbxdiff/hbxdiff.hbx
  * contrib/hbwin/hbwin.hbx
  * contrib/xhb/xhb.hbx
  * contrib/hbexpat/hbexpat.hbx
  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbx
  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbx
  * contrib/hbqt/qtuitools/hbqtuitools.hbx
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbx
  * contrib/hbxpp/hbxpp.hbx
  * contrib/rddads/rddads.hbx
  * contrib/hbgd/hbgd.hbx
    * Regenerated.

  ; TODO: Optimize out extern puller .prgs.
2011-02-05 08:22:50 +00:00
Viktor Szakats
4d140dc2d6 2011-02-03 22:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/rtl/hbfilehi.prg
    * Renames in new path/fn handling functions.
      * HB_FNAMEDIRGET()     -> HB_FNAMEDIR()
      * HB_FNAMENAMEGET()    -> HB_FNAMENAME()
      * HB_FNAMENAMEEXTGET() -> HB_FNAMENAMEEXT()
      * HB_FNAMEEXTGET()     -> HB_FNAMEEXT()
      * HB_FNAMEEXTDEF()     -> HB_FNAMEEXTSETDEF()

  ; Patch from Tamas:

  * src/rtl/hbcom.c
    + adds minix serial device names to hbcom

  * utils/hbmk2/hbmk2.prg
    ! Fixed RTE regression in previous recent minix patch.

  * config/dos/djgpp.mk
    ! Applied previous C++ gcc flag patch also to djgpp.
2011-02-03 21:44:01 +00:00
Viktor Szakats
132069d802 2011-02-03 18:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/beos/gcc.mk
  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/vxworks/gcc.mk
  * config/minix/gcc.mk
  * config/darwin/gcc.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/linux/gcc.mk
  * config/cygwin/gcc.mk
  * config/symbian/gcc.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    ! Separate -Wimplicit-int and -Wimplicit-function-declaration 
      so that they are added to cflags only when not in cpp mode.
    ; Patch by Tamas.
2011-02-03 17:14:19 +00:00
Viktor Szakats
cac8327c29 2011-02-03 09:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * INSTALL
    + Minix additions.

  * config/global.mk
    ! Added missing 'else' after prev.
2011-02-03 08:47:48 +00:00
Viktor Szakats
93e1f182c4 2011-02-03 09:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  * include/hbatomic.h
  * include/hbfloat.h
  * src/vm/task.c
  * src/common/hbgete.c
  * src/common/hbver.c
  * src/common/hbprintf.c
  * src/rtl/gtcrs/gtcrs.h
  * src/rtl/hbsocket.c
  * utils/hbmk2/hbmk2.prg
  * config/detplat.mk
  * config/global.mk
  * config/detect.mk
  + config/minix
  + config/minix/libs.mk
  + config/minix/gcc.mk
  + config/minix/ack.mk
  + config/minix/global.mk
    + Added Harbour port for minix 3 operating system.
    ; Created by Tamas Tevesz. Many thanks!
2011-02-03 08:20:28 +00:00
Viktor Szakats
9a1aa13d58 2011-02-02 22:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
  * config/postinst.hbs
  - bin/hbmk2l2d.hbs
    - Deleted now obsolete workaround tool. Use HB_BUILD_CONTRIB_DYN=yes 
      instead.
2011-02-02 21:16:19 +00:00
Viktor Szakats
6ef5fd19a8 2011-02-02 22:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    * MAKEDIR() -> HB_DIRCREATE().
      Warning: Make a 'make clean' _before_ updating to this revision.
               Or, do a fresh checkout and build that.
               Or, do a clean rebuild twice.
               (otherwise plain 'make clean' will end with an error)

  - examples/pp
    - Deleted obsolete PP code.

  ; NOTE: Now that HB_BUILD_CONTRIB_DYN=yes works pretty much
          okay on both win and linux, I will delete this
          tool meant as a temporary workaround for those
          requiring dynamic versions of Harbour libs:
            bin/hbmk2l2d.hbs
          If you need it, make a copy of it locally, though
          most pbly nobody ever used this.
2011-02-02 21:10:15 +00:00
Viktor Szakats
4b18334560 2011-01-21 16:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/hb_c.cfg
    * Changed to align assignments.
    ! Fixed to align case statments like it's done in Harbour.

  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwing.c
    * Reformatted with uncrustify.
      Results are fantastic with this tool.
2011-01-21 15:47:47 +00:00
Viktor Szakats
0b27183357 2011-01-21 02:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/hb_c.cfg
    + Some more settings.
    * Changed to not wrap lines at column 100. It'd be great 
      feature, though sometimes it makes code less readable.

  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwing.c
    ! Fixed formatting using uncrustify.

  * contrib/gtwvg/wvggui.c
    * Minor modification to make it not break when autoformatted.

  * contrib/hbmisc/dates2.c
  * contrib/hbtip/encurlc.c
  * contrib/hbwin/win_prn2.c
    % Optimized out HB_ISLOG() calls.
2011-01-21 01:22:58 +00:00
Viktor Szakats
b6117f003d 2011-01-20 20:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/c.mk
  * config/rules.mk
    + Added support for Objective C input files (.m)
2011-01-20 19:32:03 +00:00
Viktor Szakats
076030bc1a 2011-01-20 18:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
  * package/harbour-win.spec.in
  * package/harbour-wce.spec.in
  * include/hbver.h
  * config/global.mk
    + Changed version number to:
         2.1.0rc1 (from 2.1.0beta3)
2011-01-20 17:30:41 +00:00
Przemyslaw Czerpak
c0b28bd5da 2011-01-15 01:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
    * do not inherit in macrocompiler -z compile time switch when -kc is
      also used

  * harbour/src/common/expropt2.c
    * disable logical expression optimization (reduction) in macrocompiler
      when -kc compile time switch is used.

  * harbour/config/beos/gcc.mk
  * harbour/config/qnx/gcc.mk
  * harbour/config/bsd/gcc.mk
  * harbour/config/wce/mingwarm.mk
  * harbour/config/vxworks/gcc.mk
  * harbour/config/hpux/gcc.mk
  * harbour/config/darwin/gcc.mk
  * harbour/config/dos/djgpp.mk
  * harbour/config/win/mingw.mk
  * harbour/config/linux/gcc.mk
  * harbour/config/cygwin/gcc.mk
  * harbour/config/symbian/gcc.mk
  * harbour/config/os2/gcc.mk
  * harbour/config/sunos/gcc.mk
  * harbour/utils/hbmk2/hbmk2.prg
    * enable some important warnings in GCC builds using -W<name>... instead
      of -Wall and -Wno-<name>... for warning level set to low.
      It should help in backward compatibility with some older GCC versions.
2011-01-15 00:15:42 +00:00
Przemyslaw Czerpak
7941a797a7 2011-01-14 10:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/beos/gcc.mk
  * harbour/config/qnx/gcc.mk
  * harbour/config/bsd/gcc.mk
  * harbour/config/wce/mingwarm.mk
  * harbour/config/vxworks/gcc.mk
  * harbour/config/hpux/gcc.mk
  * harbour/config/darwin/gcc.mk
  * harbour/config/dos/djgpp.mk
  * harbour/config/win/mingw.mk
  * harbour/config/linux/gcc.mk
  * harbour/config/cygwin/gcc.mk
  * harbour/config/symbian/gcc.mk
  * harbour/config/os2/gcc.mk
  * harbour/config/sunos/gcc.mk
    * use -Wall -Wno-unused -Wno-pointer-sign -Wno-uninitialized
          -Wno-switch -Wno-strict-overflow -Wno-main
      instead of -W when warnings are not enabled with GCC based compilers.
      Using only -W only is rather useless because this switch enables
      warnings which can be usually ignored in 3-rd party code.
      This modification should help in locating bugs introduced by us
      to 3-rd party code, i.e. due to wrong header files used on some
      platforms (we do not use autoconf assuming some default settings
      what can be wrong in some cases). It should also not hide some
      important/critical bugs in 3-rd party code.
      This modification pacifies some common warnings which can be
      ignored usually but it also enables some more important ones.
      If it's necessary then we can tune it a little bit more and disable
      some other warnings too.
      It's possible that on some platforms using very old GCC versions
      some of -W* switches are not supported - please make tests and
      inform us about problems.

  * harbour/utils/hbmk2/hbmk2.prg
    * use -Wall -Wno-unused -Wno-pointer-sign -Wno-uninitialized
          -Wno-switch -Wno-strict-overflow -Wno-main
      instead of -W when warning level is set to low with GCC based
      compilers
2011-01-14 09:13:06 +00:00