Re: [b2g] New autocorrect dictionaries will increase build size by ~18mb

2013-08-26 Thread Yuan Xulei(袁徐磊)

On 08/25/2013 01:49 PM, Andreas Gal wrote:


As for predictive text, we should put a version of the keyboard with 
more dictionaries into the marketplace so people can download what 
doesn't come with the phone.
Is it possible to let user download extra dictionaries when needed? Or 
even let user update the dictionaries?

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Send commands to Linux

2013-08-26 Thread A. Crespo
I asked that at the IRC and some guys told me that our best bet would be to
code an http daemon. That way we could send it commands using http requests.

They also said that it would be possible to hack Gaia or Gecko, but it
wouldn't be desirable because it could be painfully buggier.


2013/8/26 Raphael Agneli 

> Someone can tell me if is possible send commands to linux terminal through
> the Firefox OS ?
>
> I looked over SSH but found nothing that worked.
>
> Someone can help me ?
>
> Thanks.
>
> Sorry my bad english.
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Is there any way to prevent that the phone get lock?

2013-08-26 Thread Julien Wajsberg
Le 25/08/2013 00:42, resto...@gmail.com a écrit :
> I'm making a app for firefox os that have some timers in it so i don't want 
> that the phone get lock after the normal time.
>
> So i want to know if is there a way that i could prevent when my app is open 
> that the phone could lock?
>
> There have to be a way but i after looking around for 20min i prefer to ask 
> people now.
>

Hi,

you probably want WakeLock for the "screen" resource. see [1] for more
information.

Note that you should also listen for PageVisibility events and unlock
when you're hidden, and relock when you're shown again.

[1]
https://developer.mozilla.org/en-US/docs/Web/API/window.navigator.requestWakeLock



signature.asc
Description: OpenPGP digital signature
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] WebAPI for sharing on social networks

2013-08-26 Thread Fernando Jiménez Moreno
+1

On a side note, we will probably want to do the same with the future 
functionality exposed via the Inter App Communications API [1] from certified 
apps (I'm mostly thinking about the System app), if this API finally succeeds. 
Something similar to what Android does for its content providers [2]

Cheers!

/ Fernando

[1] https://wiki.mozilla.org/WebAPI/Inter_App_Communication_Alt_proposal
[2] http://developer.android.com/reference/android/provider/package-summary.html

On 01/08/2013, at 02:09, Jonas Sicking wrote:

> I think David Flanagan and Mounir both have expressed interest in this in
> the past.
> 
> / Jonas
> On Jul 31, 2013 10:53 AM, "Dietrich Ayala"  wrote:
> 
> +99 to that. Jonas, who's the right person/team to drive this?
> 
> 
> On Wed, Jul 31, 2013 at 12:21 AM, Jonas Sicking  wrote:
> 
>> Yes, we should definitely create a real spec for the share activity. As
>> well as other activities that our built in apps implement.
>> 
>> WebActivities implemented by our internal apps are effectively WebAPIs in
>> and of themselves and should be designed and implemented with the same care
>> as we implement JS APIs.
>> 
>> / Jonas
>> On Jul 3, 2013 3:16 PM, "Harald Kirschner"  wrote:
>> 
>>> Interesting approach, I like the implementation on system level but not
>>> the interaction. Long tap is hopefully soon a common interaction in
>> mobile
>>> web apps and this would interfere .
>>> 
>>> Have you thought about speccing out a spec for the "share" WebActivity,
>>> which is not mostly implemented to share images, but sharing rich content
>>> (text + url + image, all optional) is a common Web Activity most apps can
>>> implement, either as receiver (FB, Twitter, LinkedIn, Email, etc) or as
>>> sender (newspapers, game achievements/screenshot, content publishing
>> apps,
>>> etc). This can only move forward when a share WebActivity is clearly
>>> defined (which is mostly about deciding on the optional fields in the
>>> payload).
>>> 
>>> ---
>>> Harald Kirschner | Partner Engineer & Web Craftsman | har...@mozilla.com
>> (mailto:
>>> hkirsch...@mozilla.com)
>>> 
>>> 
>>> El miércoles, julio 3, 2013 a las 3:12 PM, Alexandre BM escribió:
>>> 
 Hello,
 It was about quite moment that I'm thinking about a way to share
>> content
 on social networks, and kind of features that people need is missing on
 firefoxOS
 I know that there is a webapp that shares content on Twitter, Flickr
>> etc
 ... but It would be nice to renew the user experience.
 Here is a doc[1] where the spec is described and it should work, If you
 have any ideas to make it better please do not hesitate !
 
 Thanks ! :)
 
 [1] https://www.dropbox.com/s/ey30lfd921y7ywj/ShareAPI.pdf
 
 Best,
 ___
 dev-gaia mailing list
 dev-g...@lists.mozilla.org (mailto:dev-g...@lists.mozilla.org)
 https://lists.mozilla.org/listinfo/dev-gaia
 
 
