Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
Pritpal, surely i will test on Ubuntu but i want to suggest you to have a self Linux environment: it require very simple steps: a) install Virtulbox on Win www.virtualbox.org/wiki/Downloads http://www.virtualbox.org/wiki/Downloadsb) download the ubuntu 10.04 iso from ubuntu-10.04-beta2-desktop-i386.iso from releases.ubuntu.com/lucid/ ubuntu 10.04 will be released stable at the end of this month but it is already pretty usable c) start Virtualbox on Win put create a virtual pc with 20 giga of dynamic disk, on property of the just created virtual pc set the downloaded Ubuntu iso file as cd starting medium d) install Ubuntu e) follow this note www.elart.it/links/harbourhowto_deb_en.php http://www.elart.it/links/harbourhowto_deb_en.phpIn this way you will have win and Ubuntu running at the same time on a single pc and this might help you to autotest Hbide. Hth best regards, Marco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
Marco, can't you prepare a virtual installation for Pritpal ? Virtualbox or Vmware client or whatever Pritpal agrees on I just received a phone call from an experienced windows user that tried to install ubuntu on one pc and got confused... I can prepare a vmware virtual machine by the end of next week and put it on a web server for download... Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] Credit to Patrik for Harbour logo
Hi Vailton I have informed Patrik of update and Patrik have requested put on every page now is http://www.harbour-project.org/logos.html What think About it? -- Forwarded message -- From: Patrick Mast patrick.m...@xharbour.com Date: 2010/4/13 Subject: Re: [Harbour] SF.net SVN: harbour-project:[14303] trunk/harbour To: Massimo Belgrano mbelgr...@deltain.it Why not put it on every page. Now there is also Design by Vailton Renato -- Massimo Belgrano ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
Virtualbox or Vmware client or whatever Pritpal agrees on I just received a phone call from an experienced windows user that tried to install ubuntu on one pc and got confused... I can prepare a vmware virtual machine by the end of next week and put it on a web server for download... Or anyone can take one from here: http://virtualboxes.org/images/ubuntu/ BTW, Ubuntu installation is pretty dead simple, it's nothing compared to Red Hat and some old distros some may remember. Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
I can prepare a vmware virtual machine by the end of next week and put it on a web server for download... Or anyone can take one from here: http://virtualboxes.org/images/ubuntu/ #10 is a good choice. Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Compiling CGI programs and RUN on Apache
On Tue, Apr 13, 2010 at 10:06 PM, Bruno Luciani bruno.luci...@gmail.com wrote: Ok running http://www.lw3dtr.com.ar/cgi-bin/testlorenzo?testcgi I get Hello World! What that means ? That it works :) best regards, Lorenzo ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
@Francesco Perillo Installing Ubuntu in a virtual pc ( i suggest Virtualbox ) inside Windows or in a real pc with Windows in dual boot mode is very very very easy... @Viktor i suggest to Pritbal to install VirtualBox and Ubuntu 10.04 because it have the latest qt into repositories and it get less GPF than Ubuntu 9.10 and it will became into a stable state in the next days so install the Ubuntu 10.04 32bit beta2 and then simply upgrading using the System→Administration→Update manager→Verify→Install BTW i use always Ubuntu installed onto real pc as unique sysop, i have only one installed Win on a Virtualbox created virtual-pc on an Ubuntu pc (Rel. 10.04) Hth, best regards Marco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
On Wed, Apr 14, 2010 at 11:59 AM, marco bra marcobra.ubu...@gmail.com wrote: @Francesco Perillo Installing Ubuntu in a virtual pc ( i suggest Virtualbox ) inside Windows or in a real pc with Windows in dual boot mode is very very very easy... Marco, I know this (I use linux from the gone floppy days), and for me and you installing and configuring linux is really easy... nonetheless this my friend, really really expert on windows side, installed ubuntu but was not able to get an ip from the dhcp server... and gave up... More, in order to have replicable error situations, perhaps it is better we all settle to use one specific VM (no updates enabled) ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
Hi Marco, @Viktor i suggest to Pritbal to install VirtualBox and Ubuntu 10.04 because it have the latest qt into repositories and it get less GPF than Ubuntu 9.10 and it will became into a stable state in the next days so install the Ubuntu 10.04 32bit beta2 and then simply upgrading using the System→Administration→Update manager→Verify→Install I'd however strongly suggest to not try to fix problems blindly by installing newer versions of complete OS. This is the most silly thing we can do, unless our goal is to drop any notion to follow quality and to control our own codebase. I hope it isn't. Pls remember we're supposed to support QT 4.5.x as well, and latest stable release of Ubuntu (9.10) contains just that version. Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
To get or force renew of an ip from dhcpserver Open a terminal from Application→Accessories→Terminal and type: sudo dhclient give the user login password when requested it will not replyed to the screen when you write it, then press enter to see the network conf type: ifconfig Usually the system must get it automatically it must be some issue with network-manager configuration i suggest you to install and use wicd sudo apt-get update sudo apt-get install wicd Then use this network manager if it solve your issue. Hth, best regards Marco -- Linux Infinite Freedom ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] MSVC 2010
Hi All, Above version got out on Monday, Express version as well. [ Microsoft is hopeless: you're forced to upgrade system components and even restart is required (in the middle of the process) just to install this development environment (I didn't select MSSQL). Awaiting SDK 7.1. ] Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
I'd however strongly suggest to not try to fix problems blindly by installing newer versions of complete OS. This is the most silly thing we can do, unless our goal is to drop any notion to follow quality and to control our own codebase. I hope it isn't. I agree but i think might be a better starting point to have a working hbide enviroment. Hbide have some kind of issue with selecting path dialog on create new project BTW we can have multiple Ubuntu and sysop installed on the same pc using VirtualBox Pls remember we're supposed to support QT 4.5.x as well, and latest stable release of Ubuntu (9.10) contains just that version. In my ubuntu 9.10 i have this release of qt installed i also use qt for compiling qgis www.qgis.org/ from svn, so might be there is some different in my packages : libqt4-dev 4:4.6.2 Pacchetto: libqt4-dev Versione: 4:4.6.2-0ubuntu3~karmic1~ppa1 Responsabile: Kubuntu Developers kubuntu-de...@lists.ubuntu.com So i have in the single Ubuntu 9.10 tha i use a not standard release of qt... and i report GPF of hbide from this release of QT, might be not a good choice. BTW i use to compile almost every day and i use qgis for my work without any issue and hbide compile fine. Do you think this env might generate confusion testing hbide ? if yes i will stop to report testing from this pc. Best regards, Marco -- Linux Infinite Freedom ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
I agree but i think might be a better starting point to have a working hbide enviroment. Hbide have some kind of issue with selecting path dialog on create new project IMO it would be better to have a working HBQT library. HBIDE is based on it, so until HBQT doesn't work properly, HBIDE never will. Our major goal is to have a working GUI library in the first place, then we can start to care about stuff built upon it, like an IDE or whatever else. HBIDE is currently useful though for testing HBQT problems. BTW we can have multiple Ubuntu and sysop installed on the same pc using VirtualBox Of course. In my ubuntu 9.10 i have this release of qt installed i also use qt for compiling qgis www.qgis.org/ from svn, so might be there is some different in my packages : libqt4-dev 4:4.6.2 Pacchetto: libqt4-dev Versione: 4:4.6.2-0ubuntu3~karmic1~ppa1 Responsabile: Kubuntu Developers kubuntu-de...@lists.ubuntu.com So i have in the single Ubuntu 9.10 tha i use a not standard release of qt... and i report GPF of hbide from this release of QT, might be not a good choice. BTW i use to compile almost every day and i use qgis for my work without any issue and hbide compile fine. Do you think this env might generate confusion testing hbide ? Yes it could, but I don't know enough details to tell for sure. At least now we see you have a special environment, which is important information to put your GPF reports in context. To tell further, you can check on QT/Ubuntu forums, what they say about such configuration. I'd personally recommend to use default configuration for a start though, especially since we don't even support QT 4.6.x in Harbour officially yet. Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Compiling CGI programs and RUN on Apache
why testcgi not works ? Bruno 2010/4/14 Lorenzo Fiorini lorenzo.fior...@gmail.com On Tue, Apr 13, 2010 at 10:06 PM, Bruno Luciani bruno.luci...@gmail.com wrote: Ok running http://www.lw3dtr.com.ar/cgi-bin/testlorenzo?testcgi I get Hello World! What that means ? That it works :) best regards, Lorenzo ___ 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
[Harbour] SF.net SVN: harbour-project:[14332] trunk/harbour
Revision: 14332 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14332view=rev Author: vszakats Date: 2010-04-14 11:49:37 + (Wed, 14 Apr 2010) Log Message: --- 2010-04-14 13:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) - tests/testcgi.prg - Deleted. Modified Paths: -- trunk/harbour/ChangeLog Removed Paths: - trunk/harbour/tests/testcgi.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] Credit to Patrik for Harbour logo
Hi Massimo, I have informed Patrik of update and Patrik have requested put on every page now is http://www.harbour-project.org/logos.html What think About it? It is not very important what I think, but what the group thinks. I'm not in front of the Harbour project and do not think I should opine on this. But as you asked my opinion I can tell you that I see no problem in removing my name from these pages of the project. I left because I just entered my email as a contact, in case anyone finds any problem in the page can contact me asking for the fix. I do not think the Harbour Project pages should be used for personal promotion and as an example, I'll be removing my name from all the pages if the group wishes. Regards, Vailton Renato ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Credit to Patrik for Harbour logo
Hi Massimo and All, I have informed Patrik of update and Patrik have requested put on every page now is http://www.harbour-project.org/logos.html What think About it? IMO you don't have to be the messenger here. I personally haven't seen any project where logo creator's name (or any other contributor's name, besides webdesigner name in a few cases) is put on every page of the project. It's now shown on the logo/art page where it's unmistakably and perfectly visible (if not, it can be tweaked I'm sure) and appropriate. Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
FWIW I would recommend Mandriva Linux 2010.0 1. It is stable. 2. It ships with qt 4.5.x as standard. 3. I have not seen a single gpf while testing hbide in it. 4. It ships with both KDE4 and Gnome D.E.s on one installation DVD.iso 5. Installation is straightforward and the system management control centre is very user friendly. 6. It does not use grub2 or re-format your swap partition and change it's UUID on installation. (unlike Ubuntu) 7. Iso is available via .torrent here: http://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/official/iso/2010.0/mandriva-linux-free-2010.0-i586.iso 8. ...or all mirrors with ftp etc. :- http://api.mandriva.com/mirrors/list.php My 2 cents :-) Rgds Barry ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] Re: Still waiting GPF Soultion for intra-dlls call of QT...?
El 14/04/2010 0:21, Shum escribió: Hi All, I am still waiting solution of GPF being intra-dlls file call of QT ... http://n2.nabble.com/What-wrong-with-this-example-Harbour-Qt-hbxbp-td4880826.html#a4880826 Called from QT_QWIDGET_SETWINDOWTITLE(0) Called from QMAINWINDOW:SETWINDOWTITLE(0) in ../../../TQWidget.prg Called from XBPDIALOG:CREATE(0) in ../../../xbpdialog.prg Called from BUILDDLG(21) in tgui.prg Called from MAIN(16) in tst.prg Shum Hi Shum Let me notice you this is a DEVELOPPERS list. Not a user's request one. Neither a users support one. This is an Open Source projects and it's merely is a buch of individual and voluntary contributions. If you have a clue why it is GPF-ing or a test bed wheter to help find the problem, then it is appropiate to post here. But you can't ask anything from anyone here. A lot of good people are giving their spare time to this project move forward. Regards Angel ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Compiling CGI programs and RUN on Apache
On Wed, Apr 14, 2010 at 1:22 PM, Bruno Luciani bruno.luci...@gmail.com wrote: why testcgi not works ? I don't know. I didn't write it and I don't find it useful. IMHO HTML is so well documented and supported that hiding it behind a class is a waste of resources. best regards, Lorenzo ___ 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:[14333] trunk/harbour
Revision: 14333 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14333view=rev Author: vszakats Date: 2010-04-14 13:29:34 + (Wed, 14 Apr 2010) Log Message: --- 2010-04-14 15:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL * Updated MSVS 2010 examples. Modified Paths: -- trunk/harbour/ChangeLog trunk/harbour/INSTALL 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] Re: Pritpal and Vikto, please test this generator
francesco perillo wrote: I continued to do some work on the generator and implemented the check on -calls From: HB_FUNC( QT_QAPPLICATION_CURSORFLASHTIME ) { hb_retni( hbqt_par_QApplication( 1 )-cursorFlashTime() ); } To: HB_FUNC( QT_QAPPLICATION_CURSORFLASHTIME ) { QApplication * p ; p = hbqt_par_QApplication( 1 ) ; if( p ) hb_retni( ( p )-cursorFlashTime() ); else HB_TRACE. } Francesco, carry on. I am onto it and have spent few hours on your previous upload. I have noticed some points. Now I will include this patch also and will continue to experiment. I will forward detailed analysis later. I am not replying you because I do not want to influence your line of thoughts. BTW you are heading towards right direction. Try to implement concept like this ( Przemek's code ): pObj = ( QPointer QPageSetupDialog * ) memset( hb_gcAllocate( sizeof( QPointer QPageSetupDialog ), s_gcQPageSetupDialog ), 0, sizeof( QPointer QPageSetupDialog ) ); * pObj = obj; - enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this message in context: http://n2.nabble.com/Pritpal-and-Vikto-please-test-this-generator-tp4900883p4901678.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] Re: Pritpal and Vikto, please test this generator
francesco perillo wrote: pObj = ( QPointer QPageSetupDialog * ) memset( hb_gcAllocate( sizeof( QPointer QPageSetupDialog ), s_gcQPageSetupDialog ), 0, sizeof( QPointer QPageSetupDialog ) ); It is already included it is visually different as we use object and not *object and we gcAllocate QGC_OBJECT and not directly the object... but the result is the same (should be :-) ) Sounds correct. What really surprised me is the not getting a GPF when ( p) -funz() and p is NULL. Yep, and I am surprised too. BTW this patch has provided more insight in how some objects must behave with singal/slots and events. Check for _new_QTableWidgetItem and then ProcessEvnts() firing. This is something I have to fix. I will resume the work later this evening... I miss one point: hbqt_garbage include extern ... ( void *, iParam) I already changed void * to the correct class but then I should include all the headers... I'm in a hurry I will explain better later.. Keep on, hopefully we will be on target soon. - enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this message in context: http://n2.nabble.com/Pritpal-and-Vikto-please-test-this-generator-tp4900883p4902218.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] Error with 14333
Hello, I see this error with last version: [ERROR] Error E2228 ../../../jdmarker.c 946: Too many error or warning messages in function next_marker *** 1 errors in Compile *** mingw32-make[3]: *** [jdmarker.obj] Error 1 mingw32-make[2]: *** [descend] Error 2 mingw32-make[1]: *** [jpeg.inst] Error 2 mingw32-make: *** [external.inst] Error 2 [/ERROR] I use BCCC 551. Regards, Rossine. -- View this message in context: http://old.nabble.com/Error-with-14333-tp28244200p28244200.html Sent from the Harbour - Dev 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] Re: Still waiting GPF Soultion for intra-dlls call of QT...?
Shum wrote: I am still waiting solution of GPF being intra-dlls file call of QT ... http://n2.nabble.com/What-wrong-with-this-example-Harbour-Qt-hbxbp-td4880826.html#a4880826 Called from QT_QWIDGET_SETWINDOWTITLE(0) Called from QMAINWINDOW:SETWINDOWTITLE(0) in ../../../TQWidget.prg Called from XBPDIALOG:CREATE(0) in ../../../xbpdialog.prg Called from BUILDDLG(21) in tgui.prg Called from MAIN(16) in tst.prg As I replied before, I have no clue how Harbour Dll's interact on class objects and instance variables, so cannot forward you a solution. In the meantime, try to build stand-alone exe to proceed further. This is not a show-stopper or something to wait for. - enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this message in context: http://n2.nabble.com/Still-waiting-GPF-Soultion-for-intra-dlls-call-of-QT-tp4899741p4902960.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] Re: Still waiting GPF Soultion for intra-dlls call of QT...?
Hi Angel, Sorry for my noise ! Shum -- View this message in context: http://n2.nabble.com/Still-waiting-GPF-Soultion-for-intra-dlls-call-of-QT-tp4899741p4903060.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] Re: Still waiting GPF Soultion for intra-dlls call of QT...?
Thanks Pritpal Bedi, I will try ! Shum -- View this message in context: http://n2.nabble.com/Still-waiting-GPF-Soultion-for-intra-dlls-call-of-QT-tp4899741p4903072.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
Re: [Harbour] Error with 14333
Hello Rossine, Wednesday, April 14, 2010, 5:27:42 PM, you wrote: R Hello, R I see this error with last version: R [ERROR] R Error E2228 ../../../jdmarker.c 946: Too many error or warning messages in R function next_marker R *** 1 errors in Compile *** R mingw32-make[3]: *** [jdmarker.obj] Error 1 R mingw32-make[2]: *** [descend] Error 2 R mingw32-make[1]: *** [jpeg.inst] Error 2 R mingw32-make: *** [external.inst] Error 2 R [/ERROR] R I use BCCC 551. R Regards, R Rossine. I see it too ;-( (BCC5.5/Vista) ! Building Harbour 2.1.0dev from source - http://www.harbour-project.org ! MAKE: win-make 3.81 sh.exe ! HB_INSTALL_PREFIX: C:\harbour ! HB_HOST_PLAT: win (x86) HB_SHELL: nt ! HB_PLATFORM: win (x86) (autodetected) ! HB_COMPILER: bcc ! Component: 'zlib' found in c:/Harbour/external/zlib (local) ! Component: 'pcre' found in c:/Harbour/external/pcre (local) ! Component: 'openssl' not found. Configure with HB_WITH_OPENSSL. ! Component: 'gpm' not supported on win platform ! Component: 'slang' not found. Configure with HB_WITH_SLANG. ! Component: 'curses' not found. Configure with HB_WITH_CURSES. ! Component: 'x11' not found. Configure with HB_WITH_X11. ! Component: 'wattcp/watt-32' not supported on win platform win-make[2]: Nothing to be done for `all'. win-make[1]: Nothing to be done for `all'. win-make[3]: `../../../../../lib/win/bcc/sqlite3.lib' is up to date. win-make[3]: `../../../../../lib/win/bcc/bz2.lib' is up to date. win-make[3]: `../../../../../lib/win/bcc/libhpdf.lib' is up to date. win-make[3]: `../../../../../lib/win/bcc/libpng.lib' is up to date. bcc32.exe -I. -I../../../../../include -q -tWM -CP437 -d -6 -O2 -OS -Ov -Oi -Oc -DHB_LEGACY_TYPES_OFF -DHAVE_STDLIB_H -IC:\Borland\BCC55\bin\..\Include -DUNICODE -ojdmarker.obj -c ../../../jdmarker.c ../../../jdmarker.c: Warning W8064 ../../../jdmarker.c 203: Call to function with no prototype in function get_soi Warning W8064 ../../../jdmarker.c 206: Call to function with no prototype in function get_soi Warning W8064 ../../../jdmarker.c 251: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 251: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 253: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 254: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 254: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 255: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 255: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 256: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 262: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 265: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 272: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 275: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 280: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 285: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 286: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 289: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 293: Call to function with no prototype in function get_sof Warning W8064 ../../../jdmarker.c 313: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 315: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 315: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 317: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 319: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 324: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 331: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 332: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 340: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 349: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 353: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 355: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 357: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 362: Call to function with no prototype in function get_sos Warning W8064 ../../../jdmarker.c 385: Call
Re: [Harbour] MSVC 2010
Makes me wonder if more Win OS's are no longer supported too ! :) On Wed, Apr 14, 2010 at 3:27 AM, Viktor Szakáts harbour...@syenar.huwrote: Hi All, Above version got out on Monday, Express version as well. [ Microsoft is hopeless: you're forced to upgrade system components and even restart is required (in the middle of the process) just to install this development environment (I didn't select MSSQL). Awaiting SDK 7.1. ] Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour -- smu johnson smujohn...@gmail.com ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
Posting in thread: Any tips how to install on Suse Enterprise Server 10 ? I need instruction from step 0. - enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this message in context: http://n2.nabble.com/Test-of-Hbide-build-r14331-on-Linux-Ubuntu-10-04-i-get-no-more-GPF-errors-tp4898550p4903467.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
Re: [Harbour] MSVC 2010
Makes me wonder if more Win OS's are no longer supported too ! :) I don't know, but for sure they forgot to include these details on the marketing brochures :) Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] tmysql and scripts
hello all I can´t run scripts sql using tmysql, I guess my fault, but I can´t see where cScript := cScript += DELIMITER $$+CHR(10)+CHR(13) cScript += CREATE DEFINER = `ro...@`%` TRIGGER `lancamentos_fixos_before_ins_tr` BEFORE INSERT ON `lancamentos_fixos` FOR EACH ROW+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) THEN+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript += SELECT MAX(idsequencial) INTO @ultimo_id FROM `lancamentos_fixos` WHERE idserver=NEW.idserver AND idfilial=NEW.idfilial;+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) THEN+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript +=SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 );+CHR(10)+CHR(13) cScript +=SET NEW.idsequencial = 1;+CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += ELSE+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript +=SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, (@ultimo_id + 1) );+CHR(10)+CHR(13) cScript +=SET NEW.idsequencial = (@ultimo_id + 1);+CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += END IF;+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += END IF;+CHR(10)+CHR(13) cScript += END $$+CHR(10)+CHR(13) cScript += DELIMITER ;+CHR(10)+CHR(13) oServer:query( ALLTRIM( cScript ) ) but happens Error in your sql syntax I tested the code in sql client and runs ok the script DELIMITER $$ CREATE DEFINER = `ro...@`%` TRIGGER `lancamentos_fixos_before_ins_tr` BEFORE INSERT ON `lancamentos_fixos` FOR EACH ROW BEGIN IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) THEN BEGIN SELECT MAX(idsequencial) INTO @ultimo_id FROM `lancamentos_fixos` WHERE idserver=NEW.idserver AND idfilial=NEW.idfilial; IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) THEN BEGIN SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 ); SET NEW.idsequencial = 1; END; ELSE BEGIN SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, (@ultimo_id + 1) ); SET NEW.idsequencial = (@ultimo_id + 1); END; END IF; END; END IF; END $$ DELIMITER ; I don´t know how make this, can someone help me? Best Regards Fernando Athayde ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] sf.net bug: codepage translation
Hi All, Here's a new bug report / fix suggestion: http://sourceforge.net/tracker/index.php?func=detailaid=2987157group_id=681atid=100681 Any comment? [ Seems valid to me at first read. ] Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Res: [Harbour] tmysql and scripts
i found this MySQL 5.1 also supports the execution of a string containing multiple statements separated by semicolon (“;”) characters. This capability is enabled by special options that are specified either when you connect to the server with mysql_real_connect() or after connecting by calling` mysql_set_server_option(). and i saw in hbmysql\mysql.c, there isn´t CLIENT_MULTI_STATEMENTS can someone implements this in hbmysql? /* connect to server with the CLIENT_MULTI_STATEMENTS option */ if (mysql_real_connect (mysql, host_name, user_name, password, db_name, port_num, socket_name, CLIENT_MULTI_STATEMENTS) == NULL) { printf(mysql_real_connect() failed\n); mysql_close(mysql); exit(1); } /* execute multiple statements */ status = mysql_query(mysql, DROP TABLE IF EXISTS test_table;\ CREATE TABLE test_table(id INT);\ INSERT INTO test_table VALUES(10);\ UPDATE test_table SET id=20 WHERE id=10;\ SELECT * FROM test_table;\ DROP TABLE test_table); if (status) { printf(Could not execute statement(s)); mysql_close(mysql); exit(0); } /* process each statement result */ do { /* did current statement return data? */ result = mysql_store_result(mysql); if (result) { /* yes; process rows and free the result set */ process_result_set(mysql, result); mysql_free_result(result); } else /* no result set or error */ { if (mysql_field_count(mysql) == 0) { printf(%lld rows affected\n, mysql_affected_rows(mysql)); } else /* some error occurred */ { printf(Could not retrieve result set\n); break; } } /* more results? -1 = no, 0 = error, 0 = yes (keep looping) */ if ((status = mysql_next_result(mysql)) 0) printf(Could not execute statement\n); } while (status == 0); Best Regards Fernando Athayde mysql_close(mysql); De: Fernando Athayde fernando_atha...@yahoo.com.br Para: harbour@harbour-project.org Enviadas: Quarta-feira, 14 de Abril de 2010 16:08:03 Assunto: [Harbour] tmysql and scripts hello all I can´t run scripts sql using tmysql, I guess my fault, but I can´t see where cScript := cScript += DELIMITER $$+CHR(10)+CHR(13) cScript += CREATE DEFINER = `ro...@`%` TRIGGER `lancamentos_fixos_before_ins_tr` BEFORE INSERT ON `lancamentos_fixos` FOR EACH ROW+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) THEN+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript += SELECT MAX(idsequencial) INTO @ultimo_id FROM `lancamentos_fixos` WHERE idserver=NEW.idserver AND idfilial=NEW.idfilial;+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) THEN+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript +=SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 );+CHR(10)+CHR(13) cScript +=SET NEW.idsequencial = 1;+CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += ELSE+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript +=SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, (@ultimo_id + 1) );+CHR(10)+CHR(13) cScript +=SET NEW.idsequencial = (@ultimo_id + 1);+CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += END IF;+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += END IF;+CHR(10)+CHR(13) cScript += END $$+CHR(10)+CHR(13) cScript += DELIMITER ;+CHR(10)+CHR(13) oServer:query( ALLTRIM( cScript ) ) but happens Error in your sql syntax I tested the code in sql client and runs ok the script DELIMITER $$ CREATE DEFINER = `ro...@`%` TRIGGER `lancamentos_fixos_before_ins_tr` BEFORE INSERT ON `lancamentos_fixos` FOR EACH ROW BEGIN IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) THEN BEGIN SELECT MAX(idsequencial) INTO @ultimo_id FROM `lancamentos_fixos` WHERE idserver=NEW.idserver AND idfilial=NEW.idfilial; IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) THEN BEGIN SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 ); SET NEW.idsequencial = 1; END; ELSE BEGIN SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, (@ultimo_id + 1) ); SET NEW.idsequencial = (@ultimo_id + 1); END; END IF; END; END IF; END $$ DELIMITER ; I don´t know how make this, can someone help me? Best Regards Fernando Athayde ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] MSVC warnings (uninit variable)
Hi All, I've found these warning with recent Harbour versions, reported by both MSVC 2008 and 2010: --- \harbour\src\compiler\obj\win\msvc\harboury.c(7035) : warning C4701: potentially uninitialized local variable 'hb_complval' used \harbour\src\rtl\hbzlib.c(249) : warning C4701: potentially uninitialized local variable 'pDest' used \harbour\src\rtl\hbzlib.c(249) : warning C4701: potentially uninitialized local variable 'pDest' used \harbour\src\macro\obj\win\msvc\macroy.c(2996) : warning C4701: potentially uninitialized local variable 'hb_macrolval' used \harbour\src\macro\obj\win\msvc\macroy.c(2996) : warning C4701: potentially uninitialized local variable 'hb_macrolval' used \harbour\contrib\hbbz2\hbbz2.c(354) : warning C4701: potentially uninitialized local variable 'pDest' used --- Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: Res: [Harbour] tmysql and scripts
Hi, MYSQL_REAL_CONNECT() .prg function does support fifth 'flags' parameter in Harbour. Brgds, Viktor On 2010 Apr 14, at 22:03, Fernando Athayde wrote: i found this MySQL 5.1 also supports the execution of a string containing multiple statements separated by semicolon (“;”) characters. This capability is enabled by special options that are specified either when you connect to the server withmysql_real_connect() or after connecting by calling`mysql_set_server_option(). and i saw in hbmysql\mysql.c, there isn´t CLIENT_MULTI_STATEMENTS can someone implements this in hbmysql? /* connect to server with the CLIENT_MULTI_STATEMENTS option */ if (mysql_real_connect (mysql, host_name, user_name, password, db_name, port_num, socket_name, CLIENT_MULTI_STATEMENTS) == NULL) { printf(mysql_real_connect() failed\n); mysql_close(mysql); exit(1); } /* execute multiple statements */ status = mysql_query(mysql, DROP TABLE IF EXISTS test_table;\ CREATE TABLE test_table(id INT);\ INSERT INTO test_table VALUES(10);\ UPDATE test_table SET id=20 WHERE id=10;\ SELECT * FROM test_table;\ DROP TABLE test_table); if (status) { printf(Could not execute statement(s)); mysql_close(mysql); exit(0); } /* process each statement result */ do { /* did current statement return data? */ result = mysql_store_result(mysql); if (result) { /* yes; process rows and free the result set */ process_result_set(mysql, result); mysql_free_result(result); } else /* no result set or error */ { if (mysql_field_count(mysql) == 0) { printf(%lld rows affected\n, mysql_affected_rows(mysql)); } else /* some error occurred */ { printf(Could not retrieve result set\n); break; } } /* more results? -1 = no, 0 = error, 0 = yes (keep looping) */ if ((status = mysql_next_result(mysql)) 0) printf(Could not execute statement\n); } while (status == 0); Best Regards Fernando Athayde mysql_close(mysql); De: Fernando Athayde fernando_atha...@yahoo.com.br Para: harbour@harbour-project.org Enviadas: Quarta-feira, 14 de Abril de 2010 16:08:03 Assunto: [Harbour] tmysql and scripts hello all I can´t run scripts sql using tmysql, I guess my fault, but I can´t see where cScript := cScript += DELIMITER $$+CHR(10)+CHR(13) cScript += CREATE DEFINER = `ro...@`%` TRIGGER `lancamentos_fixos_before_ins_tr` BEFORE INSERT ON `lancamentos_fixos` FOR EACH ROW+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) THEN+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript += SELECT MAX(idsequencial) INTO @ultimo_id FROM `lancamentos_fixos` WHERE idserver=NEW.idserver AND idfilial=NEW.idfilial;+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) THEN+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript +=SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 );+CHR(10)+CHR(13) cScript +=SET NEW.idsequencial = 1;+CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += ELSE+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript +=SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, (@ultimo_id + 1) );+CHR(10)+CHR(13) cScript +=SET NEW.idsequencial = (@ultimo_id + 1);+CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += END IF;+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += END IF;+CHR(10)+CHR(13) cScript += END $$+CHR(10)+CHR(13) cScript += DELIMITER ;+CHR(10)+CHR(13) oServer:query( ALLTRIM( cScript ) ) but happens Error in your sql syntax I tested the code in sql client and runs ok the script DELIMITER $$ CREATE DEFINER = `ro...@`%` TRIGGER `lancamentos_fixos_before_ins_tr` BEFORE INSERT ON `lancamentos_fixos` FOR EACH ROW BEGIN IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) THEN BEGIN SELECT MAX(idsequencial) INTO @ultimo_id FROM `lancamentos_fixos` WHERE idserver=NEW.idserver AND idfilial=NEW.idfilial; IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) THEN BEGIN SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 ); SET NEW.idsequencial = 1; END; ELSE BEGIN SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, (@ultimo_id + 1) ); SET NEW.idsequencial = (@ultimo_id + 1); END; END IF; END; END IF; END $$ DELIMITER ; I don´t know how make this, can someone help me? Best Regards Fernando Athayde ___ Harbour mailing list (attachment size limit:
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
Hi Pritpal, Posting in thread: Any tips how to install on Suse Enterprise Server 10 ? I'd say just make your VM boot from the installation .iso. It's as easy as installing Ubuntu from that point. I need instruction from step 0. If everything fails I'm sure some easy googling will help you out here. Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
I use suse enterprise server 10 at the office and I STRONGLY suggest to NOT use it for developing. Infact it misses several libraries, includes etc Please use OpenSuse, Ubuntu, Mandriva whatever you like but DO NOT use SLES or RedHat advanced server... Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] sf.net bug: codepage translation
On Wed, 14 Apr 2010, Szak�ts Viktor wrote: Hi, Here's a new bug report / fix suggestion: http://sourceforge.net/tracker/index.php?func=detailaid=2987157group_id=681atid=100681 Any comment? [ Seems valid to me at first read. ] It's not correct solution. It only breaks few things instead of fixing real problem. best regards, Przemek ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] MSVC warnings (uninit variable)
On Wed, 14 Apr 2010, Szak�ts Viktor wrote: Hi, I've found these warning with recent Harbour versions, reported by both MSVC 2008 and 2010: --- \harbour\src\compiler\obj\win\msvc\harboury.c(7035) : warning C4701: potentially uninitialized local variable 'hb_complval' used \harbour\src\rtl\hbzlib.c(249) : warning C4701: potentially uninitialized local variable 'pDest' used \harbour\src\rtl\hbzlib.c(249) : warning C4701: potentially uninitialized local variable 'pDest' used \harbour\src\macro\obj\win\msvc\macroy.c(2996) : warning C4701: potentially uninitialized local variable 'hb_macrolval' used \harbour\src\macro\obj\win\msvc\macroy.c(2996) : warning C4701: potentially uninitialized local variable 'hb_macrolval' used \harbour\contrib\hbbz2\hbbz2.c(354) : warning C4701: potentially uninitialized local variable 'pDest' used --- All are false alarms. I can pacify the warnings adding redundant initialization in hbzlib.c and hbbz2.c but it will be hard to make something with harboury. and macroy.c because it's code generated by bison. I already use a little bit patched bison to generate our grammar files so I can add some farther modification to pacify also above MSVC warnings. best regards, Przemek ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Res: Res: [Harbour] tmysql and scripts
but mysql_query in hbmysql.c don´t loop for statements If you enable CLIENT_MULTI_STATEMENTS or CLIENT_MULTI_RESULTS, you should process the result for every call to mysql_query() or mysql_real_query() by using a loop that calls mysql_next_result() to determine whether there are more results. For an example, see Section 21.9.12, “C API Support for Multiple Statement Execution”. there isn´t mysql_next_result in harbour guys this is only a suggestion, don´t kill me lol Brgds, Fernando Athayde De: Viktor Szakáts harbour...@syenar.hu Para: Harbour Project Main Developer List. harbour@harbour-project.org Enviadas: Quarta-feira, 14 de Abril de 2010 17:15:01 Assunto: Re: Res: [Harbour] tmysql and scripts Hi, MYSQL_REAL_CONNECT() .prg function does support fifth 'flags' parameter in Harbour. Brgds, Viktor On 2010 Apr 14, at 22:03, Fernando Athayde wrote: i found this MySQL 5.1 also supports the execution of a string containing multiple statements separated by semicolon (“;”) characters. This capability is enabled by special options that are specified either when you connect to the server withmysql_real_connect() or after connecting by calling`mysql_set_server_option(). and i saw in hbmysql\mysql.c, there isn´t CLIENT_MULTI_STATEMENTS can someone implements this in hbmysql? /* connect to server with the CLIENT_MULTI_STATEMENTS option */ if (mysql_real_connect (mysql, host_name, user_name, password, db_name, port_num, socket_name, CLIENT_MULTI_STATEMENTS) == NULL) { printf(mysql_real_connect() failed\n); mysql_close(mysql); exit(1); } /* execute multiple statements */ status = mysql_query(mysql, DROP TABLE IF EXISTS test_table;\ CREATE TABLE test_table(id INT);\ INSERT INTO test_table VALUES(10);\ UPDATE test_table SET id=20 WHERE id=10;\ SELECT * FROM test_table;\ DROP TABLE test_table); if (status) { printf(Could not execute statement(s)); mysql_close(mysql); exit(0); } /* process each statement result */ do { /* did current statement return data? */ result = mysql_store_result(mysql); if (result) { /* yes; process rows and free the result set */ process_result_set(mysql, result); mysql_free_result(result); } else /* no result set or error */ { if (mysql_field_count(mysql) == 0) { printf(%lld rows affected\n, mysql_affected_rows(mysql)); } else /* some error occurred */ { printf(Could not retrieve result set\n); break; } } /* more results? -1 = no, 0 = error, 0 = yes (keep looping) */ if ((status = mysql_next_result(mysql)) 0) printf(Could not execute statement\n); } while (status == 0); Best Regards Fernando Athayde mysql_close(mysql); De: Fernando Athayde fernando_atha...@yahoo.com.br Para: harbour@harbour-project.org Enviadas: Quarta-feira, 14 de Abril de 2010 16:08:03 Assunto: [Harbour] tmysql and scripts hello all I can´t run scripts sql using tmysql, I guess my fault, but I can´t see where cScript := cScript += DELIMITER $$+CHR(10)+CHR(13) cScript += CREATE DEFINER = `ro...@`%` TRIGGER `lancamentos_fixos_before_ins_tr` BEFORE INSERT ON `lancamentos_fixos` FOR EACH ROW+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) THEN+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript += SELECT MAX(idsequencial) INTO @ultimo_id FROM `lancamentos_fixos` WHERE idserver=NEW.idserver AND idfilial=NEW.idfilial;+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) THEN+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript +=SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 );+CHR(10)+CHR(13) cScript +=SET NEW.idsequencial = 1;+CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += ELSE+CHR(10)+CHR(13) cScript += BEGIN+CHR(10)+CHR(13) cScript +=SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, (@ultimo_id + 1) );+CHR(10)+CHR(13) cScript +=SET NEW.idsequencial = (@ultimo_id + 1);+CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += END IF;+CHR(10)+CHR(13) cScript += +CHR(10)+CHR(13) cScript += END;+CHR(10)+CHR(13) cScript += END IF;+CHR(10)+CHR(13) cScript += END $$+CHR(10)+CHR(13) cScript += DELIMITER ;+CHR(10)+CHR(13) oServer:query( ALLTRIM( cScript ) ) but happens Error in your sql syntax I tested the code in sql client and runs ok the script DELIMITER $$ CREATE DEFINER = `ro...@`%` TRIGGER `lancamentos_fixos_before_ins_tr` BEFORE INSERT ON `lancamentos_fixos` FOR EACH ROW BEGIN IF (
Re: [Harbour] Re: Pritpal and Vikto, please test this generator
I'm about to implement a -massivedebug switch to the generator sample: HB_FUNC( QT_QPUSHBUTTON_ISFLAT ) { QPushButton * p; HB_TRACE( HB, ( Entering function QT_QPUSHBUTTON_ISFLAT ) ); and with a bit more knowledge on parameters/object (also thanks to Viktor generator2) we may also print the parameter passed and the return value/pointer... I also created my cppstub with some debug info inside... I need to print more infos and then match one new with one delete Ciao Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
Viktor Szakáts wrote: Or anyone can take one from here: http://virtualboxes.org/images/ubuntu/ BTW, Ubuntu installation is pretty dead simple, it's nothing compared to Red Hat and some old distros some may remember. This post is through FireFox from within Virtual-box and Ubuntu 9.10. My first entry familiarity with Linux. I am happy I could do it out of the box. I tried also SuSE10 but failed miserably on installation. So for hbQT debugging I am ready for the next step. Please let me step-through how I can setup Harbour ? - enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this message in context: http://n2.nabble.com/Test-of-Hbide-build-r14331-on-Linux-Ubuntu-10-04-i-get-no-more-GPF-errors-tp4898550p4905104.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
Re: [Harbour] FoxPro compatibility
Hi I want discuss some things with who uses FoxPro. I have some code which barely translates some FoxPro syntax, but was not my intent reproduce Foxpro behavior. I will need adapt to be used as a FoxPro compatibility layer. []'s Maniero 2010/4/13 Massimo Belgrano mbelgr...@deltain.it Post here that we search same intrested user 2010/4/10 Antonio Maniero mani...@klip.net: I had written, many years ago, a few rules for PP translate some FoxPro commands to Clipper compatible code. Anyone here with FoxPro experience to test this? I could contribute these rules (and some code, I really can't remember how I did) to FoxPro compatibility layer. []'s Maniero 2010/4/9 Viktor Szakáts harbour...@syenar.hu 2010/4/9 francesco perillo fperi...@gmail.com: quit.resize( 75, 30 ); quit:resize( 100,30) Will be possible use . istead : like visual fox pro? Xbase have added a /fox switch to the Xbase++ compiler to accept the . instead of the : in terms of OO syntax and will be become VFP successor. You should read the mailing list: #include hbfoxpro.ch Brgds, Viktor ___ 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 -- Massimo Belgrano ___ 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
Re: [Harbour] Re: A question on C++
Hi Francesco, Viktor, Pritpal, Prezmek and all guys working on HBQt It's very good to see all that progress about HBQt. I think the HBQt is going to right way. I hope can help in a near future. []'s Maniero ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: Res: Res: [Harbour] tmysql and scripts
but mysql_query in hbmysql.c don´t loop for statements If you enable CLIENT_MULTI_STATEMENTS or CLIENT_MULTI_RESULTS, you should process the result for every call to mysql_query()or mysql_real_query() by using a loop that callsmysql_next_result() to determine whether there are more results. For an example, see Section 21.9.12, “C API Support for Multiple Statement Execution”. there isn´t mysql_next_result in harbour guys this is only a suggestion, don´t kill me lol So issue the statements one by one. Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Improve on hbqt object handling
Hi Viktor Are you talking about Harbour GC or ref count in general? Ref count is enough for this task? Is not possible have circular references? Can you talk about Harbour GC? I want know about Harbour internals. []'s Maniero 2010/4/12 Viktor Szakáts harbour...@syenar.hu That's why reference counting was invented, and the problem is that it's not used by HBQT. Brgds, Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] My first study on hbqt code...
If I understand correctly (correct me if not): - You intend to create separate hbqt_gcpointer*() calls for each object type. - To add NULL checking to these functions. I agree with both. HBQT code should definitely throw RTE when NULL is detected, instead of letting it GPF. Is it possible and have a kind of ease way to capture every GPF triggered on a Harbour application and push a RTE instead to break the application? I mean in low level code, below VM, of course. I begin to study Harbour internals this week I'm sorry if I am saying a lot of bullshit or I am miscommunicating with my bad english. I have dificulty to express myself out of my natural language. []'s Maniero ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] Just for Fun
Please don't take seriously this checklist, just prize how about Harbour fill that subjective criteria. http://spot.livejournal.com/308370.html *For me* Harbour is very well, getting points mostly on building/bundling. I think I should congratulate all that have contributing to little FAIL in this stress test. []'s Maniero ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] Re: Test of Hbide build r14331 on Linux Ubuntu 10.04 i get no more GPF errors
here ready do download virtualbox image for open suse 10 http://virtualboxes.org/images/opensuse/ Copied from http://www.elart.it/links/harbourhowto_deb_en.php How to install and compile Harbour on Ubuntu from SVN Requested deb packages to compile Harbour on Ubuntu First be sure is enabled the Universe repository from menu: System:Administration:Software Sources: Ubuntu software [tab] Then open terminal from Applications: Accessories: Terminal and type or better copy the red rows below and paste them into the terminal window: sudo apt-get update; sudo apt-get install subversion wget rcs build-essential ncurses-dev libslang2-dev tk8.3-dev unixodbc-dev libncurses-dev libx11-dev libgpm-dev firebird2.1-dev libfreeimage-dev libmysqlclient15-dev libpq-dev libqt3-mt-dev liballegro4.2-dev wine dosemu-freedos mingw32 zlib1g-dev libpcre3-dev libncurses-dev libslang2-dev libx11-dev libgpmg1-dev unixodbc-dev libcurl4-gnutls-dev firebird2.1-dev libgd2-xpm-dev libsqlite3-dev libqt4-dev Might be useful to set some default, please type this command: sudo update-alternatives --set moc /usr/bin/moc-qt4 Harbour how to get source and compile them from SVN trunk 1) - Open a terminal window from menu Applications: Accessories: Terminal; 2) - Check the requested packages as specified on top of this page; 3) - Type or copy and paste (a row a time then press enter) into the terminal window: mkdir $HOME/src cd $HOME/src svn co https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour harbour cd $HOME/src/harbour export HB_BIN_INSTALL=/usr/bin export HB_INSTALL_PREFIX=/usr/bin export HB_LIB_INSTALL=/usr/lib/harbour export HB_INC_INSTALL=/usr/include/harbour export HB_DOC_INSTALL=/usr/share/doc/harbour export HB_ETC_INSTALL=/etc/harbour export HB_CONTRIBLIBS=hbqt hbct hbhpdf hblog hbxml hbmzip hbtip hbvpdf hbxbp hbgd hbpgsql hbcurl hbmysql hbsqlit3 hbssl hbodbc rddsql gtqtc hbmisc export HB_BUILD_SHARED=no make clean make sudo -E make install harbour -build How to update and compile Harbour from svn sources To update and compile Harbour from latest svn revision please download this shell script: using terminal type o better copy and paste the rows below, please copy and paste one row a time, then press enter: mkdir $HOME/src cd $HOME/src wget http://www.elart.it/harbour/MBaggharbour2_svn chmod 700 MBaggharbour2_svn ./MBaggharbour2_svn The above instructions are to be done only one time, then, to update and compile Harbour from SVN sources, you simply need to run the script by opening a terminal and typing: cd $HOME/src; ./MBaggharbour2_svn To compile the sources in the contrib directories for example hbide, type : cd $HOME/src/harbour/contrib/hbide hbmk2 hbide.hbp -rebuild To run the just compiled hbide type: ./hbide 2010/4/15 Pritpal Bedi bediprit...@hotmail.com: Viktor Szakáts wrote: Or anyone can take one from here: http://virtualboxes.org/images/ubuntu/ BTW, Ubuntu installation is pretty dead simple, it's nothing compared to Red Hat and some old distros some may remember. This post is through FireFox from within Virtual-box and Ubuntu 9.10. My first entry familiarity with Linux. I am happy I could do it out of the box. I tried also SuSE10 but failed miserably on installation. So for hbQT debugging I am ready for the next step. Please let me step-through how I can setup Harbour ? -- Massimo Belgrano ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour