Starting from 4.8 build you may pass pictures as a binded value to the queries using V4NET ADK.
IOEncoding usage in V4REV
Assume there is some “not-latin” text (it could be russian or umlauts or something similar). And we have to store it to the Valentina database and then read it back.
[IMPROVE] FTP Folders for Valentina Products (32/64/OS)
Since we have constantly growing number of Valentina products, supported OS and now 64-bit versions, we have got quite big number of files for single folder.
From now we will change organization of a release folder. It will contains sub-folders
- lin32
- lin64
- mac32
- mac64
- win32
- win64
So you can easy locate sub-set of products required for your OS and Bits.
[NEW] 64-bit ADK added to MAC OS X: C++, Cocoa, PHP
We introduce our first 64-bit ADKs for MAC OS X:
- Valentina for C++ (VSDK)
- Valentina for Cocoa (V4CC)
- Valentina for PHP Standalone (VPHP)
It is clear that we cannot make V4RB, V4REV and such to be 64-bits because their IDEs do not support this.
Next our step in this direction, will be introduction of 64 bit ADKs for Windows, VSDK, VNET, …
New LogFilesLocation property
There is a new property – LogFilesLocation for both server and local.
It defines a folder where the logs should be placed in.
Default folder is “./vlogs”
MAC 64 bits – introducing vcomponents_x64 for ADKs/x64
Yesterday I have try to make installer of VPHP_Standalone_x64, which could be our first 64-bit ADK, and have realize that it is not good idea keep in the same /usr/local/lib/vcomponents both 32 and 64 bit DLLs.
Continue reading MAC 64 bits – introducing vcomponents_x64 for ADKs/x64
Renew Before Expiration for Discounted Pricing
Last year, Paradigma Software announced a grace period to go along with changes to the upgrade policy. The grace period on updates will finish on July 1, 2010. Each purchase or update of a Valentina DB product includes 12 months of free updates including any fixes, improvements and new features.
Continue reading Renew Before Expiration for Discounted Pricing
vClient becomes thread-safe (!)
Now you should not synch vClient API calls – vClient do it self and you are free to access and operates with vClient’s remote objects from different threads similiangly.
In particular, vStudio operates with remote connections via multiple threads and it was a source of some glitches and unexpected errors especially with a long queries. Now there are no more errors like “EOF reached…” or “Broken packet received…” which were result of incorrect thread synch.
Altering ObjectPtr
ObjectPtr field contains RecID values of some “target” table. If you need to change ObjectPtr in order to point another table those values are not valid anymore – so default behavior is to nullify them. But sometime it looks to be too strong. For instance – changing field or link name or on-delete policy should not cause such data zeroing.
There are two ways to keep existed values altering ObjectPtr:
- There is a global property – OnChangeTypeZeroPtr. It is set to true by default. But you may change it with following statement – “SET PROPERTY OnChangeTypeZeroPtr TO false”. After this altering ObjectPtr will prevent zeroing data (sure it will be nulls for records which are absent in the new target table). This property is not “schema-storable” – so you should set it up on each run if you need it.
- The first approach is a global setting – so you will be able to keep some ObjectPtr values even changing “target” table. So we implement one more way – much more simple because the only thing you should keep in your mind is – the values will be preserved until you touch “target table” ObjectPtr property (because all values will be valid for the same target anyway).
Paradigma Software Sponsoring Portland Code Camp 2010
Paradigma Software is a truly international company, but it also has strong roots in the great Northwest – the Silicon Forest area including the greater Portland area. Paradigma Software is proud to be a sponsor for Portland Code Camp 2010. Continue reading Paradigma Software Sponsoring Portland Code Camp 2010
Changes in Valentina for Cocoa API.
Erne have report bug http://www.valentina-db.com/bt/view.php?id=4885 in Valentina for Cocoa (V4CC).
Problem was that VField.value in ObjC implemented as pair of methods (in other Valentina ADKs, e.g. Valentina for REALbasic it is a true property of class). So if to override this pair in the sub-classes then always will be called overridden methods.
To resolve issue, we have decide to rename these methods in all VField sub-classes. Rules now are simple:
NEW Function Added: hash MD5()
Ivan have implement today MD5() function, which can be used in EXPRESSION of Valentina SQL.
Bart have asked this function to be able produce UNIQUE INDEX for strings/texts bigger of 128 chars. This limit comes from fact that indexes of Valentina use pascal-like storage format for strings, e.g. 256 bytes maximum, 128 for UTF16.
SPEED of DB Open for Database with 1000+ Tables: -20 sec
44 Seconds for that 1023 tables DB still not looks good for me, and I have continue search for ways to improve it. And after one more day of work time have go down to 34 sec from original 54.
And this new optimization is even better! It is also made on INDEX-level and affects absolutely ANY index search operation!! Especially we will see effect for searches that return many records into Set.
I see yet two possible steps to optimize speed of open for database.
* [minor] – …
* [major] – start to cache data in the algorithms that read schema from recursive sysItem table.
Target is to make time few seconds only.
SPEED of DB Open for Database with 1000+ Tables: -10 sec
One developer have produce Valentina database with 1023 tables. And note us that it takes long time to open it. On my macbook it have take 54 sec.
After some profiling and optimization, time is now 44 sec.
Nice thing here is that optimization was made on INDEX-level for functions that return ArraySets. This means that all other index-based operations may benefit from this.
Flash-to-iPhone 4 SDK Ban May Have Limited Effect
Starting with a post by John Gruber on Daring Fireball, a building tide of developer anxiety is rippling through the iPhone developer market. This could easily be a sign of greater control by Apple instead of an outright ban against non-Apple compilation. Continue reading Flash-to-iPhone 4 SDK Ban May Have Limited Effect