Re: [xHarbour-developers] HB_NO_BACKGROUND

2013-05-28 Thread Vicente Guerra
On Tue, 28 May 2013, Vicente Guerra wrote: > On Tue, 28 May 2013, Enrico Maria Giordano wrote: >> in the .BAT files and in readme.txt. In hvm.c there is something like >> >> #if !defined( HB_THREAD_SUPPORT ) && !defined( HB_NO_BACKGROUND ) > > Th

Re: [xHarbour-developers] HB_NO_BACKGROUND

2013-05-28 Thread Vicente Guerra
On Tue, 28 May 2013, Enrico Maria Giordano wrote: > in the .BAT files and in readme.txt. In hvm.c there is something like > > #if !defined( HB_THREAD_SUPPORT ) && !defined( HB_NO_BACKGROUND ) That means: SET CLIBFLAGS=-DNODLL -DHB_NO_BACKGROUND Atte. Vic --

[xHarbour-developers] ChangeLog: 2013-02-24 09:19 UTC-0600 Vicente Guerra

2013-02-24 Thread Vicente Guerra
2013-02-24 09:19 UTC-0600 Vicente Guerra * include/hbvmpub.h ! Fixed typo. * source/odbc/todbc.prg ! Don't continue ::Open() when SQLExecDir() have error. Atte. Vic -- Everyone hates slow website

[xHarbour-developers] ChangeLog: 2013-02-16 21:37 UTC-0600 Vicente Guerra

2013-02-16 Thread Vicente Guerra
2013-02-16 21:37 UTC-0600 Vicente Guerra * winmake/makefile.pc ! Added missing ACE_DLL and ACE_LIB declarations. Atte. Vic -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your

Re: [xHarbour-developers] Errors building xHarbour with Pelles C

2012-10-14 Thread Vicente Guerra
On Mon, 15 Oct 2012, Andi Jahja wrote: > On Sun, 14 Oct 2012 19:50:38 -0500 (CDT) > Vicente Guerra wrote: >> POLINK: error: Unresolved external symbol '__InterlockedCompareExchange'. >> POLINK: fatal error: 1 unresolved external(s). > Sorry, I was blindly guessing

[xHarbour-developers] Errors building xHarbour with Pelles C

2012-10-14 Thread Vicente Guerra
POCC /D"HB_VM_ALL" /D"HB_FM_DL_ALLOC" /Ze /Zx /Tx86-coff /Go /I"include" /I"C:\L\PellesC\include" /I"C:\L\PellesC\include\win" /I"obj\pc" /I"source\rtl\zlib" /I"contrib\png" /I"contrib\pdflite\include" /I"contrib\tiff" /I"contrib\jpeg" /D"NEED_DUMMY_RETURN" /D"__WIN32__" /D"NULL=0" /

Re: [xHarbour-developers] Error building library

2012-10-13 Thread Vicente Guerra
On Fri, 12 Oct 2012, Andi Jahja wrote: > Thanks for the report. > IMO, it has just been fixed now. Thank you! Atte. Vic -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app p

[xHarbour-developers] Error building library

2012-10-07 Thread Vicente Guerra
POLINK /OUT:bin\pc\hbtestmt.exe obj\pc\hbtest.obj ... obj\pc\rt_ccall.obj /LIBPATH:lib\pc /LIBPATH:"C:\L\PellesC\LIB" /LIBPATH:"C:\L\PellesC\LIB\WIN" /MACHINE:X86 /SUBSYSTEM:CONSOLE ... lib\pc\ct.lib lib\pc\zlib.lib POLINK: error: Unresolved external symbol '__InterlockedCompareExchange'.

Re: [xHarbour-developers] problem in inet.c in HB_FUNC( INETSERVER )

2012-03-09 Thread Vicente Guerra
On Fri, 9 Mar 2012, Ella Stern wrote: > There is a problem in the source code of the InetServer(...) fucntion - in > /vm/inet.c > IMHO the function has four input parameters, as described in the xHarbour > documentation. > At present the source code is handling three input parameters, but the > SEC

[xHarbour-developers] Error building gzlib .

2012-02-15 Thread Vicente Guerra
Hi! I getting the following error message building xHarbour: ERROR: __MSC__ is not defined CL -MT -TP -DHAVE_CONFIG_H -c -Otyb1 -GA -Gs -W3 -nologo -Iinclude -Iobj\vc -I"D:\Microsoft Visual Studio 9.0\vc\include" -Foobj\vc\gzread.obj source\rtl\zlib\gzread.c gzread.c source\rtl\zlib\g

Re: [xHarbour-developers] Subclassing DESTRUCTOR

2012-02-07 Thread Vicente Guerra
On Mon, 6 Feb 2012, Ron Pinkas wrote: > :::Super:__Destructor() Thank you! Atte. Vic -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is j

[xHarbour-developers] Subclassing DESTRUCTOR

2012-02-03 Thread Vicente Guerra
Hi! Is it possible to call a ::Super:Destructor() method? I want to extend a class, but I need to extend DESTRUCTOR too. Thanks in advance. Atte. Vic PROCEDURE MAIN LOCAL x ? "Creating object..." x := MyClass2():New() ? "Destroying..." x := nil ? "End" RETURN #include "hb

