[Harbour] SF.net SVN: harbour-project:[14175] trunk/harbour

2010-03-15 Thread druzus
Revision: 14175 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14175&view=rev Author: druzus Date: 2010-03-15 22:57:31 + (Mon, 15 Mar 2010) Log Message: --- 2010-03-15 23:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin

Re: [Harbour] Re: MT workareas cloning

2010-03-15 Thread Mindaugas Kavaliauskas
Hi, Przemysław Czerpak wrote: The second proposed solution is more flexible, but is not optimal because it keeps a long mutex lock on "zerospace" internals. Just like WorkaAreaEval() in xbase++ and it's the reason why I still haven't added it to SVN code. There is one very serious problem wi

[Harbour] Error building libs for Msvc 2008 CE

2010-03-15 Thread José Luis Capel
Hi all, I have some errors building libs for msvc 2008 ce. Using these sets: 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

[Harbour] SF.net SVN: harbour-project:[14174] trunk/harbour

2010-03-15 Thread vszakats
Revision: 14174 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14174&view=rev Author: vszakats Date: 2010-03-15 20:58:45 + (Mon, 15 Mar 2010) Log Message: --- 2010-03-15 21:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * INSTALL * external/Make

Re: [Harbour] SF.net SVN: harbour-project:[14172] trunk/harbour

2010-03-15 Thread Przemysław Czerpak
On Mon, 15 Mar 2010, vszak...@users.sourceforge.net wrote: > 2010-03-15 21:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) > * external/bzip2/Makefile > * external/bzip2/bzip2.dif > * external/bzip2/bzip2.c > + Added patch to make it compile on dos and os2/watcom. > Thanks to Prze

[Harbour] SF.net SVN: harbour-project:[14173] trunk/harbour

2010-03-15 Thread druzus
Revision: 14173 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14173&view=rev Author: druzus Date: 2010-03-15 20:40:14 + (Mon, 15 Mar 2010) Log Message: --- 2010-03-15 21:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthr

[Harbour] SF.net SVN: harbour-project:[14172] trunk/harbour

2010-03-15 Thread vszakats
Revision: 14172 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14172&view=rev Author: vszakats Date: 2010-03-15 20:32:35 + (Mon, 15 Mar 2010) Log Message: --- 2010-03-15 21:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * external/bzip2/Makefile

Re: [Harbour] SF.net SVN: harbour-project:[14171] trunk/harbour

2010-03-15 Thread Viktor Szakáts
Hi, >> --- >> 2010-03-15 16:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) >> + external/bzip2/bzip2.dif >>+ Added .dif file. > > What about enabling BZIP2 compilation in DOS and OS2 builds? > This code can be compiled as is by DJGPP and this small patch > > --- harbour/externa

Re: [Harbour] recommended C compiler for Win

2010-03-15 Thread Viktor Szakáts
> Different order of c compiler for xharbour by xailer > http://xailer.info/esp/?p=179 Few more points to make after reading the article in translator: - They ranked Pelles C the first, but they forgot to measure execution speed. - In the article they worry about MSVC being abandoned as free

Re: [Harbour] SF.net SVN: harbour-project:[14171] trunk/harbour

2010-03-15 Thread Przemysław Czerpak
On Mon, 15 Mar 2010, vszak...@users.sourceforge.net wrote: Hi, > --- > 2010-03-15 16:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) > + external/bzip2/bzip2.dif > + Added .dif file. What about enabling BZIP2 compilation in DOS and OS2 builds? This code can be compiled as is by D

Re: [Harbour] proposal: HB_PATH_MAX estension

2010-03-15 Thread Viktor Szakáts
Hi Przemek, >> The macro responsible to set maximum filename/path >> length in Harbour (HB_PATH_MAX) is now set to 264. >> Modern systems can handle much more as maximum path >> length (f.e. Windows 32K chars). > > AFAIR the longer paths are not for FS but for host name > in UNC notation though

Re: [Harbour] recommended C compiler for Win

2010-03-15 Thread Viktor Szakáts
> Different order of c compiler for xharbour by xailer > http://xailer.info/esp/?p=179 It's not that much different, only that they seem to rank Pelles C higher than us. Pelles C is good in features, easy to use, but it's full of serious bugs (and nobody's bug reports were answered since last

Re: [Harbour] recommended C compiler for Win

2010-03-15 Thread Massimo Belgrano
Different order of c compiler for xharbour by xailer http://xailer.info/esp/?p=179 Embarcadero is working to 64 bit borland c++ http://edn.embarcadero.com/article/39174 2010/3/9 Maurilio Longo : > Hi, > > which is the harbour recommended C compiler for the windows platform? > > best regards. >

Re: [Harbour] Re: MT workareas cloning

2010-03-15 Thread Przemysław Czerpak
On Mon, 15 Mar 2010, Mindaugas Kavaliauskas wrote: Hi, > I have a related question/problem. Let's say I want to transfer > areas among threads (that's the purpose of alias detaching). I'm > missing two functions: > 1) to attach alias within another thread using a different alias name; > 2) to sea

Re: [Harbour] proposal: HB_PATH_MAX estension

2010-03-15 Thread Przemysław Czerpak
On Sun, 14 Mar 2010, Szak�ts Viktor wrote: Hi, > The macro responsible to set maximum filename/path > length in Harbour (HB_PATH_MAX) is now set to 264. > Modern systems can handle much more as maximum path > length (f.e. Windows 32K chars). AFAIR the longer paths are not for FS but for host n

Re: [Harbour] MT statics vs public

2010-03-15 Thread Lorenzo Fiorini
On Mon, Mar 15, 2010 at 3:47 PM, Mindaugas Kavaliauskas wrote: > Unfortunately, HTTP is stateless and session key stored in cookie is the key > to solve a problem (still not very comfortable...). > > Here I see the main difference between web application and GUI remote > application. Thanks for

Re[2]: [Harbour] Error in SDDFB

2010-03-15 Thread Luis R. Stach
Thanks Mindaugas Saludos, Luis R. Stach Monday, March 15, 2010, 12:42:06 PM, you wrote: > Hi, > I was offline for some time, but I'm going to check this issue together > with other RDDSQL fixes in the nearest future (perhaps end of this week). > Regards, > Mindaugas > _

[Harbour] SF.net SVN: harbour-project:[14171] trunk/harbour

2010-03-15 Thread vszakats
Revision: 14171 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14171&view=rev Author: vszakats Date: 2010-03-15 15:50:00 + (Mon, 15 Mar 2010) Log Message: --- 2010-03-15 16:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + external/bzip2/bzip2.dif

Re: [Harbour] Error in SDDFB

