Commit Graph

16791 Commits

Author SHA1 Message Date
Viktor Szakats
8cf24d1ffd 2012-01-27 20:52 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbplist
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/hbhttpd.hbp
  * contrib/hbhttpd/hbhttpd.hbc
  + contrib/hbhttpd/hbhttpds.hbp
  + contrib/hbhttpd/hbhttpds.hbc
  * contrib/hbhttpd/widgets.prg
  * contrib/hbhttpd/hbhttpd.hbx
  - contrib/hbhttpd/tests/webapp.prg
  + contrib/hbhttpd/tests/eshop.prg
  * contrib/hbhttpd/tests/files/main.js
  + contrib/hbhttpd/tests/tpl
    + merged latest uhttpd changes (0.4) posted by Mindaugas on his
      website into hbhttpd. It implements these changes (quote):
    * strict scope for UHttpd class methods and variables
    * support for more HTTP status codes
    * added error handler for child processes
    ! fixed bug in HttpDateUnformat()
    * new server parameters setting approach implemented
    * more friendly UProcInfo() output format
    + client IP filtering
2012-01-27 19:58:14 +00:00
Mindaugas Kavaliauskas
401423620e 2012-01-27 18:25 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* src/vm/hashes.c
  * src/vm/hashfunc.c
    + implemented posibility to use hashes a sorted arays with binary search.

      Implemented HB_BOOL hb_hashScanSoft( pHash, pKey, &nPos ). Function 
      if similar to, but returns nPos even if pKey is not found in pHash.

      Extended HB_HHASKEY( aHash, xKey [, @nPos ] ) --> lFound
      Function optionaly returns position of the item with a largest key 
      smaller or equal to xKey. If xKey is less than all keys in hash, 
      zero position is returned. I.e., 
        aHash := {10=>, 20=>}
        ? HB_HHASKEY( aHash,  5, @nPos ), nPos  //  .F.          0
        ? HB_HHASKEY( aHash, 10, @nPos ), nPos  //  .T.          1
        ? HB_HHASKEY( aHash, 15, @nPos ), nPos  //  .F.          1
        ? HB_HHASKEY( aHash, 20, @nPos ), nPos  //  .T.          2
        ? HB_HHASKEY( aHash, 25, @nPos ), nPos  //  .F.          2
2012-01-27 16:25:55 +00:00
Viktor Szakats
c62cf697f7 2012-01-27 13:34 UTC+0100 Viktor Szakats (harbour syenar.net)
* INSTALL
    * deleted announcement mailing list. pls recreate with new owner 
      if needed.
2012-01-27 12:34:52 +00:00
Pritpal Bedi
1ca1e331bb 2012-01-26 14:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpwindow.prg
    ! Fixed: (Hopefully) the main menu issue on MAC reported by 
       Antonio Linares.
2012-01-26 22:58:36 +00:00
Pritpal Bedi
3b4cc84f91 2012-01-26 12:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
  * contrib/hbide/idechangelog.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideformat.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/ideskeletons.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetools.prg
    * Fixed: (Hopefully) hbIDE crash at exit.
       This might happen at certain situations when a slot 
       is executed while object has already been destroyed 
       by its parent. 
       The problem report was furnished by Antonio Linares, thanks.
2012-01-26 20:44:50 +00:00
Viktor Szakats
8fbd0c8bcd 2012-01-26 10:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbqt/hbqt_common.hbc
    ! untested patch to switch static supc++ to dynamic stdc++
      on darwin systems (following bsd systems in 2010-11-26 13:44 UTC+0100)
      as suggested by Antonio Linares to make hbide build on 
      OS X Lion. [ to be tested that earlier OS X version are 
      still okay. ]
2012-01-26 09:15:23 +00:00
Pritpal Bedi
5bb86161a7 2012-01-25 18:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idefindreplace.prg
    ! Changed: <Replace> option in <Find in Files> now opens
       the modified source on <Main> panel only instead the 
       current active panel if the source is not open already.
       This facilitates the easy management of saving/closing 
       those sources in bulk.
2012-01-26 02:09:21 +00:00
Pritpal Bedi
2ada1c0fe5 ! Omitted from prev commit. 2012-01-25 23:13:26 +00:00
Pritpal Bedi
d992947bba 2012-01-25 15:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idefindreplace.prg
    ! Changed: <Replace> option in <Find in Files> now keeps open 
       the modified source in modified state which has to be 
       saved/closed by the user manually. To accomplish this task 
       efficiently there already exist an option in 
          <Main Menu><Files><Save All>
       or by other tool-bar controlled icons.
       [ Suggested by Maurizio and Qatan ]
