Commit Graph

11215 Commits

Author SHA1 Message Date
Viktor Szakats
36a9aff8ff 2009-07-03 18:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/fscopy.c
  * source/rtl/copyfile.c
  * source/rtl/memofile.c
  * source/rtl/filesys.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbsqlit3/hbsqlit3.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbgd/gdwrp.c
    % Cleaned BYTE usage (converted to void).
2009-07-03 16:52:16 +00:00
Viktor Szakats
e9e57b36b8 2009-07-03 18:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.bat
    + Requires Windows NT to start win/wce target builds.

  * source/rdd/sdf1.c
  * source/rdd/dbfcdx/dbfcdx1.c
  * source/rdd/delim1.c
  * source/rdd/dbf1.c
  * source/rdd/dbffpt/dbffpt1.c
  * contrib/hbbmcdx/bmdbfcdx.c
    % Cleaned casting from hb_file*() calls.
2009-07-03 16:16:39 +00:00
Pritpal Bedi
67b232beb9 2009-07-03 08:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/Makefile
  * harbour/contrib/hbxbp/xbp.ch
  * harbour/contrib/hbxbp/xbpfiledialog.prg
  * harbour/contrib/hbxbp/xbpfontdialog.prg
  + harbour/contrib/hbxbp/xbphtmlviewer.prg
    + Implemented XbpFileDialog() class - almost Xbase++ compatible.
    + Implemented XbpHTMLViewer() class with all its features.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated XbpFileDialog() usage - click on toolbar buttons.
    + Demonstrated XbpHTMLViewer() class.

      Hi, can someone play with all callbacks of XbpHTMLViewer() and 
      can look into details of XbpFileDialog()?
2009-07-03 16:08:37 +00:00
Mindaugas Kavaliauskas
2a440ff82d 2009-07-03 17:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/hbrddsql.h
  * harbour/contrib/rddsql/sqlmix.c
    * changed UINT to ANSI C compatible type unsigned int
2009-07-03 14:11:43 +00:00
Viktor Szakats
0b1bf8d802 2009-07-03 15:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbgt/charmixg.c
  * contrib/hbgt/strexpan.c
  * contrib/hbgt/charodd.c
  * contrib/hbgt/strright.c
  * contrib/hbgt/strdiffg.c
  * contrib/hbgt/chrtotal.c
  * contrib/hbgt/strcount.c
  * contrib/hbgt/strleft.c
  * contrib/hbgt/ascposgt.c
  * contrib/hbgt/chrfirst.c
  * contrib/hbgt/chrcount.c
  * contrib/hbgt/strpbrk.c
  * contrib/hbgt/chareven.c
  * contrib/hbgt/strcspn.c
  * contrib/hbgt/atdiff.c
    * Missed IS*() -> HB_IS*() conversions.
2009-07-03 13:47:32 +00:00
Viktor Szakats
30954b9d25 2009-07-03 13:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    - Deleted QT version number from example settings to
      ease on maintenance without making the doc look outdated.

  * source/rtl/hbmd5.c
    ! Minor typo in comment.

  * config/win/global.cf
  * config/wce/global.cf
    % Removed unnecessary @ chars.
2009-07-03 11:59:22 +00:00
Przemyslaw Czerpak
973d1336e0 2009-07-03 13:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filesys.c
    ! fixed typo in recent modification

  * harbour/include/hbchksum.h
  * harbour/source/rtl/hbadler.c
  * harbour/source/rtl/hbcrc.c
  * harbour/source/rtl/hbmd5.c
    * changed passed parameter from 'const char *' to 'const void *' to
      eliminate explicit casting in user code
2009-07-03 11:40:29 +00:00
Viktor Szakats
8d4718d48f 2009-07-03 13:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    ! Fixed recently added copy command for DOS builds.

  * utils/hbmk2/hbmk2.prg
    % Don't spawn new thread if there is only one job.
2009-07-03 11:35:58 +00:00
Viktor Szakats
c244abe73d 2009-07-03 12:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/dir.cf
  * config/wce/dir.cf
  * config/win/mingw.cf
  * config/wce/mingwarm.cf
  * config/win/install.cf
  * config/wce/install.cf
    - Removed pre-NT compatibility.

  * config/win/watcom.cf
    % Don't echo script creation to reduce log clutter.

  * config/os2/gcc.cf
  * config/wce/mingwarm.cf
    ! Fixed C++ enabled macro name.
