I 'm testing the latest 1.5 alpha with the 0.4 lua macros and looks like the lua plugin is not working well with the latest alpha, will cause crash in several circumstances.
As Dorian said, the new 1.5 will have several new api built-in. CreateTAB() and DestryTAB() are implemented. And probably lua macros plugin needs to be updated accroding to those K-Meleon updates.
Rigth now I noticed the NavigateTo() and OnCloseTab() can cause crashes in several cases with the latest 1.5 alpha.
Hao
Edited 1 time(s). Last edit at 08/18/2007 04:25AM by Hao Jiang.
I just recompiled the luamacro plugin 0.4.0 with latest K-MeleonPlugin.h, K-MeleonConst.h. Seems the compatibility problem is fixed. And I added the open_newtab open_backgroundtab into the NavigateTo() function in your code.
I feel odd too. However I was wrong about my previous post. The new compiled version is just a little better but not fixed the problem, It still can ALWAYS give me crash in some cases. I 'm not very sure it's the NavigateTo() function causing this crash but very likely.
Let me know whether you have the latest K-Meleon 1.5a exe or I can send it to you for testing. Thanks.
It finally turned out to be a bug with unicode character in K-Meleon exe (1.5 alpha) and has been fixed by Dorian in the latest alpha already. So don't worry about it.
Let me know whether you have the latest K-Meleon 1.5a exe or I can send it to you for testing.
Sorry. I don't want to be a special person in k-meleon users. When 1.5a is published for users even if it is for testing, I will get it with pleasure.
Thanks.
I guess the official 1.5a will be out in the near future and we won't wait too long for that. AFAIK, the current luamacro plugin works fine with 1.5a so there won't be an urgent need to update the luamacro plugin I think. Thank you for your work.
Dear sirs.
Excuse me,There was quality that I ran out of in a file, but where should have been able to be available?.Concretely5.1.dll file is insufficient.
Will it be to be said to compile it from a source?
Yours sincerely,
@Hao
I don't know why you suggest it. Would you tell me the detail?
PS, I became to see it is better to keep macros (include lua) free for users. It means fundamental functions is implemented in built-in or plugin like history and searchbar. Then I wrote the plugin what has functions "undo latest closed page" and "rewind". It is public on my page.
Thank you for your reply. The reason for this suggestion is:
1. Instead of maintaining 2 plugins, only one needs to be.
2. In the process of using lua macros lately, it turned out I 've been using util plugin a lot. It would be nice to have its function just built-in lua macros plugin instead of doing plugin calls.
3. And I found out lately, I bumped on problems sometime the plugin call from lua macros to util plugins failed after using K-Meleon for a while which confused me a lot. (When testing the lua macros, it 's working fine. It's just only after a while using K-Meleon, the lua macros failed to call the util plugin...)
Thank you. I understood. Perhaps 3rd problem is bug. I'll investigate it.
Well, the lua has many functions provided by the utils plugin. Functions that the utils provides but the luamacro doesn't are "copyfile", "RegRead", "GetOSVer", maybe.
Hi mark307, I'm testing and doing changes in Hao's KMCCF 0.0.8 beta1 and i like change text box in preference panel for this have scrolleables, i say that this text box don't showed all string and you can't scroll the cursor for look the end of string in text box.
For example in Useragent string: GUI.lua file code
I can't scroll cursor for look at the end of string in this 'edit' type text box.
I think that must have a style option (as w32dlg.WS_UNLOCK or similar) for unlock cursor scroll in this controls.
I serach in lua 5.1.1 manual but not found any menthion to use of any windows controls.
Can you help me or indicate a lua manual about use of this windows controls?
A lot of thanks mark307, now work fine!
I'm programmer, but since a long time don't leave me program because they know that i'm very good programmer ;)
Excuse me.
I ask a very ashamed question.
KM said that there is not macros.lua.
Possibly,macros.lua is myself writting?(;´Д`)
In other words is a description method to say that I learn it by myself? (ノД`,)
It's difficult.(;_;)
If there is a site writing the commentary of the way of writing, will you teach it Please?
I know the example macros.lua isn't useful. This is a package for Japanese contains a search function.
search.zip (8K)
This sample needs also kmplus library. A kmplus.dll must be in lua folder.
P.S. Because Japanese character sometimes brings strange view, you shouldn't use them in the forum. 2ch is good to talk by Japanese. (But the luamacro is perhaps disliked in there.)
Do you know how to change the font on caption or labels in the property page created by kmplus?
Especially this would be useful when displaying east asian language.
And here is a screenshot which I am using the kmplus plugin to construct a property page as the preference page for K-Meleon 1.5a in Chinese:
it works smoothly however the font is not as beautiful as expected and I 'm just wondering whether it's possible to change this font particulaly using kmplus.
Thanks,
Hao
Edited 2 time(s). Last edit at 11/14/2007 12:08PM by Hao Jiang.