Latest Publications

[NEW] DEFAULT clause extended by METHOD(‘const_expr’)

Posted in November 1, 2012 ¬ 12:29 pmh.Ruslan ZasukhinNo Comments »

We have extend Valentina SQL by non standard feature. DEFAULT clause now has form DEFAULT METHOD(‘const_expr’).

This step increases declarative power of DDL part of VSQL and, therefore, allows you do less job later working with inserts and updates.

You can use in the expression built-in Valentina functions and UDFs that not depends on other fields. The most useful examples are:

* now()
* UUID()
* nextval( sequence_name )
* current_user_name()

Compatibility:
* this is not standard syntax.
* PostgreSQL have similar syntax and behavior, but it specify expression just in the literal: DEFAULT STRING_LITERAL. This cause ambiguity.

English, Valentina KERNEL, Valentina SQL5.0

[NEW] VKERNEL now can create journal at a specified location + Sandboxed Mac Apps with V4CC.

Posted in October 18, 2012 ¬ 10:35 pmh.Ruslan ZasukhinNo Comments »

Frank have contact us with request add ability for V4CC (Valentina for Cocoa) developers to specify the location of journal of a database. This is important for sandboxed applications, which on default can access only their sandbox folder and a file(s) that user specify explicitly.

PROBLEM is that if a user choose somedb.vdb file in the SelectFile dialog , then Valentina engine needs yet to create a journal file near to .vdb file. But for a sandboxed application this is prohibited by OS X. This is why developer want to be able specify another location for journal file.

Btw, this problem exists more of year for SQLite database that is used e.g. in CoreData of Apple, when it is used by a sandboxed app. Strange, but the only advice from Apple is – disable journal file.

We have spend couple of days to add into C++ level  and into V4CC ADK this feature. Rest ADKs soon.

Now you can write the following in V4CC:

(more…)

English, Mac OS X, Valentina for Cocoa, Valentina KERNEL5.0

[Fix] VStudio Linux crash log from a beta tester did help recognize that …

Posted in October 18, 2012 ¬ 9:45 pmh.Ruslan ZasukhinNo Comments »

… although Vstudio linux is installed into /opt  location, it loads /usr/local/lib/vcomponents if they present.

Today this issue was solved. Into script that start Vstudio, was added pre-load for vcomponents dlls. After this one dll have start cause problem because it contains static library that is newer than system’s one. Many hours was not successful, because of GCC 4.2 bug… Finally, a “brutal force trick” was used (the second time) to workaround this issue.

English, Valentina Studio Admin5.0

[NEW] VStudio now is able to send a crash log file to Valentina team

Posted in October 13, 2012 ¬ 2:02 amh.Ruslan ZasukhinNo Comments »

In a case of crash, Valentina Studio on linux and windows now is able  to create text file that contains crash log  information (stack of calls, loaded DLLs, … ). MAC OS X version of VStudio have no need to do this because OS X itself generates such crash log.

On the next start Valentina Studio will show dialog with suggestion to send this crash log to Valentina-db.com. Please note, this crash log contains totally anonymous information. This information will help to Valentina team to see that there was fact of crash, and where exactly was crash.  You can set check box to not show this dialog future and just send a crash report automatically if it is found.

On Windows and Linux, after sending of crash log file, it is deleted from disk of your computer. On OS X it is not deleted, because OS X append them  into single file per application.

English, Valentina Studio Admin, Valentina Studio Pro5.0

[NEW] Localisable ENUM Type

Posted in October 3, 2012 ¬ 3:20 pmh.Ruslan ZasukhinNo Comments »

Ladies and Gentlemen!  
The first time in the world!   spacer
Localizable Enum Type in DBMS!  

We already many months have working ENUM type in 5.0 branch of Valentina. Let me remind that ENUM type is not from SQL standard, so different DBs implement it in different way if at all implement. We have implemented it using CREATE TYPE command of SQL Standard. And we have implement ENUM in way similar to PostgreSQL, because it is the most correct: you just CREATE TYPE ENUM once and later using it in all places of your database.

mySQL, in contrast, defines ENUM as part of a particular Table, right in the CREATE TABLE command. This is not good of course, because then you cannot use this type in other tables or for variables of Stored Procedures.