2009-07-03 10:45:58 +00:00
Viktor Szakats
4e600ce0ef 2009-07-03 12:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/Makefile
  + contrib/hbmisc/fcomma.prg
  - source/rdd/usrrdd/rdds/fcomma.prg
  * source/rdd/usrrdd/rdds/Makefile
    * fcomma.prg moved to hbmisc, since it depends on
      hbmisc features.

  * examples/hbextern/hbextern.prg
    - Removed special treatment of fcomma.prg.
2009-07-03 10:13:53 +00:00
Viktor Szakats
a549bd4bb8 2009-07-03 12:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/msvc.cf
  * config/wce/msvcarm.cf
    + /nologo to lib command.
2009-07-03 10:09:14 +00:00
Viktor Szakats
5377655895 2009-07-03 11:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/global.cf
  * config/wce/global.cf
    - Removed pre-NT compatibility.
    % Hidden build dir creation/deletion for a cleaner build log.
2009-07-03 09:59:00 +00:00
Viktor Szakats
6276c852a7 2009-07-03 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/screen2.c
  * contrib/hbct/token2.c
  * contrib/hbct/charsprd.c
  * contrib/hbct/charonly.c
  * contrib/hbct/atadjust.c
  * contrib/hbct/ctmath.c
  * contrib/hbct/charsort.c
  * contrib/hbct/charmix.c
  * contrib/hbct/charevod.c
  * contrib/hbct/wordrepl.c
  * contrib/hbct/charrepl.c
  * contrib/hbct/strswap.c
  * contrib/hbct/charswap.c
  * contrib/hbct/charop.c
  * contrib/hbct/cursor.c
  * contrib/hbct/misc2.c
  * contrib/hbct/color.c
  * contrib/hbct/charone.c
  * contrib/hbct/screen1.c
  * contrib/hbct/token1.c
  * contrib/hbct/charmirr.c
  * contrib/hbct/ctwfunc.c
  * contrib/hbct/relation.c
  * contrib/hbct/setlast.c
  * contrib/hbct/setrc.c
  * contrib/hbct/atnum.c
  * contrib/hbct/ctcrypt.c
  * contrib/hbct/ctstrfil.c
  * contrib/hbct/range.c
  * contrib/hbct/addascii.c
  * contrib/hbct/tab.c
  * contrib/hbct/dattime2.c
  * contrib/hbct/replace.c
  * contrib/hbct/expand.c
  * contrib/hbct/pos2.c
  * contrib/hbct/wordtoch.c
  * contrib/hbct/ctpad.c
  * contrib/hbct/justify.c
  * contrib/hbct/remove.c
  * contrib/xhb/xstrdel.c
  * contrib/xhb/xhbtrim.c
  * contrib/hbnf/n2color.c
  * contrib/hbnf/ftattr.c
  * contrib/gtwvg/wvgutils.c
  * contrib/hbclipsm/environ.c
  * contrib/hbmisc/spd.c
  * contrib/hbtip/utils.c
  * contrib/hbtip/encmthd.c
  * examples/hbgf/hbgfgtk/creabutt.c
  * examples/hbgf/hbgfgtk/creawin.c
  * examples/hbwhat/whtclpb.c
  * examples/hbwhat/whtcdlg.c
  * examples/hbwhat/whttree.c
    % hb_retc( NULL ) -> hb_retc_null()
2009-07-03 07:56:51 +00:00
Viktor Szakats
beaaf5fb58 2009-07-03 09:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    ! hbUChar, hbSChar fixed to not depend on legacy types.

  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/Makefile
    + Enabled -mt switch on DOS platform.
    + Enabled MT builds on DOS platform.
      (currently its used by -jobs switch, maybe internal
      Harbour compiling can use this feature)

  * contrib/hbmysql/mysql.c
  * contrib/hbct/ctstrfil.c
  * contrib/hbct/print.c
  * contrib/xhb/hbxml.c
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/filestat.c
  * contrib/hbsqlit3/hbsqlit3.c
  * contrib/hbnf/fttext.c
  * contrib/hbnf/dispc.c
  * contrib/hbcurl/hbcurl.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbmisc/hb_f.c
  * contrib/hbtip/utils.c
  * source/vm/memvars.c
  * source/vm/set.c
  * source/rtl/console.c
  * source/rtl/philes.c
  * source/rtl/gttrm/gttrm.c
  * source/rtl/memofile.c
  * source/rdd/dbsql.c
  * source/rdd/dbffpt/dbffpt1.c
  * examples/pp/pp.c
    % FS API call cast cleanups.
      (removed explicit casts for the most part, added const in few
      places, changed some BYTE types to char.)
    * Formatting.

  * source/vm/task.c
    ! Minor text sync in debug calls.

  ; TOFIX:
    ../../filesys.c(1698) : error C2065: 'Flags' : undeclared identifier
    ../../filesys.c(1792) : error C2065: 'Flags' : undeclared identifier
