Commit Graph

13686 Commits

Author SHA1 Message Date
Viktor Szakats
cce1d028cf 2010-03-08 09:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/gtqtc/gtqtcs.hbc
  * contrib/hbqt/gtqtc/gtqtc.hbc
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
    + Updated static .hbc file for OS/2
    % Removed little redundancy in libpaths= lines.
    % Deleted qtwebkit and qtnetwork references from gtqt*.hbc files.
2010-03-08 08:51:06 +00:00
David Arturo Macias Corona
d1918fcad8 2010-03-07 21:30 UTC-0600 David Arturo Macias Corona (dmacias/at/mail.udg.mx)
* harbour/contrib/hbqt/hbqt.hbc
  * harbour/contrib/hbqt/gtqtc/gtqtc.hbc
    + Added support for OS/2
2010-03-08 03:49:14 +00:00
Viktor Szakats
215fa5a52b 2010-03-08 03:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added UNICOWS links.
2010-03-08 02:53:59 +00:00
Viktor Szakats
89b7af1d06 2010-03-08 03:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    ! Added workaround for MS confirmed (but forever unfixed)
      UNICOWS ReadConsoleInput() bug, which caused reported
      dead keyboard when running UNICODE+UNICOWS apps on Win9x.
    % Optimized to cache Win9x detection flag.
2010-03-08 02:29:23 +00:00
Viktor Szakats
895f95fe45 2010-03-08 02:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    ! Minor formattting.
2010-03-08 01:47:35 +00:00
Viktor Szakats
43e1411e6e 2010-03-08 02:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added trick to recognize 'unicows' lib for win targets
      and always place it to its required position in the
      lib list. (this trick may change in the future, I don't
      really like current solution)
      This fixes the unicows issues, and now it seems to work
      nicely with Harbour apps built in (now default) UNICODE
      mode, when executed on Win9x systems. Harbour works only
      with Microsoft's UNICOWS.DLL (with OPENCOWS.DLL it doesn't).
    ; TOFIX: For GTWIN there is no keyboard input though, but
             the mouse works. Any idea why?
2010-03-08 01:05:44 +00:00
Viktor Szakats
e63e61de0e 2010-03-08 00:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Added missing change from prev entry:
      * src/rtl/gtwvt/gtwvt.c
        * Changed RegisterClass() call to RegisterClassEx().
          Same availability, more features, recommended call.
2010-03-07 23:49:34 +00:00
Viktor Szakats
f7c6bf4305 2010-03-08 00:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn3.c
    % Changed local version detection to hb_iswin*() calls.
2010-03-07 23:38:34 +00:00
Viktor Szakats
8931845f33 2010-03-08 00:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn2.c
    ! Changed one remaining local version detection to hb_iswin*() call.
2010-03-07 23:33:01 +00:00
Viktor Szakats
feb9517ee2 2010-03-08 00:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * src/common/hbver.c
    + Added hb_iswin2k() low-level function to detect
      if running under Windows 2000 or newer.

  * include/hbextern.ch
  * src/rtl/version.c
    + Added HB_OSISWIN2K() .prg level function.

  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * examples/gtwvw/gtwvw.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
    % Changed to use hb_iswin*() API instead of implementing
      version detection locally.

  * contrib/hbmysql/mysql.c
  * contrib/hbpgsql/postgres.c
    + Added my partial copyright.

  * contrib/hbpgsql/tests/tstpgrdd.prg
    * Formatting.

  * contrib/hbpgsql/postgres.c
    ! Fixed to define all .prg level functions regardless
      of pgsql lib it's built against. They return
      permanent failure in this case.
    ! Fixed PQCREATETRACE() to return NULL pointer instead
      of NIL for static builds.
    ! PQFREECANCEL() marked with HB_LEGACY_LEVEL3.

  * contrib/hbwin/win_os.prg
    + Using HB_OSISWIN2K() core API.

  * contrib/hbide/ideprojmanager.prg
    * Minor alignment.
