Commit Graph

13951 Commits

Author SHA1 Message Date
Mindaugas Kavaliauskas
e8a29d5ef3 2010-04-23 01:32 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads1.c
    * adjusted empty date fallback condition in putValue method. 
      Thanks Przemek for suggestion.
2010-04-22 22:32:31 +00:00
Viktor Szakats
6a2b94a9f6 2010-04-23 00:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_evnt.c
    ! Fixed C++ casting errors.
2010-04-22 22:20:30 +00:00
Viktor Szakats
9e62d217a0 2010-04-22 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/minizip/ioapi.h
    ! Added darwin-specific workaround to disable 64-bit
      file API calls (like fopen64()). These don't exist on darwin.
2010-04-22 17:40:41 +00:00
Viktor Szakats
0fbe571ed1 2010-04-22 18:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.prg
    ! Added hack to workaround the exception where mysql .dll doesn't 
      work with Harbour if copied to .a file. Instead I copy over the 
      import .lib to .a as before. If anyone knows a better solution, 
      pls speak up.
2010-04-22 16:42:19 +00:00
Viktor Szakats
d308cb7a32 2010-04-22 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbtrace.c
    ! Fixed another typo in recent modifications.
      [Too bad syslog() is missing from watcom. Makes testing
      much painful.]
      Please test.
2010-04-22 16:33:17 +00:00
Viktor Szakats
ab0e53cbe1 2010-04-22 18:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/Makefile
  * contrib/hbwin/Makefile
    + Enabled WIN32_LEAN_AND_MEAN mode.

  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/wapi_shellapi.c
  * contrib/hbwin/win_shell.c
    ! Fixed to build in WIN32_LEAN_AND_MEAN mode.
2010-04-22 16:30:14 +00:00
Viktor Szakats
60d14a931a 2010-04-22 18:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added information for CUPS.

  * mpkg_rpm.sh
  * harbour.spec
  * contrib/hbcups/Makefile
    + Added remaining bits for CUPS dependency.

  ; Pls verify .rpm package name, I couldn't try it.

  * contrib/hbcups/Makefile
    - Deleted unnecessary autodetection path.
2010-04-22 16:14:08 +00:00
Mindaugas Kavaliauskas
890564f764 2010-04-22 18:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads1.c
    ! Fixed date handling in area putValue method for .dbf tables. 
      ADS does not support dates smaller than 0001-01-01 and stores 
      invalid values in .dbf without any error. F.e., 0000-01-01 is 
      stored as '-0011231', CTOD("")+5 is stored as '****1128'. Such 
      invalid filed values generates ADS runtime error 5095 later on 
      getValue area method.
      DBF RDD stores empty dates in case of unsupported date range.
      This fix makes ADS RDD behaviour more compatible to DBF RDD. 
      ADSADT behaviour is not changed because ADS allows to store 
      and retrieve field values for dates before 0001-01-01.
2010-04-22 15:47:57 +00:00
Viktor Szakats
232f888088 2010-04-22 17:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbtrace.c
    ! Deleted just added va_copy() trick from non-*nix OSes.
2010-04-22 15:31:52 +00:00
Viktor Szakats
995ea4f04f 2010-04-22 14:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcups/Makefile
    ! Fixed typo in autodetection code.
2010-04-22 12:46:11 +00:00
Viktor Szakats
869dd87d12 2010-04-22 14:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/Makefile
  + contrib/hbcups
  + contrib/hbcups/Makefile
  + contrib/hbcups/hbcups.c
  + contrib/hbcups/hbcups.hbc
  + contrib/hbcups/tests
  + contrib/hbcups/tests/hbmk.hbm
  + contrib/hbcups/tests/test.prg
    + Added basic CUPS wrapper lib, based on code idea posted on the
      list by Doug.
2010-04-22 12:38:52 +00:00
Viktor Szakats
62ba429c07 2010-04-22 13:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbtrace.c
  * INSTALL
    + Added trace output support to syslog() for *nix systems
      (except watcom builds).
      It's enabled by HB_TR_SYSOUT=yes envvar, which now
      supercedes previous HB_TR_WINOUT setting.
      Windows users pls change HB_TR_WINOUT to HB_TR_SYSOUT.
    ! Fixed potential problem in HB_TR_WINOUT code, where
      the same vararg holder variable was used multiple
      times. On *nix this caused GPF. The safest is to make
      a copy of it for each usage.

  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/Makefile
  + contrib/hbwin/tests/testevnt.prg
  + contrib/hbwin/win_evnt.c
    + Added function to add a new event to the Windows event log:
        WIN_REPORTEVENT( [<cServerName]>, <cEventLog>,
                             <nType>, [<nCategory>], [<nEventID>],
                                <cString> | <acString>, [<cRawData>] ) -> <lSuccess>

  * contrib/hbwin/win_prn2.c
    ! Fixed wce warning.

  * utils/hbmk2/examples/contribf.hbc
  * utils/hbmk2/examples/contrib.hbc
    + Added minizip lib.
2010-04-22 11:49:30 +00:00
Viktor Szakats
6be47185fd 2010-04-22 11:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- external/libpng
  + external/png
  * external/png/Makefile
  * external/libhpdf/Makefile
  * external/Makefile
  * harbour.spec
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/hbwin/hbwin.hbc
    * Renamed locally hosted libpng lib name from 'libpng'
      to 'png'.
      This way Harbour shifts to the *nix naming and syncs
      better with these systems. On Windows the "most official"
      binary builds still use 'libpng', so if someone uses them
      instead of locally hosted version (which is not very likely)
      the .hbc files shipped with Harbour should be edited
      accordingly. This change also satisfies past request from
      some users.
    ; NOTE: INCOMPATIBLE, pls change lib name 'libpng' to 'png'
            for all platforms in your make files.

  * contrib/hbhpdf/tests/harupdf.prg
    * Indentation.
    * Formatting.

  * external/minizip/readme.txt
    * Deleted paths from filenames.
2010-04-22 09:04:05 +00:00
Viktor Szakats
971d0da25c 2010-04-22 03:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/achoice.prg
    ! Fixed to be more compatible with Clipper when passed wrong
      parameter types to ACHOICE(). (replacing DEFAULT TO usage
      with foolproof method)
    ! ACHOCIE() fixed to default dimensions to 0,0,0,0 like in Clipper.
    ! Fixed typo in ACHOICE() K_UP handling, which caused a bogus line
      to appear below the bottom when the height of the achoice area
      was only one line. Pls verify me for regressions.
    ! ACHOICE() fixed to immediately return zero (and position
      cursor) when wrong type or empty array was received as
      value array.
    ! Fixed minor inefficiency caused by wrongly calculated display
      area width when rightmost colums was out of screen in ACHOICE()
      call.

  * src/rtl/alert.prg
    + HB_ALERT() extended to support all variables types (not
      just strings) when an array is passed as first parameter:
        F.e.: HB_ALERT( { "hello", 100, .T. } )
    % Optimized out two local variables along the way.
2010-04-22 01:38:57 +00:00
Pritpal Bedi
acfe21fc50 2010-04-21 17:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/ideeditor.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idesources.prg
    + Implemented: save/restrore of bookmarks. 
      Now editing instances will be opened containing bookmarks 
      which were placed in previous successful exit. This is 
      valid for bookmarks in primarary window of editing instance, i.e., 
      no split window is taken account of.
2010-04-22 00:33:44 +00:00
Viktor Szakats
57f03810d9 2010-04-22 02:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
  * include/hbver.h
  * config/global.mk
    + Changed version number to:
         2.1.0beta1 (from 2.1.0dev)

  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/RELNOTES
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    * 2.0.0 -> 2.1.0 changes.
2010-04-22 00:21:44 +00:00
Viktor Szakats
9b4831cf63 2010-04-22 00:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor updates to tool links and information.

  * INSTALL
  * external/Makefile
  + external/minizip
  + external/minizip/Makefile
  + external/minizip/readme.txt
  + external/minizip/minizip.dif
  + external/minizip/ioapi.c
  + external/minizip/zip.c
  + external/minizip/unzip.c
  + external/minizip/ioapi.h
  + external/minizip/crypt.h
  + external/minizip/zip.h
  + external/minizip/unzip.h
  * contrib/hbmzip/Makefile
  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbmzip/readme.txt
  - contrib/hbmzip/minizip.dif
  - contrib/hbmzip/ioapi.c
  - contrib/hbmzip/zip.c
  - contrib/hbmzip/unzip.c
  - contrib/hbmzip/crypt.h
  - contrib/hbmzip/ioapi.h
  - contrib/hbmzip/zip.h
  - contrib/hbmzip/unzip.h
    * Moved embedded external code from hbmzip library to
      separate, locally hosted library inside the 'external'
      directory. This way we keep all external code under this
      directory. This change also makes it possible to use
      custom version of this external library, via the
      HB_WITH_MINIZIP envvar.
      NOTE: Everyone using hbmzip, must now add 'minizip'
            to their lib list. (INCOMPATIBLE)
2010-04-21 22:26:46 +00:00
Pritpal Bedi
558c98cd63 2010-04-21 13:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/idesaveload.prg
    ! Fixed a type in previous commit.
2010-04-21 20:35:06 +00:00
Pritpal Bedi
7ed37f0454 2010-04-21 12:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/idesaveload.prg
    + Implemented: hbIDE data files to be saved/retrieved in 
      system folders if hbide.ini with path is not supplied 
      on the command-line. The following algorythm is used:

      FUNCTION hbide_getIniPath( cHbideIni )
         LOCAL cPath, cIni

         IF empty( cHbideIni )
            IF ! hb_FileExists( cIni := hb_dirBase() + "hbide.ini" )
            #if defined( __PLATFORM__WINDOWS )
               cPath := hbide_DirAddPathSep( GetEnv( "APPDATA" ) ) + "hbide\"
            #elif defined( __PLATFORM_UNIX )
               cPath := hbide_DirAddPathSep( GetEnv( "HOME" ) ) + ".hbide/"
            #endif
               IF ! hb_dirExists( cPath )
                  MakeDir( cPath )
               ENDIF
               cIni := cPath + "hbide.ini"
            ENDIF
         ELSE
            cIni := cHbideIni
         ENDIF

         RETURN cIni
 
      This change makes hbIDE to be able to run on any system
      installed via an installer where a writable folder is expected 
      to write to application data.

      Thanks Viktor for the actual code and guidance.
2010-04-21 20:02:51 +00:00
Pritpal Bedi
b28dd57b91 2010-04-20 22:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
    + Implemented: last "View" to be presented at startup.
      Before it was always "Stats" view.

  * contrib/hbide/idetools.prg
    ! Fixed ::execTool() public method to behave properly throgh
      Keyboard Mappings protocol.
2010-04-21 05:32:37 +00:00
Pritpal Bedi
b560452746 2010-04-19 17:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/tests/demoxbp.prg
    % One more :destroy() call.
2010-04-20 00:09:33 +00:00
Pritpal Bedi
e0bb144d5b 2010-04-19 17:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbpfontdialog.prg
    % An important fix for ancilliary dialogs, i.e., file and font,
      to not be added as childrent to parent on :create(). 
      This facilitate to destroy these dialogs after done with.

  * contrib/hbxbp/tests/demoxbp.prg
    ! Destroying XbpFileDialog() explicitly. Now memory is released proper.
2010-04-20 00:02:57 +00:00
Viktor Szakats
84ca90f472 2010-04-19 16:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/tests/demoxbp.prg
    ! Deleted no more existing debug calls.
2010-04-19 14:05:52 +00:00
Viktor Szakats
2db36d6772 2010-04-19 14:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbini.prg
    ! Added proper type checks for all accepted parameters to avoid
      (sometimes obscure) RTEs when passing wrong parameters.

  * src/rtl/profiler.prg
  * src/rtl/hbi18n2.prg
    + Added proper type checks instead of "DEFAULT .. TO' method.
2010-04-19 12:03:51 +00:00
Przemyslaw Czerpak
b294772f47 2010-04-19 12:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/zip.c
    ! fixed GPF reported by Mario.
      Please extensively test and ZLIB/MINIZIP related code.
