From sunshine at public.kherson.ua Fri Jul 1 04:34:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 20:34:46 2005 Subject: testing In-Reply-To: <42C405EC.2040605@gmx.net> Message-ID: On 6/30/05 5:47 PM, "peter salomon" wrote: > Ruslan, > would it be possible to control VServer via VPHP/html/xhtml in future? Yes of course. We have start develop VPHP 2 > Well - if yes: i do not know enough about that stuff but i?ll need to > learn it anyway... > but also a shockwaved site could do that job.. > as i remember trowout() on VServer does not trash db, it unregisters > only... > is that actually that way? yes -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jul 1 04:36:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 20:36:48 2005 Subject: Mystery Crash II In-Reply-To: <000001c57d90$5a27d650$0301a8c0@JOHNHP> Message-ID: On 6/30/05 7:25 PM, "John W. Miescher" wrote: Hi John, > Dear Ruslan, > have downloaded fc12 for RB-WIN which seems to work fine for the most part, > but I still dont understand why > > A="select *,RecID from hist where (hist.mDate >= '"+inDate+"') and (hist.mDate > <= '"+outDate+"') order by hist.mDate" > nCursor = mDataBase.SQLselect(A) > > cashes the program without warning, but What query this produce finally ? You can see it in V4RB_Log file, or in debugger May be send us small db and this query > A="select * from hist where (mdate >= '"+inDate+"') and (mdate <= > '"+outDate+"')" > nCursor = mDataBase.SQLselect(A) > > apparently works. > > mDate is a string field and inDate, outDate are strings of the type > "2005-06-30" -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Fri Jul 1 08:55:19 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Jul 1 01:55:26 2005 Subject: Info about fc12: Table.GetRecord() References: Message-ID: <000a01c57e09$d8d7bd70$c3181e97@vmtrm4p9ipbkv2> Hi Ruslan, ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Thursday, June 30, 2005 9:14 AM Subject: Re: Info about fc12: Table.GetRecord() > On 6/30/05 9:54 AM, "info@vallemediatime.com" > wrote: > > > Hi Ruslan and Igor, > > > > can I try new method: Table.GetRecord() V4MD fc12? > > If yes, how it's work? like SQL? > > Yes Paolo. I've tryed this code for get the fields values in a grid: sprite(n).SetRow(0, string(gHeaderList)) recCount = value(member("recCount").text) sprite(n).rowCount = RecCount +1 sprite(n).colCount = gHeaderList.count repeat with i = 1 to RecCount fields = table.GetRecord(i) sprite(n).SetRow(i,string(fields)) end repeat All works, but now I don't get the RecID in first col; the same script in SQL works and show me the RecID numbers in the first col of grid. Any suggestion? > Please use beta list about betas I've subscribe both list but I don't understand when I muts message in beta o in main list. Few week ago Igor wrote me: please post to valentina list not in beta :-) Thanks Paolo > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.8.5/32 - Release Date: 27/06/2005 > > From sunshine at public.kherson.ua Fri Jul 1 10:01:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 02:02:03 2005 Subject: Info about fc12: Table.GetRecord() In-Reply-To: <000a01c57e09$d8d7bd70$c3181e97@vmtrm4p9ipbkv2> Message-ID: On 7/1/05 9:55 AM, "info@vallemediatime.com" wrote: Hi Paolo, >> Please use beta list about betas > I've subscribe both list but I don't understand when I muts message in beta > o in main list. > Few week ago Igor wrote me: please post to valentina list not in beta :-) Valentina list -- general list. here many users. Valentina - beta list about beta builds, new features, ... here assume 50 members. So if you want discuss problem with latest fc or beta, you send to beta list, because Valentina list members do not use betas but only RELEASE, So they have no interest to listen your problems with betas. If you want discuss some general issues, e.g. What syntax of REGEX, Then all members of Valentina list will be interested to read this. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Fri Jul 1 10:50:33 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Jul 1 03:50:39 2005 Subject: V4MD fc12: table.GetRecord(i) Message-ID: <000c01c57e19$f1a0da20$5a0a1e97@vmtrm4p9ipbkv2> Hi Ruslan, please can you test this? I cant't get RecID in API way and show it into my grid. In SQL this works: SQL --on updateGrid n -- sprite(n).SetRow(0, string(gHeaderList)) -- recCount = value(member("recCount").text) -- sprite(n).rowCount = RecCount +1 -- sprite(n).colCount = gHeaderList.count -- repeat with i = 1 to RecCount -- fields = gCursor.getRecord(i) -- sprite(n).SetRow(i,string(fields)) -- end repeat --end API (same code of SQL except row "X") --on ProduceTableData (n, rs, table) -- sprite(n).SetRow(0, string(gHeaderList)) -- recCount = rs.itemCount -- sprite(n).rowCount = RecCount +1 -- sprite(n).colCount = gHeaderList.count -- repeat with i = 1 to RecCount X-- fields = table.GetRecord(i) -- sprite(n).SetRow(i,string(fields)) -- end repeat --end A second question is about the recordSet but I send you later in new thread Thanks Paolo From sunshine at public.kherson.ua Fri Jul 1 12:10:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 04:10:17 2005 Subject: V4MD fc12: table.GetRecord(i) In-Reply-To: <000c01c57e19$f1a0da20$5a0a1e97@vmtrm4p9ipbkv2> Message-ID: On 7/1/05 11:50 AM, "info@vallemediatime.com" wrote: > Hi Ruslan, > please can you test this? > I cant't get RecID in API way and show it into my grid. In SQL this works because you have made query as SELECT RecID, * ... Right ? In API way, RecId is hidden field, you do not see it on default. As well as in SQL. You was need ASK for it. Right now Vtable.GetRecord() will not show RecId. Hmm, it needs to think how to do this... A) parameter requst B) return it always, but then OID field also. > In SQL this works: > > SQL > --on updateGrid n > -- sprite(n).SetRow(0, string(gHeaderList)) > -- recCount = value(member("recCount").text) > -- sprite(n).rowCount = RecCount +1 > -- sprite(n).colCount = gHeaderList.count > > -- repeat with i = 1 to RecCount > -- fields = gCursor.getRecord(i) > -- sprite(n).SetRow(i,string(fields)) > -- end repeat > --end > > API (same code of SQL except row "X") > > --on ProduceTableData (n, rs, table) > -- sprite(n).SetRow(0, string(gHeaderList)) > -- recCount = rs.itemCount > -- sprite(n).rowCount = RecCount +1 > -- sprite(n).colCount = gHeaderList.count > > -- repeat with i = 1 to RecCount > X-- fields = table.GetRecord(i) > -- sprite(n).SetRow(i,string(fields)) > -- end repeat > --end -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Fri Jul 1 12:37:54 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Jul 1 05:38:06 2005 Subject: V4MD fc12: table.GetRecord(i) References: Message-ID: <000801c57e28$f1310380$ae181e97@vmtrm4p9ipbkv2> Hi Ruslan, ----- Original Message ----- From: "Ruslan Zasukhin" To: ; "Igor Gomon" Sent: Friday, July 01, 2005 11:10 AM Subject: Re: V4MD fc12: table.GetRecord(i) > On 7/1/05 11:50 AM, "info@vallemediatime.com" > wrote: > > > Hi Ruslan, > > please can you test this? > > I cant't get RecID in API way and show it into my grid. > > In SQL this works because you have made query as > > SELECT RecID, * ... > > Right ? > > In API way, RecId is hidden field, you do not see it on default. > As well as in SQL. You was need ASK for it. > > Right now Vtable.GetRecord() will not show RecId. > Hmm, it needs to think how to do this... ok, I've understand the problem, and I conferm you that: table.GetRecord(i) is more fast in Director for show fields value in grid... (in my test SQL is still a bit better). but it is necessary to add a method for get RecID. I wait for a good idea Paolo > A) parameter requst > B) return it always, but then OID field also. > > > In SQL this works: > > > > SQL > > --on updateGrid n > > -- sprite(n).SetRow(0, string(gHeaderList)) > > -- recCount = value(member("recCount").text) > > -- sprite(n).rowCount = RecCount +1 > > -- sprite(n).colCount = gHeaderList.count > > > > -- repeat with i = 1 to RecCount > > -- fields = gCursor.getRecord(i) > > -- sprite(n).SetRow(i,string(fields)) > > -- end repeat > > --end > > > > API (same code of SQL except row "X") > > > > --on ProduceTableData (n, rs, table) > > -- sprite(n).SetRow(0, string(gHeaderList)) > > -- recCount = rs.itemCount > > -- sprite(n).rowCount = RecCount +1 > > -- sprite(n).colCount = gHeaderList.count > > > > -- repeat with i = 1 to RecCount > > X-- fields = table.GetRecord(i) > > -- sprite(n).SetRow(i,string(fields)) > > -- end repeat > > --end > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.8.8/35 - Release Date: 30/06/2005 > > From miescher at bizdata.com Fri Jul 1 13:00:54 2005 From: miescher at bizdata.com (John W. Miescher) Date: Fri Jul 1 06:01:04 2005 Subject: Mystery Crash II Message-ID: <000001c57e2c$27332050$0301a8c0@JOHNHP> Dear Ruslan, when I enter select *,RecID from hist where (mdate >= '2005-06-23') and (mdate <= '2005-07-03') in Valentina Studio it works fine, but when I do select *,RecID from hist where (mdate >= '2005-06-23') and (mdate <= '2005-07-03') order by mdate then even Valentina Studio chokes and just closes down withouth warning. WHY? rgs, john m. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050701/d440d10f/attachment.html From sunshine at public.kherson.ua Fri Jul 1 14:09:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 06:09:31 2005 Subject: Mystery Crash II In-Reply-To: <000001c57e2c$27332050$0301a8c0@JOHNHP> Message-ID: On 7/1/05 2:00 PM, "John W. Miescher" wrote: > Dear Ruslan, > > when I enter > select *,RecID from hist where (mdate >= '2005-06-23') and (mdate <= > '2005-07-03') > in Valentina Studio it works fine, > > but when I do > select *,RecID from hist where (mdate >= '2005-06-23') and (mdate <= > '2005-07-03') order by mdate > > then even Valentina Studio chokes and just closes down withouth warning. WHY? To answer why we need your db to reproduce. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jul 1 14:55:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 06:55:12 2005 Subject: [V4MD2] Special character problem In-Reply-To: <065445830D7F35439CE1BBEEB0CFF2CE011FF76D@md-admin.ags.com> Message-ID: On 7/1/05 2:46 PM, "Wilk, Steven" wrote: > Just how did you fix this? Was bug in the V4MD code. Was used wrong encoding name when we did SQL query to engine. So engine have get already bad SQL string in UTF16 Next fc13 build will contains fix. Today expected. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Fri Jul 1 15:12:34 2005 From: peter.salomon at gmx.net (peter salomon) Date: Fri Jul 1 08:17:15 2005 Subject: Mystery Crash II In-Reply-To: <000001c57e2c$27332050$0301a8c0@JOHNHP> References: <000001c57e2c$27332050$0301a8c0@JOHNHP> Message-ID: <42C54142.1020508@gmx.net> John W. Miescher wrote: > Dear Ruslan, > > when I enter > select *,RecID from hist where (mdate >= '2005-06-23') and (mdate <= > '2005-07-03') > in Valentina Studio it works fine, > > but when I do > select *,RecID from hist where (mdate >= '2005-06-23') and (mdate <= > '2005-07-03') order by mdate how many fields are included by "*"? try instead: select RecID, mdate from hist where (mdate >= '2005-06-23') and (mdate <= '2005-07-03') order by mdate had similar problem once... i needed to call the fieldname which sorts records interesting in this case: select RecID, mdate, * from hist where (mdate >= '2005-06-23') and (mdate <= '2005-07-03') order by mdate would mdate called by "*" be ignored when it is called by its fieldname? peter > > then even Valentina Studio chokes and just closes down withouth > warning. WHY? > > rgs, john m. > >------------------------------------------------------------------------ > >_______________________________________________ >Valentina-beta mailing list >Valentina-beta@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina-beta > > From sunshine at public.kherson.ua Fri Jul 1 16:09:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 08:37:03 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: Message-ID: On 7/1/05 3:48 PM, "Heinrich Ruoff" wrote: Hi Heinrich, > I'm trying to do a case insensitive sqlSelect by setting > the collation attributes: > > gDb.setCollationAttribute(#kStrength, #kPrimary) > > But my seach is still case sensitive??? > > regards > Heinrich > > V4MD 2.0.4 fc12 > Director MX 2004 10.1 > Windows XP SP2 Have you try our example SQL/IndexByWords ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jul 1 16:26:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 08:53:41 2005 Subject: Mystery Crash II In-Reply-To: <42C54142.1020508@gmx.net> Message-ID: On 7/1/05 4:12 PM, "peter salomon" wrote: > interesting in this case: > select RecID, mdate, * from hist where (mdate >= '2005-06-23') and > (mdate <= '2005-07-03') order by mdate > > would mdate called by "*" be ignored when it is called by its fieldname? It wont You will get mdat 2 times. SQL allow you SELECT f1, f1, f1, -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Fri Jul 1 16:37:59 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri Jul 1 09:40:05 2005 Subject: [ANN] V4RB, V4MD, V4REV mac+win 2.0.4fc12 In-Reply-To: References: Message-ID: > Hi All, > > You can download fc12 > I just took V4REV Mac fc12 for a quick spin. 1. The examples stack is shaping up nicely. I mean user interface and functionality. It works also in MetaCard IDE. 2. Where is the "exampleGuide.PDF" that the instructions for Step 3 recommend to use? I don't see it among the downloadable documents. 3. To support MetaCard better, a preOpenStack handler could be added in the card (!) script of the "V4REV Examples" stack: on preOpenStack if the platform is "MacOS" then set the textFont of this stack to "Lucida Grande" set the textSize of this stack to 11 set the textHeight of this stack to 13 else if the platform is "Win32" then -- keep user default ? end if end preOpenStack This compensates for the fact the MetaCard uses Helvetica 14 as the default font and example fields are too small for it. This setting will be inherited by all substacks, hence it suffice to change it for the mainstack. Actually, setting these always, also for Windows, is probably a good idea since users can have their IDE font set to sth too big or not suitable otherwise. 4. The serious problem I see is "Revolution has unexpectedly quit" which always happens when running 2nd or 3rd example in a row. Something is seriously wrong. This is very consistent and very annoying. The same occurs when using MetaCard, so it is most likely Valentina's doing. 5. The client mode operation is not okay. When I init in the client mode, all seems fine (no error) but any example that attempts to change anything in a database crashes Rev right away. From the log seems that client init connects, or at least attempts to connect, to the server at localhost. This should result in an error in my case since there is no server running. (This is exactly a place where a demo server would come handy.) For now, it would be reasonable for the example stack to pop a dialog asking for server address and access info. Or show a button in client mode which allows to set these (and save them in custom properties for reuse). Robert From sunshine at public.kherson.ua Fri Jul 1 17:49:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 09:50:02 2005 Subject: [ANN] V4RB, V4MD, V4REV mac+win 2.0.4fc12 In-Reply-To: Message-ID: On 7/1/05 5:37 PM, "Robert Brenstein" wrote: > 2. Where is the "exampleGuide.PDF" that the instructions for Step 3 > recommend to use? I don't see it among the downloadable documents. Not ready yet -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Fri Jul 1 16:53:50 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jul 1 09:54:00 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: References: Message-ID: is it only possible to setCollationAttribute before any tables and data is added to the DB? On 7/1/05, Ruslan Zasukhin wrote: > On 7/1/05 3:48 PM, "Heinrich Ruoff" wrote: > > Hi Heinrich, > > > I'm trying to do a case insensitive sqlSelect by setting > > the collation attributes: > > > > gDb.setCollationAttribute(#kStrength, #kPrimary) > > > > But my seach is still case sensitive??? > > > > regards > > Heinrich > > > > V4MD 2.0.4 fc12 > > Director MX 2004 10.1 > > Windows XP SP2 > > Have you try our example SQL/IndexByWords ? > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From sunshine at public.kherson.ua Fri Jul 1 18:19:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 10:19:51 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: Message-ID: On 7/1/05 5:53 PM, "Heinrich Ruoff" wrote: > is it only possible to setCollationAttribute before any tables and > data is added to the DB? In general no. IF you change this parameter later, then Valentina must rebuild all indexes. But may be some bugs in this area. So try to make fresh db to see if that works. Or do REINDEX DATABASE command. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Fri Jul 1 18:19:02 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jul 1 11:19:14 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: References: Message-ID: how is the REINDEX DATABASE command used inside director? On 7/1/05, Ruslan Zasukhin wrote: > On 7/1/05 5:53 PM, "Heinrich Ruoff" wrote: > > > is it only possible to setCollationAttribute before any tables and > > data is added to the DB? > > In general no. > > IF you change this parameter later, then Valentina must rebuild all indexes. > > But may be some bugs in this area. > > So try to make fresh db to see if that works. > Or do REINDEX DATABASE command. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From sunshine at public.kherson.ua Fri Jul 1 20:18:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 12:18:50 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: Message-ID: On 7/1/05 7:19 PM, "Heinrich Ruoff" wrote: > how is the REINDEX DATABASE command used inside director? SqlExecute( "REINDEX DATABASE" ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jul 1 20:38:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 12:38:16 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: Message-ID: On 7/1/05 8:18 PM, "Ruslan Zasukhin" wrote: > On 7/1/05 7:19 PM, "Heinrich Ruoff" wrote: > >> how is the REINDEX DATABASE command used inside director? > > SqlExecute( "REINDEX DATABASE" ) We have just only test V4MD Examples/SQL/IndexByWords, And it do case-insensitive searches fine. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Fri Jul 1 19:59:01 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jul 1 12:59:24 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: References: Message-ID: REINDEX DATABASE doesn't help On 7/1/05, Ruslan Zasukhin wrote: > On 7/1/05 8:18 PM, "Ruslan Zasukhin" wrote: > > > On 7/1/05 7:19 PM, "Heinrich Ruoff" wrote: > > > >> how is the REINDEX DATABASE command used inside director? > > > > SqlExecute( "REINDEX DATABASE" ) > > We have just only test V4MD Examples/SQL/IndexByWords, > And it do case-insensitive searches fine. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From sunshine at public.kherson.ua Fri Jul 1 21:48:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 13:49:04 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: Message-ID: On 7/1/05 8:59 PM, "Heinrich Ruoff" wrote: > REINDEX DATABASE doesn't help > > > On 7/1/05, Ruslan Zasukhin wrote: >> On 7/1/05 8:18 PM, "Ruslan Zasukhin" wrote: >> >>> On 7/1/05 7:19 PM, "Heinrich Ruoff" wrote: >>> >>>> how is the REINDEX DATABASE command used inside director? >>> >>> SqlExecute( "REINDEX DATABASE" ) >> >> We have just only test V4MD Examples/SQL/IndexByWords, >> And it do case-insensitive searches fine. Again 1) please try our example, we do search on VarChar field of StartWith "WO" and this finds record with "world" confirm that example work for you 2) try at first make db, set collation, then add records. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Fri Jul 1 21:32:02 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jul 1 14:32:17 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: References: Message-ID: 1) the example works for me as well On 7/1/05, Ruslan Zasukhin wrote: > On 7/1/05 8:59 PM, "Heinrich Ruoff" wrote: > > > REINDEX DATABASE doesn't help > > > > > > On 7/1/05, Ruslan Zasukhin wrote: > >> On 7/1/05 8:18 PM, "Ruslan Zasukhin" wrote: > >> > >>> On 7/1/05 7:19 PM, "Heinrich Ruoff" wrote: > >>> > >>>> how is the REINDEX DATABASE command used inside director? > >>> > >>> SqlExecute( "REINDEX DATABASE" ) > >> > >> We have just only test V4MD Examples/SQL/IndexByWords, > >> And it do case-insensitive searches fine. > > Again > > 1) please try our example, > > we do search on VarChar field of StartWith "WO" > and this finds record with "world" > > confirm that example work for you > > 2) try at first make db, set collation, then add records. > > > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From sunshine at public.kherson.ua Sat Jul 2 00:32:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 16:33:09 2005 Subject: [ANN] V4RB + V4MD mac 2.0.4fc13 Message-ID: Hi All, This build fix: 1) aggregative queries on join 2) correlation of Static Model to database on disk. for RB only 3) V4MD on MAC now correctly work with accents. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Fri Jul 1 20:32:12 2005 From: jda at his.com (jda) Date: Fri Jul 1 19:32:33 2005 Subject: [ANN] V4RB + V4MD mac 2.0.4fc13 In-Reply-To: References: Message-ID: Hi Ruslan, I'm getting this error when I try to open an existing database: Field "propertyName", attribute "Nullable" is not matched with schema-stored attribute. BUT, this is how the variable is declared propertyName = CreateStringField("propertyName", 32) and that has NOT changed. What is wrong? Jon From sunshine at public.kherson.ua Sat Jul 2 09:13:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 01:14:03 2005 Subject: [ANN] V4RB + V4MD mac 2.0.4fc13 In-Reply-To: Message-ID: On 7/2/05 3:32 AM, "jda" wrote: > Hi Ruslan, > > I'm getting this error when I try to open an existing database: > > Field "propertyName", attribute "Nullable" is not matched with > schema-stored attribute. > > BUT, this is how the variable is declared > > propertyName = CreateStringField("propertyName", 32) > > and that has NOT changed. >From v1.x ? > What is wrong? Problem is that you use NUMERIC values for flags. I have told that some of them was changed for 2.0 This is why it is DOUBLE WISE to use symbolic constants Please replace this to fUnique + fIndexed -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jul 2 09:22:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 01:23:10 2005 Subject: [ANN] V4RB, V4MD, V4REV mac+win 2.0.4fc12 In-Reply-To: Message-ID: On 7/1/05 5:37 PM, "Robert Brenstein" wrote: > 5. The client mode operation is not okay. When I init in the client > mode, all seems fine (no error) but any example that attempts to > change anything in a database crashes Rev right away. From the log > seems that client init connects, or at least attempts to connect, to > the server at localhost. This should result in an error in my case > since there is no server running. (This is exactly a place where a > demo server would come handy.) For now, it would be reasonable for > the example stack to pop a dialog asking for server address and > access info. Or show a button in client mode which allows to set > these (and save them in custom properties for reuse). Oh Robert, :-) Idea was to make N small SIMPLE examples AS SIMPLE as possible. One example for one feature. We WAS GOING later add to each product some ADVANCED examples, Which show some logical application. So this simple examples should show how to do correct steps, And do not have huge error-protection systems. To not shade the main features. I really surprised by wish to make for Revolution super-puper example :-) Of course it is big fun to do this, because we discover unique features of Revolution as ability to build own projects... Just I afraid unreasonable complexity ..... In any case, Ivan, examples should not crash in any mode. Please test more and correct points that Robert do -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jul 2 09:36:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 01:36:08 2005 Subject: case-insensitive searches In-Reply-To: <408314a7c2ada6363af4d321408d3a2b@desuetude.com> Message-ID: On 7/2/05 1:24 AM, "Charles Yeomans" wrote: >> Well, >> >> It looks that you expect that IF field is indexed by words, than >> >> SELECT textField from ATable WHERE Lower(textField)="foo" >> >> Will find you record with "foo too roo doo" ? >> >> NO. >> >> Because Lower(textField)='foo' // by the way, single quotes >> will not do indexed search. >> it will do simple SCAN of column. >> >> and it can find only record with "foo", "FOO", "fOO" values > > I expect that Valentina can do anything :) > But for now I will use method fields as I have been. And more: With methods it works because OTHER mechanism is used. Method => has own index with low case words later you do direct search on this index WHERE methodFF = 'foo' -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jul 2 12:20:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 04:20:41 2005 Subject: fcb13 speed of VarChar ? Message-ID: Hi All, If somebody use many VarChars then he can see some speed up in fc13 Anybody can confirm ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jul 2 07:04:27 2005 From: jda at his.com (jda) Date: Sat Jul 2 06:04:37 2005 Subject: [ANN] V4RB + V4MD mac 2.0.4fc13 In-Reply-To: References: Message-ID: > > I'm getting this error when I try to open an existing database: >> >> Field "propertyName", attribute "Nullable" is not matched with >> schema-stored attribute. >> >> BUT, this is how the variable is declared >> > > propertyName = CreateStringField("propertyName", 32) >> >> and that has NOT changed. > >>From v1.x ? No, from 2.0.2. > >> What is wrong? > >Problem is that you use NUMERIC values for flags. >I have told that some of them was changed for 2.0 > >This is why it is DOUBLE WISE to use symbolic constants >Please replace this to > > fUnique + fIndexed > I changed it to propertyName = CreateStringField("propertyName", 32, EVFlag.fNullable) and now it opens OK! I had to do the same for the next declare in my code: integerField = CreateLongField("integerField", EVFlag.fNullable) I think this is a bug, though, because I have *identical* declarations in other tables (no EVFlag), and they open just fine. Jon From sunshine at public.kherson.ua Sat Jul 2 14:07:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 06:07:32 2005 Subject: [ANN] V4RB + V4MD mac 2.0.4fc13 In-Reply-To: Message-ID: On 7/2/05 2:04 PM, "jda" wrote: > I think this is a bug, though, because I have *identical* > declarations in other tables (no EVFlag), and they open just fine. This is not a bug. Just Valentina now is more strict and do more checks to help you find such mistakes. Other places do work because they on some reason have THE SAME values as db on disk. You can compare in Vstudio. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jul 2 07:19:38 2005 From: jda at his.com (jda) Date: Sat Jul 2 06:19:47 2005 Subject: [ANN] V4RB + V4MD mac 2.0.4fc13 In-Reply-To: References: Message-ID: > > I think this is a bug, though, because I have *identical* >> declarations in other tables (no EVFlag), and they open just fine. > >This is not a bug. > >Just Valentina now is more strict and do more checks to help you find such >mistakes. > >Other places do work because they on some reason have THE SAME values as db >on disk. You can compare in Vstudio. > *on some reason* Right, "on some reason". What reason? The declarations are identical, so why does fc13 complain about only 2 out of dozens? Why if I declare propertyName = CreateStringField("propertyName", 32) in the class constructor to I get an error when opening the database with the exact same constructor? Why do I need now to add EVFlag.Nullable? I don't mind -- it's an easy workaround. But there is a bug here (either in earlier versions, when the db was made, or with fc13). It's just not consistent. Ah, maybe the bug was earlier. If you use propertyName = CreateStringField("propertyName", 32) to create the db in f13, it opens in f13 with no error message. Jon From sunshine at public.kherson.ua Sat Jul 2 15:25:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 07:25:17 2005 Subject: how to convert a existing database In-Reply-To: Message-ID: On 7/2/05 3:19 PM, "jda" wrote: >>> No, Ruslan, there is a bug here. I reported it as #812 (still open). >>> >>> REGEX search for '\' does not work! >> >> No Jon. >> >> This man do INSERTs. Nothing else as INSERTS. >> So this is not a regex problem. >> > > I'm speaking about my own searches. > > I gave you examples that do not work. And a bug report. > > Can YOU perform a REGEX search for '\' and get it to work????? This is one of latest bugs on our hands. FYI: I have play in mySQL with this. this is how it works: Let you have record with value aaa\bbb Now you want find this using REGEX and you want use \ inside of search pattern Must be as WHERE fld REGEX 'aaa\\\\bbb' Yes, 4 slashes. IF you TYPE this query using some mySQL GUI tool, then you must type these 4 slashes. Why? because: ** SQL parser will eat 2 of them, so value will be as aaa\\bbb ** so into c++ RegExFunction() we send RegExFunc( "aaa\\bbb" ) and REGEX itself now remove first slash and use aaa\bbb for match. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jul 2 13:13:54 2005 From: jda at his.com (jda) Date: Sat Jul 2 12:14:03 2005 Subject: [ANN] V4RB + V4MD mac 2.0.4fc13 In-Reply-To: References: Message-ID: > > >Right, "on some reason". What reason? The declarations are >identical, so why does fc13 complain about only 2 out of dozens? Why >if I declare > >propertyName = CreateStringField("propertyName", 32) > >in the class constructor to I get an error when opening the database >with the exact same constructor? Why do I need now to add >EVFlag.Nullable? Hi Ruslan, What is the EVFlag enum for a schema mis-match error? I want to trap for it, and in some cases ignore it (because I'm going to update the db anyway). It is decimal 525583. Jon From rjb at robelko.com Sat Jul 2 19:44:25 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sat Jul 2 12:47:09 2005 Subject: [ANN] V4RB, V4MD, V4REV mac+win 2.0.4fc12 In-Reply-To: References: Message-ID: >On 7/1/05 5:37 PM, "Robert Brenstein" wrote: > >> 5. The client mode operation is not okay. When I init in the client >> mode, all seems fine (no error) but any example that attempts to >> change anything in a database crashes Rev right away. From the log >> seems that client init connects, or at least attempts to connect, to >> the server at localhost. This should result in an error in my case >> since there is no server running. (This is exactly a place where a >> demo server would come handy.) For now, it would be reasonable for >> the example stack to pop a dialog asking for server address and >> access info. Or show a button in client mode which allows to set >> these (and save them in custom properties for reuse). > >Oh Robert, :-) > >Idea was to make N small SIMPLE examples > >AS SIMPLE as possible. >One example for one feature. > > >We WAS GOING later add to each product some ADVANCED examples, >Which show some logical application. > >So this simple examples should show how to do correct steps, >And do not have huge error-protection systems. To not shade the main >features. > > >I really surprised by wish to make for Revolution super-puper example :-) >Of course it is big fun to do this, because we discover unique features of >Revolution as ability to build own projects... > >Just I afraid unreasonable complexity ..... > >In any case, Ivan, examples should not crash in any mode. >Please test more and correct points that Robert do > Hmm? Where are you seeing me asking to make the examples more complex, Ruslan? They are fine as they are... if I could use them :( If you refer to polishing the examples stack itself, well, that little was needed for anyone to be able to make any use of it. One more refinement that I suggested is to make the code of the example stack simpler and the experience better for the user. I am not asking to have full fledged error checking. However, checking whether kernel initialization succeeded is fundamental. Otherwise, the examples won't work. And they don't. And no indication as to why not. So what the point of having them? Robert From jda at his.com Sat Jul 2 13:53:18 2005 From: jda at his.com (jda) Date: Sat Jul 2 12:53:25 2005 Subject: Altering table In-Reply-To: References: Message-ID: Hi Ruslan, I'm trying to deal with these exceptions fc13 throws when the tables don't match the API exactly. I'm trapping the exception and trying to alter the table (to make a field NOT indexedbywords). But it is not altering the database! Here is the code. What am I doing wrong? try localFormatDB.open(formatFolderItem) catch theError as VException if theError.ErrorNumber = 525583 then //propertyName is indexedbywords. remove that. if localFormatDB <> nil and localFormatDB.isOpen then localFormatDB.close end if vdb = new VDatabase vdb.open(formatFolderItem) if vdb <> nil then vdb.Table("bibAndDoc").StringField("propertyName").indexByWords = false vdb.Table("bibAndDoc").Field("propertyName").isIndexed = false vdb.flush vdb.close vdb = nil end if localFormatDB.open(formatFolderItem) -> STILL throws an error. And the db is not updated. else raise theError end if end try Thanks, Jon From IvanSmahin at public.kherson.ua Sat Jul 2 21:01:15 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat Jul 2 13:01:18 2005 Subject: [ANN] V4RB, V4MD, V4REV mac+win 2.0.4fc12 In-Reply-To: References: Message-ID: <1065169219.20050702210115@public.kherson.ua> Hello Robert, Saturday, July 2, 2005, 8:44:25 PM, you wrote: RB> I am not asking to have full fledged error checking. However, RB> checking whether kernel initialization succeeded is fundamental. RB> Otherwise, the examples won't work. And they don't. And no indication RB> as to why not. So what the point of having them? No problem. It had been done already. Now you will get an error message case "client-initialization" without running server. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Sat Jul 2 21:24:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 13:24:50 2005 Subject: [ANN] V4RB + V4MD mac 2.0.4fc13 In-Reply-To: Message-ID: On 7/2/05 8:13 PM, "jda" wrote: >> Right, "on some reason". What reason? The declarations are >> identical, so why does fc13 complain about only 2 out of dozens? Why >> if I declare >> >> propertyName = CreateStringField("propertyName", 32) >> >> in the class constructor to I get an error when opening the database >> with the exact same constructor? Why do I need now to add >> EVFlag.Nullable? > > Hi Ruslan, > > What is the EVFlag enum for a schema mis-match error? I want to trap > for it, and in some cases ignore it (because I'm going to update the > db anyway). > > It is decimal 525583. Sorry, I have not understand question. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jul 2 21:27:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 13:27:21 2005 Subject: Altering table In-Reply-To: Message-ID: On 7/2/05 8:53 PM, "jda" wrote: > Hi Ruslan, > > I'm trying to deal with these exceptions fc13 throws when the tables > don't match the API exactly. > > I'm trapping the exception and trying to alter the table (to make a > field NOT indexedbywords). But it is not altering the database! > > Here is the code. What am I doing wrong? > > try > localFormatDB.open(formatFolderItem) > catch theError as VException > if theError.ErrorNumber = 525583 then //propertyName is > indexedbywords. remove that. Hi Jonh, I think it is possible to use symbol names here also if theError.ErrorNumber = EVError.kERR_xxx_xxx -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jul 2 21:30:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 13:30:31 2005 Subject: Altering table In-Reply-To: Message-ID: On 7/2/05 8:53 PM, "jda" wrote: > I'm trapping the exception and trying to alter the table (to make a > field NOT indexedbywords). But it is not altering the database! > > Here is the code. What am I doing wrong? > > try > localFormatDB.open(formatFolderItem) > catch theError as VException > if theError.ErrorNumber = 525583 then //propertyName is > indexedbywords. remove that. > if localFormatDB <> nil and localFormatDB.isOpen then > localFormatDB.close > end if > vdb = new VDatabase > vdb.open(formatFolderItem) > if vdb <> nil then > > vdb.Table("bibAndDoc").StringField("propertyName").indexByWords = > false > vdb.Table("bibAndDoc").Field("propertyName").isIndexed = false > vdb.flush > vdb.close > vdb = nil > end if > localFormatDB.open(formatFolderItem) -> STILL throws an > error. And the db is not updated. > else > raise theError > end if > end try Ivan will check now -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From IvanSmahin at public.kherson.ua Sat Jul 2 22:47:29 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat Jul 2 14:47:42 2005 Subject: Altering table In-Reply-To: References: Message-ID: <1157457712.20050702224729@public.kherson.ua> Hello jda, Saturday, July 2, 2005, 8:53:18 PM, you wrote: j> vdb.Table("bibAndDoc").StringField("propertyName").indexByWords = j> false j> j> vdb.Table("bibAndDoc").Field("propertyName").isIndexed = false The reversed sequence is working. E.g. vdb.Table("bibAndDoc").Field("propertyName").isIndexed = false vdb.Table("bibAndDoc").StringField("propertyName").indexByWords = false -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From jda at his.com Sat Jul 2 16:06:37 2005 From: jda at his.com (jda) Date: Sat Jul 2 15:06:52 2005 Subject: Altering table In-Reply-To: <1157457712.20050702224729@public.kherson.ua> References: <1157457712.20050702224729@public.kherson.ua> Message-ID: >Hello jda, > >Saturday, July 2, 2005, 8:53:18 PM, you wrote: > >j> vdb.Table("bibAndDoc").StringField("propertyName").indexByWords = >j> false >j> >j> vdb.Table("bibAndDoc").Field("propertyName").isIndexed = false > >The reversed sequence is working. >E.g. > >vdb.Table("bibAndDoc").Field("propertyName").isIndexed = false >vdb.Table("bibAndDoc").StringField("propertyName").indexByWords = false > Hi Ivan, I'm afraid it does not work for me. I reversed the lines, but the database is not changed. If I look with viSQL, I see propertyName String[32] NW W = indexed by word And I still get the exception when I try to open the db. Jon From jda at his.com Sat Jul 2 16:07:22 2005 From: jda at his.com (jda) Date: Sat Jul 2 15:07:28 2005 Subject: Altering table In-Reply-To: <1157457712.20050702224729@public.kherson.ua> References: <1157457712.20050702224729@public.kherson.ua> Message-ID: > >vdb.Table("bibAndDoc").Field("propertyName").isIndexed = false >vdb.Table("bibAndDoc").StringField("propertyName").indexByWords = false > Ivan, I can send you the database if that would help... Jon From jda at his.com Sat Jul 2 16:11:17 2005 From: jda at his.com (jda) Date: Sat Jul 2 15:11:32 2005 Subject: Altering table In-Reply-To: References: Message-ID: > >Hi Jonh, > >I think it is possible to use symbol names here also > > if theError.ErrorNumber = EVError.kERR_xxx_xxx > Hi Ruslan, Yes, but that's not really better than using the raw number. I don't like doing that, however, because in the past you have changed the error number! So I'd prefer to know the error name. Like EVFlag.SchemaMisMatch or something, I would think... Jon From IvanSmahin at public.kherson.ua Sat Jul 2 23:15:07 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat Jul 2 15:15:09 2005 Subject: Altering table In-Reply-To: References: <1157457712.20050702224729@public.kherson.ua> Message-ID: <638162508.20050702231507@public.kherson.ua> Hello jda, Saturday, July 2, 2005, 11:07:22 PM, you wrote: j> Ivan, j> I can send you the database if that would help... I've just fixed this bug. http://paradigma.ukrcom.kherson.ua/bt/view.php?id=908 -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From jda at his.com Sat Jul 2 16:18:58 2005 From: jda at his.com (jda) Date: Sat Jul 2 15:19:08 2005 Subject: Altering table In-Reply-To: <638162508.20050702231507@public.kherson.ua> References: <1157457712.20050702224729@public.kherson.ua> <638162508.20050702231507@public.kherson.ua> Message-ID: >j> I can send you the database if that would help... > >I've just fixed this bug. >http://paradigma.ukrcom.kherson.ua/bt/view.php?id=908 > Thanks! Jon From sunshine at public.kherson.ua Sat Jul 2 23:24:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 15:31:31 2005 Subject: Altering table In-Reply-To: Message-ID: On 7/2/05 11:11 PM, "jda" wrote: >> Hi Jonh, >> >> I think it is possible to use symbol names here also >> >> if theError.ErrorNumber = EVError.kERR_xxx_xxx >> > > Hi Ruslan, > > Yes, but that's not really better than using the raw number. I don't > like doing that, however, because in the past you have changed the > error number! So I'd prefer to know the error name. Like > > EVFlag.SchemaMisMatch > > or something, I would think... Wait. I tell you the same. Exists enum that keep all error names. EVError.kERR_xxx_xxx -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jul 2 16:43:57 2005 From: jda at his.com (jda) Date: Sat Jul 2 15:44:04 2005 Subject: Altering table In-Reply-To: References: Message-ID: > > Yes, but that's not really better than using the raw number. I don't >> like doing that, however, because in the past you have changed the >> error number! So I'd prefer to know the error name. Like >> >> EVFlag.SchemaMisMatch >> >> or something, I would think... > >Wait. I tell you the same. Exists enum that keep all error names. > > EVError.kERR_xxx_xxx > I know -- but the list looks to be at least 100 long, and I don't see an obvious match! FieldWrongAttribute? FieldWrongType? FieldNotIndexed? What? A list of error numbers and the corresponding enums would be helpful (because I can get the error number from the RB debugger, but not the enum). Jon From sunshine at public.kherson.ua Sun Jul 3 00:03:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 16:03:40 2005 Subject: Altering table In-Reply-To: Message-ID: On 7/2/05 11:43 PM, "jda" wrote: > I know -- but the list looks to be at least 100 long, and I don't see > an obvious match! > > FieldWrongAttribute? > FieldWrongType? > FieldNotIndexed? > What? You know exact error code? You have write it. Now look into Vcomponents/resources/english/fbl_errors.xml And search for this error code (in hex) > A list of error numbers and the corresponding enums would be helpful > (because I can get the error number from the RB debugger, but not the > enum). This list is in XML file -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jul 2 17:54:00 2005 From: jda at his.com (jda) Date: Sat Jul 2 16:54:07 2005 Subject: Altering table In-Reply-To: References: Message-ID: > >You know exact error code? You have write it. > >Now look into > Vcomponents/resources/english/fbl_errors.xml > >And search for this error code (in hex) > >> A list of error numbers and the corresponding enums would be helpful >> (because I can get the error number from the RB debugger, but not the >> enum). > >This list is in XML file OK, we're almost there. Sorry to be dense, but... The error is $8050F Here's the info in the kernel.xml file ERR_FIELD_WRONG_ATTRIBUTE Field "%S", attribute "%S" is not matched with schema-stored attribute. So, what would my error check be? if theError.ErrorNumber = EVError.kErr_ERR_FIELD_WRONG_ATTRIBUTE then does not work. Jon From sunshine at public.kherson.ua Sun Jul 3 00:58:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 16:58:33 2005 Subject: Altering table In-Reply-To: Message-ID: On 7/3/05 12:54 AM, "jda" wrote: >> This list is in XML file > > OK, we're almost there. Sorry to be dense, but... > > The error is > > $8050F > > Here's the info in the kernel.xml file > > > ERR_FIELD_WRONG_ATTRIBUTE > Field "%S", attribute "%S" is not > matched with schema-stored attribute. > > > So, what would my error check be? > > if theError.ErrorNumber = EVError.kErr_ERR_FIELD_WRONG_ATTRIBUTE then > > does not work. For V4RB people have ask remove _ and use not captial chars. I think it looks as kErrFieldWrongAttribute You should be able easy find it in enum now -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jul 2 18:02:35 2005 From: jda at his.com (jda) Date: Sat Jul 2 17:02:45 2005 Subject: Altering table In-Reply-To: References: Message-ID: > > >For V4RB people have ask remove _ >and use not captial chars. > >I think it looks as > > kErrFieldWrongAttribute > >You should be able easy find it in enum now > There is no kErr prefix for RB, I see. This is it: if theError.ErrorNumber = EVError.FieldWrongAttribute Thanks! Jon From sunshine at public.kherson.ua Sun Jul 3 01:15:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 17:16:03 2005 Subject: Altering table In-Reply-To: Message-ID: On 7/3/05 1:02 AM, "jda" wrote: >> For V4RB people have ask remove _ >> and use not captial chars. >> >> I think it looks as >> >> kErrFieldWrongAttribute >> >> You should be able easy find it in enum now >> > > There is no kErr prefix for RB, I see. > > This is it: > > if theError.ErrorNumber = EVError.FieldWrongAttribute > > Thanks! Great. Note. V4RB plugin build this enum of error names using that XML file on start. So it is always up to date -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon Jul 4 01:00:06 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Sun Jul 3 18:00:14 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: References: Message-ID: is there a chance to set collation in Valentina Studio? On 7/1/05, Heinrich Ruoff wrote: > 1) the example works for me as well > > On 7/1/05, Ruslan Zasukhin wrote: > > On 7/1/05 8:59 PM, "Heinrich Ruoff" wrote: > > > > > REINDEX DATABASE doesn't help > > > > > > > > > On 7/1/05, Ruslan Zasukhin wrote: > > >> On 7/1/05 8:18 PM, "Ruslan Zasukhin" wrote: > > >> > > >>> On 7/1/05 7:19 PM, "Heinrich Ruoff" wrote: > > >>> > > >>>> how is the REINDEX DATABASE command used inside director? > > >>> > > >>> SqlExecute( "REINDEX DATABASE" ) > > >> > > >> We have just only test V4MD Examples/SQL/IndexByWords, > > >> And it do case-insensitive searches fine. > > > > Again > > > > 1) please try our example, > > > > we do search on VarChar field of StartWith "WO" > > and this finds record with "world" > > > > confirm that example work for you > > > > 2) try at first make db, set collation, then add records. > > > > > > > > > > -- > > Best regards, > > > > Ruslan Zasukhin > > VP Engineering and New Technology > > Paradigma Software, Inc > > > > Valentina - Joining Worlds of Information > > http://www.paradigmasoft.com > > > > [I feel the need: the need for speed] > > > > > > _______________________________________________ > > Valentina-beta mailing list > > Valentina-beta@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina-beta > > > From sunshine at public.kherson.ua Mon Jul 4 09:05:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 4 01:05:16 2005 Subject: New V2a DataBase.zip In-Reply-To: <000001c57e4f$13e57c50$0301a8c0@JOHNHP> Message-ID: On 7/1/05 6:10 PM, "John W. Miescher" wrote: > > Hi Ruslan, > downloaded fc12 RB-WIN and I still get these mystery crashes, apparently > the program stumbles over destroying a cursor at the end of a > subroutine, because it does everything fine within that subroutine. The > error occurrs always in > > msl_all-dll90_x86.dll > > could yo please send me the latest version of that dll to try again. > Thanks in advance, This is Metrowerks dll, I do not think that problem here. See below. > Dear Ruslan, > attached find our DB that brings 'ORDER BY' to fall. Hi John, 1) So am I right that I need do select *,RecID from hist where (mdate >= '2005-06-23') and (mdate <= '2005-07-03') order by mdate ------------------- I have try it on my MAC -- no problems. Although I was need change date values '2005-06-23' to '06-23-2005' Are you sure that you need use '2005-06-23' ? I see that your database have db.DateTimeFormat = 1, this is kDMY = 1, Aha!!!! I see that mDate this is String[10]. Why you use strings but not Vdate type ? 2) do you work only on windows? may be problem happens on windows? we will test today. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Jul 4 09:56:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 4 01:56:47 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: Message-ID: On 7/4/05 2:00 AM, "Heinrich Ruoff" wrote: > is there a chance to set collation in Valentina Studio? Now - no, but I think b10 will have this. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon Jul 4 10:24:25 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon Jul 4 03:24:34 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: References: Message-ID: any clue when it will be available? On 7/4/05, Ruslan Zasukhin wrote: > On 7/4/05 2:00 AM, "Heinrich Ruoff" wrote: > > > is there a chance to set collation in Valentina Studio? > > Now - no, but I think b10 will have this. > > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From sunshine at public.kherson.ua Mon Jul 4 11:34:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 4 03:34:33 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: Message-ID: On 7/4/05 11:24 AM, "Heinrich Ruoff" wrote: > any clue when it will be available? This is question to Jochen and Valentina-studio list -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From j.peters at valentina-db.de Mon Jul 4 10:38:09 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Mon Jul 4 03:38:19 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: References: Message-ID: <79E330FF-5F3E-4576-A4A2-9B334460D3CB@valentina-db.de> Hi Heinrich, i hope to get the new release out during this week. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de Am 04.07.2005 um 10:24 schrieb Heinrich Ruoff: > any clue when it will be available? > > On 7/4/05, Ruslan Zasukhin wrote: > >> On 7/4/05 2:00 AM, "Heinrich Ruoff" wrote: >> >> >>> is there a chance to set collation in Valentina Studio? >>> >> >> Now - no, but I think b10 will have this. >> >> >> >> -- >> Best regards, >> >> Ruslan Zasukhin >> VP Engineering and New Technology >> Paradigma Software, Inc >> >> Valentina - Joining Worlds of Information >> http://www.paradigmasoft.com >> >> [I feel the need: the need for speed] >> >> >> _______________________________________________ >> Valentina-beta mailing list >> Valentina-beta@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina-beta >> >> > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > > From jda at his.com Mon Jul 4 08:12:45 2005 From: jda at his.com (jda) Date: Mon Jul 4 07:12:56 2005 Subject: 2.0.4 final? In-Reply-To: References: Message-ID: Hi Ruslan, I'm pleased to say that with the exception of the problem with altering indexedbywords status in tables (which is fixed in the next update) I and my users haven't run into any more problems with fc13. Will there be an fc14, or are you finding this stable enough to release as 2.0.4 final? And if so, any idea when? Thanks, Jon From sunshine at public.kherson.ua Mon Jul 4 17:14:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 4 09:14:38 2005 Subject: 2.0.4 final? In-Reply-To: Message-ID: On 7/4/05 3:12 PM, "jda" wrote: Hi Jon, > I'm pleased to say that with the exception of the problem with > altering indexedbywords status in tables (which is fixed in the next > update) I and my users haven't run into any more problems with fc13. Great. > Will there be an fc14, or are you finding this stable enough to > release as 2.0.4 final? And if so, any idea when? Today we have fix 2 more bugs. Ivan yet works for one bug for Frank project. We have target tomorrow Evening make build of 2.0.4 final. This is USA morning. Today we will make yet fc14 I think. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From erikmh at gmail.com Mon Jul 4 16:32:41 2005 From: erikmh at gmail.com (Erik Mueller-Harder) Date: Mon Jul 4 15:32:50 2005 Subject: Altering table In-Reply-To: References: Message-ID: Hi, Ruslan -- On 02/07/05, Ruslan Zasukhin wrote: > On 7/3/05 1:02 AM, "jda" wrote: > > >> For V4RB people have ask remove _ > >> and use not captial chars. > >> > >> I think it looks as > >> > >> kErrFieldWrongAttribute With fc13, I am suddenly getting this error (#525583) when I am not expecting it. The full text associated with it for me is: Field "defaultLanguageCode", attribute "MaxLength" is not matched with schema-stored attribute. The field is defined as VString[3], thus: defaultLanguageCode = new VString("defaultLanguageCode", 3) All I have to do to re-create the error is create a new database with my application, then close and re-open the database. I don't "alter" or change the length of the field anywhere in code. Any suggestions of what to look for? Or do you thinkthis could be a problem on your end, since the exact same code has been working fine for me for months? Thanks for any thoughts you might have! -- Erik From sunshine at public.kherson.ua Tue Jul 5 10:40:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 5 02:40:24 2005 Subject: ATTENTION: V4RB fc13 is more strict // Altering table In-Reply-To: Message-ID: On 7/4/05 11:32 PM, "Erik Mueller-Harder" wrote: > With fc13, I am suddenly getting this error (#525583) when I am not > expecting it. The full text associated with it for me is: > > Field "defaultLanguageCode", attribute "MaxLength" is not matched with > schema-stored attribute. > > The field is defined as VString[3], thus: > > defaultLanguageCode = new VString("defaultLanguageCode", 3) > > All I have to do to re-create the error is create a new database with > my application, then close and re-open the database. > > I don't "alter" or change the length of the field anywhere in code. > > Any suggestions of what to look for? Or do you thinkthis could be a > problem on your end, since the exact same code has been working fine > for me for months? > > Thanks for any thoughts you might have! Hi Erik, We have discuss this with Jon, already. Point is that you use classes. You have write in class CreateStringField( "a", 3 ) Now in some way you change length A) in db itself using vsutdio B) in your code, So now your code say e.g. Len = 5, But db you try open has len = 3 In the past Valentina was quite on this. Now it complains. We have decide that this is good idea, because you can on development stage to see non synchronization. > I don't "alter" or change the length of the field anywhere in code. You have change it before somehow. It looks you use the same db file for long time, right ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From erikmh at gmail.com Tue Jul 5 09:38:48 2005 From: erikmh at gmail.com (Erik Mueller-Harder) Date: Tue Jul 5 08:38:56 2005 Subject: ATTENTION: V4RB fc13 is more strict // Altering table In-Reply-To: References: Message-ID: On 05/07/05, Ruslan Zasukhin wrote: > On 7/4/05 11:32 PM, "Erik Mueller-Harder" wrote: > > Hi Erik, > > We have discuss this with Jon, already. > Point is that you use classes. > > You have write in class > > CreateStringField( "a", 3 ) > > Now in some way you change length > > A) in db itself using vsutdio > B) in your code, No. > So now your code say e.g. Len = 5, > But db you try open has len = 3 No. > In the past Valentina was quite on this. > Now it complains. That's good. > We have decide that this is good idea, because you can on development stage > to see non synchronization. > > > I don't "alter" or change the length of the field anywhere in code. > > You have change it before somehow. > > It looks you use the same db file for long time, right ? No. As I said, all I have to do to re-create the problem is to create a new database, close it, and open it. I'll check my field definitions yet again, but I don't make any changes or alterations in code. Thanks, -- Erik From sunshine at public.kherson.ua Tue Jul 5 17:02:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 5 09:02:17 2005 Subject: ATTENTION: V4RB fc13 is more strict // Altering table In-Reply-To: Message-ID: On 7/5/05 4:38 PM, "Erik Mueller-Harder" wrote: >> It looks you use the same db file for long time, right ? > > No. As I said, all I have to do to re-create the problem is to create > a new database, close it, and open it. > > I'll check my field definitions yet again, but I don't make any > changes or alterations in code. Can you try reproduce this URGENTLY, Erik ? In some small project ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From erikmh at gmail.com Tue Jul 5 10:23:14 2005 From: erikmh at gmail.com (Erik Mueller-Harder) Date: Tue Jul 5 09:29:34 2005 Subject: ATTENTION: V4RB fc13 is more strict // Altering table In-Reply-To: References: Message-ID: On 05/07/05, Ruslan Zasukhin wrote: > On 7/5/05 4:38 PM, "Erik Mueller-Harder" wrote: > > >> It looks you use the same db file for long time, right ? > > > > No. As I said, all I have to do to re-create the problem is to create > > a new database, close it, and open it. > > > > I'll check my field definitions yet again, but I don't make any > > changes or alterations in code. > > Can you try reproduce this URGENTLY, Erik ? > > In some small project ? Got it, and it's pretty strange. Here's what I've been doing, and it consistently creates the problem: I create a new database via V4RB, using the same name as an existing (closed) database. I receive the standard Macintosh "Are you sure you want to replace this file" dialog box, and I click "OK." V4RB creates the new database (mode 3); it really acts like a new empty database, and I receive no errors. If I close it and re-open it, however, I get the error I reported earlier. If, however, I delete the old database first and follow the same procedure, no error is generated. My guess, therefore, is that something from the old database schema is somehow getting carried forward (or not erased, or something) by either V4RB or the Finder when a new database replaces it. This seems especially likely because I *did* in fact change the length of the defaultLanguageCode field two or three months ago. I hope this helps.... -- Erik From IvanSmahin at public.kherson.ua Tue Jul 5 17:42:21 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Tue Jul 5 09:42:23 2005 Subject: ATTENTION: V4RB fc13 is more strict // Altering table In-Reply-To: References: Message-ID: <176442158.20050705174221@public.kherson.ua> Hello Erik, Tuesday, July 5, 2005, 5:23:14 PM, you wrote: EMH> Got it, and it's pretty strange. Here's what I've been doing, and it EMH> consistently creates the problem: EMH> I create a new database via V4RB, using the same name as an existing EMH> (closed) database. I receive the standard Macintosh "Are you sure you EMH> want to replace this file" dialog box, and I click "OK." V4RB creates EMH> the new database (mode 3); it really acts like a new empty database, EMH> and I receive no errors. If I close it and re-open it, however, I get EMH> the error I reported earlier. EMH> If, however, I delete the old database first and follow the same EMH> procedure, no error is generated. EMH> My guess, therefore, is that something from the old database schema is EMH> somehow getting carried forward (or not erased, or something) by EMH> either V4RB or the Finder when a new database replaces it. This seems EMH> especially likely because I *did* in fact change the length of the EMH> defaultLanguageCode field two or three months ago. This message is about "static" ("classes") way only. During db.Open it is checked that all schema-stored attributes are the same as defined in your objects created before this call. Obviously the schema contains not 3 but something else. You could reach the schema-based field length opening your db in the viSQL or VStudio. I mean opening in usual, "non-static" way. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From erikmh at gmail.com Tue Jul 5 10:54:25 2005 From: erikmh at gmail.com (Erik Mueller-Harder) Date: Tue Jul 5 09:54:35 2005 Subject: ATTENTION: V4RB fc13 is more strict // Altering table In-Reply-To: <176442158.20050705174221@public.kherson.ua> References: <176442158.20050705174221@public.kherson.ua> Message-ID: On 05/07/05, Ivan Smahin wrote: > Hello Erik, > > Tuesday, July 5, 2005, 5:23:14 PM, you wrote: > > EMH> Got it, and it's pretty strange. Here's what I've been doing, and it > EMH> consistently creates the problem: > > EMH> I create a new database via V4RB, using the same name as an existing > EMH> (closed) database. I receive the standard Macintosh "Are you sure you > EMH> want to replace this file" dialog box, and I click "OK." V4RB creates > EMH> the new database (mode 3); it really acts like a new empty database, > EMH> and I receive no errors. If I close it and re-open it, however, I get > EMH> the error I reported earlier. > > EMH> If, however, I delete the old database first and follow the same > EMH> procedure, no error is generated. > > EMH> My guess, therefore, is that something from the old database schema is > EMH> somehow getting carried forward (or not erased, or something) by > EMH> either V4RB or the Finder when a new database replaces it. This seems > EMH> especially likely because I *did* in fact change the length of the > EMH> defaultLanguageCode field two or three months ago. > > This message is about "static" ("classes") way only. > > During db.Open it is checked that all schema-stored attributes are the same as > defined in your objects created before this call. Right. My point, though, is that the db has been *replaced*. The old schema shouldn't exist at all. > Obviously the schema contains not 3 but something else. You could reach the > schema-based field length opening your db in the viSQL or VStudio. > I mean opening in usual, "non-static" way. No. viSQL shows a length of 3, which is correct. -- Erik From IvanSmahin at public.kherson.ua Tue Jul 5 17:59:34 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Tue Jul 5 09:59:36 2005 Subject: ATTENTION: V4RB fc13 is more strict // Altering table In-Reply-To: References: <176442158.20050705174221@public.kherson.ua> Message-ID: <1649904803.20050705175934@public.kherson.ua> Hello Erik, Tuesday, July 5, 2005, 5:54:25 PM, you wrote: EMH> Right. My point, though, is that the db has been *replaced*. The old EMH> schema shouldn't exist at all. And your "statically" created field object contains 3 also? Check it please. >> Obviously the schema contains not 3 but something else. You could reach the >> schema-based field length opening your db in the viSQL or VStudio. >> I mean opening in usual, "non-static" way. EMH> No. viSQL shows a length of 3, which is correct. Could you send me this project for testing please? -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From IvanSmahin at public.kherson.ua Tue Jul 5 18:05:00 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Tue Jul 5 10:05:13 2005 Subject: ATTENTION: V4RB fc13 is more strict // Altering table In-Reply-To: References: <176442158.20050705174221@public.kherson.ua> Message-ID: <526185224.20050705180500@public.kherson.ua> Hello Erik, Tuesday, July 5, 2005, 5:54:25 PM, you wrote: FYI I've just checked our Classes_way/Table_Create example. All works fine. Could you try this example on your side please? -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From erikmh at gmail.com Tue Jul 5 11:02:39 2005 From: erikmh at gmail.com (Erik Mueller-Harder) Date: Tue Jul 5 10:09:33 2005 Subject: ATTENTION: V4RB fc13 is more strict // Altering table In-Reply-To: <1649904803.20050705175934@public.kherson.ua> References: <176442158.20050705174221@public.kherson.ua> <1649904803.20050705175934@public.kherson.ua> Message-ID: On 05/07/05, Ivan Smahin wrote: > Hello Erik, > > Tuesday, July 5, 2005, 5:54:25 PM, you wrote: > > EMH> Right. My point, though, is that the db has been *replaced*. The old > EMH> schema shouldn't exist at all. > > And your "statically" created field object contains 3 also? > Check it please. Yes. Obviously, I've checked it several times now. > >> Obviously the schema contains not 3 but something else. You could reach the > >> schema-based field length opening your db in the viSQL or VStudio. > >> I mean opening in usual, "non-static" way. > > EMH> No. viSQL shows a length of 3, which is correct. > > Could you send me this project for testing please? OK. But you'll need a copy of the old database too (to replace). I'll send you one along with the project. I should send this directly to you, or to Ruslan? -- Erik From IvanSmahin at public.kherson.ua Tue Jul 5 18:16:04 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Tue Jul 5 10:16:09 2005 Subject: ATTENTION: V4RB fc13 is more strict // Altering table In-Reply-To: References: <176442158.20050705174221@public.kherson.ua> <1649904803.20050705175934@public.kherson.ua> Message-ID: <1353627394.20050705181604@public.kherson.ua> Hello Erik, Tuesday, July 5, 2005, 6:02:39 PM, you wrote: EMH> OK. But you'll need a copy of the old database too (to replace). I'll EMH> send you one along with the project. I should send this directly to EMH> you, or to Ruslan? Send it to me please. But note that I've run our example a number time including over-existed-database creation. There is no problem. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From erikmh at gmail.com Tue Jul 5 11:21:08 2005 From: erikmh at gmail.com (Erik Mueller-Harder) Date: Tue Jul 5 10:21:14 2005 Subject: ATTENTION: V4RB fc13 is more strict // Altering table In-Reply-To: <526185224.20050705180500@public.kherson.ua> References: <176442158.20050705174221@public.kherson.ua> <526185224.20050705180500@public.kherson.ua> Message-ID: Hello, Ivan -- On 05/07/05, Ivan Smahin wrote: > Hello Erik, > > Tuesday, July 5, 2005, 5:54:25 PM, you wrote: > > FYI I've just checked our Classes_way/Table_Create example. > All works fine. Could you try this example on your side please? Yes, I just tried that, too. I changed the database mode to 3, changed the length of the "name" string field to 2, and ran the application to create a new database. Then I changed the string field's length to 3 in code, re-ran the program, and replaced the database with a new one. Finally, I closed the the new database and re-opened it, expecting a #525538 error -- and didn't get one. Then I had a sudden, sinking feeling. I searched around on my hard drive and found that I had had two copies of my database. The "New Database" and "Open Database" dialog boxes in my app had apparently been showing different folders (thanks to an application called DefaultFolder -- which I normally love), and I hadn't noticed.... In short, I was dealing with two different database files. I'm terribly sorry for wasting your time, and Ruslan's, and that of everyone else who is still following this thread. I'll just go bury my head in the sand now.... With thanks and apologies, -- Erik From ernestogiannotta at tiscalinet.it Wed Jul 6 00:48:13 2005 From: ernestogiannotta at tiscalinet.it (Erne) Date: Tue Jul 5 17:48:31 2005 Subject: V4RB - DB method that evaluates type of expression Message-ID: <73641BBD-5890-4D82-9C05-AE8CD651140E@tiscalinet.it> Hello Valentina Team, I'd like to have a function in a Valentina Database Object that I can pass an expression to and get the type of data returned by that expression it's like asking for a field Type property, but applied to an expression e.g. I call the function (let's call it DataType(expression)): iType = mDB.DataType("Concat(TableClients.Name, TableClients.Age)") and I get a EVDataType.kTypeString value (yep! EVDataType is a brand new set of enum constants) or iType = mDB.DataType("Month(TableClients.Birthday)") and I get a EVDataType.kTypeInteger value of course a vException error code should be returned if the expression is wrong and can't be evaluated (just as it does now when we try to pass a wrong expression to a MethodField) this could be useful for many things like creating abstract query classes pass them parameters as variants and let them build a proper SQL query expression What do you think, feed it to Mantis :?) Cool Runnings, Erne. / |\ |\ | / ? |/ | \ | ? \ |\ | \| \ From sunshine at public.kherson.ua Wed Jul 6 09:46:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 6 01:46:45 2005 Subject: V4RB - DB method that evaluates type of expression In-Reply-To: <73641BBD-5890-4D82-9C05-AE8CD651140E@tiscalinet.it> Message-ID: On 7/6/05 1:48 AM, "Erne" wrote: Hi Erne, Have you note that actually functions of Valentina can return result in any type? Yes, on default, RETURN TYPE of "Month(TableClients.Birthday)" is INT. But you still can ask it as string, CreateStringField( "a", 50, "Month(TableClients.Birthday)" ) And this will work. Or use that result as argument for next sting function, e.g. Concat() So I do not see yet what task you can solve using this new function > Hello Valentina Team, > > I'd like to have a function in a Valentina Database Object > that I can pass an expression to and get the type of data returned by > that expression > > it's like asking for a field Type property, but applied to an expression > > e.g. > I call the function (let's call it DataType(expression)): > > iType = mDB.DataType("Concat(TableClients.Name, TableClients.Age)") > > and I get a EVDataType.kTypeString value > (yep! EVDataType is a brand new set of enum constants) > > or > > iType = mDB.DataType("Month(TableClients.Birthday)") > > and I get a EVDataType.kTypeInteger value > > of course a vException error code should be returned > if the expression is wrong and can't be evaluated > (just as it does now when we try to pass a wrong expression to a > MethodField) > > > > this could be useful for many things > like creating abstract query classes > pass them parameters as variants > and let them build a proper SQL query expression > > What do you think, feed it to Mantis :?) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ernestogiannotta at tiscalinet.it Wed Jul 6 12:07:24 2005 From: ernestogiannotta at tiscalinet.it (erne) Date: Wed Jul 6 05:07:55 2005 Subject: V4RB - DB method that evaluates type of expression In-Reply-To: Message-ID: Hi Ruslan, thanks for listening, on 6-07-2005 8:46, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > On 7/6/05 1:48 AM, "Erne" wrote: > > Hi Erne, > > Have you note that actually functions of Valentina can return result in any > type? > > Yes, on default, RETURN TYPE of "Month(TableClients.Birthday)" is INT. > > But you still can ask it as string, > > CreateStringField( "a", 50, "Month(TableClients.Birthday)" ) > > And this will work. > Or use that result as argument for next sting function, e.g. Concat() > > So I do not see yet what task you can solve using this new function > very true! so, I can also ask to SQL either Select * from TableClients where Month(TableClients.Birthday) = 3 Select * from TableClients where Month(TableClients.Birthday) = "3" and get away with both? I love that :!) Cool Runnings, Erne. > >> Hello Valentina Team, >> >> I'd like to have a function in a Valentina Database Object >> that I can pass an expression to and get the type of data returned by >> that expression >> >> it's like asking for a field Type property, but applied to an expression >> >> e.g. >> I call the function (let's call it DataType(expression)): >> >> iType = mDB.DataType("Concat(TableClients.Name, TableClients.Age)") >> >> and I get a EVDataType.kTypeString value >> (yep! EVDataType is a brand new set of enum constants) >> >> or >> >> iType = mDB.DataType("Month(TableClients.Birthday)") >> >> and I get a EVDataType.kTypeInteger value >> >> of course a vException error code should be returned >> if the expression is wrong and can't be evaluated >> (just as it does now when we try to pass a wrong expression to a >> MethodField) >> >> >> >> this could be useful for many things >> like creating abstract query classes >> pass them parameters as variants >> and let them build a proper SQL query expression >> >> What do you think, feed it to Mantis :?) -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From jda at his.com Wed Jul 6 11:59:21 2005 From: jda at his.com (jda) Date: Wed Jul 6 10:59:31 2005 Subject: 2.0.4 final? In-Reply-To: References: Message-ID: Hi Ruslan, When do you think... Thanks, Jon From sunshine at public.kherson.ua Wed Jul 6 19:24:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 6 11:24:59 2005 Subject: 2.0.4 final? In-Reply-To: Message-ID: On 7/6/05 6:59 PM, "jda" wrote: > Hi Ruslan, > > When do you think... Today 6-8 hours later. If all right. We are starting build. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Wed Jul 6 16:44:15 2005 From: jda at his.com (jda) Date: Wed Jul 6 15:44:24 2005 Subject: Rescuing a db with viSQL In-Reply-To: References: Message-ID: Hi Ruslan, I have a user with a corrupted db and NO backup. I can open it in viSQL, but if I do a search -> endless spinning beachball. Can I dump/load it from viSQL? If so, what would the commands be (I've only done this before from an app)? Thanks, Jon From sunshine at public.kherson.ua Wed Jul 6 23:49:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 6 15:49:29 2005 Subject: Rescuing a db with viSQL In-Reply-To: Message-ID: On 7/6/05 11:44 PM, "jda" wrote: Hi Jon, > Hi Ruslan, > > I have a user with a corrupted db and NO backup. I can open it in > viSQL, but if I do a search -> endless spinning beachball. > > Can I dump/load it from viSQL? If so, what would the commands be > (I've only done this before from an app)? You can open it in example API/Database_Dumo_XML -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Wed Jul 6 17:01:18 2005 From: jda at his.com (jda) Date: Wed Jul 6 16:01:33 2005 Subject: Rescuing a db with viSQL In-Reply-To: References: Message-ID: > > Can I dump/load it from viSQL? If so, what would the commands be >> (I've only done this before from an app)? > >You can open it in example API/Database_Dumo_XML > Good try. But I get an error when make a new db from the xml file: XML parser error: not well formed (invalid token) line: 608, position 19 Would it be of help to send you the xml dump? Or the file? JOn From sunshine at public.kherson.ua Thu Jul 7 00:33:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 6 16:33:33 2005 Subject: Rescuing a db with viSQL In-Reply-To: Message-ID: On 7/7/05 12:01 AM, "jda" wrote: >>> Can I dump/load it from viSQL? If so, what would the commands be >>> (I've only done this before from an app)? >> >> You can open it in example API/Database_Dumo_XML >> > > Good try. But I get an error when make a new db from the xml file: > > XML parser error: not well formed (invalid token) line: 608, position 19 > > Would it be of help to send you the xml dump? Or the file? Jon, I have told you about this problem before. This is that invisible characters. Which do not play any role, But on some reason present in your dbs. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Wed Jul 6 17:59:32 2005 From: jda at his.com (jda) Date: Wed Jul 6 16:59:39 2005 Subject: Rescuing a db with viSQL In-Reply-To: References: Message-ID: >On 7/7/05 12:01 AM, "jda" wrote: > >>>> Can I dump/load it from viSQL? If so, what would the commands be >>>> (I've only done this before from an app)? >>> >>> You can open it in example API/Database_Dumo_XML >>> >> >> Good try. But I get an error when make a new db from the xml file: >> >> XML parser error: not well formed (invalid token) line: 608, position 19 >> >> Would it be of help to send you the xml dump? Or the file? > >Jon, I have told you about this problem before. > >This is that invisible characters. Which do not play any role, >But on some reason present in your dbs. > Users can enter what they want, Ruslan, with copy/paste. I thought you had fixed that, though. And why do you think that's the problem -- is that the only malformed error that can be generated? Jon From bkeeney at everestkc.net Wed Jul 6 21:33:20 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Wed Jul 6 21:34:52 2005 Subject: [V4RB 2.04 Final] Crash with Mac Office Server 2.04 In-Reply-To: <20050706210154.6F35434DFD4@edison.macserve.net> References: <20050706210154.6F35434DFD4@edison.macserve.net> Message-ID: <5054BD07-4AC0-41CA-BEEC-E2E430DDB180@everestkc.net> Using the example project 'Valentina Server Utility' the application hard crashes every time I try attempt to GetVariable from the server. Example line of code below: sysCatalog = vsrv.GetVariable( "SystemCatalog" ) Has something changed that hasn't made it's way into the example projects and documentation? Thanks, Bob Keeney From sunshine at public.kherson.ua Thu Jul 7 09:38:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 7 01:38:33 2005 Subject: Rescuing a db with viSQL In-Reply-To: Message-ID: On 7/7/05 12:59 AM, "jda" wrote: > Users can enter what they want, Ruslan, with copy/paste. I thought > you had fixed that, though. And why do you think that's the problem > -- is that the only malformed error that can be generated? Problem is that XML parser EXPAT do not like this and stop execution. We will try fix this in 2 ways: A) on dump somehow transform this characters. but still cannot find info into what. B) we going very fast develop db.Clone() feature. to avoid at all need of SQL or XML dumps if we need rebuild db. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jul 7 09:54:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 7 01:55:26 2005 Subject: [V4RB 2.04 Final] Crash with Mac Office Server 2.04 In-Reply-To: <5054BD07-4AC0-41CA-BEEC-E2E430DDB180@everestkc.net> Message-ID: On 7/7/05 5:33 AM, "Bob Keeney" wrote: Hi Bob, > Using the example project 'Valentina Server Utility' the application > hard crashes every time I try attempt to GetVariable from the > server. Example line of code below: > > sysCatalog = vsrv.GetVariable( "SystemCatalog" ) > > Has something changed that hasn't made it's way into the example > projects and documentation? Argh. :-( 2 days ago we have work on this issue, but for V4MD. V4RB and V4md work in different encodings with server. Probably something broken in V4RB now. Okay. May be we can do the next step. We will start now do db.Clone() and in few nearest days make 2.0.5 release with fixes of some found problems and this new feature. I think it will be very useful for Valentina developers. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From miescher at bizdata.com Thu Jul 7 18:26:51 2005 From: miescher at bizdata.com (John W. Miescher) Date: Thu Jul 7 11:27:05 2005 Subject: The mystery crash and fault tolerance Message-ID: <000201c58310$af062ca0$0201a8c0@JOHNHP> Dear Ruslan, our problems are not over yet. While I found some work-arounds for problems cited earlier, I continue to be hit by surprise crashes. I just made a typing mistake that would ask for or write to a field with a name that does not exist in the table. I'm guilty, I know. But the next time I launched the program it instantly crashed because the DataBase (or at least one of its tables) was corrupted beyond repair. I had to re-load the backup copy. It still opened in Valentina Studio, but as you know, my version does not do the diagnose bit - it just sits there and lets you wait while VS is endlessly busy taking up CPU time. This is what I call absence of fault tolerance - I'm just afraid of encountering more such surprises as we go along. best regards, john m. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050707/27220d93/attachment.html From rjb at robelko.com Thu Jul 7 18:49:23 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu Jul 7 11:50:04 2005 Subject: Rescuing a db with viSQL In-Reply-To: References: Message-ID: >> > Can I dump/load it from viSQL? If so, what would the commands be >>> (I've only done this before from an app)? >> >>You can open it in example API/Database_Dumo_XML >> > >Good try. But I get an error when make a new db from the xml file: > >XML parser error: not well formed (invalid token) line: 608, position 19 > >Would it be of help to send you the xml dump? Or the file? > >JOn Have you tried opening the xml file in a text editor and going to that line and removing the offending character? You can at least see what that character is. I once managed to rescue a database by dutifully removing the offending characters ( a few unprintables) which users or some glitch somehow got into fields. Robert From jda at his.com Thu Jul 7 14:18:58 2005 From: jda at his.com (jda) Date: Thu Jul 7 13:19:08 2005 Subject: Rescuing a db with viSQL In-Reply-To: References: Message-ID: >> > >Have you tried opening the xml file in a text editor and going to >that line and removing the offending character? You can at least see >what that character is. > >I once managed to rescue a database by dutifully removing the >offending characters ( a few unprintables) which users or some >glitch somehow got into fields. > Hi Robert, thanks, yes I did. I opened it in TextWrangler, zapped Germlins, and was able to restore the db... Jon From sunshine at public.kherson.ua Thu Jul 7 21:42:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 7 13:42:29 2005 Subject: The mystery crash and fault tolerance In-Reply-To: <000201c58310$af062ca0$0201a8c0@JOHNHP> Message-ID: On 7/7/05 7:26 PM, "John W. Miescher" wrote: > Dear Ruslan, > our problems are not over yet. While I found some work-arounds for problems > cited earlier, I continue to be hit by surprise crashes. > > I just made a typing mistake that would ask for or write to a field with a > name that does not exist in the table. I'm guilty, I know. But the next time I > launched the program it instantly crashed because the DataBase (or at least > one of its tables) was corrupted beyond repair. I had to re-load the backup > copy. > > It still opened in Valentina Studio, but as you know, my version does not do > the diagnose bit - it just sits there and lets you wait while VS is endlessly > busy taking up CPU time. > > This is what I call absence of fault tolerance - I'm just afraid of > encountering more such surprises as we go along. Hi John, IF you know some way to corrupt db, please show us this way. We need STEPS to reproduce to fix any problem. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Thu Jul 7 15:45:58 2005 From: jda at his.com (jda) Date: Thu Jul 7 14:46:03 2005 Subject: Returning a partial string In-Reply-To: References: Message-ID: Hi Ruslan, I have a text field with a list of names, separated by return characters. I'd like to be able to sort by just the *1st* name, ignoring the others. Of course, if there is just one name (which would not end in a return) I want to sort by that. How to put this all in one sql statement? SELECT * from table ORDER BY Left(textField, (LOCATE(chr(13), textfield))) looks like it might retrieve the first name, but would get nothing if there was no return char. Any ideas? Thanks, Jon From sunshine at public.kherson.ua Thu Jul 7 23:07:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 7 15:07:49 2005 Subject: Returning a partial string In-Reply-To: Message-ID: On 7/7/05 10:45 PM, "jda" wrote: Hi John, > I have a text field with a list of names, separated by return characters. > > I'd like to be able to sort by just the *1st* name, ignoring the > others. Of course, if there is just one name (which would not end in > a return) I want to sort by that. > > How to put this all in one sql statement? > > SELECT * from table ORDER BY Left(textField, (LOCATE(chr(13), textfield))) > > looks like it might retrieve the first name, but would get nothing if > there was no return char. > > Any ideas? First of all, I'd suggest put this formula into Table Method, Because they you get permanent index on it. Second, I think it needs put formula into SELCT And use ORDER 12 Or give it in select alias name SELECT Left(textField, (LOCATE(chr(13), textfield))) as 'aaa' FROM T ORDER BY aaa -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Thu Jul 7 16:19:14 2005 From: jda at his.com (jda) Date: Thu Jul 7 15:19:25 2005 Subject: Returning a partial string In-Reply-To: References: Message-ID: > > >> SELECT * from table ORDER BY Left(textField, (LOCATE(chr(13), textfield))) >> >> looks like it might retrieve the first name, but would get nothing if >> there was no return char. >> >> Any ideas? > >First of all, I'd suggest put this formula into Table Method, >Because they you get permanent index on it. OK, although speed here is not important. Not having to alter existing tables is a plus. > >Second, I think it needs put formula into SELCT >And use > > ORDER 12 ORDER 12? Sorry, I don't understand. > >Or give it in select alias name > >SELECT Left(textField, (LOCATE(chr(13), textfield))) as 'aaa' >FROM T >ORDER BY aaa > Um, but I need to recover all fields. And actually I'll be doing several sorts at once: ORDER BY Left(textField, (LOCATE(chr(13), textfield))), textfield2, textfield3 Also, if LOCATE(chr(13)) = 0 (if there is only one name) then the sort will be on nothing. I think this is going to require a lot of thought. Thanks. Jon From sunshine at public.kherson.ua Thu Jul 7 23:25:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 7 15:26:04 2005 Subject: Returning a partial string In-Reply-To: Message-ID: On 7/7/05 11:19 PM, "jda" wrote: >> First of all, I'd suggest put this formula into Table Method, >> Because they you get permanent index on it. > > OK, although speed here is not important. Not having to alter > existing tables is a plus. Numeric position in the SELECT >> Second, I think it needs put formula into SELCT >> And use >> >> ORDER 12 > > ORDER 12? Sorry, I don't understand. > >> >> Or give it in select alias name >> >> SELECT Left(textField, (LOCATE(chr(13), textfield))) as 'aaa' >> FROM T >> ORDER BY aaa -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From erikmh at gmail.com Thu Jul 7 17:21:08 2005 From: erikmh at gmail.com (Erik Mueller-Harder) Date: Thu Jul 7 16:21:15 2005 Subject: paradigma store glitches In-Reply-To: <20050629165203.BE93C17D14D@spatula.dreamhost.com> References: <20050629165203.BE93C17D14D@spatula.dreamhost.com> Message-ID: It's time for me to officially upgrade, as well. I see the upgrade option I want on Paradigma's site, and I see how to add it to my cart and begin the check-out process. What I can't see, though, is any way to do it via a secure server. I really do not want to enter even my e-mail address (let alone my credit card information) via unsecure http. Am I missing a link? Or are things set up incorrectly? Thanks, -- Erik From ruslan at paradigmasoft.com Fri Jul 8 01:08:05 2005 From: ruslan at paradigmasoft.com (Ruslan Zasukhin) Date: Thu Jul 7 17:30:05 2005 Subject: VREV Examples In-Reply-To: <79d5139da81e5520b4f488f1556980db@mangomultimedia.com> Message-ID: On 7/7/05 10:55 PM, "Trevor DeVore" wrote: >> We have parameter IOEncoding although...Hmm. >> So we in general easy can tell to V4REV that ALL strings it gets are in >> UTF8..and convert them. We do conversion right now also from char* to >> utf16. >> >> Interesting idea. We can implement this in few hours... > > I don't think it is a good idea to assume everything is UTF8 since > usually it is not. Not assume! Developer will be able set it using db.IOEncoding = "UTF8" > In the examples I showed I was manually converting > Revolution UTF16 text from a field into UTF8 and then inserting the > UTF8 data into the database. then RevDB always assume it get UTF8 strings? >I assume that revDB doesn't do any > manipulation of the string and just passes it to MySQL but I don't know > for sure. MySQL then passes it back the UTF8 data untouched so I then > convert the UTF8 string to UTF16 and assign that to the field for > display. Right. The same we can do for OUR API also. > It appears that this technique won't work with V4REV since you are > converting char* to UTF16 on insert and UTF16 to char* when fetching, > correct? Won't this conversion mangle my UTF8 string? Right now no. but if we add into game db.IOEncoding = "UTF8" Then this can start work. > In the end, if V4REV doesn't allow the developer to pass in Unicode > text of some sort and get it back out as we passed it in then I don't > see how we can use it for storing Japanese, Chinese, etc. Am I missing > something? We have not work yet on this problem, because Mark have told that in 2.8 Revolution will allow us use UTF in externals. Trevor. Everything is simple. * now Valentina get char* string and think this is MacRoman on mac., * if you will change that using db.IOEncoding = "UTF8" Then Valentina will think that each string you give it is UTF8. I think quite logical. Of course it is cool if future Revolution will allow us just send wchar_t -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Fri Jul 8 17:30:40 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jul 8 10:30:46 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: <79E330FF-5F3E-4576-A4A2-9B334460D3CB@valentina-db.de> References: <79E330FF-5F3E-4576-A4A2-9B334460D3CB@valentina-db.de> Message-ID: Hi Jochen, how is it going with the new release? Any chance that it will be available until monday? Otherwise I have to find a workaround to import my sql statements without Studio to keep collation. thanks Heinrich On 7/4/05, Jochen Peters wrote: > Hi Heinrich, > > i hope to get the new release out during this week. > > -- > Best regards, > Jochen Peters > PIIT GmbH > > ------------------------------------ > http://www.valentina-db.de > > Am 04.07.2005 um 10:24 schrieb Heinrich Ruoff: > > > any clue when it will be available? > > > > On 7/4/05, Ruslan Zasukhin wrote: > > > >> On 7/4/05 2:00 AM, "Heinrich Ruoff" wrote: > >> > >> > >>> is there a chance to set collation in Valentina Studio? > >>> > >> > >> Now - no, but I think b10 will have this. > >> > >> > >> > >> -- > >> Best regards, > >> > >> Ruslan Zasukhin > >> VP Engineering and New Technology > >> Paradigma Software, Inc > >> > >> Valentina - Joining Worlds of Information > >> http://www.paradigmasoft.com > >> > >> [I feel the need: the need for speed] > >> > >> > >> _______________________________________________ > >> Valentina-beta mailing list > >> Valentina-beta@lists.macserve.net > >> http://lists.macserve.net/mailman/listinfo/valentina-beta > >> > >> > > _______________________________________________ > > Valentina-beta mailing list > > Valentina-beta@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina-beta > > > > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From jda at his.com Fri Jul 8 12:08:21 2005 From: jda at his.com (jda) Date: Fri Jul 8 11:08:36 2005 Subject: Returning a partial string In-Reply-To: References: Message-ID: Hi Ruslan, So far, no success. Here is what I tried: I added this to the table: firstAuthorSortMethod = CreateTextField("firstAuthorSortMethod", 128, EVFlag.fNullable, "Left(authorsSortMethod, (LOCATE(chr(13), authorsSortMethod)))") where authorsSortMethod = CreateTextField("authorsSortMethod", 128, EVFlag.fNullable, "left(authors, 256)") Then in my code, I used: select firstAuthorSortMethod,thedateSortMethod, * from thereferences where hit>0 ORDER BY firstAuthorSortMethod,thedateSortMethod (I also tried ORDER BY 1,thedateSortMethod) The result is not sorted at all (or at least there is no pattern I can see). What am I doing wrong? Jon > > SELECT * from table ORDER BY Left(textField, (LOCATE(chr(13), textfield))) >> >> looks like it might retrieve the first name, but would get nothing if >> there was no return char. >> >> Any ideas? > >First of all, I'd suggest put this formula into Table Method, >Because they you get permanent index on it. > >Second, I think it needs put formula into SELCT >And use > > ORDER 12 > >Or give it in select alias name > > >SELECT Left(textField, (LOCATE(chr(13), textfield))) as 'aaa' >FROM T >ORDER BY aaa From j.peters at valentina-db.de Fri Jul 8 19:01:19 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Fri Jul 8 12:01:31 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: References: <79E330FF-5F3E-4576-A4A2-9B334460D3CB@valentina-db.de> Message-ID: <2A6AB955-6278-4593-BD8C-0650C5839C56@valentina-db.de> Hi Heinrich, yes - there is a good chance! I will try to get it out on Monday, okay? -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de Am 08.07.2005 um 17:30 schrieb Heinrich Ruoff: > Hi Jochen, > > how is it going with the new release? > Any chance that it will be available until monday? > > Otherwise I have to find a workaround to import my > sql statements without Studio to keep collation. > > thanks > Heinrich > > > On 7/4/05, Jochen Peters wrote: > >> Hi Heinrich, >> >> i hope to get the new release out during this week. >> >> -- >> Best regards, >> Jochen Peters >> PIIT GmbH >> >> ------------------------------------ >> http://www.valentina-db.de >> >> Am 04.07.2005 um 10:24 schrieb Heinrich Ruoff: >> >> >>> any clue when it will be available? >>> >>> On 7/4/05, Ruslan Zasukhin wrote: >>> >>> >>>> On 7/4/05 2:00 AM, "Heinrich Ruoff" >>>> wrote: >>>> >>>> >>>> >>>>> is there a chance to set collation in Valentina Studio? >>>>> >>>>> >>>> >>>> Now - no, but I think b10 will have this. >>>> >>>> >>>> >>>> -- >>>> Best regards, >>>> >>>> Ruslan Zasukhin >>>> VP Engineering and New Technology >>>> Paradigma Software, Inc >>>> >>>> Valentina - Joining Worlds of Information >>>> http://www.paradigmasoft.com >>>> >>>> [I feel the need: the need for speed] >>>> >>>> >>>> _______________________________________________ >>>> Valentina-beta mailing list >>>> Valentina-beta@lists.macserve.net >>>> http://lists.macserve.net/mailman/listinfo/valentina-beta >>>> >>>> >>>> >>> _______________________________________________ >>> Valentina-beta mailing list >>> Valentina-beta@lists.macserve.net >>> http://lists.macserve.net/mailman/listinfo/valentina-beta >>> >>> >>> >> >> _______________________________________________ >> Valentina-beta mailing list >> Valentina-beta@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina-beta >> >> > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > > From sunshine at public.kherson.ua Fri Jul 8 20:21:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 8 12:21:47 2005 Subject: Returning a partial string In-Reply-To: Message-ID: On 7/8/05 7:08 PM, "jda" wrote: > Hi Ruslan, > > So far, no success. Here is what I tried: > > I added this to the table: > > firstAuthorSortMethod = CreateTextField("firstAuthorSortMethod", > 128, EVFlag.fNullable, "Left(authorsSortMethod, (LOCATE(chr(13), > authorsSortMethod)))") I'd use CreateString for method. Or VarChar Method Text -- no big sense. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jul 8 20:22:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 8 12:23:01 2005 Subject: Returning a partial string In-Reply-To: Message-ID: On 7/8/05 7:08 PM, "jda" wrote: > Hi Ruslan, > > So far, no success. Here is what I tried: > > I added this to the table: > > firstAuthorSortMethod = CreateTextField("firstAuthorSortMethod", > 128, EVFlag.fNullable, "Left(authorsSortMethod, (LOCATE(chr(13), > authorsSortMethod)))") > > where > > authorsSortMethod = CreateTextField("authorsSortMethod", 128, > EVFlag.fNullable, "left(authors, 256)") > > > Then in my code, I used: > > > select firstAuthorSortMethod,thedateSortMethod, * from thereferences > where hit>0 ORDER BY firstAuthorSortMethod,thedateSortMethod > > > (I also tried ORDER BY 1,thedateSortMethod) > > The result is not sorted at all (or at least there is no pattern I can see). > > What am I doing wrong? Hard to say. Can you send us some test db ? Does that methods show correct values in viSQL or Vstudio ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jul 8 20:25:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 8 12:25:34 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: Message-ID: On 7/8/05 6:30 PM, "Heinrich Ruoff" wrote: > Hi Jochen, > > how is it going with the new release? > Any chance that it will be available until monday? > > Otherwise I have to find a workaround to import my > sql statements without Studio to keep collation. Heinrich, I think you can do our tools to do job. 1) write code to create db and set collation. 2) use Example: SQL Load Database -- for load actually it Is possible with code also. Why you want this in studio ? - you want create db in Vstudio itself ? without codding at all ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Fri Jul 8 14:38:33 2005 From: jda at his.com (jda) Date: Fri Jul 8 13:38:45 2005 Subject: Returning a partial string In-Reply-To: References: Message-ID: > > > Then in my code, I used: >> >> >> select firstAuthorSortMethod,thedateSortMethod, * from thereferences >> where hit>0 ORDER BY firstAuthorSortMethod,thedateSortMethod >> >> >> (I also tried ORDER BY 1,thedateSortMethod) >> >> The result is not sorted at all (or at least there is no pattern I can see). >> >> What am I doing wrong? > >Hard to say. > >Can you send us some test db ? > >Does that methods show correct values in viSQL or Vstudio ? > No, in viSQL it seems the values for the method are all NULL. Maybe Valentina doesn't like chr(13) for the return character. I tried \r, but that didn't work, either. What should it be? Jon From heinrichruoff at gmail.com Fri Jul 8 20:56:02 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jul 8 13:56:10 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: References: Message-ID: I use Vstudio to import a unicode textfile with sql stements like CREATE TABLE tb_bje_artikel ( id INTEGER NOT NULL, .... is this possible directly from director as well? couldn't find the example SQL Load Database. On 7/8/05, Ruslan Zasukhin wrote: > On 7/8/05 6:30 PM, "Heinrich Ruoff" wrote: > > > Hi Jochen, > > > > how is it going with the new release? > > Any chance that it will be available until monday? > > > > Otherwise I have to find a workaround to import my > > sql statements without Studio to keep collation. > > Heinrich, > > I think you can do our tools to do job. > > 1) write code to create db and set collation. > > 2) use Example: SQL Load Database -- for load > actually it Is possible with code also. > > Why you want this in studio ? > - you want create db in Vstudio itself ? > without codding at all ? > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From heinrichruoff at gmail.com Fri Jul 8 21:02:22 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jul 8 14:02:33 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: References: Message-ID: found it - Dump_SQL_Database loadDump looks interesting... On 7/8/05, Heinrich Ruoff wrote: > I use Vstudio to import a unicode textfile with sql stements like > > CREATE TABLE tb_bje_artikel ( > id INTEGER NOT NULL, .... > > is this possible directly from director as well? > couldn't find the example SQL Load Database. > > > > On 7/8/05, Ruslan Zasukhin wrote: > > On 7/8/05 6:30 PM, "Heinrich Ruoff" wrote: > > > > > Hi Jochen, > > > > > > how is it going with the new release? > > > Any chance that it will be available until monday? > > > > > > Otherwise I have to find a workaround to import my > > > sql statements without Studio to keep collation. > > > > Heinrich, > > > > I think you can do our tools to do job. > > > > 1) write code to create db and set collation. > > > > 2) use Example: SQL Load Database -- for load > > actually it Is possible with code also. > > > > Why you want this in studio ? > > - you want create db in Vstudio itself ? > > without codding at all ? > > > > > > -- > > Best regards, > > > > Ruslan Zasukhin > > VP Engineering and New Technology > > Paradigma Software, Inc > > > > Valentina - Joining Worlds of Information > > http://www.paradigmasoft.com > > > > [I feel the need: the need for speed] > > > > > > _______________________________________________ > > Valentina-beta mailing list > > Valentina-beta@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina-beta > > > From sunshine at public.kherson.ua Fri Jul 8 22:16:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 8 14:17:00 2005 Subject: Returning a partial string In-Reply-To: Message-ID: On 7/8/05 9:38 PM, "jda" wrote: >> Does that methods show correct values in viSQL or Vstudio ? >> > > No, in viSQL it seems the values for the method are all NULL. > > Maybe Valentina doesn't like chr(13) for the return character. I > tried \r, but that didn't work, either. What should it be? Please check ValentinaSQL.pdf for list of supported methods. Try from simple formula move to complex. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Fri Jul 8 15:19:16 2005 From: jda at his.com (jda) Date: Fri Jul 8 14:19:34 2005 Subject: Returning a partial string In-Reply-To: References: Message-ID: > > > >> Maybe Valentina doesn't like chr(13) for the return character. I >> tried \r, but that didn't work, either. What should it be? > >Please check ValentinaSQL.pdf for list of supported methods. > >Try from simple formula move to complex. > I already did that -- I could not find ANY information on how to refer to non-character ASCII values like tab, return, etc. in an SQL statement... Jon From sunshine at public.kherson.ua Fri Jul 8 22:57:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 8 14:57:30 2005 Subject: Returning a partial string In-Reply-To: Message-ID: On 7/8/05 10:19 PM, "jda" wrote: >> >>> >>> Maybe Valentina doesn't like chr(13) for the return character. I >>> tried \r, but that didn't work, either. What should it be? >> >> Please check ValentinaSQL.pdf for list of supported methods. >> >> Try from simple formula move to complex. >> > > I already did that -- I could not find ANY information on how to > refer to non-character ASCII values like tab, return, etc. in an SQL > statement... In the sources I see that function chr() exists. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jul 9 09:04:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 9 01:04:51 2005 Subject: [V4MD2] case insensitive sqlSelect In-Reply-To: Message-ID: On 7/8/05 9:56 PM, "Heinrich Ruoff" wrote: > I use Vstudio to import a unicode textfile with sql stements like > > CREATE TABLE tb_bje_artikel ( > id INTEGER NOT NULL, .... > > is this possible directly from director as well? YES > couldn't find the example SQL Load Database. I see example API_way / Dump_SQL_Database -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jul 9 10:04:39 2005 From: jda at his.com (jda) Date: Sat Jul 9 09:04:46 2005 Subject: Returning a partial string In-Reply-To: References: Message-ID: >In the sources I see that function chr() exists. > Hi Ruslan, As followup to anyone who cared, this method returns the first name in a list of return-delimited names: firstNameSortMethod = CreateVarCharField("firstNameSortMethod", 64, EVFlag.fNullable, "IF(Left(names, (LOCATE(chr(13), names) - 1))<>'',Left(names, (LOCATE(chr(13), names) - 1)),names)") One request that we have talked about before: it would be VERY useful if we could sort on temporary fields. This worked in V1, and has many applications. I do not want to make these methods (of which I have several) part of the permanent database structure for several reasons, number 1 being that every time I add such a method the db is no longer backward-compatible for my users. This is a substantial problem. As I said, it worked in V1. Of course it would be slower if the index was built on the fly, but in my case I don't care -- it is a worthwhile trade-off. Can this be implemented again in V2? Thanks, Jon From sunshine at public.kherson.ua Sat Jul 9 21:35:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 9 13:35:33 2005 Subject: Returning a partial string In-Reply-To: Message-ID: On 7/9/05 5:04 PM, "jda" wrote: >> In the sources I see that function chr() exists. >> > > Hi Ruslan, > > As followup to anyone who cared, this method returns the first name > in a list of return-delimited names: > > firstNameSortMethod = CreateVarCharField("firstNameSortMethod", 64, > EVFlag.fNullable, "IF(Left(names, (LOCATE(chr(13), names) - > 1))<>'',Left(names, (LOCATE(chr(13), names) - 1)),names)") > > One request that we have talked about before: it would be VERY useful > if we could sort on temporary fields. This worked in V1, and has many > applications. I do not want to make these methods (of which I have > several) part of the permanent database structure for several > reasons, number 1 being that every time I add such a method the db is > no longer backward-compatible for my users. This is a substantial > problem. > > As I said, it worked in V1. Of course it would be slower if the index > was built on the fly, but in my case I don't care -- it is a > worthwhile trade-off. Can this be implemented again in V2? It can be of course with some efforts. But Jon, in v1 did work only methods. Formulas in SELECT did not work at all in v1 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jul 9 14:45:07 2005 From: jda at his.com (jda) Date: Sat Jul 9 13:45:16 2005 Subject: Returning a partial string In-Reply-To: References: Message-ID: > > As I said, it worked in V1. Of course it would be slower if the index >> was built on the fly, but in my case I don't care -- it is a >> worthwhile trade-off. Can this be implemented again in V2? > >It can be of course with some efforts. > >But Jon, in v1 did work only methods. >Formulas in SELECT did not work at all in v1 > Hm, I was able to do this in V1 (the temp field named 'fld' let me sort by author names, and if there were no authors in the record, by editor names, and if both were NULL sort by title): Create temp method: fld = myDatabase.myReferences.createVarCharField("authorEditorSortMethod", 2000, EVFlag.fNone, "IFNULL(authors, IFNULL(editors,title))") Use: s = "select *,authorEditorSortMethod from thereferences where hit>0 ORDER BY authorEditorSortMethod,thedate" This is pretty much what I want to do now -- create temporary *methods* that return values I can sort by. This is just like V1, I think (no?). Jon From sunshine at public.kherson.ua Sat Jul 9 21:48:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 9 13:48:27 2005 Subject: Returning a partial string In-Reply-To: Message-ID: On 7/9/05 9:45 PM, "jda" wrote: >> But Jon, in v1 did work only methods. >> Formulas in SELECT did not work at all in v1 >> > > Hm, I was able to do this in V1 (the temp field named 'fld' let me > sort by author names, and if there were no authors in the record, by > editor names, and if both were NULL sort by title): > > Create temp method: > > fld = > myDatabase.myReferences.createVarCharField("authorEditorSortMethod", > 2000, EVFlag.fNone, "IFNULL(authors, IFNULL(editors,title))") Aha, so you have create method. This was my point. Just you name it TMP. > Use: > > s = "select *,authorEditorSortMethod from thereferences where hit>0 > ORDER BY authorEditorSortMethod,thedate" > > > This is pretty much what I want to do now -- create temporary > *methods* that return values I can sort by. This is just like V1, I > think (no?). But his should work in 2.0 also. any problems here ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Jul 9 15:03:10 2005 From: jda at his.com (jda) Date: Sat Jul 9 14:03:17 2005 Subject: Returning a partial string In-Reply-To: References: Message-ID: > > Use: >> >> s = "select *,authorEditorSortMethod from thereferences where hit>0 >> ORDER BY authorEditorSortMethod,thedate" >> >> >> This is pretty much what I want to do now -- create temporary >> *methods* that return values I can sort by. This is just like V1, I >> think (no?). > >But his should work in 2.0 also. >any problems here ? > Hm, it compiles and runs! I'll have to check and make sure it works OK. But somewhere in the V2 beta process I was told by you (or Ivan?) I should use this: s = "select *,theDateSortMethod,IFNULL(authors, IFNULL(editors,title)) as 'ff' from thereferences where hit>0 ORDER BY ff,theDateSortMethod" instead. And that has never worked... If I can create a temp method and then dispose of it, that's just fine with me! Thanks! Jon From sunshine at public.kherson.ua Sun Jul 10 13:54:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 10 05:54:37 2005 Subject: Returning a partial string In-Reply-To: Message-ID: On 7/9/05 10:03 PM, "jda" wrote: >> But his should work in 2.0 also. >> any problems here ? >> > > Hm, it compiles and runs! I'll have to check and make sure it works OK. > > But somewhere in the V2 beta process I was told by you (or Ivan?) I > should use this: > > s = "select *,theDateSortMethod,IFNULL(authors, > IFNULL(editors,title)) as 'ff' from thereferences where hit>0 ORDER > BY ff,theDateSortMethod" > > instead. And that has never worked... But this is different things in fact. > If I can create a temp method and then dispose of it, that's just fine with > me! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sun Jul 10 07:59:47 2005 From: jda at his.com (jda) Date: Sun Jul 10 06:59:58 2005 Subject: Returning a partial string In-Reply-To: References: Message-ID: > > s = "select *,theDateSortMethod,IFNULL(authors, >> IFNULL(editors,title)) as 'ff' from thereferences where hit>0 ORDER >> BY ff,theDateSortMethod" >> >> instead. And that has never worked... > >But this is different things in fact. > >> If I can create a temp method and then dispose of it, that's just fine with > > me! > I have instituted the temporary method technique and it works very well. So my problem is solved. BTW, if my app crashes before I can drop the temporary field (say, in the middle of the sql query) will the field be part of the db, and I'll get an error when trying to open it again? I do NOT do a db.flush between creating the field, doing the query, and dropping the field. Jon From sunshine at public.kherson.ua Sun Jul 10 16:31:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 10 08:31:08 2005 Subject: Returning a partial string In-Reply-To: Message-ID: On 7/10/05 2:59 PM, "jda" wrote: > I have instituted the temporary method technique and it works very > well. So my problem is solved. > > BTW, if my app crashes before I can drop the temporary field (say, in > the middle of the sql query) will the field be part of the db, and > I'll get an error when trying to open it again? Good question. Ivan ? > I do NOT do a > db.flush between creating the field, doing the query, and dropping > the field. I think system tables get updated. TMP Tables do not go into system tables at all. TMP fields -- it seems we have no such mechanism... We really need all it working in select ... Although again, this will be slower solution, because each time it needs build index for that new column. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From miescher at bizdata.com Sun Jul 10 20:34:31 2005 From: miescher at bizdata.com (John W. Miescher) Date: Sun Jul 10 13:34:41 2005 Subject: cursor does not read to end Message-ID: <000001c5857e$041c1550$0201a8c0@JOHNHP> Dear Ruslan, thanks for the new Release - looks like it is more stable (or I have managed to build workarounds for the precious problems), BUT the following query finds everyting except the last available date: select * from hist where (mdate >= '2005-07-06') and (mdate <= '2005-07-20') the field mdate in the table hist is string field and not a date field. The last entries in that table are two records with date '2005-07-12'. the cursor returns all records up to and including '2005-07-11'. if just do select * from hist it finds '2005-07-12' as well or if I insert '2005-07-12' for both options (i.e. if I only look for one day) then it finds that day alright. I've tried that also in Valentina Studio - same result. WHY? rgs, john m. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050710/746e40df/attachment.html From sunshine at public.kherson.ua Mon Jul 11 09:00:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 11 01:00:49 2005 Subject: cursor does not read to end In-Reply-To: <000001c5857e$041c1550$0201a8c0@JOHNHP> Message-ID: On 7/10/05 9:34 PM, "John W. Miescher" wrote: Hi John, > Dear Ruslan, > thanks for the new Release - looks like it is more stable (or I have managed > to build workarounds for the precious problems), BUT > > the following query finds everyting except the last available date: > > select * from hist where (mdate >= '2005-07-06') and (mdate <= '2005-07-20') > > the field mdate in the table hist is string field and not a date field. The > last entries in that table are two records with date '2005-07-12'. > > the cursor returns all records up to and including '2005-07-11'. > if just do select * from hist it finds '2005-07-12' as well or if I insert > '2005-07-12' for both options (i.e. if I only look for one day) then it finds > that day alright. > > I've tried that also in Valentina Studio - same result. WHY? Have you try REINDEX DATABASE ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Wed Jul 13 00:18:38 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Tue Jul 12 17:18:49 2005 Subject: [V4MD2] Using collation strength Message-ID: Made some tests using collation strength: Create a database using sql-example IndexByWords, save it to disk and open it again, then gDb.getCollationAttribute(#kStrength) reports kTertiary instead of kPrimary, but case insensitive search using SELECT and LIKE still works! Create a database using loadDump and a previously exported sql file with CollationStrength set to kPrimary -> case insensitive search won't work! any ideas? Heinrich From sunshine at public.kherson.ua Wed Jul 13 11:56:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 13 03:56:52 2005 Subject: [V4RB2] going further my reports ? In-Reply-To: Message-ID: On 7/13/05 11:33 AM, "Eric Ferrer" wrote: Hi Eric, > In our late emails, you wrote me that one of my bug was fixed, and > you proposed me to wait for a new build, and then we would see my > other issues. > > A couple of days later, you posted on the valentina-beta list that > you were about to compile new builds. > > Most of the time, you announce new builds like "2.0.4fc19 uploaded". > But there was nothing like this on the beta list for days. I think you new build is not ready. GOOD NEWS: * today morning I have work on your join. * you have told you have 2 second for it I did have 3.4 seconds on my computer in viSQL. after few optimizations, now query work 1.5 sec to 1.1 sec and I think still possible improve it. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jul 14 10:36:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 02:36:46 2005 Subject: [ANN] V4RB, V4MD, Vserver 2.0.5fc2 available Message-ID: Hi All, You can download 2.0.5fc2 build for V4RB (mac+win), V4MD (mac+win), Vserver (win, mac on the way) kernel - 2.0.5 ============== - 0000938: [Database] [NEW] VDatabase.Clone() method (2 forms). (Ivan Smahin) - 0000933: [SQL] Speed of insert operations. (Ivan Smahin) - 0000930: [Indexes] ByteIndex crashes when we reach 8126000 records in table. (Ruslan Zasukhin) - 0000929: [Indexes] Cross-platform db do wrong search in string fields. (Ruslan Zasukhin) - 0000916: [API] ObjectPtr field Corrupted (Ruslan Zasukhin) V4RB - 2.0.5 ============ - 0000936: [Database] [NEW] VDatabase.Clone() method (2 forms). (Ivan Smahin) - 0000934: [Examples] [NEW] Api_way/Database_Clone (Ivan Smahin) - 0000931: [API] Example VServer crashes while attempting to get "System Catalog" ini-variable value (Igor Gomon) - 0000919: [RBDB API] Delete in datacontrol not works. (Serge) - 0000928: [RBDB API] Improved speed for RunQuery(). (Serge) V4MD - 2.0.5 ============ - 0000932: [API] Projector not working under Windows 98 (Igor Gomon) - 0000927: [Cursors] cursor.getRecords() returns always values (Igor Gomon) - 0000923: [SQL] Problem with indexed fields (Ruslan Zasukhin) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050714/d853597a/attachment-0001.html From sunshine at public.kherson.ua Thu Jul 14 10:39:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 02:39:37 2005 Subject: [ANN] V4RB, V4MD, Vserver 2.0.5fc2 available In-Reply-To: Message-ID: On 7/14/05 10:36 AM, "Ruslan Zasukhin" wrote: > Hi All, > > You can download 2.0.5fc2 build for > V4RB (mac+win), V4MD (mac+win), Vserver (win, mac on the way) You can bookmark this "Download Betas" general page http://paradigmasoft.com/en/products/download/beta Or specific product beta page. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Thu Jul 14 07:55:35 2005 From: jda at his.com (jda) Date: Thu Jul 14 06:55:44 2005 Subject: [ANN] V4RB, V4MD, Vserver 2.0.5fc2 available In-Reply-To: References: Message-ID: >- 0000936: [Database] [NEW] VDatabase.Clone() method (2 forms). (Ivan Smahin) Hi Ruslan, this looks interesting. A few things: 1. In the RB example, you should use f = GetOpenFolderItem( "DB" ) -- works not f = GetOpenFolderItem( "*.vdb" ) -- dbs are grayed out. 2. This crashes for me. 3. What is clone useful for? Does it do anything more than make a copy -- i.e. any database fix of corruption? And what does Valentina.profile(true) do? Jon From jda at his.com Thu Jul 14 07:57:20 2005 From: jda at his.com (jda) Date: Thu Jul 14 06:57:25 2005 Subject: [ANN] V4RB, V4MD, Vserver 2.0.5fc2 available In-Reply-To: References: Message-ID: > > >3. What is clone useful for? Does it do anything more than make a >copy -- i.e. any database fix of corruption? And what does >Valentina.profile(true) do? > Oops, disregard this last question -- I hadn't seen your subsequent post. But points #1 and #2 are still valid. Jon From sunshine at public.kherson.ua Thu Jul 14 14:59:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 07:00:46 2005 Subject: [ANN] V4RB, V4MD, Vserver 2.0.5fc2 available In-Reply-To: Message-ID: On 7/14/05 2:55 PM, "jda" wrote: Hi John, > 3. What is clone useful for? Does it do anything more than make a > copy -- i.e. any database fix of corruption? And what does > Valentina.profile(true) do? Valentina.profile() this is for my internal use. Ignore it. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jul 14 15:01:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 07:01:20 2005 Subject: [ANN] V4RB, V4MD, Vserver 2.0.5fc2 available In-Reply-To: Message-ID: On 7/14/05 2:55 PM, "jda" wrote: > 1. In the RB example, you should use > > f = GetOpenFolderItem( "DB" ) -- works > > not > > f = GetOpenFolderItem( "*.vdb" ) -- dbs are grayed out. > > > 2. This crashes for me. On mac ? Example crashes? Or on your database ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Thu Jul 14 08:10:37 2005 From: jda at his.com (jda) Date: Thu Jul 14 07:10:42 2005 Subject: [ANN] V4RB, V4MD, Vserver 2.0.5fc2 available In-Reply-To: References: Message-ID: > > 2. This crashes for me. > >On mac ? > >Example crashes? Or on your database ? > It crashes when I try to clone my database. Wait, viSQL also crashes when I try to open this database. But, the db opens and works fine with my app, created with 2.0.4! So for some reason 2.0.5 doesn't like this older db. I'll send you this db to look at... Jon From sunshine at public.kherson.ua Thu Jul 14 15:11:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 07:11:52 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: Message-ID: On 7/14/05 3:04 PM, "jda" wrote: >> 1) this can be used to do REPAIR of damaged database. >> > > What does the .profile flag (true or false) do? Again, ignore this. I use this to profile engine. >> ** it is possible add Log file produced by Clone() where it will write down >> info about any found corrupted records/values. So user can see what records >> was not able to repair. >> > > Is is possible to add make a new version of diagnose that returns the > information directly to the app? Jon, actually I have add far ago Vdatabase.Diagnose() Check in your REALbasic. For now it just returns BOOL value. Future I will add more branins to it. > Even a simple thing like 0 = no > errors, 1 = problems (although more info is better)? Then our users > (or we) can test the integrity of a database BEFORE deciding whether > we need to clone it or not. > > This is feature request #793, BTW. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jul 14 16:44:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 08:44:28 2005 Subject: Re Crashes 2.0.5 viSQL In-Reply-To: Message-ID: On 7/14/05 3:42 PM, "jda" wrote: Hi Jon, Again, I can open this db fine on my computer And I was able Clone it with no problems. May be you somehow did get mess of old and new components ? Or may be its me somehow produced bad archives... We need wait for others -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Thu Jul 14 10:15:41 2005 From: jda at his.com (jda) Date: Thu Jul 14 09:15:50 2005 Subject: Re Crashes 2.0.5 viSQL In-Reply-To: References: Message-ID: >On 7/14/05 3:42 PM, "jda" wrote: > >Hi Jon, > >Again, I can open this db fine on my computer > >And I was able Clone it with no problems. > > >May be you somehow did get mess of old and new components ? >Or may be its me somehow produced bad archives... > >We need wait for others > Maybe you could send me just the V4RB fc2 (not the whole install), then? With the one I have I can't use my project at all... Jon From sunshine at public.kherson.ua Thu Jul 14 17:36:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 09:36:32 2005 Subject: Re Crashes 2.0.5 viSQL In-Reply-To: Message-ID: On 7/14/05 5:15 PM, "jda" wrote: >> On 7/14/05 3:42 PM, "jda" wrote: >> >> Hi Jon, >> >> Again, I can open this db fine on my computer >> >> And I was able Clone it with no problems. >> >> >> May be you somehow did get mess of old and new components ? >> Or may be its me somehow produced bad archives... >> >> We need wait for others >> > > Maybe you could send me just the V4RB fc2 (not the whole install), > then? With the one I have I can't use my project at all... But sense ? Problem not in plugin but in VComponents for example... I will try now to run your project -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jul 14 17:43:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 09:43:48 2005 Subject: Re Crashes 2.0.5 viSQL In-Reply-To: Message-ID: > But sense ? > Problem not in plugin but in VComponents for example... > > I will try now to run your project Your project also works here fine. Very strange. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Thu Jul 14 10:43:46 2005 From: jda at his.com (jda) Date: Thu Jul 14 09:43:59 2005 Subject: Re Crashes 2.0.5 viSQL In-Reply-To: References: Message-ID: > > Maybe you could send me just the V4RB fc2 (not the whole install), >> then? With the one I have I can't use my project at all... > >But sense ? >Problem not in plugin but in VComponents for example... Hm, then why can my app compiled with 2.0.4 run properly? It uses the new VComponents, no? But not the new V4RB (because it's already compiled). Only newly compiled projects have these crashes. Oh well. > >I will try now to run your project > Good. Please let me know... Jon From jda at his.com Thu Jul 14 10:56:56 2005 From: jda at his.com (jda) Date: Thu Jul 14 09:57:11 2005 Subject: Re Crashes 2.0.5 viSQL In-Reply-To: References: Message-ID: > > But sense ? >> Problem not in plugin but in VComponents for example... >> >> I will try now to run your project > >Your project also works here fine. >Very strange. > I just downloaded fc2 again and installed -- crash on opening preferences db: 0 vshared_carbon_cw.shlb 0x002f2e2c 0x2f0000 + 11820 1 Plugin 0x00531480 Table_Ctor__FP16REALobjectStruct + 200 I see the modification date for vshared is July 10, 2:30 PM. Is this the latest build? Maybe you can download the archive and install it on your machine -- perhaps it is bad somehow? Anyone else have problems with V4RB fc2? Jon From sunshine at public.kherson.ua Thu Jul 14 17:58:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 09:58:35 2005 Subject: Re Crashes 2.0.5 viSQL In-Reply-To: Message-ID: On 7/14/05 5:43 PM, "jda" wrote: >>> Maybe you could send me just the V4RB fc2 (not the whole install), >>> then? With the one I have I can't use my project at all... >> >> But sense ? >> Problem not in plugin but in VComponents for example... > > Hm, then why can my app compiled with 2.0.4 run properly? It uses the > new VComponents, no? But not the new V4RB (because it's already > compiled). Only newly compiled projects have these crashes. Oh well. Wow. Wait. You mean that you have install 2.0.5 fc2 Then replace only PLUGIN to older, and now you can run project ?! Actually this is danger operation. You always should use PLUIGN + components of the same build. Otherwise you can get crashes. Please try next: copy aside your VComponents and and plugin. so you get clean environment. now install again 2.0.5 fc2 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Thu Jul 14 11:04:11 2005 From: jda at his.com (jda) Date: Thu Jul 14 10:04:23 2005 Subject: Re Crashes 2.0.5 viSQL In-Reply-To: References: Message-ID: > > Hm, then why can my app compiled with 2.0.4 run properly? It uses the >> new VComponents, no? But not the new V4RB (because it's already >> compiled). Only newly compiled projects have these crashes. Oh well. > >Wow. Wait. You mean that you have install 2.0.5 fc2 > >Then replace only PLUGIN to older, and now you can run project ?! No. I installed new new VComponents and the new plug-in, the way I always do. I am saying that my *previous* compiled build (made with 2.0.4) still launches and works! Even with the new VComponents installed. New builds, made with fc2, crash. Jon From jda at his.com Thu Jul 14 11:15:05 2005 From: jda at his.com (jda) Date: Thu Jul 14 10:15:13 2005 Subject: Re Crashes 2.0.5 viSQL In-Reply-To: References: Message-ID: OK, it is definitely a bad V4RB plug-in. I replaced the fc2 plug-in with the old 2.0.4 (modification date July 6) plug-in -- now I can run my project! Ruslan, please send me the fc2 plug-in that *you* are using, not the one in the archive, and I'll see if that works here. Jon From sunshine at public.kherson.ua Thu Jul 14 19:16:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 11:16:35 2005 Subject: Re Crashes 2.0.5 viSQL In-Reply-To: Message-ID: On 7/14/05 6:15 PM, "jda" wrote: > OK, it is definitely a bad V4RB plug-in. > > I replaced the fc2 plug-in with the old 2.0.4 (modification date July > 6) plug-in -- now I can run my project! > > Ruslan, please send me the fc2 plug-in that *you* are using, not the > one in the archive, and I'll see if that works here. I have try remove all on my computer, And install from archive. You are right! In this case crashes. So it looks installer have produce corrupted archives. I will rebuild them now and upload again. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jul 14 19:56:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 11:57:02 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5 fc2 RE-uploaded Message-ID: Hi All, I have found reason why it not works for Jon. VComponents folder was old. Please upload these 2 mac archives again. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Thu Jul 14 14:36:39 2005 From: jda at his.com (jda) Date: Thu Jul 14 13:36:54 2005 Subject: .clone error In-Reply-To: References: Message-ID: >Hi All, > >I have found reason why it not works for Jon. >VComponents folder was old. > >P Yes, it works now, thanks. I tried clone on one of my database. When I try to open the cloned copy, I get the error: Field "authorsSortMethod" attribute "MethodText" is not matched with schema-stored attribute. When I open in viSQL: Original db: authorsSortMethod=left(authors,256) Cloned db: authorsSortMethod= Jon From sunshine at public.kherson.ua Thu Jul 14 21:45:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 13:45:38 2005 Subject: .clone error In-Reply-To: Message-ID: On 7/14/05 9:36 PM, "jda" wrote: >> Hi All, >> >> I have found reason why it not works for Jon. >> VComponents folder was old. >> >> P > > Yes, it works now, thanks. > > I tried clone on one of my database. When I try to open the cloned > copy, I get the error: > > Field "authorsSortMethod" attribute "MethodText" is not matched with > schema-stored attribute. > > When I open in viSQL: > > Original db: > > authorsSortMethod=left(authors,256) > > > Cloned db: > > authorsSortMethod= Ok, Ivan will check this. Jon, please try clone() on some big db and tell what time speed up you use comparing to XML rebuild? Ok ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Thu Jul 14 15:01:07 2005 From: jda at his.com (jda) Date: Thu Jul 14 14:01:16 2005 Subject: .clone error In-Reply-To: References: Message-ID: > > >Jon, please try clone() on some big db and tell what time speed up you use >comparing to XML rebuild? Ok ? > OK. DB = 4364 records, 19 MB. XML Dump/Load: 168 seconds 18.7 MB Clone: 90 seconds 14.8 MB! I can't open the cloned db, as I told you. Looks like maybe some data was removed? Jon From sunshine at public.kherson.ua Fri Jul 15 20:58:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 15 12:59:02 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: <34463EF5-42C6-4874-B4D6-689EE9679632@wanadoo.fr> Message-ID: On 7/15/05 6:56 PM, "Jules Jacquot" wrote: >> 1) this can be used to do REPAIR of damaged database. >> >> Up to know we have use for this XML dump, but Clone() will be much >> faster way, because XML can be e.g. 1GB for 200MB database. When >> you use >> Clone() you will need only another 200MB to build new database. >> Clone() do >> binary copying of record values without conversion into text. > > this is unclear for me > > if i 'clone' a damaged database, i get a damaged database . Correct ? > > because if i 'clone' a damaged database and obtain a correct database > = wonderful Usually corrupted is only few records. Or even few record of one field. So usually you can repair 99.99% of your data. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Mon Jul 18 19:58:34 2005 From: jda at his.com (jda) Date: Mon Jul 18 18:58:44 2005 Subject: Next 2.0.5 beta? In-Reply-To: References: Message-ID: Hi Ruslan, Any chance of getting our hands on the next beta? There are at least two bug fixes since the last release that I need to implement some new features (.clone, and CASE methods). Thanks, Jon From sunshine at public.kherson.ua Tue Jul 19 09:44:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 19 01:44:50 2005 Subject: Next 2.0.5 beta? In-Reply-To: Message-ID: On 7/19/05 2:58 AM, "jda" wrote: > Hi Ruslan, > > Any chance of getting our hands on the next beta? There are at least > two bug fixes since the last release that I need to implement some > new features (.clone, and CASE methods). Yes Jon, very soon. May be even today. We have only 2-3 bug reports on hands yet. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Mon Jul 18 19:40:57 2005 From: jda at his.com (jda) Date: Tue Jul 19 02:03:09 2005 Subject: SELECT CASE method In-Reply-To: <42DC2BF0.4060106@public.kherson.ua> References: <1669808195.20050718164310@public.kherson.ua> <1764541643.20050718221055@public.kherson.ua> <594124335.20050718224142@public.kherson.ua> <42DC2BF0.4060106@public.kherson.ua> Message-ID: >Hi, >Jon I have found the problem... > >Look. you use "select case..." in the method's text. > >It does not work this way. >You need just "case..." - I mean throw away select statement. >It is never used in the methods. > >I have tested this issue and it works. > OK. But just so you know, here are the examples from the Valentina sql documentation: SELECT CASE 1 WHEN 1 THEN "one" WHEN 2 THEN "two" ELSE "more" END; => "one" SELECT CASE WHEN 1>0 THEN "true" ELSE "false" END; => "true" I guess they should be changed. I'll change my code. Thanks again, Jon From sunshine at public.kherson.ua Wed Jul 20 00:51:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 19 16:51:53 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5fc3 uploaded Message-ID: Hi All, URLs for download: http://www.paradigmasoft.com/en/products/download/beta kernel - 2.0.5 ============== - 0000948: [SQL Parser] [NEW] sql command - CLONE DATABASE (DATA | STRUCTURE)? TO newdbpath (Serge) - 0000944: [SQL Parser] Unable to use more than one JOIN on binary link (Ivan Smahin) - 0000862: [SQL] Extend syntax for SQL to create binary link. (Serge) - 0000946: [Methods (calculated fields)] Wrong result on Text-based methods with not default storage encoding. (Ivan Smahin) - 0000940: [Fields] VBLOB::get_Properties() does not get deal with method properties. (Ivan Smahin) - 0000933: [SQL] Improved Speed of SQL INSERT command on 40%. (Ivan Smahin) - 0000938: [Database] [NEW] VDatabase.Clone() method (2 forms). (Ivan Smahin) - 0000930: [Indexes] ByteIndex crashes when we reach 8126000 records in table. (Ruslan Zasukhin) - 0000929: [Indexes] Cross-platform db do wrong search in string fields. (Ruslan Zasukhin) - 0000916: [API] ObjectPtr field Corrupted (Ruslan Zasukhin) kernel - 2.0.5 ============== - 0000948: [SQL Parser] [NEW] sql command - CLONE DATABASE (DATA | STRUCTURE)? TO newdbpath (Serge) - 0000944: [SQL Parser] Unable to use more than one JOIN on binary link (Ivan Smahin) - 0000862: [SQL] Extend syntax for SQL to create binary link. (Serge) - 0000946: [Methods (calculated fields)] Wrong result on Text-based methods with not default storage encoding. (Ivan Smahin) - 0000940: [Fields] VBLOB::get_Properties() does not get deal with method properties. (Ivan Smahin) - 0000933: [SQL] Improved Speed of SQL INSERT command on 40%. (Ivan Smahin) - 0000938: [Database] [NEW] VDatabase.Clone() method (2 forms). (Ivan Smahin) - 0000930: [Indexes] ByteIndex crashes when we reach 8126000 records in table. (Ruslan Zasukhin) - 0000929: [Indexes] Cross-platform db do wrong search in string fields. (Ruslan Zasukhin) - 0000916: [API] ObjectPtr field Corrupted (Ruslan Zasukhin) V4RB - 2.0.5 ============ - 0000909: [Database] Changing collation attribute has no effect on existing database (Ivan Smahin) - 0000919: [RBDB API] Delete in datacontrol not works. (Serge) - 0000928: [RBDB API] Improved speed for RunQuery(). (Serge) - 0000936: [Database] [NEW] VDatabase.Clone() method (2 forms). (Ivan Smahin) - 0000934: [Examples] [NEW] Api_way/Database_Clone (Ivan Smahin) - 0000931: [API] Example VServer crashes while attempting to get "System Catalog" ini-variable value (Igor Gomon) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050720/f497910f/attachment.html From sunshine at public.kherson.ua Wed Jul 20 15:17:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 07:17:56 2005 Subject: REGEX \ search In-Reply-To: Message-ID: On 7/20/05 3:02 PM, "jda" wrote: >>> Really? What's wrong with this query? >>> >>> select id,hit from thereferences where (allFields REGEX '(?i)\\') >>> order by id >> >> Please read in mantis >> > > I see, Ruslan. But that's nuts (crazy). You should only need ONE \ > character to escape any other. This makes \ a special exception. > I now have to do a REPLACEALL('\', '\\') for each search string BEFORE > escaping. This is, excuse me, ridiculous. NO !!!!!!!!!!!!!! You should not REPLACE it !!! You should use our Valentina.EscapeString() > '\\' should work. > > But I will do it if I have to. Do it in right way. Again ---------------------------------------- Starting from 2.0.5 manual query must look as select id,hit from thereferences where allFields LIKE '%\\\\%' or ????select id,hit from thereferences where allFields REGEX '(?i)\\\\' In your application user must type: ????select id,hit from thereferences where allFields LIKE '%\\%' ???select id,hit from thereferences where allFields REGEX '(?i)\\' and after you use Valentina.EscapeString() you will get required query with 4 symbols back slash. ---------------------------------------- Where you see problems? You user in your Application must enter string to do REGEX search., User know that he is doing REGEX search, right ? If I want in CodeWarrior do search on strings that have \ I type in the search dialog of CodeWarrior \\ The same I will expect todo in YOUR application. THE SAME will do any your user who know REGEX. Then you get from Edit field string "\\" And you do next: q = "select id,hit from thereferences where allFields REGEX '(?i)" q = q + Valentina.EscapeString( regexEditField.text ) q = q + "'" So you get the correct query: select id,hit from thereferences where allFields REGEX '(?i)\\\\' -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jul 20 15:24:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 07:24:47 2005 Subject: REGEX \ search In-Reply-To: Message-ID: On 7/20/05 3:17 PM, "Ruslan Zasukhin" wrote: And more Jon, In 2.0.5fc3 we have simplify a lots Valentina.EscapeString() ! Now it escapes only ' and \ Parameter inForRegEx now is not used. It will be deprecated. This was mistake that come from v 1.x I assume you have own function that do escape. Now it is not needed. Please try to use our and let me know. > ---------------------------------------- > Starting from 2.0.5 manual query must look as > > select id,hit from thereferences where allFields LIKE '%\\\\%' > or > ????select id,hit from thereferences where allFields REGEX '(?i)\\\\' > > In your application user must type: > ????select id,hit from thereferences where allFields LIKE '%\\%' > ???select id,hit from thereferences where allFields REGEX '(?i)\\' > > and after you use Valentina.EscapeString() you will get required > query with 4 symbols back slash. > ---------------------------------------- > > Where you see problems? > > You user in your Application must enter string to do REGEX search., > User know that he is doing REGEX search, right ? > > If I want in CodeWarrior do search on strings that have \ > I type in the search dialog of CodeWarrior > > \\ > > The same I will expect todo in YOUR application. > THE SAME will do any your user who know REGEX. > > Then you get from Edit field string "\\" > And you do next: > > q = "select id,hit from thereferences where allFields REGEX '(?i)" > > q = q + Valentina.EscapeString( regexEditField.text ) > > q = q + "'" > > So you get the correct query: > > select id,hit from thereferences where allFields REGEX '(?i)\\\\' -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Wed Jul 20 09:50:07 2005 From: jda at his.com (jda) Date: Wed Jul 20 08:50:17 2005 Subject: db.clone vs load/dump In-Reply-To: References: Message-ID: Hi Ruslan, Now that db.clone works with my databases, I did another comparison with load/dump. DB is 19.1 MB. I used the db.clone API example. Time to rebuild (approximate): DB.clone = 151 seconds DB load/dump = 168 seconds So not much difference. Jon From sunshine at public.kherson.ua Wed Jul 20 17:05:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 09:05:51 2005 Subject: db.clone vs load/dump In-Reply-To: Message-ID: On 7/20/05 4:50 PM, "jda" wrote: > Hi Ruslan, > > Now that db.clone works with my databases, I did another comparison > with load/dump. > > DB is 19.1 MB. I used the db.clone API example. > > Time to rebuild (approximate): > > DB.clone = 151 seconds > DB load/dump = 168 seconds > > So not much difference. Strange. Ivan have you disable indexing ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jul 20 17:26:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 09:27:12 2005 Subject: REGEX \ search In-Reply-To: Message-ID: On 7/20/05 5:14 PM, "jda" wrote: >>> My application (a general consumer application) takes care of >>> the details for them... >> >> Then its your headache. :-) >> > > My headache is your headache. :-) > > Fine, I can do that. But I think it is wrong to require *4* > backslashes to escape \ > > And if it does, > > Valentina.escape('\', true) > > should return > > '\\\\' > > !!!! No, because Valentina.Escape() care about people who know LIKE and REGEX. User can enter such regex: \Abline\Z Now back slash play role of SPECIAL CHARACTER. We do not search for it. So Escape("\Abline\Z") returns "\\Abline\\Z" SQL Parser eat one slash as store string as \Abline\Z And REGEX engine get correct string \Abline\Z ------------- Compare this to next string. User want find li\ne So he type \Ali\\ne\Z Valentina Escape convert this into \\Ali\\\\ne\\Z SQL parser back to \Ali\\ne\Z --------------------- Jon, your problem is that you try to use REGEX in wrong way. Since you say users do not REGEX you need self correct their entry. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jul 22 10:19:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 22 02:19:31 2005 Subject: [VREV] added support of Unicode ! Message-ID: Hi Revolution Developers! http://paradigmasoft.com/en/products/download/beta You can download V4REV 2.0.5 fc3 * The main new implemented feature -- support of Unicode. * Added new example Common/IOEncoding ------------------- How this works. To classes Vdaatbase, Vtable and Vfield added property IOEncoding. (input/output) On default it is system encoding. If you want to use unicode, you need convert your Strings to UTF8 format and send them to Valentina engine. Before this you must inform Vdatabase object (and/or optionally Vtable(s) Vfield(s) objects) about encoding of your strings. Valentina will return you strings in the same encoding of course. Note, you cannot send here only UTF16, because Rev external cannot use this. You should also convert it to UTF8. ------------------ What cool thing you can get here. 1) you can have in database e.g. 2 tables that will use different IO encodings. 2) Valentina understand about 200 encodings of the world. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lists at mangomultimedia.com Fri Jul 22 05:38:17 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Jul 22 06:38:30 2005 Subject: [VREV] added support of Unicode ! In-Reply-To: References: Message-ID: <080C2779-F71A-4419-9D0D-4EA9FD6A6C01@mangomultimedia.com> On Jul 22, 2005, at 1:19 AM, Ruslan Zasukhin wrote: > Hi Revolution Developers! > > http://paradigmasoft.com/en/products/download/beta > > You can download V4REV 2.0.5 fc3 > > * The main new implemented feature -- support of Unicode. > > * Added new example Common/IOEncoding This is great. Thanks for adding this Ruslan. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From jda at his.com Fri Jul 22 15:36:17 2005 From: jda at his.com (jda) Date: Fri Jul 22 14:36:38 2005 Subject: Changing a db In-Reply-To: References: Message-ID: Hi Ruslan, A few questions here. I need to change the length of a string field when updating a database (API way). I want the length to go from 10 to 24. To do this, I try to open the old (original) db and get an exception (schema doesn't match). Fine. I then open the db as a VDatabase and try vdb.Table("format").StringField("sepLastNamesWith").MaxLength = 24 This works, BUT all the records after the first record had their data deleted! That's the first problem. Then I found I COULD do this the SQL way and it worked, preserving all data. I used this: call vdb.SQLExecute("ALTER TABLE format CHANGE sepLastNamesWith sepLastNamesWith String (24)") But then when the db was opened again the API way I got an error: Schema does not match (field sepLastNamesWith -- wrong NULLABLE status). So now I'm doing this, which works: if vdb.Table("format").StringField("sepLastNamesWith").MaxLength < 24 then call vdb.SQLExecute("ALTER TABLE format CHANGE sepLastNamesWith sepLastNamesWith String (24)") vdb.Table("format").StringField("sepLastNamesWith").IsNullable = false end if As you can see, I'm mixing API and SQL commands. But it works! In V1.x you told us not to do this. Will it cause problems in V2? Thanks, Jon From sunshine at public.kherson.ua Fri Jul 22 22:52:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 22 14:53:02 2005 Subject: Ivan, todo bugs // Changing a db In-Reply-To: Message-ID: On 7/22/05 10:36 PM, "jda" wrote: Ivan, please check this. > Hi Ruslan, > > A few questions here. > > I need to change the length of a string field when updating a > database (API way). I want the length to go from 10 to 24. > > To do this, I try to open the old (original) db and get an exception > (schema doesn't match). Fine. > > I then open the db as a VDatabase and try > > vdb.Table("format").StringField("sepLastNamesWith").MaxLength = 24 > > This works, BUT all the records after the first record had their data deleted! > > That's the first problem. > > Then I found I COULD do this the SQL way and it worked, preserving > all data. I used this: > > call vdb.SQLExecute("ALTER TABLE format CHANGE sepLastNamesWith > sepLastNamesWith String (24)") > > But then when the db was opened again the API way I got an error: > > Schema does not match (field sepLastNamesWith -- wrong NULLABLE status). > > So now I'm doing this, which works: > > if vdb.Table("format").StringField("sepLastNamesWith").MaxLength < 24 then > call vdb.SQLExecute("ALTER TABLE format CHANGE > sepLastNamesWith sepLastNamesWith String (24)") > vdb.Table("format").StringField("sepLastNamesWith").IsNullable = > false > end if > > As you can see, I'm mixing API and SQL commands. But it works! In > V1.x you told us not to do this. Will it cause problems in V2? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jul 22 22:52:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 22 14:53:12 2005 Subject: Changing a db In-Reply-To: Message-ID: On 7/22/05 10:36 PM, "jda" wrote: > if vdb.Table("format").StringField("sepLastNamesWith").MaxLength < 24 then > call vdb.SQLExecute("ALTER TABLE format CHANGE > sepLastNamesWith sepLastNamesWith String (24)") > vdb.Table("format").StringField("sepLastNamesWith").IsNullable = > false > end if > > As you can see, I'm mixing API and SQL commands. But it works! In > V1.x you told us not to do this. Will it cause problems in V2? Danger is mix when you do access to records. I.e. Mix VTable calls and Vcursors. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Fri Jul 22 17:46:20 2005 From: jda at his.com (jda) Date: Fri Jul 22 16:46:41 2005 Subject: Changing a db In-Reply-To: References: Message-ID: >On 7/22/05 10:36 PM, "jda" wrote: > >> if vdb.Table("format").StringField("sepLastNamesWith").MaxLength < 24 then >> call vdb.SQLExecute("ALTER TABLE format CHANGE >> sepLastNamesWith sepLastNamesWith String (24)") >> vdb.Table("format").StringField("sepLastNamesWith").IsNullable = >> false > > end if I also see that when I change the length, the field is moved to the end of the table. This is OK, but it means I have to rearrange the fields in the API declaration (putting the field at the end), or I get exceptions. Is this the correct way? Jon From sunshine at public.kherson.ua Sat Jul 23 02:10:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 22 18:10:56 2005 Subject: Changing a db In-Reply-To: Message-ID: On 7/23/05 12:46 AM, "jda" wrote: >> On 7/22/05 10:36 PM, "jda" wrote: >> >>> if vdb.Table("format").StringField("sepLastNamesWith").MaxLength < 24 then >>> call vdb.SQLExecute("ALTER TABLE format CHANGE >>> sepLastNamesWith sepLastNamesWith String (24)") >>> vdb.Table("format").StringField("sepLastNamesWith").IsNullable = >>> false >>> end if > > I also see that when I change the length, the field is moved to the > end of the table. This is OK, but it means I have to rearrange the > fields in the API declaration (putting the field at the end), or I > get exceptions. > > Is this the correct way? Very strange. Ivan we have told many times that field should not change its position. This should be fixed. We have for this mechanism of Field.index. Right? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Fri Jul 22 19:40:50 2005 From: jda at his.com (jda) Date: Fri Jul 22 18:41:01 2005 Subject: Changing a db In-Reply-To: References: Message-ID: >Very strange. > >Ivan we have told many times that field should not change its position. >This should be fixed. We have for this mechanism of Field.index. Right? > I've never used Field.index (or is this comment for Ivan?). It would of course be better if the field did not change position. It happens with both the API and the SQL way... Jon From sunshine at public.kherson.ua Sat Jul 23 09:35:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 23 01:36:13 2005 Subject: Changing a db In-Reply-To: Message-ID: On 7/23/05 2:40 AM, "jda" wrote: >> Very strange. >> >> Ivan we have told many times that field should not change its position. >> This should be fixed. We have for this mechanism of Field.index. Right? >> > > I've never used Field.index (or is this comment for Ivan?). This is internal feature. Future we will open it. Similar to FileMaker ability to change order of existed fields in the table. > It would of course be better if the field did not change position. It > happens with both the API and the SQL way... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sun Jul 24 09:45:56 2005 From: jda at his.com (jda) Date: Sun Jul 24 08:46:04 2005 Subject: Two questions about 2.0.5 In-Reply-To: References: Message-ID: Hi Ruslan, I'm getting ready for an upgrade of my app in a few weeks, and if I'm going to use V2.0.5 in it there are two issues I'd like to know about... 1. Will the changing of field order when updating a field's maxLength be fixed? Right now I'm moving the changed field to the end of the declaration in the API method, but if this is going to be fixed I shouldn't be doing this. 2. Will .clone really be faster than load/dump (my example showed they were similar)? I won't bother implementing .clone unless there is much advantage (but if there is, of course I will). Thanks, Jon From sunshine at public.kherson.ua Sun Jul 24 17:23:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 24 09:23:33 2005 Subject: Two questions about 2.0.5 In-Reply-To: Message-ID: On 7/24/05 4:45 PM, "jda" wrote: Hi Jon, > I'm getting ready for an upgrade of my app in a few weeks, and if I'm > going to use V2.0.5 in it there are two issues I'd like to know > about... How many weeks? :-) > 1. Will the changing of field order when updating a field's maxLength > be fixed? Right now I'm moving the changed field to the end of the > declaration in the API method, but if this is going to be fixed I > shouldn't be doing this. Tomorrow we is going to fix a couple of bugs related Vserver And start build 2.0.5 and test all examples. Today later I will try reproduce what you say, It is good to have such example I think. Then If I reproduce I will see how hard it is for fix. Release 2.0.6 is going to fix new found bugs (as your) and main thing todo -- encryption. > 2. Will .clone really be faster than load/dump (my example showed > they were similar)? I won't bother implementing .clone unless there > is much advantage (but if there is, of course I will). I think we will not work on optimization of it in the nearest week. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Sun Jul 24 12:29:55 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sun Jul 24 11:30:02 2005 Subject: [V4Rb2] CreateULongField crashes app Message-ID: <0d56de627c1708e2c4928439da76156d@desuetude.com> I'm attempting to add a ULong field to an existing table and the result is an application crash, either using V4Rb 2.0.5fc3 or VStudio. Anyone else seeing this? -------------- Charles Yeomans Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0xbf7fffb0 Thread 0 Crashed: 0 vsdk_macho.dylib 0x005f4b18 0x4fb000 + 0xf9b18 1 Kernel_Macho_BSD_Final.dylib 0x0688d040 0x6677000 + 0x216040 2 Kernel_Macho_BSD_Final.dylib 0x06891b48 0x6677000 + 0x21ab48 3 Kernel_Macho_BSD_Final.dylib 0x067a9eb8 fbl::RBTree_Node::Left() const + 0x70 4 Kernel_Macho_BSD_Final.dylib 0x067aa2c8 fbl::RBTree_Node::Is2Node() const + 0x3c 5 Kernel_Macho_BSD_Final.dylib 0x0668b4d8 fbl::SegmentMap_RBTree::_PeekRight(fbl::RBTree_Node*&) + 0xc0 6 Kernel_Macho_BSD_Final.dylib 0x0668b0cc fbl::SegmentMap_RBTree::_SearchRB(fbl::RBTree_Node*&, std::pair&) + 0x4c 7 Kernel_Macho_BSD_Final.dylib 0x0668b0e4 fbl::SegmentMap_RBTree::_SearchRB(fbl::RBTree_Node*&, std::pair&) + 0x64 (500 more calls to fbl::SegmentMap_RBTree::_SearchRB omitted) From sunshine at public.kherson.ua Sun Jul 24 19:58:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 24 11:58:45 2005 Subject: [V4Rb2] CreateULongField crashes app In-Reply-To: <0d56de627c1708e2c4928439da76156d@desuetude.com> Message-ID: On 7/24/05 7:29 PM, "Charles Yeomans" wrote: Hi Charles, > I'm attempting to add a ULong field to an existing table and the result > is an application crash, either using V4Rb 2.0.5fc3 or VStudio. Anyone > else seeing this? I think you need rebuild database. Btw, you can try Clone(). -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From j.peters at valentina-db.de Sun Jul 24 20:30:35 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Sun Jul 24 13:30:50 2005 Subject: [ANN] Valentina Studio Admin b10 uploaded Message-ID: Hi all, i have uploaded b10 Mac+Win to both sites: http://www.paradigmasoft.com and http://www.valentina-db.de This version contains all the latest kernel fixes. You can see list of other changes in Mantis. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050724/65041b17/attachment.html From yeomans at desuetude.com Sun Jul 24 19:53:30 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sun Jul 24 18:53:44 2005 Subject: [V4Rb2] CreateULongField crashes app In-Reply-To: References: Message-ID: <170867dd71ee01fcd2514fbac48e7d83@desuetude.com> On Jul 24, 2005, at 12:58 PM, Ruslan Zasukhin wrote: > On 7/24/05 7:29 PM, "Charles Yeomans" wrote: > > Hi Charles, > >> I'm attempting to add a ULong field to an existing table and the >> result >> is an application crash, either using V4Rb 2.0.5fc3 or VStudio. >> Anyone >> else seeing this? > > I think you need rebuild database. > > Btw, you can try Clone(). > > I used Clone to rebuild the database, and it appears to have cured the problem. -------------- Charles Yeomans From sunshine at public.kherson.ua Mon Jul 25 12:12:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 25 04:12:15 2005 Subject: NOT reproduced: [V4Rb 2] VServer.RegisterDatabase problem In-Reply-To: <31a9f862bc2a23f797476f61abbd91a5@desuetude.com> Message-ID: On 7/22/05 5:22 PM, "Charles Yeomans" wrote: > On Jul 22, 2005, at 2:59 AM, Ruslan Zasukhin wrote: > >> On 7/21/05 10:28 PM, "Charles Yeomans" wrote: >> >>> I'm having a problem with VServer.RegisterDatabase. When I call it, the app >>> hangs. It doesn't appear to be using an CPU, but I have to kill the >>> process. I'm able to reproduce this with the example project 'Valentina >>> Server Utility', using the latest release and fc versions of Valentina. Is >>> anyone seeing this? >> >> We will check this Charles. >> >> So you try >> >> 2.0.4 release ? >> >> Or >> >> 2.0.5fc2 + fc3 > > Both. Hi Charles, We have test against of VServer_Office (2.0.5, Protocol 2.0, Kernel 2.0.5fc2) and V4RB 2.0.5 fc3 Everything works fine. We have test on mac and windows. Using Examples/Advanced/ValentinaServerUtility We can register and unregister database. P.S. Btw, this is third party example, and it show dialog to choose database on disk. This is not very correct. It should just ask a name of database file to be able work remotely. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Mon Jul 25 16:21:02 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Jul 25 15:21:14 2005 Subject: NOT reproduced: [V4Rb 2] VServer.RegisterDatabase problem In-Reply-To: References: Message-ID: <821ab8dc4d4b2e676ea60ec841bdb8a9@desuetude.com> On Jul 25, 2005, at 5:12 AM, Ruslan Zasukhin wrote: > On 7/22/05 5:22 PM, "Charles Yeomans" wrote: > >> On Jul 22, 2005, at 2:59 AM, Ruslan Zasukhin wrote: >> >>> On 7/21/05 10:28 PM, "Charles Yeomans" wrote: >>> >>>> I'm having a problem with VServer.RegisterDatabase. When I call it, >>>> the app >>>> hangs. It doesn't appear to be using an CPU, but I have to kill the >>>> process. I'm able to reproduce this with the example project >>>> 'Valentina >>>> Server Utility', using the latest release and fc versions of >>>> Valentina. Is >>>> anyone seeing this? >>> >>> We will check this Charles. >>> >>> So you try >>> >>> 2.0.4 release ? >>> >>> Or >>> >>> 2.0.5fc2 + fc3 >> >> Both. > > Hi Charles, > > We have test against of > VServer_Office (2.0.5, Protocol 2.0, Kernel 2.0.5fc2) > > and V4RB 2.0.5 fc3 > > Everything works fine. We have test on mac and windows. > Using Examples/Advanced/ValentinaServerUtility > > We can register and unregister database. > Hmmm. I still cannot. And I have tried the following. I was able to open master.vdb using client-server connection and add a record for my database. After rebooting, I executed the following code. Valentina.InitClient dim server as new VServer("localhost", "sa", "sa") server.OpenSession dim names(-1) as String dim paths(-1) as String For i as Integer = 1 to server.DatabaseCount dim dbInfo as VDataBaseInfo = server.DatabaseInfo(i) names.Append dbInfo.Name paths.Append dbInfo.Path Next server.CloseSession server = nil dim db as new VDatabase("localhost", "sa", "sa") dim f as new FolderItem(names(1)) db.Open(f) Upon attempting to execute the last line, my app crashes, and this entry appears in the server log file. 16:04:16.266245 (41990144): (16) ERROR 0xFFFFFFD9: (null) Any suggestions? -------------- Charles Yeomans From sunshine at public.kherson.ua Mon Jul 25 23:40:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 25 15:41:01 2005 Subject: NOT reproduced: [V4Rb 2] VServer.RegisterDatabase problem In-Reply-To: <821ab8dc4d4b2e676ea60ec841bdb8a9@desuetude.com> Message-ID: On 7/25/05 11:21 PM, "Charles Yeomans" wrote: > Hmmm. I still cannot. And I have tried the following. I was able to > open master.vdb using client-server connection and add a record for my > database. After rebooting, I executed the following code. > > Valentina.InitClient > dim server as new VServer("localhost", "sa", "sa") > server.OpenSession > > dim names(-1) as String > dim paths(-1) as String > > For i as Integer = 1 to server.DatabaseCount > dim dbInfo as VDataBaseInfo = server.DatabaseInfo(i) > names.Append dbInfo.Name > paths.Append dbInfo.Path > Next > server.CloseSession > server = nil > > dim db as new VDatabase("localhost", "sa", "sa") > dim f as new FolderItem(names(1)) > db.Open(f) > > Upon attempting to execute the last line, my app crashes, and this > entry appears in the server log file. > > 16:04:16.266245 (41990144): (16) ERROR 0xFFFFFFD9: (null) > > > Any suggestions? We will make new build tomorrow. Then please test it. Actually you should not manually edit masterdb. Or do this very carefully. If you have some simple test project send us. Again, we have test with a) Valentina Studio b) example server utility On mac and windows. No problems found. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jul 27 09:10:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 27 01:11:17 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5 fc5 Message-ID: Hi All, You can download 2.0.5 fc5 here: http://paradigmasoft.com/en/products/download/beta We are building Vserver mac now. kernel - 2.0.5 ============== - 0000958: [Pictures] Improved VPicture.ReadPicture() to understand pictures stored by VBLOB.FromFile(). (Ruslan Zasukhin) - 0000957: [Pictures] VPicture.WriteAs() now accept PICT with JPG compressed. (Ruslan Zasukhin) - 0000812: [SQL Parser] REGEX search for \ does not work (Serge) - 0000948: [SQL Parser] [NEW] sql command - CLONE DATABASE (DATA | STRUCTURE)? TO newdbpath (Serge) - 0000944: [SQL Parser] Unable to use more than one JOIN on binary link (Ivan Smahin) - 0000862: [SQL] Extend syntax for SQL to create binary link. (Serge) - 0000946: [Methods (calculated fields)] Wrong result on Text-based methods with not default storage encoding. (Ivan Smahin) - 0000940: [Fields] VBLOB::get_Properties() does not get deal with method properties. (Ivan Smahin) - 0000933: [SQL] Improved Speed of SQL INSERT command on 40%. (Ivan Smahin) - 0000938: [Database] [NEW] VDatabase.Clone() method (2 forms). (Ivan Smahin) - 0000930: [Indexes] ByteIndex crashes when we reach 8126000 records in table. (Ruslan Zasukhin) - 0000929: [Indexes] Cross-platform db do wrong search in string fields. (Ruslan Zasukhin) - 0000916: [API] ObjectPtr field Corrupted (Ruslan Zasukhin) V4MD - 2.0.5 ============ - 0000962: [API] Functions Cursor.GetRecordAsString() and GetRecordsAsString() now correctly convert to IOEncoding. (Ruslan Zasukhin) - 0000943: [Database] Accentuated characters issue on OSX (Ruslan Zasukhin) - 0000942: [Fields] Regex/Like queries fail on fields of type TEXT (Ruslan Zasukhin) - 0000932: [API] Projector not working under Windows 98 (Igor Gomon) - 0000927: [Cursors] cursor.getRecords() returns always values (Igor Gomon) - 0000923: [SQL] Problem with indexed fields (Ruslan Zasukhin) V4RB - 2.0.5 ============ - 0000955: [Class-way] Can't create file Classes-way as server Database (Igor Gomon) - 0000960: [Change] VBLOB.ReadRawData renamed to ReadData. WriteRawData() renamed to WriteData() (Ruslan Zasukhin) - 0000959: [Examples] [NEW] Example API_way/Field_Picture_Compressed. (Ruslan Zasukhin) - 0000909: [Database] Changing collation attribute has no effect on existing database (Ivan Smahin) - 0000919: [RBDB API] Delete in datacontrol not works. (Serge) - 0000928: [RBDB API] Improved speed for RunQuery(). (Serge) - 0000936: [Database] [NEW] VDatabase.Clone() method (2 forms). (Ivan Smahin) - 0000934: [Examples] [NEW] Api_way/Database_Clone (Ivan Smahin) - 0000931: [API] Example VServer crashes while attempting to get "System Catalog" ini-variable value (Igor Gomon) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050727/274dd0a1/attachment-0001.html From snw at paradise.net.nz Wed Jul 27 19:32:05 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Wed Jul 27 02:32:16 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5 fc5 In-Reply-To: References: Message-ID: <6.2.1.2.2.20050727193020.03d150a0@pop3.paradise.net.nz> Did you update/upload V4MD Win? The link appears to be old... From sunshine at public.kherson.ua Wed Jul 27 10:54:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 27 03:04:56 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5 fc5 In-Reply-To: <6.2.1.2.2.20050727193020.03d150a0@pop3.paradise.net.nz> Message-ID: On 7/27/05 10:32 AM, "Sean Wilson" wrote: > Did you update/upload V4MD Win? The link appears to be old... Today later will be win line -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jul 27 16:56:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 27 08:56:18 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded Message-ID: Hi All, You can download them here: http://paradigmasoft.com/en/products/download/beta * Charles, please try fc5 builds of Vserver and V4RB on RegisterDatabase * Dan, Bob. Class-way now should work with Vserver. * Francois, please check accents on V4MD fc5 Let us know your results. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Wed Jul 27 17:05:05 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed Jul 27 10:05:16 2005 Subject: [VStusdio] SQL Editor crashes Message-ID: When I execute a SELECT stastement in SQL Editor in VStudio 2.0b10 then VStudio stops responding. In VStudio 2.0b9 it used to work... Only a problem on my Windows XP machine/database or a general problem? Heinrich From j.peters at valentina-db.de Wed Jul 27 17:31:48 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Wed Jul 27 10:32:08 2005 Subject: [VStusdio] SQL Editor crashes In-Reply-To: References: Message-ID: <2C70B36A-D45D-4533-A9E3-40C2B1124341@valentina-db.de> Hi Heinrich, > When I execute a SELECT stastement in SQL Editor in VStudio 2.0b10 > then VStudio stops responding. > In VStudio 2.0b9 it used to work... > > Only a problem on my Windows XP machine/database or a general problem? I will check it and let you know! This select statement was for a V2 database? -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050727/2dd61085/attachment.html From heinrichruoff at gmail.com Wed Jul 27 18:01:38 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed Jul 27 11:01:46 2005 Subject: [VStusdio] SQL Editor crashes In-Reply-To: <2C70B36A-D45D-4533-A9E3-40C2B1124341@valentina-db.de> References: <2C70B36A-D45D-4533-A9E3-40C2B1124341@valentina-db.de> Message-ID: yes - V2 tried both LIKE and = int the WHERE statement On 7/27/05, Jochen Peters wrote: > Hi Heinrich, > > > > When I execute a SELECT stastement in SQL Editor in VStudio 2.0b10 > then VStudio stops responding. > In VStudio 2.0b9 it used to work... > > Only a problem on my Windows XP machine/database or a general problem? > > I will check it and let you know! > This select statement was for a V2 database? > > > > > > > > > -- > > Best regards, > > Jochen Peters > > PIIT GmbH > > > > > ------------------------------------ > > http://www.valentina-db.de > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > > > From j.peters at valentina-db.de Wed Jul 27 18:28:49 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Wed Jul 27 11:29:01 2005 Subject: [VStusdio] SQL Editor crashes In-Reply-To: References: <2C70B36A-D45D-4533-A9E3-40C2B1124341@valentina-db.de> Message-ID: <34916.84.164.164.158.1122481729.squirrel@webmail3.server-einstellung.de> Does ANY statement work for you? Or is it general broken? > yes - V2 > tried both LIKE and = int the WHERE statement > > On 7/27/05, Jochen Peters wrote: >> Hi Heinrich, >> >> >> >> When I execute a SELECT stastement in SQL Editor in VStudio 2.0b10 >> then VStudio stops responding. >> In VStudio 2.0b9 it used to work... >> >> Only a problem on my Windows XP machine/database or a general problem? >> >> I will check it and let you know! >> This select statement was for a V2 database? >> >> >> >> >> >> >> >> >> -- >> >> Best regards, >> >> Jochen Peters >> >> PIIT GmbH >> >> >> >> >> ------------------------------------ >> >> http://www.valentina-db.de >> >> _______________________________________________ >> Valentina-beta mailing list >> Valentina-beta@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina-beta >> >> >> > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From macsforever2000 at goodeast.com Wed Jul 27 10:43:32 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Wed Jul 27 11:43:49 2005 Subject: [VStusdio] SQL Editor crashes In-Reply-To: References: Message-ID: <7C41DF40-4DD8-4ED6-B6C4-06A8D0EA42EE@goodeast.com> Hi, On Jul 27, 2005, at 9:05 AM, Heinrich Ruoff wrote: > When I execute a SELECT stastement in SQL Editor in VStudio 2.0b10 > then VStudio stops responding. > In VStudio 2.0b9 it used to work... > > Only a problem on my Windows XP machine/database or a general problem? I can confirm this problem on Mac OS X. I tried to issue a simple "SELECT * from MyTable" and VStudio crashed! I added a bug report on this: Best regards, Frank Schima -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050727/a13546f8/attachment.html From heinrichruoff at gmail.com Wed Jul 27 18:48:23 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed Jul 27 11:48:36 2005 Subject: [VStusdio] SQL Editor crashes In-Reply-To: <7C41DF40-4DD8-4ED6-B6C4-06A8D0EA42EE@goodeast.com> References: <7C41DF40-4DD8-4ED6-B6C4-06A8D0EA42EE@goodeast.com> Message-ID: Is VStudio 2.0b9 still available for download? was too optimistic overwriting it ;-) On 7/27/05, Frank Schima wrote: > Hi, > > > > > On Jul 27, 2005, at 9:05 AM, Heinrich Ruoff wrote: > > When I execute a SELECT stastement in SQL Editor in VStudio 2.0b10 > then VStudio stops responding. > In VStudio 2.0b9 it used to work... > > Only a problem on my Windows XP machine/database or a general problem? > I can confirm this problem on Mac OS X. I tried to issue a simple "SELECT * > from MyTable" and VStudio crashed! > > I added a bug report on this: > > > > > Best regards, > Frank Schima > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > > > From j.peters at valentina-db.de Wed Jul 27 18:50:55 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Wed Jul 27 11:51:05 2005 Subject: [VStusdio] SQL Editor crashes In-Reply-To: References: <7C41DF40-4DD8-4ED6-B6C4-06A8D0EA42EE@goodeast.com> Message-ID: <9D763394-0619-4A78-B404-C4B61AE31DC4@valentina-db.de> Hi Heinrich, no - i will try to fix that ASAP... Am 27.07.2005 um 18:48 schrieb Heinrich Ruoff: > Is VStudio 2.0b9 still available for download? > was too optimistic overwriting it ;-) > > > On 7/27/05, Frank Schima wrote: > >> Hi, >> >> >> >> >> On Jul 27, 2005, at 9:05 AM, Heinrich Ruoff wrote: >> >> When I execute a SELECT stastement in SQL Editor in VStudio 2.0b10 >> then VStudio stops responding. >> In VStudio 2.0b9 it used to work... >> >> Only a problem on my Windows XP machine/database or a general >> problem? >> I can confirm this problem on Mac OS X. I tried to issue a simple >> "SELECT * >> from MyTable" and VStudio crashed! >> >> I added a bug report on this: >> >> >> >> >> Best regards, >> Frank Schima >> >> >> _______________________________________________ >> Valentina-beta mailing list >> Valentina-beta@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina-beta >> >> >> >> > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > > From yeomans at desuetude.com Wed Jul 27 13:13:59 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jul 27 12:14:05 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5 fc5 In-Reply-To: References: Message-ID: <94f3428a2a95a0510f13a3247f4d1ffa@desuetude.com> On Jul 27, 2005, at 2:10 AM, Ruslan Zasukhin wrote: > Hi All, > > You can download 2.0.5 fc5 here: > > ????http://paradigmasoft.com/en/products/download/beta I get unknown error 999 when I start the V4Rb installer. -------------- Charles Yeomans From macsforever2000 at goodeast.com Wed Jul 27 11:18:00 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Wed Jul 27 12:18:32 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5 fc5 In-Reply-To: <94f3428a2a95a0510f13a3247f4d1ffa@desuetude.com> References: <94f3428a2a95a0510f13a3247f4d1ffa@desuetude.com> Message-ID: Hi Charles, On Jul 27, 2005, at 11:13 AM, Charles Yeomans wrote: > > On Jul 27, 2005, at 2:10 AM, Ruslan Zasukhin wrote: > >> Hi All, >> >> You can download 2.0.5 fc5 here: >> >> http://paradigmasoft.com/en/products/download/beta > > I get unknown error 999 when I start the V4Rb installer. FYI, It worked fine for me. Best regards, Frank Schima From sunshine at public.kherson.ua Wed Jul 27 20:24:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 27 12:24:42 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5 fc5 In-Reply-To: <94f3428a2a95a0510f13a3247f4d1ffa@desuetude.com> Message-ID: On 7/27/05 8:13 PM, "Charles Yeomans" wrote: > > On Jul 27, 2005, at 2:10 AM, Ruslan Zasukhin wrote: > >> Hi All, >> >> You can download 2.0.5 fc5 here: >> >> ????http://paradigmasoft.com/en/products/download/beta > > I get unknown error 999 when I start the V4Rb installer. Hmm, this is error when meta-package have reference to bad package. You an try run each package of two separately -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Wed Jul 27 13:37:28 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jul 27 12:37:40 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5 fc5 In-Reply-To: References: Message-ID: On Jul 27, 2005, at 1:24 PM, Ruslan Zasukhin wrote: > On 7/27/05 8:13 PM, "Charles Yeomans" wrote: > >> >> On Jul 27, 2005, at 2:10 AM, Ruslan Zasukhin wrote: >> >>> Hi All, >>> >>> You can download 2.0.5 fc5 here: >>> >>> ????http://paradigmasoft.com/en/products/download/beta >> >> I get unknown error 999 when I start the V4Rb installer. > > Hmm, this is error when meta-package have reference to bad package. > > You an try run each package of two separately > This appears to have worked; thanks. -------------- Charles Yeomans From yeomans at desuetude.com Wed Jul 27 14:13:57 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jul 27 13:14:09 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: References: Message-ID: <0a0c90142fe81b74c150bcf6496e9b75@desuetude.com> On Jul 27, 2005, at 9:56 AM, Ruslan Zasukhin wrote: > Hi All, > > You can download them here: > > http://paradigmasoft.com/en/products/download/beta > > * Charles, please try fc5 builds of Vserver and V4RB on > RegisterDatabase Okay, I have done so. I am still getting the client hang when I register a database. VServer reports 13:58:18.602219 (42017792): (15) Registering database 'timedatabase.vdb': FAILED But now, after I force-quit VServer Utility and run it again, it shows the above database as having being successfully registered. Unregister appears to work just fine. My setup is that I'm running both server and client on the same machine, OS 10.3.9. -------------- Charles Yeomans From sunshine at public.kherson.ua Wed Jul 27 21:42:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 27 13:42:37 2005 Subject: 2.05 fc5 Server Won't Start In-Reply-To: Message-ID: On 7/27/05 8:42 PM, "Bob Keeney" wrote: > On Jul 27, 2005, at 12:26 PM, Ruslan Zasukhin wrote: > >> File of Vserver did have WRONG name in installer. >> >> So it simply did not start . >> >> New archive fix this > > Good news. New installer works and I can log into server using > Studio (might be the cause of the bug I submitted this morning). > > However, see attached picture. VServer Office is now in Dock. Not a > big problem for me at this point. Just wanted to let you know. Yes I have see this also. For now no idea, why it have decide go to dock :-) Embedded server do the same. I have see this on tiger. It needs to check on Panther. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Wed Jul 27 14:46:45 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jul 27 13:46:57 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: References: Message-ID: <771c2cf2f73c93894286b57e259bde43@desuetude.com> On Jul 27, 2005, at 9:56 AM, Ruslan Zasukhin wrote: > Hi All, > > You can download them here: > > http://paradigmasoft.com/en/products/download/beta > > * Charles, please try fc5 builds of Vserver and V4RB on > RegisterDatabase > Also, it looks like your startup script has a bad path to the executable; it reads StartService () { ConsoleMessage "Starting Valentina Server" /Library/VServer_Office/VServer_Office.app/Contents/MacOS/ VServer_Office } but I think it should be StartService () { ConsoleMessage "Starting Valentina Server" /Library/VServer_Office/VServer_Office.app/Contents/MacOS/ ValentinaServer } -------------- Charles Yeomans From j.peters at valentina-db.de Wed Jul 27 20:47:05 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Wed Jul 27 13:47:14 2005 Subject: 2.05 fc5 Server Won't Start In-Reply-To: References: Message-ID: <1E2D7F70-0B57-4B4D-B26A-AFA630B2A420@valentina-db.de> Hi Bob, so - i can close the bug you have submitted tomorrow? -- Best regards, Jochen Peters PIIT GmbH ----------------------------------- http://www.valentina-db.de Am 27.07.2005 um 20:42 schrieb Ruslan Zasukhin: > On 7/27/05 8:42 PM, "Bob Keeney" wrote: > > >> On Jul 27, 2005, at 12:26 PM, Ruslan Zasukhin wrote: >> >> >>> File of Vserver did have WRONG name in installer. >>> >>> So it simply did not start . >>> >>> New archive fix this >>> >> >> Good news. New installer works and I can log into server using >> Studio (might be the cause of the bug I submitted this morning). >> >> However, see attached picture. VServer Office is now in Dock. Not a >> big problem for me at this point. Just wanted to let you know. >> > > Yes I have see this also. > > For now no idea, why it have decide go to dock :-) > Embedded server do the same. > > I have see this on tiger. It needs to check on Panther. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > > From sunshine at public.kherson.ua Wed Jul 27 22:18:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 27 14:18:20 2005 Subject: 2.05 fc5 Server Won't Start In-Reply-To: Message-ID: On 7/27/05 9:42 PM, "Ruslan Zasukhin" wrote: > On 7/27/05 8:42 PM, "Bob Keeney" wrote: >> Good news. New installer works and I can log into server using >> Studio (might be the cause of the bug I submitted this morning). and > Hi Ruslan, > The class way is still not working properly using the new versions. > The files are created but the tables are not so I get a VException as > soon as I try and set up any default values in the database. Bob, So what about Class_way ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jul 27 22:19:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 27 14:19:27 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: <0a0c90142fe81b74c150bcf6496e9b75@desuetude.com> Message-ID: On 7/27/05 9:13 PM, "Charles Yeomans" wrote: >> * Charles, please try fc5 builds of Vserver and V4RB on >> RegisterDatabase > > Okay, I have done so. I am still getting the client hang when I > register a database. VServer reports > > 13:58:18.602219 (42017792): (15) Registering database > 'timedatabase.vdb': FAILED > > But now, after I force-quit VServer Utility and run it again, it shows > the above database as having being successfully registered. strange > Unregister appears to work just fine. > > My setup is that I'm running both server and client on the same > machine, OS 10.3.9. I work in the same configuration. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jul 27 22:21:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 27 14:21:45 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: <771c2cf2f73c93894286b57e259bde43@desuetude.com> Message-ID: On 7/27/05 9:46 PM, "Charles Yeomans" wrote: >> * Charles, please try fc5 builds of Vserver and V4RB on >> RegisterDatabase >> > > Also, it looks like your startup script has a bad path to the > executable; it reads > > StartService () > { > ConsoleMessage "Starting Valentina Server" > /Library/VServer_Office/VServer_Office.app/Contents/MacOS/ > VServer_Office > } > > but I think it should be > > StartService () > { > ConsoleMessage "Starting Valentina Server" > /Library/VServer_Office/VServer_Office.app/Contents/MacOS/ > ValentinaServer > } Aha, I have fix this already! Please download corrected archive. Still fc5 of course. You know, may be you have test on PREV build. So please again try Register db on correct archive. I recommend you manually remove from /Library The folder of Vserver_Office, stop current server, then only install new. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bkeeney at everestkc.net Wed Jul 27 14:37:21 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Wed Jul 27 14:37:43 2005 Subject: 2.05 fc5 Server Won't Start In-Reply-To: <20050727192157.1B34A35D38F@edison.macserve.net> References: <20050727192157.1B34A35D38F@edison.macserve.net> Message-ID: <6B49BFF5-B9E9-4B45-9064-A737F09CCFFB@everestkc.net> On Jul 27, 2005, at 2:21 PM, valentina-beta- request@lists.macserve.net wrote: > Hi Bob, > > so - i can close the bug you have submitted tomorrow? > > > -- > Best regards, > Jochen Pete Yes, it appears that the issue was due to an installer issue. From bkeeney at everestkc.net Wed Jul 27 15:43:23 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Wed Jul 27 15:43:42 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: <20050727165116.F035E35D219@edison.macserve.net> References: <20050727165116.F035E35D219@edison.macserve.net> Message-ID: <20BA3313-BAFF-47CD-B056-E83406BF1D0C@everestkc.net> On Jul 27, 2005, at 11:51 AM, valentina-beta- request@lists.macserve.net wrote: > You can download them here: > > http://paradigmasoft.com/en/products/download/beta > > * Charles, please try fc5 builds of Vserver and V4RB on > RegisterDatabase > > * Dan, Bob. Class-way now should work with Vserver. > > * Francois, please check accents on V4MD fc5 I can say that I'm still having problems with the creating the database on the server. It starts, and then simply freezes and I have to force-quit. In verbose mode, the last couple of lines show up as: 15:33:10.539551 (42019840): (14) Creating 'Cases' table: OK 15:33:10.540461 (42019840): (14) Expecting for 5 field(s)... 15:33:10.546247 (42019840): (14) Creating 'sName'(Type: '') field: OK 15:33:10.554170 (42019840): (14) Creating 'ptrClient'(Type: '') field: OK 15:33:10.557969 (42019840): (14) Creating 'dtmCreated'(Type: '') field: OK I moved around the order that the tables are created and in all cases, the 2nd to last object created is an ObjectPtr field. Definition below: me.name = "Cases" me.mName = me.CreateStringField( "sName", 50, EVFlag.fUnique) me.mClientPtr = me.CreateObjectPtrField( "ptrClient", mDatabase.mClients, EVOnDelete.kNoAction) me.mLastModified = me.CreateDoubleField("dtmCreated") me.mDateCreated = me.CreateDoubleField("dtmModified") me.mDescription = me.CreateStringField("sDescription", 500) I tried changing around the EVOnDelete parameter but that didn't seem to make any difference. For what it's worth, the exact same code creates a perfectly happy data file. Thanks, Bob Keeney From yeomans at desuetude.com Wed Jul 27 17:10:55 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jul 27 16:11:00 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: References: Message-ID: <0a1545a731228ca5ba4189560d8ae337@desuetude.com> On Jul 27, 2005, at 3:21 PM, Ruslan Zasukhin wrote: > On 7/27/05 9:46 PM, "Charles Yeomans" wrote: > >>> * Charles, please try fc5 builds of Vserver and V4RB on >>> RegisterDatabase >>> >> >> Also, it looks like your startup script has a bad path to the >> executable; it reads >> >> StartService () >> { >> ConsoleMessage "Starting Valentina Server" >> /Library/VServer_Office/VServer_Office.app/Contents/MacOS/ >> VServer_Office >> } >> >> but I think it should be >> >> StartService () >> { >> ConsoleMessage "Starting Valentina Server" >> /Library/VServer_Office/VServer_Office.app/Contents/MacOS/ >> ValentinaServer >> } > > Aha, I have fix this already! > Please download corrected archive. Still fc5 of course. > > You know, may be you have test on PREV build. > So please again try Register db on correct archive. > > I recommend you manually remove from /Library > The folder of Vserver_Office, stop current server, then only install > new. I did this, and the app is still hanging when I attempt to register a database. Also, I note that the server log says that it's using the 2.0.4 kernel. -------------- Charles Yeomans From snw at paradise.net.nz Thu Jul 28 09:24:39 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Wed Jul 27 16:24:55 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: References: Message-ID: <6.2.1.2.2.20050728092243.036ed580@pop3.paradise.net.nz> Can you confirm that the Windows xtra is the latest version? The file itself says 2.0.5fc2 and the modification date of Mon 25 July makes me think this is an older version From sunshine at public.kherson.ua Thu Jul 28 08:32:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 28 00:32:43 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: <6.2.1.2.2.20050728092243.036ed580@pop3.paradise.net.nz> Message-ID: On 7/28/05 12:24 AM, "Sean Wilson" wrote: > Can you confirm that the Windows xtra is the latest version? The file > itself says 2.0.5fc2 and the modification date of Mon 25 July makes me > think this is an older version Argh, again forget to update resources. Igor, it needs to find way AUTOMATICALLY update Visual's resources !!! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jul 28 08:36:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 28 00:36:57 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: <0a1545a731228ca5ba4189560d8ae337@desuetude.com> Message-ID: On 7/28/05 12:10 AM, "Charles Yeomans" wrote: >> >> I recommend you manually remove from /Library >> The folder of Vserver_Office, stop current server, then only install >> new. > > I did this, and the app is still hanging when I attempt to register a > database. > > Also, I note that the server log says that it's using the 2.0.4 kernel. Hmm, then you use OLD version !!! This my header: /*************************************************************************** Thu Jul 28 2005 08:35:12.019330 VServer_Embedded (2.0.5, Protocol 2.0, Kernel 2.0.5fc5) Maximum number of connections: 5 08:35:12.056789 (2684396012): Database engine inited 08:35:12.092412 (2684396012): Server started at 15432 port What archive you download? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jul 28 08:38:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 28 00:38:54 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: <0a1545a731228ca5ba4189560d8ae337@desuetude.com> Message-ID: On 7/28/05 12:10 AM, "Charles Yeomans" wrote: > Also, I note that the server log says that it's using the 2.0.4 kernel. Charles, You should download http://paradigmasoft.com/download/VServer_Office_205fc5_mac.dmg THIS server should show version of kernel 2.0.5 fc5 Please confirm. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jul 28 09:42:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 28 01:45:18 2005 Subject: Test of 0000943 bug // ACCENTS In-Reply-To: Message-ID: On 7/27/05 5:19 PM, "Francois Cournoyer" wrote: > "select * from document where document_data REGEX '\Wle.*\W'" returns 0 > records. (it should return 102 records...as it does on Windows) > > "select * from document where document_data REGEX 'le.*'" returns 98 > records(used to return 0 record with 2.0.5fc3) > > There seem to be a problem with the Regex syntax on OSX. Well, I have made new fresh db on mac with one table and one TEXT field. Add few test records. I do not see glitches. Now tell me please. You do in Lingo db.Sqlelect( "select * from document where document_data REGEX '\Wle.*\W'" ) ? If yes then this is not correct. Must be db.Sqlelect( "select * from document where document_data REGEX '\\Wle.*\\W'" ) Doing such query with \\ from viSQL and Vstudio on MAC, I get 39 records as result. Francois, I think you need self make 2 small databases. one native for mac, one native for windows Add 3-5 records. THE SAME for win and MAC. Records should not be huge. And now try do the same queries on mac and windows. Take into account that you need send \\ for such control symbols as \A \W I do not see any glitches. If you will see please send me these 2 dbs and query and what result you see and what result you expect to see. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ayu8 at cdc.gov Thu Jul 28 07:27:30 2005 From: ayu8 at cdc.gov (Sims, John) Date: Thu Jul 28 06:27:45 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5 fc5 Message-ID: > > > On Jul 27, 2005, at 2:10 AM, Ruslan Zasukhin wrote: > > > Hi All, > > > > You can download 2.0.5 fc5 here: > > > > ????http://paradigmasoft.com/en/products/download/beta > > I get unknown error 999 when I start the V4Rb installer. > > -------------- > Charles Yeomans > Hi Ruslan, I am getting the same error as Charles and, unfortunately, I can not install it by running the packages separately. The installer tells me that I can not install onto my hard drive. I have about 800 MB of free space so I can't image this is an issue. Any ideas? All the installers in the past have worked just fine for me. (OS 10.2.8) Thanks! -John From sunshine at public.kherson.ua Thu Jul 28 17:34:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 28 09:34:16 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5 fc5 In-Reply-To: Message-ID: On 7/28/05 2:27 PM, "Sims, John" wrote: >>> ????http://paradigmasoft.com/en/products/download/beta >> >> I get unknown error 999 when I start the V4Rb installer. >> >> -------------- >> Charles Yeomans >> > Hi Ruslan, > > I am getting the same error as Charles and, unfortunately, I can not install > it by running the packages separately. The installer tells me that I can not > install onto my hard drive. I have about 800 MB of free space so I can't > image this is an issue. Any ideas? All the installers in the past have > worked just fine for me. (OS 10.2.8) Ok, I will try rebuild package and upload it again. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bkeeney at everestkc.net Thu Jul 28 09:38:28 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Thu Jul 28 09:38:49 2005 Subject: VServer 2.05fc5 Create Database Freeze In-Reply-To: <20050727192157.1B34A35D38F@edison.macserve.net> References: <20050727192157.1B34A35D38F@edison.macserve.net> Message-ID: <693886DD-5FA0-4C4B-9EF6-710BB592264A@everestkc.net> I'm a digest subscriber and didn't see this on the web archive so forgive me if this post makes it twice. - BK On Jul 27, 2005, at 11:51 AM, valentina-beta- request@lists.macserve.net wrote: > You can download them here: > > http://paradigmasoft.com/en/products/download/beta > > * Charles, please try fc5 builds of Vserver and V4RB on > RegisterDatabase > > * Dan, Bob. Class-way now should work with Vserver. > > * Francois, please check accents on V4MD fc5 > I can say that I'm still having problems with the creating the database on the server. It starts, and then simply freezes and I have to force-quit. In verbose mode, the last couple of lines show up as: 15:33:10.539551 (42019840): (14) Creating 'Cases' table: OK 15:33:10.540461 (42019840): (14) Expecting for 5 field(s)... 15:33:10.546247 (42019840): (14) Creating 'sName'(Type: '') field: OK 15:33:10.554170 (42019840): (14) Creating 'ptrClient'(Type: '') field: OK 15:33:10.557969 (42019840): (14) Creating 'dtmCreated'(Type: '') field: OK I moved around the order that the tables are created and in all cases, the 2nd to last object created is an ObjectPtr field. Definition below: me.name = "Cases" me.mName = me.CreateStringField( "sName", 50, EVFlag.fUnique) me.mClientPtr = me.CreateObjectPtrField( "ptrClient", mDatabase.mClients, EVOnDelete.kNoAction) me.mLastModified = me.CreateDoubleField("dtmCreated") me.mDateCreated = me.CreateDoubleField("dtmModified") me.mDescription = me.CreateStringField("sDescription", 500) I tried changing around the EVOnDelete parameter but that didn't seem to make any difference. For what it's worth, the exact same code creates a perfectly happy data file. Thanks, Bob Keeney From ayu8 at cdc.gov Thu Jul 28 10:49:47 2005 From: ayu8 at cdc.gov (Sims, John) Date: Thu Jul 28 09:51:08 2005 Subject: [ANN] V4RB and V4MD mac 2.0.5 fc5 Message-ID: Thanks, Ruslan! John Sims Programmer Northrop Grumman CITS Contract 404-498-3938 ayu8@cdc.gov > -----Original Message----- > From: valentina-beta-bounces@lists.macserve.net > [mailto:valentina-beta-bounces@lists.macserve.net] On Behalf > Of Ruslan Zasukhin > Sent: Thursday, July 28, 2005 10:34 AM > To: valentina-beta@lists.macserve.net > Subject: Re: [ANN] V4RB and V4MD mac 2.0.5 fc5 > > On 7/28/05 2:27 PM, "Sims, John" wrote: > > >>> ????http://paradigmasoft.com/en/products/download/beta > >> > >> I get unknown error 999 when I start the V4Rb installer. > >> > >> -------------- > >> Charles Yeomans > >> > > Hi Ruslan, > > > > I am getting the same error as Charles and, unfortunately, > I can not > > install it by running the packages separately. The > installer tells me > > that I can not install onto my hard drive. I have about 800 MB of > > free space so I can't image this is an issue. Any ideas? All the > > installers in the past have worked just fine for me. (OS 10.2.8) > > Ok, I will try rebuild package and upload it again. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > > From sunshine at public.kherson.ua Thu Jul 28 17:59:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 28 09:59:33 2005 Subject: VServer 2.05fc5 Create Database Freeze In-Reply-To: <693886DD-5FA0-4C4B-9EF6-710BB592264A@everestkc.net> Message-ID: On 7/28/05 5:38 PM, "Bob Keeney" wrote: > I'm a digest subscriber and didn't see this on the web archive so > forgive me if this post makes it twice. - BK So I CC this. Igor have reproduce and fix this bug. and one more as I have understand, also class_way + RecID fields. I think today Later we will make new build with this fixes. ------------------------------------------- Aha, also I have polish MacOs Servers, so now they do not jump into Dock. Also I have polish Startup Items property lists for Embedded Server. Problem was that I have just copy it from folder of Office Server, And it have THE SAME values for some keys. Result was that 2 servers (Embedded and Office) did not start on my computer together. I long time was not able understand why :-) Now we know - OS X look into plist located in Startup Items.s -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Thu Jul 28 12:20:32 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jul 28 11:20:38 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: References: Message-ID: <9586bfb29f6f9f2ce206261cfadec60d@desuetude.com> On Jul 28, 2005, at 1:38 AM, Ruslan Zasukhin wrote: > On 7/28/05 12:10 AM, "Charles Yeomans" wrote: > >> Also, I note that the server log says that it's using the 2.0.4 >> kernel. > > Charles, > > You should download > > http://paradigmasoft.com/download/VServer_Office_205fc5_mac.dmg > > THIS server should show version of kernel 2.0.5 fc5 > > Please confirm. > Okay, I downloaded this build, and it does show that it's using the 2.0.5 fc5 kernel. But now VServer shows up in the dock when I run it. And VServer Utility still hangs when I attempt to register a database. I tried using both Rb 5.5.5 and Rb 2005 to build the app. I set Valentina.DebugLevel to 3 in the app, and the log shows that Valentina is not returning from Server_RegisterDatabase. I also set the server log level to 3, but that doesn't appear to log any more information than level 2. -------------- Charles Yeomans From sunshine at public.kherson.ua Thu Jul 28 22:09:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 28 14:09:40 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: <9586bfb29f6f9f2ce206261cfadec60d@desuetude.com> Message-ID: On 7/28/05 7:20 PM, "Charles Yeomans" wrote: Hi Charles, > Okay, I downloaded this build, and it does show that it's using the > 2.0.5 fc5 kernel. But now VServer shows up in the dock when I run it. This is fixed already. > And VServer Utility still hangs when I attempt to register a database. > I tried using both Rb 5.5.5 and Rb 2005 to build the app. I set > Valentina.DebugLevel to 3 in the app, and the log shows that Valentina > is not returning from Server_RegisterDatabase. I also set the server > log level to 3, but that doesn't appear to log any more information > than level 2. Very very strange. Can you describe your steps? You need: * put some new db into folder pointer by SystemCatalog * run utility * connect * click Register Database button * in dialog choose that db -- OK Now I see it in list of dbs. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Thu Jul 28 15:59:15 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jul 28 14:59:24 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: References: Message-ID: On Jul 28, 2005, at 3:09 PM, Ruslan Zasukhin wrote: > On 7/28/05 7:20 PM, "Charles Yeomans" wrote: > > Hi Charles, > >> Okay, I downloaded this build, and it does show that it's using the >> 2.0.5 fc5 kernel. But now VServer shows up in the dock when I run it. > > This is fixed already. > >> And VServer Utility still hangs when I attempt to register a database. >> I tried using both Rb 5.5.5 and Rb 2005 to build the app. I set >> Valentina.DebugLevel to 3 in the app, and the log shows that Valentina >> is not returning from Server_RegisterDatabase. I also set the server >> log level to 3, but that doesn't appear to log any more information >> than level 2. > > Very very strange. > > Can you describe your steps? > You need: > > * put some new db into folder pointer by SystemCatalog > * run utility > * connect > * click Register Database button > * in dialog choose that db -- OK > > Now I see it in list of dbs. Correct; these are the steps that one needs to do. About the only clue I can provide now is that RegisterDatabase does not return, but it runs long enough to write the message 11:57:51.553609 (41996800): (15) Registering database 'pastefforts.vdb': FAILED to the log. What could cause this failure message? I also tried turning exceptions off, and I checked file and directory permissions. -------------- Charles Yeomans From sunshine at public.kherson.ua Thu Jul 28 23:12:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 28 15:12:52 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: Message-ID: On 7/28/05 10:59 PM, "Charles Yeomans" wrote: > Correct; these are the steps that one needs to do. About the only clue > I can provide now is that RegisterDatabase does not return, but it runs > long enough to write the message > > 11:57:51.553609 (41996800): (15) Registering database > 'pastefforts.vdb': FAILED > > to the log. What could cause this failure message? > > I also tried turning exceptions off, and I checked file and directory > permissions. Okay, we will play more and I think there Is sense make new simple exmaple * create new empty db on server * now UNREGISTER it * other button REGISTER it back -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Fri Jul 29 06:36:54 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Jul 28 23:37:15 2005 Subject: next steps in development of V4RB2? when will be speed a task Message-ID: <915C48D9-28C4-4661-B0B4-73D6FA941EF3@sailer-online.de> Hello, I see V4RB2 is a good environment and a good solution for me and the future will bring interesting features ;-)) (#810, #811). But one point is at the moment badly to me (#641) the speed in a lot of circumstances is much slower as in V4RB1.10. I could speed up my application with V4RB2 at a lot of parts, because I only need one SQL instead of 2 or 3 to come to same result and in a lot of parts I can use now SQL where I hade to write RB-Code to take correct data and values out of database cursor. But in my mainpart of my application. the speed is now 2-3times slower which is not accepted by my users. I knew that working on performance and optimazations will be a part of the future (as I understand in this list correct), but it would be interesting when will this start. I want to be able to plan next releases and steps with my application and it would be nice to have a hint about window of time. The good thing is. At the moment I have less of time, so I have no problem when this will be not tomorrow ;-)) My application is running on my computer since 2.0.3 stable without any problem. really good. Oh I forgot. It would also be nice when V4RB2 components could be part of RB Package bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.5/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Fri Jul 29 09:26:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 29 01:26:36 2005 Subject: next steps in development of V4RB2? when will be speed a task In-Reply-To: <915C48D9-28C4-4661-B0B4-73D6FA941EF3@sailer-online.de> Message-ID: On 7/29/05 7:36 AM, "Claudius Sailer" wrote: Hi Claudius, > I see V4RB2 is a good environment and a good solution for me and the > future will bring interesting features ;-)) (#810, #811). Well, this is not new features. Just more complex SQL queries. New features which you can expect from Valentina are e.g. * Support of collections on kernel level * Support of Xquery * transactions, hot backup, * inheritance of tables. > But one point is at the moment badly to me (#641) the speed in a lot of > circumstances is much slower as in V4RB1.10. > I could speed up my application with V4RB2 at a lot of parts, because I only > need one SQL instead of 2 or 3 to come to same result and in a lot of parts I > can use now SQL where I hade to write RB-Code to take correct data and values > out of database cursor. > But in my mainpart of my application. the speed is now 2-3 times slower which > is not accepted by my users. > I knew that working on performance and optimizations will be a part of the > future (as I understand in this list correct), but it would be interesting > when will this start. I want to be able to plan next releases and steps with > my application and it would be nice to have a hint about window of time. > The good thing is. At the moment I have less of time, so I have no > problem when this will be not tomorrow ;-)) > My application is running on my computer since 2.0.3 stable without > any problem. really good. Yes, really good. > Oh I forgot. It would also be nice when V4RB2 components could be > part of RB Package What you mean? Bundled with REALbasic? Well, this is unlikely :-) 1) REAL now use SQL Lite, 2) Valentina is fairly big now ---- About speed. Serge week ago have start develop in REALbasic BenchProject. This will be public open source project. I think we will put it into Advanced folder. This going to be quite complex and big project. 1) it allow us execute single bench under profiler to see where is speed problems. 2) second main task of this project -- it can execute all existed benches in all existed variations and put results into database. This give Paradigma new kind of protection of kernel. Let me explain. Assume one developer add some new code. We have, as you know about 25,000 tests to check correctness so we can see that we have not broke something. But there is no guarantee up to now, that we have not kill performance in some area. Having such auto-benches we will have system that automatically will warn us if this happens. Then we easy know what changes cause problem. I hope that such things will allow us ship new versions that are correct and at least NOT slower than previous builds WHILE this will be public project everybody can add own bench important for him then send this to us, so we will check code and add it into project. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Fri Jul 29 07:25:48 2005 From: jda at his.com (jda) Date: Fri Jul 29 06:25:56 2005 Subject: next steps in development of V4RB2? when will be speed a task In-Reply-To: References: Message-ID: > > >> Oh I forgot. It would also be nice when V4RB2 components could be >> part of RB Package > >What you mean? Bundled with REALbasic? I think he means a bundle (package) with a Mach-0 RB build. Jon From sunshine at public.kherson.ua Fri Jul 29 17:59:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 29 10:00:03 2005 Subject: [ANN] Vservers mac+win and V4MD Win 2.0.5 fc5 uploaded In-Reply-To: Message-ID: On 7/28/05 10:59 PM, "Charles Yeomans" wrote: > Correct; these are the steps that one needs to do. About the only clue > I can provide now is that RegisterDatabase does not return, but it runs > long enough to write the message > > 11:57:51.553609 (41996800): (15) Registering database > 'pastefforts.vdb': FAILED > > to the log. What could cause this failure message? We see such error, if you specify name of db that not exists in catalog > I also tried turning exceptions off, and I checked file and directory > permissions. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jul 29 18:20:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 29 10:20:30 2005 Subject: Vservers register db -- REPRODUCED In-Reply-To: Message-ID: On 7/28/05 10:59 PM, "Charles Yeomans" wrote: > Correct; these are the steps that one needs to do. About the only clue > I can provide now is that RegisterDatabase does not return, but it runs > long enough to write the message > > 11:57:51.553609 (41996800): (15) Registering database > 'pastefforts.vdb': FAILED We have reproduce. Problem is when you try register db without extension. If you will add it, then all works okay. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Fri Jul 29 12:32:49 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jul 29 11:33:00 2005 Subject: Vservers register db -- REPRODUCED In-Reply-To: References: Message-ID: <8002a274d11aa32d319218b3911789f1@desuetude.com> On Jul 29, 2005, at 11:20 AM, Ruslan Zasukhin wrote: > On 7/28/05 10:59 PM, "Charles Yeomans" wrote: > >> Correct; these are the steps that one needs to do. About the only >> clue >> I can provide now is that RegisterDatabase does not return, but it >> runs >> long enough to write the message >> >> 11:57:51.553609 (41996800): (15) Registering database >> 'pastefforts.vdb': FAILED > > We have reproduce. > > Problem is when you try register db without extension. > > If you will add it, then all works okay. > Aha. I was just getting it to work as well. I can now register a database and open it. It turns out that I was also being confused during some of my efforts by accidentally adding a v1 database to the Databases folder. VServer does not handle v1 databases very well; attempting to open one causes problems including a client crash. Perhaps you could add some code that logs attempts by VServer to open v1 databases. -------------- Charles Yeomans From Claudius at sailer-online.de Fri Jul 29 18:44:06 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Jul 29 11:44:23 2005 Subject: next steps in development of V4RB2? when will be speed a task In-Reply-To: References: Message-ID: <770F57AA-598A-4D94-BAE5-B9CD2F75D73F@sailer-online.de> Am 29. Jul 2005 um 13:25 Uhr schrieb jda: >> >> >> >>> Oh I forgot. It would also be nice when V4RB2 components could be >>> part of RB Package >>> >> >> What you mean? Bundled with REALbasic? >> > > I think he means a bundle (package) with a Mach-0 RB build. thats it. Sorry my english is not really good. Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.5/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Fri Jul 29 19:59:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 29 11:59:17 2005 Subject: Vservers register db -- REPRODUCED In-Reply-To: <8002a274d11aa32d319218b3911789f1@desuetude.com> Message-ID: On 7/29/05 7:32 PM, "Charles Yeomans" wrote: >> We have reproduce. >> >> Problem is when you try register db without extension. >> >> If you will add it, then all works okay. >> > > Aha. I was just getting it to work as well. I can now register a > database and open it. Ok, and we have fix some code... So let's hope now it will be more stable. > It turns out that I was also being confused during some of my efforts > by accidentally adding a v1 database to the Databases folder. VServer > does not handle v1 databases very well; attempting to open one causes > problems including a client crash. Perhaps you could add some code > that logs attempts by VServer to open v1 databases. Good idea. Igor add this into Mantis. Igor also enter into Mantis all your last fixes on vserver -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Fri Jul 29 14:14:58 2005 From: jda at his.com (jda) Date: Fri Jul 29 13:15:05 2005 Subject: db.clone In-Reply-To: References: Message-ID: Hi Ruslan, I have a damaged db that I can recover with .clone (very good). But at the end it throws a -39 exception (unexpected end of file). Shouldn't it handle that gracefully? I mean, it is excluding damaged data already, so I think it should just finish up without throwing an exception. No? Jon From jda at his.com Fri Jul 29 14:21:42 2005 From: jda at his.com (jda) Date: Fri Jul 29 13:21:49 2005 Subject: db.clone In-Reply-To: References: Message-ID: >Hi Ruslan, > >I have a damaged db that I can recover with .clone (very good). But >at the end it throws a -39 exception (unexpected end of file). >Shouldn't it handle that gracefully? I mean, it is excluding damaged >data already, so I think it should just finish up without throwing >an exception. No? > >Jon Followup: 1. After the first db.clone of this db (when -39 is thrown), diagnose -> problems. 2. I run db.clone a second time on the "cloned" db -> diagnose -> OK! So I think that if Valentina caught the first exception and handled in gracefully, the db would be fully repaired, unlike now where it is damaged after one run through. Jon From sunshine at public.kherson.ua Sat Jul 30 00:02:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 29 16:02:30 2005 Subject: db.clone In-Reply-To: Message-ID: On 7/29/05 9:14 PM, "jda" wrote: Hi Jon, > I have a damaged db that I can recover with .clone (very good). But > at the end it throws a -39 exception (unexpected end of file). > Shouldn't it handle that gracefully? Yes it should. Db is big? > I mean, it is excluding damaged data already, so I think it should just finish > up without throwing an exception. No? I think Ivan have not built so strong protection against different kinds of corruptions. If db is not big please send to us. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jul 30 00:41:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 29 16:41:15 2005 Subject: [ANN] V4RB + Vservers mac 2.0.5 fc6 Message-ID: Hi All, http://paradigmasoft.com/en/products/download/beta This build fix Vserver issues: ** Class_way now should work ** Register database now should work for files with no ext on mac. new example about register db ** Mac Vserver now not jump into Dock. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Fri Jul 29 17:45:51 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jul 29 16:45:59 2005 Subject: another VServer hang Message-ID: <50dd49626855416c668ffc4dbaeb69a0@desuetude.com> I'm now able to get far enough to encounter the following problem with VServer. I open a database. Then I make one, two, three queries, and the app hangs on the third query. I can reproduce it with a simple project. But I see that fc6 has just arrived, so perhaps I'll test with it first. -------------- Charles Yeomans From bkeeney at everestkc.net Fri Jul 29 18:24:47 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Fri Jul 29 18:25:02 2005 Subject: New Bug Reports Submitted In-Reply-To: <20050729150013.49D4035E861@edison.macserve.net> References: <20050729150013.49D4035E861@edison.macserve.net> Message-ID: Submitted two new bug reports. VServer/RB2005 doesn't create database using Classes (Server Hard Crash) Datafile becomes unusable after forced quit (and not editing data). I have sample project files and instructions on how to duplicate. I couldn't find a way to attach files to the bug submissions. Please contact me off-list if you would like them. Bob Keeney From sunshine at public.kherson.ua Sat Jul 30 08:47:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 30 00:47:47 2005 Subject: New Bug Reports Submitted In-Reply-To: Message-ID: On 7/30/05 2:24 AM, "Bob Keeney" wrote: > Submitted two new bug reports. > > VServer/RB2005 doesn't create database using Classes (Server Hard Crash) Bob, you have test fc6 ? And your project not works ? We need your project then. > Datafile becomes unusable after forced quit (and not editing data). ok > I have sample project files and instructions on how to duplicate. I > couldn't find a way to attach files to the bug submissions. Please > contact me off-list if you would like them. Just send this as 2 __separate__ letters to sunshine@public.kherson.ua In the subject please specify bug numbers -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jul 30 11:10:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 30 03:10:37 2005 Subject: New Bug Reports Submitted In-Reply-To: Message-ID: On 7/30/05 8:47 AM, "Ruslan Zasukhin" wrote: >> VServer/RB2005 doesn't create database using Classes (Server Hard Crash) > > Bob, you have test fc6 ? > > And your project not works ? > > We need your project then. Hi Bob, I have look into Mantis, and I still do not see if you have test with fc5 or fc6 Please, provide MORE detailed information. Again, all our tests (Igor have made a lots new tests) for class way work with fc6. You need test with fc6 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jul 30 11:11:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 30 03:11:04 2005 Subject: another VServer hang In-Reply-To: <50dd49626855416c668ffc4dbaeb69a0@desuetude.com> Message-ID: On 7/30/05 12:45 AM, "Charles Yeomans" wrote: > I'm now able to get far enough to encounter the following problem with > VServer. I open a database. Then I make one, two, three queries, and > the app hangs on the third query. I can reproduce it with a simple > project. But I see that fc6 has just arrived, so perhaps I'll test with > it first. So any info Charles ? What query hangs ? Db ? Project ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jul 30 19:02:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 30 11:02:33 2005 Subject: Seems OK, but crashes on open In-Reply-To: Message-ID: On 7/29/05 11:13 PM, "jda" wrote: > It crashes on this SQL statement (try in viSQL): > > select varCharField from misc where propertyName='groupName' ORDER BY > varCharField > > Note that dignose of this db -> OK. Okay, I have improve code, so now 1) it not crashes but say Internal Error. 2) REINDEX DATABSE now not crashes on your db, but is able build new indexes. And after REINDEX query start work. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Sat Jul 30 12:31:18 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jul 30 11:31:25 2005 Subject: [ANN] V4RB + Vservers mac 2.0.5 fc6 In-Reply-To: References: Message-ID: On Jul 29, 2005, at 5:41 PM, Ruslan Zasukhin wrote: > Hi All, > > http://paradigmasoft.com/en/products/download/beta > > > This build fix Vserver issues: > > > ** Class_way now should work > > ** Register database now should work for files with no ext on mac. > > new example about register db > > ** Mac Vserver now not jump into Dock. The web page still needs to be updated for V4Rb. -------------- Charles Yeomans From yeomans at desuetude.com Sat Jul 30 12:36:37 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jul 30 11:36:41 2005 Subject: another VServer hang In-Reply-To: References: Message-ID: <4655597a7c1354079c193aaeb6b2efd1@desuetude.com> On Jul 30, 2005, at 4:11 AM, Ruslan Zasukhin wrote: > On 7/30/05 12:45 AM, "Charles Yeomans" wrote: > >> I'm now able to get far enough to encounter the following problem with >> VServer. I open a database. Then I make one, two, three queries, and >> the app hangs on the third query. I can reproduce it with a simple >> project. But I see that fc6 has just arrived, so perhaps I'll test >> with >> it first. > > So any info Charles ? > > What query hangs ? > > Db ? Project ? Here's the entire test code. Valentina.InitClient dim db as new VDatabase("localhost", "sa", "sa") db.Open(new FolderItem("pastefforts")) dim query as String = "SELECT recID, * FROM Courts WHERE is_deleted=false" dim c as VCursor = db.SqlSelect(query, EVCursorLocation.kServerSide, EVLockType.kReadOnly, EVCursorDirection.kForwardOnly) c = nil query = "SELECT recID, * FROM Law WHERE is_deleted=false" c = db.SqlSelect(query, EVCursorLocation.kServerSide, EVLockType.kReadOnly, EVCursorDirection.kForwardOnly) c = nil query = "SELECT recID, * FROM Matters WHERE is_deleted=false" c = db.SqlSelect(query, EVCursorLocation.kServerSide, EVLockType.kReadOnly, EVCursorDirection.kForwardOnly) c = nil db.Close db = nil Valentina.ShutDownClient Executing the last query causes the client app to hang. I can then force-quit the app, after which the server logs the sudden disconnect, destroys the abandoned cursor, and otherwise behaves correctly. I'm downloading the new versions to see whether the problem remains. -------------- Charles Yeomans From sunshine at public.kherson.ua Sun Jul 31 08:40:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 31 00:40:51 2005 Subject: V4RB 2.0.5 fc5 In-Reply-To: <002001c59561$7f1a17f0$ae00a8c0@DamonsPC> Message-ID: On 7/31/05 2:50 AM, "Damon Pillinger" wrote: > Yes fc5 fixed everything. > > All the tests ran well, I have meant to send an email to Igor about the Not Igor. That was Sergey. > work he did on the search part of the datacontrol. As he said there was > some small improvement, which is a great understatement. The previous > result for this was 29 seconds whereas now it is in the 1 second range. > Well done Excellent. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jul 31 09:09:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 31 01:09:13 2005 Subject: Demo license files for Vserver updated on site for Augest. Message-ID: -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sun Jul 31 10:20:33 2005 From: jda at his.com (jda) Date: Sun Jul 31 09:20:38 2005 Subject: Clone questions In-Reply-To: References: Message-ID: Hi Ruslan, I've got clone working now, based on the example, but I have a few questions: Mantis says that there are two ways of using the Clone API...what are they? And what does the boolean value do in this statement: sourceDB.Clone(fNew, true) Are they any tricks we need to know about with clone? Thanks, Jon From sunshine at public.kherson.ua Sun Jul 31 17:55:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 31 09:55:08 2005 Subject: Clone questions In-Reply-To: Message-ID: On 7/31/05 5:20 PM, "jda" wrote: Hi Jon, > I've got clone working now, based on the example, but I have a few questions: > Mantis says that there are two ways of using the Clone API...what are they? API and SQL. we try implement in this way any feature of Valentina > And what does the boolean value do in this statement: > > sourceDB.Clone(fNew, true) TRUE -- then close records. FALSE -- ONLY structure > Are they any tricks we need to know about with clone? In general no. I have sent to this list quite big letter about 2-3 weeks ago. About Clone and how to use it -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jul 31 18:55:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 31 10:55:57 2005 Subject: Specification of Encryption for Valentina 2.0 Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: Encryption.txt Type: application/octet-stream Size: 6934 bytes Desc: not available Url : http://lists.macserve.net/pipermail/valentina-beta/attachments/20050731/3641f671/Encryption-0001.obj From sunshine at public.kherson.ua Sun Jul 31 19:12:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 31 11:12:29 2005 Subject: Ruslan will be absent 2 days Message-ID: Hi All, I need go to Kiev on 2 days. This time you will be supported by Ivan and Igor. Please send all bug files on their emails. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lfredricks at proactive-intl.com Sun Jul 31 09:52:01 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun Jul 31 11:52:15 2005 Subject: Specification of Encryption for Valentina 2.0 In-Reply-To: Message-ID: <20050731165203.E37A917D204@spatula.dreamhost.com> Hi Ruslan, I have a question: Can you think of a possibility in which someone would need to be granted limited access to part of a database, such as a single table in a database, or a few fields? In such a case, how would this be handled? Also, we do need some level of error handling if someone doesnt have a password -- because it certainly happens in real life ;-) Shouldnt there be a default method and then (in the more powerful C++ SDK) a way for this to be modified or replaced by custom code? I can see how it may be desirable, for example, to pass back nothing (but the attempt is logged someplace). Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com -Software Destinations http://www.proactive-intl.com/blogs/ _____ From: valentina-beta-bounces@lists.macserve.net [mailto:valentina-beta-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Sunday, July 31, 2005 8:56 AM To: valentina@lists.macserve.net; valentina-beta@lists.macserve.net; Igor Gomon; Jochen Peters Subject: Specification of Encryption for Valentina 2.0 /*************************************************************************** ***/ Specification (point of user) * User can encrypt - the whole database. - one or few tables. - one or few fields. * User cannot encrypt links. Valentina 2.0 have Binary Links. But since they keep only values of RecIDs there is no sense to encrypt them. * Hierarchy of objects VDatabase -> VTable -> VField inherit settings of encryption parameters. In other words, if user have encrypt database, then each its table also is encrypted using the same password. And each field of a table also is encrypted by that password. * User cannot assign password to an object if its supervisor already is encrypted. We do not want do this to avoid ambigiouty with passwords. In case user try to assign password to a such object, then user get ERROR "This object already is encrypted" * Note that the main job do VField. VDatabase and VTable objects play just a role of password-keeper. So VField encrypt data stored in column of Table, also indexes of the field is encrypted. * If user forget password then big problems. Because nobody can decrypt that database. * Each of classes VDatabase, VTable and VField implements interface I_Encryptable. * Important to note that you should never try read data that are encrypted until you specify correct password. So first of all you must check that you do not get error WRONG_PASSWORD, and only after this try to read data. * What happens if user try read data without password? Hard to say... He can see garbage, or may be NULLs or may be empty strings. In ideal system must not crash on access to such non-encrypted data, although it seems it is hard to implement this. /*************************************************************************** ***/ * Interface I_Encryptable offer to user the next operations: // Properties: // ----------------------------------------------------------------- IsEncrypted : bool DESCRIPTION: Returns TRUE if this object is encrypted, never mind how -- directly or by supervisor. // ----------------------------------------------------------------- RequirePassword : bool DESCRIPTION: Returns TRUE if this object is root of encryption, and user must specify password to get access to data of this object and all its sub-objects. // Group of methods to encrypt/decrypt: // ----------------------------------------------------------------- Encrypt( inPassword: string ) : void DESCRIPTION: Encrypt object using the specified password. ERRORS: - "Object already is encrypted." - "Object already is encrypted by supervisor." First error happens if user try encrypt already encrypted db for example. Second error when user try encrypt e.g. Table but its daatabse already is encrypted. // ----------------------------------------------------------------- Decrypt( inPassword: string ) : void DESCRIPTION: Removes encryption for an object. ERRORS: - "Object is not encrypted." - "Object is encrypted by supervisor." // ----------------------------------------------------------------- ChangePassword( inOldPassword : string, inNewPassword : string ) : void DESCRIPTION: Changes password of encryption for an object. ERRORS: - "Object is not encrypted." - "Object is encrypted by supervisor." - "Wrong password." // Group of methods to get access to encrypted objects // ----------------------------------------------------------------- UsePassword( inPassword : string ) : void DESCRIPTION: Informs object by the password that it must use to decrypt data when read them from database files. In case user specifies a wrong password the error will be thrown with the delay in one second to prevent hacking. ERRORS: - "Object is not encrypted." - "Wrong password." Errors are returned only if you apply this to Table or Field, i.e. database already is opened. When you apply this to a closed database then error cannot be checked, so error can be faired on db.Open(). /*************************************************************************** ***/ Technical notes of implementation. * On default we use BlowFish algorithm. This algorithm require that data are aligned to 8 bytes. Taking into account that Cache pages are 4Kb, we will use this amount of data as atomic set to encrypt/decrypt. * On disk all files of encrypted objects are ALWAYS encrypted. * We decrypt page when it is loaded into the Cache. Decryption must happens before ByteSwap algorithms start work: Cache.Read() -> Decrypt() -> ByteSwap() * When page must go to disk we again encrypt it. To encrypt page, we need to use helper buffer of the same size, because it is no good encrypt it directly in cache, we still can use it. Only optimisation possible if we exactly know that this page is removed from cache right now. * interface I_Encryptable is visiable only on C++ level. All rest plugins do not have it, just classes VDatabase, VTable, VField have set of Encryption Methods. /*************************************************************************** ***/ Examples of usage: 1.1 Encryption of database (empty of with records): db = new VDatabase() db.Open() db.Encrypt( "password" ) db.Close() 1.2 Opening of encrypted database: 1.2.1 We know that databse is encrypted OpenEncrypted( db ) { db.UsePassword( "password" ) -- never produce error try db.Open() -- can throw error NOT_ENCRYPTED, WRONG_PASSW catch err } 1.2.2 We do not know if this databse is encrypted. OpenUnknown( db ) { db = new VDatabase() try db.Open() -- can throw error WRONG_PASSW catch err OpenAsEncrypted() end } OpenAsEncrypted() { // Ask user for a password. E.g. VStudio may need this. passw = ... // then open db using that password: OpenEncrypted( passw ); } 1.3 Decryption of existed encrypted database db.Decrypt( "passw" ) 1.4. Change of password: db.ChangePassword( "passw", "passw2" ) // ---------------------------------------------------- 2.1 Database is not encrypted and we want encrypt one table db.Open() -- open without password. db.Table( "tblEncrypted" ).Encrypt( "passwtbl" ) -- can throw error. 2.2 Database is not encrypted but one of tables is. db.Open() -- open without password. db.Table( "tblEncrypted" ).UsePassword( "passwtbl" ) -- can throw error. 2.3 Remove encryption from single table: db.Table( "tblEncrypted" ).Decrypt( "passwtbl" ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20050731/934d11b9/attachment-0001.html From lfredricks at proactive-intl.com Sun Jul 31 09:54:16 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun Jul 31 11:54:27 2005 Subject: Lynn Too! (RE: Ruslan will be absent 2 days) In-Reply-To: Message-ID: <20050731165418.EB4E017D204@spatula.dreamhost.com> Ill also be on the road from August 1-3, but if I can find an unguarded Wi-Fi point, will be able to access my "proactive-intl" email. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com > -----Original Message----- > From: valentina-beta-bounces@lists.macserve.net > [mailto:valentina-beta-bounces@lists.macserve.net] On Behalf > Of Ruslan Zasukhin > Sent: Sunday, July 31, 2005 9:12 AM > To: valentina-beta@lists.macserve.net > Subject: Ruslan will be absent 2 days > > Hi All, > > I need go to Kiev on 2 days. > > This time you will be supported by Ivan and Igor. > Please send all bug files on their emails. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta >