Re: K-Meleon portable "empty folder bug" fixed
Posted by: JamesD
Date: December 24, 2008 03:54AM

@ desga2

I have not used the portable version. I installed standard KM to the root of the memory stick. Speed is relative. On the hard drive KM start to homepage is 2 seconds with empty cache. On the stick with no cache allowed it is 50 seconds. I am using your dll on the stick so no KM folder created.

Re: K-Meleon portable "empty folder bug" fixed
Posted by: gvgerman
Date: December 24, 2008 05:15AM

@ JamesD
My K-M on Kingston DataTraveler USB, XP, Intel(R) Pentium(R) 4 CPU 2.80GHz, start-up from click to home page is about 7 seconds.

Re: K-Meleon portable "empty folder bug" fixed
Posted by: gvgerman
Date: December 24, 2008 05:40AM

@ desga2,

Quote
desga2
Do someone know if Thunderbird portable use xpcom_core.dll file and if this generate a empty Mozilla folder in APPDATA folder?

Portableapps version contains regular TB program; TB program uses uses xpcom_core.dll

TB Mozilla program, using the -profile "path" command line argument and the latest 2.++ version of the TB program found at Mozilla, loads two folders into AppData: 1) Mozilla and 2) Thunderbird .

TB "portable" creates the same two folders in AppData when the program is opened. When the program is closed, the folders are deleted.

Rgds,

Re: K-Meleon portable "empty folder bug" fixed
Posted by: gvgerman
Date: December 26, 2008 03:13AM

@ desga2

I'm also finding that Windows keeps a great deal of info in the \windows\prefetch folder regardless of the program's portability. Info is available therein for many programs that leave nothing else on the hard drive when run from an USB stick.

Rgds,

Re: K-Meleon portable "empty folder bug" fixed
Posted by: desga2
Date: December 26, 2008 03:27AM

You can disable prefetch in K-Meleon:
Preferences (F2) -> Network/Performance -> Link Prefetching

K-Meleon in Spanish

Re: K-Meleon portable "empty folder bug" fixed
Posted by: desga2
Date: December 26, 2008 08:32PM
Re: K-Meleon portable "empty folder bug" fixed
Posted by: JamesD
Date: January 03, 2009 11:35PM

There is an article of interest here http://blogs.zdnet.com/security/?p=2346&tag=nl.rSINGLE for this thread. We work so hard to keep KM from leaving an empty folder, but if flash is used there may be traces left behind.

Re: K-Meleon portable "empty folder bug" fixed
Posted by: desga2
Date: January 04, 2009 01:01AM

You have two options:
A) Use Flashblock enabled.
B) Use Settings Manager to configure Flash cache to zero or disable it.

K-Meleon in Spanish



Edited 1 time(s). Last edit at 01/04/2009 01:01AM by desga2.

Re: K-Meleon portable "empty folder bug" fixed
Posted by: dreamz
Date: January 13, 2009 06:04AM

i just tested the dll with k-meleonccf me 0.09 final and i get the following error:

---------------------------
Kmeleon
---------------------------
Could not initialize XPCOM. Perhaps the GRE
is not installed or could not be found?
---------------------------
OK   
---------------------------

i'm guessing the dll included with the ccf version is quite different from the standard k-meleon one.

Re: K-Meleon portable "empty folder bug" fixed
Posted by: guenter
Date: January 13, 2009 06:23AM

Quote
dreamz
i'm guessing the dll included with the ccf version is quite different from the standard k-meleon one.

Absolut. K-Meleon 1.5.x uses GRE 1.8.x. Current CCF use GRE 1.9.x.

1.9.x standard (pre alpha) for Linux etc. has been made available by Fred.
What to alter in xpcom to make a real good portables was published by desga2.

thx for reading my post.

Re: K-Meleon portable "empty folder bug" fixed
Posted by: dreamz
Date: January 13, 2009 06:46AM

i've hacked the ccf version, if anyone's interested.



Edited 1 time(s). Last edit at 01/13/2009 08:11AM by dreamz.

Re: K-Meleon portable "empty folder bug" fixed
Posted by: guenter
Date: January 13, 2009 02:07PM

Can You attach the hacked xpcom_core.dll of GRE 1.9.x to Your post?
Thx.

Re: K-Meleon portable "empty folder bug" fixed
Posted by: dreamz
Date: January 13, 2009 11:02PM

i didn't see any attachment function on this site, so i've uploaded it here: http://www.megaupload.com/?d=AIR6QHA9

let me know if there are any problems with it. it works on my xp sp3 system.

Re: K-Meleon portable "empty folder bug" fixed
Posted by: SoerenB
Date: August 22, 2010 11:45PM

Hi,

I'm going to refresh desga2's "portability" tutorial one of these days.

For that I tried dreamz' file on my KM 1.6.0.a4, but that did not work.

So I hacked the xpcom_core.dll from KM 1.6.0.a4 (had timestamp 2010-04-28) by nuking one of the two "Mozilla" words.

It Seems to work here - can anybody confirm that? Can anybody check for other behavior not fully compatible with portability? (- 'cause I'm not REALLY sure, can't guess what the other "Mozilla" word does, and don't use a portable installation myself ..).

The file can be downloaded from xthost.

Cheers
SoerenB

No more own machines, because of addiction.
Don't know when I'll be back to normal ...

Re: K-Meleon portable "empty folder bug" fixed
Posted by: guenter
Date: August 24, 2010 04:24AM

For PPL that have in Moz build environment:

If the xpcom_core.dll btw. the GRE is compiled with:

ac_add_options --with-user-appdir=""
# diff in .mozconfig from ac_add_options --with-user-appdir="k-meleon".
# This resolves bug: create an %apdata% profile when not needed


p.s. currently it is compiled by default with:

ac_add_options --with-user-appdir="K-Meleon"

Maybe K-Meleon project owners should consider to change the default build option.



Edited 1 time(s). Last edit at 08/24/2010 04:30AM by guenter.

Re: K-Meleon portable "empty folder bug" fixed
Posted by: SoerenB
Date: September 05, 2010 01:24AM

Hi. Ressurecting one long dead entry:

Quote

Posted by: JamesD
Date: November 06, 2008 08:34PM

I just put KM 1.5.1 on a USB stick. (...)

Does not seem to be a way to use favorites from the stick.

Well, I fought with this one for days. I had seen relative paths for an own, KM, favorites folder, working on one machine, from a RAMdisk (R:\).

Well, when copying the self same installation to R:\ on the other machine: no favorites!

Today I found out, by making those R:'s NetworkShares to be accessed from both machines, and fiddling - not just for minutes:

I had always started the "buggy" KM from a shortcut that DID show the complete path ("R:\KM\k-meleon.exe -new") in the "Target" box, BUT:
the "Execute in" (or is it "Execute from" in English Windows?) was blank.

That was it. Period.

Relative Favs ARE shown when doubleclicking the exe.
Relative Favs ARE shown when KM is started from Start -> Run
Relative Favs ARE shown when KM is started doubleclicking a startKM.bat file in the KMroot folder (containing nothing but k-meleon.exe -new)
...and so on.
They are simply NOT shown, if - ONLY from a Shortcut - KM is NOT informed TWICE about it's path - I suspect, this is a Windows security thing.

To get Relative Favs, I suggest the following:
1) Open your profile folder
2) Exit K-Meleon
3) In your profile folder, create a new folder ("favs")
4) Copy all the subfolders & Favorites you want to have portable from your local Favorites folder in there.
5) Edit prefs.js to have a line:
user_pref("kmeleon.plugins.favorites.directory", "Profiles\\ProfileFolderName\\favs\\");
(of course, you backed up prefs.js before opening, and you searched if that line existed before, in which case you just changed the Value. If not, you can just add the line at the end)
(mind the syntax: NO heading dbleBckSlashes, but trailing ones. They must be double in the text file, appearing single in the GUI dialogs).

6) there's 3 more lines starting with
kmeleon.plugins.favorites.
and dealing with folders - edit those, too. for a start, I'd give the same value to all of them. Change, if you like, after first test. If it doesnt work first time, check the quotes,slashes,semicolons ..)

Cheers
SoerenB

No more own machines, because of addiction.
Don't know when I'll be back to normal ...



Edited 3 time(s). Last edit at 09/05/2010 01:30AM by SoerenB.

New KMmakePortableBundle
Posted by: SoerenB
Date: September 09, 2010 03:38AM

Hi,

I made a bundle of files, folders, and a HowTo to ease creating a portable K-Meleon from your local installation & profile.
It can be downloaded from
drop.io/SoerenB
(370 kB, HowTo included as .rtf. The HowTo as pdf is a separate download of 93 kB - same content, slightly better looks).

I spent quite some time on it, that's why I couldn't possibly tell whether it's any good. Waiting for feedback:

Any legal statements I should add? Link to some GPL because of the 2 xpcom_core.dll's?

English native speakers: any review welcome!

K-Meleon noobs: any information in there misleading you?

Users of KM 1.5.0-1.5.3: does it really work there? If not: what version & timestamp on your original xpcom_core.dll?

Cheers
SoerenB

No more own machines, because of addiction.
Don't know when I'll be back to normal ...



Edited 1 time(s). Last edit at 09/09/2010 03:39AM by SoerenB.

Re: New KMmakePortableBundle
Posted by: desga2
Date: September 10, 2010 01:34AM

I think XPCOM is MPL (as all Mozilla product)
http://en.wikipedia.org/wiki/Mozilla_Public_License
But I'm not sure, GPL is also possible:
http://www.ibm.com/developerworks/webservices/library/co-xpcom.html

In file propierties you can found this in Version tab:
Quote
xpcom_core
License: MPL 1.1/GPL 2.0/LGPL 2.1

K-Meleon in Spanish



Edited 3 time(s). Last edit at 09/10/2010 01:44AM by desga2.

Re: K-Meleon portable "empty folder bug" fixed
Posted by: desga2
Date: September 19, 2010 02:42AM

Quote
SoerenB
So I hacked the xpcom_core.dll from KM 1.6.0.a4 (had timestamp 2010-04-28) by nuking one of the two "Mozilla" words.

It Seems to work here - can anybody confirm that? Can anybody check for other behavior not fully compatible with portability? (- 'cause I'm not REALLY sure, can't guess what the other "Mozilla" word does, and don't use a portable installation myself ..).

@ SoerenB:

Your file seems OK, the correct "Mozilla" word is the second, ever the word to reset is the word before to "Profiles", this can be "K-Meleon" in K-Meleon 1.5.x version and the old 1.1.x, or "Mozilla" in Seamonkey xpcom_core.dll files and K-Meleon 1.6.x, as you can look in my "Unofficial Gecko Updater" from Seamonkey used to update the KM 1.5.x Gecko engine.

K-Meleon in Spanish



Edited 2 time(s). Last edit at 09/19/2010 02:45AM by desga2.

K-Meleon forum is powered by Phorum.