Commit Graph

136 Commits (6fe70e12fe147f346d231bd632d52b64fc11353e)

Author SHA1 Message Date
Salvo 'LtWorf' Tomaselli bae0d482a2 Set font for windows
Apparently the new symbols used are not present in Dejavu fonts.

However they should be present in Cambria, which should be shipped
by default on windows.
2015-06-04 22:30:39 +07:00
Salvo 'LtWorf' Tomaselli 90034d1033 Regenerated UI 2015-06-02 15:12:57 +07:00
Salvo 'LtWorf' Tomaselli cdca1cc899 Re-added connection to use history 2015-06-02 15:12:41 +07:00
Salvo 'LtWorf' Tomaselli 62c51ab150 Removed useless compatibility module from UI
It was originally created to support both PyQt and PySide but
at this point is useless
2015-06-02 14:56:44 +07:00
Salvo 'LtWorf' Tomaselli 36a2c192a8 Fix save relation dialog
Also add an error in case no relation is selected.
2015-06-02 14:41:41 +07:00
Salvo 'LtWorf' Tomaselli 8102dbe959 Fixed and changed semantic of open relation
Now relations are always named with the default name.

Multiple relations can be opened at once from the GUI.

Removed redundant code to select the default name for a relation.

Using system dependant splitter to determine the default name for a relation.
2015-06-02 12:35:47 +07:00
Salvo 'LtWorf' Tomaselli 9d4284d624 Store the state of the main window when closing and restore it. 2015-06-01 14:20:29 +07:00
Salvo 'LtWorf' Tomaselli dbeb1e3863 Do not manipulate the relation directly when editing
This prevents adding values with the wrong type to the relation.
2015-06-01 13:14:58 +07:00
Salvo 'LtWorf' Tomaselli db529f9ba4 Qt5 moved QWebView in a different module 2015-06-01 10:59:17 +07:00
Salvo 'LtWorf' Tomaselli d60b5f7983 Print compiled expressions for multiline queries 2015-06-01 07:34:21 +07:00
Salvo 'LtWorf' Tomaselli cd5c2845e1 Store last multiline query
When loading, the last multiline query used will be available.

Also, refactored the part to execute multiline queries in a
separate function.
2015-06-01 00:17:19 +07:00
Salvo 'LtWorf' Tomaselli 7530c30185 Generated UI 2015-06-01 00:02:23 +07:00
Salvo 'LtWorf' Tomaselli f3af25f132 Support multi-line editing mode
This mode supports the insertion of multiple queries in one shot,
assign them to variables and reuse them.

Basically a program. Less interactive mode but better for more
complicated queries.
2015-06-01 00:00:59 +07:00
Salvo 'LtWorf' Tomaselli eda84914af Generate UI files 2015-05-31 19:04:45 +07:00
Salvo 'LtWorf' Tomaselli 4a71130d0a Change UI to use the new symbols 2015-05-31 19:03:49 +07:00
Salvo 'LtWorf' Tomaselli abfa6a00c2 Use constants rather than hardcoded symbols
In the code that inserts the symbols in the query, use constants from the
parser module.
2015-05-31 19:03:17 +07:00
Salvo 'LtWorf' Tomaselli 7e1c2c964c I can't remember what the changes were 2015-03-12 10:21:01 +07:00
Salvo 'LtWorf' Tomaselli 221861be51 Marked operator buttons labels as untranslatable 2015-02-23 15:23:27 +07:00
Salvo 'LtWorf' Tomaselli 5bfbe4f4af Ask again if the relation name is incorrect
When creating a new relation, if the name is incorrect, ask again rather than
drop entirely the new relation.
2015-02-23 14:19:28 +07:00
Salvo 'LtWorf' Tomaselli 512aafd946 Style 2015-02-19 14:06:11 +07:00
Salvo 'LtWorf' Tomaselli cf377eca46 Initial Qt5/Python3 switch
This converts the GUI code to use Qt5 and Python3

The GUI is still somewhat buggy, and it can't open files yet,
but seems to be mostly working, extensive testing will
be needed before this can be released.
2015-02-19 14:00:47 +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 32f7aa5410 Make everything point to the brand new website 2015-02-11 19:50:41 +07:00
Salvo 'LtWorf' Tomaselli c8d9e57a50 Get rid of the last remains of galileo 2013-12-27 00:47:48 +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 f31d0dea28 Forget about sessions for now 2013-12-27 00:17:19 +07:00
Salvo 'LtWorf' Tomaselli 5e4a703f56 New way of checking for new versions 2013-12-27 00:16:12 +07:00
Salvo 'LtWorf' Tomaselli d422756ed2 sessions support 2013-06-30 11:47:26 +07:00
LtWorf 853e0d2674 - Added tooltips for the operators
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@345 014f5005-505e-4b48-8d0a-63407b615a7c
2012-02-13 12:23:35 +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 473dbfd331 - added rel edit for convenience, despite being a generated file
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@336 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-26 21:19:52 +07:00
LtWorf cadded91cd - nothing really..
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@334 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-22 13:26:32 +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 ee1e103c8f - tests with pyside and fixes
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@332 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-15 22:30:31 +07:00
LtWorf 9344304f68 - More fixes for unicode...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@330 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-15 22:00:17 +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 24021ddeb0 - warns about saving relations
- no more empty fields



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@328 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-13 20:39:48 +07:00
LtWorf 80cd45cf0c - handles wrong header names
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@327 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-13 20:30:06 +07:00
LtWorf 9d12667b11 - Debian package can now be installed with pyside and not pyqt
- Make dist makes a file for the debian format
- Make dist removes .svn from relational_pyside
- setup.py installs relational_pyside module



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@326 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-13 20:15:38 +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 144ee8fabc - Can show relations
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@324 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-13 18:10:01 +07:00
LtWorf e6c871b785 - Buttons to edit and create relation
- Default example cells when working on a new relation


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@323 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-13 17:06:24 +07:00
LtWorf 06d27b14a7 - Still a stub, with handler module now
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@322 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-13 16:24:01 +07:00
LtWorf cbedc893b1 - ui for editing relations.. just a stub
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@321 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-13 14:08:12 +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 f02f54d58d - removed insert and delete buttons. They were probably too complicated to use..
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@318 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-08 22:30:22 +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 03426f5276 - Unified code for survey
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@316 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-08 17:34:19 +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 8a21307d22 - Removed futile recoursive import, that would not work in python3
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@307 014f5005-505e-4b48-8d0a-63407b615a7c
2011-06-06 09:07:50 +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 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 9c65a60b22 - Small fix and simplified code
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@285 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-21 16:10:22 +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 e563972436 - Changed window title
- Added menu!
- Can restore from history



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@282 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-20 23:23:20 +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 6a93efd198 - Adds query into history
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@280 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-20 21:18:30 +07:00
LtWorf 6765e9c903 - Now uses generated GUI
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@279 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-20 19:31:50 +07:00
LtWorf 0c7f71e254 - Re-designed the ui, using the designer
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@278 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-20 18:56:50 +07:00
LtWorf 3e04c24056 - Added new test
- More details in test driver
- Re-building GUI, idioticly eliminated long ago



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@277 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-20 17:16:34 +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 7ab6ed8ed7 - Survey sends version number
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@267 014f5005-505e-4b48-8d0a-63407b615a7c
2011-01-10 17:51:19 +07:00
LtWorf 2073b4db4a - Internally uses set instead of lists to describe relation's content
- Discards the old and not so functional tlb format



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@250 014f5005-505e-4b48-8d0a-63407b615a7c
2010-09-22 12:53:36 +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 ad84f402d5 - More detail for errors in evaluation
- Printing errors on stdout too, as well as query conversion to python



git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@225 014f5005-505e-4b48-8d0a-63407b615a7c
2010-04-08 09:43:29 +07:00
LtWorf 2c4757dafb - When a query fails, shows the message of the exception
- Improved tokenizer for select in optimizations, now can accept operators in identifiers


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@220 014f5005-505e-4b48-8d0a-63407b615a7c
2010-03-19 16:06:02 +07:00
LtWorf 6adcd221bd Edited license
Desktop file in make
SQL conversion (probably will be deleted again)


git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@219 014f5005-505e-4b48-8d0a-63407b615a7c
2010-02-24 00:46:58 +07:00
LtWorf 8633052af2 Automatically fills some fields in the survey
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@218 014f5005-505e-4b48-8d0a-63407b615a7c
2009-09-19 09:25:38 +07:00
LtWorf ffa7140c6d Fixed problem with float numbers with selection of certain relations
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@215 014f5005-505e-4b48-8d0a-63407b615a7c
2009-09-18 22:57:02 +07:00
LtWorf 7579b54348 Patch provided by Angelo 'Havoc' Puglisi
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@213 014f5005-505e-4b48-8d0a-63407b615a7c
2009-09-09 13:11:47 +07:00
LtWorf 6f8ad973b9 Can load relations specified in command line
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@210 014f5005-505e-4b48-8d0a-63407b615a7c
2009-08-18 11:52:33 +07:00
LtWorf 9efc56269e comments and cleanup in about.py
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@207 014f5005-505e-4b48-8d0a-63407b615a7c
2009-07-16 06:56:39 +07:00
LtWorf 3051894d79 added Emilio into credits and about window on window
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@202 014f5005-505e-4b48-8d0a-63407b615a7c
2009-06-30 09:53:45 +07:00
LtWorf dcc5d977b4 using single separator... on windows seems to be using the unix one.. boh
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@200 014f5005-505e-4b48-8d0a-63407b615a7c
2009-06-30 09:30:11 +07:00
LtWorf 77c6cec3e9 now saved queries have a default value
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@170 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 15:13:48 +07:00
LtWorf 8807d9159d added specific optimizations in GUI
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@169 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 15:09:57 +07:00
LtWorf 9627500a21 Able to (temporarily) store queries with a name
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@152 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-06 16:35:21 +07:00
LtWorf 185c3f661d stub to save queries
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@151 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-06 16:05:27 +07:00
LtWorf 698517067f moved optimization button into advanced (and hidden by default) box
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@150 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-06 14:36:02 +07:00
LtWorf 195ef42596 added button to undo optimization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@149 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-06 14:10:42 +07:00
LtWorf 23740eea4d added button to optimize
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@148 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-06 13:38:58 +07:00
LtWorf e6e571f97b Insert and delete from GUI are now done on the displayed relation, not on the selected one
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@100 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-08 08:17:24 +07:00
LtWorf be36b2ccd8 splitting into modules is completed and working (hopefully also on macosx)
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@94 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-02 16:29:11 +07:00
LtWorf 31fe0bf9ea splitted into modules
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@93 014f5005-505e-4b48-8d0a-63407b615a7c
2009-02-26 13:18:02 +07:00