2010-03-07 23:11:09 +00:00
Viktor Szakats
93d5b9b090 2010-03-07 20:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/tstpgrdd.prg
  * contrib/hbpgsql/tests/async.prg
  * contrib/hbpgsql/tests/test.prg
  * contrib/hbpgsql/tests/cache.prg
  * contrib/hbpgsql/tests/stress.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
    ! Various fixes.
    ! Formatting.
2010-03-07 19:31:54 +00:00
Viktor Szakats
bfff433b33 2010-03-07 19:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/simple.prg
    ! Fixed typo.

  * contrib/hbmysql/tests/test.prg
    * Formatting.
    ; TOFIX: Not a standalone test code.

  * contrib/hbsqlit3/tests/blob.prg
  * contrib/hbsqlit3/tests/pack.prg
  * contrib/hbsqlit3/tests/metadata.prg
  * contrib/hbsqlit3/tests/sl3_test.prg
  * contrib/hbsqlit3/tests/hooks.prg
  * contrib/hbsqlit3/tests/backup.prg
    * Indentation.
2010-03-07 18:03:17 +00:00
Viktor Szakats
5687bf4f6d 2010-03-07 18:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/simple.prg
    ! Fixed to use ANSI date format in INSERT command.

  * contrib/hbpgsql/tests/async.prg
  * contrib/hbpgsql/tests/test.prg
  * contrib/hbpgsql/tests/cache.prg
  * contrib/hbpgsql/tests/stress.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
    ! Fixed indentation.
2010-03-07 17:43:18 +00:00
Viktor Szakats
95f7efb18e 2010-03-07 17:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Cosmetic fix to generated temp stub file. Normally nobody 
      sees this file, but anyway.
2010-03-07 16:32:18 +00:00
Viktor Szakats
61739ddb58 2010-03-07 17:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/simple.prg
    ! Fixed date in SQL command to work regardless of mm/dd 
      positions in date.
      I wonder what is the proper solution which uses a fully 
      portable date format. Anyone?
2010-03-07 16:23:53 +00:00
Viktor Szakats
3f3f7ba9ab 2010-03-07 17:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/tests/simple.prg
    ! Fixed wrong code in sample.
    * Formatted.
2010-03-07 16:16:39 +00:00
Viktor Szakats
09615441e8 2010-03-07 17:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to disregard HB_FS_STATIC functions when parsing .c files 
      for entry function name. No idea how this wasn't causing any error 
      reports so far.

  * contrib/hbtip/hbtipssl/Makefile
    ! Synced file list with non-ssl version.

  * contrib/hbtip/cgi.prg
    ! Fixed to use hb_dirTemp() instead of hard-wired *nix '/tmp/'.

  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
    ! More HTML tag lowercasing.
2010-03-07 16:05:35 +00:00
Viktor Szakats
29a72856ac 2010-03-07 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/hbmzip.c
    + HB_UNZIPFILEINFO() extended to also return CRC.

  * contrib/hbziparc/hbziparc.prg
    ! HB_GETFILESINZIP() fixed to return CRC in verbose mode.

  * contrib/hbziparc/tests/zipa.prg
    + Added more test code.

  * contrib/xhb/cgi.ch
  * contrib/xhb/xhbarr.c
    * Cleanups.
2010-03-07 14:19:03 +00:00
Viktor Szakats
c0f41ee97b 2010-03-07 15:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/cgi.ch
  * contrib/xhb/tedit.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/hterrsys.prg
  * contrib/xhb/hjwindow.prg
  * contrib/xhb/htmutil.prg
    * NTRIM() -> hb_ntos()
    - Deleted NTRIM() macro.
