[Harbour] hbmk2 doc

2010-05-06 Thread Lorenzo Fiorini
I have to port some apps from C53+Fivewin16 to Harbour+Bcc+Fivewin32. I'm trying to use hbmk2 to replace the old makefiles but I can't find the proper solutions. Where can I find some doc about hbmk2? What I need are two simple things: - create a lib from *.prg and *.c that are in a dir - creat

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread Lorenzo Fiorini
On Fri, Apr 30, 2010 at 9:43 AM, Enrico Maria Giordano wrote: > Dear friends, can you tell me if there are any known issues with Harbour and > Microsoft's Server Message Block technology? It is a caching technology > which will delay the writing of data to shared files on a Windows server. > SMB2

Re: [Harbour] problem TXmlDocument

2010-04-29 Thread Lorenzo Fiorini
On Thu, Apr 29, 2010 at 6:12 PM, ivan re wrote: > I've installed Harbour on my linux ubuntu using follow command: > ... > When I try to compile and execute my xml1.prg I obtain: > ... > Error BASE/1003  Variable does not exist: > TXMLDOCUMENT > Called from MAIN(17) > > Why so?? TXMLDOCUMENT is i

[Harbour] hbtrace.c warning

2010-04-25 Thread Lorenzo Fiorini
Under Ubuntu 10.04 i386 with svn 14389 and gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 I get: ../../../hbtrace.c: In function ‘hb_tracelog_’: ../../../hbtrace.c:278: warning: format not a string literal and no format arguments best regards, Lorenzo ___ Harbour ma

Re: [Harbour] Re: someone uses hbqt for "business" applications ?

2010-04-23 Thread Lorenzo Fiorini
On Fri, Apr 23, 2010 at 8:34 PM, Pritpal Bedi wrote: I've nothing against hbqt. The discussion is about using it to create business apps and I pointed one problem: many here have a lot of C5x CUI code to convert and hbqt does not help. > This is the main problem of > every GUI library. We tend t

Re: [Harbour] open pdf

2010-04-23 Thread Lorenzo Fiorini
On Fri, Apr 23, 2010 at 6:35 PM, Bruno Luciani wrote: > Thanks lorenzo , works ok You're welcome. best regards, Lorenzo ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinf

Re: [Harbour] open pdf

2010-04-23 Thread Lorenzo Fiorini
On Fri, Apr 23, 2010 at 3:46 PM, Bruno Luciani wrote: > Exist  a way that , once a file was created , generates that's OS open this > file > using default apliccation for this type of file ? > > In example a PDF file xdg-open should works for every freedesktop complaint desktop. I use sth like:

Re: [Harbour] Re: someone uses hbqt for "business" applications ?

2010-04-23 Thread Lorenzo Fiorini
On Fri, Apr 23, 2010 at 12:14 PM, Massimo Belgrano wrote: > The only steep will be a �...@say get replacement > ... > @ 20, 300 XSAY 'Customer' GET cCustomer GETWIDTH 200 ; >  VALID TestEmpty(cCustomer,'Customer Name') This means that a developer needs to change every ROW, COL value to X, Y and

Re: [Harbour] Re: someone uses hbqt for "business" applications ?

2010-04-23 Thread Lorenzo Fiorini
On Thu, Apr 22, 2010 at 11:34 PM, francesco perillo wrote: > In my code I have a lot of VALID and WHEN and PICTURE... if we don't > think about a way to emulate such functionalities we may be forced to > rewrite too much code... This is the main problem of hbqt. If it can't easily migrate existi

Re: [Harbour] Getting a list of printers under Linux

2010-04-21 Thread Lorenzo Fiorini
On Thu, Apr 22, 2010 at 5:33 AM, wrote: > I have just started on an interface to CUPS, only four functions so far but > already two ways to get a list of printers: > ... > This code is an experiment I only did last night! Many thanks. I'll try it and I'll report results. best regards, Lorenzo

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

2010-04-18 Thread Lorenzo Fiorini
On Sun, Apr 18, 2010 at 3:49 AM, wrote: >      Now no GPF even if oObj:destroy() is not issued. >      I confirm on WinXP and awaiting responses from all of you >      on other platforms. > >      If all goes OK, then credit goes to Francesco and Istvan. >      Guys, back them up. I've just reb

Re: [Harbour] Re: Compiling CGI programs and RUN on Apache

2010-04-14 Thread Lorenzo Fiorini
On Wed, Apr 14, 2010 at 1:22 PM, Bruno Luciani 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

Re: [Harbour] Re: Compiling CGI programs and RUN on Apache

