2017-09-13 12:49 UTC Viktor Szakats (vszakats users.noreply.github.com)
* contrib/gtqtc/gtqtc.hbp
* contrib/hbssl/ssl_hbcon.prg
* contrib/gtqtc/hbmk2_qtmoc.hb -> contrib/gtqtc/hbmk2_qtgt.hb
* more syncs with 3.4 fork. One rename, some content syncs
after renames.
This commit is contained in:
@@ -7,6 +7,13 @@
|
|||||||
Entries may not always be in chronological/commit order.
|
Entries may not always be in chronological/commit order.
|
||||||
See license at the end of file. */
|
See license at the end of file. */
|
||||||
|
|
||||||
|
2017-09-13 12:49 UTC Viktor Szakats (vszakats users.noreply.github.com)
|
||||||
|
* contrib/gtqtc/gtqtc.hbp
|
||||||
|
* contrib/hbssl/ssl_hbcon.prg
|
||||||
|
* contrib/gtqtc/hbmk2_qtmoc.hb -> contrib/gtqtc/hbmk2_qtgt.hb
|
||||||
|
* more syncs with 3.4 fork. One rename, some content syncs
|
||||||
|
after renames.
|
||||||
|
|
||||||
2017-09-13 12:41 UTC Viktor Szakats (vszakats users.noreply.github.com)
|
2017-09-13 12:41 UTC Viktor Szakats (vszakats users.noreply.github.com)
|
||||||
* contrib/hbmxml/3rd/minixml/mxml.hbp
|
* contrib/hbmxml/3rd/minixml/mxml.hbp
|
||||||
* contrib/hbmxml/3rd/minixml/minixml.diff -> contrib/hbmxml/3rd/minixml/mxml.diff
|
* contrib/hbmxml/3rd/minixml/minixml.diff -> contrib/hbmxml/3rd/minixml/mxml.diff
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
-pic
|
-pic
|
||||||
|
|
||||||
-plugin=hbmk2_qtmoc.hb
|
-plugin=hbmk2_qtgt.hb
|
||||||
|
|
||||||
-depcontrol=qt5:${HB_WITH_QT}
|
-depcontrol=qt5:${HB_WITH_QT}
|
||||||
-depkeyhead=qt5:QtCore/QJsonObject
|
-depkeyhead=qt5:QtCore/QJsonObject
|
||||||
|
|||||||
@@ -14,9 +14,9 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software Foundation,
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA (or visit
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
* their web site at https://www.gnu.org/).
|
* (or visit their website at https://www.gnu.org/licenses/).
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -31,6 +31,7 @@
|
|||||||
#define I_( x ) hb_i18n_gettext( x )
|
#define I_( x ) hb_i18n_gettext( x )
|
||||||
|
|
||||||
FUNCTION hbmk_plugin_qt( hbmk )
|
FUNCTION hbmk_plugin_qt( hbmk )
|
||||||
|
|
||||||
LOCAL cRetVal := ""
|
LOCAL cRetVal := ""
|
||||||
|
|
||||||
LOCAL cSrc
|
LOCAL cSrc
|
||||||
@@ -146,7 +147,7 @@ FUNCTION hbmk_plugin_qt( hbmk )
|
|||||||
|
|
||||||
RETURN cRetVal
|
RETURN cRetVal
|
||||||
|
|
||||||
STATIC FUNCTION qt_tool_detect( hbmk, cName, cEnvQT, lPostfix )
|
STATIC FUNCTION qt_tool_detect( hbmk, cName, cEnvQT, lSuffix )
|
||||||
LOCAL cBIN
|
LOCAL cBIN
|
||||||
LOCAL cEnv
|
LOCAL cEnv
|
||||||
LOCAL aEnvList
|
LOCAL aEnvList
|
||||||
@@ -155,9 +156,12 @@ STATIC FUNCTION qt_tool_detect( hbmk, cName, cEnvQT, lPostfix )
|
|||||||
cBIN := GetEnv( cEnvQT )
|
cBIN := GetEnv( cEnvQT )
|
||||||
IF Empty( cBIN )
|
IF Empty( cBIN )
|
||||||
|
|
||||||
IF lPostfix
|
IF lSuffix
|
||||||
cName += GetEnv( "HB_QTPOSTFIX" )
|
IF ! ( cEnv := GetEnv( "HB_QTPOSTFIX" ) ) == "" /* Compatibility */
|
||||||
aEnvList := { "HB_QTPATH", "HB_QTPOSTFIX" }
|
hb_SetEnv( "HB_QTSUFFIX", cEnv )
|
||||||
|
ENDIF
|
||||||
|
cName += GetEnv( "HB_QTSUFFIX" )
|
||||||
|
aEnvList := { "HB_QTPATH", "HB_QTSUFFIX" }
|
||||||
ELSE
|
ELSE
|
||||||
aEnvList := { "HB_QTPATH" }
|
aEnvList := { "HB_QTPATH" }
|
||||||
ENDIF
|
ENDIF
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* hb_SSL_new() -> <pSSL> */
|
/* hb_SSL_new() --> <pSSL> */
|
||||||
FUNCTION hb_SSL_new()
|
FUNCTION hb_SSL_new()
|
||||||
|
|
||||||
STATIC s_onceControl
|
STATIC s_onceControl
|
||||||
@@ -56,14 +56,14 @@ FUNCTION hb_SSL_new()
|
|||||||
/* create a new SSL structure for a connection */
|
/* create a new SSL structure for a connection */
|
||||||
RETURN SSL_new( SSL_CTX_new() )
|
RETURN SSL_new( SSL_CTX_new() )
|
||||||
|
|
||||||
/* hb_SSL_connect_socket( <pSocket>, [ <nTimeOut> ], [ @<cInfo> ] ) -> <lConnected> */
|
/* hb_SSL_connect_socket( <pSocket>, [ <nTimeOut> ], [ @<cInfo> ] ) --> <lConnected> */
|
||||||
FUNCTION hb_SSL_connect_socket( pSocket, nTimeout, cInfo )
|
FUNCTION hb_SSL_connect_socket( pSocket, nTimeout, cInfo )
|
||||||
|
|
||||||
LOCAL nErr
|
LOCAL nErr
|
||||||
LOCAL ssl
|
LOCAL ssl
|
||||||
|
|
||||||
ssl := hb_SSL_new()
|
ssl := hb_SSL_new()
|
||||||
IF !Empty( pSocket := hb_socketNewSSL_connect( @pSocket, ssl, nTimeout ) )
|
IF ! Empty( pSocket := hb_socketNewSSL_connect( @pSocket, ssl, nTimeout ) )
|
||||||
cInfo := "SSL connected with " + SSL_get_cipher( ssl ) + " encryption."
|
cInfo := "SSL connected with " + SSL_get_cipher( ssl ) + " encryption."
|
||||||
RETURN .T.
|
RETURN .T.
|
||||||
ENDIF
|
ENDIF
|
||||||
@@ -73,7 +73,7 @@ FUNCTION hb_SSL_connect_socket( pSocket, nTimeout, cInfo )
|
|||||||
nErr, ERR_error_string( nErr ) )
|
nErr, ERR_error_string( nErr ) )
|
||||||
RETURN .F.
|
RETURN .F.
|
||||||
|
|
||||||
/* hb_SSL_connect_inet( <pSocket>, [ <nTimeOut> ], [ @<cInfo> ] ) -> <lConnected> */
|
/* hb_SSL_connect_inet( <pSocket>, [ <nTimeOut> ], [ @<cInfo> ] ) --> <lConnected> */
|
||||||
FUNCTION hb_SSL_connect_inet( pInetSock, nTimeout, cInfo )
|
FUNCTION hb_SSL_connect_inet( pInetSock, nTimeout, cInfo )
|
||||||
|
|
||||||
LOCAL nResult, nErr
|
LOCAL nResult, nErr
|
||||||
|
|||||||
Reference in New Issue
Block a user