2009-07-03 07:42:17 +00:00
Przemyslaw Czerpak
9169e0e94f 2009-07-03 08:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/include/hbtask.h
  + harbour/source/vm/task.c
  * harbour/include/hbthread.h
  * harbour/include/hbatomic.h
  * harbour/source/vm/thread.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/fm.c
  * harbour/source/rtl/idle.c
  * harbour/source/rtl/filesys.c
    + implemented OS independent task switching system - it gives PTHREAD
      compatible basic API so it can be used in HVM as alternative MT support
      which does not use any OS threads. As long as Harbour does not call
      any blocking OS function then it's possible to create and execute
      simultaneously many threads though only one CPU is used and switched
      between HVM threads. It gives similar scalability to xbase++ threads
      and also similar behavior in item protection at .prg level.
      Now it's possible to use HVM threads in any OS.
      Of course it does not mean that Harbour adds in some magic way
      thread support to OS-es which does not support threads like DOS.
      It only means that HVM supports threads for .prg code just like
      in native MT environment as long as some C code does not block
      task switching or process execution will not be frozen by sth, i.e.
      executing other process (__run()) in single process OS like DOS.
      In some cases it can be interesting alternative even in OS which
      have native thread support.
      All tests/mttest*.prg programs and speedtst --thread=<n> --scale
      are executed correctly with new task switching just like with
      OS native MT support.
      Compilation with task switching in hbvmmt library can be forced
      by HB_TASK_THREAD macro which also disable native OS threads
      support.
      For task context switching two alternative methods are used:
         1) getcontext()/makecontext()/swapcontext() (SUSv2, POSIX.1-2001)
            which is preferable because does not need any additional
            hacks but not all OS-es supports these functions.
            It's enabled by default in Linux builds.
         2) setjmp()/longjmp() (POSIX, ISO 9899 (C99)) otherwise.
            These functions are supported by most of C compilers
            but there is no function to set new stack in saved context
            so it's necessary to introduce for each architecure/C compiler
            peace of code which makes it. Macro HB_TASK_STACK_INIT() in
            task.c makes it. I defined this macro for x86@32 in DJGPP
            Linux GCC and OpenWatcom builds. I tested OpenWatcom builds only
            in DOS and Linux but probably it works in all x86@32 builds.
            If someone is interesting in adding support for some other
            platforms which does not support ucontext.h and 1-st methods
            then please define above macro for them.

      Have a fun with new toy ;-)

  * harbour/source/vm/Makefile
    * enabled hbvmmt in DJGPP and OpenWatcom DOS builds. It works well.
      Viktor if possible please add support for -mt switch in hbmk2
      in all builds even if we do not compile hbvmmt by default so
      it can be used with DJGPP and OW and any other builds for which
      someone enable hbtask.c though OS does not support threads.

  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed '[const] char|BYTE *' casting in DOS and OS2 builds
2009-07-03 06:29:26 +00:00
Pritpal Bedi
c26e935dc9 2009-07-02 18:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ harbour/contrib/hbxbp/xbpfiledialog.prg
  + harbour/contrib/hbxbp/xbpfontdialog.prg
    + Added skeletons for XbpFontDialog() | XbpFont() | XbpFileDialog() classes
