You are not logged in.

#551 2010-08-27 15:10:04

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: jumanji - a web browser

Dunno if anyone asked these before:
1. Does jumanji store its cache somewhere and if yes, where?
2. Is anyone here using some rss feed scripts and if yes, which ones do you recommend?

Offline

#552 2010-08-27 15:13:43

akira86
Member
Registered: 2009-01-16
Posts: 119

Re: jumanji - a web browser

archman-cro wrote:

Dunno if anyone asked these before:
1. Does jumanji store its cache somewhere and if yes, where?
2. Is anyone here using some rss feed scripts and if yes, which ones do you recommend?

1. in the config file :

{"page_cache",             NULL,                      "enable-page-cache",            'b',  0, 1, 0, "Enable page cache"},

So it seams there is a cache. I think it's the build-in cache of webkit .. I heared that it's stored in the RAM.

Offline

#553 2010-08-27 15:32:28

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: jumanji - a web browser

akira86 wrote:

So it seams there is a cache. I think it's the build-in cache of webkit .. I heared that it's stored in the RAM.

Uh, oh... Not good... hmm
I also experience that jumanji/midori are much slower than chromium (which is webkit too?). In particular, it takes double the time to open userscripts.org in midori/jumanji. Chromium seems very fast. Not ranting, btw, just putting my thoughts out.

Last edited by archman-cro (2010-08-27 15:46:05)

Offline

#554 2010-08-27 15:52:57

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: jumanji - a web browser

archman-cro wrote:
akira86 wrote:

So it seams there is a cache. I think it's the build-in cache of webkit .. I heared that it's stored in the RAM.

Uh, oh... Not good... hmm
I also experience that jumanji/midori are much slower than chromium (which is webkit too?). In particular, it takes double the time to open userscripts.org in midori/jumanji. Chromium seems very fast. Not ranting, btw, just putting my thoughts out.

yeah I have noticed that on a few links as well. I haven't compared every site, but chromium does seem to load pages faster on my machine.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#555 2010-08-27 15:56:12

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: jumanji - a web browser

Yes, on my machine, too. But jumanji uses far less memory, so there's the point. And Chromium has that ugly multi PID scheme. It's probably there for a reason, though.

Last edited by archman-cro (2010-08-27 15:56:25)

Offline

#556 2010-08-27 16:36:12

meszka
Member
From: Poznań, Poland
Registered: 2010-07-18
Posts: 7

Re: jumanji - a web browser

First of all, great browser! It looks like it could be a good replacement for Vimperator, which is the main reason I haven't ditched Firefox yet.

I noticed some strange behaviour of the ':' command-line bar.
The first is to do with the command-line history (pressing up). It seems to move deeper into the history everytime you press ":<Up><Esc>" instead of always showing the last command.
Second oddity: the ':' at the beggining of a command can be deleted (e.g. by pressing <Left><Del> or <Ctrl-A><Del>)

One last thing: I tried to add a command for posting bookmarks to delicious.com
Here is my attempt:

In jumanji.c I added a function cmd_delicious:

gboolean
cmd_delicious(int argc, char** argv)
{
  char* uri     = (char*) webkit_web_view_get_uri(GET_CURRENT_TAB());
  char* title   = (char*) webkit_web_view_get_title(GET_CURRENT_TAB());
  char* tags;
  char* output;

  if(argc > 0)
      tags = g_strjoinv(" ", argv);
  else
      tags = "";

  char* command = g_strdup_printf(delicious_command, uri, title, tags);

  g_spawn_command_line_sync(command, &output, NULL, NULL, NULL);

  g_free(command);

  notify(DEFAULT, output);

  return TRUE;
}

In config.h I have:

char* delicious_command = "delicious_post '%s' '%s' '%s'";

And here is my little delicious_post script (with username and password filled in, of course):

#!/bin/bash
USERNAME=
PASSWORD=

result=$(curl \
    $(echo "https://$USERNAME:$PASSWORD@api.del.icio.us/v1/posts/add?&url=$1&description=$2&tags=$3&replace=no" | sed 's/ /%20/g') \
    2>/dev/null)
echo $result | sed 's/.*result code="\([^"]\+\)".*/\1/'

