How to upgrade microb-engine's Javascript engine to TraceMonkey?

2009-06-29 Thread Zhihai Wang
Dear All,

Is it possible to simply upgrade microb-engine's javascript engine to
TraceMonkey for N800 with Diablo firmware?
It is said that the new javascript engine is much faster than the older one,
could anybody give me some advice to do this job?

-- 
Best Regards,

Zhihai Wang
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Tracker in Fremantle

2009-06-29 Thread Cornelius Hald
Hi,

does anybody know if Tracker in Fremantle will be used only for storing
metadata for applications like media players or if there also will be
some kind of generic search application?
Does it make sense to write a tracker indexer for my application[1] or
will tracker only be used for media files?

Also, would Data / Meta Tracker be the right product / component in
bugzilla?

Thanks!
Conny

[1] Conboy - Note taking app

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: microbeal doesn't compile

2009-06-29 Thread Zhihai Wang
1. build environment: sbox-CHINOOK_ARMEL
2. checkout https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine,
since this package doesn't compile by "dpkg-buildpackage -rfakeroot -uc -b
-d", I decompressed the tarball
microb-engine/microb-engine_20090207.orig.tar.gz to
microb-engine/microb-engine/build-tree/mozilla and remove following lines
from debian/rule:
345 if [ -f $(CURDIR)/client.mk ]; then\
346   rm -f $(builddir) && ln -s $(CURDIR) $(builddir);\
347 else\
348   if [ -d $(builddir) ]; then \
349 if [ -d $(builddir)/.hg ]; then \
350   hg pull -R $(builddir) && hg update -R $(builddir) -C;
\
351 else \
352   hg archive -r upstream/$(version) -t files
$(builddir); \
353 fi \
354   else \
355 hg clone -r upstream/$(version) $(CURDIR) $(builddir) &&
hg update -C -R $(builddir); \
356 #   hg archive -r upstream/$(version) -t files $(builddir);
\
357   fi;\
358 fi
and compile succefully. Install deb and dev deb packages built out(no dbg
deb installed).
3. checkout
https://garage.maemo.org/svn/browser/browser-ui/trunk/browser-eal, build and
install deb and dev deb.
4. checkout https://garage.maemo.org/svn/browser/mozilla/trunk/microb-l10n,
build and install deb and dev deb.
5. checkout
https://garage.maemo.org/svn/browser/mozilla/trunk/libgtkembedmoz, build and
install deb and dev deb.
6. checkout https://garage.maemo.org/svn/browser/mozilla/trunk/microb-eal,
and it will complain the error I discribed before: gwebbus.h not found

I think gwebbus.h is supposed to live in browser-eal, but I failed to find
it there.
Hope you can reproduce this bug following my steps.

On Mon, Jun 29, 2009 at 7:06 PM, Andre Klapper wrote:

> Am Montag, den 29.06.2009, 18:15 +0800 schrieb Zhihai Wang:
> > When I try to compile microb eal from
> > https://garage.maemo.org/svn/browser/mozilla/trunk/microb-eal,
> > it complains no gwebbus.h found.
>
> Please provide an exact step-by-step procedure in order to reproduce.
> Assuming this is in Scratchbox: What target do you try to compile for?
>
> andre
> --
> Andre Klapper (maemo.org bugmaster)
>
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>



-- 
Best Regards,

Zhihai Wang
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: HildonColorButton / HildonColorChooserDialog in Fremantle

2009-06-29 Thread Cornelius Hald
On Mon, 2009-06-29 at 12:40 +0200, Claudio Saavedra wrote:
> El lun, 29-06-2009 a las 12:36 +0200, Cornelius Hald escribió:
> > Thanks for the answer API. I'll try how that looks / works for me.
> > 
> > @Claudio: I think it would be nice to have a color picker widget
> > directly in Hildon, but I'm not sure how many people/applications really
> > need it. Still, of course it would be great if someone would create one.
> > Only it's very unlikely that it's me :/ I would like to, but I just
> > don't have the time...
> 
> Not trying to be pushy, but aren't you going to code something similar
> anyway?

