Commit Graph

41 Commits (d592cc30507e8ec195f501b4fd9a35fb470527a7)

Author SHA1 Message Date
Salvo 'LtWorf' Tomaselli b43db451e5
Don't feel like writing stubs 2020-08-15 21:25:35 +07:00
Salvo 'LtWorf' Tomaselli 7e3c4d3ff9
Make mypy happy 2020-08-15 21:25:35 +07:00
Salvo 'LtWorf' Tomaselli 36e312ba7b
Use new API in cli 2020-08-15 21:25:35 +07:00
Salvo 'LtWorf' Tomaselli 0a06034c9f
Fix cli 2020-08-13 10:20:29 +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 83ef5986e2
Style changes 2017-06-24 10:36:01 +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 72318bb0e8 Updated copyright notices
With the last year of modification of the file in question.
2016-03-31 21:45:59 +07:00
Salvo 'LtWorf' Tomaselli fd1e4610fa Use split_query function
Instead of having it duplicated there
2016-01-02 15:27:51 +07:00
Salvo 'LtWorf' Tomaselli 87e2c76468 Silent mode if using scripts
When using a script, the command line mode prints less debug output
and less things in general, to avoid cluttering the output with
unwanted things.
2015-11-06 16:03:58 +07:00
Salvo 'LtWorf' Tomaselli 98ac364dc7 Removed encoding string
Not needed in Python 3
2015-07-14 10:43:13 +07:00
Salvo 'LtWorf' Tomaselli df485e4bd4 Make use of callable string
Instead of explicitly using eval, make use of the
new callable string feature
2015-07-09 23:42:52 +07:00
Salvo 'LtWorf' Tomaselli 8dbdb2955f No need to use encode 2015-06-01 13:05:39 +07:00
Salvo 'LtWorf' Tomaselli 1793637418 Use constants from parser to replace symbols 2015-06-01 12:39:09 +07:00
Salvo 'LtWorf' Tomaselli 06c5047c8f Prints ^C in CLI mode when Ctrl+C is pressed 2015-02-19 12:57:02 +07:00
Salvo 'LtWorf' Tomaselli 991b0d9942 Converted command line interface to Python3 2015-02-19 12:56:21 +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 556eecc118 Changed about and README to not point to galileo anymore 2013-12-27 00:31:43 +07:00
Salvo 'LtWorf' Tomaselli b4f418f3cc - uses xtermcolor instead of embedded termcolor
- Doesn't terminate on ^C, just prints a new empty prompt
2013-02-21 16:06:51 +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 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 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 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 11b622b324 - Clickable links in the about window
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@276 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-14 21:51:22 +07:00
LtWorf 6e16a0d841 - Added new test
- Changed some comments


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@263 014f5005-505e-4b48-8d0a-63407b615a7c
2010-10-26 13:54:34 +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 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 f4d47a01e9 - Upgraded manpage
- Can save relations
- Better -v printout
- Added comments


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@236 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 21:02:47 +07:00
LtWorf a608581a33 - Able to unload relations
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@235 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 18:08:02 +07:00
LtWorf 55328d6b06 - Working completion
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@234 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 17:57:15 +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 261bd4469f - Can be used from the main module
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@232 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 14:30:27 +07:00
LtWorf d7e4f64f55 - Can avoid to print results
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@231 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 14:24:43 +07:00
LtWorf 24b916131f - Fixed wrong behaviour that didn't recognise assignment properly
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@230 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 14:20:09 +07:00
LtWorf 5de25127c9 - Can easily insert operators
- Gracefully terminates
- Doesn't list hidden python stuff


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@229 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 14:12:43 +07:00
LtWorf f3dbab3993 - Can execute queries
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@228 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 13:53:48 +07:00
LtWorf ed3d5aaf54 - First stub of read line interface
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@227 014f5005-505e-4b48-8d0a-63407b615a7c
2010-06-21 13:37:41 +07:00