Commit Graph

139 Commits

Author SHA1 Message Date
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 +00: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 +00: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 +00: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 +00:00
LtWorf
04e3b8e316 added __eq__ method to the tree
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@147 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-01 14:45:31 +00:00
LtWorf
7ecf75efb7 stupid indentation
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@146 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-01 13:50:59 +00:00
LtWorf
52907e67e7 Optimization for rearrangements
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@145 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-01 13:47:54 +00:00
LtWorf
444d3f9987 optimizes over and over until the tree is stabilized
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@144 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-30 18:21:50 +00:00
LtWorf
88efcf0b78 i need to reduce sets, so i need selection pushed down in each case
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@143 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-30 17:41:05 +00:00
LtWorf
723c63641d added optimization to push down selection when sub-expression has union, intersection or subtraction
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@142 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-30 17:39:07 +00:00
LtWorf
b694fdd99d can generate empty nodes
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@141 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-30 17:10:05 +00:00
LtWorf
bc0492ef77 moved the initialization of psyco after the initialization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@140 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 12:14:00 +00:00
LtWorf
a877fd2dcf tries to use python-psyco
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@139 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 12:06:30 +00:00
LtWorf
ac0d6fae85 counting changes on the tree
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@138 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 08:36:28 +00:00
LtWorf
4ba7209964 now handles more than 2 nested selections
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@137 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 07:25:39 +00:00
LtWorf
a4325679cb removed debug prints
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@136 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 21:33:16 +00:00
LtWorf
e898eed426 added 1st optimization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@135 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 21:11:18 +00:00
LtWorf
923ac12588 added module to contain optimizations
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@134 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 20:50:04 +00:00
LtWorf
256cd3e4ca now using isinstance instead of that ugly thing
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@133 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 20:39:10 +00:00
LtWorf
e528a4babf now handles futile nested parenthesis
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@132 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 20:11:25 +00:00
LtWorf
1060e9d275 implemented tree function
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@131 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 18:42:40 +00:00
LtWorf
92b5e55a75 creation of the tree completed
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@130 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 18:40:53 +00:00
LtWorf
0ff9ed22a0 converting tokenized expression into tree
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@129 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 18:21:43 +00:00
LtWorf
169f809988 added comments
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@128 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 17:41:21 +00:00
LtWorf
b8a82e6961 Changed description of debian packaged, copied the one from debian :-)
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@127 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-25 07:28:02 +00:00
LtWorf
94641a28f7 Changed version number
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@126 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-25 07:27:33 +00:00
LtWorf
f8c360414f Now make install also install the .desktop file
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@124 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-08 06:09:36 +00:00
LtWorf
a2b9c11697 Added make install and uninstall
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@123 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-06 17:04:18 +00:00
LtWorf
39a27aef71 Bug: error in update operation, it changed the original tuple, so also other relations using the same tuple would change. Now it copies it
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@122 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-03 19:03:02 +00:00
LtWorf
44e2de218c rollback, the bug is in the update, not in the function
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@121 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-03 18:19:42 +00:00
LtWorf
14a2cbb229 binary functions
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@120 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-01 14:30:19 +00:00
LtWorf
356f4a0f10 stub for binary operations
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@119 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-01 13:40:21 +00:00
LtWorf
45b559be28 completed complexity of unary functions
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@118 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-01 13:37:56 +00:00
LtWorf
e1dec88be6 lowered requested version for dejavu fonts
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@117 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-24 20:22:46 +00:00
LtWorf
d872343481 added some comments
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@116 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-19 13:30:35 +00:00
LtWorf
79058f3871 rename operation evaluated
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@115 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-19 12:56:15 +00:00
LtWorf
720d888c22 fixed error in rename operator, it didn't a full copy of the relation so update on the original relation would modify results of renamed ones
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@114 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-19 12:54:49 +00:00
LtWorf
0d191ab959 inserted complexity for selection
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@113 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-18 09:58:25 +00:00
LtWorf
df1d5c324a added draft of complexity study
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@112 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-18 09:42:48 +00:00
LtWorf
c68804c8aa updated changelog
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@111 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-16 22:19:57 +00:00
LtWorf
f25959e50b added stub for tree converter and removed redoundant and not-working parser
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@110 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-16 18:04:17 +00:00
LtWorf
012607f876 tokenizer workingpython relational/optimizer.py | lesspython relational/optimizer.py | less
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@109 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-16 16:30:41 +00:00
LtWorf
4c03931fe5 added states and capable of parsing relation names and sub-expressions
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@108 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-16 15:48:49 +00:00
LtWorf
bcdf97351e stub of new list-parser
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@107 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-16 08:52:25 +00:00
LtWorf
5a0d52a79e fixed make mac, it wasn't working anymore
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@105 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-08 09:46:29 +00:00
LtWorf
1ec69658c2 Minor fixes in makefile for mac tar generation
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@103 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-08 08:31:39 +00:00
LtWorf
742f6e9192 Thanks to Chris Lamb added
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@102 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-08 08:19:21 +00:00
LtWorf
65cb38aa53 Inserted changes of this version
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@101 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-08 08:19:19 +00: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 +00:00
LtWorf
4a436f14a8 make source_all now leaves intact .svn directories, so it is possible to do svn update having it
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@99 014f5005-505e-4b48-8d0a-63407b615a7c
2009-03-08 07:49:21 +00:00