Commit Graph

585 Commits

Author SHA1 Message Date
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 +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
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 +00: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 +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
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 +00: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 +00: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 +00: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 +00: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 +00: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 +00: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 +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
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 +00: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 +00: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 +00: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 +00: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 +00: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 +00: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 +00: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 +00: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 +00: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 +00: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 +00: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 +00: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 +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
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 +00: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 +00: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 +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
8633052af2 Automatically fills some fields in the survey
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@218 014f5005-505e-4b48-8d0a-63407b615a7c
2009-09-19 09:25:38 +00:00
LtWorf
861d3fa301 added various files
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@217 014f5005-505e-4b48-8d0a-63407b615a7c
2009-09-18 22:59:29 +00:00
LtWorf
9d39f8836e Added .desktop file on svn
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@216 014f5005-505e-4b48-8d0a-63407b615a7c
2009-09-18 22:57:44 +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
9c12a662ea Using fakeroot instead of su in make debian
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@214 014f5005-505e-4b48-8d0a-63407b615a7c
2009-09-09 13:17:38 +00:00
LtWorf
7579b54348 Patch provided by Angelo 'Havoc' Puglisi
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@213 014f5005-505e-4b48-8d0a-63407b615a7c
2009-09-09 13:11:47 +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
f907981b49 error in changelog
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@211 014f5005-505e-4b48-8d0a-63407b615a7c
2009-08-18 11:53:26 +00:00
LtWorf
6f8ad973b9 Can load relations specified in command line
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@210 014f5005-505e-4b48-8d0a-63407b615a7c
2009-08-18 11:52:33 +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