Commit Graph

16273 Commits

Author SHA1 Message Date
Viktor Szakats
56edea78f6 2011-04-29 23:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/ssl.c
  * contrib/hbssl/bio.c
    ! fixed BIO_TEST_FLAGS(), SSL_SET_MTU() to be always defined on prg level
2011-04-29 21:29:38 +00:00
Przemyslaw Czerpak
2b98d23bec 2011-04-29 18:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    ! fixed time checking in *nix version of hb_fsPipeIsData()

  * harbour/contrib/hbwin/win_bmp.c
    ! fixed buffer overflow
2011-04-29 16:13:07 +00:00
Viktor Szakats
c2b35cdd9d 2011-04-29 11:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_common.hbc
    * reverted: 2011-04-19 21:15 UTC+0200 Viktor Szakats
      ! do not satisfy the HBQT dependency when HB_BUILD_3RDEXT=no.
2011-04-29 09:19:43 +00:00
Viktor Szakats
8e71e0eb6f 2011-04-29 02:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwvt/gtwvt.c
    ! put back CS_HREDRAW | CS_VREDRAW
      apparently needed for HB_GTI_RESIZEMODE_FONT. Thanks Pritpal.
    * use XP double buffering on Vista and upper systems only (was: all).
      This is not based on hard scientific data at this time, some users
      reported "slowness" on certain XP systems. It doesn't seem to be
      tied to any particular video chipset (or driver), exact reason
      still uncertain (other software? GPO setting? SP level?).
      I cannot find evidence for general WS_EX_COMPOSITED related problem
      on the internet.
      So we're back to *fugly* screen updates on XP and lower systems, this
      means that visible lag will be seen when drawing text with changing
      colors in them (f.e. menubar with hotkey).
      If you know better, speak up.

  * contrib/hbqt/hbmk2_qt.hbs
    ! fixed typo in one HB_WITH_QT envvar reference (Thanks Francesco)
    + accept HB_QTPATH with or without ending dirsep
    ! use host exe extension when looking for qt tools
    + use win/os2 specific autodetection logic based on host OS, rather
      than target OS, thus helping QT in cross-builds, like droid.
      And now let the avalanche of crap follow.

  - doc/howtobld.txt
    - outdated, deleted

  * doc/howtosvn.txt
    * minor update
2011-04-29 00:45:29 +00:00
Pritpal Bedi
f4aa362617 2011-04-28 16:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.c
    ! Normalized code close to GTWVT as much as possible.
      TODO: add full screen functionality.

  * contrib/gtwvg/wvgpaint.prg
    ! Minor.
2011-04-28 23:36:01 +00:00
Viktor Szakats
9943651552 2011-04-28 12:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + added (aka: "fixing a build issue") new -depincroot=/depincroot=
      setting to set root dir for -depincpath= values

  * contrib/hbodbc/hbodbc.hbp
  * contrib/sddodbc/sddodbc.hbp
    * formatting
2011-04-28 10:57:42 +00:00
Viktor Szakats
fa72e68e8b 2011-04-28 12:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
  * package/mpkg_win_nightly.bat
    + echoing self

    ; TOFIX: nightly binaries are hosed and they don't seem to use live
             .bat files from SVN.
             also, mingw is outdated.
2011-04-28 10:24:35 +00:00
Viktor Szakats
4417f57f37 2011-04-28 10:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnf/ontick.prg
    * precise tick per sec value. Thanks Klas!

  * config/detect.mk
    * do not disable some 3rd party libs for android (revert)
2011-04-28 08:32:43 +00:00
Viktor Szakats
d2163a54bf 2011-04-27 17:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/config.h
    ! yet another bcc problem. my last after the last.
      anyone to pick up fixing bcc bugs?

  * config/detect.mk
    - exclude slang/curses/x11 for android

  * contrib/hbct/strdiff.c
  * contrib/hbct/dattime3.c
    * uncrustified

  * contrib/hbct/misc2.c
  * contrib/hbct/token1.c
  * contrib/hbct/print.c
    * formatted