2010-03-07 14:01:07 +00:00
Viktor Szakats
57cb7dd3cc 2010-03-07 14:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/tframe.prg
    ! Using IS*() macros instead of NIL checks.
    % Using IS*() macros instead ValType() calls.
    % Several minor optimizations.
    * Changed to use standard class declaration syntax.

  * contrib/xhb/tframe.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
    ! Fixed to generate lowercase HTML code. This is basic requirement
      for HTML to validate with any newer than legacy HTML standard (f.e. XHTML).
      Should be fixed in other places in Harbour.

  * contrib/xhb/tframe.prg
  * contrib/xhb/cgi.ch
    * Formatting.
2010-03-07 13:56:54 +00:00
Viktor Szakats
75ea8020d9 2010-03-07 14:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* doc/Makefile
    ! Fixed 'en-EN' - 'en'.
2010-03-07 13:31:41 +00:00
Viktor Szakats
d5e9e6d7e4 2010-03-07 14:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/utils.c
  * contrib/hbtip/encb64c.c
  * contrib/hbtip/encurlc.c
    ! Type cleanup.

  * contrib/hbtip/cgi.prg
    * Minor formatting.
2010-03-07 13:14:28 +00:00
Viktor Szakats
fa124b295d 2010-03-07 13:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/Makefile
  - contrib/hbtip/encmthd.c
  + contrib/hbtip/encb64c.c
  + contrib/hbtip/encurlc.c
    * Split and renamed source file containing low-level encoder/decoder 
      functions.
2010-03-07 12:16:32 +00:00
Viktor Szakats
95db3b5391 2010-03-07 13:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/encmthd.c
    - Deleted __TIP_QP_[ENCODE|DECODE](). Either I'm misunderstanding 
      their purpose or they simply didn't work (pbly because they 
      were not even used by hbtip code).
2010-03-07 12:14:00 +00:00
Viktor Szakats
0ced59cdc6 2010-03-07 13:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/encmthd.c
  * contrib/hbtip/encurl.prg
  * contrib/hbtip/encb64.prg
    ! Cleaned this quite strange and dangerous hack which made the
      exact nature of the logic fully hidden for anyone expecting
      regular programming techniques. I even reimplemented QP
      encoding not knowing about it.
      Now the class/function interface is completely standard
      without any hidden interdependencies and internal logic
      to access class vars from C level function and mapping C
      level functions as methods.
      Now it's possible to replace these TIP specific encoder/decoder
      functions with core ones, or move these ones to core.
      INCOMPATIBLE: Old function names have been changed from
         TIPENCODER*_[DECODE|ENCODE]() to __TIP_*_[ENCODE|DECODE]().
    ; TOFIX: Old C implementation of QP encoding/decoding doesn't
             seem to work.
    ; TODO: Try eliminating redundancy in base64 encoding/decoding
            between hbtip and core.

  * contrib/hbtip/cgi.prg
  * contrib/hbtip/url.prg
  * contrib/hbtip/httpcli.prg
    * Changed to use new internal function names for encoding/decoding.

  * src/rdd/dbf1.c
    * Minor formatting.
2010-03-07 12:09:47 +00:00
Przemyslaw Czerpak
566cb5730c 2010-03-07 12:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbf1.c
    * removed unnecessary function call
2010-03-07 11:25:25 +00:00
Viktor Szakats
f85a7b5b47 2010-03-07 12:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/encmthd.c
    * Formatting.
    ; TOFIX: I've just realized the nature of this hack.
2010-03-07 11:21:58 +00:00
Viktor Szakats
e1fd2e7a1e 2010-03-07 12:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/sendmail.prg
    ! Further fix to HB_SETMIMETYPE() returned strings.
    ; Pls review/test.
2010-03-07 11:06:40 +00:00
Przemyslaw Czerpak
1daa4ee6c5 2010-03-07 12:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/tframe.prg
    % small optimization