2009-07-03 01:23:04 +00:00
Przemyslaw Czerpak
0e9b041baa 2009-07-03 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/macro/macro.y
  * harbour/source/macro/macro.yyc
  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyc
    % reduced INASSING definition - thanks to Xavi for information

  * harbour/source/compiler/hbopt.c
    ! fixed stupid bug in logical expression optimization - thanks to Randy
      for self contain example

  * harbour/include/hbapi.h
  * harbour/include/hbmacro.h
  * harbour/include/hbexprb.c
  * harbour/source/vm/macro.c
  * harbour/source/vm/hvm.c
  * harbour/source/macro/macro.y
  * harbour/source/macro/macro.yyc
    + added direct support for pushing references to macro expressions.
      It resolves the problem with Clipper compatibility (thanks to Alex
      for information and example) in code like:
         m->var := {0}
         &("var[1]") += 10
      and also many other things, f.e. now Harbour can cleanly compile
      and execute this code:
            proc main
               local s
               m->o := errorNew()
               s:="o:tries"
               ? m->o:tries
               ? &s
               ? &(s+"+=2")
               ? m->o:tries
               ? &(s+":=3")
               ? m->o:tries
               ?
               &s := 4
               ? m->o:tries
               &s -= 2
               ? m->o:tries
               &s++
               ? m->o:tries
               ?
               s := "o"
               m->o := 1
               ? &s
               &s := &s + 4
               ? &s
               ? &s += 5
               ? --&s
               ?
               s := "o[2]"
               m->o := { 1, 2 }
               ? &s
               &s := &s + 4
               ? &s
               ? &s += 5
               ? --&s
            return

  * harbour/utils/hbtest/Makefile
    * force hbtest compilation with line numbers - information about line
      numbers is important part of this test.
2009-07-03 00:24:36 +00:00
Viktor Szakats
c0ff8439be 2009-07-02 19:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/Makefile
    * Formatting.

  * include/filesys.api
    % Cleaned cast.

  * contrib/gtwvg/wvgwing.c
    ! Fixed x64 bug.

  * examples/hbgf/hbgfos2/os2pm.c
    * LONG -> long
2009-07-02 17:02:40 +00:00
Pritpal Bedi
89429d07f0 2009-07-02 09:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/xbpstatic.prg
    + Implemented XBPSTATIC_TYPE_BITMAP. It is not Xbase++ compatible 
      in the sense it is pulled from a disk file. But by attributes wise
      it is exactly like Xbase++.

    SUGGESSIONS: Should I implement Harbour extensions to the Xbp* classes?
                 I find a wide scope to add few more instance variables to the 
                 class.
2009-07-02 16:28:41 +00:00
Viktor Szakats
7ccfc6c0d2 2009-07-02 16:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbbmcdx/bmdbfcdx.c
  * source/vm/hvm.c
  * source/common/expropt2.c
  * source/common/hbdate.c
  * examples/hbgf/hbgfgtk/creawin.c
    * LONG -> long for date/time related values
      (julian, date, type, millisec)
    ; Remaining places.
2009-07-02 14:48:21 +00:00
Viktor Szakats
03caef2ec2 2009-07-02 15:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbcomp.h
  * include/hbcompdf.h
  * include/hbapifs.h
  * include/hbexprop.h
  * include/hbmacro.h
  * include/hbapi.h
  * include/hbapiitm.h
  * include/hbdate.h
  * source/pp/ppcore.c
  * source/vm/itemapi.c
  * source/vm/arrays.c
  * source/vm/extend.c
  * source/common/expropt1.c
  * source/rtl/philes.c
  * source/rtl/empty.c
  * source/rtl/minmax.c
  * source/rtl/dates.c
  * source/rtl/filesys.c
  * source/rdd/dbfnsx/dbfnsx1.c
  * source/rdd/dbfcdx/dbfcdx1.c
  * source/rdd/dbf1.c
  * source/rdd/dbffpt/dbffpt1.c
  * source/rdd/hbsix/sxdate.c
  * source/compiler/hbmain.c
  * source/compiler/complex.c
  * source/compiler/harbour.yyc
  * source/compiler/harbour.y
  * contrib/hbct/files.c
  * contrib/hbct/dattime2.c
  * contrib/hbct/datetime.c
  * contrib/xhb/filestat.c
  * contrib/hbtip/utils.c
  * examples/hboleold/win_ole.c
    * LONG -> long for date/time related values
      (julian, date, type, millisec)
    ; This is an effort to clean Harbour sources from
      Windows/legacy-Clipper basic types and replace
      them with own or ANSI C ones.
      In the above case, usage wasn't consistent,
      LONG and long were mixed.

  * source/main/harbour.c
  * source/vm/fm.c
    * LONG -> long for some stat counters.
