Announcements :  K-Meleon Forum
 
Pages: 1234Next
Current Page: 1 of 4
K-Meleon 76 Beta 2
Posted by: Dorian
Date: November 22, 2015 02:14AM

Download 7zip

What's new since beta :
- Reduce cpu usage when minimized
- Fixed -webapp and -profilesDir
- Fixed sessions undo not restoring scroll position
- Fixed kmeleon ask to save password even when set not to
- Fixed gecko eating event (accel and other things not working randomly), may have side effect
- Fixed save as page complete can fail with bad link in a page.
- Fixed xpi installation
- Fixed crash when restoring a session with a badly formatted url
- Fixed open macro function not supporting unicode hostname
- Fixed can't scroll when selecting text with gestures enabled
- Fixed memory leak when downloading favicon
- Added: save as text (For translator, string 62271 added in kmeleon.dll)
- Added: Close empty tab after download

Translators have not much to do since there is no real new features in this release.

EDIT:
Update 1
- Fixed: session may not load.
- Fixed: possible memory corruption when reading $URL
- Added features from gestures2: draw gesture and search command

Update 2
- Removed SSE2 requirement.
- Macro readfile: Add support for UTF8 and UTF16LE BOM
- Fixed setbuttonimg
- Fixed kmpref menu image option
- Added nsICommandLineRunner initialization

EDIT2:
SuperDrag



Edited 2 time(s). Last edit at 12/13/2015 06:50PM by Dorian.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: Zero3K
Date: November 22, 2015 02:42AM

Trying to load a saved session causes it to close with no error being shown. Please fix it soon. Thanks in advance.



Edited 1 time(s). Last edit at 11/22/2015 03:10AM by Zero3K.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: hermes
Date: November 22, 2015 07:58AM

It's awesome smiling smiley and extremely fast!
...
Started to write an extension for simultaneous
saving in txt + html (complete) with auto
renaming if file exists. Thanks again!


However, crash problem when page with

<link rel="shortcut icon" href="/favicon.ico" />

not disappeared. But it tolerantly, because i
a long time used:

user_pref("kmeleon.favicons.show", false);

Found cause of falls described here:
http://kmeleonbrowser.org/forum/read.php?8,135856,136443,page=3#msg-136443
Problem is in macros. As an example: ( GO BUTTON )

Go{
%ifplugin macros
macros(Go_Selected)|_Go
Go to URL. Right-click for more options.
%else
ID_NAV_GO
Go to URL
%endif
toolhot.bmp[16]
toolcold.bmp[16]
}

So it's written in toolbars.cfg (as an example of
classical theme). "Default" theme is no different
in terms of macros call.
...
(for clarity) switch setting:

network.IDN_show_punycode as true.

Now suppose, enter a test request: word "test" as
cyrillic it "тест" and if press go button. Address
bar will look like:

%d1%82%d0%b5%d1%81%d1%82 .

This is work a macros(Go_Selected). If enter a real url
then browser may crash. This effect is also observed when
using macros: OpenURL, OpenURL_Selected... etc.
Sometimes with message appears: "out of memory".

As a first example I found:
масс-эффект.рф
23вебмастер.рф
etc... these are just random examples.

OK. Now do the same but press enter key. And address
bar will look like:

xn--e1aybc

and what is right punycode record. And here work ID_NAV_GO.
And it works! But subject to inclusion

network.IDN_show_punycode as true.

In order to avoid browser crash (with current configuration)
on Cyrillic (or other non standard) domains button code
should be like this:

Go{
ID_NAV_GO|_Go
Go to URL. Right-click for more options.
toolhot.bmp[16]
}

Then and refresh buttons works as they should. But subject
to inclusion network.IDN_show_punycode as true.
Not very convenient but it yield smiling smiley main thing that works!

Surprising but macros(Go_Paste) works as it should unlike
OpenURL, OpenURL_Selected... etc. Reason is in clipboard?

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: rodocop
Date: November 22, 2015 08:32AM

I think the problem is in macros.dll kplugin.

The general problem is that cyrillic addresses couldn't be handled through macros due to freeze ans crash.

Cyrillic address through ID_NAV_GO is being read by kmeleon.exe. Through Go_paste it's taken from system clipboard. But when handled by macros address is supposed to be handled through kplugin (macros.dll).

System, KM exe and kmm-files all are UTF-8 compatible. So I guess macros.dll - isn't.
That's question for Dorian.