2010-04-14 Thread Lorenzo Fiorini
On Tue, Apr 13, 2010 at 10:06 PM, Bruno Luciani 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 (atta

Re: [Harbour] Re: Compiling CGI programs and RUN on Apache

2010-04-13 Thread Lorenzo Fiorini
On Tue, Apr 13, 2010 at 6:45 PM, Bruno Luciani wrote: > [Tue Apr 13 14:01:05 2010] [error] [client xx] Error BASE/1081 > Argument error: + > [Tue Apr 13 14:01:05 2010] [error] [client xx] Called from MAIN(9) If you look at the cgi script it requires a parameter, so you should cal

Re: [Harbour] Re: Compiling CGI programs and RUN on Apache

2010-04-13 Thread Lorenzo Fiorini
On Tue, Apr 13, 2010 at 6:00 PM, Bruno Luciani wrote: > Lorenzo , could you try testcgi sample from test folder in SVN ? testcgi.prg doesn't work. Try to compile the code below and put it in your cgi-bir dir. procedure main(...) local s_cNewLine := HB_OSNewLine() outstd( "CONTENT-TYPE: T

Re: [Harbour] Re: Compiling CGI programs and RUN on Apache

2010-04-13 Thread Lorenzo Fiorini
On Tue, Apr 13, 2010 at 3:38 PM, Bruno Luciani wrote: > or others cgi programs. I use Apache, Harbour and CGI every day and I can assure it works even better than other web solutions. outstd() and -gtcgi flag are all you need to start. I can't say anything about THTML. best regards, Lorenzo _

[Harbour] Anyone interested to join an ERP project based on Harbour+Web+SQL?

2010-04-13 Thread Lorenzo Fiorini
I'm extending my ERP to support multiple languages and multiple fiscal laws but I can't easily find developers that are skilled in Harbour, Web techs, SQL and that can work on localizations. I'm wondering if instead of doing everything internally, it wouldn't be better to share the project with a

Re: [Harbour] Introducing myself

2010-04-10 Thread Lorenzo Fiorini
On Sat, Apr 10, 2010 at 6:52 PM, Antonio Maniero wrote: > Some rules I've learned: > ... > []'s Maniero Excuse my jump in and feel free to ignore everything. For me WP should be only a place where to say that Harbour exist and what it is while the "details and comparisons" should be elsewhere.

[Harbour] Close to our Polish colleagues

2010-04-10 Thread Lorenzo Fiorini
I am deeply sorry to hear the news. I am close to our Polish colleagues and I hope the best for their beautiful country. Lorenzo Fiorini ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org

[Harbour] What about release 2.1

2010-03-21 Thread Lorenzo Fiorini
Clearly this is a very personal POV but to me actual svn seems stable and highly compatible with 2.0.0 ( beside tipencoderurl_xyz ). Also there is no much activity, which is not negative, it could be also a sign that there are few bugs to fix, so it seems a good time to freeze and release. best r

[Harbour] About NoSQL Cassandra

2010-03-18 Thread Lorenzo Fiorini
http://cassandra.apache.org/ What do you think about it? best regards, Lorenzo ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

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: [Harbour] recommended C compiler for Win

2010-03-10 Thread Lorenzo Fiorini
On Wed, Mar 10, 2010 at 7:11 PM, Qatan wrote: > It was very simple for me. Maybe I was a lucky "sailor in the first voyage"? No, I have the same experience: I just run the mingw installer, the msys installer, get gd, zlib, openssl from gnuwin32 and run the installers, get eclipse and git and run

Re: [Harbour] Re: MT statics vs public

2010-03-08 Thread Lorenzo Fiorini
On Mon, Mar 8, 2010 at 8:45 PM, Pritpal Bedi wrote: > Static variable as declared as STATIC are shared among threads. > Static variables declared as THREAD STATIC have thread wide scope. Many thanks, but I was referring more to the programming style. In my market desktop is fading away and every

[Harbour] MT statics vs public

2010-03-08 Thread Lorenzo Fiorini
I am moving my apps desktop apps to web interface. Since the UI is in another process ( the browser ) is somewhat difficult to manage wait states so MT is becoming almost necessary. I've successfully implemented MT in my httpserver and the results are great, but http apps are made to be ( almost

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

2010-03-07 Thread Lorenzo Fiorini
On Sun, Mar 7, 2010 at 4:48 PM, Lorenzo Fiorini wrote: > make[4]: *** No rule to make target `encmthd.o', needed by > `libhbtipssl.a'.  Stop. > make[3]: *** [descend] Error 2 > make[2]: *** [hbtipssl] Error 2 > make[1]: *** [hbtip] Error 2 > make: *** [contrib] Erro

Re: [Harbour] Error Testing simple.prg in Postgres

2010-03-07 Thread Lorenzo Fiorini
On Sun, Mar 7, 2010 at 4:45 PM, Bruno Luciani wrote: > any Idea Use :ErrorMsg() best regards, Lorenzo ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

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

2010-03-07 Thread Lorenzo Fiorini
On Sun, Mar 7, 2010 at 1:16 PM, wrote: > > Removed Paths: > - >    trunk/harbour/contrib/hbtip/encmthd.c make[4]: *** No rule to make target `encmthd.o', needed by `libhbtipssl.a'. Stop. make[3]: *** [descend] Error 2 make[2]: *** [hbtipssl] Error 2 make[1]: *** [hbtip] Error 2 mak

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

2010-03-07 Thread Lorenzo Fiorini
On Sun, Mar 7, 2010 at 11:48 AM, wrote: > >  * contrib/hbtip/sendmail.prg >    ! Fixed mime type spec: "text/plain;filename=" -> "text/plain; name=" Many thanks, all the return strings should be changed also. For example: ... CASE ( cFile LIKE ".+\.vbd" ); RETURN "application/activexdocument="

[Harbour] Some simple fixes

2010-03-07 Thread Lorenzo Fiorini
Comparing my local tree with the SVN 14074 there are some simple fixes that could be useful to others. Pick up what you want. contrib/xhb/hblog.prg In line 465 replace IF HB_EnumIndex() < nLen with IF xPar:__enumIndex() < nLen contrib/hbtip/sendmail.prg the syntax "text/plain;filename=" + cFnam

[Harbour] Can HB_GTI_CLOSABLE and HB_GTI_RESISABLE hide the icons

2010-03-06 Thread Lorenzo Fiorini
In 2.0.0 gtxwc/gtwvt I have: Hb_GTInfo(HB_GTI_CLOSABLE, FALSE ) Hb_GTInfo(HB_GTI_RESIZABLE, FALSE ) icons are shown but not active and this confuse the users. Is it possible to hide them? best regards, Lorenzo ___ Harbour mailing list (attachmen

Re: [Harbour] Re: RDDSQL Question.

2010-03-03 Thread Lorenzo Fiorini
On Wed, Mar 3, 2010 at 7:00 PM, Viktor Szakáts wrote: > For sure it'd be powerful addition, so pls feel free > to open the topic, I'm sure many are interested. I already did some month ago ( search for "New SQL classes #1" ) but everything "stopped" around class vs RDD. Even the programming styl

Re: [Harbour] Re: RDDSQL Question.

2010-03-03 Thread Lorenzo Fiorini
On Wed, Mar 3, 2010 at 4:07 PM, Itamar Lins wrote: > Another problem we consider a table with 3Gib for example how to work with > it via browse? because my system is 100% via browse style excel. > > This is syntaxe below is impraticable. > >  DBUSEAREA(, "select * from my_table") > > How to calcu

Re: [Harbour] SF download statistics 1.0.1 vs 2.0.0

2010-03-03 Thread Lorenzo Fiorini
On Wed, Mar 3, 2010 at 9:39 AM, Maurilio Longo wrote: > >From David statistics, they're all moving to harbour on OS/2 :D I still have an OS/2 2.0 box around is it time to reinstall it? :) best regards, Lorenzo ___ Harbour mailing list (attachment size

[Harbour] SF download statistics 1.0.1 vs 2.0.0

2010-03-02 Thread Lorenzo Fiorini
binaries-windows 1.0.0 -> 2.824 1.0.1 -> 13.150 2.0.0 -> 4.215 the trend is similar for binaries-ubuntu and source Are developers waiting for 2.0.1 :) or are there still a lot of them using 1.0.1? What do you read in the stats ( or stars )? best regards, Lorenzo ___

Re: [Harbour] Re: Microsoft's SMB2 in Vista and above crippling your network apps?

2010-03-02 Thread Lorenzo Fiorini
On Wed, Mar 3, 2010 at 4:21 AM, smu johnson wrote: > I am happy to report that after about 30 mins of Googling, I came across > this page, which solved the problem, if you disable SMB2. Thank you or your info. I've read the links but it seems more a security problem. I don't understand if ther

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

2010-03-02 Thread Lorenzo Fiorini
On Tue, Mar 2, 2010 at 10:46 AM, Viktor Szakáts wrote: > Disabling "GUI window close button" is a GT speciality > ... > in practice. I would also add that every change in gtwvt must be synced with gtxwc. If the change is not portable it needs to be "explicit" and documented. best regards, Loren

Re: [Harbour] pcode 0.3

2010-03-02 Thread Lorenzo Fiorini
On Tue, Mar 2, 2010 at 9:53 AM, Maurilio Longo wrote: > I'm at the third full rebuild, make clean, make and I keep getting this, am I > the only one? What's wrong with my hvm? I've just done a make -s clean make install under Linux/gcc and it seems ok. No errors and hbtest works as expected. b

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

2010-02-28 Thread Lorenzo Fiorini
On Sun, Feb 28, 2010 at 6:42 PM, wrote: >  * contrib/rddsql/Makefile >  + contrib/rddsql/sddsq3 >  + contrib/rddsql/sddsq3/Makefile >  + contrib/rddsql/sddsq3/sddsq3.c >  + contrib/rddsql/sddsq3/sddsq3.hbc >  + contrib/rddsql/sddsq3/tests >  + contrib/rddsql/sddsq3/tests/hbmk.hbm >  + contrib/rd

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

2010-02-27 Thread Lorenzo Fiorini
On Sat, Feb 27, 2010 at 12:29 PM, wrote: >  * contrib/hbodbc/odbc.c >  * contrib/rddsql/sddodbc/sddodbc.c I'm testing Ubuntu 10.04 Alpha3 and I got these warnings: ../../../odbc.c: In function ‘HB_FUN_SQLDRIVERCONNECT’: ../../../odbc.c:162: warning: pointer targets in passing argument 2 of ‘hb

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

2010-02-25 Thread Lorenzo Fiorini
On Thu, Feb 25, 2010 at 1:34 PM, wrote: >    - Deleted -kl option. "multiline strings" converted back >      to build-time option. It's not a documented option anymore, >      usage is not recommended. See 2010-02-24 20:04 UTC+0100 >      for valid alternatives. Many thanks. best regards, Lore

Re: [Harbour] Przemyslaw, I need to know your position about HB_PP_MULTILINE support

2010-02-25 Thread Lorenzo Fiorini
On Thu, Feb 25, 2010 at 10:18 AM, Viktor Szakáts wrote: > For me it's rather interesting to see that we maintain any > feature in central SVN which bends basic functionality for > the sake of ONE user. It's well known since years, that it's > a non supported feature. You can NOT USE IT and keep

Re: [Harbour] Przemyslaw, I need to know your position about HB_PP_MULTILINE support

2010-02-25 Thread Lorenzo Fiorini
2010/2/25 Przemysław Czerpak : > In this particular case I do not see any reason that we have to remove > such functionality. For me -kl compiler switch is quite nice solution > which should not be covered by HB_LEGACY_LEVEL3 macro and marked to > removed in the future. > Anyhow if we do not want

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

2010-02-24 Thread Lorenzo Fiorini
On Thu, Feb 25, 2010 at 6:36 AM, Lorenzo Fiorini wrote: > done in the last 5 or so? years :) best regards, Lorenzo ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listi