2009-07-02 14:18:06 +00:00
Viktor Szakats
1fd8190943 2009-07-02 14:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtqtc/gtqtc.cpp
    - Deleted commented Windows specific parts.

  * contrib/hbtip/utils.c
    * UINT -> unsigned int

  * examples/hbmsql/msql.ch
    * Minor in comment.
2009-07-02 12:39:28 +00:00
Viktor Szakats
53408b89b3 2009-07-02 11:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added new hbBool type.
      (successor or colliding BOOL type).
2009-07-02 09:05:54 +00:00
Viktor Szakats
3a5fb8a8ba fixed another wrongly formed entry headers of mine 2009-07-02 08:56:42 +00:00
Viktor Szakats
d6ccb4cccc 2009-07-02 10:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed regression (when implementing filename escaping)
      with forming libnames specified with an absolute path on
      gcc-family compilers. This broke building qt apps on darwin,
      and -shared support on *nix.
2009-07-02 08:41:49 +00:00
Viktor Szakats
6d56e4aceb 2009-07-02 09:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * mpkg_gnu.bat
    + Added HB_DIR_ZIP envvar to spec location of zip.exe.
2009-07-02 07:54:44 +00:00
Viktor Szakats
a6bf140851 2009-07-02 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.hbp
    ! Updated after recent hbmk2 change.
2009-07-02 07:47:50 +00:00
Viktor Szakats
c829c49c07 2009-07-02 09:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/hbextern/hbextern.prg
    * Excluding all HB_ARCHITECTURE dirs explicitly.
      (this resolves the recursion problem)
    * Excluding fcomma.prg explicitly.
    - Deleted 'example' from exclusion list.

  - source/rdd/usrrdd/example
  + tests/usrrdd
    * Moved examples under test dir.
2009-07-02 07:44:25 +00:00
Viktor Szakats
5e6be9ff96 2009-07-02 09:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rdd/usrrdd/rdds/Makefile
    - Removed fcomma.prg from builds since it depends on
      hbmisc contrib libs, on functions which aren't MT
      compatible and have other problems too.
2009-07-02 07:34:34 +00:00
Viktor Szakats
ff24e95e5e 2009-07-02 09:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/none.cf
  * config/win/global.cf
  * config/wce/global.cf
    ! Attempt to fix problem where 'COMSPEC' envvar wasn't picked
      by GNU Make on default XP installation, where this envvar
      is defined as 'ComSpec', and mingw GNU Make is case-sensitive
      for envvar names. This patch is needed to make Harbour build 
      with clean PATH (without OS).
      Thanks to April White for discovering this.
2009-07-02 07:30:07 +00:00
Viktor Szakats
b790e72749 2009-07-02 09:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/Makefile_gen
    % Deleted hbqt.h as public header.
    % Not creating commented lines in Makefile_gen.
2009-07-02 07:04:43 +00:00
Pritpal Bedi
e3cdcafbf6 2009-07-01 23:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/tests/demoxbp.prg
    ! A experimental fix.
2009-07-02 06:50:29 +00:00
Pritpal Bedi
922db43726 2009-07-01 23:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbpstatic.prg
    + Implemented more static styles.
  * harbour/contrib/hbxbp/tests/demoxbp.prg
    ! Demonstrated newly implemented static styles.

    NOTE: Remaining styles are :
          XBPSTATIC_TYPE_ICON
          XBPSTATIC_TYPE_SYSICON
          XBPSTATIC_TYPE_BITMAP
             As these styles are mainly resource based, we need to 
             think of a system where existing applns could use its 
             resource files.
                If anyone has any clue about how system defined icons 
                can be manipulated in QT please speak out. A quick search
                has not led me to any significant clue.
2009-07-02 06:47:28 +00:00
Przemyslaw Czerpak
fa50b1ccc3 2009-07-02 02:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/maindllp.c
    ! fixed unapdated hb_parvds() redirection
2009-07-02 00:29:59 +00:00
Przemyslaw Czerpak
9220ae716c 2009-07-02 01:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/source/vm/extend.c
    * changed type of returned value in hb_par[v]ds() functions
      from 'char *' to 'const char *'
2009-07-01 23:20:05 +00:00
Viktor Szakats
0b8fe0090a 2009-07-02 00:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/Makefile
    * Moved hbxbp to the end of list as a workaround for potentially
      outdated hbqt.ch reference, if it's before hbqt build.
      Still not prefect though. We should probably fix the ordering
      of -I option in build process, but it doesn't seem trivial.
      Or avoid installing headers into central include dir, but that
      also leads far.

  * utils/hbmk2/hbmk2.prg
    * Minor step to fix a recent regression.

  * source/rtl/hbzlibgz.c
    * HB_GZDIRECT() is now always defined in core, if it's built against
      older zlib version, it will simply do nothing.
      We can discuss how to handle this situation, all have pros and cons:
      1) Always define: Throw RTE at runtime.
      2) Always define: Return error at runtime.
      3) Don't define if low-level wrapper isn't present. Makes it
         easy to catch missing dependencies on .prg level, but it
         break Harbour to provide a consistent higher level API.

  * examples/hbextern/hbextern.prg
    ! Minor fix in generated comment.

  * examples/hbextern/hbextern.hbp
    + -w2 -> -w3

  * ChangeLog
    ! Wrong header in previous entry.

  * contrib/hbqt/hbqt_qimage.cpp
  * contrib/hbqt/hbqt_qtextdocument.cpp
  * contrib/hbqt/hbqt_qapplication.cpp
  * contrib/hbqt/hbqt_qtextcursor.cpp
  * contrib/hbqt/hbqt_qclipboard.cpp
  * contrib/hbqt/hbqt_qurl.cpp
  * contrib/hbqt/hbqt_qwebhistoryitem.cpp
  * contrib/hbqt/hbqt_qvariant.cpp
  * contrib/hbqt/hbqt_qfont.cpp
  * contrib/hbqt/hbqt_qimagereader.cpp
  * contrib/hbqt/hbqt_qcursor.cpp
  * contrib/hbqt/hbqt_qfontdatabase.cpp
  * contrib/hbqt/hbqt_qcoreapplication.cpp
  * contrib/hbqt/hbqt_qobject.cpp
  * contrib/hbqt/hbqt_qtextframe.cpp
  * contrib/hbqt/hbqt_qabstractitemmodel.cpp
    * Minor EOF change after regerenating them with hbqtgen.
      (probably it would be better to generate only one EOLs at
      EOF by hbqtgen)
2009-07-01 22:36:28 +00:00
Viktor Szakats
86169c1272 2009-07-01 20:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_qabstractitemmodel.cpp
  * contrib/hbqt/hbqt_qapplication.cpp
  * contrib/hbqt/hbqt_qclipboard.cpp
  * contrib/hbqt/hbqt_qcoreapplication.cpp
  * contrib/hbqt/hbqt_qcursor.cpp
  * contrib/hbqt/hbqt_qfont.cpp
  * contrib/hbqt/hbqt_qfontdatabase.cpp
  * contrib/hbqt/hbqt_qimage.cpp
  * contrib/hbqt/hbqt_qimagereader.cpp
  * contrib/hbqt/hbqt_qobject.cpp
  * contrib/hbqt/hbqt_qurl.cpp
  * contrib/hbqt/hbqt_qvariant.cpp
  * contrib/hbqt/qth/QAbstractItemModel.qth
  * contrib/hbqt/qth/QApplication.qth
  * contrib/hbqt/qth/QClipboard.qth
  * contrib/hbqt/qth/QCoreApplication.qth
  * contrib/hbqt/qth/QCursor.qth
  * contrib/hbqt/qth/QFont.qth
  * contrib/hbqt/qth/QFontDatabase.qth
  * contrib/hbqt/qth/QImage.qth
  * contrib/hbqt/qth/QImageReader.qth
  * contrib/hbqt/qth/QObject.qth
  * contrib/hbqt/qth/QUrl.qth
  * contrib/hbqt/qth/QVariant.qth
    % Optimized header usage. Now QWidget isn't included in all
      files, just two where it's needed, the rest uses only those
      granular headers which they really require.
      Compilation may be a little bit faster now.
    ; TODO: We'd still need to try precomiled headers here to 
            further speed up build.