2010-03-07 11:02:01 +00:00
Viktor Szakats
b9f7254c8d 2010-03-07 11:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/hvm.c
    ! Adjustment to symEval declaration after last change.

  * contrib/hbmysql/tmysql.prg
    ! Fixed CLIPVALUE2SQL() to return NULL for NIL
      values. Should fix sf.bet bug #2964744.
    % Optimized CLIPVALUE2SQL().

  * contrib/xhb/tframe.prg
    ! Fixed HB_ENUMINDEX() to :__enumIndex().
    % Minor optimization.
    * Some formatting.

  * contrib/xhb/hblog.prg
    ! Fixed HB_ENUMINDEX() to :__enumIndex().

  * contrib/hbtip/sendmail.prg
    ! Fixed mime type spec: "text/plain;filename=" -> "text/plain; name="

  ; Latter two suggested by Lorenzo.
2010-03-07 10:48:30 +00:00
Przemyslaw Czerpak
4ca2baffd5 2010-03-07 10:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
    * small cleanup in marking hb_symEval with HB_LEGACY_LEVEL3
      It should be available for core HVM functions.
2010-03-07 09:57:44 +00:00
Viktor Szakats
91ba8932cf missed one file from last entry:
2010-03-07 04:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
  * src/vm/hvm.c
  * include/hbapi.h
    * Marked hb_synEval public symbol with HB_LEGACY_LEVEL3

  * src/rtl/gtwin/gtwin.c
    ! Copyright header update.

  * src/rtl/objfunc.prg
  * include/hboo.ch
    * Minor cleanup and formatting.

  * INSTALL
    * Minor refinement in wording.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideprojmanager.prg
    ! "Codec" -> "Encoding" in a few more places.
    ! "..." added to some more menu items.
    ! Double "(.ext)" text in filetypes in open project dialog.
    ; Please review me.
2010-03-07 03:36:34 +00:00
Viktor Szakats
a682aa5d86 2010-03-07 04:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/hvm.c
  * include/hbapi.h
    * Marked hb_synEval public symbol with HB_LEGACY_LEVEL3

  * src/rtl/gtwin/gtwin.c
    ! Copyright header update.

  * src/rtl/objfunc.prg
  * include/hboo.ch
    * Minor cleanup and formatting.

  * INSTALL
    * Minor refinement in wording.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
    ! "Codec" -> "Encoding" in a few more places.
    ! "..." added to some more menu items.
    ! Double "(.ext)" text in filetypes in open project dialog.
    ; Please review me.
2010-03-07 03:35:31 +00:00
Pritpal Bedi
4c5a91c3ca 2010-03-06 15:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbide/resources/fl_c.png
  + contrib/hbide/resources/fl_dll.png
  + contrib/hbide/resources/fl_exe.png
  + contrib/hbide/resources/fl_ini.png
  + contrib/hbide/resources/fl_lib.png
  + contrib/hbide/resources/fl_prg.png
  + contrib/hbide/resources/fl_res.png
  + contrib/hbide/resources/fl_txt.png
  * contrib/hbide/resources/hb-16x16.png
  * contrib/hbide/resources/hb-32x32.png
  * contrib/hbide/resources/hbide.png
  + contrib/hbide/resources/hbidesplashwatermark.png
  + contrib/hbide/resources/panel_2.png
  + contrib/hbide/resources/panel_3.png
  + contrib/hbide/resources/panel_4.png
  + contrib/hbide/resources/panel_5.png
  + contrib/hbide/resources/panel_6.png
  + contrib/hbide/resources/panel_7.png
  + contrib/hbide/resources/source_c.png
  + contrib/hbide/resources/source_cpp.png
  + contrib/hbide/resources/source_h.png
  + contrib/hbide/resources/source_o.png
  + contrib/hbide/resources/source_prg.png
  + contrib/hbide/resources/source_res.png
  + contrib/hbide/resources/source_txt.png
  + contrib/hbide/resources/source_unknown.png
    + Added more images for user interface. 

  * contrib/hbide/resources/projectpropertiesex.ui
  * contrib/hbide/resources/projectpropertiesex.uic
    - Removed xMate ".xhp" project loading icon.

  * contrib/hbxbp/xbpwindow.prg
    ! Commented out "resize" event as it was hanging the 
      applications without any graspable reason. Will be 
      investigated deeply in future.

  * contrib/hbide/hbide.hbp
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idestylesheets.prg
  + contrib/hbide/idethemes.prg
    
    ! This commit corrects/fixes issues reported by Viktor.
      Please scratch them again. I might have missed a couple
      of them.

    + Implemented: A root panel called "Stats" containing,
      presently, "Welcome" and "FAQ's" tabs, detailed below.
      Now hbIDE has a mechanism to hold as many informative 
      slots as the development will demand in future.

      <Welcome>: It holds the exiting "Projects" information:
        Title   Type   Sources   Last_Modified    Location

      The field <Title> is a link to open detailed view of its 
      contents which contain fields:
        Source   Type   Size   Last_Modified   Location

      Clicking on a <Source> opens it in the editor under "Main" panel.

      <Home> icon is added in the top-toolbar next to <Exit> icon
      which leads you to <Stats> panel holding <Welcome> and <FAQs> tabs.

      Projects -> Detail -> Source : backward navigation is enabled 
      through context menu withing browser. The options within thus
      context menu has <Print> option which leads to print preview
      dialog and eventually to printing on the paper.

      <FAQs>: This holds short questions and answers as per the 
      industry standards. I could put only two of them still. 
      Please forward the ones you consider should go to this list.

    ! Changed: main window icon as previous one was not giving a 
      strong impression to be remember for long.
    
    ! Loading/Opening a project: now offers .hbp or .xhp options.
      .xhp is converted to .hbp and is written to disk and project
      is loaded as usual. This should be a one-time process.

    ! Click on function list now position the clicked function 
      in the center of the editor.

    ! IdeSettings.ini is now hbide.set and is saved where hbide.ini 
      is residing. The change is name was nessary as to avoid
      wrong impression of .ini nature as a text file. It is binary
      by nature.

    ! Many more artifacts which I tend to forget, please bear it 
      with my age.
2010-03-07 00:06:49 +00:00
Przemyslaw Czerpak
e80a2ad13d 2010-03-06 23:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/evalhb.c
  * harbour/src/vm/asort.c
  * harbour/src/vm/hvm.c
  * harbour/src/vm/arrays.c
  * harbour/src/vm/thread.c
  * harbour/src/vm/eval.c
  * harbour/src/vm/classes.c
  * harbour/src/rtl/do.c
  * harbour/contrib/gtwvg/wvgwing.c
    * use hb_vmPushEvalSym() instead of hb_vmPushSymbol( &hb_symEval )
      Please try to eliminate direct hb_symEval usage from 3-rd party code.
2010-03-06 22:44:51 +00:00
Przemyslaw Czerpak
29fa3151d5 2010-03-06 21:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/gencc.c
    ! fixed wrongly used HB_LONG_{MAX,MIN} instead of LONG_{MAX,MIN}.
2010-03-06 20:27:13 +00:00
Przemyslaw Czerpak
3d6de8244c 2010-03-06 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbxvm.h
  * harbour/src/compiler/gencc.c
  * harbour/src/vm/hvm.c
    % added few functions increasing the execution speed of some PRG code
      compiled with -gc3 switch
2010-03-06 17:34:15 +00:00
Viktor Szakats
082671ac6f 2010-03-05 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/Makefile
    - Disabled stdint.h for all targets to make some Harbour
      supported legacy compilers happy which don't support it
      (f.e. bcc 5.5)
2010-03-05 22:18:56 +00:00
Viktor Szakats
8a8ae50ff3 2010-03-05 21:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/Makefile
    + Added bzip2.

  * external/bzip2/Makefile
    ! Fixed to avoid stupid BCC tlib warning by enabling
      "case-sensitive library" option.

  * config/global.mk
  * config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Added support for HB_AFLAGS. Only bcc needs it ATM.