CREATE TABLE sizes (
name ENUM('small', 'medium', 'large')
);

It is interesting that such mature database as Oracle do not have ENUM type.

All these existed implementations have one big problem from our point of view: such enum types contains string values of only one language. Below we will describe our solution.

(more…)

English, Valentina KERNEL, Valentina Server, Valentina SQL, Valentina Studio Admin5.0

[NEW] VStudio Postgre Plugin now is able to manage Schemas

Posted in September 22, 2012 ¬ 2:13 pmh.Ruslan ZasukhinNo Comments »

During testing of Valentina Studio one user have point that Schemas of PostgreSQL are not supported in VStudio yet. So we have spend almost 2 weeks to implement support of schemas for PostgreSQL on all levels:

  • Schema Editor (trees, columns);  Diagrams in development yet.
  • Table Editor
  • SQL Editor
  • SQL DIFF
English, Valentina Studio Admin, Valentina Studio Pro5.0

[SQL][REPORTS] Improved work with FORMAT()

Posted in September 10, 2012 ¬ 5:11 pmh.Ruslan ZasukhinNo Comments »

Work on Valentina Reports have push us to look more deeply on our FORMAT() function of Valentina SQL.

Keep in mind, that Valentina Reports DLL is tightly integrated with Valentina Kernel DLL and use its power. In particular, formatting in Valentina Reports is based on this FORMAT() function, which, in its turn, is based on IMB ICU library features.

Keep in mind, that even if Valentina Reports use as datasource e.g. mySQL or PostgreSQL server, then it still use Valentina Kernel to do many job, including this formatting.

Problem was found that if function FORMAT() is used over DATE or TIME columns then in result ICU produce “garbage” time and date values correspondently. After some research we have found way how to cut off this garbage. So now reports and SQL function itself produce expected results.

Will be available for after 5.0b41 build and newer.

English, Valentina Reports, Valentina SQL5.0

We have switched to XCODE 4.4 on MAC OS X

Posted in September 6, 2012 ¬ 5:12 pmh.Ruslan ZasukhinNo Comments »

With some efforts (as always) we was able switch all our projects on MAC OS X to XCODE 4.4 release.

We still compile most projects against SDK 10.6, pointing that Deployment Target = 10.5.

Few targets compiled for 10.7, e.g. VStudio for MAS (Mac App Store).

English, Info, Mac OS X5.0

Now we have v4 and v5 WIKIs

Posted in September 1, 2012 ¬ 12:43 amh.Ruslan ZasukhinNo Comments »

Now we have two separate wikis to keep docs of v4 and v5:

  • www.valentina-db.com/docs/dokuwiki/v4/
  • www.valentina-db.com/docs/dokuwiki/v5/
Valentina Studio v5 will to v5 section, vstudio v6 will point to v5 section, and so on.
Old url www.valentina-db.com/dokuwiki  will point to the docs of the current official release.
English, Info, Valentina Docs, Valentina Studio Admin, Valentina Studio Pro5.0

[NEW] VStudio – Check Updates

Posted in September 1, 2012 ¬ 12:36 amh.Ruslan ZasukhinNo Comments »

We have add into Valentina Studio feature “Check Updates”. Only Mac App Store version will not have it, because AppStore itself take care about updates.

On start Valentina Studio will send a GET query to valentina-db site. This will happens in separate thread to not delay user in the case of network trouble.

You will be able enable/disable this feature in prefs panel, also you can specify if report about beta builds of vstudio.

I want note, that in this GET query we also will send some anonymous information such as:

  • OS on which works studio
  • version of studio
  • 32 or 64 bit architecture
  • MD5 hash of MAC address of the computer.
We going to use this hash as anonymous identifier of some computer where vstudio is started. So we will be able, to see that e.g. 30% of users start vstudio  each day, 10% once per week … may be something else …
Future we going add yet automatic sending of crash log if any. Again such anonymous identifier will allow us link that crash logs together in our database.
Also we thinking about adding into Valentina Studo of integration to our Mantis bug tracker, so user can report issue or make a feature request right from vstudio.
English, Valentina Studio Admin, Valentina Studio Pro5.0
 
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.