LtWorf
466c72ab2c
- Other fixes
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@331 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-15 22:12:06 +00:00
LtWorf
9344304f68
- More fixes for unicode...
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@330 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-15 22:00:17 +00:00
LtWorf
17452f1e0b
- migrating to unicode
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@329 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-15 21:45:33 +00:00
LtWorf
4c5915e854
- Minor changes to comments
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@313 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-08 17:04:07 +00:00
LtWorf
fb7e9d2b6f
- Can perform survey from command line interface too
...
- Module to send survey directly
- Can check the latest version from the svn repository
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@311 014f5005-505e-4b48-8d0a-63407b615a7c
2011-06-14 16:21:15 +00:00
LtWorf
8a21307d22
- Removed futile recoursive import, that would not work in python3
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@307 014f5005-505e-4b48-8d0a-63407b615a7c
2011-06-06 09:07:50 +00:00
LtWorf
3ca26b10c6
- Forces relations to have correct attribute names
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@296 014f5005-505e-4b48-8d0a-63407b615a7c
2011-04-01 07:06:08 +00:00
LtWorf
dfb3f19acf
- Raises exception for wrong relational operations
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@295 014f5005-505e-4b48-8d0a-63407b615a7c
2011-04-01 06:38:47 +00:00
LtWorf
1eab04582d
- Inserted language definition in parser
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@294 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-31 08:26:13 +00:00
LtWorf
b4dffea5cf
- Changed header comments in modules
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@287 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-22 16:02:36 +00:00
LtWorf
f8b0ab746b
- Added test
...
- Re-sorted CHANGELOG
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@286 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-22 13:28:41 +00:00
LtWorf
4a6f2cc222
- Handles sign in numeric types
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@284 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-21 13:30:04 +00:00
LtWorf
8065f65d2d
- simplified linegui checking if query is an assignment
...
- Reports missing GUI modules
- Will not load relations if given name is not valid
- Will not execute if relation dest name is not valid
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@283 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-21 07:43:57 +00:00
LtWorf
0d83587cfc
- Removed attempt to import psyco module
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@272 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-03 17:45:18 +00:00
LtWorf
1e51f9784f
- test driver script is now executable
...
- adds more generic procedure to perform implicit casting, thus eliminating duplicate code
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@271 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-03 09:27:53 +00:00
LtWorf
3b0392e867
- Float type recognition is more robust, now handled using a regexp
...
- Date type recognition is more robust, now using a combination of regexp plus date object
- Parsing of strings representing dates is now cached, eliminating the need for double parse
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@270 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-03 08:46:04 +00:00
LtWorf
ba564b55d3
- Added two more tests
...
- Simplified code of optimizations module
- Improved doc of optimization module
- Added option to get all the intermediate passages of optimization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@269 014f5005-505e-4b48-8d0a-63407b615a7c
2011-02-24 13:27:33 +00:00
LtWorf
71697bb2e8
- Implemented select_union_intersect_subtract general optimization
...
- Added tests for the new optimization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@268 014f5005-505e-4b48-8d0a-63407b615a7c
2011-02-18 18:11:39 +00:00
LtWorf
19ac2aaacd
- Set hash method for the classes
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@265 014f5005-505e-4b48-8d0a-63407b615a7c
2010-11-26 09:12:34 +00:00
LtWorf
ca14c23947
- parallel module finally does something
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@264 014f5005-505e-4b48-8d0a-63407b615a7c
2010-11-24 16:34:09 +00:00
LtWorf
6e16a0d841
- Added new test
...
- Changed some comments
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@263 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-26 13:54:34 +00:00
LtWorf
99692f7d70
- Fixed futile_union_intersection_subtraction optimization that didn't work when selection operator was in the left subtree
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@262 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-11 12:06:41 +00:00
LtWorf
6fdd572faa
- Fixed optimization involving selection and parenthesis in the expression
...
- Added more clear documentation in recoursive_scan
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@260 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-11 10:49:55 +00:00
LtWorf
41de96997d
- Removed debug print
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@259 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-08 05:52:09 +00:00
LtWorf
8224033881
- Fixed tokenize_select that was not providing level prop for the tokens anymore
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@257 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-06 12:31:48 +00:00
LtWorf
25c4c894c2
- Fixes __eq__ method
...
- Fixes tokenization of python expressions, using python's builtin module tokenizer
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@256 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-04 13:44:25 +00:00
LtWorf
973f11f1e0
- Added doc on function signature
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@253 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-04 09:33:51 +00:00
LtWorf
e375a65ec6
- Clearer and better code for handling relation comparisons
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@252 014f5005-505e-4b48-8d0a-63407b615a7c
2010-09-22 13:31:19 +00:00
LtWorf
d63d0e78c0
- Rename will mark the resulting relation as readonly and subsequent updates, insert or deletes will actually copy the content
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@251 014f5005-505e-4b48-8d0a-63407b615a7c
2010-09-22 13:12:02 +00:00
LtWorf
2073b4db4a
- Internally uses set instead of lists to describe relation's content
...
- Discards the old and not so functional tlb format
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@250 014f5005-505e-4b48-8d0a-63407b615a7c
2010-09-22 12:53:36 +00:00
LtWorf
36fd7af8fd
- Inserted comments to explain what happens in the division
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@241 014f5005-505e-4b48-8d0a-63407b615a7c
2010-07-02 14:49:24 +00:00
LtWorf
45af67f241
- Added division operator
...
- Edited parser module to return the fields returned by a division operation
- Edited relation class API, renaming the rearrange method to _rearrange_
- Readline interface specifies that completion works only if supported by the terminal
- Added todo file
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@240 014f5005-505e-4b48-8d0a-63407b615a7c
2010-07-02 14:43:32 +00:00
LtWorf
814594e825
- Can parse expressions with division operator
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@239 014f5005-505e-4b48-8d0a-63407b615a7c
2010-07-02 13:58:16 +00:00
LtWorf
ad84f402d5
- More detail for errors in evaluation
...
- Printing errors on stdout too, as well as query conversion to python
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@225 014f5005-505e-4b48-8d0a-63407b615a7c
2010-04-08 09:43:29 +00:00
LtWorf
eaa6c4562d
- Added printtree function to print an indented representation of the tree
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@221 014f5005-505e-4b48-8d0a-63407b615a7c
2010-03-19 16:37:53 +00:00
LtWorf
2c4757dafb
- When a query fails, shows the message of the exception
...
- Improved tokenizer for select in optimizations, now can accept operators in identifiers
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@220 014f5005-505e-4b48-8d0a-63407b615a7c
2010-03-19 16:06:02 +00:00
LtWorf
6adcd221bd
Edited license
...
Desktop file in make
SQL conversion (probably will be deleted again)
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@219 014f5005-505e-4b48-8d0a-63407b615a7c
2010-02-24 00:46:58 +00:00
LtWorf
ffa7140c6d
Fixed problem with float numbers with selection of certain relations
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@215 014f5005-505e-4b48-8d0a-63407b615a7c
2009-09-18 22:57:02 +00:00
LtWorf
f9d4858383
added code for selection into sql.py
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@212 014f5005-505e-4b48-8d0a-63407b615a7c
2009-08-20 16:10:55 +00:00
LtWorf
6734fc66e5
Improved futile_union_intersection_subtraction, handles when a branch of subtracion has a selection
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@209 014f5005-505e-4b48-8d0a-63407b615a7c
2009-08-18 10:28:34 +00:00
LtWorf
1d6aa88805
Improved futile_union_intersection_subtraction in case of A-A, when A is a sub-query
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@208 014f5005-505e-4b48-8d0a-63407b615a7c
2009-08-18 10:03:55 +00:00
LtWorf
9efc56269e
comments and cleanup in about.py
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@207 014f5005-505e-4b48-8d0a-63407b615a7c
2009-07-16 06:56:39 +00:00
LtWorf
fc49ba5bbe
Selection can now accept expressions with parenthesis
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@196 014f5005-505e-4b48-8d0a-63407b615a7c
2009-06-29 13:12:45 +00:00
LtWorf
3c4b91272b
Code refactory to move the new parser into parser.py out of optimizer.py, that will still be compatible
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@190 014f5005-505e-4b48-8d0a-63407b615a7c
2009-06-09 10:36:33 +00:00
LtWorf
6524ea2d9f
replaced old compiler, using the new one also in parser.py, and bug fixed
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@189 014f5005-505e-4b48-8d0a-63407b615a7c
2009-06-09 10:22:52 +00:00
LtWorf
378ace1a2b
new relational to python compiler
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@188 014f5005-505e-4b48-8d0a-63407b615a7c
2009-06-09 10:02:07 +00:00
LtWorf
dd43097d7e
added comments
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@187 014f5005-505e-4b48-8d0a-63407b615a7c
2009-06-09 09:05:48 +00:00
LtWorf
7659e39bd3
fix to optimization
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@186 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-30 15:17:51 +00:00
LtWorf
10227d1ae7
Cleaned up code
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@184 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-26 14:00:44 +00:00
LtWorf
7b827082d6
improved futile_union_intersection_subtraction optimization. Now it works also if one of the subtrees has a selection and the other doesn't
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@183 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-26 13:39:59 +00:00