2010-03-05 20:21:44 +00:00
Viktor Szakats
0a520d6534 2010-03-05 20:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbverdsp.c
    % "Language options" merged into "Build options"

  * src/rtl/gtwin/gtwin.c
    - Deleted not working undocumented SetConsolePalette() code sections.
    * HB_GTI_PALETTE will return zeroes (black) on platforms/builds which
      don't support console palette API.
    + Enabled SetConsoleMenuClose() undocumented call in default builds.
      It seems so simple function that it's unlikely it will change
      (worst case it will be deleted). Return value confirmed to be
      BOOL (don't ask how).
      This feature requires Windows 2000 for final apps, no build-time
      requirement.
      Can be disabled using HB_GTWIN_USE_SETCONSOLEMENUCLOSE_OFF macro.
    % Minor optimization.

  * contrib/hbwin/win_reg.prg
    ! Changed to use local emulation of BIN2U() instead of XPP
      specific original implementation.
2010-03-05 20:02:08 +00:00
Viktor Szakats
d79a1b7b81 2010-03-05 19:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    + Added more code (probably the ugliest I've ever had a chance
      to create while touching Windows API) for undocumented
      SetConsolePalette() hack, following Saulius Zrelskis's
      suggestion. Now it doesn't GPF, but it does nothing else
      either (could be wrong SYSPAL_ constant, could be anything).
      From this point I'll let others continue, or delete all
      undocumented code sections.
2010-03-05 18:29:41 +00:00
Viktor Szakats
1a9fe1279d 2010-03-05 18:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbc
  * contrib/rddsql/sddmy/sddmy.hbc
    ! Fixed library name for Linux platforms.
      I hope it also works for other *nix systems.
      (On darwin/macports it doesn't because they placed
      the lib in a subdir, but at least the lib name is
      right)

  + external/bzip2
  + external/bzip2/LICENSE
  + external/bzip2/Makefile
  + external/bzip2/cnv_hb2o.bat
  + external/bzip2/cnv_o2hb.bat
  + external/bzip2/blocksor.c
  + external/bzip2/bzip2.c
  + external/bzip2/bzlib.c
  + external/bzip2/compress.c
  + external/bzip2/crctable.c
  + external/bzip2/decompre.c
  + external/bzip2/huffman.c
  + external/bzip2/randtabl.c
  + external/bzip2/bzlib.h
  + external/bzip2/bzlib_pr.h
    + Add locally hosted bzip2 library. Experimental, we
      don't use it yet. Will be deleted if of no use, or
      not portable enough. ATM OS/2, DOS and WCE targets
      are not supported.

  * external/pcre/pcre.dif
    - Deleted not more required local patch, since
      we're not using legacy (Windows) types anymore
      in Harbour.

  * external/pcre/pcre.h
  * external/pcre/pcreexec.c
  * external/pcre/pcreinal.h
  * external/pcre/pcredfa.c
  * external/pcre/pcrecomp.c
  * external/pcre/config.h
  * external/pcre/LICENCE
  * external/pcre/pcreprni.h
  * external/pcre/pcrestud.c
    + Updated to 8.0.1 (from 8.0.0)

  * external/libpng/pngrio.c
  * external/libpng/pngconf.h
  * external/libpng/pngwrite.c
  * external/libpng/pngset.c
  * external/libpng/pngpread.c
  * external/libpng/pngwtran.c
  * external/libpng/LICENSE
  * external/libpng/pngrutil.c
  * external/libpng/pngwutil.c
  * external/libpng/pngread.c
  * external/libpng/pngmem.c
  * external/libpng/pngget.c
  * external/libpng/png.c
  * external/libpng/png.h
  * external/libpng/pngpriv.h
  * external/libpng/pngrtran.c
    + Updated to 1.4.1 (from 1.4.0)
2010-03-05 17:54:42 +00:00
Viktor Szakats
29116c45c4 2010-03-05 15:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    + Added HB_GTI_PALETTE support for GTWIN. Requires Vista
      system or newer at runtime and requires Vista compatible
      SDK at build-time (this is MSVC newer versions or older
      versions with newer SDK). Unfortunately it cannot work
      with mingw and possibly other C compilers until they
      add support.
    + Added to set MS-DOS-like colors for GTWIN on Vista and
      newer systems (same requirements as above).
    + Added experimental undocumented SetConsolePalette()
      support for non-Vista systems and non-Vista SDKs,
      but it GPFs and doesn't support reading palette, so
      overall it's not enough for Harbour. I will let it there
      in case someone wants to deal with it and delete it
      after a few days.

  * contrib/rddads/ads1.c
    * Minor formatting.
2010-03-05 14:11:14 +00:00
Mindaugas Kavaliauskas
36db9d2adf 2010-03-05 14:59 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads1.c
    * changed errSubCode values. Now errSubCode ir equal to:
      = ADS error value, if error is returned from ADS. Values
        of error subcodes are > 1000.
      = EDBF_* - 900, if error is generated by RDD. Values of 
        error subcodes are < 1000.
    + added a detailed error description for ADS errors
2010-03-05 13:00:10 +00:00
Viktor Szakats
23f4d52dda 2010-03-05 13:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
  * include/hbapi.h
    + Added hb_iswinvista() to detect Vista and newer Windows versions.

  * src/rtl/version.c
  * include/hbextern.ch
    + Added HB_OSISWINVISTA() .prg level function with above meaning.

  * contrib/hbwin/win_os.prg
    % Changed to use HB_OSISWINVISTA() instead of hbwin specific
      WIN_OSISVISTAORUPPER().
2010-03-05 12:48:53 +00:00
Przemyslaw Czerpak
2dfec6cf2f 2010-03-05 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrddnsx.h
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/include/hbrddntx.h
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/hsx/hsx.c
  * harbour/src/rdd/usrrdd/usrrdd.c
  * harbour/src/rtl/hbsocket.c
    ! fixed casting for compilers which needs strict aliasing rules

  * harbour/harbour.spec
    ! fixed typo in hbxpp library name
    ! fixed to work with SDDSQLT3 library

  * harbour/contrib/hbwin/olecore.c
    ! fixed buffer overflow caused by wrongly used sizeof() instead of
      HB_SIZEOFARRAY()

  * harbour/contrib/rddsql/sddodbc/sddodbc.c
    ! fixed wrongly used & operator

  * harbour/src/rtl/hbsocket.c
    ! fixed to compile with OpenWatcom Linux builds
2010-03-05 12:19:49 +00:00
Viktor Szakats
0079c5478c 2010-03-05 11:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddoci/sddoci.c
    ! Fixed OCILIB initalization to make OCI_GetLastError() work.
      (Thanks to OCILIB author Vincent Rogier for the report 
      and fix)

  * src/rtl/gtwin/gtwin.c
    % Simplified the way close button status is retrieved (based 
      on code posted Saulius Zrelskis)
    + Added code to disable 'close' menu also. This is using 
      undocumented Windows API call, so by default the logic 
      is disabled, and can be enabled with HB_GTWIN_UNDOC_WINAPI 
      macro. (Thanks to Saulius Zrelskis for this API tip)
      (NOTE: All 'close' controls are controlled by HB_GTI_CLOSABLE)
2010-03-05 10:13:33 +00:00
Przemyslaw Czerpak
aae4187975 2010-03-04 19:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/hvm.c
    ! removed unnecessary hbstack reference in MT builds - thanks to
      Grigory Filatov for the information
2010-03-04 18:43:51 +00:00
Viktor Szakats
8bb33ae346 2010-03-04 19:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour.spec
  * contrib/Makefile
  - contrib/hbsms
    - Deleted hbsms lib.
2010-03-04 18:08:34 +00:00
Viktor Szakats
fc617333a6 2010-03-04 13:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/telepath.prg
    ! Restored for real.
2010-03-04 12:57:07 +00:00