It seems to be working for the most part and I've got a nice command ":delicious tag1 tag2 tag3..." in Jumanji.
The only thing I couldn't get to work was showing the output of my script via notify().
I even tried something like

notify(DEFAULT, "done");

and that didn't work either. I'm guessing maybe these notifications don't work from within cmd_ functions (or I just suck at C, which is more likely big_smile).

Last edited by meszka (2010-08-27 18:34:59)

Offline

#557 2010-08-27 17:11:01

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: jumanji - a web browser

I've created a download script (we'll adapted my uzbl one).

It downloads using wget and displays progress using zenity.  Usage and other comments are in the script source.

download

Offline

#558 2010-08-27 17:55:12

akira86
Member
Registered: 2009-01-16
Posts: 119

Re: jumanji - a web browser

@brisbin33 I didn't test your script .. but can you explain in what it's different from the default one ??

more feature ? better look ? ...

Last edited by akira86 (2010-08-27 17:55:56)

Offline

#559 2010-08-27 19:34:16

akira86
Member
Registered: 2009-01-16
Posts: 119

Re: jumanji - a web browser

archman-cro wrote:

I also experience that jumanji/midori are much slower than chromium (which is webkit too?). In particular, it takes double the time to open userscripts.org in midori/jumanji. Chromium seems very fast. Not ranting, btw, just putting my thoughts out.

from http://www.readwriteweb.com/archives/browser_wars.php :

While Chrome is based on WebKit, Google replaced the SquirrelFish JavaScript engine in it with V8, a brand new engine, which, according to Google, makes better use of modern, multi-core processors than its predecessors.

Maybe that's why you experience some differences with chromium than other webkit browser.

EDIT : try http://v8.googlecode.com/svn/data/bench … 5/run.html
Result with midori and jumanji are realy close while chromium give far better performance...

Last edited by akira86 (2010-08-27 19:40:38)

Offline

#560 2010-08-27 19:47:28

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: jumanji - a web browser

akira86 wrote:

EDIT : try http://v8.googlecode.com/svn/data/bench … 5/run.html
Result with midori and jumanji are realy close while chromium give far better performance...

Still, Jumanji is about 8 times faster than Firefox there..

Btw, is there anyone with some C-knowledge who can cook up a patch to make [enter] follow links in search mode? I use this in Firefox and i think it works much better than hint scripts. smile

Last edited by litemotiv (2010-08-27 20:15:49)


ᶘ ᵒᴥᵒᶅ

Offline

#561 2010-08-27 20:24:45

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: jumanji - a web browser

akira86 wrote:

@brisbin33 I didn't test your script .. but can you explain in what it's different from the default one ??

more feature ? better look ? ...

brisbin33 wrote:

...and displays progress using zenity

does the default one do that now?  It also auto-opens the file using a case statement on mime-type which can be customized.

Offline

#562 2010-08-27 21:06:17

akira86
Member
Registered: 2009-01-16
Posts: 119

Re: jumanji - a web browser

brisbin33 wrote:

displays progress using zenity, auto-opens the file using a case statement on mime-type which can be customized.

Ok .. I wondered if it "just" add a zenity progress bar ...
Auto-open is cool :-)

Offline

#563 2010-08-28 17:32:15

akira86
Member
Registered: 2009-01-16
Posts: 119

Re: jumanji - a web browser

If you experience segfault with tab completion, it's due to incompatibility in the history encoding with former jumanji revision.
Solution :

LC_ALL=C iconv -f ISO-8859 -t UTF-8 history

Offline

#564 2010-08-28 20:09:24

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: jumanji - a web browser

Hmm...jumanji noob here tongue (nice work on the browser by the way). Suddenly, tab completion doesn't work, which seems strange because it worked 10 minutes ago. If I try to use tab completion (Tab/Shift+Tab), the normal dialog showing my history and bookmarks doesn't seem to show up. I have tried reinstalling jumanji as well. Is anyone else having this issue, or am I just stupid?

Offline

#565 2010-08-28 20:13:15

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: jumanji - a web browser

Is there some way to enable continuous scrolling?

Offline

#566 2010-08-28 20:51:20

cf8
Member
From: Russia
Registered: 2008-10-21
Posts: 83

Re: jumanji - a web browser

@itsbrad212
look here - http://pwmt.org/issues/20

Offline

