Commit Graph

897 Commits (cf6546297970ada2dbb399d34ec7a7c4c2c41194)
 

Author SHA1 Message Date
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 +07: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 +07: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 +07:00
LtWorf 7ab6ed8ed7 - Survey sends version number
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@267 014f5005-505e-4b48-8d0a-63407b615a7c
2011-01-10 17:51:19 +07:00
LtWorf 3e2d33f1d5 - Added tests
- Driver can test on pure python code



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@266 014f5005-505e-4b48-8d0a-63407b615a7c
2010-12-23 10:11:14 +07: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 +07: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 +07: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 +07: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 +07:00
LtWorf 3d6e0590c0 - Added other tests to expose potential optimization problems
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@261 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-11 10:51:37 +07: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 +07: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 +07:00
LtWorf 3d21363e46 - Added tests
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@258 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-06 21:44:13 +07: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 +07: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 +07:00
LtWorf 54d1301a96 - Added other tests
- Driver can handle exceptions



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@255 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-04 12:46:18 +07:00
LtWorf 48e6ecb7ba - Added test driver
- Added some basic tests, mostly to test the driver itself


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@254 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-04 10:06:17 +07: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 +07: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 +07: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 +07: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 +07:00
LtWorf a408e517df - Removed stuff for the debian binary package creation since the regular one can be created using the debian directory.
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@249 014f5005-505e-4b48-8d0a-63407b615a7c
2010-08-10 17:53:43 +07:00
LtWorf 557fcabb01 - Added in trunk debian/ dir to build the debian package. It won't be added in the source tar.gz
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@248 014f5005-505e-4b48-8d0a-63407b615a7c
2010-08-05 15:44:52 +07:00
LtWorf 9032f1c674 - Removed encoding from .desktop file (was deprecated)
- Added manpage for relational-cli



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@247 014f5005-505e-4b48-8d0a-63407b615a7c
2010-08-03 23:31:21 +07:00
LtWorf 7b7ea3e3b1 - Prepared for next version
- Reversed order of versions in changelog


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@246 014f5005-505e-4b48-8d0a-63407b615a7c
2010-07-03 18:32:26 +07:00
LtWorf 354b0fd936 - Removed the rarfile for the fonts on windows and keeping the fonts directly on svn
- New input file for py2exe
- Clearer instructions about the setup, translated in english



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@245 014f5005-505e-4b48-8d0a-63407b615a7c
2010-07-03 18:01:45 +07:00
LtWorf 621f541c1e - Fixed mac target
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@243 014f5005-505e-4b48-8d0a-63407b615a7c
2010-07-02 15:11:16 +07:00
LtWorf 15c8b3e646 - Changed version in .iss file
- Removed source_all target
- Source target generates tar.gz instead of tar.bz


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@242 014f5005-505e-4b48-8d0a-63407b615a7c
2010-07-02 15:07:26 +07: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 +07: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 +07: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 +07:00
LtWorf 215386350d - Support for division operator in interfaces (not yet in the backend)
- Fixed error printing in qt ui for python 2.6



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@238 014f5005-505e-4b48-8d0a-63407b615a7c
2010-07-02 13:50:06 +07:00
LtWorf 84172d78bb - Changelog
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@237 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 22:13:00 +07:00
LtWorf f4d47a01e9 - Upgraded manpage
- Can save relations
- Better -v printout
- Added comments


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@236 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 21:02:47 +07:00
LtWorf a608581a33 - Able to unload relations
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@235 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 18:08:02 +07:00
LtWorf 55328d6b06 - Working completion
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@234 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 17:57:15 +07:00
LtWorf 9a51c38be6 - Added attempt of completion on files
- Added help
- Better handling of input termination or empty lines


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@233 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 17:05:31 +07:00
LtWorf 261bd4469f - Can be used from the main module
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@232 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 14:30:27 +07:00
LtWorf d7e4f64f55 - Can avoid to print results
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@231 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 14:24:43 +07:00
LtWorf 24b916131f - Fixed wrong behaviour that didn't recognise assignment properly
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@230 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 14:20:09 +07:00
LtWorf 5de25127c9 - Can easily insert operators
- Gracefully terminates
- Doesn't list hidden python stuff


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@229 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 14:12:43 +07:00
LtWorf f3dbab3993 - Can execute queries
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@228 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 13:53:48 +07:00
LtWorf ed3d5aaf54 - First stub of read line interface
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@227 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 13:37:41 +07:00
LtWorf 65411234a0 - Checks if the given files are really files
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@226 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 12:33:43 +07: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 +07:00
LtWorf 425dc5cf4c At least does something closer to what will be in the end
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@224 014f5005-505e-4b48-8d0a-63407b615a7c
2010-03-28 13:54:57 +07:00
LtWorf f1018b20f8 - Uses getopt to handle the command line in a more standard way
- Organized code so the ui can be either qt or curses



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@223 014f5005-505e-4b48-8d0a-63407b615a7c
2010-03-21 12:55:32 +07:00
LtWorf c282873c17 - Started the creation of a curses ui
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@222 014f5005-505e-4b48-8d0a-63407b615a7c
2010-03-21 12:28:52 +07: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 +07: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 +07:00