2009-07-01 18:57:03 +00:00
Viktor Szakats
b20a37cdb8 2009-07-01 20:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qth/QTextBlockGroup.qth
  * contrib/hbqt/qth/QTextDocumentFragment.qth
  * contrib/hbqt/qth/QWebHistoryItem.qth
  * contrib/hbqt/qth/QTextCursor.qth
  * contrib/hbqt/qth/QTextDocument.qth
  * contrib/hbqt/qth/QTextFrame.qth
  * contrib/hbqt/qth/QTextDocumentWriter.qth
  * contrib/hbqt/qth/QTextObject.qth
  * contrib/hbqt/hbqt_qtextdocument.cpp
  * contrib/hbqt/hbqt_qtextblockgroup.cpp
  * contrib/hbqt/hbqt_qtextcursor.cpp
  * contrib/hbqt/hbqt_qwebhistoryitem.cpp
  * contrib/hbqt/moc_slots.cpp
  * contrib/hbqt/hbqt_qtextobject.cpp
  * contrib/hbqt/hbqt_qtextdocumentfragment.cpp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqt_qtextdocumentwriter.cpp
  * contrib/hbqt/hbqt_qtextframe.cpp
    * Reverted previous two changes before applying fixes.
2009-07-01 18:50:00 +00:00
Pritpal Bedi
088f476a62 2009-07-01 09:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.h
    ! Includes <QtGui/QWidget>
      Appears it is required for all .cpp's
2009-07-01 16:26:49 +00:00
Pritpal Bedi
ac72b2cdca 2009-07-01 08:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/hbqt_base.cpp
  * harbour/contrib/hbqt/hbqt_qtextblockgroup.cpp
  * harbour/contrib/hbqt/hbqt_qtextcursor.cpp
  * harbour/contrib/hbqt/hbqt_qtextdocument.cpp
  * harbour/contrib/hbqt/hbqt_qtextdocumentfragment.cpp
  * harbour/contrib/hbqt/hbqt_qtextdocumentwriter.cpp
  * harbour/contrib/hbqt/hbqt_qtextframe.cpp
  * harbour/contrib/hbqt/hbqt_qtextobject.cpp
  * harbour/contrib/hbqt/hbqt_qwebhistoryitem.cpp
  * harbour/contrib/hbqt/moc_slots.cpp
  * harbour/contrib/hbqt/qth/QTextBlockGroup.qth
  * harbour/contrib/hbqt/qth/QTextCursor.qth
  * harbour/contrib/hbqt/qth/QTextDocument.qth
  * harbour/contrib/hbqt/qth/QTextDocumentFragment.qth
  * harbour/contrib/hbqt/qth/QTextDocumentWriter.qth
  * harbour/contrib/hbqt/qth/QTextFrame.qth
  * harbour/contrib/hbqt/qth/QTextObject.qth
  * harbour/contrib/hbqt/qth/QWebHistoryItem.qth
    ! Shifted headers to respective .qth
    ! Removed unnecessary additional headers and defines in hbqt.h

    /*  Now HBQT compiles in 42 seconds on my machine. */
2009-07-01 15:48:47 +00:00
Viktor Szakats
0a708f0a34 2009-07-01 17:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qth/QWebHistoryItem.qth
  * contrib/hbqt/qth/QTextCursor.qth
  * contrib/hbqt/qth/QTextDocument.qth
  * contrib/hbqt/qth/QTextFrame.qth
  * contrib/hbqt/hbqt_qtextdocument.cpp
  * contrib/hbqt/hbqt_qtextcursor.cpp
  * contrib/hbqt/hbqt_qwebhistoryitem.cpp
  * contrib/hbqt/hbqt_qtextframe.cpp
    + Readded required headers locally.