hermes,
судя по всему, ты пишешь по-английски через переводчик. Можешь формулировать сложные кейсы в русской ветке, если хочешь. Я их адаптирую. А может, часть проблем прямо там и решим.
P.S. Твой аккаунт на гекковорлде одобрен и ждет твоей активации.
P.P.S. Спасибо за активность и желание разбираться и что-то делать для КМ. Очень не хватает этого в Рунете.



Latest Release KM75.1 Latest dev KM76RC ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum



Edited 2 time(s). Last edit at 11/22/2015 08:44AM by rodocop.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: siria
Date: November 22, 2015 09:05AM

Clueless but just can't resist playing cool smiley
Original:

Go_Paste{
macroinfo=_("Open Clipboard contents as URL");
$URLBAR=getclipboard(); id(ID_NAV_GO);
}

OpenURL_Selected{
openSelected($OpenURL);
}

==> In theory, if Go-Paste works, this workaround should work too? (in compat75.kmm)

OpenURL_Selected{
# ori: openSelected($OpenURL);
$URLBAR=$SelectedText; id(ID_NAV_GO);
}

PS: possibly this too, to open in new tab??

OpenURL_Selected{
# ori: openSelected($OpenURL);
opentab($SelectedText);
}



Edited 2 time(s). Last edit at 11/22/2015 09:16AM by siria.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: rodocop
Date: November 22, 2015 09:35AM

siria,
this works.
But even you first variant DOES open new tab.

Now I think - ID_NAV_RELOAD was used in different 'open' and 'go'-macros for a reason: as using ID_NAV_GO leads to open new tab.

And now I suppose that ID_NAV_RELOAD command could be the root of problem with non-latin addresses. Dorian should check.


Latest Release KM75.1 Latest dev KM76RC ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: siria
Date: November 22, 2015 03:38PM

Yes Dorian sure knows better.

Actually I remembered right after posting the above (as usual tongue sticking out smiley, but didn't want to edit anymore), that putting a text into URLbar and hitting the Go-Button simulates the "Typed URL" method. That means it's taking the user setting for how to open "typed" adresses: in a new or same or BG tab. Which was the reason why I used that URLbar method occasionally in a macro in the past smiling smiley
The "opentab" workaround above only uses a quick and simple, but fixed method.

Dorian did fundamental changes in the macros system in KM75, since then it can use both, either traditional commands starting with "ID_" or new ones without it (probably easier, quicker and/or closer to C++). They are listed at the bottom 1/4 page here:
http://kmeleonbrowser.org/wiki/CommandIds

Commands like "open", "opentab" did exist long since in older versions too, but "openSelected" was among the huge number of newly added ones.
In old KM-versions the handling of user settings for "How" to open selected text was defined in main.kmm, by checking and translating a pref, now it's defined somewhere invisibly in the dll.
Similarly in toolbars.cfg and F5-shortcut "ID_NAV_RELOAD" was replaced with "navReload". Don't know,but perhaps it may work again too with the ID-version.
Have a feeling update-1 is already in the works and will come quickly ;-)



Edited 1 time(s). Last edit at 11/22/2015 03:47PM by siria.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: Dorian
Date: November 22, 2015 05:44PM

Quote
siria
Yes Dorian sure knows better.

I feel like you didn't try the update O_O
It works fine for me.


Go_Selected is one of those macro I forgot to update, not like it changes anything except readability anyways.

Go_Selected{
macroinfo=_("Open the selected text as URL or open URL Bar contents");
if ($SelectedText) openSelected($SelectedText);
else if ($URLBAR==$URL) id("navReload");
else openTyped($URLBAR);
}


Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: siria
Date: November 22, 2015 06:48PM

It's a bit difficult testing russian URLs on offline machine, but trusting that hermes did. Considering the thread and his comment that txt-saving now works (BTW that IS a real new feature, and a great one that was occasionally requested. Have myself missed that since the switch from IE5.5, in long forgotten prehistoric times... :D And that UndoLast now restores the last viewing position is kinda important too... Lots of great updates here!)

Anyway, of course I looked into the kmm's for checking.
toolbars.cfg really uses, as hermes already quoted:
macros(Go_Selected)|_Go
Then looking for "Go_Selected" inside main.kmm it still reads:

Go_Selected{
macroinfo=_("Open the selected text as URL or open URL Bar contents");
$OpenURL=$SelectedText; $OpenURL==""?0:&OpenURL_Selected; $OpenURL=$OpenURL==""?$URLBAR:"";
$OpenURL==""?0:($OpenURL==$URL?id(ID_NAV_RELOAD):&OpenURL_Typed);
}

Then found "OpenURL_Selected" in compat75.kmm:
OpenURL_Selected{
openSelected($OpenURL);
}

km.exe dates from nov-21, so probably not a download prob with cache or something... Old file in macros? While yours is new?

But either way, in the posted beta2-package openSelected seems to be causing the prob, since the $URLBAR-GO workaround seems to fix it for rodocop?



Edited 1 time(s). Last edit at 11/22/2015 06:50PM by siria.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: JamesD
Date: November 22, 2015 11:11PM

Quote
Dorian
- Fixed kmeleon ask to save password even when set not to

Works great now. Many thanks.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: hermes
Date: November 23, 2015 11:49PM

Six crash reports (including additional information):
"Submission suceedded with the number 2079".

https://yadi.sk/d/qT0kQJSzkg56Q

Duplicate ( http://kmeleonbrowser.org/forum/read.php?3,60195,136494,page=4#msg-136494 ).

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: Dorian
Date: November 24, 2015 03:38AM

Update 1

- Fixed: session may not load.
- Fixed: possible memory corruption when reading $URL (hermes report 1)
- Added features from gestures2: draw gesture and command navSearch/ID_NAV_SEARCH (search selected text)

@hermes
Thanks for the reports.
Cyr_address: fixed
favicon_error: did some changes, not sure if that's enough to fix it.
open_file_error: no idea about this one, crash in windows dll, could be because of first bug.



Edited 2 time(s). Last edit at 11/24/2015 03:41AM by Dorian.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: JamesD
Date: November 24, 2015 05:02AM

I could not download the update 1 in the previous post using KM 76 beta2. I finally got it by using KM 76 beta.

The only change that I make to FILE HANDLING is to set 'close the dialog when complete'.



Edited 1 time(s). Last edit at 11/24/2015 05:02AM by JamesD.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: hermes
Date: November 24, 2015 04:03PM

Quote
Dorian
open_file_error: no idea about this one, crash in windows dll, could be because of first bug.

I wrote a small extension for your browser.
If the opportunity or interest here is the link:
(what to press: http://www.pc-user.ru/files/2013/20131018/2.jpg )

https://yadi.sk/d/_Vm_Qknakg58T

Source code here: https://yadi.sk/d/Jm_Hcy7GkgmfE
(sorry for asm)
...
The addition allows you to manipulate the files
like the old Opera browser (Presto engine).

You can open more than one file at a time.
You can even open a whole folder. Click on one file
and Shift + END. Or use CTRL / Shift for to highlight
a group of files.

Install by copying the contents to the root folder
of program.
...
You can call it up by pressing "ALT + O" (by default).
You can change inside macros.

Has a set of filters:
WEB* (*.*HTM*, *.MHT) - MHT? Yes, because in my version as the format provided.
TEXT* (*.TXT, *.CSS, *.JS, *.XML)
MULTiMEDiA* (*.SWF, *.OGG, *.WEBM)
iMAGE* (*.BMP, *.JP*G, *.PNG, *.GiF, *.WEBP) ...
*

Can open the path to the files which cannot be open
with K-MELEON, for example:
C:\TEMP\TEST® FOLDER\ПРИМЕР_ПАПКИ\ТЕСТ_на_ОТКРЫТИЕ\MORE_FOLDER\TEST.HTM
where ® = 0xAE (HEX)
(combination of a special long sequence, nonstandard
characters, spaces and two languages)

In theory it can get to any file that can exist in NTFS.

Blocks running multiple copies. Refuses to work without
K-MELEON. It will be closed if browser closed previously.
Is not hanging in memory until you ask. At first I thought
to add the settings, then changed his mind. I can to recycle
later, if you need or required.



Edited 3 time(s). Last edit at 11/24/2015 04:34PM by hermes.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: kmfan1
Date: November 24, 2015 04:05PM

Disable menu icons and accelerators bug not fixed. Also, is there a way to open background picture in tab instead of window. Many thanks.

Quote
Dorian
Update 1

- Fixed: session may not load.
- Fixed: possible memory corruption when reading $URL (hermes report 1)
- Added features from gestures2: draw gesture and command navSearch/ID_NAV_SEARCH (search selected text)

@hermes
Thanks for the reports.
Cyr_address: fixed
favicon_error: did some changes, not sure if that's enough to fix it.
open_file_error: no idea about this one, crash in windows dll, could be because of first bug.


Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: hermes
Date: November 24, 2015 06:32PM

Quote
Dorian

Update 1

Сhecked... its great! Favicon error are fixed!
File / open works like Vista+ on hard path in file name:
Not opens but does not fall, this is well.
Cyrillic addresses work without errors : )

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: Juanjo
Date: November 24, 2015 07:54PM

Hi.. Thaks for keep alive K-Meleon.. It is fantastic
About :downloads does not work
It will be possible to activate this in K-meleon..
Thanks
Juanjo

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: Juanjo
Date: November 24, 2015 07:56PM

Quote
Juanjo
Hi.. Thaks for keep alive K-Meleon.. It is fantastic
About :downloads does not work
Will it be possible to activate this in K-meleon..?
Thanks
Juanjo


Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: JamesD
Date: November 24, 2015 08:29PM

Quote
kmfan1
Also, is there a way to open background picture in tab instead of window.

I think that may require Dorian's help. In the 'menus.cfg' file the Background Image item in both Frame Properties and Page Properties menus call the Command Name 'viewImage'. This is not changed by windows diversion and I am unsure how to effect a change here.


Frame &Properties{
&Background Image=viewImage
So&urce Code=viewFrameSource
Cache &Information=viewFrameInfo
}
Page &Properties{
&Background Image=viewImage
So&urce Code=viewSource
Cache &Information=viewPageInfo
}


Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: rodocop
Date: November 24, 2015 09:29PM

Great news about new updates from Dorian and our new contributor hermes!
But also I have at least 1 bugreport and 1 wish:

1) The RSS button on 'Mail&News' toolbar does nothing. The corresponding macro 'RSS' in main.kmm seems to be unfinished and forgotten.

The menu item in Tools is driven by JS from XPI-packed Newsfox extension (which JS was added by Dorian while adapting NewsFox for new KM).

We need to fix macro stuff in order to get RSS-button working.

2) It would be great if KM would be able not only handle non-latin addresses right but also show 'mixed' addresses as they should be - not in UTF-decoded way.

Example is non-latin (russian for me) Wiki.

KM shows:
https://ru.wikipedia.org/wiki/%D0%A2%D0%B5%D0%BA%D1%82%D0%BE%D0%BB%D0%BE%D0%B3%D0%B8%D1%8F

where all other modern browsers show:
https://ru.wikipedia.org/wiki/Тектология
and so on...


Latest Release KM75.1 Latest dev KM76RC ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum



Edited 10 time(s). Last edit at 11/24/2015 09:41PM by rodocop.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: rodocop
Date: November 24, 2015 09:36PM

sorry, folks. Some glitches...



Edited 1 time(s). Last edit at 11/24/2015 09:37PM by rodocop.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: JamesD
Date: November 24, 2015 11:48PM

Quote
rodocop
1) The RSS button on 'Mail&News' toolbar does nothing. The corresponding macro 'RSS' in main.kmm seems to be unfinished and forgotten.

The menu item in Tools is driven by JS from XPI-packed Newsfox extension (which JS was added by Dorian while adapting NewsFox for new KM).

We need to fix macro stuff in order to get RSS-button working.

I went all the way back to KM 1.6 beta 2.6 and the code in main.kmm is the same there.
# ----- RSS Button (based on OpenURL)

$RSS="";
RSS{
macroinfo=_("Perform the RSS button action");
macros($RSS);
}

Is this 'NewsFox' avaiable in current KM's?

What does the macro need to do? I assume that the value of $RSS would be the macro needed to open the WHAT? Is it a URL or something else entirely?

As you can see from my questions, I have never used a RSS system. The button does not even appear on my personal skins.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: rodocop
Date: November 25, 2015 12:04AM

Quote
JamesD
As you can see from my questions, I have never used a RSS system.

Me too.

But as I can see, in the 1.6-1.7 (and earlier) the variable $RSS was defined in newsfox.kmm what is deprecated now.


Latest Release KM75.1 Latest dev KM76RC ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: hermes
Date: November 25, 2015 12:37AM

Quote
rodocop

2) It would be great if KM would be able not only handle non-latin addresses right but also show 'mixed' addresses as they should be - not in UTF-decoded way.

Example is non-latin (russian for me) Wiki.

KM shows:
https://ru.wikipedia.org/wiki/%D0%A2%D0%B5%D0%BA%D1%82%D0%BE%D0%BB%D0%BE%D0%B3%D0%B8%D1%8F

where all other modern browsers show:
https://ru.wikipedia.org/wiki/Тектология
and so on...

Maybe this a result that setting network.IDN_show_punycode
no longer works as before. If change to:
( network.IDN_show_punycode; true ) and if you use GO_BUTTON
adress in the address bar remains static despite on the movement
to URLs (on page below). If you use this an example of rodocop:

https://ru.wikipedia.org/wiki/Тектология

and copy / paste it to the address bar, then press GO_BUTTON.
Next, choose the link on page, the address will not change.

...
However, comparing with the fall of the browser and UTF-8
encoded URL, this is a problem of cosmetic nature*.

--
*In my humble opinion

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: guenter
Date: November 25, 2015 01:27AM

The rodocop problem cyrillic wikipedia and related problems exist since way back to 1.x. times. I checked with very old K-Meleon versions. What is shown if

https://ru.wikipedia.org/wiki/Тектология

is inserted depends what way or button to get there I use. Enter to get there or reaload shows different text. No idea about the reasons.

There are other gliches close to this. We currently have a XP SP3 machine in our household where You can switch from German to Greek keyboard scheme. Search cannot use keyboard input properly and other things that always worked work at the German only machines. IMHO here are also Microsoft owed glitches at work.

---

Another thing is. Firefox extension/addon use seems generally broken. One of the effected addons is our build in RSS extension. At least that is since 75.1 on my machine. I skipped 75 and still use mostly 74 where all still works for me.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: Dorian
Date: November 25, 2015 02:09AM

Quote
kmfan1
Disable menu icons and accelerators bug not fixed.

You need to refresh my memory smiling smiley

Quote
kmfan1
Also, is there a way to open background picture in tab instead of window. Many thanks.

I'll fix it someway.

Quote
Juanjo
About :downloads does not work
Juanjo

Works in english. Need locale update
(I've updated the locale for 38.0, but probably has changed since)

Quote
rodocop
2) It would be great if KM would be able not only handle non-latin addresses right but also show 'mixed' addresses as they should be - not in UTF-decoded way.

I thought so too, but when I looked at how firefox is doing it, I closed the browser and went to do something else. (eeeww my english grammar is failing me)

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: rodocop
Date: November 25, 2015 03:00AM

Quote
guenter
Another thing is. Firefox extension/addon use seems generally broken. One of the effected addons is our build in RSS extension. At least that is since 75.1 on my machine. I skipped 75 and still use mostly 74 where all still works for me.

By default the pref kmeleon.install_firefox_extension isn't here in all official KM-builds.

But this pref is strictly needed not only to install FF-addons but also to have them working in KM.


Latest Release KM75.1 Latest dev KM76RC ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: JamesD
Date: November 25, 2015 04:39AM

rodocop

The pref "kmeleon.install_firefox_extension" is not in KM 76 beta 2. My memory is bad, but was there some conflict if this pref is true and running an old KM extension?

If I add the pref set to true, will the FF addons site at least download the code for the addon? I tried to look at this reader.
https://addons.mozilla.org/en-US/firefox/addon/simple-rss-reader-srr/

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: JamesD
Date: November 25, 2015 05:14AM

I got the code for Simple RSS reader. The trick is to go to the site with js turned off. Then you can download instead of install.

If this one is simple, then I would hate to see a complex reader. The number of files is overwhelming. I have no idea of which is the entry point. That is needed in order to make a macro.

If I could make a macro, then the name of the macro would be set as the value of the variable $RSS. At least, I think so.

Options: ReplyQuote
Re: K-Meleon 76 Beta 2
Posted by: siria
Date: November 25, 2015 05:39AM

RSS: half a year ago someone asked about it in the german thread.
At the time I figured out this:

Open main.kmm and replace around line 730:
macros($RSS);
with
opentab("chrome://newsfox/content/newsfox.xul");

Just tested with brandnew beta and that links still opens newsfox.
Couldn't check offline if it really works, but hope so.
Anyway it's just a quick workaround, because obviously the $RSS variable is meant to open the users normal RSS tool, not a hardcoded newsfox. And yes, this part seems to have been forgotten somewhere along the way.

Options: ReplyQuote
Pages: 1234Next
Current Page: 1 of 4


K-Meleon forum is powered by Phorum.