#567 2010-08-28 21:14:29

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: jumanji - a web browser

cf8 wrote:

@itsbrad212
look here - http://pwmt.org/issues/20

Thanks smile I wasn't aware jumanji had it's own bugtracker.

Offline

#568 2010-08-28 22:43:54

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: jumanji - a web browser

itsbrad212 wrote:

Hmm...jumanji noob here tongue (nice work on the browser by the way). Suddenly, tab completion doesn't work, which seems strange because it worked 10 minutes ago. If I try to use tab completion (Tab/Shift+Tab), the normal dialog showing my history and bookmarks doesn't seem to show up. I have tried reinstalling jumanji as well. Is anyone else having this issue, or am I just stupid?

Yes, I have the same issue. reported it a couple pages back. It started happening after my latest git pull. Aug 08 was my previous pull and it worked well in that one.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#569 2010-08-28 22:52:37

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: jumanji - a web browser

Hello,

I want to state that our patch has been applied to webkit, so it is now possible to use the hinting branch (which will be developed further soon) with the webkit-git package.

eyolf wrote:

Is there some way to enable continuous scrolling?

What do you mean? Something like auto-scroll?

Best regards


pwmt.org : programs with movie titles

Offline

#570 2010-08-28 23:05:17

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: jumanji - a web browser

Ooops... wrong thread. I was going to post it in the zathura thread... damn it's confusing with these fancy names of apps with movie titles. smile

Offline

#571 2010-08-28 23:41:59

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: jumanji - a web browser

Inxsible wrote:
itsbrad212 wrote:

Hmm...jumanji noob here tongue (nice work on the browser by the way). Suddenly, tab completion doesn't work, which seems strange because it worked 10 minutes ago. If I try to use tab completion (Tab/Shift+Tab), the normal dialog showing my history and bookmarks doesn't seem to show up. I have tried reinstalling jumanji as well. Is anyone else having this issue, or am I just stupid?

Yes, I have the same issue. reported it a couple pages back. It started happening after my latest git pull. Aug 08 was my previous pull and it worked well in that one.

Thanks! smile After a little hacking, I rolled back to July 22 and that seemed to work fine for me.

Offline

#572 2010-08-29 02:42:41

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: jumanji - a web browser

itsbrad212 wrote:
Inxsible wrote:
itsbrad212 wrote:

Hmm...jumanji noob here tongue (nice work on the browser by the way). Suddenly, tab completion doesn't work, which seems strange because it worked 10 minutes ago. If I try to use tab completion (Tab/Shift+Tab), the normal dialog showing my history and bookmarks doesn't seem to show up. I have tried reinstalling jumanji as well. Is anyone else having this issue, or am I just stupid?

Yes, I have the same issue. reported it a couple pages back. It started happening after my latest git pull. Aug 08 was my previous pull and it worked well in that one.

Thanks! smile After a little hacking, I rolled back to July 22 and that seemed to work fine for me.

just got hit with this when i pulled git two minutes ago... too bad b/c hinting finally works for me! i don't want to roll back...

anyone filed a bug report yet? i can later if not beaten to it.

Offline

#573 2010-08-29 03:12:11

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: jumanji - a web browser

brisbin33 wrote:

anyone filed a bug report yet? i can later if not beaten to it.

cf8 had pointed me towards:
http://pwmt.org/issues/20
smile

Offline

#574 2010-08-29 06:15:57

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: jumanji - a web browser

Hello,

brisbin33 wrote:

just got hit with this when i pulled git two minutes ago... too bad b/c hinting finally works for me! i don't want to roll back...

Since I can not reproduce it (for whatever reason) can one of you run git bisect for me? (If you need help with that just join the irc channel)

Best regards


pwmt.org : programs with movie titles

Offline

#575 2010-08-29 10:45:01

portix
Member
Registered: 2009-01-13
Posts: 757

Re: jumanji - a web browser

litemotiv wrote:

Btw, is there anyone with some C-knowledge who can cook up a patch to make [enter] follow links in search mode? I use this in Firefox and i think it works much better than hint scripts. smile

I think this is not possible in C with the current webkit version, because there is no access to the DOM-document.
It would be possible with javascript or the developmentversion of libwebkit.

Last edited by portix (2010-08-29 10:45:39)

Offline

Board footer

Powered by FluxBB