2009-07-01 15:32:01 +00:00
April White
f83f07b495 2009-07-01 10:53 UTC+0600 April White (april users.sourceforge.net)
* examples/hbextern/hbextern.hbp
    * build flags
  * examples/hbextern/hbextern.prg
    * significant updates
      ; default params works mostly like original version
      ; TOFIX: produces this 'bad' code (harbour reports "hbextern.ch_(1019) Error E0025  Error in #if expression"
         #if ZLIB_VERNUM >= 0x1230
         EXTERNAL HB_GZDIRECT
         #endif /* #if ZLIB_VERNUM >= 0x1230 */
      % Question: do I upload a new hbextern.ch or can/should a user with more experience with it do so?
2009-07-01 14:53:34 +00:00
Viktor Szakats
8b9993c2d6 2009-07-01 14:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt.h
    - Deleted some unncessary #includes. (done again)
2009-07-01 12:52:13 +00:00
Viktor Szakats
8871ff5670 2009-07-01 12:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.h
    * sqlite upgraded to 3.6.16 (from 3.6.15)
2009-07-01 10:24:02 +00:00
Viktor Szakats
b86b03a66e 2009-07-01 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/linux1st.txt
    + Added QT package name.

  * contrib/hbqt/hbqt.h
    - Deleted some unncessary #includes.

  * contrib/hbqt/hbqt_slots.cpp
    ! Fixed QDebug() call warning on Linux.
2009-07-01 10:06:56 +00:00
Pritpal Bedi
784687f901 2009-07-01 01:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp

  + harbour/contrib/hbqt/Makefile_gen

  * harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_slots.h
  * harbour/contrib/hbqt/moc_slots.cpp

  + harbour/contrib/hbqt/hbqt_qsystemtrayicon.cpp
  + harbour/contrib/hbqt/hbqt_qwebframe.cpp
  + harbour/contrib/hbqt/hbqt_qwebhistory.cpp
  + harbour/contrib/hbqt/hbqt_qwebhistoryinterface.cpp
  + harbour/contrib/hbqt/hbqt_qwebhistoryitem.cpp
  + harbour/contrib/hbqt/hbqt_qwebhittestresult.cpp
  + harbour/contrib/hbqt/hbqt_qwebpluginfactory.cpp
  + harbour/contrib/hbqt/hbqt_qwebsecurityorigin.cpp
  + harbour/contrib/hbqt/hbqt_qwebsettings.cpp

  + harbour/contrib/hbqt/TQWebFrame.prg
  + harbour/contrib/hbqt/TQWebHistory.prg
  + harbour/contrib/hbqt/TQWebHistoryInterface.prg
  + harbour/contrib/hbqt/TQWebHistoryItem.prg
  + harbour/contrib/hbqt/TQWebHitTestResult.prg
  + harbour/contrib/hbqt/TQWebPluginFactory.prg
  + harbour/contrib/hbqt/TQWebSecurityOrigin.prg
  + harbour/contrib/hbqt/TQWebSettings.prg

  * harbour/contrib/hbqt/qth/QWebFrame.qth
  * harbour/contrib/hbqt/qth/QWebHistory.qth
  * harbour/contrib/hbqt/qth/QWebHistoryInterface.qth
  * harbour/contrib/hbqt/qth/QWebHistoryItem.qth
  * harbour/contrib/hbqt/qth/QWebPluginFactory.qth
  * harbour/contrib/hbqt/qth/QWebSecurityOrigin.qth
  * harbour/contrib/hbqt/qth/QWebSettings.qth

    + Added more classes.
    + Added more event handlers.
    ! Synchronized and reorganized event handlers.
2009-07-01 08:23:32 +00:00
Viktor Szakats
013ea76156 2009-07-01 09:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtwvt/gtwvt.c
    % Optimized _WVT_WS_* macros. Thanks Petr Chornyj for the hint.
      Please review me and test.
2009-07-01 07:33:35 +00:00
Viktor Szakats
a77f478287 2009-07-01 08:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtwvt/gtwvt.c
    ! Fixed maximize button state when HB_GTI_RESIZABLE is set to .T.
      before the window is drawn.
      Please test.
    % Cleaned windows style definitions in source.

  * include/hbstack.h
  * include/hbapi.h
    * Formatting in comment.
2009-07-01 06:37:45 +00:00
Pritpal Bedi
6aeb34e15b 2009-06-30 19:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.ch
    + Added more constants
  + harbour/contrib/hbqt/qth/QWebFrame.qth
  + harbour/contrib/hbqt/qth/QWebHistory.qth
  + harbour/contrib/hbqt/qth/QWebHistoryInterface.qth
  + harbour/contrib/hbqt/qth/QWebHistoryItem.qth
  + harbour/contrib/hbqt/qth/QWebHitTestResult.qth
  + harbour/contrib/hbqt/qth/QWebPluginFactory.qth
  + harbour/contrib/hbqt/qth/QWebSecurityOrigin.qth
  + harbour/contrib/hbqt/qth/QWebSettings.qth
    + Added more class headers, still to compile.
2009-07-01 02:19:30 +00:00
Teo Fonrouge
a2429f5846 2009-06-30 16:22 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
* source/rtl/philes.c
    ! Fixed small typo on RENAME hb function
2009-06-30 21:22:43 +00:00