Commit Graph

118 Commits (ce348149f1743c1ffc0da0275492539abcf959ca)

Author SHA1 Message Date
Salvo 'LtWorf' Tomaselli 3b3888e9be New optimization
Turns
        π a,b,c(A) ∪ π a,b,c(B)

    into
        π a,b,c(A ∪ B)

    if A and B are union compatible

Works with union, intersection and difference.
2016-01-03 10:07:23 +07:00
Salvo 'LtWorf' Tomaselli faf636f61d Changelog 2016-01-02 16:26:09 +07:00
Salvo 'LtWorf' Tomaselli 53b158d25e Changes 2016-01-02 12:37:20 +07:00
Salvo 'LtWorf' Tomaselli c795acad97 s/outher join/outer join/ 2015-12-31 18:10:52 +07:00
Salvo 'LtWorf' Tomaselli 7acc0d19d0 Changed the blur thing with a simple label
It was a bit buggy and was not blurring all the widgets, or
not reverting the blur properly. Probably best to just show a
label instead.

Still, the proper solution would probably be to do the processing
in a separate thread.
2015-12-31 18:07:23 +07:00
Salvo 'LtWorf' Tomaselli 950a2273c3 New query optimization
A * B ∪ A * C = A * (B ∪ C)
2015-12-31 14:26:28 +07:00
Salvo 'LtWorf' Tomaselli 239e0e58dd Blurs UI while processing
Before the processing of a query starts, it will blur the UI.

This gives feedback to the user that something is happening, and is
simple to implement because I am too lazy to move the processing in
a separate thread.
2015-12-21 00:54:05 +07:00
Salvo 'LtWorf' Tomaselli 7f08ca9133 Ctrl+C in the terminal, will kill the GUI
It will abruptly kill, so settings will not be
saved.
2015-10-09 11:33:19 +07:00
Salvo 'LtWorf' Tomaselli 0d9d5114bd changelog 2015-10-09 11:31:52 +07:00
Salvo 'LtWorf' Tomaselli a9daf8544c Prepare for next release 2015-09-15 01:58:17 +07:00
Salvo 'LtWorf' Tomaselli 0f4cc1ab94 Changelog
Move the impressive stuff up
2015-09-11 12:42:18 +07:00
Salvo 'LtWorf' Tomaselli d597076038 Subtle bug that occurred selecting after a join
Outer joins add the placeholder '---' that is used as some sort of NULL
value.

However select operations on such relations would always fail, because
relations are supposed to only contain values of class rstring, and
the placeholder was added as a regular string.

As a consequence, automatic casting would always fail, and the select
would always raise an exception.

Added a new test case with this specific case in mind.
2015-09-10 12:19:51 +07:00
Salvo 'LtWorf' Tomaselli df5ff35aa9 Changelog 2015-09-09 17:33:15 +07:00
Salvo 'LtWorf' Tomaselli 9ea5e32563 changelog 2015-08-03 16:01:10 +07:00
Salvo 'LtWorf' Tomaselli 5a9c2f23a5 Changelog 2015-07-14 15:43:41 +07:00
Salvo 'LtWorf' Tomaselli 494469e10c Changelog 2015-07-09 22:39:33 +07:00
Salvo 'LtWorf' Tomaselli 5552923633 Prepare for version 2.1 2015-06-13 17:34:13 +07:00
Salvo 'LtWorf' Tomaselli c0132ef9df New changelog entries 2015-06-02 15:40:11 +07:00
Salvo 'LtWorf' Tomaselli c345c1e521 Added new changes in CHANGELOG 2015-06-01 08:42:40 +07:00
Salvo 'LtWorf' Tomaselli 8cb08ad030 Change relational language to use math symbols
The symbols previously used were a Canadian script, and were looking
good enough, but they might not be installed in every machine.

Besides, all this is to workaround a Qt5 bug that prevents from
rendering those symbols at times.
2015-05-31 19:01:03 +07:00
Salvo 'LtWorf' Tomaselli fd4677be00 Mention the language switch 2015-02-19 12:58:36 +07:00
Salvo 'LtWorf' Tomaselli da4c549ea0 Drop support for PySide
It's no longer developed and I'm moving to Qt5 which
is not supported
2015-02-18 17:53:02 +07:00
Salvo 'LtWorf' Tomaselli 8321232484 Fix bug in relational-cli that made it crash when an exception was raised 2014-01-11 12:27:16 +07:00
Salvo 'LtWorf' Tomaselli be0d95b838 Prepare for new version 2014-01-11 12:21:41 +07:00
Salvo 'LtWorf' Tomaselli c12c51dab9 Removed support for pyside 2013-12-27 00:56:57 +07:00
Salvo 'LtWorf' Tomaselli 5e4a703f56 New way of checking for new versions 2013-12-27 00:16:12 +07:00
LtWorf 3978259f4a - improved an optimization, to produce a simpler select condition under certain circumstances
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@343 014f5005-505e-4b48-8d0a-63407b615a7c
2011-11-07 19:01:33 +07:00
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