aMule Forum
English => aMule Help => Topic started by: Marsjanin on January 29, 2009, 06:37:20 PM
-
Hello.
I just compiled the newest aMule 2.2.3 on my Ubuntu 8.10 to make myself sure, that there's no missed updates, that fix the bugs, that I want to wrote on a forum about. I had previously 2.2.2 version from Ubuntu repository.
Well... The main for me bug is not fixed: aMule still can't load IPFILTER file that begins (or ever contains?) lines with comments (that begins with a #hash). So, the well-known IPFILTER from emule-mods.de is incompatible with aMule. I just go wrote same thing in some place in a forum now.
And... \o/ What a great move. :/ Some good functionality disaperared now. Let me explain, what it was:
Old aMule remembered (within a session - better that than nothing) in what order I clicked columns to sort a files.
So, when I clicked first on filename, then on progress bar, the result was - first, the files that had biggest amount of downloaded data, then, if them has the same result there (commonly all the paused on 0% ones) - ALPHABETICALLY.
Another example: click on filemane, progress bar, then sources. First the ones with greatest number of sources, then, if some (again: paused on 0% ones in most cases) has the same src number, sorted by amount of DL-ed data, then alphabetically.
I usually sort the files after launch of aMule like that:
Filename ↑ , Sources ↓ , Priority ↑ , Status ↑ , Progress ↓
and I had it sorted in my way...
Now i got all sorted reversed-alphabetically (Z to A) because of (i think) the arrow in Progress (last clicked) column is down.
Previously, the file I wait for, but there's actually NO sources, I got just under the dowloading ones.
Now I got it somwhere alphabetically sorted.
Is that bug or feature - or a compiling mistake (there was no errors during ./configure)?
-
aMule still can't load IPFILTER file that begins (or ever contains?) lines with comments (that begins with a #hash).
Hash has nothing to do with it. Problem are some non-printable characters in the comment that screw up the file type detection and don't belong there in the first place. Please complain with the guy who makes the list.
And... \o/ What a great move. :/ Some good functionality disaperared now.
If you're trying to convince us to do something for you, you are doing a lousy job. :P
Old aMule remembered (within a session - better that than nothing) in what order I clicked columns to sort a files.
If it really behaved that way it was purely accidental. And it's pretty useless anyway.
-
I don't agree that it's useless, and I have my doubts about it being a coincidence - I heard Xaignar at some point discussing a "sort stack". But, it might just be that things sorted by the criteria "A" and then "B" will mean that the comparison between items X and Y by criteria A resulting in XY is unaffected once the criteria B is applied, because they are equal for that criteria. If X==Y by B, but X>Y by A, both ->A->B-> and ->B->A-> will transitively reach the same sorting point, XY.
... am I not at my peak usefulness point today? :D
-
:o
(checking commit mails)
:(
Nope, you can top that. ;)
</end dev joke>
But, it might just be that things sorted by the criteria "A" and then "B" will mean that the comparison between items X and Y by criteria A resulting in XY is unaffected once the criteria B is applied, because they are equal for that criteria.
We only provide a comparison, the sort itself is done in wx. And the order of equal elements after the sort depends on the sort algorithm - it could stay equal, or be totally mixed up. So behaviour might rather depend on wx version than on aMule. Don't know if anything was changed there.
-
Actually Stu, if you remember http://www.amule.org/amule/index.php?topic=16394.msg86814#msg86814 (Broken link for regular users, sorry), wxWidgets actually uses qsort with our function.
-
I do remember, and Quicksort is not a stable search algorithm (http://en.wikipedia.org/wiki/Sorting_algorithm#Classification).
What I didn't research is if wx has been using qsort forever, or if the now-gone "feature" might be related to a 2.2.2 build with an older wx version using a different (and stable) search.
-
Well, in first words - I didn't meant I want some extra features just for me; just though *if* that was a bug or accidental mistake in that part of code, I wanted to highlight a problem. Well, unfortunately You said that's no aMule's part of code, so there's no way to fix it by aMule programmers.
Well, but what about the unprintable characters in IP list? Is there no way to fix it in another version on aMule? That ipfilter is very popular and it seems to work properly in other apps (i guess here mainly eMule and its mods), so author may not want to change anything in next versions. Now it reminds me a famous "begin " problem in Outlook Express. :(
-
Hello, it's me again.
I just noticed the columns in window "shared files" works in old way, i.e. they "remember" the history of sorting... Strange for me.
-
I heard Xaignar at some point discussing a "sort stack".
It's mostly there in the code, but I don't think it's fully operational.
We only provide a comparison, the sort itself is done in wx.
The comparison routine was originally designed that two different list entries were never equal, whatever search criteria you chose.
-
Hello, it's me again.
I just noticed the columns in window "shared files" works in old way, i.e. they "remember" the history of sorting... Strange for me.
I can confirm this. Sorting on the "Shared Files" window works as expected. Also, the "Uploads" and the "On Queue" lists also seem to be sorting well too.
It's only the download list that isn't sorting the downloads as it should (i.e., it doesn't "remember the history of sorting"). Couldn't you use the same "good" sorting function for all lists?
P.S.- I just noticed a small issue that may not be related to this, but when sorting by client on the "On Queue" or "Uploads" lists, the lists are only sorted by the client name and the version seems to be ignored. The attached screenshots show what I mean.
This last issue is not very important to me, but I think that these little bugs end up spoiling a consistent feel a regular user would expect from a good program like aMule. :)
Thanks,
Pitxyoki
<edit>I forgot the attachements :-X</edit>
-
OK, I'm seeing clear now. The functionality was broken by - tadah - me in 2.2.3 (only for the download list control). :-[
But it was broken for a reason - see here (http://forum.amule.org/index.php?topic=15457.0).
I'll see if I can get both issues working together.
-
Fixed in 9517, so it will behave in 2.2.4 like in 2.2.2.
-
Nice to hear. :)
-
This is working well now, but can't we keep the sorting used from session to session?
Currently (2.2.6), after a restart, aMule(gui) remembers the last sorted column, but it seems to always use the file name for secondary sorting. When I start aMule, I'd like to see its columns sorted like I left them when I closed it.
-
As far as I can tell there is no "secondary sorting" in aMule. I am using 2.2.6 too and it seems to remember the sorted columns correctly.
Btw. is this by any means related to: http://bugs.amule.org/view.php?id=1088 ?
-
The listcontrols are undergoing heavy rework at the moment anyway, so it makes not much sense to examine this now.
-
As far as I can tell there is no "secondary sorting" in aMule. I am using 2.2.6 too and it seems to remember the sorted columns correctly.
Huh? On my 2.2.6, I can sort the download list first by download progress and then by status. :o
After a restart it remembers to sort by status, but the secondary sort is by name.
Btw. is this by any means related to: http://bugs.amule.org/view.php?id=1088 ?
The screenshot on that bug shows that the columns are not sorted though they have a "V" or a "^" sign on them. That's not what I see.
Also, notice that I only use amulegui.
By the way, I didn't know there was a bug tracker... Should we keep filing bugs here or there?
Stu: I was reviewing the bugs I reported here and that I follow, and updated their status to what I see now. Work on them whenever you want. :)
-
As far as I can tell there is no "secondary sorting" in aMule. I am using 2.2.6 too and it seems to remember the sorted columns correctly.
Huh? On my 2.2.6, I can sort the download list first by download progress and then by status. :o
After a restart it remembers to sort by status, but the secondary sort is by name.
There is a secondary search, but I don't think there is code do remember it, yes. As I said - this will have to be reexamined after The Big Change.
Also, notice that I only use amulegui.
Shouldn't make a difference.
By the way, I didn't know there was a bug tracker... Should we keep filing bugs here or there?
There are different opinions (we are no Borg collective). If you ask me: here.
-
As far as I can tell there is no "secondary sorting" in aMule. I am using 2.2.6 too and it seems to remember the sorted columns correctly.
Huh? On my 2.2.6, I can sort the download list first by download progress and then by status. :o
After a restart it remembers to sort by status, but the secondary sort is by name.
Please tell me how you do this, because I have no idea how to do it. If I click any column it sort the list by that and nothing more.
-
Transfer window: sort by name, then by status. All with same status are still sorted by name.
Then sort by size, then by status. All with same status are still sorted by size. :)