[xHarbour-developers] Question about WinCE

2011-12-26 Thread Vicente Guerra
Hi! Has anyone build an xHarbour application for WinCE? I was looking about WinCE compilation, but looks like it's not finished/implemented yet. Atte. Vic -- Write once. Port to many. Get the SDK and tools to simplify

Re: [xHarbour-developers] MESSAGE bug ?

2011-06-10 Thread Vicente Guerra
On Fri, 10 Jun 2011, Eduardo Fernandes wrote: > The Value() method declared with inline > statement is not recognized by xHarbour when > called via message. > > METHOD Value() INLINE ::nVal > MESSAGE Result METHOD Value MESSAGE command is a preprocessor's shortcut instead of an internal functional

[xHarbour-developers] ChangeLog: 2011-04-27 20:14 UTC-0500 Vicente Guerra

2011-04-27 Thread Vicente Guerra
2011-04-27 20:14 UTC-0500 Vicente Guerra * include/Makefile ! Added missing hbzlib.h file. Atte. Vic -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost

[xHarbour-developers] ChangeLog: 2011-03-10 13:27 UTC-0600 Vicente Guerra

2011-03-10 Thread Vicente Guerra
2011-03-10 13:27 UTC-0600 Vicente Guerra ! Rearranged compilation files to create "harbour" executable file. Atte. Vic -- Colocation vs. Managed Hosting A question and answer guide to determinin

Re: [xHarbour-developers] ChangeLog: 2011-03-10 07:00 UTC+0700 Andi Jahja

2011-03-09 Thread Vicente Guerra
Thank you, Andi. It compiles harboury.c . But now, executable "harbour" is missing. It's only a "hbmain" executable file. Atte. Vic On Thu, 10 Mar 2011, Andi Jahja wrote: > 2011-03-10 07:00 UTC+0700 Andi Jahja > - source/compiler/harboury.c > + source/compiler/harboury.yyc > - source/comp

Re: [xHarbour-developers] Error compiling on Linux

2011-03-09 Thread Vicente Guerra
On Wed, 9 Mar 2011, Luiz Rafael Culik Guimaraes wrote: > i compiled with our problem > just erase harboury.c harboury.c macroy.c macroy.h and then run build process Thank you, Luiz. Andi has renamed them. Atte. Vic --

Re: [xHarbour-developers] Error compiling on Linux

2011-03-09 Thread Vicente Guerra
Thanks for your answer. On Thu, 10 Mar 2011, Andi Jahja wrote: >> gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W >> -DSIMPLEX -c ../../harboury.c harboury.c -oharboury.o harboury.o > The command line is obviously incorrect. > It should (flags removed): > gcc -o harboury.o ha

[xHarbour-developers] Error compiling on Linux

2011-03-09 Thread Vicente Guerra
Hi! I tried to compile latest xHarbour's CVS under Linux, but I got the following error messages: make[3]: Entering directory `/Datos/home/vic/svn/xharbour/source/compiler/linux/gcc' bison -d -oharboury.c ../../harbour.sly ../../harbour.sly:390.14-76: warning: unused value: $3 ../../

Re: [xHarbour-developers] MEMIO

2011-02-20 Thread Vicente Guerra
On Sun, 20 Feb 2011, Andi Jahja wrote: > On Thu, 17 Feb 2011 14:15:18 -0600 (CST) > Vicente Guerra wrote: >> Once again, "What is a BASIC application?". >> According to your sample, you can move to contrib/ >> all Windows-specific functions, included DLL an

Re: [xHarbour-developers] ChangeLog: 2011-02-20 16:05 UTC+0700 Andi Jahja

2011-02-20 Thread Vicente Guerra
On Sun, 20 Feb 2011, Andi Jahja wrote: > 2011-02-20 16:05 UTC+0700 Andi Jahja > + source/ct > + source/cgi > + source/misc > + source/odbc > + source/tip > - contrib/ct > - contrib/cgi > - contrib/misc > - contrib/odbc > - contrib/tip >! previous reclassification was considered wrong

Re: [xHarbour-developers] MEMIO

2011-02-17 Thread Vicente Guerra
Hi, Andi! First at all, I must say it is a hard topic, and there will be many points of view about it. On Thu, 17 Feb 2011, Andi Jahja wrote: > Let us reach a point : > "What Are Core Libraries" > I'd say: > "Core libraries are libraries which are required to build a basic >xHarb

Re: [xHarbour-developers] posible bug at __dbsort

2011-02-17 Thread Vicente Guerra
On Thu, 17 Feb 2011, Miguel Angel Marchuet Frutos wrote: > I change this lines to solve the problem at hbdbsort.c,clipper may work in > this way, but I think it's a bug that should be corrected If Clipper works in "bug mode", fixing it would cause index corruption on shared environments.

Re: [xHarbour-developers] CVS to SVN

2011-02-05 Thread Vicente Guerra
On Sat, 5 Feb 2011, Andi Jahja wrote: > OK, since according to SourceForge CVS is about to die, and no response > so far from Ron or others, I have taken the opportunity to migrate > xHarbour-repo to SVN, and it is going on. I will announce to the list > and newsgroup as well when I have finished m

