Salvo 'LtWorf' Tomaselli
2d9bbf39f0
make mypy happy
2017-06-24 11:31:07 +07:00
Salvo 'LtWorf' Tomaselli
57936db6b9
Add documentation/typing to linegui
2017-06-24 10:47:56 +07:00
Salvo 'LtWorf' Tomaselli
54e4d05837
Don't crash when reading invalid files
2017-06-24 10:38:56 +07:00
Salvo 'LtWorf' Tomaselli
5473e68e60
Copyright line
2017-06-24 10:36:44 +07:00
Salvo 'LtWorf' Tomaselli
83ef5986e2
Style changes
2017-06-24 10:36:01 +07:00
Salvo 'LtWorf' Tomaselli
c1326c23e4
.gitignore
2017-06-24 10:11:28 +07:00
Salvo 'LtWorf' Tomaselli
c4da4bdcb6
Use with block to open file
2017-06-24 10:10:52 +07:00
Salvo 'LtWorf' Tomaselli
0778be30a1
Forbid using python keywords as names
...
closes #4
2017-05-13 00:21:18 +07: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 +07:00
Salvo 'LtWorf' Tomaselli
418dce95db
Strip spaces from survey
2017-05-13 00:17:23 +07:00
Salvo 'LtWorf' Tomaselli
6caf8bc741
replaced verbose loop with comprehension
2017-04-24 00:41:52 +07:00
Salvo 'LtWorf' Tomaselli
6014618f2d
Prepare for next release
2016-08-23 20:56:44 +07:00
Salvo 'LtWorf' Tomaselli
4480ecc577
d/changelog
2016-08-21 11:56:24 +07:00
Salvo 'LtWorf' Tomaselli
f0d50eabee
Query splitter complete
2016-08-21 11:03:45 +07:00
Salvo 'LtWorf' Tomaselli
47bc995fd9
Revert "Query splitter complete"
...
This reverts commit c4e258bbf9
.
Because I had committed by mistake changes to guihandler
2016-08-21 10:58:46 +07: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 +07:00
Salvo 'LtWorf' Tomaselli
8d8db2ac0c
CHANGELOG
2016-08-20 15:20:34 +07:00
Salvo 'LtWorf' Tomaselli
d1d781f3a3
Encode session in base64 to workaround a Qt bug
...
Recent updates of Qt can no longer store python's binary strings as settings,
so I encode it as an easy to handle base64 string to make the session storing
work again.
2016-08-20 09:28:12 +07:00
Salvo 'LtWorf' Tomaselli
c4e258bbf9
Query splitter complete
2016-08-16 11:15:56 +07:00
Salvo 'LtWorf' Tomaselli
bd1c3a208c
Variable name generator
2016-08-15 09:16:22 +07:00
Salvo 'LtWorf' Tomaselli
36bc145ac3
Initial commit for module to split queries into programs
2016-08-15 09:15:57 +07:00
Salvo 'LtWorf' Tomaselli
cba34cca2c
CHANGELOG
2016-05-25 15:30:15 +07:00
Salvo 'LtWorf' Tomaselli
03d05cf7a8
Added ui buttons to use multi line optimization
2016-05-25 15:29:32 +07:00
Salvo 'LtWorf' Tomaselli
57ea58e516
Removed debug print
2016-05-25 15:27:16 +07:00
Salvo 'LtWorf' Tomaselli
077eaa16bd
oijqwe
2016-05-25 15:13:18 +07:00
Salvo 'LtWorf' Tomaselli
93fbd848dc
optimize_all can return parse tree
...
This is nice, to avoid re-parsing it.
2016-05-25 15:08:30 +07:00
Salvo 'LtWorf' Tomaselli
e47bf59320
Multi-line optimizations
...
Added multi line optimizations.
So far, the code is not able to eliminate repetitions, but
I plan to address this problem later.
2016-05-25 14:59:23 +07:00
Salvo 'LtWorf' Tomaselli
d5de52d73c
Highlight current row
...
Inspired by code in pireal.
2016-05-25 13:53:34 +07:00
Salvo 'LtWorf' Tomaselli
2955afe45e
New multi line editor
...
Supports zooming in and out with ctrl+scroll.
It is a bit hacky, since I use sed in make to make it work, but
whatever.
2016-05-25 13:38:22 +07:00
Salvo 'LtWorf' Tomaselli
790766827e
Skip empty queries
2016-05-25 11:02:21 +07:00
Salvo 'LtWorf' Tomaselli
7a4a31d16a
Fix install targets
...
Call the correct install targets on make install
2016-04-27 20:23:16 +07:00
Salvo 'LtWorf' Tomaselli
9830a3cd74
Fixes to the .desktop file
...
Thanks to Davide Pesavento for pointing the issues out.
https://bugs.gentoo.org/show_bug.cgi?id=581000
2016-04-27 19:48:00 +07:00
Salvo 'LtWorf' Tomaselli
9f83aaabbf
Add test to contain escapes in selection strings
...
This makes sure that the code with escapes is generated correctly.
2016-04-23 15:21:24 +07: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 +07:00
Salvo 'LtWorf' Tomaselli
92990039ac
Test on joins
...
To hit on the issue just fixed.
2016-04-19 17:48:54 +07:00
Salvo 'LtWorf' Tomaselli
4d1b610605
Correct optimization over selection and product
2016-04-19 17:47:36 +07:00
Salvo 'LtWorf' Tomaselli
fb643bd26d
Added a bunch of .fail tests
...
Tests that are supposed to fail. They are a bit random, but at least
helped me fixing the test driver.
2016-04-18 16:29:54 +07:00
Salvo 'LtWorf' Tomaselli
6fe70e12fe
Some failures were crashing the test driver
...
Some tests are meant to fail, however some failures were actually
crashing the test driver.
This fixes the issue.
2016-04-18 16:28:56 +07:00
Salvo 'LtWorf' Tomaselli
eb6a033298
CHANGELOG
2016-04-15 15:00:31 +07:00
Salvo 'LtWorf' Tomaselli
d751de8a75
Test new optimization
2016-04-15 14:56:54 +07:00
Salvo 'LtWorf' Tomaselli
3779a1de81
Remove useless joins in optimization
...
Along with removing intersections and unions, this
removes useless joins in the same function.
2016-04-15 14:56:09 +07:00
Salvo 'LtWorf' Tomaselli
a5aef4a0fe
CHANGELOG
2016-04-15 14:45:33 +07:00
Salvo 'LtWorf' Tomaselli
7e61120beb
Make failure in unions commutative
...
Right now, because of how _rearrange was implemented, a union with a subset
of attributes of another union could be united with it, but not viceversa.
This change makes both operations fail, hence making the union commutative
again.
Correct unions were always commutative.
2016-04-15 14:43:18 +07:00
Salvo 'LtWorf' Tomaselli
696361af4b
Test that failure in union is commutative
2016-04-15 14:42:51 +07:00
Salvo 'LtWorf' Tomaselli
2f12a0e89d
Add possibility to test queries that are supposed to fail
...
This is supposed to be used for all malformed queries and all the ones
that are invalid for incompatibility reason, and make sure that they
actually fail.
2016-04-15 14:36:51 +07:00
Salvo 'LtWorf' Tomaselli
cc6dfca64c
Prepare for new version
2016-04-10 08:52:22 +07:00
Salvo 'LtWorf' Tomaselli
7f1004712a
Bump Standards-Version
2016-04-09 17:43:55 +07:00
Salvo 'LtWorf' Tomaselli
4e780373d8
d/changelog
2016-04-09 15:59:10 +07:00
Salvo 'LtWorf' Tomaselli
8845f858d5
New watchfile
...
Copied from weborf
2016-04-09 15:59:00 +07:00
Salvo 'LtWorf' Tomaselli
457899bc1b
CHANGELOG
2016-04-09 11:40:02 +07:00