>>> 
>>> 
>>> ___
>>> dev-gaia mailing list
>>> dev-g...@lists.mozilla.org
>>> https://lists.mozilla.org/listinfo/dev-gaia
>>> 
>> ___
>> dev-gaia mailing list
>> dev-g...@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-gaia
>> 
> ___
> dev-gaia mailing list
> dev-g...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-gaia

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] New member

2013-08-26 Thread Gervase Markham
On 26/08/13 07:53, MARINA RODRIGUEZ IGLESIAS wrote:
> our intranet and supporting internal clients. This is my first
> experience in a commercial product development and I'm very excited
> to become part of your community and participate in firefoxOS
> development. I'm sure we can learn a lot together and i'd like to be
> a productive community member.

Welcome :-)

Gerv
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Build failed due to aidl.o: file not recognized

2013-08-26 Thread Kevin Hankens
Greetings all! I'm just getting ramped up on B2G and loving it so far. I
was able to build the emulator without problems, but when I try to build
for inari, I run into the following error. I'm not too sure where to begin
diagnosing, so I was hoping that this might look familiar to someone :)

Much appreciated!!

host Executable: aidl
(out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: file not
recognized: File truncated
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl]
Error 1
make: *** Waiting for unfinished jobs
host StaticLib: libhost
(out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)

real 2m58.589s
user 4m28.688s
sys 2m43.640s

> Build failed! <


-- 
Kevin Hankens
www.kevinhankens.com
em...@kevinhankens.com
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Build failed due to aidl.o: file not recognized

2013-08-26 Thread Kevin Hankens
Hmm, this might have been a red herring. I bumped up the memory on my VM
and now appears to be building properly.

Sorry for the noise :)


On Mon, Aug 26, 2013 at 10:29 AM, Kevin Hankens wrote:

