Commit Graph

141 Commits (4dc7f131f34486afa2bc4e87de77677f146b64e2)

Author SHA1 Message Date
LtWorf 0986da8db7 - parser gives more indicative errors
- changed two "range" into xrange


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@340 014f5005-505e-4b48-8d0a-63407b615a7c
2011-11-01 19:29:55 +07:00
LtWorf 48bde3ea84 - Improved tokenizer
- GUI shows unicode errors (i really can't wait for debian to have pyqt in python 3)



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@339 014f5005-505e-4b48-8d0a-63407b615a7c
2011-11-01 18:47:03 +07:00
LtWorf cdd771462d - command line interface using new API
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@333 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-17 21:26:01 +07: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 +07:00
LtWorf 2f8e604d0d - Can create relation classes from the table
- Can add new relations and edit current ones, it apparently works



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@325 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-13 18:44:20 +07:00
LtWorf c5af23d05c - apparently it works, needs further testing
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@319 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-08 22:35:24 +07:00
LtWorf b186ddae39 - Unified main GUI too, but work is still in progress...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@317 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-08 18:32:31 +07:00
LtWorf 954dabb447 - Tries to launch using pyqt 1st and then pyside
- Unified about.py, now using the same code



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@314 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-08 17:05:07 +07: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 +07:00
LtWorf d6a3309014 - Can send email in survery (apparently for some people it is too difficult to understand i can't reply to them if they use an anonymous survey to contact me)
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@310 014f5005-505e-4b48-8d0a-63407b615a7c
2011-06-14 15:27:06 +07:00
LtWorf 4a296c52cf - termcolor modified to use bold by default
- uses colors in readline



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@297 014f5005-505e-4b48-8d0a-63407b615a7c
2011-04-01 10:28:47 +07: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 +07: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 +07:00
LtWorf 52c20fc79d - Prepared for next version
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@292 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-22 20:54:55 +07: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 +07: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 +07:00
LtWorf 4d78540440 - Relation list is sorted
- Selects last item of history (so it scrolls)
- Fixes saving relations
- Simplified code, removing useless iterations



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@281 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-20 21:49:02 +07:00
LtWorf 87302f2e64 - Change from 0.12 to version 1.0
- Correct wrong float type in ratings.csv
- Small correction in manpages
- More complete debian changelog


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@275 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-04 12:38:00 +07: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 +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 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 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 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 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 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 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 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 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 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 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
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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
LtWorf 4b6960b7be Font is set only on windows
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@206 014f5005-505e-4b48-8d0a-63407b615a7c
2009-07-05 22:26:51 +07: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 +07: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 +07: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 +07:00
LtWorf 43766eeeae Implemented swap_rename_projection general optimization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@182 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-25 17:04:24 +07:00
LtWorf 5e30121812 Implemented futile_union_intersection_subtraction general optimization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@175 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-22 22:20:31 +07:00
LtWorf 8807d9159d added specific optimizations in GUI
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@169 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 15:09:57 +07:00
LtWorf c7f1aa060e completed implementation of selection_inside_projection
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@154 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-08 14:51:31 +07:00
LtWorf 9627500a21 Able to (temporarily) store queries with a name
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@152 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-06 16:35:21 +07:00
LtWorf bc0492ef77 moved the initialization of psyco after the initialization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@140 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 12:14:00 +07:00
LtWorf ac0d6fae85 counting changes on the tree
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@138 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 08:36:28 +07:00
LtWorf a2b9c11697 Added make install and uninstall
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@123 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-06 17:04:18 +07:00
LtWorf 39a27aef71 Bug: error in update operation, it changed the original tuple, so also other relations using the same tuple would change. Now it copies it
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@122 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-03 19:03:02 +07:00
LtWorf d872343481 added some comments
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@116 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-19 13:30:35 +07:00
LtWorf 0d191ab959 inserted complexity for selection
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@113 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-18 09:58:25 +07:00
LtWorf c68804c8aa updated changelog
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@111 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-16 22:19:57 +07:00
LtWorf bcdf97351e stub of new list-parser
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@107 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-16 08:52:25 +07:00
LtWorf 65cb38aa53 Inserted changes of this version
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@101 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-08 08:19:19 +07:00
LtWorf be36b2ccd8 splitting into modules is completed and working (hopefully also on macosx)
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@94 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-02 16:29:11 +07:00
LtWorf f8fe680667 tagged version 0.8
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@88 014f5005-505e-4b48-8d0a-63407b615a7c
2009-02-24 14:56:08 +07:00
LtWorf a73fe7ae36 updated changelog
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@86 014f5005-505e-4b48-8d0a-63407b615a7c
2009-02-23 15:17:04 +07:00
LtWorf fd5e8dd276 Relation module has SQL-like update
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@76 014f5005-505e-4b48-8d0a-63407b615a7c
2008-12-25 11:28:38 +07:00
LtWorf 1b09369198 Relation module has SQL-like delete
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@75 014f5005-505e-4b48-8d0a-63407b615a7c
2008-12-25 11:26:40 +07:00
LtWorf f5e16a0cf4 stub for optimizer
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@73 014f5005-505e-4b48-8d0a-63407b615a7c
2008-12-10 17:42:41 +07:00
LtWorf a9ac98e7bb Deb postinstall generates optimized files
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@71 014f5005-505e-4b48-8d0a-63407b615a7c
2008-12-09 17:24:24 +07:00
LtWorf efbbbeba35 New default relation's format is csv, as defined in RFC4180
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@67 014f5005-505e-4b48-8d0a-63407b615a7c
2008-11-30 13:59:22 +07:00
LtWorf 51745e8218 Added __eq__ to relation object
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@66 014f5005-505e-4b48-8d0a-63407b615a7c
2008-11-30 12:28:16 +07:00
LtWorf c400562006 Makefile to create .deb package
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@59 014f5005-505e-4b48-8d0a-63407b615a7c
2008-11-15 15:33:02 +07:00
LtWorf 4bf2f915c6 Form to send a survey
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@57 014f5005-505e-4b48-8d0a-63407b615a7c
2008-11-11 13:15:12 +07:00
LtWorf 19e801092e simplified outer join
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@54 014f5005-505e-4b48-8d0a-63407b615a7c
2008-11-09 12:15:04 +07:00
LtWorf ec8218cfc0 typo
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@53 014f5005-505e-4b48-8d0a-63407b615a7c
2008-11-08 18:21:31 +07:00
LtWorf 863289d29c Optimized saving of relations
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@51 014f5005-505e-4b48-8d0a-63407b615a7c
2008-11-06 22:25:12 +07:00
LtWorf 278036081f Changed internal rename method. Now uses a dictionary
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@50 014f5005-505e-4b48-8d0a-63407b615a7c
2008-11-05 17:18:28 +07:00
LtWorf 772eb4f156 When adding a relation, the file must be choosen 1st, and then the default relation's name is the same as the filename
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@49 014f5005-505e-4b48-8d0a-63407b615a7c
2008-11-05 17:07:38 +07:00
LtWorf 56b4756145 expressions between quotes aren't parsed anymore
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@45 014f5005-505e-4b48-8d0a-63407b615a7c
2008-10-04 17:37:58 +07:00
LtWorf 3b9291a88b added readme since it appears it is too complicated for users to read the whole download page
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@44 014f5005-505e-4b48-8d0a-63407b615a7c
2008-09-22 13:34:41 +07:00
LtWorf a55b27ca5e unable to handle signals when using PyQt...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@41 014f5005-505e-4b48-8d0a-63407b615a7c
2008-09-01 07:56:54 +07:00
LtWorf a28e52b1bc makefile for macosx
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@39 014f5005-505e-4b48-8d0a-63407b615a7c
2008-09-01 07:51:57 +07:00
LtWorf 74656a4f9c makefile able to create and package osx application
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@38 014f5005-505e-4b48-8d0a-63407b615a7c
2008-08-15 13:30:42 +07:00
LtWorf 35126caa5a fix to run on osx, runs even if webkit can't be imported
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@37 014f5005-505e-4b48-8d0a-63407b615a7c
2008-08-14 18:53:42 +07:00
LtWorf 15707f89c5 Added support for dates
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@35 014f5005-505e-4b48-8d0a-63407b615a7c
2008-08-08 14:28:47 +07:00
LtWorf ee37a74088 added support for float numbers
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@34 014f5005-505e-4b48-8d0a-63407b615a7c
2008-08-08 12:41:16 +07:00
LtWorf 2caad7a868 completed GUI
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@31 014f5005-505e-4b48-8d0a-63407b615a7c
2008-07-24 22:20:04 +07:00
LtWorf 9e29e2083b GUI stub
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@25 014f5005-505e-4b48-8d0a-63407b615a7c
2008-07-23 13:20:49 +07:00
LtWorf f92749f7ee tagged release 0.2
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@21 014f5005-505e-4b48-8d0a-63407b615a7c
2008-07-21 08:47:31 +07:00
LtWorf b873d432b6 renamed equijoin to thetajoin
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@12 014f5005-505e-4b48-8d0a-63407b615a7c
2008-07-17 22:53:32 +07:00