2011-04-27 15:47:10 +00:00
Viktor Szakats
aeff3729cc 2011-04-27 11:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_qt.hbs
  * contrib/hbqt/qtgui/hbqtgui.h
  * contrib/hbqt/qtgui/qth/QGraphicsPathItem.qth
  * contrib/hbqt/qtgui/qth/QBrush.qth
  * contrib/hbqt/qtgui/qth/QGraphicsScene.qth
  * contrib/hbqt/qtgui/qth/QGraphicsRectItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth
  * contrib/hbqt/qtgui/qth/QGraphicsPolygonItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsLineItem.qth
  * contrib/hbqt/qtgui/qth/QDropEvent.qth
  * contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsPixmapItem.qth
  * contrib/hbqt/qtgui/qth/QPixmap.qth
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/qth/QResource.qth
  * contrib/hbqt/qtcore/qth/QMimeData.qth
  * contrib/hbqt/qtcore/hbqtcore.h
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtsql/qth/QSqlQuery.qth
    * hbqt_par_obj() -> hbqt_par_ptr()
    * hbqt_gcpointer() -> hbqt_par_ptr()
    * hbqt_pPtrFromObj() -> hbqt_par_ptr()
    * hbqt_getObjectGC() -> hbqt_par_ptrGC()
    * hbqt_detachgcpointer() -> hbqt_par_detach_ptrGC(),
      retval set to void (from void *)
    * hbqt_pPtrFromObject() -> hbqt_get_ptr()
    * hbqt_set_pptr() renamed, cleaned, made static
    ! hbqt_isObjectType() retval changed to HB_BOOL
    - hbqt_getqtptr() deleted, unused
2011-04-27 10:00:24 +00:00
Przemyslaw Czerpak
00250974d3 2011-04-27 10:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/dattime3.c
    * set _SVID_SOURCE macro before any header files to enable stime()
      in Linux builds even when C89 is forced by some compiler switches
2011-04-27 08:59:19 +00:00
Viktor Szakats
3624d38150 2011-04-27 10:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
    % Further simplified, cleaned, optimized, recursive call unrolled.

    ; TODO: Leave only one of these:
        void * hbqt_par_obj( int iParam )
        void * hbqt_gcpointer( int iParam )
        void * hbqt_pPtrFromObj( int iParam )
2011-04-27 08:50:56 +00:00
Pritpal Bedi
e3e042666d 2011-04-26 18:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
    ! Removed: any other constructs of raw-pointers.
      Normalized: the code flow.
2011-04-27 01:28:24 +00:00
Viktor Szakats
d91795178d 2011-04-27 03:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/resources/hb-32x32.png
  * contrib/hbide/resources/hb-16x16.png
  * contrib/hbide/resources/hbide.png
    + Updated
  * contrib/hbide/hbide.qrc
    - space @ EOF
2011-04-27 01:18:23 +00:00
Viktor Szakats
2a25068cbe 2011-04-27 00:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/hbide.ico
  * examples/httpsrv/home/favicon.ico
    * static copies updated
2011-04-26 23:03:20 +00:00
Viktor Szakats
95782b2a31 2011-04-27 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbx
    - deleted HBQT_FINDCHILD(). it used raw pointer. was used by hbqtuitools.
    % deleted unused extern.

  * package/winuni/mpkg_win_uni.bat
  * contrib/hbnetio/utils/hbnetioq/hbnetioq.hbp
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqt_all.hbp
  - contrib/hbqt/tests/QtUiTools.txt
  - contrib/hbqt/qtuitools
  - contrib/hbqt/hbqtuitools.hbc
  * contrib/hbide/hbide.hbp
    - deleted dynamic UI loading. it had too many hopeless TOFIXes
      and it required raw pointers. and a lot of bloat.
      Should be reimplemented by loading and processing .ui files
      manually.
2011-04-26 22:37:25 +00:00
Viktor Szakats
84396b7f48 2011-04-26 22:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/mpkg_win_nightly.bat
    + disabled bcc libs in nightly binary build.
      bcc is not tested by most developers anymore, so its risky
      to include it and let it break the build.

  * contrib/hbrun/hbrun.rc
    - Disable app icon for bcc builds. bcc is too old or buggy
      to handle .ico files with certain properties.

  * utils/hbmk2/hbmk2.prg
    - Disabled -icon= option for bcc to avoid build breaks due
      to more recent .ico files.

  * contrib/hbmlzo/hbmlzo.hbx
    * autoupdate

  ; NOTE: This was my last patch targeting a bcc specific problem.
          It's a waste of time.
