Author Topic: [PLUGIN] HK Tools 0.15 (HKIP, HKTS3, HKMIRANDA, HKFB2K)  (Read 3669 times)

lethys

  • Moderator
  • Jr. Member
  • *****
  • Posts: 78
This is a new release of all the previous plugins in one package using a common library for certain function calls.
HK 0.15 (library)
HKIP 0.10
HKTS3 0.11
HKFB2K 0.12
HKMIRANDA 0.15

As dependencies it also includes:
*miranda plugin
*fb2k plugin
*ts3 plugin
*alien lua classes
*sh.exe
*sed.exe

Changelog:
0.15
Code: [Select]
Contrib:
*Added font, 4x6:http://mirtchovski.com/p9/fonts/index.php
TK:
*changed text paths to be in APPDATA which makes it actually work in Vista/7
*new functions: mylength=getscrollbarlength(width); paintbackgroundarea(cr, x, y, width, height, color); writetextincairo(cr, text, line, color, xoffset); paintmultiline(cr, multiline, width, offset); currentposition, tmpwaitfor = scrollbar_backandforth(text, waitfor, length, scrolllength, currentposition, tmpwaitfor); multiline = multiline(text,maxlength)
*disabled: trimmirlog(lastline)
*new options: scrollspeed
*somewhat handles utf8 now, at least displaying it
*replaces checkip.sh with a proper curl function
TKMIRANDA:
*will use multiline by default now
TKIP:
*uses curl now
TKFB2K:
*will scroll back and forth by default
0.14
Code: [Select]
TKMIRANDA:
*oops introduced a showstopper
TK:
*oops introduced a showstopper
*made the paths for the pipes more accessible to configuration
0.13
Code: [Select]
TKMIRANDA:
*refactoring
TK:
*different behavior for getmiractive()
*new functions: getmirrecent(), trimmirlog(lastline)
*refactoring
0.12:
Code: [Select]
TKMIRANDA:
*parse miranda.txt (from msg-export miranda plugin) directly in lua which gives a big speed boost
 (although still causes a "lot" of hard drive access) compared to calling a shell script and allows to
 parse it much more often so messages will appear within ~1 second of receiving
*fixed timing issues, every number under 60 should now really be safe for
'displayfor' (which is now in TK.lua) and messages will actually be displayed for that time now
TK:
*added variables for ts3nickspacer, mirnickspacer, mirmsgspacer, fb2kmsgspacer
*added a few more debug message to announce settings
*added new functions tail,findpattern and string:split
0.11:
Code: [Select]
TK:*changed scrollbar behavior to scroll slower (set by scrollfps, 3 will be somewhat fast, 4 normal, 5 somewhat slower)
*made it possible to set custom spacers for ts3, fb2k and miranda
TKFB2K:
*changed fb2k and miranda accordingly
CONTRIB:
*split hktools actual lcdhost plugins and their dependencies into two zips

0.10:
Code: [Select]
*lots of neat comments in the code
*easy way to change the font and colors for all plugins at once in HK.lua
*general code cleanup

0.01:
Code: [Select]
*initial release
Known issues:
*general hackishness of the code



note: the reason the third line doesn't fill the whole screen is because utf8 characters are encoded into two bytes and lua assumes that they are two characters long, this will be fixed

Todo:
TKMIRANDA:
*receive callbacks directly from miranda and handle them without using the hard drive
TKIP:
*make a request for at checkip.dyndns.org and extract the ip in lua only
TK:
*implement scrollbar as a class
*make sure that lua doesn't screw with utf8 characters (ä, ö, ...)
« Last Edit: 2010-12-31 12:32:23 by lethys »

lethys

  • Moderator
  • Jr. Member
  • *****
  • Posts: 78
Re: [PLUGIN] HK Tools 0.15 (HKIP, HKTS3, HKMIRANDA, HKFB2K)
« Reply #1 on: 2011-01-02 02:48:34 »
A little preview of the next version 0.20 (sadly not a gif):
http://img337.imageshack.us/i/3ja.mp4/

look forward to constantly updated IP, sane utf8 support, centered text, possibly µtorrent class, possibly support for multiple lines from miranda and multiple messages (that are all recent). In the far future (depending on sirreals progress) writing messages using a hotkey to trigger an input line, controlling utorrent using a hotkey.

Along with that will be another rename of the packages, I guess this will be the last one and finally sane -.-
the actual lua scripts for lcdhost will be in hktools-0.20, the direct dependencies of those scripts (without which they cannot function) will be in hktools-dep-0.20 and contrib is scratched for good and in the dep.zip
« Last Edit: 2011-01-02 05:52:23 by lethys »

 

anything