2012-01-25 23:10:47 +00:00
Pritpal Bedi
28f5664f75 2012-01-25 14:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideharbourhelp.prg
    + Changed: the way .hbd page was being displayed.
       Now it contains the complete syntax of the function/method etc.
       Thanks to Massimo for the tip.

  * contrib/hbide/idemain.prg
    * Fixed: SplashScreen() issue reported by Itamar.
2012-01-25 22:33:17 +00:00
Viktor Szakats
82697b6864 2012-01-25 20:23 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + warning will be shown and lib ignored if user explicitly
      specifies Harbour core library.
    ! visual glitch in two trace msgs.

  * contrib/hbblat/tests/hbmk.hbm
  * contrib/hbhpdf/tests/hbmk.hbm
    + best practice: using .hbc files instead of -l options.
2012-01-25 19:24:34 +00:00
Pritpal Bedi
e72c4aa9f1 2012-01-24 18:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idefindreplace.prg
  * contrib/hbide/idesources.prg
    + Implemented: <Replace> option in <Find in Files> protocol.
       Please test and forward your suggessions as to what can be 
       improved hereunder.
2012-01-25 02:03:18 +00:00
Pritpal Bedi
ae5848cf24 2012-01-24 15:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idesaveload.prg
    ! Optimized: to display the user interface as fast as possible.
       The only feature compromized is the Window Theme set via 
       <Setup><General><Style>.
       Now it appears to be lightening fast, let me know your experiences.
2012-01-24 23:24:05 +00:00
Viktor Szakats
0b87a58c9a 2012-01-24 23:50 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
    ! typo
  * config/global.mk
    * changed wording in a rare error msg
2012-01-24 22:51:23 +00:00
Pritpal Bedi
46d6036772 2012-01-24 13:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgwin.c
    + Added: WVG_SetMenuItem( hMenu, nPos, nFlags, cPrompt|oSubMenu, lPrompt ).

  * contrib/gtwvg/wvgmenub.prg
    + Implemented: ::setItem( nItemIndex, aItem )

  * contrib/gtwvg/tests/demowvg.prg
    + Demonstrated: how to change the text of an existing menu prompt.
2012-01-24 21:22:59 +00:00
Pritpal Bedi
e042ed419a 2012-01-23 17:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvg3stat.prg
  * contrib/gtwvg/wvgcheck.prg
  * contrib/gtwvg/wvgdatar.prg
  * contrib/gtwvg/wvglistb.prg
  * contrib/gtwvg/wvgmle.prg
  * contrib/gtwvg/wvgparts.ch
  * contrib/gtwvg/wvgradio.prg
  * contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgsle.prg
  * contrib/gtwvg/wvgstatc.prg
  * contrib/gtwvg/wvgtreev.prg
    * Changed: Class DataRef() => WvgDataRef()
       It was conflicting with DataRef() in hbXBP implementation
       rendering both libraries mutually exclusive.

  * contrib/gtwvg/wvgcombo.prg
    + Implemented: WvgComboBox() exactly per Xbase++ documentation.

  * contrib/gtwvg/wvgwin.c
    + Added: WVG_SendCBMessage( hWnd, nMessage, wParam, lParam ) => xRetValue.

  * contrib/gtwvg/wvtwin.ch
    + Added: few missing CB_* constants.

  * contrib/gtwvg/tests/wvgtbrowser.prg
    + Demonstrated: WvgComboBox() functionality by replacing 
       index orders list box with combobox.
2012-01-24 01:57:08 +00:00
Pritpal Bedi
70954e9b18 2012-01-20 16:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgdatar.prg
    * Fixed: :setData() method for WvgListBox().

  * contrib/gtwvg/wvglistb.prg
    + Implemented: oWvgListBox:killInputFocus and oWvgListBox:setInputFocus callbacks.

  * contrib/gtwvg/wvgmenub.prg
    + Implemented: oMenu:insItem( nItemIndex, aItem ) -> nItemIndex 
                   oMenu:isItemChecked( nItemIndex ) -> lChecked
                   oMenu:isItemEnabled( nItemIndex ) -> lEnabled
                   oMenu:getItem( nItemIndex ) -> aItem

  * contrib/gtwvg/wvgwin.c
    + Added: WVG_InsertMenu( hMenu, nPosition, nFlags, nMenuId|hSubMenu, cPrompt ) -> lSuccess
             WVG_IsMenuItemChecked( hMenu, nPosition ) -> lChecked
             WVG_IsMenuItemEnabled( hMenu, nPosition ) -> lEnabled

  * contrib/gtwvg/tests/demowvg.prg
    + Added: demo code to demonstrate above features.
2012-01-21 00:45:01 +00:00
Pritpal Bedi
54516add26 2012-01-18 17:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/hbgtwvg.ch
    + Added: HB_GTS_KEYTOITEM constant.
  * contrib/gtwvg/gtwvg.c
    + Added: WM_VKEYTOITEM and WM_CHARTOITEM messages fired as events.
  * contrib/gtwvg/wvglistb.prg
    + Added: LBS_NOINTEGRALHEIGHT and LBS_WANTKEYBOARDINPUT attributes.
    + Added: recognizing keyboard input. 
       K_ENTER press on a listbox item now activates :itemSelected callback.
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgwnd.prg
    + Added: to recognize HB_GTS_KEYTOITEM event.
2012-01-20 01:49:08 +00:00
Pritpal Bedi
326d325955 2012-01-18 12:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqtgui.ch
    + Added: constants for QDeclarative_*.

  * contrib/hbqt/qtgui/hbqtgui.hbx
    * Refreshed.
2012-01-18 20:04:59 +00:00
Pritpal Bedi
b2af542ae8 2012-01-18 11:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/tests/demowvg.prg
    * Fixed: some artifacts.
  * contrib/gtwvg/tests/wvgtbrowser.prg
    * Fixed: browser movements in relation to scrollbars.
2012-01-18 20:02:05 +00:00
Pritpal Bedi
7a5a9f2012 2012-01-17 18:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/filelist.hbm
    + Added: new following classes.
  + contrib/hbqt/qtgui/qth/QDeclarativeComponent.qth
  + contrib/hbqt/qtgui/qth/QDeclarativeContext.qth
  + contrib/hbqt/qtgui/qth/QDeclarativeEngine.qth
  + contrib/hbqt/qtgui/qth/QDeclarativeError.qth
  + contrib/hbqt/qtgui/qth/QDeclarativeExpression.qth
  + contrib/hbqt/qtgui/qth/QDeclarativeImageProvider.qth
  + contrib/hbqt/qtgui/qth/QDeclarativeItem.qth
  + contrib/hbqt/qtgui/qth/QDeclarativeListReference.qth
  + contrib/hbqt/qtgui/qth/QDeclarativeParserStatus.qth
  + contrib/hbqt/qtgui/qth/QDeclarativeProperty.qth
  + contrib/hbqt/qtgui/qth/QDeclarativePropertyMap.qth
  + contrib/hbqt/qtgui/qth/QDeclarativePropertyValueSource.qth
  + contrib/hbqt/qtgui/qth/QDeclarativeScriptString.qth
  + contrib/hbqt/qtgui/qth/QDeclarativeView.qth
    + Implemented: QDeclarative*() classes.
       These classes implement the "Qt Quick" protocol introduced 
       in Qt 4.7 onwards and being a whole new world to Harbour 
       developers. 

    TODO: an example how to use them in the context of Harbour.
2012-01-18 02:13:03 +00:00
Pritpal Bedi
7c9dd1a681 2012-01-17 12:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/browqt.prg
  * contrib/hbqt/tests/wvtqt.prg
    * Refined: to execute a Qt dialog from within GTWVT application.
       This implementation assumes that GTWVT is the main application 
       window and Qt dialogs are opened in separate thread.
       Will look into how the reverse can be achieved.
2012-01-17 20:18:32 +00:00
Pritpal Bedi
fc3e2909a8 2012-01-16 17:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/hbgtwvg.ch
    + Implemented: HB_GTI_MAXIMIZABLE message.
       hb_gtInfo( HB_GTI_MAXIMIZABLE, TRUE/FALSE ) -> lPrevState
    TODO: implement in GTWVT if deemed fit.
2012-01-17 01:35:26 +00:00
Pritpal Bedi
ec338e6fc0 2012-01-16 16:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.c
    + Extended: hb_gtInfo( HB_GTI_SPEC, HB_GTS_SETPOSITION, [{x,y}] ) 
       to return the previous window position as {x,y} array.