> Greetings all! I'm just getting ramped up on B2G and loving it so far. I
> was able to build the emulator without problems, but when I try to build
> for inari, I run into the following error. I'm not too sure where to begin
> diagnosing, so I was hoping that this might look familiar to someone :)
>
> Much appreciated!!
>
> host Executable: aidl
> (out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
> out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: file not
> recognized: File truncated
> collect2: ld returned 1 exit status
> make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl]
> Error 1
> make: *** Waiting for unfinished jobs
> host StaticLib: libhost
> (out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
>
> real 2m58.589s
> user 4m28.688s
> sys 2m43.640s
>
> > Build failed! <
>
>
> --
> Kevin Hankens
> www.kevinhankens.com
> em...@kevinhankens.com
>



-- 
Kevin Hankens
207.632.9342
www.kevinhankens.com
em...@kevinhankens.com
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Send commands to Linux

2013-08-26 Thread Adán Sánchez de Pedro Crespo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You can always write a SSH client using TCPSocket API.

In addition, if you wanted to connect to the Linux on your phone
itself (Gonk), you'll have to modify your B2G image in order to make
it listen over SSH.

- -- 
*Adán Sánchez de Pedro Crespo*
/FLOSS Developer at Waaltcom/
PGP Public Key: CCABF8A0
Cel.: +34 663 163 375
Fix.: +34 912 69 22 00
PLN: +00 4200
VoIP: 2...@sip.waalt.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSG3v4AAoJEOKCghY7/+mkCmYH/0wVn6kZohOimViWQdWCirxo
YBMYGsRctmKlbr+U3b02E7ctSBxqobTuaFzCcHMz1cY2tctwqkbj4veNpkjU0tAe
whWVM2kD4gTsrcaxtZiVVgUXKM1t1k2keKZ6jxyOY//ihGfnRVQ5l9lOz83MHABu
s/R5efrXvpdRGg6xc2yF2Oq6o/iZmO/jAPynhZ+Z28orO0804LaykV7Smu8Dj9Qn
GqrNLpnlqFxzme4wU+/WSuofKJM7Bhfqz+NDIAR0e0iWMcr9R7PYG/Tk/xUXla7r
/rALMefZ7umvJn27Ze97IcAK6XJ7rUqEmFj5x0cp3dsumV7P9VUV1Ug3yiU3h/Q=
=shMn
-END PGP SIGNATURE-



smime.p7s
Description: Firma criptográfica S/MIME
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Build failed due to aidl.o: file not recognized

2013-08-26 Thread Kevin Hankens
Oops, spoke too soon, still running into this error.


On Mon, Aug 26, 2013 at 11:59 AM, Kevin Hankens wrote:

> Hmm, this might have been a red herring. I bumped up the memory on my VM
> and now appears to be building properly.
>
> Sorry for the noise :)
>
>
> On Mon, Aug 26, 2013 at 10:29 AM, Kevin Hankens wrote:
>
>> Greetings all! I'm just getting ramped up on B2G and loving it so far. I
>> was able to build the emulator without problems, but when I try to build
>> for inari, I run into the following error. I'm not too sure where to begin
>> diagnosing, so I was hoping that this might look familiar to someone :)
>>
>> Much appreciated!!
>>
>> host Executable: aidl
>> (out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
>> out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: file not
>> recognized: File truncated
>> collect2: ld returned 1 exit status
>> make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl]
>> Error 1
>> make: *** Waiting for unfinished jobs
>> host StaticLib: libhost
>> (out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
>>
>> real 2m58.589s
>> user 4m28.688s
>> sys 2m43.640s
>>
>> > Build failed! <
>>
>>
>> --
>> Kevin Hankens
>> www.kevinhankens.com
>> em...@kevinhankens.com
>>
>
>
>
> --
> Kevin Hankens
> 207.632.9342
> www.kevinhankens.com
> em...@kevinhankens.com
>



-- 
Kevin Hankens
207.632.9342
www.kevinhankens.com
em...@kevinhankens.com
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Build failed due to aidl.o: file not recognized

2013-08-26 Thread Dave Hylands
Hi Kevin,

- Original Message -
> From: "Kevin Hankens" 
> To: dev-b2g@lists.mozilla.org
> Sent: Monday, August 26, 2013 7:29:13 AM
> Subject: [b2g] Build failed due to aidl.o: file not recognized
> 
> Greetings all! I'm just getting ramped up on B2G and loving it so far. I
> was able to build the emulator without problems, but when I try to build
> for inari, I run into the following error. I'm not too sure where to begin
> diagnosing, so I was hoping that this might look familiar to someone :)
> 
> Much appreciated!!
> 
> host Executable: aidl
> (out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
> out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: file not
> recognized: File truncated

Did you run out of disk space?
Try removing the file in question and trying again.

Dave Hylands
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Build failed due to aidl.o: file not recognized

2013-08-26 Thread Kevin Hankens
Thx Dave, I just tried that with no luck. Looks like I have plenty of disk
space ~66GB. Now I get the following:

host Executable: aidl
(out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
host Executable: acp
(out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: file not
recognized: File truncated
collect2: ld returned 1 exit status
out/host/linux-x86/obj/EXECUTABLESmake: /acp_intermediates***
[out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl] Error 1/acp.o
: make: file *** Waiting for unfinished jobsnot
 recognized: File truncated
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp] Error 1

real 0m8.012s
user 0m5.100s
sys 0m1.248s

> Build failed! <


On Mon, Aug 26, 2013 at 12:07 PM, Dave Hylands  wrote:

> Hi Kevin,
>
> - Original Message -
> > From: "Kevin Hankens" 
> > To: dev-b2g@lists.mozilla.org
> > Sent: Monday, August 26, 2013 7:29:13 AM
> > Subject: [b2g] Build failed due to aidl.o: file not recognized
> >
> > Greetings all! I'm just getting ramped up on B2G and loving it so far. I
> > was able to build the emulator without problems, but when I try to build
> > for inari, I run into the following error. I'm not too sure where to
> begin
> > diagnosing, so I was hoping that this might look familiar to someone :)
> >
> > Much appreciated!!
> >
> > host Executable: aidl
> > (out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
> > out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: file not
> > recognized: File truncated
>
> Did you run out of disk space?
> Try removing the file in question and trying again.
>
> Dave Hylands
>



-- 
Kevin Hankens
207.632.9342
www.kevinhankens.com
em...@kevinhankens.com
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Build failed due to aidl.o: file not recognized

2013-08-26 Thread Dave Hylands
Hi Kevin,

- Original Message -
> From: "Kevin Hankens" 
> To: "Dave Hylands" 
> Cc: dev-b2g@lists.mozilla.org
> Sent: Monday, August 26, 2013 9:29:08 AM
> Subject: Re: [b2g] Build failed due to aidl.o: file not recognized
> 
> Thx Dave, I just tried that with no luck. Looks like I have plenty of disk
> space ~66GB. Now I get the following:

So that should be lots of disk space.

> host Executable: aidl
> (out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
> host Executable: acp
> (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
> out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: file not
> recognized: File truncated

What does "file ./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o" 
report?

On my build machine (a 64-bit installation of ubuntu 12.04), I get:

624 >file ./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o
./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: ELF 32-bit LSB 
relocatable, Intel 80386, version 1 (SYSV), not stripped

Perhaps something in the prerequisities hasn't been installed?
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites#64_bit_install_examples.3A

Which version of gcc are you using?

Mine reports:

625 >gcc --version
gcc-4.6.real (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Dave Hylands
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Firefox OS Weekly Meeting Schedule

2013-08-26 Thread Dietrich Ayala
~~~ Announcements ~~~

* 1.1: Not approving nominations for anything but critical issues as listed at 
https://etherpad.mozilla.org/b2g-triage-exceptions.

* 1.2: Feature development in progress. Teams, features and more at 
https://wiki.mozilla.org/FirefoxOS/SprintStatus.

* REMINDER: Monday Sept 2 is a US holiday.

~~~ Meetings ~~~

Schedule home: https://wiki.mozilla.org/B2G#Meetings

Gaia Meeting
* Time: Tuesdays 0900 PT / 1800 CET /  CST
* Notes: https://etherpad.mozilla.org/gaia-meeting-notes

Coordination Meeting
* Time: Tuesdays 1700 PT / 0200 CET / 0800 CST
* Notes: https://etherpad.mozilla.org/b2g-meeting-notes

Functional Team Meetings
* Listed per team at https://wiki.mozilla.org/FirefoxOS/SprintStatus

Triage
* Mon/Weds/Fri at 08:00 PT (US + EU)
* Tues/Thurs at 16:00 PT (US + Kor)
* Mon/Weds/Fri at 16:00 CST (TW + Kor + EU)
* Queries: https://wiki.mozilla.org/B2G/Triage
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Firefox OS Geolocation Maps

2013-08-26 Thread arky

On 08/25/2013 06:50 AM, laubar...@gmail.com wrote:

Thanks for the link to Doug Turner's fix / hack. I just installed it on my GP 
and it works!

 From my understanding it creates a fixed GPS location that is perfect for 
testing.
Thank you!



Hi,

Here is quick and dirty OSM app.

Source: https://github.com/arky/osm-app
Demo: http://arky.github.io/osm-app

Cheers

--arky
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Build failed due to aidl.o: file not recognized

2013-08-26 Thread Kevin Hankens
Ok, I started over and building clean seemed to help a bit. I'm using gcc
(Ubuntu/Linaro 4.6.4-1ubuntu1) 4.6.4. The previously broken file is now
reporting:

out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: ELF 32-bit
LSB relocatable, Intel 80386, version 1 (SYSV), not stripped

Now, I'm hitting the following:

(lots of "undefined reference" errors)
...
B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
../libjs_static.a(StubCalls.o): in function
js::mjit::stubs::Trap(js::VMFrame&, unsigned
int):/home/khankens/codes/ffos/B2G/gecko/js/src/methodjit/StubCalls.cpp:862:
error: undefined reference to 'js::Debugger::onTrap(JSContext*, JS::Value*)'
collect2: ld returned 1 exit status
make[7]: *** [js] Error 1
make[6]: *** [libs] Error 2
make[5]: *** [libs_tier_js] Error 2
make[4]: *** [tier_js] Error 2
make[3]: *** [default] Error 2
make[2]: *** [realbuild] Error 2
make[1]: *** [build] Error 2
make: *** [out/target/product/inari/obj/DATA/gecko_intermediates/gecko]
Error 2

real 6m51.288s
user 8m46.420s
sys 3m17.576s

> Build failed! <



On Mon, Aug 26, 2013 at 12:38 PM, Dave Hylands  wrote:

> Hi Kevin,
>
> - Original Message -
> > From: "Kevin Hankens" 
> > To: "Dave Hylands" 
> > Cc: dev-b2g@lists.mozilla.org
> > Sent: Monday, August 26, 2013 9:29:08 AM
> > Subject: Re: [b2g] Build failed due to aidl.o: file not recognized
> >
> > Thx Dave, I just tried that with no luck. Looks like I have plenty of
> disk
> > space ~66GB. Now I get the following:
>
> So that should be lots of disk space.
>
> > host Executable: aidl
> > (out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
> > host Executable: acp
> > (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
> > out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: file not
> > recognized: File truncated
>
> What does "file
> ./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o" report?
>
> On my build machine (a 64-bit installation of ubuntu 12.04), I get:
>
> 624 >file ./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o
> ./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: ELF 32-bit LSB
> relocatable, Intel 80386, version 1 (SYSV), not stripped
>
> Perhaps something in the prerequisities hasn't been installed?
>
> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites#64_bit_install_examples.3A
>
> Which version of gcc are you using?
>
> Mine reports:
>
> 625 >gcc --version
> gcc-4.6.real (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Dave Hylands
>



-- 
Kevin Hankens
207.632.9342
www.kevinhankens.com
em...@kevinhankens.com
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] New autocorrect dictionaries will increase build size by ~18mb

2013-08-26 Thread David Flanagan
I've intended to make autocorrect dictionaries configurable at build 
time for 1.2.


However, it looks like adding all the 1.1 dictionaries to the build by 
default breaks the Buri device because it runs out of space.  
(https://bugzilla.mozilla.org/show_bug.cgi?id=909392)


So I think I need to make the auto-correct dictionaries configurable at 
build time for 1.1.  That is bug 884752. It was koi+, and I've just 
nominated it for leo instead.


David



On 8/24/13 10:49 PM, Andreas Gal wrote:


We need to be able to select at build time the languages (l10n, 
dictionaries, etc). Most carriers will want to ship lower-end devices 
with limited storage with a few languages at most.


If we compress l10n in a very clever way, we might actually be able to 
have 70+ languages on every device, even low-end ones. Fabrice and 
Vivien are working on something in this area. But even then, we must 
be able to configure languages. In some countries certain languages 
are illegal and we must be able to at least hide them.


As for predictive text, we should put a version of the keyboard with 
more dictionaries into the marketplace so people can download what 
doesn't come with the phone.


Andreas

Tim Chien wrote:

On Sat, Aug 24, 2013 at 11:16 PM, David Flanagan  wrote:

On 8/23/13 10:50 PM, Tim Chien wrote:

David, by build size, you mean the size of the built packaged zip
files, of the original source files?

I mean 18mb of new files are going into the keyboard app zip file. Those
data files are already fairly compressed, so I would guess that the zip file
itself increases by 12-15mb.  The data is read out of the raw data file
everytime, so there is no indexeddb hit once it starts getting used.



Right. That's really a lot :-/


I am updating the Traditional Chinese IME which will increase the
zip'ed size by ~1mb (bug 908577). When enabled, the IndexedDB backend
of the IME will create results a 18mb sqlite in the profile. When
removed the zip'ed size is reduced by 2.3mb.

Removing the Simplified Chinese IME saves about 600kb (zip'ed).

Drivers, do we have a hard limit of the build size on any particular
devices?

I hope that when we ship 3rd-party keyboard framework, eventually, we
should be able to split these keyboards into different keyboard apps,
not preloading them, and make them available on Marketplace (just like
Firefox spell check dictionaries).

And for the built-in keyboard, it would be nice if there was a way for users
to add keyboard layouts and dictionaries. I don't know how that would work,
but it would be easy to modify the code to look in DeviceStorage for
auto-correct dictionaries that aren't found pre-packaged in the app.  I
don't know how you'd get an autocorrect-dictionary from Marketplace to
device storage, however (unless we started treating them like wallpapers and
had the keyboard use a Pick activity to obtain them from some other app).



I mean actually split the Gaia keyboard app into many, many keyboard
apps for different regions, or even individual layouts. Then we could
simply leverage 3rd-party keyboard framework (where users are free to
install/enable multiple layouts from multiple keyboards) and select
the keyboard app(s) to include in the build.


Alternatively, if we hit the hard limit before that, we would need to
make the build script of keyboard app configureable (I hope not).



Build-time configurability is actually my plan for bug 884752, which Andreas
marked Koi+.  The idea is to make the list of keyboard layouts and
dictionaries configurable at build time (like the list of locales is) so
that carriers can create builds for exactly the counties that they plan to
support.



The reason I don't like this is because it remove features from Gaia.
I would imagine when the user get a hold of a Firefox OS phone, she/he
expects a same set of features present. If we remove feature like this
then it has to be recoverable, maybe from Marketplace (hence my
previously mentioned idea).



___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] New autocorrect dictionaries will increase build size by ~18mb

2013-08-26 Thread David Flanagan

It looks like this was a false alarm. Sorry everyone.

The current thinking in bug 909392 is that it was caused by a build 
script problem, not by the autocorrect dictionaries.


I've un-nominated 884752.  Andreas, if you have a chance could you set 
it back to koi+?


David

On 8/26/13 11:22 AM, David Flanagan wrote:
I've intended to make autocorrect dictionaries configurable at build 
time for 1.2.


However, it looks like adding all the 1.1 dictionaries to the build by 
default breaks the Buri device because it runs out of space.  
(https://bugzilla.mozilla.org/show_bug.cgi?id=909392)


So I think I need to make the auto-correct dictionaries configurable 
at build time for 1.1.  That is bug 884752. It was koi+, and I've just 
nominated it for leo instead.


David



On 8/24/13 10:49 PM, Andreas Gal wrote:


We need to be able to select at build time the languages (l10n, 
dictionaries, etc). Most carriers will want to ship lower-end devices 
with limited storage with a few languages at most.


If we compress l10n in a very clever way, we might actually be able 
to have 70+ languages on every device, even low-end ones. Fabrice and 
Vivien are working on something in this area. But even then, we must 
be able to configure languages. In some countries certain languages 
are illegal and we must be able to at least hide them.


As for predictive text, we should put a version of the keyboard with 
more dictionaries into the marketplace so people can download what 
doesn't come with the phone.


Andreas

Tim Chien wrote:
On Sat, Aug 24, 2013 at 11:16 PM, David 
Flanagan  wrote:

On 8/23/13 10:50 PM, Tim Chien wrote:

David, by build size, you mean the size of the built packaged zip
files, of the original source files?
I mean 18mb of new files are going into the keyboard app zip file. 
Those
data files are already fairly compressed, so I would guess that the 
zip file
itself increases by 12-15mb.  The data is read out of the raw data 
file

everytime, so there is no indexeddb hit once it starts getting used.



Right. That's really a lot :-/


I am updating the Traditional Chinese IME which will increase the
zip'ed size by ~1mb (bug 908577). When enabled, the IndexedDB backend
of the IME will create results a 18mb sqlite in the profile. When
removed the zip'ed size is reduced by 2.3mb.

Removing the Simplified Chinese IME saves about 600kb (zip'ed).

Drivers, do we have a hard limit of the build size on any particular
devices?

I hope that when we ship 3rd-party keyboard framework, eventually, we
should be able to split these keyboards into different keyboard apps,
not preloading them, and make them available on Marketplace (just 
like

Firefox spell check dictionaries).
And for the built-in keyboard, it would be nice if there was a way 
for users
to add keyboard layouts and dictionaries. I don't know how that 
would work,

but it would be easy to modify the code to look in DeviceStorage for
auto-correct dictionaries that aren't found pre-packaged in the 
app.  I

don't know how you'd get an autocorrect-dictionary from Marketplace to
device storage, however (unless we started treating them like 
wallpapers and
had the keyboard use a Pick activity to obtain them from some other 
app).




I mean actually split the Gaia keyboard app into many, many keyboard
apps for different regions, or even individual layouts. Then we could
simply leverage 3rd-party keyboard framework (where users are free to
install/enable multiple layouts from multiple keyboards) and select
the keyboard app(s) to include in the build.


Alternatively, if we hit the hard limit before that, we would need to
make the build script of keyboard app configureable (I hope not).


Build-time configurability is actually my plan for bug 884752, 
which Andreas

marked Koi+.  The idea is to make the list of keyboard layouts and
dictionaries configurable at build time (like the list of locales 
is) so
that carriers can create builds for exactly the counties that they 
plan to

support.



The reason I don't like this is because it remove features from Gaia.
I would imagine when the user get a hold of a Firefox OS phone, she/he
expects a same set of features present. If we remove feature like this
then it has to be recoverable, maybe from Marketplace (hence my
previously mentioned idea).



___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Emulator upside down and reversed?

2013-08-26 Thread 平田修樹 (Naoki Hirata)

Hi all,

When compiling for the emulator, I'm showing the emulator displaying 
upside down and reversed.

Is anyone else seeing something similar to that?

I turned off the hw emulation and if I do that it doesn't show anything.

If someone has figured that out, I would really appreciate the help.

Regards,
Naoki
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Build failed due to aidl.o: file not recognized

2013-08-26 Thread Kevin Hankens
Finally! Got it built, but now need to figure out how to run flash.sh,
getting the following:

$ ./flash.sh
< waiting for device >
erasing 'cache'...
OKAY [  0.541s]
finished. total time: 0.541s
erasing 'userdata'...
OKAY [  1.421s]
finished. total time: 1.421s
sending 'userdata' (67563 KB)...
OKAY [ 12.697s]
writing 'userdata'...
FAILED (status malformed (0 bytes))
finished. total time: 13.058s



On Mon, Aug 26, 2013 at 1:34 PM, Kevin Hankens wrote:

> Ok, I started over and building clean seemed to help a bit. I'm using gcc
> (Ubuntu/Linaro 4.6.4-1ubuntu1) 4.6.4. The previously broken file is now
> reporting:
>
> out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: ELF 32-bit
> LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
>
> Now, I'm hitting the following:
>
> (lots of "undefined reference" errors)
> ...
> B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
> ../libjs_static.a(StubCalls.o): in function
> js::mjit::stubs::Trap(js::VMFrame&, unsigned
> int):/home/khankens/codes/ffos/B2G/gecko/js/src/methodjit/StubCalls.cpp:862:
> error: undefined reference to 'js::Debugger::onTrap(JSContext*, JS::Value*)'
> collect2: ld returned 1 exit status
> make[7]: *** [js] Error 1
> make[6]: *** [libs] Error 2
> make[5]: *** [libs_tier_js] Error 2
> make[4]: *** [tier_js] Error 2
> make[3]: *** [default] Error 2
> make[2]: *** [realbuild] Error 2
> make[1]: *** [build] Error 2
> make: *** [out/target/product/inari/obj/DATA/gecko_intermediates/gecko]
> Error 2
>
> real 6m51.288s
> user 8m46.420s
> sys 3m17.576s
>
> > Build failed! <
>
>
>
> On Mon, Aug 26, 2013 at 12:38 PM, Dave Hylands wrote:
>
>> Hi Kevin,
>>
>> - Original Message -
>> > From: "Kevin Hankens" 
>> > To: "Dave Hylands" 
>> > Cc: dev-b2g@lists.mozilla.org
>> > Sent: Monday, August 26, 2013 9:29:08 AM
>> > Subject: Re: [b2g] Build failed due to aidl.o: file not recognized
>> >
>> > Thx Dave, I just tried that with no luck. Looks like I have plenty of
>> disk
>> > space ~66GB. Now I get the following:
>>
>> So that should be lots of disk space.
>>
>> > host Executable: aidl
>> > (out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
>> > host Executable: acp
>> > (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
>> > out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: file not
>> > recognized: File truncated
>>
>> What does "file
>> ./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o" report?
>>
>> On my build machine (a 64-bit installation of ubuntu 12.04), I get:
>>
>> 624 >file ./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o
>> ./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: ELF 32-bit
>> LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
>>
>> Perhaps something in the prerequisities hasn't been installed?
>>
>> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites#64_bit_install_examples.3A
>>
>> Which version of gcc are you using?
>>
>> Mine reports:
>>
>> 625 >gcc --version
>> gcc-4.6.real (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>> Copyright (C) 2011 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.  There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE.
>>
>> Dave Hylands
>>
>
>
>
> --
> Kevin Hankens
> 207.632.9342
> www.kevinhankens.com
> em...@kevinhankens.com
>



-- 
Kevin Hankens
207.632.9342
www.kevinhankens.com
em...@kevinhankens.com
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Build failed due to aidl.o: file not recognized

2013-08-26 Thread Dave Hylands
Hi Kevin,

- Original Message -
> From: "Kevin Hankens" 
> To: "Dave Hylands" 
> Cc: dev-b2g@lists.mozilla.org
> Sent: Monday, August 26, 2013 1:58:04 PM
> Subject: Re: [b2g] Build failed due to aidl.o: file not recognized
> 
> Finally! Got it built, but now need to figure out how to run flash.sh,
> getting the following:
> 
> $ ./flash.sh
> < waiting for device >
> erasing 'cache'...
> OKAY [  0.541s]
> finished. total time: 0.541s
> erasing 'userdata'...
> OKAY [  1.421s]
> finished. total time: 1.421s
> sending 'userdata' (67563 KB)...
> OKAY [ 12.697s]
> writing 'userdata'...
> FAILED (status malformed (0 bytes))
> finished. total time: 13.058s

Which type of phone are you trying to flash?

Dave Hylands
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Build failed due to aidl.o: file not recognized

2013-08-26 Thread Kevin Hankens
It's the ebay zte open.


On Mon, Aug 26, 2013 at 5:11 PM, Dave Hylands  wrote:

> Hi Kevin,
>
> - Original Message -
> > From: "Kevin Hankens" 
> > To: "Dave Hylands" 
> > Cc: dev-b2g@lists.mozilla.org
> > Sent: Monday, August 26, 2013 1:58:04 PM
> > Subject: Re: [b2g] Build failed due to aidl.o: file not recognized
> >
> > Finally! Got it built, but now need to figure out how to run flash.sh,
> > getting the following:
> >
> > $ ./flash.sh
> > < waiting for device >
> > erasing 'cache'...
> > OKAY [  0.541s]
> > finished. total time: 0.541s
> > erasing 'userdata'...
> > OKAY [  1.421s]
> > finished. total time: 1.421s
> > sending 'userdata' (67563 KB)...
> > OKAY [ 12.697s]
> > writing 'userdata'...
> > FAILED (status malformed (0 bytes))
> > finished. total time: 13.058s
>
> Which type of phone are you trying to flash?
>
> Dave Hylands
>



-- 
Kevin Hankens
207.632.9342
www.kevinhankens.com
em...@kevinhankens.com
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Commercial RIL 08/26/2013 Leo v1.1 Smoke Test Results - 46/47 tests passed, 1 untested

2013-08-26 Thread Marcia Knous
46 out of 47 tests passed for the 2013-08-26 Leo v1.1.0 Commercial RIL 
Build. There are no major issues that prevented the smoketests from passing.


Commercial RIL Build Smoketest Results:
Daily Smoke Test Logs: 
https://docs.google.com/a/qanalydocs.com/spreadsheet/ccc?key=0AjRc6aVFoOW9dGZLdVdiWGZLbVdORlFpUGt5XzZ3Znc

Moztrap link: https://moztrap.mozilla.org/runtests/run/2094/env/314/

Tests Were Performed With:
Builds ID: 20130826041201
Gecko: c6f7c8ffc535
Gaia: 4b2f1a103d046c92d201e8fcfb1ae224f59e7cf1
Firmware Revision: D300f08o
0 reboots
0 crashes

Build Updated From:
- No OTA performed.

New Bugs Breaking the Smoketests:
- None reported.

Existing Bugs Breaking the Smoketests:
- None reported.

New Issues Not Breaking the Smoketests:
- None reported.

Sincerely,

Mozilla QA Team
--
Call me on my B2G phone: 650-450-0173.

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Is there any way to prevent that the phone get lock?

2013-08-26 Thread restonjd
Thanks! it worked for me.


I appreciate your help.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Emulator upside down and reversed?

2013-08-26 Thread Taichi Matsuura
Hi Naoki san

exactly same problem here.
I also tested couple of PCs on this problem below:

1.iMac Lion -> worked properly
2.iMac Mountain Lion(previously Lion) -> worked properly
3.Makbook Pro Retina(Mountain Lion) -> upside down and reversed

The link is screenshot of upside down image.
https://github.com/YusukeYamamoto/garage/blob/master/20130827_fxos_simulator_disp_reverse/simulator_disp_reverse_02.png

Thanks,
Taichi

2013年8月27日火曜日 5時46分08秒 UTC+9 平田修樹 (Naoki Hirata):
> Hi all,
> 
> 
> 
> When compiling for the emulator, I'm showing the emulator displaying 
> 
> upside down and reversed.
> 
> Is anyone else seeing something similar to that?
> 
> 
> 
> I turned off the hw emulation and if I do that it doesn't show anything.
> 
> 
> 
> If someone has figured that out, I would really appreciate the help.
> 
> 
> 
> Regards,
> 
> Naoki

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Emulator upside down and reversed?

2013-08-26 Thread 平田修樹 (Naoki Hirata)

Hi Taichi-san,

Thank you for the email message!  That is exactly what I am seeing as well.

I just spoke with a colleague of mine and he stated he hasn't run into 
that issue with a MacBook Pro Retina because he's been using ubuntu on a 
Virtual Machine to compile it.


I may end up going that route to see if that might resolve the issue.

Regards,
Naoki

On 8/26/13 5:55 PM, Taichi Matsuura wrote:

Hi Naoki san

exactly same problem here.
I also tested couple of PCs on this problem below:

1.iMac Lion -> worked properly
2.iMac Mountain Lion(previously Lion) -> worked properly
3.Makbook Pro Retina(Mountain Lion) -> upside down and reversed

The link is screenshot of upside down image.
https://github.com/YusukeYamamoto/garage/blob/master/20130827_fxos_simulator_disp_reverse/simulator_disp_reverse_02.png

Thanks,
Taichi

2013年8月27日火曜日 5時46分08秒 UTC+9 平田修樹 (Naoki Hirata):

Hi all,



When compiling for the emulator, I'm showing the emulator displaying

upside down and reversed.

Is anyone else seeing something similar to that?



I turned off the hw emulation and if I do that it doesn't show anything.



If someone has figured that out, I would really appreciate the help.



Regards,

Naoki

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Mozilla RIL 08/26/2013 Buri 1.2 Smoketest Results - 43/47 tests passed, 1 new blocker

2013-08-26 Thread Marcia Knous
All - Apologies for the late report, but today we had to wait for a 
build respin so getting the results out took longer than expected.


43 out of 47 tests passed for the 2013-08-26 Buri v1.2.0 Mozilla RIL 
Build. Here are the major issues that prevented the smoketests from passing.


Mozilla RIL Build Smoketest Results:
Daily Smoke Test Logs: 
https://docs.google.com/a/qanalydocs.com/spreadsheet/ccc?key=0AjRc6aVFoOW9dGZLdVdiWGZLbVdORlFpUGt5XzZ3Znc

Moztrap link: https://moztrap.mozilla.org/runtests/run/2095/env/347/

Tests Were Performed With:
Builds ID: 20130826163255
Gecko: 14b1e8c2957e
Gaia: 23343e6ea3cc59c3ab0ac9188aaa657bd11da4fd
0 reboots
1 crash

Build Updated From:
-No OTA performed.

New Bugs Breaking the Smoketests:
- [New] [B2G] [Buri] [1.2] [YouTube] Videos stutter almost to the point 
of unplayability https://bugzilla.mozilla.org/show_bug.cgi?id=909564


Existing Bugs Breaking the Smoketests:
-[Existing] Blank crop page appears when attempting to add a gallery 
photo to a contact https://bugzilla.mozilla.org/show_bug.cgi?id=908449
-[Existing] [B2G] [Buri] [1.2] [Dialer] Keypad is unresponsive during 
phone call https://bugzilla.mozilla.org/show_bug.cgi?id=907443
-[Existing]crash in 
mozilla::layers::GrallocBufferActor::ActorDestroy(mozilla::ipc::IProtocolManager::ActorDestroyReason) 
https://bugzilla.mozilla.org/show_bug.cgi?id=900012


New Issues Not Breaking the Smoketests:
- None reported.

Sincerely,

Mozilla QA Team

--
Call me on my B2G phone: 650-450-0173.

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Test report of smoke test for Nexus 4 (Android 4.3)

2013-08-26 Thread Hubert Lu
Hi all,
Attachment is removed by mail server according to server policy, so please 
see the report in cloud space by using Mozilla account. Thanks a lot.

Report link : 
https://docs.google.com/a/mozilla.com/file/d/0BzN3Z43hOkvOT3JtdG9UZmJNZHM/edit

BR,
Hubert

- 原始郵件 -
寄件者: "Hubert Lu" 
收件者: dev-g...@lists.mozilla.org, dev-b2g@lists.mozilla.org
寄件備份: 2013 8 月 27 星期二 上午 9:51:40
主旨: Fwd: Test report of smoke test for Nexus 4 (Android 4.3)

Dear all,
The test report for v1.2 on Nexus 4 with Android 4.3 is attached, 8 issues 
were found and filed in Bugzilla.
For more detailed issue information, please see the bugs list in report.
Thanks.

BR,
Hubert
- 轉寄的郵件 -
寄件者: "Bruce Weng" 
收件者: "Anthony Chung" 
副本: "Taiwan QA Group" mozilla.com>, "James Ho" , 
tw...@mozilla.com, "Taiwan Engineer Managers" mozilla.com>
寄件備份: 2013 8 月 26 星期一 下午 10:51:58
主旨: Fwd: Test report of smoke test for Nexus 4 (Android 4.3)

Hi Hubert,
Thanks for the help.

Hi Tony, 

Hubert did smoke test on Nexus 4 with 4.3 porting and we have found several 
bugs. 

We have raised 8 issues in bugzilla but if I remember correctly, Nexus 4 does 
not support FM radio so perhaps you can skip 909198. 

Email, camera and music playback can not be tested so we will have developer to 
look at these areas as higher priority. 

Regards,
Bruce

- Forwarded Message -
From: "Hubert Lu" 
To: "Bruce Weng" 
Cc: "Taiwan QA Group" mozilla.com>
Sent: Monday, August 26, 2013 6:40:35 PM
Subject: Test report of smoke test for Nexus 4 (Android 4.3)

Hi Bruce,
Smoke test for Nexus 4 Android 4.3 is performed completely, and the report 
is attached.
Please kindly review it. Please kindly let me know if there is any question.

BR,
Hubert
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g