From sunshine at public.kherson.ua Thu Apr 1 19:34:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 1 11:51:31 2004 Subject: [ANN] Vserver demo license for April aploaded Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Apr 1 23:46:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 1 15:10:10 2004 Subject: Latest tests results on my side Message-ID: Hi All, After I have set ON and private tests, I have total 10,221 failed 92 on windows and 120 on MAC Failed on exception 23 Asserts total 143,182,005 failed 217 I think we need yet spend time in the nearest 1-2 days on asserts polishing. Well, so far, so good. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Apr 2 09:26:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 01:05:06 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: <617C5429-8445-11D8-B058-000A95D01D92@formworkdesign.com> Message-ID: On 4/2/04 4:30 AM, "Robert Nichols" wrote: Guys, this must MOVE to BETA list. Please try next: - get SystemCatalog varaible from Server using Vserver class. - this is path to folder where is databases. - check what format it uses POSIX or MAC. I think it will be posix format. - concat this folder path to some file name use this for export. I think must work. > This is what I get with vCursor.exporttext. Something still isn't right > with import/export. > > > On Apr 1, 2004, at 7:54 PM, Charles Yeomans wrote: > >> A call to VCursor.ImportText results in error -35, 'Volume not found' >> (I guess). But I'm pretty certain that the volume does exist. Any >> other suggestions as to what might be the problem? >> >> -------------- >> Charles Yeomans >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Fri Apr 2 10:48:17 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Apr 2 09:48:24 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: References: Message-ID: <290B9E26-84BD-11D8-B1E8-003065BB0634@desuetude.com> I'm trying to do the import from the client; shouldn't VCursor.ImportText work just as it does for V4Rb? Charles Yeomans On Apr 2, 2004, at 1:26 AM, Ruslan Zasukhin wrote: > On 4/2/04 4:30 AM, "Robert Nichols" wrote: > > Guys, this must MOVE to BETA list. > > Please try next: > - get SystemCatalog varaible from Server using Vserver class. > - this is path to folder where is databases. > - check what format it uses POSIX or MAC. > I think it will be posix format. > > - concat this folder path to some file name > use this for export. I think must work. > >> This is what I get with vCursor.exporttext. Something still isn't >> right >> with import/export. >> >> >> On Apr 1, 2004, at 7:54 PM, Charles Yeomans wrote: >> >>> A call to VCursor.ImportText results in error -35, 'Volume not found' >>> (I guess). But I'm pretty certain that the volume does exist. Any >>> other suggestions as to what might be the problem? From yeomans at desuetude.com Fri Apr 2 12:00:33 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Apr 2 11:00:39 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: <003501c41880$15c180e0$721026c3@giv> References: <4859480E-8440-11D8-8A57-003065BB0634@desuetude.com> <003501c41880$15c180e0$721026c3@giv> Message-ID: <40EEE622-84C7-11D8-B1E8-003065BB0634@desuetude.com> On Apr 2, 2004, at 1:59 AM, Igor Gomon wrote: > Hi Charles, > >> A call to VCursor.ImportText results in error -35, 'Volume not found' > Do you see this error in the server's log? Yes, I do. It is also returned in VDatabase.ErrNumber. > >> (I guess). But I'm pretty certain that the volume does exist. Any >> other suggestions as to what might be the problem? > Please, give an example of your code. > dim dlg as OpenDialog dim q as DBQuery dim c as VCursor dlg = new OpenDialog dlg.Filter = "text" If dlg.ShowModal <> nil then q = app.DB.NewQuery q.AddField app.DB.Entries.EntryDate q.AddField app.DB.Entries.IsIncoming q.AddField app.DB.Entries.Sender q.AddField app.DB.Entries.Recipient q.AddField app.DB.Entries.Description q.WhereCondition = new WHERENodeEquals(app.DB.Entries.RecID, 0) c = q.Cursor c.ImportText dlg.Result If app.DB.ErrNumber <> 0 then Raise new ValentinaException(app.DB) End if c = nil app.DB.Entries.Flush Else //user cancelled End if -------------- Charles Yeomans From sunshine at public.kherson.ua Fri Apr 2 18:58:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 11:20:19 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: <290B9E26-84BD-11D8-B1E8-003065BB0634@desuetude.com> Message-ID: On 4/2/04 6:48 PM, "Charles Yeomans" wrote: > I'm trying to do the import from the client; shouldn't > VCursor.ImportText work just as it does for V4Rb? Charles, once again, in client-server we have made for now import/export to SERVER computer. so you must specify location ON SERVER computer, and since Valentina Server for OS X is Macho app, it wait for path in POSIX format. Right now you cannot get exported file to CLIENT computer. I hope in 2.0 we will implement this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Fri Apr 2 12:31:21 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Apr 2 11:31:26 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: References: Message-ID: <8EEC928C-84CB-11D8-B1E8-003065BB0634@desuetude.com> On Apr 2, 2004, at 10:58 AM, Ruslan Zasukhin wrote: > On 4/2/04 6:48 PM, "Charles Yeomans" wrote: > >> I'm trying to do the import from the client; shouldn't >> VCursor.ImportText work just as it does for V4Rb? > > Charles, once again, > > in client-server we have made for now import/export > to SERVER computer. > > so you must specify location ON SERVER computer, > and since Valentina Server for OS X is Macho app, > it wait for path in POSIX format. > > Right now you cannot get exported file to CLIENT computer. > > I hope in 2.0 we will implement this. This doesn't make sense. I recall that part of the plan was that V4Rb and V4Rb Client should behave more or less the same, with the only difference being the VDatabase constructor, and various options for VCursor (server-side, etc.). So VCursor.ImportText should behave in V4Rb Client just as it does in V4Rb. Loading and dumping files on the server is useful, of course, but this should be new functionality, in new methods. Charles Yeomans From sunshine at public.kherson.ua Fri Apr 2 20:54:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 12:56:00 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: <8EEC928C-84CB-11D8-B1E8-003065BB0634@desuetude.com> Message-ID: On 4/2/04 8:31 PM, "Charles Yeomans" wrote: >>> I'm trying to do the import from the client; shouldn't >>> VCursor.ImportText work just as it does for V4Rb? >> >> Charles, once again, >> >> in client-server we have made for now import/export >> to SERVER computer. >> >> so you must specify location ON SERVER computer, >> and since Valentina Server for OS X is Macho app, >> it wait for path in POSIX format. >> >> Right now you cannot get exported file to CLIENT computer. >> >> I hope in 2.0 we will implement this. > > > This doesn't make sense. I recall that part of the plan was that V4Rb > and V4Rb Client should behave more or less the same, with the only > difference being the VDatabase constructor, and various options for > VCursor (server-side, etc.). So VCursor.ImportText should behave in > V4Rb Client just as it does in V4Rb. Loading and dumping files on the > server is useful, of course, but this should be new functionality, in > new methods. Right Charles! Just in Valentina 1.x we do not have tools to implement this. In Valentina 2.0 we have prepare such tools, you see? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Apr 3 00:38:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 16:55:15 2004 Subject: Drop field with constraint In-Reply-To: <200404022133.AAA09649@polar.ukrcom.kherson.ua> Message-ID: On 4/3/04 12:33 AM, "bog@ukrcom.kherson.ua" wrote: >> Interesting. >> >> try ALTER TABLE DROP COLUMN CASCADE >> > > I find next in doc for MS > > DROP { [CONSTRAINT] constraint_name | COLUMN column_name } > > Specifies that constraint_name or column_name is removed from the table. > DROP COLUMN is not allowed if the compatibility level is 65 or earlier. > Multiple columns and constraints can be listed. A column cannot be dropped > if it is: > > - A replicated column. > - Used in an index. > - Used in a CHECK, FOREIGN KEY, UNIQUE, or PRIMARY KEY constraint. > - Associated with a default defined with the DEFAULT keyword, or bound to a > default object. > - Bound to a rule. Strange, I am not agree. So if I have index on field, I cannot drop field, And must at first drop index manually?! But this is stupid IMHO. This is like if require delete each field before drop the whole table. And again, in SQL92 exist syntax CASCADE / RESTRICT. We can discuss all this on seminar. I think we must delete all related constraints. I.e. On default provide CASCADE behavior. >> ---- >> I think into >> >> Table::DropField() >> >> We must add paramter >> >> Table::DropField( inDeletionControl ) >> >> >> Btw, I do not remember if our grammar implements CASCADE. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Fri Apr 2 15:14:54 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Apr 2 17:04:00 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: References: Message-ID: <676FF9D6-84E2-11D8-B1E8-003065BB0634@desuetude.com> On Apr 2, 2004, at 12:54 PM, Ruslan Zasukhin wrote: > On 4/2/04 8:31 PM, "Charles Yeomans" wrote: > >>>> I'm trying to do the import from the client; shouldn't >>>> VCursor.ImportText work just as it does for V4Rb? >>> >>> Charles, once again, >>> >>> in client-server we have made for now import/export >>> to SERVER computer. >>> >>> so you must specify location ON SERVER computer, >>> and since Valentina Server for OS X is Macho app, >>> it wait for path in POSIX format. >>> >>> Right now you cannot get exported file to CLIENT computer. >>> >>> I hope in 2.0 we will implement this. >> >> >> This doesn't make sense. I recall that part of the plan was that V4Rb >> and V4Rb Client should behave more or less the same, with the only >> difference being the VDatabase constructor, and various options for >> VCursor (server-side, etc.). So VCursor.ImportText should behave in >> V4Rb Client just as it does in V4Rb. Loading and dumping files on the >> server is useful, of course, but this should be new functionality, in >> new methods. > > Right Charles! > > Just in Valentina 1.x we do not have tools to implement this. > In Valentina 2.0 we have prepare such tools, you see? So, is the idea that you break V4Rb client now, but restore the correct behavior of VCursor.ImportText in 2.0? -------------- Charles Yeomans From sunshine at public.kherson.ua Fri Apr 2 22:06:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 17:40:16 2004 Subject: [VSRV] Error Codes In-Reply-To: <20040402185703.88264.qmail@web21105.mail.yahoo.com> Message-ID: On 4/2/04 9:57 PM, "X Y" wrote: > Hi All, > Do you know what error 1025 for Server means? and > error 8 on regular Valentina means? Please ask Valentina Server beta questions on beta list. Thank you. enum EServer_Errors { kSRV_ServerError = 1000, kSRV_ConnectionLimit, // 1001: Connection limit reached kSRV_ProtocolNotSupported, // 1002: Protocol version not supported kSRV_NotEnoughMemory, // 1003: Not enough memory kSRV_InvalidAccess, // 1004: Invalid access kSRV_InvalidUserNameOrPassword, // 1005: Invalid user name or password kSRV_InvalidUserName, // 1006: Invalid user name kSRV_InvalidDataBaseName, // 1007: Invalid database name kSRV_NotSupported, // 1008: Operation is not currently supported kSRV_InvalidIdentifier, // 1009: Invalid identifier kSRV_OperationFailed, // 1010: Call to Valentina kernel failed kSRV_AlreadyExist, // 1011: Object already exists (field, baseobject, database, user) kSRV_WrongResponse, // 1012: Wrong client response kSRV_UnexpectedOperation, // 1013: Unexpected operation kSRV_LogFail, // 1014: Operation with log fail kSRV_InitFailed, // 1015: Server initialization failed kSRV_CannotAuthenticateUser, // 1016: Cannot authenticate user kSRV_AccessDenied, // 1017: Access denied kSRV_OutOfSync, // 1018: Command is out of sync kSRV_Unknown, // 1019: Unknown server error kSRV_NoCurrentDb, // 1020: Current database not set kSRV_InvalidCommand, // 1021: Command cannot be executed on this type of object kSRV_CorruptedRegistry, // 1022: Registry corrupted kSRV_ConnectionTimedOut, // 1023: Connection timed out kSRV_WrongDeploymentSerial, // 1024: Wrong deployment serial kSRV_ConnectionForcedlyClosed, // 1025: Connection forcedly closed kSRV_NoCurrentRecord // 1026: No current record. }; -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20040402/b6b2fde5/attachment.html From sunshine at public.kherson.ua Fri Apr 2 21:47:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 18:06:27 2004 Subject: VSRV OpenSession question In-Reply-To: <20040402183731.41130.qmail@web21108.mail.yahoo.com> Message-ID: On 4/2/04 9:37 PM, "X Y" wrote: > Hi, > I am scanning ports to determine whether V.Server is > running on that particular machine. Hence, I do an > opensession and check for availability. However, > OpenSession takes about 5 secs. to return. My question > is Is there a way to reduce this time? Hmm, Why so long? I never have see so long time for connect. Does it take 5 seconds when you exactly specify IP/port? Or only when you do scanning? -------- As I have told, the best way resolve this, support Rendezvous In Valentina 2.0 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Apr 3 02:35:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 18:28:08 2004 Subject: [DONE] .tmp-volume In-Reply-To: <004601c41908$60340070$781026c3@giv> Message-ID: On 4/2/04 2:10 PM, "Igor Gomon" wrote: > Now new .tmp volume is always created when database files is created. > This volume is not affected by EDbMode settings and it is not counted by > DBStorage::get_VolumeCount() method. Okay Igor. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Apr 3 02:36:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 18:51:18 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: <676FF9D6-84E2-11D8-B1E8-003065BB0634@desuetude.com> Message-ID: On 4/2/04 11:14 PM, "Charles Yeomans" wrote: >>> This doesn't make sense. I recall that part of the plan was that V4Rb >>> and V4Rb Client should behave more or less the same, with the only >>> difference being the VDatabase constructor, and various options for >>> VCursor (server-side, etc.). So VCursor.ImportText should behave in >>> V4Rb Client just as it does in V4Rb. Loading and dumping files on the >>> server is useful, of course, but this should be new functionality, in >>> new methods. >> >> Right Charles! >> >> Just in Valentina 1.x we do not have tools to implement this. >> In Valentina 2.0 we have prepare such tools, you see? > > So, is the idea that you break V4Rb client now, but restore the correct > behavior of VCursor.ImportText in 2.0? Yes, Charles. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Apr 3 00:12:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 20:47:49 2004 Subject: Interesting glitch or not on MSSQL In-Reply-To: <200404022106.AAA09520@polar.ukrcom.kherson.ua> Message-ID: On 4/3/04 12:06 AM, "bog@ukrcom.kherson.ua" wrote: > I can't delete last field in the table!!! > > ALTER TABLE DROP COLUMN failed because 'asd' is the only data column in > table 'Table1'. A table must have at least one data column. Well, This is logically actually! I think we also should do this, and have such error code. Yes, in kernel we can have table without field, and we do even tests on it. But this have no sense for users of db kernel -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From j.peters at valentina-db.de Sat Apr 3 10:58:58 2004 From: j.peters at valentina-db.de (Jochen Peters) Date: Sat Apr 3 02:59:09 2004 Subject: Interesting glitch or not on MSSQL In-Reply-To: References: Message-ID: <24BA27B0-854D-11D8-80C6-000A959F6B0C@valentina-db.de> >> I can't delete last field in the table!!! >> >> ALTER TABLE DROP COLUMN failed because 'asd' is the only data column >> in >> table 'Table1'. A table must have at least one data column. > > Well, This is logically actually! Hhmm.. It is defined as to be logical :-) For stupid user this is not logical! It would be the same to say: You can't delete the last file from your HD because a HD must always contain at least one file...:-) > > I think we also should do this, and have such error code. > > Yes, in kernel we can have table without field, and we do even tests > on it. > But this have no sense for users of db kernel When we can do it technical - why not do it? Valentina shouldn't have the same limits then other db's.. > -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From sunshine at public.kherson.ua Sat Apr 3 12:04:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 3 03:05:22 2004 Subject: Interesting glitch or not on MSSQL In-Reply-To: <24BA27B0-854D-11D8-80C6-000A959F6B0C@valentina-db.de> Message-ID: On 4/3/04 11:58 AM, "Jochen Peters" wrote: >>> I can't delete last field in the table!!! >>> >>> ALTER TABLE DROP COLUMN failed because 'asd' is the only data column >>> in >>> table 'Table1'. A table must have at least one data column. >> >> Well, This is logically actually! > Hhmm.. > It is defined as to be logical :-) > For stupid user this is not logical! > > It would be the same to say: > You can't delete the last file from your HD because a HD must always > contain at least one file...:-) You know, you are right, Jochen! At last of end, in VAPP and in Vstudio, we create table which do not have fields. Right? Valentina engine allow this. Okay, let's forget this. >> I think we also should do this, and have such error code. >> >> Yes, in kernel we can have table without field, and we do even tests >> on it. >> But this have no sense for users of db kernel > When we can do it technical - why not do it? > Valentina shouldn't have the same limits then other db's.. Agree! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Apr 4 09:22:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 4 00:22:36 2004 Subject: [FAQ] Server on the web? In-Reply-To: Message-ID: On 4/4/04 8:21 AM, "Rick Praetzel" wrote: > Ruslan, > > I have done well with vserver on localhost. Now, I need to post my > vserver on my website. If the web server does not belong to me, is > there a way I start and stop vserver from my home computer? Hi Rick, I have CC this to list. Vserver class have commands Stop, Restart. So you can stop server remotely. There is no way to tell not-running application to start self, right? To be able start remotely, you must have access to some script which will do that. May be it is possible make access to this script via HTML page. You need talk to your hosting, -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Apr 7 12:54:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 7 04:56:03 2004 Subject: [DONE] Storing & inheriting locale-specific information. In-Reply-To: <004101c41c34$185dbcd0$3b04a8c0@giv> Message-ID: On 4/7/04 3:05 AM, "Igor Gomon" wrote: > Storing & inheriting locale-specific information implemented for > Database, Table & some field classes as we have discussed at the > recent meeting. > > For this have been implemented many (small) changes to existing methods > and also some new functions have been added. > > So, step by step: > 1) Factory function CreateDatabase() changed - it now takes additional > parameters, so it's defined now as: > > I_Database* CreateDatabase( > EStorageType inStorage = kStorage_Disk, > const char* inEncoding = NULL, > const char* inLocale = NULL, > const char* inSortOrder = NULL ); > Accordingly Database' class constructor also updated. What is SortOrder? Give please example of call > 2) Added two new global functions: As I understand, I must make sure they work on MAC, yes? > /** Returns system-level default locale. All new databases inherits this > locale if the user not specified different on database creation. > */ > const Locale& GetDefaultLocale( void ); > > /** Returns system-level default encoding. All new databases inherits > this value if the user not specified different on database creation. > */ > const String& GetDefaultEncoding( void ); > It is used when NULL parameters passed to the Database constructor. > These functions may determine default locale & encoding differently. > For example, they may get these values from the configuration file, etc. You mean that C++ developer can change them in own application? Where they are located? Public zone? > 3) Database::CreateTable() method has also changed since it now take the > same 3 parameters (as specified in CreateDatabase() call). > Accordingly Table constructor also updated. > 4) Added 3 new classes - field properties: > Prop_Encoding, > Prop_Locale, > Prop_SortOrder. > These classes play the same role as method parameter in previous examples. > It's processed by VString::FinishCreate() method. ^^^^^^^ "they are", Igor I see. > 5) New I_Localizable interface added. > (And its default implementation Localizable_Imp). > This interface provides functionality of localizable object. > Currently 3 classes implements this interface: > Database (indirectly - through Localizable_Imp) > Table (indirectly - through Localizable_Imp) > VString (indirectly - through Localizable_Imp) > (... maybe later some else) Of course! also must be VarChar and VText > So, the summary on new files: > FBL/prot/Interfaces/FBL_I_Localizable.h ok > FBL/prot/Structure/Database/FBL_Localizable_Imp.h Hmm, Not agree. This is not database only class. Must go to some other place. > P.S. Changes not yet in the CVS - I will commit it in the morning. > > -- > Best regards, > Igor Gomon > ------------------------------------------------------------- > e-mail: giv@tlc.kherson.ua > web: http://www.paradigmasoft.com -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Wed Apr 7 18:52:53 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Apr 7 10:53:52 2004 Subject: [DONE] Storing & inheriting locale-specific information. References: Message-ID: <002f01c41cb8$7f060e40$3b04a8c0@giv> > > I_Database* CreateDatabase( > > EStorageType inStorage = kStorage_Disk, > > const char* inEncoding = NULL, > > const char* inLocale = NULL, > > const char* inSortOrder = NULL ); > > Accordingly Database' class constructor also updated. > > What is SortOrder? Sort order is a specific set of rules which can affect end result of sorting. There are some predefined SortOrders. In ICU it is called 'collator options', for example "UCA4.0.0_AS_LSV_S" - this means: UCA (Unicode collation algorithm) version 4.0.0; ignore spaces, punctuation and symbols; use Swedish linguistic conventions; compare case-insensitively. I have not yet fully understand how can we use this but I am sure that ICU supports this. > > 2) Added two new global functions: > > As I understand, I must make sure they work on MAC, yes? Yes. But for now they are very simple. > > > /** Returns system-level default locale. All new databases inherits this > > locale if the user not specified different on database creation. > > */ > > const Locale& GetDefaultLocale( void ); > > > > /** Returns system-level default encoding. All new databases inherits > > this value if the user not specified different on database creation. > > */ > > const String& GetDefaultEncoding( void ); > > > It is used when NULL parameters passed to the Database constructor. > > These functions may determine default locale & encoding differently. > > For example, they may get these values from the configuration file, etc. > > You mean that C++ developer can change them in own application? I haven't think about this. > Where they are located? > Public zone? FBL/publ/Headers/FBL_Globals.h > > 5) New I_Localizable interface added. > > (And its default implementation Localizable_Imp). > > > This interface provides functionality of localizable object. > > > Currently 3 classes implements this interface: > > Database (indirectly - through Localizable_Imp) > > Table (indirectly - through Localizable_Imp) > > VString (indirectly - through Localizable_Imp) > > (... maybe later some else) > > Of course! also must be VarChar and VText > > > So, the summary on new files: > > FBL/prot/Interfaces/FBL_I_Localizable.h > > ok > > > FBL/prot/Structure/Database/FBL_Localizable_Imp.h > > Hmm, Not agree. > This is not database only class. > Must go to some other place. I simply don't know where to put it.. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Apr 14 00:39:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 13 16:39:36 2004 Subject: test Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Apr 16 20:09:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 16 12:09:48 2004 Subject: question about 2.0 In-Reply-To: Message-ID: On 4/16/04 7:49 PM, "Dave Parizek" wrote: Hi Dave, > Question 1: > > In 1.98 if I run this query: > > update T1 set Price = Price * 0.95 > > it changes Price to 0 for every record. > > Will this query work properly in 2.0? Yes. It works in 2.0 > Question 2: > > Any idea when 2.0 will be out? I am waiting to release my software > because I really want the Union capability coming in 2.0, and have > been waiting since February, and wondering if I should keep waiting. yes > I think some target dates should be published, because otherwise how > are we as developers able to make plans on our own projects? Agree Dave. On the other hand like REAL have stop make any promises, I also think this is good idea. Yes, project is much more complex than I did expect. We not just re-write from scratch all, We implement many new ideas, algorithms, formats. I have write it seems on beta list not so far, that only about 20 March, I have made new discovery that it is possible in many cases do sorting using ZERO disk space to space special ZERO time to build special structure ZERO time to update that structure when we modify records. IS this great? I believe yes. IF table have say million records this discovery allow reduce db files on 4MB per each sorted filed! Also I have found that in other cases it is possible reduce disk space in 2-4 times, and therefore increase speed in 2-4 times on work with this structure. Last 3 days I do implantation of this. If in Valentina 1.x there was just ONE case for sorting, then in Valentina 2.0 I have implement already 9 cases to be as optimal as possible in each case. So on the same PART OF ENGINE I have complexity in 10 times more than in 1.x And similar things we have in many parts of engine. Just a lots of new ideas and innovations in work. And as developer you know that NEW code require time. --------------- Now more optimistic words: Igor now works on VarChar. After than only Picture field is not implemented yet. Ivan works on system tables. I hope soon he will finish them and start new task. Alex work on Diagnose right now. I work now on Sorting. And on white-board I see next TODO items: Index_string Join, ------ finish aggregative HAVING :1 binding ByteSwap enabling Encryption Pictures Cache tuning resources folder. Under line are located tasks that can be finished during beta testing. As you see not to many tasks yet. :-) Although Join is not easy task if do all I want. I actually now try implement GENERAL simple cases, later do optimization cases. And having working engine, we will need -- make V4RB -- make V4MD -- Vserver based on 2.0 Actually this tasks done on 40-80% already, and now just wait for fully featured engine. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Apr 16 20:34:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 16 12:35:01 2004 Subject: question about 2.0 In-Reply-To: Message-ID: On 4/16/04 8:09 PM, "Ruslan Zasukhin" wrote: And one more point. In Valentina 2.0 engine we use our own system of testing. We have HUGE number of tests (as teach Extreme Programming :-) If I am not mistake the half of our sources -- are tests. So I have very big hope that Valentina BETA will be quite stable. And we will not need long time beta testing. Only to finish minor features during that. And this is latest result of testing from my computer ************************************************************************* * FINISH ************************************************************************* * Total tests : 9052 * Failed tests : 59 * Failed tests on exception : 31 * Leaked tests : 46 * * Total asserts : 72661301 * Failed asserts : 12 > Agree Dave. > > On the other hand like REAL have stop make any promises, > I also think this is good idea. > > Yes, project is much more complex than I did expect. > > We not just re-write from scratch all, > We implement many new ideas, algorithms, formats. > > I have write it seems on beta list not so far, that only about 20 March, I > have made new discovery that it is possible in many cases do sorting using > ZERO disk space to space special > ZERO time to build special structure > ZERO time to update that structure when we modify records. > > IS this great? I believe yes. IF table have say million records this > discovery allow reduce db files on 4MB per each sorted filed! > > Also I have found that in other cases it is possible reduce disk space in > 2-4 times, and therefore increase speed in 2-4 times on work with this > structure. > > Last 3 days I do implantation of this. If in Valentina 1.x there was just > ONE case for sorting, then in Valentina 2.0 I have implement already 9 cases > to be as optimal as possible in each case. So on the same PART OF ENGINE I > have complexity in 10 times more than in 1.x > > And similar things we have in many parts of engine. > Just a lots of new ideas and innovations in work. > And as developer you know that NEW code require time. > > > --------------- > Now more optimistic words: > > Igor now works on VarChar. > After than only Picture field is not implemented yet. > > Ivan works on system tables. I hope soon he will finish them and start new > task. > > Alex work on Diagnose right now. > > I work now on Sorting. > > And on white-board I see next TODO items: > > Index_string > Join, > > ------ > finish aggregative > HAVING > > :1 binding > ByteSwap > enabling Encryption > Pictures > Cache tuning > resources folder. > > Under line are located tasks that can be finished during beta testing. > > As you see not to many tasks yet. :-) > Although Join is not easy task if do all I want. > I actually now try implement GENERAL simple cases, later do optimization > cases. > > > And having working engine, we will need > -- make V4RB > -- make V4MD > -- Vserver based on 2.0 > > Actually this tasks done on 40-80% already, and now just wait for fully > featured engine. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Fred.Stephenson at communication-unltd.com Tue Apr 20 09:14:48 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Tue Apr 20 02:14:41 2004 Subject: [IGNORE] Subscribed Verif. Message-ID: From sunshine at public.kherson.ua Wed Apr 21 17:32:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 21 09:33:06 2004 Subject: Server questions In-Reply-To: <79D9DFC2-93A3-11D8-91D9-000393DAB46A@earthlink.net> Message-ID: On 4/21/04 5:52 PM, "Gregory Kowalski" wrote: > Hello again, > > Thank you very much for your response. I tried registering a db but was > unsuccessful. Here is what I do: > > > 1. I put mydb in Database folder. > > 2. I launch Valentina Studio. > > 3. I open mydb. It appears. Wonderful. > > 4. When I go to the server menu to register the db the options are grey > (can't make selection). > > What am I doing doing wrong? Do I have to start file sharing or connect > to server first? BTW, Before play with existed db, I recommend you play with connect to server server create new db create table create fields Now you will see where db was created. You will see in Master database how it was registered. You must stop server and open MasterDb directly. BTW, you can self simply add new record similar to one you will see to register your database. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina -------------------------------------------------------------