2010-04-19 10:05:47 +00:00
Pritpal Bedi
20e61f78a3 2010-04-17 23:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbslots.cpp
    % Slots disconnecting QTableWidget were improper, detected 
      through Linux.

  * contrib/hbqt/THbQtUI.prg
    ! More cleanup.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
    ! Fixed some artifacts relevant to Linux.
2010-04-18 06:08:21 +00:00
Pritpal Bedi
e1c5c7a39e 2010-04-17 22:18 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/THbQtUI.prg

  * contrib/hbide/resources/themesex.ui
  * contrib/hbide/resources/themesex.uic

  * contrib/hbqt/qth/QBoxLayout.qth
  * contrib/hbqt/qth/QGridLayout.qth
  * contrib/hbqt/qth/QLayout.qth

  * contrib/hbqt/qtgui/QBoxLayout.cpp
  * contrib/hbqt/qtgui/QGridLayout.cpp
  * contrib/hbqt/qtgui/QLayout.cpp

  * contrib/hbide/idethemes.prg

    + Mode methods populated with custome code to accomodate detatched 
      parents. 

      Now there is no GPF absolutely neither any RTE at exit (WinXP).
      It is 17Apr2010 today, exactly one year and one month since
      I took to this project, and we are through.

      Thanks to all who participated in this project in any way.
2010-04-18 05:34:09 +00:00
Pritpal Bedi
2df579f485 2010-04-17 18:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qtgui/QMainWindow.cpp
  * contrib/hbqt/qtgui/QMenu.cpp
  * contrib/hbqt/qtgui/QToolBar.cpp
  * contrib/hbqt/qtgui/QTreeWidgetItem.cpp
  * contrib/hbqt/qtgui/QWidget.cpp

  * contrib/hbqt/qth/QMainWindow.qth
  * contrib/hbqt/qth/QMenu.qth
  * contrib/hbqt/qth/QToolBar.qth
  * contrib/hbqt/qth/QTreeWidgetItem.qth
  * contrib/hbqt/qth/QWidget.qth

  * contrib/hbqt/generator/hbqtgen.prg
    + Applied patches provided by Francesco Perillo.
      Now no GPF even if oObj:destroy() is not issued.
      I confirm on WinXP and awaiting responses from all of you
      on other platforms.

      If all goes OK, then credit goes to Francesco and Istvan.
      Guys, back them up.
2010-04-18 01:49:09 +00:00
Pritpal Bedi
4d3b8e9a8d 2010-04-17 17:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qtgui/QLayout.cpp
  * contrib/hbqt/qtgui/QTabWidget.cpp
  * contrib/hbqt/qth/QLayout.qth
  * contrib/hbqt/qth/QTabWidget.qth
    ! Fix to prev commit and little synchronization.
2010-04-18 00:47:38 +00:00
Pritpal Bedi
9a427a9d18 2010-04-17 15:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qtgui/QTabWidget.cpp
  * contrib/hbqt/qth/QTabWidget.qth
    + :addTab() patched like Istvan's offering to avoid GPF in Linux.
2010-04-17 22:25:44 +00:00
Pritpal Bedi
82db2de89f 2010-04-16 18:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qtgui/QLayout.cpp
  * contrib/hbqt/qth/QLayout.qth
  * contrib/hbqt/generator/hbqtgen.prg
    + Implemented to pick function body from .qth headers and 
      posted exactly the same within .cpp. Like:
        QLayout.qth
         
          bool activate ()      //  some method before
          virtual void addItem ( QLayoutItem * item ){
            // Code publishes by Istavin.
          }
          void addWidget ( QWidget * w ) // some method after or none

      Note for the opening and closing braces. These must be 
      last character of the method header and first character 
      of the methods last and separate line. 

      This feature facilitates to put the code dierect in headers 
      where we cannot generate it in automated way. This feature is 
      strongly discouraged to be used heavily.