To be honest, it could also be that I'll just drop the support for color
selection or that I'll continue using HildonColorButton. This feature is
not very important for me and it can only be seen in a settings
dialog... So nothing is decided yet.

But even if I'm going to code something, it makes a huge difference to
produce something that works for me and something that works for
everyone else. You probably know that very well ;)

We will see on one of those Sundays where I'll have to make the decision
between laying in the park or sitting at home coding... 

Conny



___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: calendar-backend

2009-06-29 Thread Benoît HERVIER
Hum ... and a python one ?

2009/6/13 Sebastian 'CrashandDie' Lauwers :
> It is very easy to write C++ code that is usable by C compilers.
> Considering there is apparently a notable demand for a C interface,
> pushing for an enhancement request early in the project may be an
> interesting thing to do. The code change is relatively minimal if
> architectured correctly and would be beneficial to quite a few people
> apparently.
>
> I'm not teaching any experienced coder anything new here, and I don't
> mean to preach to the choir, but for future reference:
>
> #ifdef __cplusplus
>  extern "C"
> #endif
> int foobar(int i);
>
> http://developers.sun.com/solaris/articles/mixing.html#cpp_from_c
>
>
> On 11/06/2009, Hubert Figuiere  wrote:
>> On 06/11/2009 05:01 PM, Jamie Bennett wrote:
>>> Forgive my ignorance but is it 10x longer to compile or 10x increment
>>> in speed? Compilation speed is a matter of grabbing two coffee's
>>> instead of one, run time speed is a matter of giving up completely.
>>
>> C code compiled by g++ isn't slower or faster. It should be the same.
>> (I'm talking runtime speed here)
>> Just because there seems to be another myth being entertained.
>>
>> Hub
>> ___
>> maemo-developers mailing list
>> maemo-developers@maemo.org
>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>
>
> --
> Sent from my mobile device
>
> question = ( to ) ? be : ! be;
>      -- Wm. Shakespeare
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>



-- 
Benoît HERVIER - http://khertan.net/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: microbeal doesn't compile

2009-06-29 Thread Andre Klapper
Am Montag, den 29.06.2009, 18:15 +0800 schrieb Zhihai Wang:
> When I try to compile microb eal from
> https://garage.maemo.org/svn/browser/mozilla/trunk/microb-eal,
> it complains no gwebbus.h found.

Please provide an exact step-by-step procedure in order to reproduce.
Assuming this is in Scratchbox: What target do you try to compile for?

andre
-- 
Andre Klapper (maemo.org bugmaster)

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: HildonColorButton / HildonColorChooserDialog in Fremantle

2009-06-29 Thread Claudio Saavedra
El lun, 29-06-2009 a las 12:36 +0200, Cornelius Hald escribió:
> Thanks for the answer API. I'll try how that looks / works for me.
> 
> @Claudio: I think it would be nice to have a color picker widget
> directly in Hildon, but I'm not sure how many people/applications really
> need it. Still, of course it would be great if someone would create one.
> Only it's very unlikely that it's me :/ I would like to, but I just
> don't have the time...

Not trying to be pushy, but aren't you going to code something similar
anyway?

Claudio



___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: HildonColorButton / HildonColorChooserDialog in Fremantle

2009-06-29 Thread Cornelius Hald
Thanks for the answer API. I'll try how that looks / works for me.

@Claudio: I think it would be nice to have a color picker widget
directly in Hildon, but I'm not sure how many people/applications really
need it. Still, of course it would be great if someone would create one.
Only it's very unlikely that it's me :/ I would like to, but I just
don't have the time...

Conny

On Mon, 2009-06-29 at 09:30 +0200, API wrote:
> From: Cornelius Hald 
> 
> > Hi,
> > 
> > HildonColorButton and HildonColorChooserDialog are both depreciated in
> > Fremantle. The documentation doesn't tell what to use instead. This
> > bug[1] mentions the following:
> > "[...]A HildonPickerButton/HildonTouchSelector variant could be used
> > here.[...]"
> 
> Yes, this is true, the idea is use the HildonTouchSelector (or a pannable area
> +treeviews for custom requirements) to choose elements from a list.
> 
> In the end, choose a color should be the same, with the difference that you
> will only have a discrete number of color to choose from.
> 
> > Could someone elaborate how choosing a color should look like in
> > Fremantle?
> 
> Basically it should be a list with all the colors, and if you want to avoid 
> use
> only the name, and extra cell renderer to show the color. Visually it should
> be similar to the hildon-touch-selector-example.c (at the hildon repository,
> examples directory), but instead of the stock icons, the colors.
> 
> ===
> API (apinhe...@igalia.com)

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


microbeal doesn't compile

2009-06-29 Thread Zhihai Wang
Hi,

When I try to compile microb eal from
https://garage.maemo.org/svn/browser/mozilla/trunk/microb-eal,
it complains no gwebbus.h found.

In file included from ../../../src/gecko/nsTouchInteractListener.h:53,
 from ../../../src/gecko/nsTouchInteractListener.cpp:30:
../../../include/gmozillaengine.h:28:21: gwebbus.h: No such file or
directory

It seems that this file is missing from browser eal, would anyone help to
add this file into svn?

-- 
Best Regards,

Zhihai Wang
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: RE:to port openGL to N810

2009-06-29 Thread Andre Klapper
Am Montag, den 29.06.2009, 15:23 +0530 schrieb Lokesh B:

> Hi,
> >i am trying to port openGL for N810 internet tablet it is possible or
> not
> >if possible give some information to port openGL in n810 

You asked this question two days ago and you received an answer.

Please stop wasting my time by asking it again.

andre
-- 
Andre Klapper (maemo.org bugmaster)

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: RE:N810 internet tablet

2009-06-29 Thread Andre Klapper
Am Montag, den 29.06.2009, 15:01 +0530 schrieb Lokesh B:
> FYI,
> in 
> /etc/apt/sources.list.d
> hidon-application-manager.list

If you want to receive help you should answer the questions that you
have been asked. Otherwise it is impossible to help you and people will
ignore you because this wastes too much time.

My last question to you was:
What is the first line in the textfile 
/etc/apt/sources.list.d/hildon-application-manager.list ?


andre
-- 
Andre Klapper (maemo.org bugmaster)

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE:to port openGL to N810

2009-06-29 Thread Lokesh B
 Hi,
>i am trying to port openGL for N810 internet tablet it is possible or not
>if possible give some information to port openGL in n810
-- 
Regards
Lokesh
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: about x-server on maemo

2009-06-29 Thread daniel wilms
Hi,

you might run into those problems because Diablo has an OMAP2420 processor, 
which has an ARM1136 core. This means that anything (might be something in the 
X-Server) which is ARM specific is optimized for the newer ARM. You could try 
to rebuild the X-Server from the sources. But then is the question if the 
Diablo SDK is the right choice for it. Maybe another toolchain could be better. 
If you want to use that, you should consider to use at least other options for 
the CPU target.

Cheers Daniel
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE:N810 internet tablet

2009-06-29 Thread Lokesh B
FYI,in
/etc/apt/sources.list.d
hidon-application-manager.list

Regards
Lokesh
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: HildonColorButton / HildonColorChooserDialog in Fremantle

2009-06-29 Thread Claudio Saavedra
El lun, 29-06-2009 a las 09:30 +0200, API escribió:
> From: Cornelius Hald 
> 
> > Hi,
> > 
> > HildonColorButton and HildonColorChooserDialog are both depreciated in
> > Fremantle. The documentation doesn't tell what to use instead. This
> > bug[1] mentions the following:
> > "[...]A HildonPickerButton/HildonTouchSelector variant could be used
> > here.[...]"
> 
> Yes, this is true, the idea is use the HildonTouchSelector (or a pannable area
> +treeviews for custom requirements) to choose elements from a list.
> 
> In the end, choose a color should be the same, with the difference that you
> will only have a discrete number of color to choose from.
> 
> > Could someone elaborate how choosing a color should look like in
> > Fremantle?
> 
> Basically it should be a list with all the colors, and if you want to avoid 
> use
> only the name, and extra cell renderer to show the color. Visually it should
> be similar to the hildon-touch-selector-example.c (at the hildon repository,
> examples directory), but instead of the stock icons, the colors.

If someone wants to come up with such an implementation, I'd encourage
him/her to file a bug about this in bugs.maemo.org and we can discuss it
in detail, review it, and finally push it to the hildon git tree.

Claudio

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE:N810 internet tablet

2009-06-29 Thread Lokesh B
FYI,
>Firstly i installed rootsh and python to become root
>nd by giving command sudo gainroot i become root
>after this i gave command *apt-get -u update*
>it took some time for updating
>after updating i tried to install some applications
>for example *apt-get install vlc*
**
>but it is telling E:Line 1 too long (max 1024)
> And after this i opened  application manager it says operation failed
>Totally its not allowing me to install any applications

>so, pls help me to overcome this problem

Regards
Lokesh
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Pause/Resume page loading

2009-06-29 Thread Zhihai Wang
Hi Daniel,

If you open some large pages which might take some time(say about 30~60
seconds), and you drag the scrollbar of the page during the page loading
period,
you will experience very slow system response.

The main reason might be the CPU is busy downloading data and rendering. If
we could pause page loading during user interaction and resume loading after
user interaction, user experience will be greatly improved!

I'm not sure whether you are clear with my requirement now.

On Mon, Jun 29, 2009 at 4:50 PM, daniel wilms wrote:

> Hi Zhihai,
>
> sorry, but could you please specify a bit more detailed what are actually
> trying to do and what you want to reach? This information is a bit too brief
> ;)
>
> Cheers Daniel
>
> >
> > Dear All,
> >
> > Could I pause browser page loading if user interaction happens(such as
> > dragging scrollbar) and resume loading after user stopped interaction?
> >
> > --
> > Best Regards,
> >
> > Zhihai Wang
> >
> >
> >
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>



