You are not logged in.

#1 2009-06-10 15:18:52

Eóin
Administrator
From: Ireland
Registered: 2006-08-08
Posts: 473
Website

New Snapshot 0.3.1.8 (Revision 766)

Ok, a new snapshot has been released to SourceForge.net - 0.3.1.8 dev 766

First, and very important, there is a known problem where if UPnP is turned off then Halite can crash (quite frequently) at startup. This is a problem in the underlying libtorrent layer and is being worked on. I was going to wait till that issue were fixed but a recent vulnerability in libtorrent has prompted this earlier release. That vulnerability will be disclosed on cve.mitre, I'll post a link here when that happens for anyone interested in the details.

Anyway to address the UPnP issues that feature is hardcoded always on. I know some will not like this but it is temporary, once the bug is fixed I'll release that correct version ASAP.

Otherwise a new feature is the shutdown scheduler. Feel free to suggest other functions for that feature but note, for reasons already discussed here, a 'shutdown when downloads are finished' or similar option is not planned.

A lot of the messiness with torrent states should now be fixed also, hopefully anyway.

The WiX installer has proper upgrade support meaning that while this time you should still uninstall any previous versions of Halite before installing this snapshot, in future it won't be necessary. Yes such a feature is long overdue but it's only recently that WiX v3 has started to get proper documentation. I probably moved over to it a bit earlier in it's development life than I should have but it's nice to learn new things.

The current libtorrent version is 0.14.4 and apart from the UPnP bug it has proved very stable for me.

Also Windows 7 RC works, but for some reason there is a long delay on starting up. After that everything seems to run normally and with the usual resource usage. This is high priority for me as I've switched one of my two dev machines to Windows 7, it's quite a nice OS I must say.

Thanks goes to Tw@in for all his fantastic work here and of course thanks to all translators with a special mention of khagaroth and TaperHarley for the new Czech and Romanian languages added since the last release smile

Offline

 

#2 2009-06-10 19:16:24

Tuxman
Member
Registered: 2008-01-25
Posts: 264
Website

Re: New Snapshot 0.3.1.8 (Revision 766)

What does "banching" mean?

(I still haven't managed to find an adequate German word for it.)

Last edited by Tuxman (2009-06-10 19:17:08)


Tuxman { beba.emulefuture.de }
Halite's Inofficial German Translator, Signature Stealer, Jolly Little Fellow®

Offline

 

#3 2009-06-11 03:00:56

Tw@in 28
Moderator
Registered: 2007-04-03
Posts: 794

Re: New Snapshot 0.3.1.8 (Revision 766)

Tuxman wrote:

What does "banching" mean?

(I still haven't managed to find an adequate German word for it.)

LOL, this has been subject of a lot of mail I recieved....it's mispelled: "search branching", basically "splitting searches".....and, since the parameter is a number, something on the lines of "splitting searches number" (references on libtorrent pages HERE

Thanks for the new release, Eóin! Grabbing it right now!


Tw@in 28
Halite's Official Italian Translator, Super Moderator®

***PLEASE NOTE: When posting new bugs, check the forum if it's really a new one: if not, avoid double posting. It's also higly advisable if you'd post it in the appropriate "Halite v. x.x.x.xxx" topics in the Troubleshoot area: it helps Eóin track it back, and keeps forums clean. ***

Offline

 

#4 2009-06-11 04:08:35

Eóin
Administrator
From: Ireland
Registered: 2006-08-08
Posts: 473
Website

Re: New Snapshot 0.3.1.8 (Revision 766)

Because of the way I extract the strings, correcting a spelling is picked up as a whole new string and a previous translation is lost if care isn't taken. I will correct all those stupid mistakes, should just set aside time to do it instead of putting it off.

Offline

 

#5 2009-06-11 09:11:06

Tuxman
Member
Registered: 2008-01-25
Posts: 264
Website

Re: New Snapshot 0.3.1.8 (Revision 766)

Well thanks Tw@in. Will be translated this afternoon, I think. smile


Tuxman { beba.emulefuture.de }
Halite's Inofficial German Translator, Signature Stealer, Jolly Little Fellow®

Offline

 

#6 2009-06-11 11:38:20

khagaroth
New member
Registered: 2009-03-09
Posts: 8

Re: New Snapshot 0.3.1.8 (Revision 766)

Speaking about translations, why are you using some custom translation system instead of gettext? It would save you maintenance issues and it will be easier to work with for translators.
Also a tip for the installer, switch CAB compression to LZX instead of the default MSZIP, this will save you about 600kB of size.

Offline

 

#7 2009-06-11 21:22:33

Eóin
Administrator
From: Ireland
Registered: 2006-08-08
Posts: 473
Website

Re: New Snapshot 0.3.1.8 (Revision 766)

Good tip for the installer, the cab compression is crappy alright.

The translation method is basicially method 3 as described on Writing Win32 Multilingual User Interface Applications. I did a lot of investigation and everything I read said this was the way to go. Even MS's own documentation on MUI's said go the resource dll approach if you want users to be able to pick the language themselves instead of being forced to run Halite in the same language as the OS regional settings. Can't find where I read that now, probably would have been a workaround if I looked hard enough.

The bit that seems custom about the setup are the plain text translation files I would think. These are basically all the strings which will end up in a language dependant resource isolated from the development resource file.

I'd never looked at gettext as I wanted a Windows solution, specificially one which integrated with resource files. The big area for improvement is in keeping the plain text translation files in sync with the core resource file. The current scheme works expect for the problem mentioned above. That of course is a big problem but I've seen no quick solution. Maybe gettext has an alternative to correct that issue, one thing the unix guys do very well is text processing. At the time though I was looking for a Windows centric technique, but certainly in my browsing of various (free) libraries and tools I never came across one which even acknowledged this issue never mind propose a solution. I can think of a fix but have to get down to implementing it.

In all honesty I am incredibly open to any suggestions for improvement. Help too is always welcome, it really is just text manipulation. My current automated converter uses a mix of iconv and a ruby script, no C++ at all actually. Any language or tool could in theory be used. My primary goal is to make the job as painless for the translators as possible. It's not there yet unfortunately.

[edit] Something along fuzzy string matching is probably the quickest solution. I'll look into it this weekend.

Offline

 

#8 2009-06-17 01:40:48

facewad5
Member
Registered: 2008-05-21
Posts: 18

Re: New Snapshot 0.3.1.8 (Revision 766)

The first release since 0.3.1.1 that has worked for me big_smile.  So many new features since 0.3.1.1 that I will have to google to find out what the heck they do.

Last edited by facewad5 (2009-06-17 01:43:38)

Offline

 

#9 2009-07-13 07:40:26

ciaran
New member
Registered: 2009-05-04
Posts: 4

Re: New Snapshot 0.3.1.8 (Revision 766)

Tw@in 28 wrote:

LOL, this has been subject of a lot of mail I recieved....it's mispelled

I wasn't sure where to post this, but it sort of makes sense here:
on the Halite page (Binary Notions) it has one of the headings as 'State of developent.' which, I imagine should read 'State of development.' Obviously not a big thing but I thought you'd like a heads up. Thanks for the new snapshot chappies, I'll be downloading it soon.

Offline

 

#10 2009-07-14 21:22:37

hyd
Member
Registered: 2006-12-14
Posts: 24

Re: New Snapshot 0.3.1.8 (Revision 766)

Does the UPnP problem go away with 0.14.5 (i.e. the RC_0_14 branch in svn)?

Offline

 

#11 2009-07-18 12:14:44

Nintendo Maniac 64
Member
Registered: 2008-09-12
Posts: 14
Website

Re: New Snapshot 0.3.1.8 (Revision 766)

I found a bug.  In the file list, if you try to sort by percentage complete, it's go right back to whatever it was sorted by before.

Offline

 

#12 2009-07-18 22:39:47

izmo
New member
Registered: 2009-07-18
Posts: 6

Re: New Snapshot 0.3.1.8 (Revision 766)

i was trying to upgrade from 0.3.1...
I moved all the files and subfolders from C:\Users\Izzy\AppData\Local\VirtualStore\Program Files\Halite to C:\Users\Izzy\AppData\Local\Halite... which seemed to be where the files update xml files were being generated... even tho the "path" registry entry said C:\program files\halite... but the Bittorrent.xml would always regenerate itself with a blank one, even though the halite.xml worked.
So i downgraded to 0.3.1 and bittorrent.xml worked again.

Offline

 

#13 2009-07-19 16:16:05

Tw@in 28
Moderator
Registered: 2007-04-03
Posts: 794

Re: New Snapshot 0.3.1.8 (Revision 766)

izmo wrote:

i was trying to upgrade from 0.3.1...
I moved all the files and subfolders from C:\Users\Izzy\AppData\Local\VirtualStore\Program Files\Halite to C:\Users\Izzy\AppData\Local\Halite... which seemed to be where the files update xml files were being generated... even tho the "path" registry entry said C:\program files\halite... but the Bittorrent.xml would always regenerate itself with a blank one, even though the halite.xml worked.
So i downgraded to 0.3.1 and bittorrent.xml worked again.

AFAIK, trying the 7zipped version might be a good idea, since config files are stored within the main directory. UserData saving is still a bit fuzzy....


Tw@in 28
Halite's Official Italian Translator, Super Moderator®

***PLEASE NOTE: When posting new bugs, check the forum if it's really a new one: if not, avoid double posting. It's also higly advisable if you'd post it in the appropriate "Halite v. x.x.x.xxx" topics in the Troubleshoot area: it helps Eóin track it back, and keeps forums clean. ***

Offline

 

#14 2009-08-09 12:08:05

Tomaso
Member
Registered: 2007-11-16
Posts: 28

Re: New Snapshot 0.3.1.8 (Revision 766)

Eóin wrote:

there is a known problem where if UPnP is turned off then Halite can crash (quite frequently) at startup. This is a problem in the underlying libtorrent layer and is being worked on.

Looks like this problem is fixed in libtorrent v0.14.5, which was released today.

Here's the complete changelog for that release:

* fixed bug when handling malformed webseed urls and an http proxy
* fixed bug when setting unlimited upload or download rates for torrents
* fix to make torrent_status::list_peers more accurate.
* fixed memory leak in disk io thread when not using the cache
* fixed bug in connect candidate counter
* allow 0 upload slots
* fixed bug in rename_file(). The new name would not always be saved in the resume data
* fixed resume data compatibility with 0.13
* fixed rare piece-picker bug
* fixed bug where one allowed-fast message would be sent even when disabled
* fixed race condition in UPnP which could lead to crash
* fixed inversed seed_time ratio logic
* added get_ip_filter() to session

..Hope I'm not breaking any of your forum rules by posting this.. smile

Last edited by Tomaso (2009-08-09 12:11:05)

Offline

 

#15 2009-09-14 17:38:03

Tomaso
Member
Registered: 2007-11-16
Posts: 28

Re: New Snapshot 0.3.1.8 (Revision 766)

Any chance of seeing a new Halite release anytime soon?

Tw@in 28 says: not that I'm aware of. Latest changes to SVN are dated 4-5 september. Stay tuned for more....

Last edited by Tw@in 28 (2009-09-16 03:01:30)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB