[Harbour] SF.net SVN: harbour-project:[14163] trunk/harbour
Revision: 14163 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14163&view=rev Author: vszakats Date: 2010-03-14 10:49:03 + (Sun, 14 Mar 2010) Log Message: --- 2010-03-14 11:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbxbp/xbpgra.prg ! Fixed to use HB_SYMBOL_UNUSED() instead of wrong "HBXBP_JUST" solution, which is a real call with overhead. Std method to suppress unused warnings in Harbour is HB_SYMBOL_UNUSED(). Or, if some function are plain dummies, it's not necessary to delcare any parameters. Modified Paths: -- trunk/harbour/ChangeLog trunk/harbour/contrib/hbxbp/xbpgra.prg This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] SF.net SVN: harbour-project:[14164] trunk/harbour
Revision: 14164 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14164&view=rev Author: vszakats Date: 2010-03-14 11:22:12 + (Sun, 14 Mar 2010) Log Message: --- 2010-03-14 12:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * config/wce/msvcarm.mk * utils/hbmk2/hbmk2.prg ! Added -D_ARM_ required by some MSVC releases. This caused compilation errors with some sources. Modified Paths: -- trunk/harbour/ChangeLog trunk/harbour/config/wce/msvcarm.mk trunk/harbour/utils/hbmk2/hbmk2.prg This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] SF.net SVN: harbour-project:[14165] trunk/harbour/ChangeLog
Revision: 14165 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14165&view=rev Author: vszakats Date: 2010-03-14 11:23:29 + (Sun, 14 Mar 2010) Log Message: --- correction to chglog entry Modified Paths: -- trunk/harbour/ChangeLog This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] hbIDE - Let's review
I have lost my works working with hbide :I have write my source, compiled, not uderstand error different from my source reloaded project restarting very early working ( The works was array flag harbour/xharbour) Follow my macro suggestion: Save a project When compile a project like xmate , Visual studio Allow compiled a project not saved (imo thanks temporary files) Implement Autosave that be rock gmail 2010/3/11 Pritpal Bedi > > Hello Everybody > > Today, on 11Mar2010, hbIDE is 3 months and 24 days old, > and it's time to look at it from different angles. > > I invite everybody to express himself as to > > what is left unfinished, > what more is needed, > what needs to be addressed again, > in context to priorities and preferences. > > I am really eager to listen to you. > > > -- Massimo Belgrano ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] OT: Error building harbour for msvc 2008 ce
Hi all, After yesterday's cvs I created harbour for MSVC 2008 (32bits). Then I tried to create harbour libs for msvc 2008 ce but I have these errors: cl.exe -I. -I../../../../../include -nologo -D_M_ARM -DARM -TP -W4 -wd4127 -Od -Os -Gy -EHsc- -DHB_LEGACY_TYPES_OFF -DUNICODE -DUNDER_CE -Fohbffind.obj -c . ./../../hbffind.c hbffind.c C:\Program Files (x86)\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h (384) : warning C4201: se ha utilizado una extensión no estándar : struct/union sin especificar C:\Program Files (x86)\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h (403) : warning C4201: se ha utilizado una extensión no estándar : struct/union sin especificar C:\Program Files (x86)\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h (2976) : error C2146: error de sintaxis : falta ';' delante del identificador 'C ontextRecord' C:\Program Files (x86)\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h (2976) : error C4430: falta el especificador de tipo; se presupone int. Nota: C+ + no admite default-int C:\Program Files (x86)\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h (2976) : error C4430: falta el especificador de tipo; se presupone int. Nota: C+ + no admite default-int (and more) These are the sets I use: call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include;C:\Program Files (x86)\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i set LIB=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\lib\armv4i;C:\Program Files (x86)\Windows Mobile 5.0 SDK R2\PocketPC\Lib\ARMV4I set PATH=e:\programacion_ant\hb_mvsc\bin;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE;%PATH% SET HB_INSTALL_PREFIX=e:\programacion_ant\hb_msvcce SET HB_CONTRIBLIBS=no SET HB_CONTRIB_ADDONS=no SET HB_EXTERNALLIBS=no and then win-make clean install Can some one give some guidelines of how to solve this problem? Many thanks, José Luis Capel ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] SF.net SVN: harbour-project:[14166] trunk/harbour
Revision: 14166 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14166&view=rev Author: vszakats Date: 2010-03-14 20:32:31 + (Sun, 14 Mar 2010) Log Message: --- 2010-03-14 21:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/fm.c * src/common/hbwince.c * include/hbwince.h * include/hbthread.h * contrib/hbct/ctnet.c * contrib/hbodbc/Makefile * contrib/xhb/hbserv.c * contrib/hbtpathy/tpwin.c * contrib/hbnf/getenvrn.c * contrib/rddsql/sddodbc/Makefile * contrib/hbwin/olecore.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_dlg.c * config/wce/msvcarm.mk + Added support for msvcarm 2008. * utils/hbmk2/hbmk2.prg ! Synced msvcarm dynlib creatino options with Harbour build. Modified Paths: -- trunk/harbour/ChangeLog trunk/harbour/config/wce/msvcarm.mk trunk/harbour/contrib/hbct/ctnet.c trunk/harbour/contrib/hbnf/getenvrn.c trunk/harbour/contrib/hbodbc/Makefile trunk/harbour/contrib/hbtpathy/tpwin.c trunk/harbour/contrib/hbwin/olecore.c trunk/harbour/contrib/hbwin/win_dlg.c trunk/harbour/contrib/hbwin/win_prn1.c trunk/harbour/contrib/rddsql/sddodbc/Makefile trunk/harbour/contrib/xhb/hbserv.c trunk/harbour/include/hbthread.h trunk/harbour/include/hbwince.h trunk/harbour/src/common/hbwince.c trunk/harbour/src/vm/fm.c trunk/harbour/utils/hbmk2/hbmk2.prg This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] hbMK2 - Uniform token to announce output file
Hello Viktor Currenly I employ the method below to pull executable path from compile/link process: IF ::lLaunch cTmp := ::oOutputResult:oWidget:toPlainText() cExe := "" IF empty( cExe ) cTkn := "hbmk2: Linking... " IF ( n := at( cTkn, cTmp ) ) > 0 n1 := hb_at( ".exe", cTmp, n + len( cTkn ) ) cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 4 ) ENDIF ENDIF IF empty( cExe ) cTkn := "hbmk2: Target up to date: " IF ( n := at( cTkn, cTmp ) ) > 0 n1 := hb_at( ".exe", cTmp, n + len( cTkn ) ) cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 4 ) ENDIF ENDIF IF empty( cExe ) cTkn := "-out:" IF ( n := at( cTkn, cTmp ) ) > 0 n1 := hb_at( ".exe", cTmp, n + len( cTkn ) ) cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 4 ) ENDIF ENDIF Can you provide a uniform token, say, hbmk2: target path... [C:\dev_projects\harbour\vouch\vouch.exe] - enjoy hbIDEing... Pritpal Bedi _a_student_of_software_analysis_&_design_ -- View this message in context: http://n2.nabble.com/hbMK2-Uniform-token-to-announce-output-file-tp4733528p4733528.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] SF.net SVN: harbour-project:[14167] trunk/harbour
Revision: 14167 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14167&view=rev Author: vszakats Date: 2010-03-14 21:35:41 + (Sun, 14 Mar 2010) Log Message: --- 2010-03-14 22:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * bin/postinst.bat ! Fixed hbmk2 -lang option. * contrib/hbwin/win_prn1.c - Deleted comment no more necessary. * utils/hbmk2/hbmk2.prg + Added -width= option to set output width. Modified Paths: -- trunk/harbour/ChangeLog trunk/harbour/bin/postinst.bat trunk/harbour/contrib/hbwin/win_prn1.c trunk/harbour/utils/hbmk2/hbmk2.prg This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] hbMK2 - Uniform token to announce output file
Hi Pritpal, If you make such output parsing, make sure to always use '-lang=en' option when calling hbmk2, otherwise it won't work in localized (Portuguese and Hungarian currently) environments. I've added -width= option, so if you now use it also when calling hbmk2 ('-width=999' f.e.), it won't split long lines, so you can simply look for LF char to find the end of the output filename, instead of looking for .exe. .exe is not good, because it's platform dependent. '-out=' option parsing cannot reliably work, so I'd suggest to delete it: --- IF ::lLaunch cTmp := ::oOutputResult:oWidget:toPlainText() cExe := "" IF empty( cExe ) cTkn := "hbmk2: Linking... " IF ( n := at( cTkn, cTmp ) ) > 0 n1 := hb_at( Chr( 10 ), cTmp, n + len( cTkn ) ) cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 1 ) ENDIF ENDIF IF empty( cExe ) cTkn := "hbmk2: Target up to date: " IF ( n := at( cTkn, cTmp ) ) > 0 n1 := hb_at( Chr( 10 ), cTmp, n + len( cTkn ) ) cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 1 ) ENDIF ENDIF /* This won't work reliably, first because .exe is not a mandatory part (in fact it should never be used if .hbp file is meant to be portable), .exe is not portable, and the line may contain various macros and filters and there may be multiple -opt options with different filters. */ #if 0 IF empty( cExe ) cTkn := "-out:" IF ( n := at( cTkn, cTmp ) ) > 0 n1 := hb_at( ".exe", cTmp, n + len( cTkn ) ) cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 4 ) ENDIF ENDIF #endif ENDIF --- Brgds, Viktor On 2010 Mar 14, at 22:08, Pritpal Bedi wrote: > > Hello Viktor > > Currenly I employ the method below to pull executable path > from compile/link process: > > IF ::lLaunch > cTmp := ::oOutputResult:oWidget:toPlainText() > cExe := "" > IF empty( cExe ) > cTkn := "hbmk2: Linking... " > IF ( n := at( cTkn, cTmp ) ) > 0 >n1 := hb_at( ".exe", cTmp, n + len( cTkn ) ) >cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 4 > ) > ENDIF > ENDIF > IF empty( cExe ) > cTkn := "hbmk2: Target up to date: " > IF ( n := at( cTkn, cTmp ) ) > 0 >n1 := hb_at( ".exe", cTmp, n + len( cTkn ) ) >cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 4 > ) > ENDIF > ENDIF > IF empty( cExe ) > cTkn := "-out:" > IF ( n := at( cTkn, cTmp ) ) > 0 >n1 := hb_at( ".exe", cTmp, n + len( cTkn ) ) >cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 4 > ) > ENDIF > ENDIF > > Can you provide a uniform token, say, > hbmk2: target path... [C:\dev_projects\harbour\vouch\vouch.exe] > > > > - > enjoy hbIDEing... >Pritpal Bedi > _a_student_of_software_analysis_&_design_ > -- > View this message in context: > http://n2.nabble.com/hbMK2-Uniform-token-to-announce-output-file-tp4733528p4733528.html > Sent from the harbour-devel mailing list archive at Nabble.com. > ___ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour