Commit Graph

608 Commits (fb643bd26d005a0a15e90a32166ae97ab5eb31b3)
 

Author SHA1 Message Date
Salvo 'LtWorf' Tomaselli 116ddb94f3 Updated windows installed link to website
Instead of pointing the lnk file in windows to the github page,
point to the homepage (which is still on github, but more user friendly).
2015-06-04 22:34:17 +07:00
Salvo 'LtWorf' Tomaselli 6b66b48819 Regenerated ui 2015-06-04 22:31:35 +07:00
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 f76c1bf3e2 Changed version in input.py
Changed the version in the input.py to create relational.exe
2015-06-04 21:51:20 +07:00
Salvo 'LtWorf' Tomaselli 21feffaa74 Update windows README
Update instructions on how to create a setup.exe for windows.
2015-06-04 21:50:09 +07:00
Salvo 'LtWorf' Tomaselli c0132ef9df New changelog entries 2015-06-02 15:40:11 +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 f2bde1b6bd Removed unmaintained parallel module
The module is unmaintained and in any case, does not limit the
amount of parallel jobs.
2015-06-02 14:58:20 +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 8dbdb2955f No need to use encode 2015-06-01 13:05:39 +07:00
Salvo 'LtWorf' Tomaselli 4443732429 Updated manpages 2015-06-01 12:54:52 +07:00
Salvo 'LtWorf' Tomaselli 1793637418 Use constants from parser to replace symbols 2015-06-01 12:39:09 +07:00
Salvo 'LtWorf' Tomaselli c9d462e484 Debian build updated 2015-06-01 11:50:29 +07:00
Salvo 'LtWorf' Tomaselli db529f9ba4 Qt5 moved QWebView in a different module 2015-06-01 10:59:17 +07:00
Salvo 'LtWorf' Tomaselli a965cff14a Removed unused module 2015-06-01 10:32:15 +07:00
Salvo 'LtWorf' Tomaselli 8d3113c365 Modified python setup for python3 2015-06-01 10:30:01 +07:00
Salvo 'LtWorf' Tomaselli 9d9a7d8b56 More changing to 2.0 2015-06-01 09:33:47 +07:00
Salvo 'LtWorf' Tomaselli b4b23b8913 Replace version for windows setup 2015-06-01 09:31:22 +07:00
Salvo 'LtWorf' Tomaselli de405480b5 Moved casting function in rstring
rstring now has an autocast() function that returns the automatic casting
for that value.
The casting is cached so is really performed only once, at most, during
the lifetime of the object.
2015-06-01 09:12:22 +07:00
Salvo 'LtWorf' Tomaselli e4158a3685 Refactored rename header
Now will directly raise an exception, requiring one less if
2015-06-01 08:58:54 +07:00
Salvo 'LtWorf' Tomaselli 1f7983309b Simplified getAttributesId() 2015-06-01 08:55:11 +07:00
Salvo 'LtWorf' Tomaselli 496a5c19d1 Raise an exception when trying to insert n-uples with the wrong cardinality 2015-06-01 08:49:40 +07:00
Salvo 'LtWorf' Tomaselli 3fca4edd15 Refactory of rearrange 2015-06-01 08:48:52 +07:00
Salvo 'LtWorf' Tomaselli 766a3a6527 Simplified delete method 2015-06-01 08:45:29 +07:00
Salvo 'LtWorf' Tomaselli be6400c270 Mark both relations as read-only after a rename
Only one relation was marked as read-only after a rename, which means
that changes to the original relation would affect the other one
as well.
2015-06-01 08:43:41 +07:00
Salvo 'LtWorf' Tomaselli c345c1e521 Added new changes in CHANGELOG 2015-06-01 08:42:40 +07:00
Salvo 'LtWorf' Tomaselli d60b5f7983 Print compiled expressions for multiline queries 2015-06-01 07:34:21 +07:00
Salvo 'LtWorf' Tomaselli acdd4629a6 Python3 change, replace file() with open() 2015-06-01 07:32:53 +07:00
Salvo 'LtWorf' Tomaselli 4af2230ced Use rstrings anywhere
Since rstrings are faster and provide some caching features,
keep the same rstring objects from the beginning rather than
continuously casting strings.
2015-06-01 07:31:19 +07:00
Salvo 'LtWorf' Tomaselli 19cff69718 Cache type information on strings
During a selection operation, each value is matched against a regular
expression and then casting might be performed, depending on the results.

This commit caches the result of the match so that a value is not matched
multiple times in its lifetime.
2015-06-01 00:45:49 +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 bf13fe0c4a Remove manual font setting
It is a workaround that should not be necessary.

However, maybe it still is, on windows.
2015-06-01 00:02:32 +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 2341f93cf6 Updated README's examples
Also put more in evidence the link to the proper website
2015-05-31 19:12:10 +07:00
Salvo 'LtWorf' Tomaselli eda84914af Generate UI files 2015-05-31 19:04:45 +07:00
Salvo 'LtWorf' Tomaselli 282d9fdd17 Bump version 2015-05-31 19:04:06 +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 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 +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 0a562ff603 Check for duplicated attributes
Fails to work if attributes are duplicated, raising an appropriate
exception.
2015-02-23 14:17:50 +07:00
Salvo 'LtWorf' Tomaselli 512aafd946 Style 2015-02-19 14:06:11 +07:00