-- 
Best Regards,

Zhihai Wang
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: microb engine doesn't compile

2009-06-29 Thread Zhihai Wang
solved by manually decompress tarball to build-tree/mozilla and remove
counterpart from debian/rule

On Fri, Jun 26, 2009 at 11:07 AM, Zhihai Wang  wrote:

> Hi,
> I checked out the latest engine source code from
> https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engineand
>  find out the last modified date is 2009-03-28.
> Then I tried dpkg-buildpackage -d -rfakeroot -uc -b in sbox-CHINOOK_ARMEL,
> it doesn't compile.
> Is the svn migrated, or something is wrong with my environment?
>
> dpkg-buildpackage -d -rfakeroot -uc -b
> dpkg-buildpackage: source package is microb-engine
> dpkg-buildpackage: source version is 20090207-6
> dpkg-buildpackage: source changed by Oleg Romashin <
> oleg.romas...@nokia.com>
> dpkg-buildpackage: host architecture armel
> dpkg-buildpackage: source version without epoch 20090207-6
>  fakeroot debian/rules clean
> rm -f /home/user/microb-engine/microb-engine/stampdir/patch
> Unapplying patches...nothing to do.
> dh_testdir
> dh_testroot
> rm -f build-stamp configure-stamp unpack-stamp patch-stamp
> #Removing object_tree
> rm -rf build-tree/obj-*
> #Removing unpacked sources
> rm -rf build-tree/mozilla/patches
> rm -rf build-tree/mozilla/.pc
> rm -f debian/shlibs.local
> #chmod -f a-x debian/patches/*.diff
> rm -rf /home/user/microb-engine/microb-engine/stampdir
> rm -rf /home/user/microb-engine/microb-engine/patches
> rm -f /home/user/microb-engine/microb-engine/.pc
> rm -f /home/user/microb-engine/microb-engine/debian/patches/series
> rm -rf /home/user/microb-engine/microb-engine/tarballs
> # uuencode source files
> for str1 in "*.png" "*.gif" "*.tar.gz"; do \
> for str in `find ./debian -name "$str1"`;do \
> if [ -s $str ]; then \
>   uuencode $str $str > $str.uu; rm $str; \
> fi; \
> done; \
> done
> chmod a-x debian/resources/tools/*
> dh_clean
>  debian/rules build
> mkdir -p build-tree
> mkdir -p /home/user/microb-engine/microb-engine/stampdir/log
> #Small hack for old X11R6 directory
> # uudecode source files
> for str in `find ./debian -name "*.uu"`;do \
> if [ -s $str ]; then \
>   uudecode -o $(echo $str | sed 's/\.uu//g') $str; rm $str; \
> fi ;\
> done
> if [ -f /home/user/microb-engine/microb-engine/client.mk ]; then\
>   rm -f build-tree/mozilla && ln -s /home/user/microb-engine/microb-engine
> build-tree/mozilla;\
> else\
>   if [ -d build-tree/mozilla ]; then \
> if [ -d build-tree/mozilla/.hg ]; then \
>   hg pull -R build-tree/mozilla && hg update -R build-tree/mozilla -C;
> \
> else \
>   hg archive -r upstream/20090207 -t files build-tree/mozilla; \
> fi \
>   else \
> hg clone -r upstream/20090207 /home/user/microb-engine/microb-engine
> build-tree/mozilla && hg update -C -R build-tree/mozilla; \
> #   hg archive -r upstream/20090207 -t files build-tree/mozilla; \
>   fi;\
> fi
> /scratchbox/tools/bin/sh: -c: line 2: syntax error: unexpected end of file
>
>
>
> --
> Best Regards,
>
> Zhihai Wang
>



-- 
Best Regards,

Zhihai Wang
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Pause/Resume page loading

2009-06-29 Thread daniel wilms
Hi Zhihai,

sorry, but could you please specify a bit more detailed what are actually 
trying to do and what you want to reach? This information is a bit too brief ;)

Cheers Daniel

> 
> Dear All,
> 
> Could I pause browser page loading if user interaction happens(such as
> dragging scrollbar) and resume loading after user stopped interaction?
> 
> -- 
> Best Regards,
> 
> Zhihai Wang
> 
> 
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Re:Regarding N810 nokia internet tablet

2009-06-29 Thread Andre Klapper
Am Montag, den 29.06.2009, 10:19 +0530 schrieb Lokesh B:

> >so,pls help me by giving some information how to overcome this
> problem.

Please be patient, and answer to the list instead of sending private
mail.

> What is the first line in /etc/apt/sources.list ?
> 
> >hildon-application-manager.list

Heh, wrong answer, but my question was wrong too. :-P

Okay, what is the first line in the textfile 
/etc/apt/sources.list.d/hildon-application-manager.list ?

You can for example see the content of that file by running "more" in
the terminal window.

andre
-- 
Andre Klapper (maemo.org bugmaster)

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: HildonColorButton / HildonColorChooserDialog in Fremantle

2009-06-29 Thread daniel wilms
Hi,

perhaps a general hint to requests regarding the hildon development. There is 
another mailing list you can find here [1], where special 
issues/wishes/comments can be discussed directly with the hildon developers. So 
if there is demand for a special widget or changes in the hildon 
implementation, it is possible to use this mailing list directly. If there are 
general questions about the usage of hildon, of course here is the right place. 

I just wanted to mention that this kind of mailing list exists and that of 
course participation is appreciated.

[1] https://garage.maemo.org/mailman/listinfo/hildon-devel

Cheers Daniel
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: HildonColorButton / HildonColorChooserDialog in Fremantle

2009-06-29 Thread API
From: Cornelius Hald 

> Hi,
> 
> HildonColorButton and HildonColorChooserDialog are both depreciated in
> Fremantle. The documentation doesn't tell what to use instead. This
> bug[1] mentions the following:
> "[...]A HildonPickerButton/HildonTouchSelector variant could be used
> here.[...]"

Yes, this is true, the idea is use the HildonTouchSelector (or a pannable area
+treeviews for custom requirements) to choose elements from a list.

In the end, choose a color should be the same, with the difference that you
will only have a discrete number of color to choose from.

> Could someone elaborate how choosing a color should look like in
> Fremantle?

Basically it should be a list with all the colors, and if you want to avoid use
only the name, and extra cell renderer to show the color. Visually it should
be similar to the hildon-touch-selector-example.c (at the hildon repository,
examples directory), but instead of the stock icons, the colors.

===
API (apinhe...@igalia.com)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers