Salvo 'LtWorf' Tomaselli
cb8a1563c7
Using new field for python version
2015-06-13 19:15:43 +07:00
Salvo 'LtWorf' Tomaselli
923e515535
Fix the version checker for python3
2015-06-13 17:39:42 +07:00
Salvo 'LtWorf' Tomaselli
5552923633
Prepare for version 2.1
2015-06-13 17:34:13 +07:00
Salvo 'LtWorf' Tomaselli
0385478f91
Set encoding in test driver
...
Python3 handles encoding differently, and files are loaded
according to the locale set on the system.
This means that when building on a locale-less chroot,
the tests will always fail because it will try to load utf-8
and encode it as ASCII.
This forces the encoding. The tests are encoded in utf-8 anyway
so any other encoding set by the locale would cause a failure.
2015-06-13 17:24:38 +07:00
Salvo 'LtWorf' Tomaselli
4c41132705
Mark bug as closed
2015-06-13 17:21:43 +07:00
Salvo 'LtWorf' Tomaselli
c49fbe5024
Update pyversion
2015-06-09 16:31:00 +07:00
Salvo 'LtWorf' Tomaselli
60b56fafd0
Patch to build
2015-06-09 16:28:43 +07:00
Salvo 'LtWorf' Tomaselli
f3c13a2fd5
Bumped compat and debhelper
2015-06-09 15:49:08 +07:00
Salvo 'LtWorf' Tomaselli
21d30733c7
Re-generated UI
2015-06-08 01:15:14 +07:00
Salvo 'LtWorf' Tomaselli
ac255e4509
Re-create connections for operators
2015-06-08 01:14:56 +07:00
Salvo 'LtWorf' Tomaselli
ee97a99e7f
Fixed windows setup script
...
Fixed it to actually run the redistributable installation.
Also, remove Dejavu fonts which aren't used any longer.
2015-06-08 01:02:56 +07:00
Salvo 'LtWorf' Tomaselli
86a3580b15
Change relation creator to use new headers
...
Update the relation editor/creator to use the new style headers
2015-06-07 15:54:19 +07:00
Salvo 'LtWorf' Tomaselli
5021f1f8cb
Use the insert() method to load files
...
In this way, checks are performed automatically on every tuple
and code is simplified.
This should make it safer to raise exceptions on files that are
not relations.
2015-06-07 14:03:24 +07:00
Salvo 'LtWorf' Tomaselli
60f0584063
regenerated UI
2015-06-07 13:39:28 +07:00
Salvo 'LtWorf' Tomaselli
0aacdefade
UI restyling
...
Try to use up less space, in case users have smaller screens.
2015-06-07 13:38:50 +07:00
Salvo 'LtWorf' Tomaselli
3060a8562f
Ask for relation name if filename is not valid
...
By default when loading a file, a relation with the same name is
created.
Now, if the filename is not a valid relation name, the user will be
prompted to manually insert a relation name.
De-duplicated code for doing this when a new relation is created.
2015-06-07 13:37:24 +07:00
Salvo 'LtWorf' Tomaselli
54ffbbdc3c
Updated windows instructions
...
to include the 2010 redistributable.
<rant>Windows is several GiB large, but they felt like having to
save space when they had to include a 5MiB library that is used
by everything.</rant>
2015-06-07 09:57:46 +07:00
Salvo 'LtWorf' Tomaselli
0a9bdb12a7
Re generated UI
2015-06-07 01:50:10 +07:00
Salvo 'LtWorf' Tomaselli
f363d4b536
removed title from operators groupbox
2015-06-07 01:49:53 +07:00
Salvo 'LtWorf' Tomaselli
6c44932727
Improve font handling
2015-06-07 01:46:47 +07:00
Salvo 'LtWorf' Tomaselli
83eaf3e57e
Reduce hardcoded size
...
Reduce hardcoded font size.
2015-06-06 18:54:38 +07:00
Salvo 'LtWorf' Tomaselli
2b32e080c9
Dejavu fonts are being used
...
Install them.
2015-06-06 18:52:20 +07:00
Salvo 'LtWorf' Tomaselli
32c6395d40
Improve fonts settings on windows
...
Hardcode a size in the UI. This is not optimal buf for the moment I
can't do better.
Also, use yet another font for the delete buttons.
2015-06-06 18:51:29 +07:00
Salvo 'LtWorf' Tomaselli
0237b6222c
Update windows exe creation
...
Add new instructions on how to create the .exe
2015-06-06 18:18:24 +07:00
Salvo 'LtWorf' Tomaselli
cdbd59bab3
Update UI for header changes
...
Updates the UI to work with the new header changes
2015-06-06 15:27:11 +07:00
Salvo 'LtWorf' Tomaselli
a033cb769a
Make header inherit from tupl
...
Rather than having a header class that contains a list of header,
change it to directly be an immutable tuple.
This simplifies the code because header can now be compared and
indexed like any other tuple.
Code had to be changed all over the place to cope with this new
datatype.
2015-06-06 15:22:11 +07:00
Salvo 'LtWorf' Tomaselli
d754a166a1
Removed duplicated check
2015-06-06 14:17:27 +07:00
Salvo 'LtWorf' Tomaselli
b12ea8d27a
Raise exception for duplicated attrs in projection
...
Rather than ignoring them, raise an exception
2015-06-06 14:15:47 +07:00
Salvo 'LtWorf' Tomaselli
bbc2855cc5
Use list comprehension
2015-06-06 14:12:02 +07:00
Salvo 'LtWorf' Tomaselli
a059afa9ce
Added new tests on joins
2015-06-06 14:06:02 +07:00
Salvo 'LtWorf' Tomaselli
229a83f3ad
Missing import
2015-06-06 13:52:39 +07:00
Salvo 'LtWorf' Tomaselli
01dc9391d1
Adds len() to relation
...
Returns the cardinality
2015-06-05 18:28:44 +07:00
Salvo 'LtWorf' Tomaselli
d05c2e2d3c
Replace intermediate lists with iterators
...
Some more intermediate lists created during joins are now
not created in favour of iterators instead
2015-06-05 18:15:03 +07:00
Salvo 'LtWorf' Tomaselli
f974fc316d
Use intersection method of header
...
Rather than manually implement that with 2 for loops
2015-06-05 18:02:46 +07:00
Salvo 'LtWorf' Tomaselli
c8db7b619c
Replace temp lists with iterators
2015-06-05 17:54:54 +07:00
Salvo 'LtWorf' Tomaselli
f0a9650174
Added iter function
...
Adds __iter__ and __contains__ to relations and headers.
2015-06-05 17:41:09 +07:00
Salvo 'LtWorf' Tomaselli
92adb10bc6
Able to load non .csv files from UI
2015-06-04 22:38:25 +07:00
Salvo 'LtWorf' Tomaselli
cd0e41b8d7
Don't install Dejavu fonts
...
Apparently they don't contain the symbols needed, so
they aren't needed
2015-06-04 22:35:00 +07:00
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