2012-01-17 00:52:44 +00:00
Pritpal Bedi
eb6b630624 2012-01-16 16:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgdatar.prg
    ! Synchronized: WvgListBox():getData() method.

  * contrib/gtwvg/wvglistb.prg
  * contrib/gtwvg/wvgtreev.prg
  * contrib/gtwvg/wvgwnd.prg
    + Implemented: oXbp:pointerFocus instance variable for 
       WvtListBox() and WvtTreeView() objects. 
       If a control is laid onto a WvgCrt(), then this variable 
       can be set to FALSE to keep focus on console window.
       INCOMPATIBLE: this behavior is not available in Xbase++.
2012-01-17 00:36:26 +00:00
Pritpal Bedi
f34b04d26e 2012-01-16 16:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtcore/qth/filelist.hbm
  * contrib/hbqt/qtcore/qth/QFileSystemWatcher.qth
  * contrib/hbqt/qtcore/qth/QObject.qth
    + Added: QFileSystemWatcher() class.
       Elements pulled by Bacco, thank you, with a small change.
2012-01-17 00:30:14 +00:00
Przemyslaw Czerpak
9ee0028ac3 2012-01-16 23:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/xhb/hbcompat.ch
    * added few more translation rules

  * harbour/contrib/xhb/hbxml.ch
    * synced with xHarbour

  * harbour/contrib/rddads/rddads.h
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/rddads/adsfunc.c
    * moved ADS call back to TSD
    + added optional support for storing connection handler in TSD.
      By default it's disabled and can be enabled by compile time
      macro: HB_ADS_TSD_CONNECTION
      (i.e. set/export HB_USER_CFLAGS=-DHB_ADS_TSD_CONNECTION)
      I added it for tests. I'm still waiting for code example
      which can exploit problems in ACE library when single connection
      handle is used by different threads.
2012-01-16 22:36:44 +00:00
Viktor Szakats
4c80c97409 2012-01-16 19:28 UTC+0100 Viktor Szakats (harbour syenar.net)
* package/winuni/RELNOTES
  * INSTALL
    * qt version
2012-01-16 18:28:44 +00:00
Viktor Szakats
f632ba9f49 typos in latest ChangeLog entry 2012-01-13 17:11:14 +00:00
Viktor Szakats
a33320a273 2012-01-12 18:48 UTC+0100 Viktor Szakats (harbour syenar.net)
- src/rtl/hbdynhb.c
    - deleted support to accept raw function pointers. INCOMPATIBLE.
      (note the C-level and XBase++ compatibility .prg-level interfaces
      continue to offer that option)

    ; HB_DYNCALL() should be called as follows:

        HB_DYNCALL( { <cFunction>, <cLibrary> | <pLibrary> [, <nFuncFlags> [, <nArgFlags1>, ..., <nArgFlagsn> ]] }, ... ) -> <xResult>

        where
           <nFuncFlags> can be:
              hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_*, HB_DYN_CALLCONV_* )
           <nArgFlags*> can be:
              hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_* )
2012-01-12 17:53:12 +00:00
Viktor Szakats
521f3c61f8 restored mistakenly undone e-mail address change 2012-01-11 23:25:01 +00:00
Viktor Szakats
97b38b702d 2012-01-12 00:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/memvarhb.prg
    % '&varname := value' -> __mvPut( varname, value )
    * formatting

  * contrib/hbrun/hbrun.prg
    ! formatting
2012-01-11 23:15:38 +00:00
Viktor Szakats
cadbf0b829 2012-01-11 23:56 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rdd/dbtotal.prg
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/hbqreportsmanager.prg
    % '&("{||" + c + "}")' -> HB_MACROBLOCK()

  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbxbp/xbpbrowse.prg
    ! typo in public function name: HBQT_PROMOTWIDGET() -> HBQT_PROMOTEWIDGET()
      [INCOMPATIBLE]

  * ChangeLog
    ! added incompatible flag to relevant part of latest entry
2012-01-11 22:58:42 +00:00
Mindaugas Kavaliauskas
88a8e73167 2012-01-11 19:25 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/hbcairo/core.c
    ! fixed typo

  * contrib/hbssl/ssl.c
    ! fixed typo in SSL_GET_MODE()

  * contrib/hbssl/hbssl.h
  * contrib/hbssl/x509.c
  * contrib/hbssl/ssl.c
    + implemented release option for X509 collectable pointer
    ; openSSL increments reference counter for X509 returned
      by SSL_get_peer_certificate(), but does not increment it
      for SSL_get_certificate(). Unnecessary freeing of X509
      pointer caused random GPF later

  * src/rtl/hbsockhb.c
    * changed .prg level hb_socketSetBlockingIO() return value 
      type from lSuccess to nSuccess, to have the same return
      value meaning precision as C level function

  * src/rtl/hbsockhb.c
  * include/harbour.hbx
    + hb_socketGetFD( hSocket ) --> nFD
2012-01-11 17:26:24 +00:00
Viktor Szakats
eb029e1f8a 2012-01-11 14:47 UTC+0100 Viktor Szakats (harbour syenar.net)
* tests/testdyn.prg
    ! fixed typo discovered by Alex Strickland. Thank you.

  * contrib/hbrun/hbrun.hbp
    - deleted unfinished solution for "DSO" builds (having two
      TOFIXes for many months). Please supply required extra libs 
      ('m' and 'z' in case of hbrun) manually to the build via 
      HB_USER_LDFLAGS, HB_USER_LIBS, until a complete solution is 
      discovered.
2012-01-11 13:50:02 +00:00
Przemyslaw Czerpak
d8aa9b52c3 2012-01-10 14:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbhrb.ch
  * harbour/src/vm/runner.c
    * disabled access to INIT and EXIT functions in
      HB_HRBGETFUNSYM() and HB_HRBGETFUNLIST()
    + added 2-nd parameter <nType> to HB_HRBGETFUNLIST()
         HB_HRBGETFUNLIST( <pHRB> [, <nType>] ) -> <aFuncList>
      <nType> is defined in hbhrb.ch:
         HB_HRB_FUNC_PUBLIC - locally defined public functions
         HB_HRB_FUNC_STATIC - locally defined static functions
         HB_HRB_FUNC_LOCAL  - locally defined functions
         HB_HRB_FUNC_EXTERN - external functions used in HRB module
2012-01-10 13:38:50 +00:00
Viktor Szakats
b61a3a5b20 2012-01-09 22:20 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/sendmail.prg
  * contrib/hbtip/smtpcli.prg
    ! After a conversation with Antonio Maniero (also subscriber of the
      dev-list), we detected some trouble with hb_sendmail() under some
      conditions:
      EXIM servers refuse the HELO/EHLO greeting that doesn't conform to
      RFC2821, so when one try to autenticate with username containing an @
      or any other character that is not allowed in FQDNs, the server
      refuses to proceed. Many SMTP servers, (EG: Google ones) are more
      tolerant, so I believe that this helped the problem gets unnoticed.
      The patch introduces a new parameter, preserving backward
      compatibility and at the same time fixing the @ problem, even in
      unmodified code that doesn't provide the extra parameter (as we
      removed the cUser from the HELO string, that is causing trouble with
      EXIM. Anyway, these strings would be accepted only by tolerant
      servers, so the correct one should cause no problem at all).
    ; Patch and description by Carlos Bacco. Thank you.
2012-01-09 21:20:48 +00:00
Viktor Szakats
cdffe1ec9a 2012-01-09 16:18 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbssl/ssl.c
  * contrib/hbssl/sslctx.c
    ! disabled references to stuff deleted from OpenSSL 1.0.0+
2012-01-09 15:20:17 +00:00
Przemyslaw Czerpak
57eabfaa87 2012-01-09 14:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rdd/dbf1.c
    ! fixed default initialization value in UNICODE fields after
      APPEND BLANK. Many thanks to Phil Krylov for information about
      the problem and patch. The fix I committed is slightly different
      just to follow idea of this code.
2012-01-09 13:41:32 +00:00
Viktor Szakats
1b4008723b 2012-01-06 16:13 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
  * (whole tree)
    * changed e-mail address
2012-01-06 15:28:23 +00:00
Francesco Saverio Giudice
b67576e984 2012-01-06 12:12 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/hbblat/blatcls.prg
     * Update copyright years
     * Updated to 2.7.6 blat version
     + Added lNoMD5 class var for -nomd5 option
     + Added cContentType class var for -contentType <string> option
     * Fixed error in ArrayToString() when file name contains " char
2012-01-06 11:13:17 +00:00
Przemyslaw Czerpak
053f90539d 2012-01-05 14:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbrdddbf.h
    * moved DBF record lock range for DB_DBFLOCK_HB64 to avoid potential
      problems with integer overflows in system or network transport layer.
      Warning: INCOMPATIBLE!
               all applications using DB_DBFLOCK_HB64 locking mode should
               be updated - it is not safe to concurrently access the
               same files using programs compiled with older Harbour
               versions and current one.
2012-01-05 13:47:18 +00:00
Przemyslaw Czerpak
31cf695ec8 2012-01-05 14:07 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/hbgtcore.c
    + added default value (0) for HB_GTI_KBDSHIFTS in GTs which
      do not support this HB_GTI_* flag
2012-01-05 13:07:59 +00:00
Przemyslaw Czerpak
cf3e9d7021 2012-01-04 00:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/filebuf.c
    ! modified the code to work with optimizations like -fstrict-overflow
      in GCC which assumes signed overflow does not occur.
2012-01-03 23:12:44 +00:00
Pritpal Bedi
76ce999013 2012-01-03 14:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideconsole.prg
    * Minor.

  * contrib/hbide/finddialog.ui
    * Changed: the appearance and a bit of functionality of 
        "Find & Replace" dialog. It was occupying larger desktop
         territory than needed, which, at times is too precious.

  * contrib/hbide/idefindreplace.prg
    * Reworked: the way "Find What" edit control of "Find & Replace"
        dialog was behaving. Now it is almost at par with XMate.
    * Fixed: the window coordinates were not being maintained either 
        with repositioning or close via "X" button.
2012-01-03 22:46:41 +00:00
Przemyslaw Czerpak
accac7cd8e 2012-01-03 15:40 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/filebuf.c
    ! fixed next three integer overflows exploited by HB64 locking mode.
      BTW probably I'll move the lock range to not operate on last positive
      offset because such overflow problems can be also exploited in low
      level OS or network transport layer code - it happened in the past.
      I'll do that when we confirm that current Harbour implementation
      is correct.
2012-01-03 14:41:08 +00:00
Przemyslaw Czerpak
ff6a1d420f 2012-01-03 10:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/filebuf.c
    ! fixed integer overflow in code scanning the lock pool.
      It fixes the problem with releasing FLOCK() reported by Viktor.
2012-01-03 09:40:12 +00:00
Przemyslaw Czerpak
a186aabf28 2012-01-02 23:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/contrib/gtwvg/gtwvg.c
    ! always set trailing 0 in the buffer containing font name set
      by HB_GTI_FONTNAME - protection against too long strings.

  * harbour/contrib/gtwvg/wvgwing.c
    ! fixed memory leak in last commit - thanks to Mindaugas.
    % use HB_ITEMCOPYSTR() in WVG_FONTCREATE() to eliminate memory
      allocation.
2012-01-02 22:10:36 +00:00
Przemyslaw Czerpak
bb25c6d5bf 2012-01-02 22:29 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgwing.c
    * eliminated HB_TCHAR_*() macros
    ; TOFIX: replace hb_parvc() and nCopyAnsiToWideChar() function
             with valid HB_STR* macros.
             Function nCopyAnsiToWideChar() should be removed.

  * harbour/contrib/xhb/xhw32prn.prg
    ! added missing ;
2012-01-02 21:30:13 +00:00
Przemyslaw Czerpak
35fbd4f189 2012-01-02 21:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapistr.h
  * harbour/src/vm/strapi.c
    + added new C functions:
         const char * hb_parastr( int iParam, HB_SIZE nIndex,
                                  void * cdp,
                                  void ** phString, HB_SIZE * pnLen );
         const char * hb_parastr_utf8( int iParam, HB_SIZE nIndex,
                                       void ** phString, HB_SIZE * pnLen );
         const HB_WCHAR * hb_parastr_u16( int iParam, HB_SIZE nIndex,
                                          int iEndian,
                                          void ** phString, HB_SIZE * pnLen );

  * harbour/include/hbwinuni.h
    + added new C macros for windows builds:
         HB_PARASTR( nItem, nIndex, phStr, pnLen )
         HB_PARASTRDEF( nItem, nIndex, phStr, pnLen )

  * harbour/src/vm/hashes.c
    + added optional code for deleting items from hash arrays with
      strict order. This code can be enabled by Harbour compile time
      macro: HB_FAST_HASH_DEL.
      I added it for testing only.
2012-01-02 20:38:17 +00:00