2010-03-15 Thread Mindaugas Kavaliauskas
Hi, Luis R. Stach wrote: Error SDDFB/1903 Prepare statement failed: SELECT * FROM agenda (DOS Error 335544569) What I do is this: ANNOUNCE RDDSYS REQUEST SQLMIX, SDDFB RDDSETDEFAULT( "SQLMIX" ) hConn := RDDINFO( RDDI_CONNECT, { "FIREBIRD",, "SYSDBA", "masterkey", "192.168.0.1:d:\data\agenda

Re: [Harbour] recommended C compiler for Win

2010-03-15 Thread Mindaugas Kavaliauskas
Hi, ../../../sddfb.c: In function ‘fbDisconnect’: ../../../sddfb.c:181:4: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../../sddfb.c: In function ‘fbOpen’: ../../../sddfb.c:209:4: warning: dereferencing type-punned pointer will break strict-aliasing rules ../

Re: [Harbour] Re: SqlMix and dbcreated

2010-03-15 Thread Massimo Belgrano
Imo must be extended rdd structure Follow my link http://www.masfoxpro.com/index.php?title=XBase&printable=yes PROCEDURE Main LOCAL cConnect := "DBE=ODBCDBE;DSN=OrderProcessing" LOCAL oSession := DacSession():new( cConnect ) IF .NOT. oSession:isConnected() ? "Unable to connect to server !"

Re: [Harbour] Re: MT workareas cloning

2010-03-15 Thread Mindaugas Kavaliauskas
Hi, Support for ZEROSPACE in WorkSpaceList() is trivial but can be implemented only in C. I can add it in necessary. BTW please check above two example with xbase++. Would you please implement the WorkSpaceList() with ZEROSPACE ... I need to obtain all alias within ZEROSPACE Or any

Re: [Harbour] Re: About ADEL()

2010-03-15 Thread Viktor Szakáts
Hi, >> And here you answered the question. ADEL() is a Clipper >> compatibility function, so it's expected to behave exactly >> the same way as in Clipper, regardless of what we think >> about some of that behavior. >> > Hi Viktor, > Thanks you for your reply. I don't like to be pedantic but, > a

Re: [Harbour] Re: SqlMix and dbcreated

2010-03-15 Thread Mindaugas Kavaliauskas
Hi, Shum wrote: It possible to implement the database connection number as a class ... like the DacSession class in Xbase++ ...?? I know nothing about DacSession, but I guess it could be implemented on the top of current code. Regards, Mindaugas ___

Re: [Harbour] MT statics vs public

2010-03-15 Thread Mindaugas Kavaliauskas
Hi, Lorenzo Fiorini wrote: I've successfully implemented MT in my httpserver and the results are great, but http apps are made to be ( almost ) stateless while desktop apps are full of vars that remember selections, global and user setting, preferences and so on. Following the CL5 guidelines I

[Harbour] Re: About ADEL()

2010-03-15 Thread pete_westg
στις 13/03/2010 12:52, O/H Viktor Szakáts έγραψε: And here you answered the question. ADEL() is a Clipper compatibility function, so it's expected to behave exactly the same way as in Clipper, regardless of what we think about some of that behavior. Hi Viktor, Thanks you for your reply. I don

Re: [Harbour] SF.net SVN: harbour-project:[14170] trunk/harbour

2010-03-15 Thread Mindaugas Kavaliauskas
Hi, * harbour/src/rdd/dbfcdx/dbfcdx1.c ! fixed bad copy and past typo which could cause internal error when new index using existing order (subindex) was created without ADDITIVE clause. Bug reported by Mindaugas - many thanks for the information. Thanks! Actually, you've fo

[Harbour] SF.net SVN: harbour-project:[14170] trunk/harbour

2010-03-15 Thread druzus
Revision: 14170 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14170&view=rev Author: druzus Date: 2010-03-15 13:04:33 + (Mon, 15 Mar 2010) Log Message: --- 2010-03-15 14:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcd

[Harbour] IE9104

2010-03-15 Thread Mindaugas Kavaliauskas
Hi, the following sample generates IE9104: === PROC MAIN() DBCREATE("bandom.dbf", {{"NR", "N", 8, 0}, {"TEXT", "C", 8, 0}, {"TEXT2", "C", 4, 0}}, "DBFCDX") DbUseArea(.T., "DBFCDX", "bandom.dbf", "pirma", .T., .F.) OrdCreate("bandom.cdx", "pirmas", "STR(NR)+TEXT")

[Harbour] SF.net SVN: harbour-project:[14169] trunk/harbour

2010-03-15 Thread druzus
Revision: 14169 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14169&view=rev Author: druzus Date: 2010-03-15 11:32:16 + (Mon, 15 Mar 2010) Log Message: --- 2010-03-15 12:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsta

Re: [Harbour] Re: hbide Unrecoverable error 6005: Exception SIGSEGV on exit

2010-03-15 Thread Bruno Luciani
I confirm the same problem here , same scenario ubuntu 9.10 32 bits Bruno br...@notebook:~/harbour-project/harbour/contrib/hbide$ ./hbide idemisc.prg:923:HBIDE_DBG(): HB_TR_ALWAYS NIL QWidget::setLayout: Attempting to set QLayout "" on QDockWidget "dockProjectTree", which already has a layout QWi

Re: [Harbour] Re: hbide Unrecoverable error 6005: Exception SIGSEGV on exit

2010-03-15 Thread marco bra
2010/3/15 Pritpal Bedi > > Hi Marco > > This log has two entries of primary interest for me: > > 1. QMainWindow::saveState(): 'objectName' not set for QToolBar 0x8d8fcc8 '' > 2. Object::disconnect: No such signal QTableWidget::itemDoubleClicked( > QTableWidgetItem *, int ) in ../../../hbqt_hbslot

[Harbour] SF.net SVN: harbour-project:[14168] trunk/harbour

2010-03-15 Thread vszakats
Revision: 14168 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14168&view=rev Author: vszakats Date: 2010-03-15 09:00:55 + (Mon, 15 Mar 2010) Log Message: --- 2010-03-15 09:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/ctnet.c *

[Harbour] Re: hbide Unrecoverable error 6005: Exception SIGSEGV on exit

2010-03-15 Thread Pritpal Bedi
Hi Marco This log has two entries of primary interest for me: 1. QMainWindow::saveState(): 'objectName' not set for QToolBar 0x8d8fcc8 '' 2. Object::disconnect: No such signal QTableWidget::itemDoubleClicked( QTableWidgetItem *, int ) in ../../../hbqt_hbslots.cpp:286 1st one I know and have fix

[Harbour] hbide Unrecoverable error 6005: Exception SIGSEGV on exit

2010-03-15 Thread marco bra
Hi Pritpal, on Ubuntu 9.10 32bit hbide when i exit from hbide i get this error: idemisc.prg:923:HBIDE_DBG(): HB_TR_ALWAYS xbeP_Close QMainWindow::saveState(): 'objectName' not set for QToolBar 0x8d8fcc8 '' idemisc.prg:923:HBIDE_DBG(): HB_TR_ALWAYS xbeP_Close after