2011-04-26 20:34:30 +00:00
Viktor Szakats
ff74b630a1 2011-04-26 18:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbnf/tests/ontick.prg
  - contrib/hbnf/ontick.c
  * contrib/hbnf/hbnf.hbp
  * contrib/hbnf/hbnf.hbx
  + contrib/hbnf/ontick.prg
    + implemented:
         FT_ONTICK( [<bBlock>][, <nTickInterval> ] ) -> NIL
      (after spotting thread on clipper.borda.ru)
      Note, I didn't test it against original NFLib, and second
      param looks like undocumented one.

  * contrib/xhb/bkgtsks.c
    * uncrustified
2011-04-26 16:12:40 +00:00
Pritpal Bedi
c7dd5e2704 2011-04-26 07:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt.h
    ! Miss from prev commit.

  * contrib/hbxbp/tests/dialogqt.prg
    ! Removed: :setStyleSheet() calls.
2011-04-26 14:54:11 +00:00
Viktor Szakats
dc2edce1ef 2011-04-26 16:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/tests/testreg.prg
    + added type parameter to win_regWrite()/win_regSet()/win_regSetValueEx() functions
    + added QWORD support in win registry
    ! fixed very old xhb typo: sizeof( REG_DWORD ) -> sizeof( DWORD )
      (didn't cause actual error in compiled code)
    + added REG_DWORD, REG_QWORD tests

  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    * uninstall icon changed to better looking one
2011-04-26 14:29:38 +00:00
Viktor Szakats
00da0a4518 2011-04-26 14:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harb_osx.icns
  * package/harb_win.ico
    + reworked square logo
      - contains 'Hb' instead of 'H' or 'ha'
      - transparent bckg
      - full length boat
      - hi-res icons for Vista/7

  + package/favicon.ico
    + added web favicon.
2011-04-26 12:35:17 +00:00
Viktor Szakats
37f4302d13 2011-04-26 12:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + dependency check to define HBMK_DIR_* macro with autodetected header dir
    + macro evaluator to return actual value (if any) for internally defined macro

  + contrib/hbdroid
  + contrib/hbdroid/hvminit.c
  + contrib/hbdroid/hbdroid.h
  + contrib/hbdroid/hbdroid.hbc
  + contrib/hbdroid/hbdroid.hbp
  + contrib/hbdroid/msginfo.c
    + Android lib
      Based on code sent to the list by Antonio.
      Only build tested (on win).
2011-04-26 10:56:56 +00:00
Pritpal Bedi
1f539ed2f5 2011-04-26 03:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.h
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.h
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtcore/qth/HBQEvents.qth
  * contrib/hbqt/qtcore/qth/HBQSlots.qth
  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbxbp/xbptabpage.prg
    ! Removed: entirely - raw-pointers from hbQT.

      WARNING: this may cause a temporary instability, please report.
2011-04-26 10:11:18 +00:00
Viktor Szakats
41c9f6f6c8 2011-04-26 11:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added 'comparing xharbour to harbour' document direct URL 
      to '15. FOR MORE INFORMATION' section.

  * contrib/hbwin/tests/testole.prg
    * minor
2011-04-26 09:10:00 +00:00
Pritpal Bedi
2a036f3643 2011-04-25 23:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hbs
    ! Removed: one already commented-out section.

  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    ! Removed: few more raw-pointers constructs which were 
      hanging around unneccessarily.
2011-04-26 06:19:59 +00:00
Viktor Szakats
feed03fe2b 2011-04-26 02:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/token2.c
    % deleted unnecessary null check of hb_xrealloc() retval
    * formatting
2011-04-26 00:38:20 +00:00
Viktor Szakats
649cb44377 2011-04-26 01:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
  * INSTALL
    * version updates
2011-04-25 23:55:15 +00:00
Viktor Szakats
6f72d62ab3 2011-04-26 01:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcurl/core.c
    % unary inc opt
2011-04-25 23:51:23 +00:00
Viktor Szakats
09b8a1ef63 2011-04-25 23:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + show CCPREFIX/CCPOSTFIX with -info
  * ChangeLog
    * some followups and typo fixes.
2011-04-25 21:06:49 +00:00
Viktor Szakats
c7e69160ac 2011-04-25 22:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/hbct.hbp
    * raise c dialect to gnu90 on linux for stime()
  * contrib/hbwin/wapi_winbase.c
    ! define WAPI_GET*PATHNAME() as noop functions on wce
  * contrib/hbwin/win_shell.c
    ! made WIN_SHELLNOTIFYICON() a dummy on wce
  * contrib/hbwin/mapi.c
    ! do not undef UNICODE for wce (results in missing LoadLibraryA() on link)
  * contrib/hbwin/wapi_commctrl.c
    ! made WAPI_IMAGELIST_LOADIMAGE() a dummy on wce
  * contrib/sddfb/sddfb.hbp
  * contrib/hbfbird/hbfbird.hbp
    * set c dialect to gnu90 for fbird headers
  * contrib/hbpre.hbm
    * set c dialect to gnu90 for wce/allmingw for cegcc Windows headers
2011-04-25 20:34:20 +00:00
Viktor Szakats
02eedb2151 Typo in changelog (sorry) 2011-04-25 01:35:14 +00:00
Viktor Szakats
156bccb461 2011-04-25 03:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwvt/gtwvt.c
    ! Fixed HB_GTI_ICONFILE not working with "certain" .ico files.

  * contrib/hbqt/hbqt_common.hbc
    + added libpath for beos [Tamasz Tevesz]
2011-04-25 01:34:07 +00:00
Viktor Szakats
de161a7262 2011-04-24 10:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! fixed "cross-talk" in compiler options between C and C++
      build passes

  + contrib/hbqt/qtsql/doc/en
    ! add missing dir causing doc gen errors

  * contrib/hbmlzo/3rd/minilzo/README.LZO
  * contrib/hbmlzo/3rd/minilzo/lzoconf.h
  * contrib/hbmlzo/3rd/minilzo/minilzo.c
  * contrib/hbmlzo/3rd/minilzo/minilzo.h
  * contrib/hbmlzo/3rd/minilzo/COPYING
  * contrib/hbmlzo/3rd/minilzo/minilzo.hbp
  * contrib/hbmlzo/3rd/minilzo/lzodefs.h
    + update to 2.05 [Tamas Tevesz]

  * contrib/hbqt/qtsql/hbqtsql.hbc
    ! deleted GUI related settingd

  * contrib/hbqt/qtsql/qth/filelist.hbm
    * sorted

  * contrib/hbqt/qtsql/hbqtsql.hbm
  * contrib/hbqt/qtsql/qth/QSqlField.qth
  * contrib/hbqt/qtsql/qth/QSqlRelationalTableModel.qth
  * contrib/hbqt/qtsql/qth/QSqlDatabase.qth
  * contrib/hbqt/qtsql/qth/QSqlQuery.qth
  * contrib/hbqt/qtsql/qth/QSqlQueryModel.qth
  * contrib/hbqt/qtsql/qth/QSqlIndex.qth
  * contrib/hbqt/qtsql/qth/QSqlTableModel.qth
  * contrib/hbqt/qtsql/qth/QSqlError.qth
  * contrib/hbqt/qtsql/qth/QSqlDriver.qth
  * contrib/hbqt/qtsql/qth/QSqlRecord.qth
  * contrib/hbqt/qtsql/qth/QSqlResult.qth
    * deleted EOL/EOF spaces
2011-04-24 08:11:16 +00:00
Pritpal Bedi
637be04fdf 2011-04-23 23:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/gtqtc/gtqtc.cpp
  * contrib/hbqt/gtqtc/gtqtc.h
    ! Regained: box-characters.
2011-04-24 06:29:10 +00:00
Pritpal Bedi
9fb8644777 2011-04-23 11:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/demoqt.prg
    ! Fixed: a -w3 warning.
2011-04-23 18:08:16 +00:00
Przemyslaw Czerpak
189231e48e 2011-04-23 10:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    * casting to pacify warnings on some platforms which may use
      negative errno codes
2011-04-23 08:39:10 +00:00
Pritpal Bedi
010313eff9 2011-04-23 00:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgwing.c
    ! Converted: remaining C++ comments to Ansi C style.

  * contrib/hbplist
    ! Enabled: gtwvg to be built with whole package.
2011-04-23 07:42:52 +00:00
Pritpal Bedi
b0f4ae651b 2011-04-22 21:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgsysw.prg
  * contrib/gtwvg/wvgtoolb.prg
    ! Changed: C++ comments to Ansi C compatible.
      Hopefully I did it right, not tested the build.
2011-04-23 04:43:43 +00:00
Viktor Szakats
85b449660f 2011-04-23 02:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    + Added recently added options to help text.
2011-04-23 00:54:12 +00:00
Viktor Szakats
8ce4f21ded 2011-04-23 02:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Missed to document one change:
      * src/rtl/gtwvt/gtwvt.c
        % Deleted CS_HREDRAW | CS_VREDRAW flags from Harbour window
          class. Please make sure to review this, I'm not expert, but
          these flags are apparently not needed for GTWVT and advised
          against on many forums.
2011-04-23 00:11:58 +00:00
Viktor Szakats
81aaba495a 2011-04-23 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added TROUBLESHOOTING/9.: how to submit logs to dev list.
      Please read it.

  * src/rtl/diskspac.c
  * src/rtl/disksphb.c
    ! Fixed possible MT race condition in DISKSPACE()/HB_DISKSPACE()
      where no value could be returned.

  * src/rtl/gtwvt/gtwvt.c
    * Changed to use WS_EX_COMPOSITED instead of WS_EX_LAYERED.
      This works on XP and above (previous one also worked on W2K),
      and I mean this as another round of live testing, as WS_EX_LAYERED
      turned out to be causing strange flickers (maybe hardware
      induced, I don't know) on some non-virtualized/non-remote
      OS installations. Maybe this will work better. If not, even
      this will be deleted. Then maybe software/DC double-buffering
      will be the ultimate soltion.
    % Dropped fiddling with SetLayeredWindowAttributes() call.
    * Formatting.

  * contrib/make.hbs
    + Added 'verbose' keyword. Equivalent to HB_BUILD_VERBOSE=yes.
    + Added 'rebuild' keyword. (Equivalent to 'clean all')

  * contrib/3rd/sqlite3/sqlite3.hbp
    ! Added workaround for gcc/mingw bug in 4.5.0 and 4.5.1
      revisions where it shows compile error when iso89 c dialect
      is selected. Now in 4.5.x gnu89 is used instead to avoid it.

  * contrib/hbplist
    - Disabled gtwvg due to build breakage.
2011-04-23 00:08:55 +00:00
Viktor Szakats
87fafe4ade 2011-04-22 16:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ config/minix/clang.mk
    + Added new compiler for minix. [Tamas Tevesz]

  * utils/hbmk2/hbmk2.prg
  * INSTALL
    + Added minix/clang.
    - Deleted minix/pcc references.
2011-04-22 14:29:59 +00:00
Viktor Szakats
b631267e62 2011-04-21 19:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Typo in prev for djgpp/C++.
2011-04-21 17:26:15 +00:00
Viktor Szakats
a576d4bbc3 2011-04-21 19:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -c=/-cpp= dialect support for sunpro, icc, clang, watcom.
      Many thanks to Tamas for the information.
    + Added dialect support for vxworks/diag

  * contrib/hbpre.hbm
    - do not set any C++ std in contrib area
      it's a mess.
2011-04-21 17:24:42 +00:00
Viktor Szakats
2086668add 2011-04-21 16:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Addes missing change to 2011-04-21 01:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu):
      * src/rtl/gtwin/gtwin.c
        ! Reverted optimization patch in
          2011-03-30 14:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
          It caused strange effects (<Alt> key causing INKEY()
          to return <Ctrl+PgUp> on some national keysets or some
          other region related attributes, it was reported by few
          users from Brazil.
2011-04-21 14:59:34 +00:00
Viktor Szakats
7b3c518a60 2011-04-21 10:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * include/hbapi.h
  * src/common/hbver.c
  * src/rtl/version.c
    + hb_verHostCPU() to return CPU architecture the host OS
      is running under. (long time TODO)
      It may or may not give precise answer depending on 
      target OS. For win, it works as exptected.
    + HB_OSCPU() -> <cCPU> same for .prg level apps.

  * contrib/hbmxml/3rd/minixml/mxml_str.c
    ! Ultimate isdigit() fix. [Tamas Tevesz]
2011-04-21 08:36:15 +00:00
Viktor Szakats
9b27f5e707 2011-04-21 03:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental -c=[iso90|iso99|iso1x|gnu90|gnu99|gnu1x] and
      -cpp=[iso98|iso0x|gnu98|gnu0x] hbmk2 options to select
      C/C++ dialect in a C compiler and built setting independent way.
      It will currently affect GCC and compatible family of compilers.
      If you happen to know about C dialect/std selection in other
      compilers, pls tell and they can be mapped to this option.
      F.e. in other win compilers the adaptation to C/C++ stds is very
      fuzzy, where such option exists at all (f.e. BCC -A* options),
      mostly it's just toggling some compiler extensions.
      Comments are welcome of course.
    + Added TOFIX for vxworks with potential disagreement on C std level.
      I used hardwired C99 forcage hack while porting Harbour to it.
    + Added internal logic for C- and C++-only options.
    ; NOTE: Behavior with Objective C sources is yet to be tested.

  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbunix/hbunix.hbp
  * contrib/gtalleg/gtalleg.hbm
  * contrib/xhb/xhb.hbp
  * contrib/hbqt/hbqt_common.hbm
  * contrib/rddads/rddads.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbpre.hbm
  * contrib/hbssl/hbssl.hbm
    + -cflag=-std=... => -c=gnu90 hbmk2 option.
2011-04-21 01:12:24 +00:00
Viktor Szakats
5ee2e28507 2011-04-21 01:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcurl/core.c
  * contrib/hbcurl/core_t1.c
    ! Applied sf.net patch #3290483. [Benjamin Jacobs]
2011-04-20 23:04:47 +00:00
Viktor Szakats
83e92f91d8 2011-04-21 01:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmxml/3rd/minixml/mxml_str.c
    ! Fixed isdigit() warning which was result of missing
      mxml header. [Tamas Tevesz]

  + contrib/hbcurl/hbcurlt1.ch
  + contrib/hbcurl/core_t1.c
    + Implemented new way of using HB_CURLOPT_HTTPPOST, now
      all meaningful values are supported in any order and
      combination. See:
           http://curl.haxx.se/libcurl/c/curl_formadd.html
      The patch is heavily based on patch/implementation submitted
      by Benjamin Jacobs, many thanks for it. Final patch
      includes some rework, simplification, compile and
      other fixes, plus formatting with uncrustify. Please
      make sure to test/review this version as I didn't do
      any functional tests, just build ones.
      Sample code:
         curl_easy_setopt( curl, HB_CURLOPT_HTTPPOST, { ;
             { HB_CURLFORM_COPYNAME, "nparam1", ;
               HB_CURLFORM_COPYCONTENTS, "value1" }, ;
             { HB_CURLFORM_COPYNAME, "nparam2", ;
               HB_CURLFORM_COPYCONTENTS, "value" }, ;
             { HB_CURLFORM_COPYNAME, "fileparam", ;
               HB_CURLFORM_FILE, filename } } )
      WARNING: This implementation is INCOMPATIBLE with the
               previous one.
      TOFIX: Current implementation does allow to create GPFs because
             it allows .prg code manually pass buffer sizes. This must
             be fixed and buffer length should always be automatically
             taken from Harbour item. This will require more sophisticated
             code to build the low-level array (f.e. size calculation).
             Benjamin, can you look at it?
      NOTE: I'm uploading this unfinished code as new temp files,
            because SVN doesn't support light branching, so this poor man's
            solution is left to manage it.
2011-04-20 23:01:14 +00:00
Viktor Szakats
633e5c2614 2011-04-20 21:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmxml/3rd/minixml/config.h
    * Testing without HAVE_SNPRINTF/HAVE_VSNPRINTF in ANSI C89 mode.

  * utils/hbmk2/hbmk2.prg
    + Added '-cflag+=' experimental option which works like
      -cflag=, but it adds the custom flag _after_ C flags
      added internally by hbmk2. This allows for some better fine
      tuning (f.e. see rddads.hbp). Another possbility would
      have been to move all user flags after internal ones,
      but this could make it easy to break builds, and it
      would also make cflags behave differently than the rest,
      so I decided to add this new syntax.
    + Some step to support hbmk2 options to control C/C++ dialect.
    % Minor optimization in formed C compiler and linker cmdlines.

  * contrib/rddads/rddads.hbp
    ! Fixed gcc option to disable stupid warning caused
      by sloppy #pragma usage in ACE header.
      Also changed to use '-cflag+=' to make it work.
      At last!
2011-04-20 19:06:32 +00:00