[xHarbour-developers] CVS to SVN

2011-01-31 Thread Vicente Guerra
Hi! Ron, due to recent SourceForge.net's attack, it's on their page: http://sourceforge.net/blog/ CVS CVS service is one of SourceForge.net.s oldest services and, due to limitations in CVS itself, cannot readily live on our scalable network storage solution. Validation of this data i

Re: [xHarbour-developers] Is CVS down?

2011-01-27 Thread Vicente Guerra
On Thu, 27 Jan 2011, Luis Krause Mantilla wrote: > I've been trying all day to commit to CVS but I keep getting this > (even before I'm asked for the pwd): > > Did something change or is it a problem wiht Sourceforge? http://sourceforge.net/apps/wordpress/sourceforge/ Atte. Vic ---

[xHarbour-developers] ChangeLog: 2011-01-25 12:54 UTC-0600 Vicente Guerra

2011-01-25 Thread Vicente Guerra
2011-01-25 12:54 UTC-0600 Vicente Guerra * source/compiler/Makefile * Added missing gencc1.c . * source/rtl/pcre/Makefile * Added missing -DHAVE_CONFIG_H . * Removed file pcre_ucp_searchfuncs.c . * source/rtl/tbrowse.prg * Removed ::lNewRow property. Atte. Vic

[xHarbour-developers] Remove ::lNewRow at tbrowse.prg

2011-01-24 Thread Vicente Guerra
Hi! In TBROWSE.PRG, there's a HIDDEN property named ::lNewRow for TDataCache() class. IMHO, it must be removed: 1) ::lNewRow uses EOF() function to work. TBrowse shall not be aware about any kind of data source. 2) Since EOF() doesn't have any alias assignment, it would pro

Re: [xHarbour-developers] How to create a instance of a class using C code

2010-12-08 Thread Vicente Guerra
You can call "MYCLASS" from C code, and return value is a new object. Atte. Vic On Wed, 8 Dec 2010, Marcos Gambeta wrote: > Hi all, > > I have the following "puzzle" to solve: > > 1. I have a class: > > prog1.prg > > #include "hbclass.ch" > CLASS myClass >DATA value >METHOD new > E

[xHarbour-developers] Character order on CODEPAGE

2010-11-10 Thread Vicente Guerra
Hi! The following code sorts an "A", an "OEM Á" (accented "A"), and a "B" on a single table. Using ES850, it sorts "A", "Á", and "B". Using SK852, it sorts "Á", "A" and "B" (accented "Á" becomes first). Is it the spected behaviour? Thanks in advance. Atte. Vic REQUEST HB_CODE

Re: [xHarbour-developers] Bug in APPEND FROM SDF

2010-11-08 Thread Vicente Guerra
Enrico, you got a Magic Number! :) If you change your record size (other than 199 with your TEST.TXT file), it will works. On Mon, 8 Nov 2010, Enrico Maria Giordano wrote: >>It works well on Linux. >> Your sample doesn't have any CHR(13) at EOL. > I see each line terminated by CHR(13) +

[xHarbour-developers] ChangeLog: 2010-11-08 19:02 UTC-0600 Vicente Guerra

2010-11-08 Thread Vicente Guerra
2010-11-08 19:02 UTC-0600 Vicente Guerra * source/rdd/sdf1.c ! Fixed wrong asumption of EOF. Atte. Vic -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author o

Re: [xHarbour-developers] Bug in APPEND FROM SDF

2010-11-08 Thread Vicente Guerra
On Sat, 6 Nov 2010, Enrico Maria Giordano wrote: > The following sample shows the problem: > [...] > It fails to import the attached file > (ie. it only imports part of the file). It works well on Linux. Your sample doesn't have any CHR(13) at EOL. Atte. Vic ---

Re: [xHarbour-developers] How about removing DBI_PASSWORD limitation regarding DBF with memo fields?

2010-11-07 Thread Vicente Guerra
On Mon, 8 Nov 2010, Enrico Maria Giordano wrote: > Let's rethink about this: why we should introduce this new setting? Currently > a DBF with memo fields is not encrypted at all. If one doesn't want to > encrypt a DBF just don't use DBI_PASSWORD, what's the problem? But if one > wants encrypted

Re: [xHarbour-developers] How about removing DBI_PASSWORD limitation regarding DBF with memo fields?

2010-11-07 Thread Vicente Guerra
On Sat, 6 Nov 2010, Enrico Maria Giordano wrote: >> And... what about a "new" setting? >> "!pArea->fHasMemo || !s_Memo_Limited" > It might be a good idea but then I would not be able to do the required > changes, I'm afraid. You could try it on a new function (HB_SETMEMOPASSWORDLIMIT

Re: [xHarbour-developers] How about removing DBI_PASSWORD limitation regarding DBF with memo fields?

2010-11-05 Thread Vicente Guerra
On Fri, 5 Nov 2010, Enrico Maria Giordano wrote: > Dear friends, I would like to remove the limitation that prevents DBF with > memo fields to be encrypted using DBI_PASSWORD. This is what Przemek wrote > some time ago: >> It is possible. You only have to remove from src/rdd/dbf1.c code >> which bl

