витязь в тигровом халате ([info]fyysik) wrote in [info]bezilla,
@ 2006-05-25 14:57:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
First half-native build.
Old tqh's code for ArgvRecieved and RefsReceived revitalized.
There were problems with that, as nsEventQueue is gone for now.
But it still needs proxy to open window from main thread.

First build is at bebits. Even file drop is supported now!


How to make SeaMonkey BeOS-"native" - it means - open external links, work with Tracker's OpenWith etc.
This is first experimental version which supports those features.

1)After unpacking, first time run seamonkey script from Terminal, as usually.

2)Open /boot/home/config/boot/UserSetupEnvironment
and add there those lines:
export MOZILLA_FIVE_HOME=%A/.
export LIBRARY_PATH=%A/.:%A/components:$LIBRARY_PATH
export LD_LIBRARY_PATH=$LIBPATH:%A/plugins
export ADDON_PATH=%A/.:%A/components:$ADDON_PATH

3) Restart computer. When done, you can start directly from seamonkey-bin or from symlink to it

4) If you wish to make SeaMonkey default handler for certain file type, look into seamonkey folder - there are set of scripts, like:
"Use SeaMonkey for FILE url's"
Run those you prefer.

NB! You should have ONLY copy of seamonkey-bin installed in your system!
If you have several instances, you should set handler for certain type manually via FileTypes in Preferences, using full-path to this version of seamonkey-bin instaed signature.



(Post a new comment)


[info]tigerdog
2006-05-25 03:13 pm UTC (link)
Is the native app code available in patch form? Or is it already in the tree (work from bug 338454 or some other?)

(Reply to this)

environment
(Anonymous)
2006-05-25 04:40 pm UTC (link)
Couldn't those variables be exported in main()?
And the "components" directory be either renamed or symlinked from lib/add-ons?

(Reply to this) (Thread)

Re: environment
[info]fyysik
2006-05-25 05:12 pm UTC (link)
looks like each newcomer gets that idea:)
No.
1) If libs are moved, no need to do anything in main().
2)Changes in main don't affect anything if libs and add-ons aren't on respective paths BEFORE main is invoked.
3)Moving libs is possible, but troublesome due workaround for BeOS add-on limit we are using. Those cannot be moved in unified way all together.
4)For end-user it is much more simpler to copy/paste 3 lines in text file than tinkering with ~100 components moving according not-so-trivial scheme

(Reply to this) (Parent)(Thread)

Re: environment
[info]fyysik
2006-05-25 05:33 pm UTC (link)
5)and security libs in %A/. cannot be moved now - SSL/HTTPS stops working

(Reply to this) (Parent)

Nice!
[info]kokimare
2006-05-25 05:25 pm UTC (link)
Hi,

Playing a bit with the test build, and I think I found an issue with Open With and drop to open.

The target file will only open if SM is already running; if not, Open With and drop to open will just open SM in the home page specified in Preferences.

Anyway, nice progress! Bezilla keeps getting better!

(Reply to this) (Thread)

Re: Nice!
[info]fyysik
2006-05-25 05:35 pm UTC (link)
kokimare, i think you didn't set default handlers, or certain fail has it's own preffered handler, like it happened with my BeBook link.
I raped code and myself 6 hours to set it work, until noticed, that individial handler (Net+) was set just for that file

(Reply to this) (Parent)(Thread)

Re: Nice!
[info]franxico
2006-05-25 05:43 pm UTC (link)
I have the same problem here. Html files are set to open with SM. With SM closed, Double click works but Open with no.

(Reply to this) (Parent)(Thread)

Re: Nice!
[info]fyysik
2006-05-25 05:50 pm UTC (link)
wish to know what is different, here, because it works.
How did you set handlers? with scripts included or manually with FileTypes, pointing to seamonkey-bin on certain path?

(Reply to this) (Parent)

Re: Nice!
[info]fyysik
2006-05-25 05:55 pm UTC (link)
http://community.livejournal.com/bezilla/196481.html?replyto=1087873

(Reply to this) (Parent)

Re: Nice!
[info]fyysik
2006-05-25 06:48 pm UTC (link)
Franxico, if you have somewhere BeOS-BONE, can you look if you have same issues with that?

(Reply to this) (Parent)

Re: Nice!
[info]kokimare
2006-05-25 05:46 pm UTC (link)
fyysik,

I did set SM as the preferred app for all html/url file types (I just checked again just in case).

For testing purposes, I picked a local html file and set its preferred app to SM; still the same problem. If SM is not running, Open With will not open the file, but the homepage instead; if SM is already running, then Open With works fine.

(Reply to this) (Parent)(Thread)

Re: Nice!
[info]fyysik
2006-05-25 05:54 pm UTC (link)
open about:config
find there browser.tabs.loadOnNewTab and change that to 0
same for browser.windows.*.*

(Reply to this) (Parent)(Thread)

Re: Nice!
[info]kokimare
2006-05-25 06:00 pm UTC (link)
browser.tabs.loadOnNewTab was already set to "0".
Changed browser.windows.*.* was "1", so changed that to "0"

Closed and restarted, but obtained same results.

(Reply to this) (Parent)(Thread)

Re: Nice!
[info]fyysik
2006-05-25 06:08 pm UTC (link)
look also at group of other flags beginning with
browser.startup

there are lot of those, but maybe some helps :(

(Reply to this) (Parent)

idg.se
[info]franxico
2006-05-25 06:52 pm UTC (link)
Just tested the site with Opera 9 beta 2 and Firefox 1.5.0.3 with a Duron 700, 384MB, WinXPSP2. With Opera i had no problems (even with cpu ~25%), however with FF the site is very slow (cpu ~90%), but still faster than SM in Zeta. With IE the cpu is almost idle :P

(Reply to this) (Thread)

Re: idg.se
[info]fyysik
2006-05-25 07:53 pm UTC (link)
good to report this issue as general (not beOS only) and mozilla bugzilla

(Reply to this) (Parent)(Thread)

Re: idg.se
[info]fyysik
2006-05-25 07:56 pm UTC (link)
to Mozilla's bugzilla, I meant

(Reply to this) (Parent)(Thread)

Re: idg.se
[info]franxico
2006-05-26 04:44 pm UTC (link)
Done! :)

(Reply to this) (Parent)

All Your Bookmarks Are Belong to Net+
(Anonymous)
2006-05-26 06:18 pm UTC (link)
(Pardon the pun.)

As you probably know, every single NetPositive Bookmark (those created with Alt-B, rather than drag&dropped from the "bookmark icon thing" - they are not created equal) have the BEOS:PREF_APP attribute set. Settings the URL handler is ineffective by itself, until you've removed that attribute from each and every Net+ Bookmark.

I think this line should do the trick:
query '(name=*)&&(BEOS:TYPE=application/x-vnd.Be-bookmark)' | xargs -iBOOKMARKFILE rmattr BEOS:PREF_APP BOOKMARKFILE

//jonas.kirilla

(Reply to this)

fixed
[info]franxico
2006-05-28 09:02 am UTC (link)
Just to let you know, the idg.se bug was fixed and a new build by fyysik is available at Bebits. :)

(Reply to this)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…