[Harbour] Przemyslaw, I need to know your position about HB_PP_MULTILINE support

2010-02-24 Thread Lorenzo Fiorini
For me is extremely important, because it makes next Harbour useless for me. 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: SF.net SVN: harbour-project:[13982] trunk/harbour

2010-02-24 Thread Lorenzo Fiorini
On Thu, Feb 25, 2010 at 3:15 AM, Angel Pais wrote: >   ? sql_Sprintf( cFrmSQL, ID_TAB_AGENTI, ID_TAB_CODDSP, cSql, cAnnDsp ) > Very usefull for long embebed SQL commands > Xavi's suggestion copuld be easily translated to that command Xavi, Angel are you really asking me to rewrite all the code

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

2010-02-24 Thread Lorenzo Fiorini
On Wed, Feb 24, 2010 at 9:14 PM, Viktor Szakáts wrote: > Is this feasible? I don't know but please understand that without HB_PP_MULTILINE ( exactly as it was ) Harbour for me is completely useless. Tomorrow I'll do a meeting with my developers to decide what to do. best regards, Lorenzo _

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

2010-02-24 Thread Lorenzo Fiorini
On Wed, Feb 24, 2010 at 8:10 PM, Viktor Szakáts > It would be good to hear from you (as the only known > user of this feature) what is the benefit of using it, > f.e. over #pragma __cstream. Maybe there exists better > solution to keep support for it, than build-time or > compile-time switch. For

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