[xHarbour-developers] ChangeLog: 2010-10-18 00:14 UTC-0500 Vicente Guerra

2010-10-17 Thread Vicente Guerra
2010-10-18 00:14 UTC-0500 Vicente Guerra * source/rtl/hbffind.c * Added "L" attribute (under LINUX) to symlynk files on DIRECTORY() function (it's overriden with destination file's attri

Re: [xHarbour-developers] Build for PellesC

2010-09-26 Thread Vicente Guerra
On Sun, 26 Sep 2010, Patrick Mast, xHarbour. wrote: Is someone able to build latest CVS with any version of PellesC. If so, which version does work for you? I tried version 4,5 and 6 and no luck so far.     I did a CLEAN build with 4.5 . Thanks! When I tried with 4.5, I get this error: POLINK /

Re: [xHarbour-developers] Build for PellesC

2010-09-25 Thread Vicente Guerra
On Sat, 25 Sep 2010, Patrick Mast, xHarbour. wrote: > Is someone able to build latest CVS with any version of PellesC. If > so, which version does work for you? > I tried version 4,5 and 6 and no luck so far. I did a CLEAN build with 4.5 . Atte. Vic ---

Re: [xHarbour-developers] ChangeLog: 2010-08-12 08:40 UTC+0700 Andi Jahja

2010-08-17 Thread Vicente Guerra
On Tue, 17 Aug 2010, Andi Jahja wrote: > Try to add the following to compiler flags. > CFLAGS=$(CFLAGS) -D"HAVE_STDINT_H=0" -D"HAVE_INTTYPES_H=0" pcre_internal.c has this code: #if HAVE_STDINT_H #include #elif HAVE_INTTYPES_H #include #endif HAVE_STDINT_H will be defined, anyway...

Re: [xHarbour-developers] 'stdint.h': No such file or directory

2010-08-12 Thread Vicente Guerra
On Fri, 13 Aug 2010, Patrick Mast, xHarbour. wrote:     I got this error using Visual Studio 2008. It doesn't have stdint.h or inttypes.h . Neither Borland 5.5 do. I still hadn't checked about Pelles 4.5 . PellesC has it here: C:\Program Files\PellesC\Include\stdint.h Thank you for the inf

[xHarbour-developers] 'stdint.h': No such file or directory

2010-08-12 Thread Vicente Guerra
Hi! Andi, I got this error using Visual Studio 2008. It doesn't have stdint.h or inttypes.h . Neither Borland 5.5 do. I still hadn't checked about Pelles 4.5 . Atte. Vic -- This SF.net email is sponsore

Re: [xHarbour-developers] hb_fileExists() at HB_FILE_FUNCS table

2010-05-26 Thread Vicente Guerra
determine File(...), it works on mem: or rem: and REDBFCDX El 26/11/2009 4:50, Vicente Guerra escribió: Hi! Miguel, On HB_FILE_FUNCS table, there's an item called "Exists", for determine if a file is on the PATH list. In regular filesystem, this function calls

Re: [xHarbour-developers] ChangeLog,v 1.6708 2010/05/11

2010-05-11 Thread Vicente Guerra
On Tue, 11 May 2010, Luiz Rafael Culik Guimaraes wrote: > O codigo abaixo mostra um bug no achoice > [...] > compile e aperte a tecla home > apos aperte a end, e em seguida a home Please try with latest commit. Atte. Vic

[xHarbour-developers] ChangeLog: 2010-05-12 01:03 UTC-0500 Vicente Guerra

2010-05-11 Thread Vicente Guerra
2010-05-12 01:03 UTC-0500 Vicente Guerra * source/rtl/achoice.prg ! Fixed HOME key processing. Atte. Vic -- ___ xHarbour-developers mailing list xHarbour-developers

[xHarbour-developers] ChangeLog: 2010-03-08 19:28 UTC-0600 Vicente Guerra

2010-03-08 Thread Vicente Guerra
2010-03-08 19:28 UTC-0600 Vicente Guerra * utils/hbfilere/hbfilere.c ! Added "const unsigned char sockaddr_size[AF_MAX];" declaration for Pelles C 6.00 and up. Atte. Vic -- Download Intel

Re: [xHarbour-developers] IN operator

2010-03-02 Thread Vicente Guerra
On Tue, 2 Mar 2010, Eduardo Fernandes wrote: > The IN operator doesn't work on VALID clause. > Local cVar := " " > @ 10,10 SAY "Confirm ?" GET cVar PICT "!" VALID cVar IN "YN" > READ > Error E0030 Syntax error: "syntax error at '@'" @ 10,10 SAY "Confirm ?" GET cVar PICT "!" VALID ( cVar IN "YN"

[xHarbour-developers] ChangeLog: 2010-01-21 02:24 UTC-0600 Vicente Guerra

2010-01-21 Thread Vicente Guerra
2010-01-21 02:24 UTC-0600 Vicente Guerra * bin/hb-func.sh ! Fixed GT assignment. * include/Makefile ! Added missing pragma.h file. Atte. Vic -- Throughout its 18-year history, RSA Conference

[xHarbour-developers] hb_fileExists() at HB_FILE_FUNCS table

2009-11-25 Thread Vicente Guerra
Hi! Miguel, On HB_FILE_FUNCS table, there's an item called "Exists", for determine if a file is on the PATH list. In regular filesystem, this function calls hb_spFileExists(), but on NET files, it requires a rewritten function with the same purpose. My question is: should "Ex

[xHarbour-developers] ChangeLog: 2009-10-17 23:39 UTC-0500 Vicente Guerra

2009-10-17 Thread Vicente Guerra
2009-10-17 23:39 UTC-0500 Vicente Guerra * source/debug/tbrwtext.prg * Changed Text2Array() to fix line changes when EOL is CR+LF (hb_atokens() doesn't support delimiters with more than one character long). Atte.

Re: [xHarbour-developers] Debugger/hb_atokens() fails at EOL CR+LF

2009-10-17 Thread Vicente Guerra
On Sat, 17 Oct 2009, Ron Pinkas wrote: > Or add: > cString := StrTran( cString, CRLF, LF ) > Or switch to use HB_FReadLine() > Or, in my case I use: >ProcessTextFile( , , @Eval() ) > Which also supports: >ProcessTextFile( , , HB_ObjMsgPtr( , > "SomeMethod" ) ) > The function opens

[xHarbour-developers] ChangeLog: 2009-10-17 13:55 UTC-0500 Vicente Guerra

2009-10-17 Thread Vicente Guerra
2009-10-17 13:55 UTC-0500 Vicente Guerra * source/vm/runner.c ! Prevents GPF trap when HRB file contains unregistered symbols. Atte. Vic -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA

[xHarbour-developers] Debugger/hb_atokens() fails at EOL CR+LF

2009-10-17 Thread Vicente Guerra
Hi! Debugger fails to show a file with CR+LF as EOL. Under Windows, it shows CHR(10) at the beginning of the line (from line 2). Under Linux, it only shows first line. The problem occurs here: xharbour/source/debug/tbrwtext.prg, line 355 STATIC FUNCTION Text2Array( cString ) R

[xHarbour-developers] How to subclass a GT?

2009-10-14 Thread Vicente Guerra
Hi! How can I "subclass" a GT? I can't found how could be the right way :-( I did it: INIT PROCEDURE LOAD_OWNCGI HB_INLINE(){ PHB_GT_BASE curGT; hb_gtRegister( >Init ); // hb_gtLoad( "CGI", NULL ); // CGI already loaded. curGT = hb_gt_Base(); /

Re: [xHarbour-developers] ChangeLog: 2009-10-11 13:55 UTC-0500 VicenteGuerra

2009-10-12 Thread Vicente Guerra
Ron, On Mon, 12 Oct 2009, Ron Pinkas wrote: > Please forgive my curiosity, maybe we are on to something here. :-) > If you knew nothing about xHarbour, what would be your expectation when > overloading > $ > Which of the 2 arguments should be overloaded? We can make it a very hard i

Re: [xHarbour-developers] ChangeLog: 2009-10-11 13:55 UTC-0500 VicenteGuerra

2009-10-11 Thread Vicente Guerra
Ron, xharbour/tests/overload.prg works with current "$" behaviour... looks like it's not a bug... If both values besides "$" are operator-overloaded, "final programmer" can implement a verification on the executed side. Atte. Vic On Sun, 11 Oct 2009, Ron Pinkas wrote: > Thanks

Re: [xHarbour-developers] ChangeLog: 2009-10-11 13:55 UTC-0500 VicenteGuerra

2009-10-11 Thread Vicente Guerra
On Sun, 11 Oct 2009, Ron Pinkas wrote: > Many thanks. BTW, why Operator "$$" instead of Operator "$"? "$" is already for object $ any "$$" is now forany $ object Atte. Vic -- Come build with us! The

[xHarbour-developers] ChangeLog: 2009-10-11 13:55 UTC-0500 Vicente Guerra

2009-10-11 Thread Vicente Guerra
2009-10-11 13:55 UTC-0500 Vicente Guerra * include/classes.h * source/vm/classes.c * source/vm/hvm.c + "$$"/"contains" operator overload added. value $ object -> object:__opcontains( value ) This overloads "$" operator when object is the

Re: [xHarbour-developers] 2009-10-10 21:22 UTC-0430 Ron Pinkas

2009-10-11 Thread Vicente Guerra
On Sun, 11 Oct 2009, Patrick Mast, xHarbour. wrote:  * include/simplex.c    ! Fixed wrong rewinding in SimpLex_CheckWords() after (iPairToken) It's working now. Thanks! Atte. Vic-- Come build with us! The BlackBe

[xHarbour-developers] _GET against _GET_

2009-10-10 Thread Vicente Guerra
Hi! The following code produces compilation errors: PROCEDURE MAIN _GET := { 1, 2, 3 } ? _GET[ 2 ] ? _GET( "HI!" ) RETURN FUNCTION _GET( x ) RETURN LOWER( x ) IMHO, _GET is translated to _GET_ . Clipper allows _GET variable, but looks like there's any _GET() func

[xHarbour-developers] ChangeLog: 2009-10-08 01:34 UTC-0500 Vicente Guerra

2009-10-07 Thread Vicente Guerra
2009-10-08 01:34 UTC-0500 Vicente Guerra * source/rtl/filebuf.c * source/rtl/filenet.c - Removed definition of _HB_FILE and PHB_FILE (defined in hbapifs.h ). Atte. Vic -- Come build with us! The

Re: [xHarbour-developers] Fw: DTOC(DATE(),"YYYYMMDD")

2009-09-24 Thread Vicente Guerra
I agree. Atte. Vic On Thu, 24 Sep 2009, Ron Pinkas wrote: Any opinions? -- From: "Mario Simões Filho" Sent: Thursday, September 24, 2009 12:08 PM To: Subject: DTOC(DATE(),"MMDD") Dear Ron, I came across the need to "transform" a da

Re: [xHarbour-developers] ADEL's third parameter

2009-08-30 Thread Vicente Guerra
On Sun, 30 Aug 2009, Ron Pinkas wrote: > I already did :-), will commit shortly. Thank you! Atte. Vic -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report desi

Re: [xHarbour-developers] ADEL's third parameter

2009-08-30 Thread Vicente Guerra
On Sun, 30 Aug 2009, Ron Pinkas wrote: > Oops sorry, I didn't see the array does not have a 4th position. > I'll have to review. It's an easy thing. Must I fix it? Atte. Vic -- Let Crystal Reports handle the repor

Re: [xHarbour-developers] ADEL's third parameter

2009-08-30 Thread Vicente Guerra
On Sun, 30 Aug 2009, Ron Pinkas wrote: > Yes, *if* .T. It's trying to delete fourth item from three. Should array to be reduced, anyway? (there is not fourth item) Atte. Vic -- Let Crystal Reports handle the report

[xHarbour-developers] ADEL's third parameter

2009-08-30 Thread Vicente Guerra
Hi! ADEL( { 1, 2, 3 }, 4, .T. ) It reduces array size to 2. Is it correct? Atte. Vic -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, i

Re: [xHarbour-developers] 2009-08-27 20:53 UTC-0430 Ron Pinkas

2009-08-28 Thread Vicente Guerra
On Thu, 27 Aug 2009, Ron Pinkas wrote: > 2009-08-27 20:53 UTC-0430 Ron Pinkas > * source/rdd/dbcmd.c > * Hack to __DBCOPY() to explicitly prefix target file with the current > path > to to avoid inadvertent override of file in the SET PATH folder. Thank you! Atte. Vic ---

Re: [xHarbour-developers] COPY TO OutFile

2009-08-20 Thread Vicente Guerra
On Thu, 20 Aug 2009, Ella Stern wrote: > 5. here I have the followings: > - table1.dbf is created in .\MYAPP > - table2.dbf is in .\MYAPP\MYSUB as a result of overwriting the "old" > table2.dbf found in this subfolder ( the file header info shows when the > "old" file was created ) IMH

Re: [xHarbour-developers] Welcome Ella Stern

2009-08-15 Thread Vicente Guerra
On Sat, 15 Aug 2009, Patrick Mast, xHarbour. wrote: > Please welcome as our newest member, Ella Stern. Welcome, Ella! Atte. Vic -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial

[xHarbour-developers] (no subject)

2009-07-25 Thread Vicente Guerra
Hi! The following (wrong) code: PROCEDURE MAIN REPLACE ( aCampos[ J ] ) WITH VAL( aSub[ J + 3 ] ) RETURN reports the following error: xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6516) Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/ Compiling 'ER

[xHarbour-developers] ChangeLog: 2009-07-23 19:15 UTC-0500 Vicente Guerra

2009-07-23 Thread Vicente Guerra
2009-07-23 19:15 UTC-0500 Vicente Guerra * ./common.mak ! Fixed typo for Pelles C. Atte. Vic -- ___ xHarbour-developers mailing list xHarbour-developers

Re: [xHarbour-developers] XBSCRIPT: static declaration of 'HB_FUN_NEXTIDENTIFIER' follows non-static declaration

2009-05-04 Thread Vicente Guerra
On Tue, 5 May 2009, Andi Jahja wrote: > Should be fixed now. It's working now. Thanks! Atte. Vic -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not

Re: [xHarbour-developers] XBSCRIPT: static declaration of 'HB_FUN_NEXTIDENTIFIER' follows non-static declaration

2009-05-04 Thread Vicente Guerra
On Mon, 4 May 2009, Andi Jahja wrote: > Could you please try again with the latest patch? I tried to recompile and I got: ../../../../source/compiler/linux/gcc/harbour ../../cstruct.prg -n -q0 -w2 -es2 -gc0 -I../../ -I../../include -I../../../../include *** glibc detected *** ../../../../s

Re: [xHarbour-developers] GTSLN forced on Linux

2009-05-04 Thread Vicente Guerra
On Mon, 4 May 2009, Luiz Rafael Culik Guimaraes wrote: > here the default is gttrm. > what was the value os your HB_GT_LIB when you compile the binaries? Compilation shows: -DHB_GT_LIB=sln But it's supposed to be overridden with the -gt parameter. Atte. Vic

[xHarbour-developers] GTSLN forced on Linux

2009-05-03 Thread Vicente Guerra
Hi! Now, GTSLN is forced to be linked under Linux: $ /home/vicente/xharbour/bin/xhbmk -static -gtcgi aa -n xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6440) Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/ Compiling 'aa.prg'... Lines 6, Functions/Procedures

[xHarbour-developers] XBSCRIPT: static declaration of 'HB_FUN_NEXTIDENTIFIER' follows non-static declaration

2009-05-02 Thread Vicente Guerra
Hi! Under Linux "2.6.9-023stab044.3-enterprise #1 SMP", I'm getting the following message: ../../xbs_harb.ch:1890: error: static declaration of 'HB_FUN_NEXTIDENTIFIER' follows non-static declaration xbscript.c:1089: error: previous declaration of 'HB_FUN_NEXTIDENTIFIER' was here

Re: [xHarbour-developers] Can't compile on linux anymore

2009-04-13 Thread Vicente Guerra
On Tue, 14 Apr 2009, Phil Krylov wrote: >> I'm using Slackware 12.0. It doesn't installs (at least by default) >> ODBC header files. > They usually belong to unixODBC package. Thank you for the info. >> Previously compiling xHarbour, ODBC library were'nt created, but it >> doesn't st

[xHarbour-developers] Can't compile on linux anymore

2009-04-13 Thread Vicente Guerra
Hi! I'm using Slackware 12.0. It doesn't installs (at least by default) ODBC header files. Previously compiling xHarbour, ODBC library were'nt created, but it doesn't stopped build. Now compilation is not completed. Thanks in advance. Atte. Vic ---

Re: [xHarbour-developers] texthidden

2009-03-06 Thread Vicente Guerra
On Fri, 6 Mar 2009, Luis Krause Mantilla wrote: > Are there any docs on how #pragma TEXTHIDDEN(0|1) works? > What's the overhead, pros/cons, etc and usefulness of this feature? It's a very simple XOR mask for text strings. You can write some text which will not be visible to "mortal users" wi

[xHarbour-developers] ChangeLog: 2009-02-08 19:39 UTC-0600 Vicente Guerra

2009-02-08 Thread Vicente Guerra
2009-02-08 19:39 UTC-0600 Vicente Guerra * include/classes.h * Changed // to /* */ comment from my previous commit. * source/vm/errorapi.c ! Fixed wrong default value types for ERROR class DATAs from my previous commit. Atte. Vic

[xHarbour-developers] ChangeLog: 2009-02-08 15:12 UTC-0600 Vicente Guerra

