General :  K-Meleon Web Browser Forum
General discussion about K-Meleon. Questions about how to setup it, macro coding, all related to its usage and the project itself, including this website. 
Pages: 1234Next
Current Page: 1 of 4
Experimental build without the XUL engine
Posted by: Dorian
Date: February 14, 2006 05:08PM

I was finally able to make a working build without the xul engine.

Problem I encountered so far:
- I had to hack mozilla source to make the scrollbar work correctly. Therefore javascript which catch mouse event on scrollbar will not work.
- Probably issues with "overflow"

Missing features:
- No visible history
- No autocomplete
- Everything relying on xul smiling smiley
- It uses kprofile currently, but the regular profile component should work too.

For the courageous who want to test :
http://boisso.free.fr/kmeleon/KMeleonNXtest.7z

The k-meleon build included in the package is a tab unicode build, so you may want to change it for another one, especially if you don't have a nt system.

It's too bad that this setting is not officialy supported by mozilla. This build is very fast to start and has a smaller footprint.

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: Drahken
Date: February 14, 2006 05:29PM

I didn't know there -was- such a thing as javascript that reacted to the scrollbar, nor do I see what possible desirable effect such a script could produce.

No autocomplete is a real bummer.
I wonder what (if anything) I actually use that relies on XUL.... (I have no idea what (besides some addons like flash/adblock and such) in KM actually uses XUL.

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: ndebord
Date: February 14, 2006 05:55PM

Drahken,


<< wonder what (if anything) I actually use that relies on XUL...>>


Aggreg8 comes to mind, but I could, if pushed, move to a standalone RSS reader.

N

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: Drahken
Date: February 14, 2006 07:23PM

Nah, I never use RSS. So the XUL is only for extensions type stuff like the blockers and aggreg8?
What about about:config, is that XUL?

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: bst82551
Date: February 15, 2006 03:21AM

I use my Google homepage for RSS. I figure it's a lot easier than firing up another program.

Brian

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: alain aupeix chez wanadoo fr
Date: February 15, 2006 06:54AM

Yes about is xul ...

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: guenter
Date: February 15, 2006 08:09AM

Encouraging and fast test build.

http://home.htp-tel.de/sterntaler/test.html#liste originally made up by Andrew
failed only on:
about:config, about:plugins (=XUL tests)
history
Marquee ( =Xul )
javascript: ( =XUL console )

_

cannot open local files
cannot start under ME here(same problem as with other unicows.dll builds, sigh)
_

would fail with:

open window in IE ( = XUL )

no RSS feed (=XUL) can that work without the rest of the chrome?
(the blockers too?)

maybe - MSIE 7 will have the needed dll? - it includes an RSS feed!
no open window in IE (=XUL) maybe add an other non chrome switch?
( IE 7 is fast also ).

btw: Last night I made test with xulrunner from Songbird - looks like that might work also. i only had difficulties with k-m not finding its menus... had to add them into created profile by hand. OR was that mere chance on one machine only?

If it worked on all machines that would give us small free chrome : )
( free = without extra work )

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: Dorian
Date: February 15, 2006 03:19PM

Implementing about:plugins, about:config and the js console is not the hardest thing to do. But I would prefer to check the viability of this build first. With a static build, the installer would be around 3.5Mb, which is not that bad.

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: Hao Jiang
Date: February 15, 2006 04:16PM

Nice build!! Without XUL, although KM will miss some features, it will be way faster. Thanks. Dorian.

Hao

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: Hao Jiang
Date: February 15, 2006 04:24PM

[Bug]
The unicode character in menu.cfg can't be displayed correctly.

Hao

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: Hao Jiang
Date: February 15, 2006 04:42PM
Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: ksparrow
Date: February 16, 2006 04:19AM

Hao,
noxul, with adblock this is sweet thanks....................Thanks to Dorian

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: aimfiend
Date: February 16, 2006 04:32AM

where is ie favorite plugin?

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: aimfiend
Date: February 16, 2006 04:37AM

Hi

when i finish downloading , the dialog tells me to open the file or just quit, i open it and the dialog is still there, i hope it would disappear as long as i click open, I think IE is like that

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: aimfiend
Date: February 16, 2006 05:44AM

layers mode, open window background, the kemelon got minimized on taskbar

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: guenter
Date: February 16, 2006 06:30AM

We (i) can could try to implement the few XUL things missing with less XUL.

Ideal would be a k-m that can use XUL but would normally run without XUL.

Or better one that can unload XUL after use.
: ) like run thunderbird XUL to have mail - unload its XUL and go surfing without XUL

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: rmn
Date: February 16, 2006 07:31AM

I didn't even know we could get away without XUL. I thought it was very tightly coupled with the rendering engine.

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: ra
Date: February 16, 2006 07:23PM

Wow, so it's really possible.

Runs smooth, but before I do some real life "stress-testing" a quick question:

The k-meleon build included in the package is a tab unicode build, so you may want to change it for another one, especially if you don't have a nt system.

Exchanging the exe and plugins is a "supported" scenario? So I'll try just that. I need my three bookmark plugins and real windows. :-)


- No visible history
- No autocomplete


You mean "for now", don't you? smiling smiley Especially the later thing hurts.

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: ndebord
Date: February 16, 2006 09:13PM

Dorian,

This build crashed on my W98se laptop, using your 1.0b5 executable.

N

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: Dorian
Date: February 16, 2006 09:59PM

@ndebord
Didn't you forget to replace the kplugins too ?

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: ndebord
Date: February 17, 2006 05:19PM

Dorian,

Dorian>>"@ndebord Didn't you forget to replace the kplugins too ?>>

Yes. Now it works fine. I replaced K-Meleon.Exe and Kplugins with your KMSM1.0b5 versions and it all works now. Time to test now.

Tks

N

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: Al cogolic
Date: February 17, 2006 07:26PM

Pardon my french
but what da hell is Thumbs
42.5k of database file hidden in skins
on top of that its a system file, so you cant delete
dont tell me its just bmps database

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: vpowell
Date: February 17, 2006 07:56PM

@ ra
Adding a visible history in this build is easy. At the momment I don't have time to stop and explain each detail, but it should be staightforward to follow the changes in my files below (but you will either have to use the text-viewer that I used or make some more changes). My changes are labeled #-vp
Note1: I used AmiPad.exe, in a folder called "amipad" inside the main "K-MeleonCCFNOXUL" folder, for the default action. Since "amipad\\AmiPad.exe " is not normally part of K-Meleon you will probably have to change this to "notepad.exe " (or download AmiPad, which is both freeware and distributable; BUT if you want to make a download-mirror-site, or include AmiPad in a CD or magazine, or want try and get the source code, you have to email the author, Alessandro).
Note2: In K-MeleonCCFNOXUL in macros.cfg there is an UNUSED XUL-History-macro called "History", and in menus.cfg the "History" sub-menu references a non-existent History-macro called "View" (which has the same name as another submenu; very confusing!).
Note3: In K-MeleonCCFNOXUL there is a reference in the menus to a non-functional Ctrl+H keybinding that is already used for something else (so I commented it out).


In macros.cfg (I added my changes ahead of the unused History entry):
---------------------------

#-vp AmiPad is available at http://www.geocities.com/phtm77
ViewHistText{
menu = View history.txt
exec("amipad\\AmiPad.exe ".$path."history.txt");
}

EditHistText{
menu = Edit history.txt
exec("notepad.exe ".$path."history.txt");
}

History{
menu = History
opennew("chrome://history/content/history.xul");
}

---------------------------


In menus.cfg (I added changes, but didn't remove the non-functional "View History"):
---------------------------

History{
macros(ViewHistText)
macros(EditHistText)
history(Config, Config...)
#-vp note: Ctrl+H toggles statusbar in K-MeleonCCFNOXUL
#-vp history(View, View History\tCtrl+H)
history(View, View History)
#privacy(ClearHistory, Clear All History)
history()
}

---------------------------


In toolbars.cfg of current skin (I commented-out "History(View)" and replaced it):
---------------------------

History {
#-vp History(View)|History
macros(ViewHistText)|History
View history.txt in AmiPad (right-click to Edit history.txt in Notepad)
toolhot.bmp[12]
toolcold.bmp[12]
tooldead.bmp[12]
}

---------------------------

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: bst82551
Date: February 17, 2006 07:57PM

It's a database of all of the thumbnails of all of the images within the folder. You will find it any pretty much any folder that has images. Usually this file is hidden, so either you set your preferences to view hidden files or someone accidentally included their thumbs.db with that skin.

Brian

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: ra
Date: February 18, 2006 04:51PM

The creation of the thumbs.db file can be enabled/disabled in Windows Explorer under tools - folder options - view - [x] do not cache thumbnails.

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: Al c
Date: February 18, 2006 07:21PM

>under tools - folder options - view - [x] do not cache thumbnails.<
Not here, win98 with win95 explorer.
My guess is Dman is codin on nt box with that option enabled, and forgot to delete thumbs before zipping km.

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: johnthenon
Date: February 18, 2006 08:20PM

The size of non-XUL k-meleon - just wow. It's the size of Opera, really.

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: Drahken
Date: February 20, 2006 12:28PM

Al- That's most likely. XP creates those thumbs files by default, and anyone making packages of images from an XP machines will often include that stupid file. (I don't know if they just select the folder and zip everything in it, or if the thumbs file is hidden on their systems so they don't even know that it's there when they're zipping files (XP hides system files by default).) You should be able to right click the file and choose properties, then uncheck the box next to "system file", then click ok and then be able to delete it normally. (You may have to make sure that KM is closed first, in order to avoid a "file is in use" error.)

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: selyb
Date: February 21, 2006 05:49AM

bookmark nicks rely on xul? sad smiley

Options: ReplyQuote
Re: Experimental build without the XUL engine
Posted by: ra
Date: February 21, 2006 10:54PM

Wondered about that, too.

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


K-Meleon forum is powered by Phorum.