2010-02-24 Thread Lorenzo Fiorini
On Wed, Feb 24, 2010 at 4:25 PM, Viktor Szakáts > [ AFAIK only Lorenzo is using this feature. ] > > So if there is no objection, I will mark it as deprecated. No problem I can easily stop to update my Harbour tree. best regards, Lorenzo ___ Harbour mai

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

2010-02-22 Thread Lorenzo Fiorini
On Sat, Feb 20, 2010 at 6:07 PM, wrote: >      Please use this code on different non MS-Windows platforms: > >            proc main( noAlias ) >               local iface >               ? os(), version() >               ? "interfaces:" >               for each iface in hb_inetIfInfo( !empty( no

Re: [Harbour] hb* scripts and MT in Win

2010-02-12 Thread Lorenzo Fiorini
2010/2/12 Przemysław Czerpak : > DLLs does not have to use any explicit references to HVM library and > they do not have to be linked with harbour*.dll at all, i.e. they can > use hbmaindll. Sorry I can't understand. If I take out -lharbourmt from: hb-mkslib $(DYN_NAME) $(LIB_NAME) libsys.a libx

[Harbour] Re: MT app works under Linux but fails under Win

2010-02-12 Thread Lorenzo Fiorini
On Thu, Feb 11, 2010 at 5:20 PM, Lorenzo Fiorini wrote: > Any idea? SOLVED, the problem is that EVERY single dll need to be rebuilt with harbourmt.dll, so in practise if you have both MT and ST apps you need to create two sets of dlls. best regards, Lore

[Harbour] hb* scripts and MT in Win

2010-02-12 Thread Lorenzo Fiorini
While in Linux you can have easily have MT binaries and ST binaries that use the same set of dynamic libs in Win you need to always create two version of the dll one linked to harbour.dll and one to harbourmt.dll and then link to the final binary the correct one. I wonder if the all process could

[Harbour] MT app works under Linux but fails under Win

2010-02-11 Thread Lorenzo Fiorini
When I try to run an MT app that works perfectly under Linux I get the error below ( even with -g Harbour rebuild ). If I link against harbour.dll it works as expected. Win offers to send the error to MS and gives a long dump of info. Any idea? best regards, Lorenzo [New thread 2348.0xe40] war

Re: [Harbour] Are there MT issues in contrib/hbpgsql?

2010-02-04 Thread Lorenzo Fiorini
2010/2/3 Przemysław Czerpak : > See "MULTI THREAD SUPPORT" in doc/xhb-diff.txt. I documented shared > and inherited thread resources in Harbour. Many thanks it SOLVED it. The key part is: --- In practice the only one not synced automatically element in Harbour is write access to the same item w

Re: [Harbour] Are there MT issues in contrib/hbpgsql?

2010-02-03 Thread Lorenzo Fiorini
2010/2/3 Przemysław Czerpak : > No. By default all memvars (PUBLIC and PRIVATE) variables are separated > between threads and each threads starts with its own clean set of memvars. > If you want to change it then you can use thread attributes in > hb_threadStart() function. See hbthread.ch and cod

Re: [Harbour] Are there MT issues in contrib/hbpgsql?

2010-02-03 Thread Lorenzo Fiorini
2010/2/3 Przemysław Czerpak : > or simply migrate to static functions only. You can use I can do it since all the HRBs have the same func name and I can change it. Here is the final code: begin sequence with { |e| logerror( e, oResponse, cBinFile ) } if !empty( pHRB := hb_h

Re: [Harbour] Are there MT issues in contrib/hbpgsql?

2010-02-03 Thread Lorenzo Fiorini
2010/2/3 Przemysław Czerpak : > You are freeing directly or indirectly HRB module which is currently > executed. HRB modules are unloaded automatically when all references to > pHRB variable returned by hb_hrbLoad() are cleared. > Fix you code to keep HRB module alive as long as it is used. Here

Re: [Harbour] Are there MT issues in contrib/hbpgsql?

2010-02-03 Thread Lorenzo Fiorini
2010/2/2 Przemysław Czerpak : > If you want to see information about source file names and line numbers > then just like for GDB do not strip final binaries and compile Harbour > code with -g GCC flag. At last I got a bt (gdb) bt #0 0xb8096430 in __kernel_vsyscall () #1 0xb7a446d0 in raise ()

Re: [Harbour] Are there MT issues in contrib/hbpgsql?

2010-02-03 Thread Lorenzo Fiorini
2010/2/2 Przemysław Czerpak : > If you want to see information about source file names and line numbers > then just like for GDB do not strip final binaries and compile Harbour > code with -g GCC flag. Sorry probably I miss sth. I've rebuilt Harbour ( 13750 ) with -g and I did a make clean make

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

2010-02-02 Thread Lorenzo Fiorini
On Tue, Feb 2, 2010 at 9:46 PM, wrote: >  * contrib/hbpgsql/postgres.c > ... >    ; TODO: Fix sloppy parameter checking which only check number of >            parameters instead of enforcing expected type. >    ; Please test. Many thanks, I'll test it tomorrow. best regards, Lorenzo _

Re: [Harbour] Are there MT issues in contrib/hbpgsql?

2010-02-02 Thread Lorenzo Fiorini
On Tue, Feb 2, 2010 at 7:25 PM, Viktor Szakáts wrote: > Ops, I've already started it. No problem, you can surely do it better. Many thanks. best regards, Lorenzo ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http:

Re: [Harbour] Are there MT issues in contrib/hbpgsql?

2010-02-02 Thread Lorenzo Fiorini
2010/2/2 Przemysław Czerpak : > Add Harbour wrapper to function which returns thread safe status > and check it. And of course check if you are using new separate > concatenation in each thread in your own code. Ok, I'll check it. > BTW someone should update contrib/hbpgsql/postgres.c to use > G

Re: [Harbour] Are there MT issues in contrib/hbpgsql?

2010-02-02 Thread Lorenzo Fiorini
2010/2/2 Przemysław Czerpak : > Check if libpq is fully MT safe. Thanks for the answer. This is what I've found in http://www.enterprisedb.com/documentation/libpq-concepts.html: ... 29.4.16. Behavior in Threaded Programs libpq is reentrant and thread-safe if the configure command-line option -

[Harbour] Are there MT issues in contrib/hbpgsql?

2010-02-01 Thread Lorenzo Fiorini
Continuing in my MT path this is what I get from code that work since years ST: double free or corruption (!prev): 0x0a05bd48 *** === Backtrace: = /lib/tls/i686/cmov/libc.so.6[0xb7a89604] /lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb7a8b5b6] /usr/lib/libpq.so.5(PQclear+0x30)[0xb7b88420]

[Harbour] Help with segfaults with MT and hb_hrbload

2010-02-01 Thread Lorenzo Fiorini
I'm trying to move an ST http embedded server to MT. The ST version work since years and it mainly load and execute HRBs. The problem began if I ask for a multiple request. What I mean is that: ab -n30 -c1 http://localhost:8089/test.hrb OK ab -n30 -c2 http://localhost:8089/test.hrb ERRORS like:

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

2010-01-31 Thread Lorenzo Fiorini
On Sun, Jan 31, 2010 at 6:22 PM, Pritpal Bedi wrote: > Can you show me hb_out.log of hbIDE on *nixes ? I don't see any hb_out.log now. If you mean the stderr output, here is what I get from ./hbide 2> hbide.log, simply starting and closing it. best regards, Lorenzo idemisc.prg:843:HBIDE_DBG():

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

2010-01-31 Thread Lorenzo Fiorini
On Sun, Jan 31, 2010 at 6:04 PM, Pritpal Bedi wrote: > Can you change line #133 of idedocks.prg as > >   ::oDlg:qtObject := HbQtUI():new( ::resPath + "mainWindow.ui" ) > => >   ::oDlg:qtObject := HbQtUI():new( ::resPath + "mainwindow.ui" ) > > See the difference, "W" => "w". > Probably this shoul

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

2010-01-31 Thread Lorenzo Fiorini
On Sun, Jan 31, 2010 at 4:26 PM, Pritpal Bedi wrote: > Can you try after r13739 ? Sorry I didn't mention I was using 13739 best regards, Lorenzo ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-pr

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

2010-01-31 Thread Lorenzo Fiorini
On Sun, Jan 31, 2010 at 4:21 AM, wrote: > >      ;NOTE : Regression is possible. Please report any issues. I've done a clean Harbour on Ubuntu 9.04. demoqt and demoxbp seem to work but hbide gives at start: Error BASE/1004 No exported method: SETMOUSETRACKING Called from SETMOUSETRACKING(0) Ca

Re: [Harbour] Re: hbpqtui class

2010-01-27 Thread Lorenzo Fiorini
On Wed, Jan 27, 2010 at 5:55 PM, Angel Pais wrote: > A compiler without a GUI Framework leads it to nitche apps: Servers, console > and cgi apps. > A GUI Framework without compiler leads it to death because lack of support. > If you do that then no new users will come here. I'm not saying Harbou

Re: [Harbour] Re: hbpqtui class

2010-01-27 Thread Lorenzo Fiorini
On Wed, Jan 27, 2010 at 5:08 PM, Viktor Szakáts wrote: > I also think this community did it's job to help bring HBQT > + parts to a nice, usable level now, and it can perfectly > stand on its own. > > I'm glad to hear opinions on how to solve these in other ways. IMHO HBQT+HBXBP+HBIDE need to be

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

2010-01-21 Thread Lorenzo Fiorini
2010/1/21 Przemysław Czerpak : > No, but please remember that in the future we add strong typing. > If you will want to enable type protection in your code then you > will have to precisely declare parameters with type in your class > definition so it's possible that you will make reverted modific

[Harbour] Box chars in Harbour debug UI

2010-01-21 Thread Lorenzo Fiorini
Today I had to use debug in a gtxwc app and I've found that boxes are painted using the app CP chars. My setup is: ... REQUEST HB_CODEPAGE_ITWIN SET( _SET_CODEPAGE, "ITWIN" ) HB_SETTERMCP( "ITWIN", "ITWIN", FALSE ) ... I've read about HB_GTI_BOXCP in the ChangeLog and the setup seems co

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

2010-01-17 Thread Lorenzo Fiorini
On Sun, Jan 17, 2010 at 8:11 AM, wrote: >      demoQT and demoXBP now consume very less memory when new >      dialogs are opened. It means memory management has >      improved with this commit. Anyhow still I can see >      memory growing specially in browser navigation. As I >      remember s

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

2010-01-14 Thread Lorenzo Fiorini
On Thu, Jan 14, 2010 at 10:11 AM, wrote: >    * enable strict parameters validation only when method is declared >      with (), i.e.: >         method open >      does not force any parameter validation so it can be implemented I plan to change all my classes to this "standard": no parameters

Re: [Harbour] Re: error LNK2001: unresolved external symbol_HB_FUN_HB_SETCODEPAGE

2010-01-14 Thread Lorenzo Fiorini
On Thu, Jan 14, 2010 at 2:47 PM, Itamar Lins wrote: > I change. > HB_SETCODEPAGE([PTISO]) -> hb_CdpSelect([PTISO]) > No error from Changelog: ... 2009-11-29 07:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/cdpapi.c * HB_SETCODEPAGE() guarded as HB_LEGACY_LEVEL2 which means

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

2010-01-13 Thread Lorenzo Fiorini
On Thu, Jan 14, 2010 at 1:45 AM, wrote: >      HB_CLS_PARAMS_ERR as default will exploit a lot of similar problems in >      user code so I would like the hear other developers' opinions about it. I would activate it, developers that don't have the time to fix the code can use 2.0. best regard

[Harbour] Can I combine itwin+dewin+eswin+frwin?

2010-01-08 Thread Lorenzo Fiorini
My aim is to have a codepage that allow to exchange dbfs created using the 4 languages ( and possibly others "compatible" like pt ) without indexing. BTW I see that there is no cpptwin.c while there is cpptiso.c is there any reason? Any comment? best regards, Lorenzo

[Harbour] runtime error and segfault in demoxbp

2010-01-06 Thread Lorenzo Fiorini
Just a report, probably it has a known issue. To reproduce: - click on the browse - using mouse wheel or down arrow try to go past the last row - you'll get a runtime error message - click ok - the segfault Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6c87710 (LWP

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

2010-01-06 Thread Lorenzo Fiorini
On Wed, Jan 6, 2010 at 5:16 PM, wrote: >  * harbour/contrib/hbnetio/netio.h >  * harbour/contrib/hbnetio/netiocli.c >  * harbour/contrib/hbnetio/netiosrv.c >    + implemented RPC in HBNETIO protocol > ... >   Have a fun with a new toy. I hope that many Harbour user will find it >   very intere

Re: [Harbour] demoqt hb_xgrab requested to allocate zero bytes

2010-01-06 Thread Lorenzo Fiorini
On Wed, Jan 6, 2010 at 1:41 PM, Bisz István wrote: > Solved with: > > hbmk2 -nohbcppmm demoqt ... > hbmk2 -nohbcppmm demoxbp ... > > for hbide the -nohbcppmm switch is unfortunately ineffective here, the > hbcppmm is generated and linked to hbide. Many thanks István. best regards, Lorenzo _

[Harbour] demoqt hb_xgrab requested to allocate zero bytes

2010-01-06 Thread Lorenzo Fiorini
Ubuntu 9.10 32bit ChangeLog 13488 Application Internal Error - /harbour_trunk/contrib/hbqt/tests/demoqt Terminated at: 2010.01.06 10:16:07 Unrecoverable error 9023: hb_xgrab requested to allocate zero bytes Called from QT_QLIN

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

2010-01-04 Thread Lorenzo Fiorini
On Mon, Jan 4, 2010 at 6:21 PM, Vailton Renato wrote: > Thank you! I have noted your precious tips and am aware and I intend > to use this "power" with "great responsibility" and to help whenever > it is within my reach. Welcome on board. best regards, Lorenzo __

[Harbour] paste euro symbol and accented with putty and gttrm

2010-01-04 Thread Lorenzo Fiorini
Under Win XP if I copy a text from a web page with german chars and the euro symbol and I paste it into the memoedit of test/tstmemo.prg that runs on linux instance connected with putty I don't get the correct text while if I paste it to the bash prompt I get all the chars. Note that if I type the

Re: [Harbour] Euro symbol support with xxiso codepages

2010-01-04 Thread Lorenzo Fiorini
2010/1/4 Przemysław Czerpak : > Try GTXWC from current SVN: >   2010-01-04 13:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > > It should work with CPs having euro sign on different position, i.e. > with modified ITISO using ISO-8859-15 or ISO-8859-16. Many thanks, it works. I've chang

Re: [Harbour] Euro symbol support with xxiso codepages

2010-01-04 Thread Lorenzo Fiorini
2010/1/4 Przemysław Czerpak : > Lorenzo, 0x80 is not correct position for euro sign in any ISO CPs. > None of ISO CPs contains characters in range 0x80 - 0x9F. These are > control codes in many hardware devices so such range is excluded. ... > important thing is using correct values for different

Re: [Harbour] observation about 9.1 ubuntu Package

2010-01-03 Thread Lorenzo Fiorini
On Sun, Jan 3, 2010 at 5:26 PM, Bruno Luciani wrote: > And what do you mean About Real developers ? > > If you like I don't help anymore Please don't take it personally, what I meant was simply that, as said in another thread, packaging is a complex issue and here we have developers like Przemys

Re: [Harbour] observation about 9.1 ubuntu Package

2010-01-03 Thread Lorenzo Fiorini
On Sun, Jan 3, 2010 at 4:24 PM, Viktor Szakáts wrote: > Anyone can change it, but before we do so, > it would be good to see why it is setup > the way it is now :) /usr should be used only by packages since they know how to clean and how to manage conflicts. make install MUST go elsewhere like

Re: [Harbour] Euro symbol support with xxiso codepages

2010-01-01 Thread Lorenzo Fiorini
2009/12/31 Przemysław Czerpak : > In Windows CP-125[02345678], IBM CP-874 and our modified ISO-8859-1B > it's at possition 128 so if you use one of the above CPs then: >   ? CHR( 128 ) > should show euro sign. After many tests with postgresql, mysql, pdf, rtf, xls it seems that ITWIN is the best

Re: [Harbour] HAPPY NEW YEAR !!!

2009-12-31 Thread Lorenzo Fiorini
2009/12/31 Przemysław Czerpak : > I want to wish all of you HAPPY NEW YEAR !!! An happy 2010 to everybody. best regards, Lorenzo ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman

Re: [Harbour] Euro symbol support with xxiso codepages

2009-12-31 Thread Lorenzo Fiorini
2009/12/31 Przemysław Czerpak : > Euro sign has unicode value: U+20AC > ... > Without knowledge > what _exactly_ you have modified in Harbour what _exactly_ you set > as HVM and GT CPs in your programs and how it's configured your system > (used locale) I cannot give you precise answer what has ha

[Harbour] Euro symbol support with xxiso codepages

2009-12-30 Thread Lorenzo Fiorini
I'm moving from ITISB to ITISO to support West European languages and I'm trying to get Euro symbol working on screen, in reports and in file exports. Euro symbol is seldom used but it is on the keyboards so users expect to get it. I've done few tests changing gtxwc encoding and cpitiso.c to 8859-

Re: [Harbour] Mary Christmas

2009-12-24 Thread Lorenzo Fiorini
2009/12/24 Przemysław Czerpak : > I would like to wish all of you Mary Christmas !!! My best wishes to you and many thanks for your great work. Merry Christmas to all. best regards, Lorenzo ___ Harbour mailing list (attachment size limit: 40KB) Harbou

[Harbour] Can we have a single iso88591 codepage?

2009-12-22 Thread Lorenzo Fiorini
I'm doing some tests to support customer names and item descriptions in dbfs using several iso-8859-1 languages. The dbfs will be uploaded to a postgresql database which will be created as LATIN1 ( iso88591 ). I wonder if I can use set any ??ISO codepage that use uc88591 table. What I'm trying to

[Harbour] How to get a warning for duplicate functions using shared libs

2009-12-22 Thread Lorenzo Fiorini
How can I get a warning or an error if I'm using a function name that is used in Harbour, with gcc/mingw? Surely there is a simple parameter of gcc or ld but after a lot of google I can't find it. Any suggestion? best regards, Lorenzo ___ Harbour mailin

Re: [Harbour] Tagging 2.0.0: Tomorrow

2009-12-21 Thread Lorenzo Fiorini
On Mon, Dec 21, 2009 at 9:29 AM, Viktor Szakáts wrote: > Pls commit if there is anything pending, and pls > start making test builds on various platforms, so > that we can issue essential build fixes if/where > required. I've just finished to sync svn with my local trees and I've rebuilt my apps

Re: [Harbour] hbpgsql --enable-auto-import issue

2009-12-20 Thread Lorenzo Fiorini
2009/12/20 Przemysław Czerpak : > Your postgresql dynamic library has been compiled without even single > exported symbol. In such case (nothing is exported) MinGW decides that > it was programmer mistake and activates "online" exporting of all public > symbols in the library (auto-import option).

Re: [Harbour] hbpgsql --enable-auto-import issue

2009-12-20 Thread Lorenzo Fiorini
On Sun, Dec 20, 2009 at 11:31 AM, Viktor Szakáts wrote: > I'm not getting it when building test.prg from SVN. > All I did was regenerating liblibpq.a with hb-mkimp.bat. > > I'm not sure what the problem is, but I've never so far > seen a case when --enable-auto-import would have been > needed. To

[Harbour] hbpgsql --enable-auto-import issue

2009-12-20 Thread Lorenzo Fiorini
Creating my apps under Win using mingw/msys and postgresql 8.4.2 I get: Info: resolving _PQisnonblocking by linking to __imp__PQisnonblocking (auto-import) c:/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import

  1   2   3   4   5   6   7   8   9   >