2009-02-08 Thread Vicente Guerra
2009-02-08 15:12 UTC-0600 Vicente Guerra * source/rtl/hbffind.c * Moved ulAttr and raw_attr initialization to zero on variable declaration instead of once on all platforms (Unix one was not initialized). /* Previos code was: { ULONG ulAttr; #if defined(HB_OS_DOS

[xHarbour-developers] ChangeLog: 2009-02-07 23:31 UTC-0600 Vicente Guerra

2009-02-07 Thread Vicente Guerra
2009-02-07 23:31 UTC-0600 Vicente Guerra * include/classes.h * source/vm/classes.c + Added void hb_clsAddDataInit( USHORT usClassH, const char * szDataName, USHORT uiID, PHB_ITEM pInit ) which adds data access/assign messages with an initial value. * source/vm

[xHarbour-developers] ChangeLog: 2009-02-03 23:15 UTC-0600 Vicente Guerra

2009-02-03 Thread Vicente Guerra
2009-02-03 23:15 UTC-0600 Vicente Guerra * source/vm/arrays.c * Prevents "AEVAL in progress" flag for not to be cleared. Atte. Vic -- Create and Deploy Rich Internet Apps outside the browser with A

Re: [xHarbour-developers] Questions about ASIZE + AEVAL

2009-02-03 Thread Vicente Guerra
Ron, Thank you. I hadn't pay attention to that code on AEVAL. Atte. Vic On Tue, 3 Feb 2009, Ron Pinkas wrote: >> But, what about the second part? Looks like the following code could >> leave unreleased memory: >> >> x := {} >> AEVAL( x, { || NIL } ) >> AADD( x, DATE(

Re: [xHarbour-developers] Questions about ASIZE + AEVAL

2009-02-03 Thread Vicente Guerra
On Tue, 3 Feb 2009, Ron Pinkas wrote: > Yes, you can move it, it appears to be a valid correction, if user code calls > aEval() with invalid arguments (my mistake). Thank you. I'll move. But, what about the second part? Looks like the following code could leave unreleased memory:

[xHarbour-developers] Questions about ASIZE + AEVAL

2009-02-02 Thread Vicente Guerra
Hi! Ron, in the file source/vm/arrays.c , function hb_arrayEval() , about line 1369, it says "pBaseArray->uiFlags |= 0xF000;" . Can I move it? ulLen = pBaseArray->ulLen; pBaseArray->uiFlags |= 0xF000; / From here... if( pulStart && ( *pulStart

[xHarbour-developers] RTE creating error log

2009-01-31 Thread Vicente Guerra
Hi! An error occurs when a runtime error generates log file. BTW, under Linux it's recursed many times, but not on Windows... proc main ? "Opening..." USE NonExistingFile ?? " ...done!" return Atte. Vic --

[xHarbour-developers] Linux + DBFCDX + SET PATH : File not found

2009-01-31 Thread Vicente Guerra
Hi! Under Linux, SET PATH is not working with DBFCDX. It's working with DBFNTX. I'm using Slackware 12.0.0. proc main request dbfntx, dbfcdx makedir( "MyDir" ) dbcreate( "MyDir/Test", { { "FLD", "C", 10, 0 } } ) set path to MyDir rddsetdefault( "dbfntx" )

[xHarbour-developers] ChangeLog: 2009-02-01 01:18 UTC-0600 Vicente Guerra

2009-01-31 Thread Vicente Guerra
2009-02-01 01:18 UTC-0600 Vicente Guerra * ./makefile.pc * Added missing USE_DLL_LIB rules. Atte. Vic -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http

[xHarbour-developers] ChangeLog: 2009-01-26 21:02 UTC-0600 Vicente Guerra

2009-01-26 Thread Vicente Guerra
2009-01-26 21:02 UTC-0600 Vicente Guerra * ./make_gc.bat * Added 'IF "%envvar%"=="" SET ...' to environment variables. Atte. Vic -- This SF.net email is sponsored by: SourcForge

[xHarbour-developers] GET doesn't appears on inverted color

2008-11-30 Thread Vicente Guerra
This code doesn't shows GET area: x PROCEDURE MAIN LOCAL cVar CLS cVar := SPACE( 20 ) @ 10,10 GET cVar READ RETURN Atte. Vic - This SF.Net email is sponsored by the Moblin Your Move Developer's challeng

Re: [xHarbour-developers] Slowness

2008-11-28 Thread Vicente Guerra
On Fri, 28 Nov 2008, Miguel Angel Marchuet wrote: >> Now hb_xgrab/hb_xrealloc allocates unused memory when >> HB_FM_STATISTICS is not defined. > Please can you be more explicit please? > thank's > I don't found any incorrect by the moment void * hb_xgrab( ULONG ulSize ) { PHB_MEMINFO pMem

Re: [xHarbour-developers] Slowness

2008-11-28 Thread Vicente Guerra
On Fri, 28 Nov 2008, Miguel Angel Marchuet wrote: > I remove some structure variables, not used when profile is not active. > it increases speed. > more later it was added altogether for blackguard compatibility with 3rd party > libraries. THEN return to be slow altogether. > if you don't use fmsta

Re: [xHarbour-developers] Error in lastest CVS

2008-11-24 Thread Vicente Guerra
On Mon, 24 Nov 2008, Enrico Maria Giordano wrote: > It seems ok, thank you. Do you think it can be used for app release? It's > prudent? I got two really dangerous xHarbour's bugs. I don't think xHarbour is stable now. I hope Ron can locate one of them (maybe both are the same on differ

[xHarbour-developers] Variable is destroyed

2008-11-23 Thread Vicente Guerra
Hi! I have a complex bug with the following code: PROCEDURE Receive( oFrom, oTo ) oFrom:Fill() BB := oFrom:Read() MSGINFO(STR(LEN(BB)),"1") MSGINFO(STR(LEN(BB)),"2") oTo:WriteBuffer( BB ) RETURN First message box displays correct size, but second displays zero. Addin

[xHarbour-developers] Unrecoverable error 9027

2008-11-21 Thread Vicente Guerra
Hi! I'm getting a "Premature Array/Object Release detected " on a program with a huge usage of arrays, objects and hash tables. Since error occurs after some usage, with multiple creation/destruction of them, I can't isolate it. How must I trace it? Atte. Vic

Re: [xHarbour-developers] Any FWH programs GPF using latest CVS

2008-10-28 Thread Vicente Guerra
On Tue, 28 Oct 2008, Miguel Angel Marchuet wrote: > I found the problem > please remove the next line: > -DHB_NO_PROFILER > from your bcc32.cfg > until i resolve this question Miguel, IMHO a best solution would be if you remove #ifndef HB_NO_PROFILER from classes.h at line 99 (and

Re: [xHarbour-developers] Any FWH programs GPF using latest CVS

2008-10-26 Thread Vicente Guerra
On Sun, 26 Oct 2008, Enrico Maria Giordano wrote: >> There're some recent changes to .H files. Previous .OBJ files will not >> work. > I recompile all my PRGs and all FWH PRGs but the strange problems are still > there. And .C ones? Atte. Vic -

Re: [xHarbour-developers] Any FWH programs GPF using latest CVS

2008-10-26 Thread Vicente Guerra
On Sun, 26 Oct 2008, Enrico Maria Giordano wrote: >>> I had some strange bugs... I recompiled GUI, and errors gone. Maybe >>> we need a message "CLEAN BUILD, and RECOMPILE of all PRG code is >>> required". >> Which is my "standard todo" when compiling CVS ;-) > I agree for clean build of xHarbo

  1   2   >