From 06f0b235dd5618b43c9d87fa4e3d2f9760b63a64 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 5 Oct 2012 01:03:41 +0000 Subject: [PATCH] 2012-10-05 03:01 UTC+0200 Viktor Szakats (harbour syenar.net) * contrib/hbformat/hbfmtcls.prg + added TOFIX * INSTALL + added http://sourceforge.net/projects/mingwbuilds/ as recommended source for mingw builds (both 32 and 64 bit) Be aware that these are not QT-compatible (as of now), but they seem to be much faster at compile time. * tests/tscmdarg.c * formatting --- harbour/ChangeLog | 13 +++++++++++++ harbour/INSTALL | 3 ++- harbour/contrib/hbformat/hbfmtcls.prg | 1 + harbour/tests/tscmdarg.c | 16 ++++++++-------- 4 files changed, 24 insertions(+), 9 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 2b54f6def8..0843739bd3 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,19 @@ The license applies to all entries newer than 2009-04-28. */ +2012-10-05 03:01 UTC+0200 Viktor Szakats (harbour syenar.net) + * contrib/hbformat/hbfmtcls.prg + + added TOFIX + + * INSTALL + + added http://sourceforge.net/projects/mingwbuilds/ as + recommended source for mingw builds (both 32 and 64 bit) + Be aware that these are not QT-compatible (as of now), + but they seem to be much faster at compile time. + + * tests/tscmdarg.c + * formatting + 2012-10-05 02:40 UTC+0200 Viktor Szakats (harbour syenar.net) * contrib/gtwvg/*.prg * formatted using hbformat, critical manual fixups diff --git a/harbour/INSTALL b/harbour/INSTALL index aeb12a1893..aa3972452f 100644 --- a/harbour/INSTALL +++ b/harbour/INSTALL @@ -1576,7 +1576,8 @@ HARBOUR C/C++ Compilers/Shells: MinGW/MinGW-64 [win, *nix, free, open-source] - http://tdm-gcc.tdragon.net/, http://sourceforge.net/projects/tdm-gcc/ (unofficial, recommended) [NOTE: 4.5.1 is broken, 4.5.2, 4.6.1 x86 OK, for x64 use the official release] + http://sourceforge.net/projects/mingwbuilds/ (unofficial, recommended) + http://tdm-gcc.tdragon.net/, http://sourceforge.net/projects/tdm-gcc/ (unofficial) [NOTE: 4.5.1 is broken, 4.5.2, 4.6.1 x86 OK, for x64 use the official release] http://www.mingw.org/, http://sourceforge.net/projects/mingw/ (official 32-bit, MSYS home, broken as of 4.5.0-1) http://mingw-w64.sourceforge.net/, http://sourceforge.net/projects/mingw-w64/ (official 64-bit, MSYS home) http://nuwen.net/mingw.html (unofficial) diff --git a/harbour/contrib/hbformat/hbfmtcls.prg b/harbour/contrib/hbformat/hbfmtcls.prg index dabba0eb82..1f91dc5e4d 100644 --- a/harbour/contrib/hbformat/hbfmtcls.prg +++ b/harbour/contrib/hbformat/hbfmtcls.prg @@ -64,6 +64,7 @@ /* TOFIX: 1. 'var ++' 2. '- 1' for numeric literals. + 3. wrongly breaks line: 'FUNCTION Hello( /* comment */ )' ... */ diff --git a/harbour/tests/tscmdarg.c b/harbour/tests/tscmdarg.c index 91bb4aa252..79e6757236 100644 --- a/harbour/tests/tscmdarg.c +++ b/harbour/tests/tscmdarg.c @@ -8,13 +8,13 @@ void hb_cmdargTEST( void ) { char * pszArg; - printf("INFO: %i\n", hb_cmdargCheck( "INFO" ) ); - printf(" F: %s\n", pszArg = hb_cmdargString( "F" ) ); if( pszArg ) hb_xfree( pszArg ); - printf(" Fn: %i\n", hb_cmdargNum( "F" ) ); - printf("TEMP: %s\n", pszArg = hb_cmdargString( "TEMP" ) ); if( pszArg ) hb_xfree( pszArg ); + printf( "INFO: %i\n", hb_cmdargCheck( "INFO" ) ); + printf( " F: %s\n", pszArg = hb_cmdargString( "F" ) ); if( pszArg ) hb_xfree( pszArg ); + printf( " Fn: %i\n", hb_cmdargNum( "F" ) ); + printf( "TEMP: %s\n", pszArg = hb_cmdargString( "TEMP" ) ); if( pszArg ) hb_xfree( pszArg ); - printf("INFO: %i\n", hb_cmdargCheck( "INFO" ) ); - printf(" F: %s\n", pszArg = hb_cmdargString( "F" ) ); if( pszArg ) hb_xfree( pszArg ); - printf(" Fn: %i\n", hb_cmdargNum( "F" ) ); - printf("TEMP: %s\n", pszArg = hb_cmdargString( "TEMP" ) ); if( pszArg ) hb_xfree( pszArg ); + printf( "INFO: %i\n", hb_cmdargCheck( "INFO" ) ); + printf( " F: %s\n", pszArg = hb_cmdargString( "F" ) ); if( pszArg ) hb_xfree( pszArg ); + printf( " Fn: %i\n", hb_cmdargNum( "F" ) ); + printf( "TEMP: %s\n", pszArg = hb_cmdargString( "TEMP" ) ); if( pszArg ) hb_xfree( pszArg ); }