Fixed issue 795

git-svn-id: http://orient.googlecode.com/svn/trunk@5200 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed issue 793 by Simone Tripodi patch on pom.xml configuration

git-svn-id: http://orient.googlecode.com/svn/trunk@5201 3625ad7b-9c83-922f-a72b-73d79161f2ea
removed dependency with Java7

git-svn-id: http://orient.googlecode.com/svn/trunk@5202 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed issues 798 and 799:
- new binary protocol version with huge refactoring of addCluster, addDataSegment and dropDataSegment
- strong refactoring to clean the code behind cluster management
- created new OClusterFactory to be used from Orient class
- deprecated Logical cluster (yeah!)
- new ODatabase.getSize()


git-svn-id: http://orient.googlecode.com/svn/trunk@5207 3625ad7b-9c83-922f-a72b-73d79161f2ea
Supported per-cluster setting of data-segments in records

git-svn-id: http://orient.googlecode.com/svn/trunk@5208 3625ad7b-9c83-922f-a72b-73d79161f2ea
- changed ODatabase.addCluster supporting data-segment as string.
- supported ALTER CLUSTER xxx SET DATASEGMENT yyy

git-svn-id: http://orient.googlecode.com/svn/trunk@5213 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed issue 769

git-svn-id: http://orient.googlecode.com/svn/trunk@5214 3625ad7b-9c83-922f-a72b-73d79161f2ea
Check database command can be executed against local db only

git-svn-id: http://orient.googlecode.com/svn/trunk@5215 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed bug on reopen database

git-svn-id: http://orient.googlecode.com/svn/trunk@5216 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed problem on serialization of database information

git-svn-id: http://orient.googlecode.com/svn/trunk@5217 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed compilation problem with javac

git-svn-id: http://orient.googlecode.com/svn/trunk@5218 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed issue 796 by Simone Tripodi to copy the BUILD file correctly.

git-svn-id: http://orient.googlecode.com/svn/trunk@5219 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed severe bug on defragmentation of data segment

git-svn-id: http://orient.googlecode.com/svn/trunk@5220 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed issue 654 about new CHECK DATABASE command

git-svn-id: http://orient.googlecode.com/svn/trunk@5221 3625ad7b-9c83-922f-a72b-73d79161f2ea
Working to improve issue 654 about new CHECK DATABASE command:
- new -v option to display it as verbose
- new formatting
- new warning management

git-svn-id: http://orient.googlecode.com/svn/trunk@5236 3625ad7b-9c83-922f-a72b-73d79161f2ea
Working to improve issue 654 about new CHECK DATABASE command:
- fixed scanning to 100%
- hooked to default test suite for local running ;-)

git-svn-id: http://orient.googlecode.com/svn/trunk@5237 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed issue 800:
I've created a task that every X ms checks for dirty connection and free them. X is configurable as global parameter called "server.channel.cleanDelay" now at 5000ms (5 seconds).

git-svn-id: http://orient.googlecode.com/svn/trunk@5238 3625ad7b-9c83-922f-a72b-73d79161f2ea
Fixed issue 797. This required a quite huge refactoring to the storage API to pull up the version at database level to being updated into the record. Local storage now saves the version as: (version+1)*-1. This allow to know if the record is deleted (negative number) but, and this is the news, with last version number. On recycling the version is computed as version*-1. On remote storage the version now is sent back to the clients.

git-svn-id: http://orient.googlecode.com/svn/trunk@5240 3625ad7b-9c83-922f-a72b-73d79161f2ea
Issue 803 was fixed.

git-svn-id: http://orient.googlecode.com/svn/trunk@5241 3625ad7b-9c83-922f-a72b-73d79161f2ea
Bug with parallel select from index: function executions was fixed.

git-svn-id: http://orient.googlecode.com/svn/trunk@5242 3625ad7b-9c83-922f-a72b-73d79161f2ea