2010-04-17 01:09:20 +00:00
Pritpal Bedi
f4e7033a0c 2010-04-16 07:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qth/QApplication.qth
  * contrib/hbqt/qth/QLayout.qth
    
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt_hbslots.cpp

  * contrib/hbxbp/hbpprocess.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpstatic.prg

  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idetools.prg

    + This commit includes Francesco Perillo's patch, after applying some 
      formatting and leaving what did not worked.
    + Includes Istvan's concept of child detachment, but not made active still.
    - Deleted many objects which were created in early days of hbIDE development.
    + Changed the way QApplication's init/exit procedures were implemented.
      Now the behavior is accurate.
    + Applied some more control over object destruction placement.
    + Plus a lot of optimizations I cannot jot down exactly.

    Basically, this commit aims at locating the GPF at exit. Now instead of 
    GPF, we receive two RTE's at the end, if exiting hbIDE at the quick 
    succession. But if you have worked into it for few seconds, it exits 
    normally. Please test.

    David, the QPixmap bug in hbXBP on OS2 was a bug in hbXBP and is fixed.
    You can test it again to verify if I am correct.
2010-04-16 15:04:28 +00:00
Pritpal Bedi
0a890614e5 2010-04-16 07:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qtcore/*.cpp
  * contrib/hbqt/qtgui/*.cpp
  * contrib/hbqt/qtnetwork/*.cpp
    * Regenerated Code. Details in next commit.
2010-04-16 14:46:00 +00:00
Viktor Szakats
b4181a49f6 2010-04-16 13:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/msvc.mk
  * utils/hbmk2/hbmk2.prg
    * Replaced -Ot2b1 win/msvc* option with -O2 as recommended by Microsoft,
      and in sync with GNU Make. This will result in somewhat larger
      executable, but this gives the best overall performance. AFAICS
      this change will practically allow automatic inlining to take place.
      This puts msvc in the lead again compared to mingw regarding speed.

  * config/wce/msvcarm.mk
    * Deleted bogus option -Od turning off all optimization for
      wce/msvcarm targets for new compiler versions.

  * config/wce/msvcarm.mk
  * config/win/msvc.mk
    * Deleted Exception Handling options from all msvc cmdlines
      where it was supplied. It has a heritage from the past, and
      I could depict no sense in the setup:
         - old wce/msvcarm: -EHsc
         - new wce/msvcarm: -EHsc-
         - old win/msvc*: none
         - new win/msvc*: -EHs-c-
      The only place this could be needed ATM is hbqt, so pls report
      results after this change, or unleash any information about
      proper usage of these options.
      NOTE: These options were already left out from hbmk2.

  * utils/hbmk2/hbmk2.prg
    * Deleted -YX option for old msvc versions. (to be in sync with
      this recent change in GNU Make)
    * Synced msvcarm options for new compiler versions with GNU Make.
      (deleted bogus -Od and some other options)

  ; TODO: msvc optimization options for old compiler version could
          still use a revamp.
2010-04-16 11:27:55 +00:00
Viktor Szakats
8ba86e1fd4 2010-04-16 11:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Typo in msvcarm 2008 example.
2010-04-16 09:35:15 +00:00
Viktor Szakats
369c110efe 2010-04-16 11:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtclip.c
    + Added parenthesis.

  * contrib/hbmisc/hbeditc.c
    ! Pacified uninit variable MSVC warning.
2010-04-16 09:27:32 +00:00
Przemyslaw Czerpak
fe77740954 2010-04-15 08:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtos2/gtos2.c
    * small cleanup in TONE code

  * harbour/include/hbvmpub.h
    * removed old and unused macros

  * harbour/external/jpeg/Makefile
    ! added Missing HAVE_PROTOTYPES declaration

  * harbour/src/rtl/hbzlib.c
  * harbour/contrib/hbbz2/hbbz2.c
    * added redundant initialization to pacify MSVC warnings

  * harbour/external/pcre/pcrefinf.c
    * casting to pacify warning

  * harbour/src/macro/macro.yyc
  * harbour/src/macro/macro.yyh
  * harbour/src/compiler/harbour.yyc
  * harbour/src/compiler/harbour.yyh
    * regenerated using bison with some additional patches to pacify
      MSVC warning
2010-04-15 06:16:46 +00:00
Viktor Szakats
3dacd1ad86 2010-04-14 15:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Updated MSVS 2010 examples.
2010-04-14 13:29:34 +00:00
Viktor Szakats
d84091f774 2010-04-14 13:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- tests/testcgi.prg
    - Deleted.
2010-04-14 11:49:37 +00:00
Viktor Szakats
e621929fa1 2010-04-13 20:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/generator2/hbqtgen2.prg
    + Will now generate .qth files. Plus a lot of fixes.
      Filtering is still needed, plus I couldnt' find out the 
      meaning of "New=" and "Type=" values in <CLASS> section.
2010-04-13 18:57:39 +00:00
Viktor Szakats
8b356ca899 2010-04-13 15:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/generator2/hbqtgen2.prg
    + Refinement to QT header parser.
      It should be usable now. Filters may need to be added to only
      include methods/stuff relevant for HBQT.
2010-04-13 13:05:04 +00:00
Viktor Szakats
2b5e574b09 2010-04-13 12:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/poccarm.mk
  * config/dos/watcom.mk
  * config/win/xcc.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    * Changed to not forcefully turn off warnings in some targets.
      (so HB_BUILD_WARN=no is now equivalent to hbmk2 -warn=def)
    ; NOTE: This will result in some new warnings in /external
            dir since for above compilers I've now upped the
            warning level from nothing to the default level.

  * external/zlib/Makefile
    * Changed to not set Harbour level warnings for this
      external component (in sync with all the others).
2010-04-13 10:20:35 +00:00
Viktor Szakats
7bdf4de6c3 2010-04-12 08:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideprojmanager.prg
    ! Properly fixed old problem with executable name extraction,
      leaving the ending delimiter in the extracted string.
    ! Added -width= hbmk2 option to cmdline to avoid splitting 
      the output to multiple lines (thus breaking executable name 
      extraction).

  * contrib/hbqt/generator2/hbqtgen2.prg
    + Added more, very rudamentary code to parse QT headers.
2010-04-13 06:56:53 +00:00
Pritpal Bedi
1f55bf7cb2 2010-04-12 23:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Little formatting.

  * contrib/hbxbp/xbpdialog.prg
    + Added :removeEventFilter() on destruction.

  * contrib/hbide/resources/environments.ui
  * contrib/hbide/resources/environments.uic
  * contrib/hbide/resources/projectpropertiesex.ui
  * contrib/hbide/resources/projectpropertiesex.uic
  * contrib/hbide/resources/shortcuts.ui
  * contrib/hbide/resources/shortcuts.uic

  * contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideshortcuts.prg

    ! Removed keyboard shortcuts from menu items.
    ! Attempted fix on nixes when project folder is not created before
      definition is saved.
    ! Dialog control labels: Exit => Close.
    ! More fixes to detect the executable from linker output ( still not perfect ).
    ! Changed the way project is launched. hope it will be useful for *nixes.

    + Implemented user-defined keyboard macros with following functionality:
        New    : whatever definition is typed-in the relevant fields is validated 
                 with existing ones and if unique is appended at the end of list.
                 The macro is also validated for compilation.
        Set    : current hilighted macro is redefined from values from fields 
                 after duplicate validation. The macro is also validated for compilation.
        Test   : Attempts to compile the macro as a block and reports back if 
                 successful or not. It just compiles but not evaluates.
        delete : deletes the highlighted macro after confirmation.
        Load   : loads macros from a disk-file and merges them with existing ones.
                 In case of duplicacy, last loaded macro is retained.
        Save   : Saves the macros in hbide.scu disk-file in hb_serialize()d form.
        Save As: Saves the macros in a disk-file with any name but with .scu extension.

        Any change is visible instantly,
        Unless <Save> is clicked, current loaded macros are not saved on disk. 
        This allows to use temporary created macros for current session.
 
        More info at http://hbide.vouch.info/ ( Topic: Keyboard Mappings )
2010-04-13 06:27:51 +00:00
Viktor Szakats
190c157bf3 2010-04-12 22:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbqt/generator2
  + contrib/hbqt/generator2/hbqtgen2.prg
  + contrib/hbqt/generator2/QtGui.txt
  + contrib/hbqt/generator2/QtCore.txt
  + contrib/hbqt/generator2/QtNetwork.txt
    + Added new skeleton for QT header parser.
2010-04-12 20:56:57 +00:00
Viktor Szakats
325d9186de 2010-04-12 21:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/zlib.dif
  * contrib/hbmzip/minizip.dif
    * Updated .difs.

  + external/libhpdf/libhpdf.dif
    + Added new .dif.

  * contrib/hbide/ideprojmanager.prg
    % Deleted -hbcmp when creating .ppo. It was unnecessary since
      later -hbraw mode is selected.
2010-04-12 19:46:50 +00:00
Przemyslaw Czerpak
7bb2ea4ae5 2010-04-12 21:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/external/zlib/deflate.c
  * harbour/external/zlib/gzread.c
    * pacified warnings
  * harbour/external/zlib/zutil.h
    ! fixed to compile with XCC
  * harbour/external/zlib/zconf.h
    ! removed wrongly added #if 0 / #endif
  * harbour/external/zlib/gzguts.h
    ! added missing header files to fix _ALL_ builds
  * harbour/external/zlib/Makefile
    * reenabled warnings - it's very danger to pacify warnings in such way
      what recent ZLIB update clearly shows - it was seriously broken in all
      builds due to missing header files with valid function declarations
      but the problem was fully hidden because C++ mode and warnings were
      disabled so no problem was reported at compile time.
      Please also remember that many of Windows compilers does not fully
      support pure ANSI C function declaration so this new library may
      not work as expected.

  * harbour/external/libhpdf/hpdfcfg.h
    ! removed setting for all platforms HAVE_UNISTD_H
      this file was generated by autoconf on platform which has <unistd.h>
      but we cannot leave it because it will break all code which uses
      standard autoconf settings like HAVE_UNISTD_H and is compiled
      on platform where <unistd.h> is not available

  * harbour/contrib/hbmzip/ioapi.c
    ! fixed to include ioapi.h before any other header files - it uses
      some feature macros which have to be set before including standard
      C files
  * harbour/contrib/hbmzip/ioapi.h
    ! removed from feature set macros setting of internal __USE_* ones
    ! do not set _LARGEFILE64_SOURCE in DOS and OS2 - macro with the same
      name is used by new ZLIB 1.2.4 for explicit 64 bit gzip API.
  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed old typos in type of return value in hb_zipfileParam() and
      hb_unzipfileParam()

   NOTE: I haven't tested if this new mzip/zlib 64 bit file IO support
         works. It's even possible that previously working code in 64 bit
         platforms (except Win64 on all other 64 bit platforms 'long' is
         64bit integer) stopped to work so please make real tests.
2010-04-12 19:11:35 +00:00
Viktor Szakats
acc8da9057 2010-04-12 11:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added feature to allow -inc mode when using harbour compiler
      as preprocessor:
         'hbmk2 -hbraw -inc -p[<path>] -s[<m>] <.prg[s]>'
    + Added dummy handling for rest of '%__APP*__%' OSX macros.
2010-04-12 09:13:03 +00:00
Viktor Szakats
576701d94f 2010-04-11 21:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + -info parameter will now enable output line with target
      filename. This is done by default in -inc mode, so to get
      it also in non -inc mode, just add -info to cmdline.
      This fixed target detection in HBIDE.
2010-04-11 19:45:32 +00:00
Viktor Szakats
76ff910361 2010-04-11 21:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/ideprojmanager.prg
    ! Fixed to not ignore hbmk2 path as set in options or via envvar.
    ! Fixed to not use -c when calling bash with .sh script as parameter.
    ! Deleted attempt to detect output filename by parsing link command for -o 
      option. This is not portable method.
    ! Fixed target filename detection to look for Chr( 10 ) instead of .exe.
      Detection is now fine, but it still cannot launch it for other reasons.
      Plus, detection only works when -inc mode is used.
    ! Deleted hard-coded help text of external tools.

  * contrib/hbide/idemisc.prg
    % Changed to not include '#!/bin/sh' in generated .sh file.
    + DirAddPathSep() renamed to hbide_DirAddPathSep() and made public.

  * contrib/hbide/hbide.prg
    - Deleted test code.

  * contrib/hbblink/blinker.prg
    ! Reverted previous wrong fix. (-C doesn't work as cmd.exe option)
2010-04-11 19:40:53 +00:00