Commit Graph

139 Commits

Author SHA1 Message Date
Salvo 'LtWorf' Tomaselli
4337e6073e
CHANGELOG 2020-06-09 19:31:56 +02:00
Salvo 'LtWorf' Tomaselli
a8426840da
Disable all optimizations for now
They are in need of a refactor
2020-06-09 02:06:57 +02:00
Salvo 'LtWorf' Tomaselli
d4002e117b
CHANGELOG 2017-08-18 08:37:47 +02:00
Salvo 'LtWorf' Tomaselli
0778be30a1
Forbid using python keywords as names
closes #4
2017-05-13 00:21:18 +02:00
Salvo 'LtWorf' Tomaselli
d61bfafe5c
Do not send survey in case of swearwords
I'm getting tired of kids blaming their idiocy on me.

They can go begging for money, for all I care.
2017-05-13 00:21:10 +02:00
Salvo 'LtWorf' Tomaselli
6014618f2d Prepare for next release 2016-08-23 20:56:44 +02:00
Salvo 'LtWorf' Tomaselli
ae042a7ae4 "save" will act on the relation selected in the list
It used to act on the active relation, that is, the one being displayed
in the central table, that is selected with a double click.

This change makes it act on the relation directly selected instead.
It should be more intuitive.
2016-08-21 10:53:26 +02:00
Salvo 'LtWorf' Tomaselli
8d8db2ac0c CHANGELOG 2016-08-20 15:20:34 +02:00
Salvo 'LtWorf' Tomaselli
cba34cca2c CHANGELOG 2016-05-25 15:30:15 +02:00
Salvo 'LtWorf' Tomaselli
722b164d56 Fix Python code generator to correctly escape strings
A string that contained escape symbols was not correctly escaped
when generating the Python code for the selection.

This could cause selection operations to fail to compile.
2016-04-23 15:19:32 +02:00
Salvo 'LtWorf' Tomaselli
4d1b610605 Correct optimization over selection and product 2016-04-19 17:47:36 +02:00
Salvo 'LtWorf' Tomaselli
eb6a033298 CHANGELOG 2016-04-15 15:00:31 +02:00
Salvo 'LtWorf' Tomaselli
a5aef4a0fe CHANGELOG 2016-04-15 14:45:33 +02:00
Salvo 'LtWorf' Tomaselli
cc6dfca64c Prepare for new version 2016-04-10 08:52:22 +02:00
Salvo 'LtWorf' Tomaselli
457899bc1b CHANGELOG 2016-04-09 11:40:02 +02:00
Salvo 'LtWorf' Tomaselli
1b049e13f0 Better handling of parenthesis inside string literals
When scanning for the matching parenthesis, string literals
were not taken into account, which would inevitably lead to
errors if one wanted to do a selection on a string containing
a parenthesis.

Now it uses a state-machine to skip the ones that are located
inside literals.
2016-04-09 11:37:28 +02:00
Salvo 'LtWorf' Tomaselli
e4e3eae8ce CHANGELOG 2016-04-09 10:09:08 +02:00
Salvo 'LtWorf' Tomaselli
3139031611 CHANGELOG 2016-03-31 21:46:00 +02:00
Salvo 'LtWorf' Tomaselli
f19d6c9e5f Prepare for next version 2016-03-02 00:31:31 +01:00
Salvo 'LtWorf' Tomaselli
6f61d51b3a changelog 2016-03-02 00:13:04 +01:00
Salvo 'LtWorf' Tomaselli
262d92290f Prepare for next version
Change the version string everywhere, for the next release
2016-01-06 00:30:10 +01:00
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 +01:00
Salvo 'LtWorf' Tomaselli
faf636f61d Changelog 2016-01-02 16:26:09 +01:00
Salvo 'LtWorf' Tomaselli
53b158d25e Changes 2016-01-02 12:37:20 +01:00
Salvo 'LtWorf' Tomaselli
c795acad97 s/outher join/outer join/ 2015-12-31 18:10:52 +01: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 +01:00
Salvo 'LtWorf' Tomaselli
950a2273c3 New query optimization
A * B ∪ A * C = A * (B ∪ C)
2015-12-31 14:26:28 +01: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 +01: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 +02:00
Salvo 'LtWorf' Tomaselli
0d9d5114bd changelog 2015-10-09 11:31:52 +02:00
Salvo 'LtWorf' Tomaselli
a9daf8544c Prepare for next release 2015-09-15 01:58:17 +02:00
Salvo 'LtWorf' Tomaselli
0f4cc1ab94 Changelog
Move the impressive stuff up
2015-09-11 12:42:18 +02: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 +02:00
Salvo 'LtWorf' Tomaselli
df5ff35aa9 Changelog 2015-09-09 17:33:15 +02:00
Salvo 'LtWorf' Tomaselli
9ea5e32563 changelog 2015-08-03 16:01:10 +02:00
Salvo 'LtWorf' Tomaselli
5a9c2f23a5 Changelog 2015-07-14 15:43:41 +02:00
Salvo 'LtWorf' Tomaselli
494469e10c Changelog 2015-07-09 22:39:33 +02:00
Salvo 'LtWorf' Tomaselli
5552923633 Prepare for version 2.1 2015-06-13 17:34:13 +02:00
Salvo 'LtWorf' Tomaselli
c0132ef9df New changelog entries 2015-06-02 15:40:11 +02:00
Salvo 'LtWorf' Tomaselli
c345c1e521 Added new changes in CHANGELOG 2015-06-01 08:42:40 +02: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 +02:00
Salvo 'LtWorf' Tomaselli
fd4677be00 Mention the language switch 2015-02-19 12:58:36 +01: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 +01: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 +01:00
Salvo 'LtWorf' Tomaselli
be0d95b838 Prepare for new version 2014-01-11 12:21:41 +01:00
Salvo 'LtWorf' Tomaselli
c12c51dab9 Removed support for pyside 2013-12-27 00:56:57 +01:00
Salvo 'LtWorf' Tomaselli
5e4a703f56 New way of checking for new versions 2013-12-27 00:16:12 +01: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 +00: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 +00: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 +00:00