Commit Graph

808 Commits (d592cc30507e8ec195f501b4fd9a35fb470527a7)
 

Author SHA1 Message Date
Salvo 'LtWorf' Tomaselli 9101cee7ab
Use new class name 2018-01-21 16:55:48 +07:00
Salvo 'LtWorf' Tomaselli bcdf81cdcd
Remove embedded browser with website 2017-08-26 17:51:04 +07:00
Salvo 'LtWorf' Tomaselli ada4f50843
do_debian script
To make a debian release
2017-08-19 09:10:46 +07:00
Salvo 'LtWorf' Tomaselli b169a3ab35
debian directory in its own branch 2017-08-18 16:41:46 +07:00
Salvo 'LtWorf' Tomaselli 13e6d64d53
d/rules: no need to override dh_auto_test
It can just run make test
2017-08-18 16:33:41 +07:00
Salvo 'LtWorf' Tomaselli d4002e117b
CHANGELOG 2017-08-18 08:37:47 +07:00
Salvo 'LtWorf' Tomaselli 22aef831ff
mypy: use different variable for different type
Instead of reassigning the same one, changing its type
2017-08-18 08:37:34 +07:00
Salvo 'LtWorf' Tomaselli b8152e2d23
mypy, read explicitly as binary 2017-08-18 07:39:49 +07:00
Salvo 'LtWorf' Tomaselli 2a86d52c00
.gitignore 2017-07-02 12:51:06 +07:00
Salvo 'LtWorf' Tomaselli 7a88dc9076
Replace == None with is 2017-07-02 12:50:48 +07:00
Salvo 'LtWorf' Tomaselli f459f0635a
Add missing returns
The conditions were only checking valid values, now exceptions are thrown if
none of the conditions match.

Also correct the type of _find_matching_parenthesis.
2017-07-02 12:47:46 +07:00
Salvo 'LtWorf' Tomaselli 12f4459682
More type information
Add type information, change some imports and some style.
2017-06-24 13:01:22 +07:00
Salvo 'LtWorf' Tomaselli 6bda7044ae
added test target to make 2017-06-24 11:35:57 +07:00
Salvo 'LtWorf' Tomaselli fa08e007db
moved tests directory 2017-06-24 11:35:46 +07:00
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