Jump to content
Ketarin forum

andreone

Members
  • Posts

    122
  • Joined

  • Last visited

Posts posted by andreone

  1. The warnings are "normal". They only indicate that a variable could be not declared, and this is harmless.

     

    If you fail to launch the exe, this is because you must have System.Data.SQLite.DLL in it's directory (or in the gac, but this is not relevant here).

    The dll is in the Assemblies folder of the project, and usually automatically copied to the output directory by the build process.

  2. Can I make Ketarin update a program only when the 1st or 2nd split of version number changes?

     

    Let's say that the version number currently is "1.15.27" and the next update I want is on "1.16.nn" not before.

    I want it to work so that I won't need to download an update at "1.15.28", "1.15.29" ... etc.

     

    I found something at http://ketarin.canneverbe.com/forum/viewtopic.php?id=83

    and tried to do it with Split and Trimend but couldn't get it working right.

     

    Is it possible and how would I do it?

    You can use a regex to capture only the part you're interested in.

    Something like (\d+\.\d+) will capture 1.15 from 1.15.27

  3. Indeed the startup is still laggy.

    So I retested with my build of yesterday and found it faster. The difference is that I used SharpDevelop to debug. I also found the exe is bigger (667Ko vs 630Ko). Weird, isn't it? I thought SharpDevelop use msbuild from the SDK but I was wrong, obviously.

    I can send you my exe and my database if you want to test.

  4. Slower compared to 1.0.9? I don't think that there is something new in this regard. Feel free to send me your database so I can check. It shouldn't be that slow.

     

    And I don't think that I can fix the selection issue before I can actually reproduce that. Hopefully andreone can find the source of the problem.

     

    Hello, I think I found the culprit of the selection issue: it's the ObjectListView sort function that forces the redraw of the view (groups are destroyed and rebuilt).

    Commenting the line 234 in MainForm.cs removes the problem:

    olvJobs.Sort();

    Should the sort only be called when the sorted column is the last updated time?

    Or a global option?

    I don't know.

     

    I also experienced the speed issue.

    After searching a bit but finding nothing, I tried the latest SqlLite assembly (1.0.65.0), just to see. This solved the problem. The window is shown almost immediately, whereas with version 1.0.58.0, I have the time to read "no application has been added yet".

    Time to upgrade ;)

  5. However, I have this issue all the time.

    Maybe it's an OS issue? Which is yours?

    I doubt that. It happens on Vista Home SP2 FR and on XP SP2 FR.

    Maybe the FR is in cause :)

    However, it's really not a big issue, just a bit annoying. I'll try to get the latest sources and do a little debugging session today or tomorrow. I'll let you know.

  6. - error window doesnt pop-up now (i got 2 errors ann no pop-up in the end)
    I can't reproduce this one either.

     

    - after checking for update Ketarin now jumps to the beggining of list (this nags a lot...)
    However, I have this issue all the time.

    I just open Ketarin, scroll down a little, pick up a job and select "Update". When the update is completed, the list seems to be cleared and refilled.

  7. Maybe I'm misunderstanding your issue, but Ketarin already create directories that you specified in the settings of the job (first tab, the edit box at the bottom), so why do you want to do something yourself that Ketarin already does?

     

    Other than that, using the {file} variable which contains the path to the downloaded file before actually having downloaded it has very bad odds to work ;)

     

    And to create a directory from the command line, Windows has the built-in command mkdir "{target}"

  8. Changes:

    ...

    !Fixed a possible deadlock when executing commands

    Just wanted to indicate something non obvious about this fix: this means that pre/post download commands with very long output won't block Ketarin anymore.

    In other word, we don't need anymore to use start "" mycommand or mycommand > nul or anything else as a workaround.

    Simply use any command normally.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.