Farewell

2013-03-28 Thread Leutwyler, Markus
Today is my last day of work at HP as my Role in Developer Relations here in 
Europe is ending this month.
I'm in the process of moving stewardship of Phonegap/Cordova for (Open) webOS 
to someone at  LG.

Glad to have been part and to have the chance to contribute to such an 
important Open Source Project!

Markus


RE: archiving older platforms

2013-03-19 Thread Leutwyler, Markus
Cordova for (Open) webOS is playing an important role, for still available 
hardware (TouchPad and Phones) and new hardware (there are Open webOS Ports for 
the Galaxy Nexus and Nexus 7 for example).

Also see 
http://blog.openwebosproject.org/post/39278618299/javascript-apps-for-open-webos-with-enyo-and-cordova
 for the official messaging

Markus

-Original Message-
From: brian.ler...@gmail.com [mailto:brian.ler...@gmail.com] On Behalf Of Brian 
LeRoux
Sent: Sonntag, 17. März 2013 06:15
To: dev@cordova.apache.org
Subject: archiving older platforms

The question has come up about our continued support for:

- bada
- webos
- qt
- bb6  bb7

Nobody is currently actively maintaining Bada, and Qt. However, I could see us 
wanting to keep Qt around given Ubuntu Phone. There are no new webOS devices, 
though rumours persist they could happen, it seems like its more of a ceremony 
than real support. The older BB platforms are maintained but the real focus is 
BB10.

Thoughts?


RE: Who's who at cordova

2013-03-14 Thread Leutwyler, Markus
Please star me :)


Subject: Re: Who's who at cordova
I have starred it. If anyone else here is missing a star, let me know.
-Steve



cordova.js changes

2013-02-19 Thread Leutwyler, Markus
What's the process for adding stuff to cordova.js or how can i make such 
changes platform specific?

Let's say I want to add a new (in my case probably webOS specific) document 
event for show/hide/relaunch to Cordova:

Cordova.js, line 240
channel.onShow = cordova.addDocumentEventHandler('show');




Markus


RE: Tagging 2.3.0rc2?

2013-02-08 Thread Leutwyler, Markus
Hi Herm,

I have 2 pull requests to put into Cordova webOS 2.5.0rc1

https://github.com/apache/cordova-js/pull/7
https://github.com/apache/cordova-js/pull/8

Thanks for merging them in

Markus

-Original Message-
From: Herm Wong [mailto:kingoftheo...@hotmail.com] 
Sent: Dienstag, 15. Januar 2013 00:17
To: dev@cordova.apache.org
Subject: RE: Tagging 2.3.0rc2?

I'm merging this change in now; it'll be in the 2.4.0rc1 release.

 From: markus.leutwy...@hp.com
 To: dev@cordova.apache.org
 Subject: RE: Tagging 2.3.0rc2?
 Date: Fri, 4 Jan 2013 07:29:00 +
 
 Hi Herm,
 
 Here we go
 
 https://github.com/apache/cordova-js/pull/2
 
 Thanks
 
 Markus
 
 -Original Message-
 From: Herm Wong [mailto:kingoftheo...@hotmail.com]
 Sent: Donnerstag, 3. Januar 2013 21:51
 To: dev@cordova.apache.org
 Subject: RE: Tagging 2.3.0rc2?
 
 send me the url for your git repo and I'll merge in the changes from there.
 
  From: markus.leutwy...@hp.com
  To: dev@cordova.apache.org
  Subject: RE: Tagging 2.3.0rc2?
  Date: Fri, 14 Dec 2012 00:59:21 +
  
  When will we cut 2.3.0rc2?
  
  Herm: I have added functionality to support for the menubutton in 
  cordova-js for webOS ... how can I get that into rc2?
  
  Markus
  
  -Original Message-
  From: Shazron [mailto:shaz...@gmail.com]
  Sent: Dienstag, 11. Dezember 2012 22:19
  To: dev@cordova.apache.org
  Subject: Re: Tagging 2.3.0rc2?
  
  iOS is almost ready to tag pending testing. Unfortunately most of us are 
  off-site Wednesday so I can only test this Thursday and tag.
  
  
  On Mon, Dec 10, 2012 at 2:25 PM, Anis KADRI anis.ka...@gmail.com wrote:
  
   Double the usual spam. Thanks Joe :-) !
  
  
   On Mon, Dec 10, 2012 at 2:20 PM, Joe Bowser bows...@gmail.com wrote:
  
OK, I'm deleting the duplicates so we don't get confused.  Sorry 
about getting inpatient!
   
On Mon, Dec 10, 2012 at 2:17 PM, Joe Bowser bows...@gmail.com wrote:
 OH crap, I created a duplicate in our tracker. :(

 On Mon, Dec 10, 2012 at 2:16 PM, Michael Brooks 
 mich...@michaelbrooks.ca wrote:
 @Jesse I agree with you timeline.

 @Joe Yep, let's get the ball rolling.

 I've created JIRA issue CB-1982 to track our progress:

 https://issues.apache.org/jira/browse/CB-1982

 Go Go Go!

 Michael

 On Mon, Dec 10, 2012 at 12:32 PM, Joe Bowser 
 bows...@gmail.com
   wrote:

 So, are we getting this ball rolling?

 On Fri, Dec 7, 2012 at 4:48 PM, Jesse 
 purplecabb...@gmail.com
   wrote:
  +me
 
  Also, 2.3.0 final will be the last release of the year 
  with
   everyone
  hopefully enjoying some time off.
  Many of the Adobe+Cordova committers will be otherwise 
  occupied
   much
  of next week, so it may be best to push the release of 
  2.3.0 to the middle of the following week, on like the 
  18th or 19th
 
 
 
 
 
  On Fri, Dec 7, 2012 at 4:37 PM, Anis KADRI 
  anis.ka...@gmail.com
wrote:
  I approve this message
 
 
  On Fri, Dec 7, 2012 at 3:28 PM, Brian LeRoux b...@brian.io 
  wrote:
 
  agree
 
  On Fri, Dec 7, 2012 at 1:38 PM, Simon MacDonald 
  simon.macdon...@gmail.com wrote:
   We doing that or going straight to 2.3.0 release? 
   Personally
   I'd
 like to
   see a 2.3.0rc2 on Monday then if no fixes are checked 
   in cut
2.3.0
 the
   following week.
  
   Simon Mac Donald
   http://hi.im/simonmacdonald
 
 
 
 
  --
  @purplecabbage
  risingj.com

   
  
 
  


Github

2012-12-14 Thread Leutwyler, Markus
Any idea why https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=summary 
and https://github.com/apache/incubator-cordova-js are not in Sync? Should I 
base a pull-request on the github project?

Markus


RE: Github

2012-12-14 Thread Leutwyler, Markus
Oh, I must have forgotten to wear my glasses today .. sorry

Markus

-Original Message-
From: Shazron [mailto:shaz...@gmail.com] 
Sent: Freitag, 14. Dezember 2012 11:11
To: dev@cordova.apache.org
Subject: Re: Github

Use https://github.com/apache/cordova-js


On Fri, Dec 14, 2012 at 11:02 AM, Leutwyler, Markus markus.leutwy...@hp.com
 wrote:

 Any idea why
 https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=summary and 
 https://github.com/apache/incubator-cordova-js are not in Sync? Should 
 I base a pull-request on the github project?

 Markus



webOS Update for 2.3.0rc2

2012-12-14 Thread Leutwyler, Markus
Hi Herm,

can you still pull in the following request for 2.3.0rc2?

https://github.com/apache/cordova-js/pull/2

This adds support for the App Menu on webOS and will map it to the Cordova 
menubutton Event

Markus


RE: tag 2.3.0rc1 this week?

2012-11-29 Thread Leutwyler, Markus
Thanks Herm

Markus

-Original Message-
From: Herm Wong [mailto:kingoftheo...@hotmail.com] 
Sent: Donnerstag, 29. November 2012 01:35
To: dev@cordova.apache.org
Subject: RE: tag 2.3.0rc1 this week?

Markus - I've merged in your changes to the Cordova-JS project and also applied 
them to Cordova-webos.
The changes will be in the 2.3.0rc2 release.

 From: kingoftheo...@hotmail.com
 To: dev@cordova.apache.org
 Subject: RE: tag 2.3.0rc1 this week?
 Date: Wed, 28 Nov 2012 11:49:08 -0800
 
 I'll merge it in for RC2.
 
  From: markus.leutwy...@hp.com
  To: dev@cordova.apache.org
  Subject: RE: tag 2.3.0rc1 this week?
  Date: Wed, 28 Nov 2012 15:08:37 +
  
  Hi Herm,
  
  Was my pull request included?
  
  https://github.com/apache/incubator-cordova-js/pull/45
  
  Thanks
  
  Markus
  
  -Original Message-
  From: Herm Wong [mailto:kingoftheo...@hotmail.com]
  Sent: Mittwoch, 28. November 2012 00:58
  To: dev@cordova.apache.org
  Subject: RE: tag 2.3.0rc1 this week?
  
  webos has been tagged 2.3.0rc1.
  
   From: simon.macdon...@gmail.com
   Date: Tue, 27 Nov 2012 12:21:54 -0500
   Subject: Re: tag 2.3.0rc1 this week?
   To: dev@cordova.apache.org
   
   I've checked in a fix for the back button problem.
   
   Simon Mac Donald
   http://hi.im/simonmacdonald
   
   
   On Mon, Nov 26, 2012 at 4:24 PM, Simon MacDonald
   simon.macdon...@gmail.comwrote:
   
Android tagged 2.3.0rc1. Passes mobile-spec automated and manual tests.
Except the back button over-ride. That appears to be a regression. 
Issue
opened:
   
https://issues.apache.org/jira/browse/CB-1938
   
Simon Mac Donald
http://hi.im/simonmacdonald
   
   
On Mon, Nov 26, 2012 at 3:42 PM, Shazron shaz...@gmail.com wrote:
   
iOS tagged 2.3.0rc1. Passes all mobile-spec tests, and 
InAppBrowser manual tests.
   
   
On Mon, Nov 26, 2012 at 12:05 PM, Shazron shaz...@gmail.com wrote:
   
 I'll get started for iOS/


 On Mon, Nov 26, 2012 at 11:28 AM, Anis KADRI 
 anis.ka...@gmail.com
wrote:

 Just tagged JS. First time I do this. I hope I didn't mess anything 
 up.


 On Mon, Nov 26, 2012 at 11:25 AM, Al Harding 
 alharding...@gmail.com
 wrote:

  Perfect; Joe is off today and tomorrow. Thanks Simon!
 
 
  On Mon, Nov 26, 2012 at 11:24 AM, Simon MacDonald  
  simon.macdon...@gmail.com
   wrote:
 
   Once someone does the JS I have volunteered to do Android.
   On Nov 26, 2012 2:14 PM, Steven Gill 
   stevengil...@gmail.com
 wrote:
  
Lets tag RC1 today!
   
   
On Fri, Nov 23, 2012 at 6:17 AM, Brian LeRoux 
b...@brian.io
wrote:
   
 :[


 On Wed, Nov 21, 2012 at 7:47 PM, Simon MacDonald
 simon.macdon...@gmail.comwrote:

  I'll go out on a limb and give a Mark Messier 
  level guarantee
 that
   the
  InAppBrowser for Android will before Monday. 
  Hopefully that
  reference
 isn't
  too painful for any fans of the NJ Devils or 
  whoever the
Rangers
  went
on
 to
  beat in the Stanley Cup that year. No one ever 
  remembers the
  losers.
 Well,
  maybe their long suffering fans do.
 
  *Lights bridge on fire before heading down to the
  gym.*
 
  Simon Mac Donald
  http://hi.im/simonmacdonald
 
 
  On Wed, Nov 21, 2012 at 2:38 PM, Filip Maj 
  f...@adobe.com
 wrote:
 
   Probably Monday with the states eating turkey 
   from Thursday
 til
Sunday
  
   On 11/21/12 11:34 AM, Simon MacDonald 
  simon.macdon...@gmail.com
   
  wrote:
  
   I'm actively working on InAppBrowser for 
   Android right
now. I
  just
  pushed
   manual tests to Mobile Spec and I plan to be 
   done with the
 code
  by
end
  of
   day Thursday. Since everyone I work with will 
   be off
 tomorrow I
expect
  an
   interruption free day.
   
   When is the tagging day for 2.3.0rc1 Friday? Monday?
   
   Simon Mac Donald http://hi.im/simonmacdonald
   
   
   On Wed, Nov 21, 2012 at 2:27 PM, Filip Maj 
   f...@adobe.com

  wrote:
   
If we can land it for 2.3.0 proper, then I 
think we
should
  move
  forward
with the rc.
   
On 11/21/12 11:23 AM, Andrew Grieve 
 agri...@chromium.org
wrote:
   
I know we try not to hold releases up on 
features, but
I
  think
   it
  will
   be
strange to release 2.3 with 

RE: tag 2.3.0rc1 this week?

2012-11-28 Thread Leutwyler, Markus
Hi Herm,

Was my pull request included?

https://github.com/apache/incubator-cordova-js/pull/45

Thanks

Markus

-Original Message-
From: Herm Wong [mailto:kingoftheo...@hotmail.com] 
Sent: Mittwoch, 28. November 2012 00:58
To: dev@cordova.apache.org
Subject: RE: tag 2.3.0rc1 this week?

webos has been tagged 2.3.0rc1.

 From: simon.macdon...@gmail.com
 Date: Tue, 27 Nov 2012 12:21:54 -0500
 Subject: Re: tag 2.3.0rc1 this week?
 To: dev@cordova.apache.org
 
 I've checked in a fix for the back button problem.
 
 Simon Mac Donald
 http://hi.im/simonmacdonald
 
 
 On Mon, Nov 26, 2012 at 4:24 PM, Simon MacDonald
 simon.macdon...@gmail.comwrote:
 
  Android tagged 2.3.0rc1. Passes mobile-spec automated and manual tests.
  Except the back button over-ride. That appears to be a regression. 
  Issue
  opened:
 
  https://issues.apache.org/jira/browse/CB-1938
 
  Simon Mac Donald
  http://hi.im/simonmacdonald
 
 
  On Mon, Nov 26, 2012 at 3:42 PM, Shazron shaz...@gmail.com wrote:
 
  iOS tagged 2.3.0rc1. Passes all mobile-spec tests, and InAppBrowser 
  manual tests.
 
 
  On Mon, Nov 26, 2012 at 12:05 PM, Shazron shaz...@gmail.com wrote:
 
   I'll get started for iOS/
  
  
   On Mon, Nov 26, 2012 at 11:28 AM, Anis KADRI 
   anis.ka...@gmail.com
  wrote:
  
   Just tagged JS. First time I do this. I hope I didn't mess anything up.
  
  
   On Mon, Nov 26, 2012 at 11:25 AM, Al Harding 
   alharding...@gmail.com
   wrote:
  
Perfect; Joe is off today and tomorrow. Thanks Simon!
   
   
On Mon, Nov 26, 2012 at 11:24 AM, Simon MacDonald  
simon.macdon...@gmail.com
 wrote:
   
 Once someone does the JS I have volunteered to do Android.
 On Nov 26, 2012 2:14 PM, Steven Gill 
 stevengil...@gmail.com
   wrote:

  Lets tag RC1 today!
 
 
  On Fri, Nov 23, 2012 at 6:17 AM, Brian LeRoux b...@brian.io
  wrote:
 
   :[
  
  
   On Wed, Nov 21, 2012 at 7:47 PM, Simon MacDonald
   simon.macdon...@gmail.comwrote:
  
I'll go out on a limb and give a Mark Messier level 
guarantee
   that
 the
InAppBrowser for Android will before Monday. Hopefully 
that
reference
   isn't
too painful for any fans of the NJ Devils or whoever 
the
  Rangers
went
  on
   to
beat in the Stanley Cup that year. No one ever 
remembers the
losers.
   Well,
maybe their long suffering fans do.
   
*Lights bridge on fire before heading down to the 
gym.*
   
Simon Mac Donald
http://hi.im/simonmacdonald
   
   
On Wed, Nov 21, 2012 at 2:38 PM, Filip Maj 
f...@adobe.com
   wrote:
   
 Probably Monday with the states eating turkey from 
 Thursday
   til
  Sunday

 On 11/21/12 11:34 AM, Simon MacDonald 
simon.macdon...@gmail.com
 
wrote:

 I'm actively working on InAppBrowser for Android 
 right
  now. I
just
pushed
 manual tests to Mobile Spec and I plan to be done 
 with the
   code
by
  end
of
 day Thursday. Since everyone I work with will be 
 off
   tomorrow I
  expect
an
 interruption free day.
 
 When is the tagging day for 2.3.0rc1 Friday? Monday?
 
 Simon Mac Donald
 http://hi.im/simonmacdonald
 
 
 On Wed, Nov 21, 2012 at 2:27 PM, Filip Maj 
 f...@adobe.com
  
wrote:
 
  If we can land it for 2.3.0 proper, then I think 
  we
  should
move
forward
  with the rc.
 
  On 11/21/12 11:23 AM, Andrew Grieve 
   agri...@chromium.org
  wrote:
 
  I know we try not to hold releases up on 
  features, but
  I
think
 it
will
 be
  strange to release 2.3 with InAppBrowser for iOS 
  and
  not
   have
 it
  on
any
  other platforms. What do you guys think of 
  waiting for
  https://issues.apache.org/jira/browse/CB-1508 ?
  
  
  On Wed, Nov 21, 2012 at 11:45 AM, Simon 
  MacDonald simon.macdon...@gmail.com
   wrote:
  
   Only a bunch of Canadians would want to tag a 
   new
   release
on
American
   Thanksgiving but...
  
   +1
  
   Simon Mac Donald http://hi.im/simonmacdonald
  
  
   On Tue, Nov 20, 2012 at 2:14 PM, Steven Gill 
stevengil...@gmail.com
 
   wrote:
  
+1
   
On Tue, Nov 20, 2012 at 11:06 AM, Filip Maj 
f...@adobe.com
 
wrote:
   
 Bump. Lets get this show on the road.

 On 11/18/12 5:04 PM, Brian LeRoux 
 b...@brian.io
wrote:
   

RE: [jira] [Updated] (CB-1905) Update JavaScript for webOS

2012-11-22 Thread Leutwyler, Markus
Michael and Herm,

I just created a pull request to fix network type codes and to add network 
online/offline support plus window pause/resume support to cordova-js webOS:

https://github.com/apache/incubator-cordova-js/pull/45

Herm: do you want to test? Should we add this to 2.2.3?

Markus

-Original Message-
From: Michael Brooks (JIRA) [mailto:j...@apache.org] 
Sent: Mittwoch, 21. November 2012 22:22
To: Leutwyler, Markus
Subject: [jira] [Updated] (CB-1905) Update JavaScript for webOS


 [ 
https://issues.apache.org/jira/browse/CB-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Brooks updated CB-1905:
---

Affects Version/s: (was: 2.2.0)
   2.3.0
Fix Version/s: (was: 2.2.0)
   2.3.0
  Summary: Update JavaScript for webOS  (was: CLONE - CLONE - 
Update JavaScript for webOS)

 Update JavaScript for webOS
 ---

 Key: CB-1905
 URL: https://issues.apache.org/jira/browse/CB-1905
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: webOS
Affects Versions: 2.3.0
Reporter: Michael Brooks
Assignee: Markus Leutwyler
 Fix For: 2.3.0


 Update the cordova.js after Cordova-JS has been tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators 
For more information on JIRA, see: http://www.atlassian.com/software/jira


RE: online/offline Events

2012-11-14 Thread Leutwyler, Markus
In lib/common/plugin/network.js on Line 49

if (info === none) {

Am I wrong or will this statement never be true since the plugins return the 
connection as Connection.NONE?

What I'm seeing is that the event online is fired as Connection.NONE is passed 
in

Markus

-Original Message-
From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve
Sent: Dienstag, 13. November 2012 18:41
To: dev
Subject: Re: online/offline Events

The spec says to fire an online event whenever the connection type changes, and 
to fire an offline event only when you lose your connection. It's not the most 
obvious, but probably your multiple event firing is working as intended.

To answer your second question, I think what you're looking for is 
navigator.onLine. It's derived from the connection type here:
https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=blob;f=lib/common/plugin/network.js;h=63736a954762b17d4383239a8afa46a81ce88a3a;hb=HEAD#l31



On Tue, Nov 13, 2012 at 9:00 AM, Leutwyler, Markus
markus.leutwy...@hp.comwrote:

 I'm able to successfully setup  a webOS specific service call in the
 initialize() function in platform.js ... this will keep track of any 
 connection changes but fires multiple events in case Wifi is turned on 
 (and not connected to an AP) and then again if connected with an AP. I 
 convert those events to offline/online document events (via 
 cordova.fireDocumentEvent). Is there a way to add a global 
 online/offline status/variable somewhere and only fire document events 
 if there's an actual change from offline to online?

 Markus

 -Original Message-
 From: agri...@google.com [mailto:agri...@google.com] On Behalf Of 
 Andrew Grieve
 Sent: Mittwoch, 7. November 2012 16:27
 To: dev
 Subject: Re: online/offline Events

 Here's the Android impl:

 https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.gi
 t;a=blob;f=framework/src/org/apache/cordova/NetworkManager.java;h=5d87
 91809227877d604c98cf029c26242d9642b8;hb=HEAD

 The JS performs a Connection.getConnectionInfo(), and then the native 
 plugin returns the connection status but sets keepCallback to true. 
 Then, whenever the connection type changes, it sends another plugin 
 result and always sets keepCallback to true.


 On Wed, Nov 7, 2012 at 9:57 AM, Leutwyler, Markus
 markus.leutwy...@hp.comwrote:

  I saw that ... but how is that handled by the platform specific plugins?
 
  Markus
 
  -Original Message-
  From: Simon MacDonald [mailto:simon.macdon...@gmail.com]
  Sent: Mittwoch, 7. November 2012 15:56
  To: dev@cordova.apache.org
  Subject: Re: online/offline Events
 
  lolz I didn't read what list this was on. The src for network.js is at:
 
 
  https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a
  =b
  lob;f=lib/common/plugin/network.js;h=adaba5ae8b6ec825986712d8b99e660
  10
  5e56ae9;hb=HEAD
 
  The way we have it setup is the native side sends the JS side an 
  update whenever the network connection changes. If the type == 'none'
  then we fire an offline event. Otherwise you fire the online event.
 
  Simon Mac Donald
  http://hi.im/simonmacdonald
 
 
  On Wed, Nov 7, 2012 at 9:47 AM, Leutwyler, Markus
  markus.leutwy...@hp.comwrote:
 
   I was actually looking for a code example (in cordova-js) of a 
   platform that sends out those events (because I'm investigating 
   how to add support for those to webOS)
  
   Markus
  
   -Original Message-
   From: Simon MacDonald [mailto:simon.macdon...@gmail.com]
   Sent: Mittwoch, 7. November 2012 15:39
   To: dev@cordova.apache.org
   Subject: Re: online/offline Events
  
   http://docs.phonegap.com/en/2.2.0/cordova_events_events.md.html#on
   li
   ne
   http://docs.phonegap.com/en/2.2.0/cordova_events_events.md.html#of
   fl
   in
   e
  
   Simon Mac Donald
   http://hi.im/simonmacdonald
  
  
   On Wed, Nov 7, 2012 at 9:36 AM, Leutwyler, Markus
   markus.leutwy...@hp.comwrote:
  
Is there a platform that sends out online/offline event to the 
document when the connection status changes? I didn't find any 
examples
   
Thanks
   
Markus
   
  
 



RE: online/offline Events

2012-11-07 Thread Leutwyler, Markus
I saw that ... but how is that handled by the platform specific plugins?

Markus

-Original Message-
From: Simon MacDonald [mailto:simon.macdon...@gmail.com] 
Sent: Mittwoch, 7. November 2012 15:56
To: dev@cordova.apache.org
Subject: Re: online/offline Events

lolz I didn't read what list this was on. The src for network.js is at:

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=blob;f=lib/common/plugin/network.js;h=adaba5ae8b6ec825986712d8b99e660105e56ae9;hb=HEAD

The way we have it setup is the native side sends the JS side an update 
whenever the network connection changes. If the type == 'none' then we fire an 
offline event. Otherwise you fire the online event.

Simon Mac Donald
http://hi.im/simonmacdonald


On Wed, Nov 7, 2012 at 9:47 AM, Leutwyler, Markus
markus.leutwy...@hp.comwrote:

 I was actually looking for a code example (in cordova-js) of a 
 platform that sends out those events (because I'm investigating how to 
 add support for those to webOS)

 Markus

 -Original Message-
 From: Simon MacDonald [mailto:simon.macdon...@gmail.com]
 Sent: Mittwoch, 7. November 2012 15:39
 To: dev@cordova.apache.org
 Subject: Re: online/offline Events

 http://docs.phonegap.com/en/2.2.0/cordova_events_events.md.html#online
 http://docs.phonegap.com/en/2.2.0/cordova_events_events.md.html#offlin
 e

 Simon Mac Donald
 http://hi.im/simonmacdonald


 On Wed, Nov 7, 2012 at 9:36 AM, Leutwyler, Markus
 markus.leutwy...@hp.comwrote:

  Is there a platform that sends out online/offline event to the 
  document when the connection status changes? I didn't find any 
  examples
 
  Thanks
 
  Markus
 



RE: 2.2.0rc2 Monday?

2012-11-01 Thread Leutwyler, Markus
Hi Herm,

Since i included a locally built version of cordova.webos.js with the webOS 
Phonegap distribution tagged with 2.2.0, the cordova-js repo is now out of sync 
with that, as two of my pull-requests are still open there ... 
https://github.com/apache/incubator-cordova-js/pull/40 and 37

Markus

-Original Message-
From: Herm Wong [mailto:kingoftheo...@hotmail.com] 
Sent: Mittwoch, 31. Oktober 2012 21:34
To: dev@cordova.apache.org
Subject: RE: 2.2.0rc2 Monday?

Markus, your fork of the repo was a bit out of date. I was able to cherry pick 
your commits but lost your commit history when doing the merge.
I verified and tested that your changes are in the apache repo.

 From: shaz...@gmail.com
 Date: Wed, 31 Oct 2012 01:40:33 -0700
 Subject: Re: 2.2.0rc2 Monday?
 To: dev@cordova.apache.org
 
 Instructions:
 https://git-wip-us.apache.org/
 
 Projects:
 https://git-wip-us.apache.org/repos/asf
 
 On Wed, Oct 31, 2012 at 1:35 AM, Shazron shaz...@gmail.com wrote:
  Something's wrong with the Apache repo sync to Github. The canonical 
  repo is at 
  https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-webos.gi
  t;a=summary
 
  On Wed, Oct 31, 2012 at 1:27 AM, Leutwyler, Markus 
  markus.leutwy...@hp.com wrote:
  Thanks ... shouldn't I see the merged changes in 
  https://github.com/apache/incubator-cordova-webos?
 
  Markus
 
  -Original Message-
  From: Herm Wong [mailto:kingoftheo...@hotmail.com]
  Sent: Dienstag, 30. Oktober 2012 23:13
  To: dev@cordova.apache.org
  Subject: RE: 2.2.0rc2 Monday?
 
  The changes have been merged.
 
  From: markus.leutwy...@hp.com
  To: dev@cordova.apache.org
  Subject: RE: 2.2.0rc2 Monday?
  Date: Tue, 30 Oct 2012 11:59:55 +
 
  Here is the pull request
 
  https://github.com/apache/incubator-cordova-webos/pull/3
 
  Markus
 
  -Original Message-
  From: Herm Wong [mailto:kingoftheo...@hotmail.com]
  Sent: Montag, 29. Oktober 2012 18:50
  To: dev@cordova.apache.org
  Subject: RE: 2.2.0rc2 Monday?
 
  Go for it.
 
   From: markus.leutwy...@hp.com
   To: dev@cordova.apache.org
   Subject: RE: 2.2.0rc2 Monday?
   Date: Mon, 29 Oct 2012 08:37:49 +
  
   Any reason the webOS Part of 2.2.0rc2 doesn't include the updated 
   cordova-js for webOS? Should I go ahead an include cordova-js, update 
   the Makefile etc.?
  
   Markus
  
   -Original Message-
   From: Herm Wong [mailto:kingoftheo...@hotmail.com]
   Sent: Samstag, 27. Oktober 2012 00:49
   To: dev@cordova.apache.org
   Subject: RE: 2.2.0rc2 Monday?
  
   updated the issue tracker.
   everything was merged and tested a couple of days ago.
  
From: f...@adobe.com
To: dev@cordova.apache.org
Date: Fri, 26 Oct 2012 13:42:20 -0700
Subject: Re: 2.2.0rc2 Monday?
   
How is webos tagged but the Javascript not updated? Im 
assuming the issue was not resolved? comeon people!
   
On 10/26/12 1:40 PM, Steven Gill stevengil...@gmail.com wrote:
   
WP7  docs haven't been tagged yet.

-Steve

On Fri, Oct 26, 2012 at 1:38 PM, Filip Maj f...@adobe.com wrote:

 All the tasks are done. Steve did you make the release? 
 Let's make some noise about it.

 On 10/26/12 1:14 PM, Andrew Grieve agri...@chromium.org wrote:

 Okay, Simon, Bryce and I worked through the (final?) issue 
 they were seeing with CB-1745.
 
 I've re-tagged the JS and Android again. Let's get this 
 release
rolling!
 
 
 On Fri, Oct 26, 2012 at 1:37 PM, Gord Tanner 
 g...@tinyhippos.com
wrote:
 
  thanks :)
 
  Teach a man to fish!
 
  retagged blackberry
 
  On Fri, Oct 26, 2012 at 1:14 PM, Andrew Grieve 
  agri...@chromium.org
  wrote:
 
   FYI - the problem I was facing was not knowing the git 
   foo for
pushing
   tags. To re-tag:
  
   git fetch apache # Fetch tags git tag --force 2.2.0rc2 
   # Re-tag locally git push apache master --tag # Push 
   tags
  
   I'll put this on the CuttingReleases wiki page.
  
  
   On Fri, Oct 26, 2012 at 1:11 PM, Gord Tanner 
   g...@tinyhippos.com
  wrote:
  
anyone have any objections of getting this fix into 
blackberry
for
 2.2?
   
   
   
  
 
 

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-
blac
kb
er
ry-we
 bworks.git;a=commit;h=6ae80d9ac480f01c2d5734656a7f33c044d
 1113
 9
   
also I fail at teh git so if there is no objections 
could someone
 retag
blackberry for me?
   
On Fri, Oct 26, 2012 at 10:42 AM, Andrew Grieve
 agri...@chromium.org
wrote:
   
 Sounds good. I've now re-tagged the JS and Android.


 On Thu, Oct 25, 2012 at 10:56 PM, Simon MacDonald 
  simon.macdon...@gmail.com
  wrote:

  I'm still seeing the bug but I don't think

RE: 2.2.0rc2 Monday?

2012-10-31 Thread Leutwyler, Markus
?
   
   
On Thu, Oct 25, 2012 at 2:46 PM, Andrew 
Grieve 
   agri...@chromium.org
wrote:
   
 I still need to re-tag android. Just 
finishing up
fixes
  for
  CB-1744
   
and
   
CB-1745
   
   
On Thu, Oct 25, 2012 at 2:45 PM, Filip 
Maj 
  f...@adobe.com
  wrote:
   
 Cordova-mac, docs and WP7 are all that零
left
   
   
On 10/25/12 11:44 AM, Herm Wong 
kingoftheo...@hotmail.com
   
wrote:
   
webOS tagged 2.2.0rc2.
   
 From: simon.macdon...@gmail.com
Date: Thu, 25 Oct 2012 12:08:38 -0400
Subject: Re: 2.2.0rc2 Monday?
To: 
callback-dev@incubator.apache.**org
   callback-...@incubator.apache.org
   
If I had know about the bug before 
you tagged
   I
 would
   have
   
opened an
   
issue.
It was exposed by running mobile spec 
on an
Android
  2.2
  emulator
   
while
I
   
was in the gym. Over 50% of the 
automated tests
 failed.
  Basically
anything that was returning a string 
payload from the
   Java
 side
   did
 not
   
work.
   
Simon Mac Donald
http://hi.im/simonmacdonald
   
   
On Wed, Oct 24, 2012 at 4:38 PM, Joe 
Bowser 
  bows...@gmail.com
   
wrote:
   
What bug? Do we have a way to test it?
   
We're still in an RC, so it's ok for 
there
   to be
  bugs.
That
   
being
   
said, I wish this was in JIRA so that I 
knew
   about it
  before
   
tagging.
   
Joe
   
On Wed, Oct 24, 2012 at 1:33 PM, 
Simon
   MacDonald
simon.macdon...@gmail.com wrote:
   
Okay JS and Android re-tagged to
2.2.0
   cause of
 soem
 Android
   
2.2
   
craziness.
   
Simon Mac Donald 
http://hi.im/simonmacdonald
   
   
On Wed, Oct 24, 2012 at 4:24 PM, 
Simon
MacDonald
simon.macdon...@gmail.com**wrote:
   
 I have to re-tag JS and Android. 
There is a
bug
  that
 causes
   
almost
   
everything to fail on Android 2.2. The 
code is
   in
the
   
Android
   
version of
   
exec so other platforms will not 
need to
   pick up
 the
   new
 JS.
   
Simon Mac Donald 
http://hi.im/simonmacdonald
   
   
On Wed, Oct 24, 2012 at 4:00 PM, 
Joe Bowser
   
bows...@gmail.com
   
wrote:
   
Tagged Android. It's ready to go!
   
On Wed, Oct 24, 2012 at 12:57 PM, 
Shazron
   
shaz...@gmail.com
   
wrote:
   
I'll update the iOS bits right now.
   
On Wed, Oct 24, 2012 at 11:57 
AM, Filip
   Maj
   
f...@adobe.com
   
wrote:
   
JS. Mobile spec and hello world app 
is
   tagged.
   
Gogo!
   
On 10/19/12 1:41 AM, Leutwyler, 
Markus
   
markus.leutwy...@hp.com
   
wrote:
   
+1
   
Let me know if you need any 
help
   
Markus
   
-Original Message-
From: Filip Maj 
[mailto:f...@adobe.com]
Sent: Donnerstag, 18. Oktober
2012
   20:47
To:
   callback-dev@incubator.apache.**org
   callback-...@incubator.apache.org
Subject: 2.2.0rc2 Monday?
   
That cool? Would be good to 
get a
cordova-js
friendly
   
version
   
of
   
webos
   
out there.
   
   
   
   
   
   
   
  
 

   
  
  
  
   --
   Gord Tanner
   Senior Developer / Code Poet tinyHippos Inc

RE: 2.2.0rc2 Monday?

2012-10-31 Thread Leutwyler, Markus
Thanks

Markus

-Original Message-
From: Shazron [mailto:shaz...@gmail.com] 
Sent: Mittwoch, 31. Oktober 2012 09:35
To: dev@cordova.apache.org
Subject: Re: 2.2.0rc2 Monday?

Something's wrong with the Apache repo sync to Github. The canonical repo is at 
https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-webos.git;a=summary

On Wed, Oct 31, 2012 at 1:27 AM, Leutwyler, Markus markus.leutwy...@hp.com 
wrote:
 Thanks ... shouldn't I see the merged changes in 
 https://github.com/apache/incubator-cordova-webos?

 Markus

 -Original Message-
 From: Herm Wong [mailto:kingoftheo...@hotmail.com]
 Sent: Dienstag, 30. Oktober 2012 23:13
 To: dev@cordova.apache.org
 Subject: RE: 2.2.0rc2 Monday?

 The changes have been merged.

 From: markus.leutwy...@hp.com
 To: dev@cordova.apache.org
 Subject: RE: 2.2.0rc2 Monday?
 Date: Tue, 30 Oct 2012 11:59:55 +

 Here is the pull request

 https://github.com/apache/incubator-cordova-webos/pull/3

 Markus

 -Original Message-
 From: Herm Wong [mailto:kingoftheo...@hotmail.com]
 Sent: Montag, 29. Oktober 2012 18:50
 To: dev@cordova.apache.org
 Subject: RE: 2.2.0rc2 Monday?

 Go for it.

  From: markus.leutwy...@hp.com
  To: dev@cordova.apache.org
  Subject: RE: 2.2.0rc2 Monday?
  Date: Mon, 29 Oct 2012 08:37:49 +
 
  Any reason the webOS Part of 2.2.0rc2 doesn't include the updated 
  cordova-js for webOS? Should I go ahead an include cordova-js, update the 
  Makefile etc.?
 
  Markus
 
  -Original Message-
  From: Herm Wong [mailto:kingoftheo...@hotmail.com]
  Sent: Samstag, 27. Oktober 2012 00:49
  To: dev@cordova.apache.org
  Subject: RE: 2.2.0rc2 Monday?
 
  updated the issue tracker.
  everything was merged and tested a couple of days ago.
 
   From: f...@adobe.com
   To: dev@cordova.apache.org
   Date: Fri, 26 Oct 2012 13:42:20 -0700
   Subject: Re: 2.2.0rc2 Monday?
  
   How is webos tagged but the Javascript not updated? Im assuming 
   the issue was not resolved? comeon people!
  
   On 10/26/12 1:40 PM, Steven Gill stevengil...@gmail.com wrote:
  
   WP7  docs haven't been tagged yet.
   
   -Steve
   
   On Fri, Oct 26, 2012 at 1:38 PM, Filip Maj f...@adobe.com wrote:
   
All the tasks are done. Steve did you make the release? Let's 
make some noise about it.
   
On 10/26/12 1:14 PM, Andrew Grieve agri...@chromium.org wrote:
   
Okay, Simon, Bryce and I worked through the (final?) issue 
they were seeing with CB-1745.

I've re-tagged the JS and Android again. Let's get this 
release
   rolling!


On Fri, Oct 26, 2012 at 1:37 PM, Gord Tanner 
g...@tinyhippos.com
   wrote:

 thanks :)

 Teach a man to fish!

 retagged blackberry

 On Fri, Oct 26, 2012 at 1:14 PM, Andrew Grieve 
 agri...@chromium.org
 wrote:

  FYI - the problem I was facing was not knowing the git 
  foo for
   pushing
  tags. To re-tag:
 
  git fetch apache # Fetch tags git tag --force 2.2.0rc2 # 
  Re-tag locally git push apache master --tag # Push tags
 
  I'll put this on the CuttingReleases wiki page.
 
 
  On Fri, Oct 26, 2012 at 1:11 PM, Gord Tanner 
  g...@tinyhippos.com
 wrote:
 
   anyone have any objections of getting this fix into 
   blackberry
   for
2.2?
  
  
  
 


   
   https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-bla
   c
   kb
   er
   ry-we
bworks.git;a=commit;h=6ae80d9ac480f01c2d5734656a7f33c044d111
3
9
  
   also I fail at teh git so if there is no objections 
   could someone
retag
   blackberry for me?
  
   On Fri, Oct 26, 2012 at 10:42 AM, Andrew Grieve
agri...@chromium.org
   wrote:
  
Sounds good. I've now re-tagged the JS and Android.
   
   
On Thu, Oct 25, 2012 at 10:56 PM, Simon MacDonald  
simon.macdon...@gmail.com
 wrote:
   
 I'm still seeing the bug but I don't think it 
 should hold up
   the
   tagging
of
 2.2.0rc2 at this point. I created a small sync 
 Plugin for
testing
 and
   it
 runs fine in my mobile spec test case. Now the same 
 plugin
called
 in
   the
 downstream app which uses the same Android library 
 project
   for
  Cordova
and
 the same .js file returns the wrong value when I 
 call the
plugin.
 At
   this
 point I'm not convinced it is a Cordova issue.

 Simon Mac Donald
 http://hi.im/simonmacdonald


 On Thu, Oct 25, 2012 at 8:56 PM, Andrew Grieve 
 agri...@chromium.org
  
 wrote:

  Joe - my thinking here is that it's fine to 
  re-tag and
   re-tag
 until
   we
  actually produce an RC with everything tagged. 
  rc2 is
   still

RE: 2.2.0rc2 Monday?

2012-10-31 Thread Leutwyler, Markus
Hi Herm,

Thanks ... will you do the necessary tagging so this new stuff goes into 2.2.0?

Markus

-Original Message-
From: Herm Wong [mailto:kingoftheo...@hotmail.com] 
Sent: Mittwoch, 31. Oktober 2012 21:34
To: dev@cordova.apache.org
Subject: RE: 2.2.0rc2 Monday?

Markus, your fork of the repo was a bit out of date. I was able to cherry pick 
your commits but lost your commit history when doing the merge.
I verified and tested that your changes are in the apache repo.

 From: shaz...@gmail.com
 Date: Wed, 31 Oct 2012 01:40:33 -0700
 Subject: Re: 2.2.0rc2 Monday?
 To: dev@cordova.apache.org
 
 Instructions:
 https://git-wip-us.apache.org/
 
 Projects:
 https://git-wip-us.apache.org/repos/asf
 
 On Wed, Oct 31, 2012 at 1:35 AM, Shazron shaz...@gmail.com wrote:
  Something's wrong with the Apache repo sync to Github. The canonical 
  repo is at 
  https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-webos.gi
  t;a=summary
 
  On Wed, Oct 31, 2012 at 1:27 AM, Leutwyler, Markus 
  markus.leutwy...@hp.com wrote:
  Thanks ... shouldn't I see the merged changes in 
  https://github.com/apache/incubator-cordova-webos?
 
  Markus
 
  -Original Message-
  From: Herm Wong [mailto:kingoftheo...@hotmail.com]
  Sent: Dienstag, 30. Oktober 2012 23:13
  To: dev@cordova.apache.org
  Subject: RE: 2.2.0rc2 Monday?
 
  The changes have been merged.
 
  From: markus.leutwy...@hp.com
  To: dev@cordova.apache.org
  Subject: RE: 2.2.0rc2 Monday?
  Date: Tue, 30 Oct 2012 11:59:55 +
 
  Here is the pull request
 
  https://github.com/apache/incubator-cordova-webos/pull/3
 
  Markus
 
  -Original Message-
  From: Herm Wong [mailto:kingoftheo...@hotmail.com]
  Sent: Montag, 29. Oktober 2012 18:50
  To: dev@cordova.apache.org
  Subject: RE: 2.2.0rc2 Monday?
 
  Go for it.
 
   From: markus.leutwy...@hp.com
   To: dev@cordova.apache.org
   Subject: RE: 2.2.0rc2 Monday?
   Date: Mon, 29 Oct 2012 08:37:49 +
  
   Any reason the webOS Part of 2.2.0rc2 doesn't include the updated 
   cordova-js for webOS? Should I go ahead an include cordova-js, update 
   the Makefile etc.?
  
   Markus
  
   -Original Message-
   From: Herm Wong [mailto:kingoftheo...@hotmail.com]
   Sent: Samstag, 27. Oktober 2012 00:49
   To: dev@cordova.apache.org
   Subject: RE: 2.2.0rc2 Monday?
  
   updated the issue tracker.
   everything was merged and tested a couple of days ago.
  
From: f...@adobe.com
To: dev@cordova.apache.org
Date: Fri, 26 Oct 2012 13:42:20 -0700
Subject: Re: 2.2.0rc2 Monday?
   
How is webos tagged but the Javascript not updated? Im 
assuming the issue was not resolved? comeon people!
   
On 10/26/12 1:40 PM, Steven Gill stevengil...@gmail.com wrote:
   
WP7  docs haven't been tagged yet.

-Steve

On Fri, Oct 26, 2012 at 1:38 PM, Filip Maj f...@adobe.com wrote:

 All the tasks are done. Steve did you make the release? 
 Let's make some noise about it.

 On 10/26/12 1:14 PM, Andrew Grieve agri...@chromium.org wrote:

 Okay, Simon, Bryce and I worked through the (final?) issue 
 they were seeing with CB-1745.
 
 I've re-tagged the JS and Android again. Let's get this 
 release
rolling!
 
 
 On Fri, Oct 26, 2012 at 1:37 PM, Gord Tanner 
 g...@tinyhippos.com
wrote:
 
  thanks :)
 
  Teach a man to fish!
 
  retagged blackberry
 
  On Fri, Oct 26, 2012 at 1:14 PM, Andrew Grieve 
  agri...@chromium.org
  wrote:
 
   FYI - the problem I was facing was not knowing the git 
   foo for
pushing
   tags. To re-tag:
  
   git fetch apache # Fetch tags git tag --force 2.2.0rc2 
   # Re-tag locally git push apache master --tag # Push 
   tags
  
   I'll put this on the CuttingReleases wiki page.
  
  
   On Fri, Oct 26, 2012 at 1:11 PM, Gord Tanner 
   g...@tinyhippos.com
  wrote:
  
anyone have any objections of getting this fix into 
blackberry
for
 2.2?
   
   
   
  
 
 

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-
blac
kb
er
ry-we
 bworks.git;a=commit;h=6ae80d9ac480f01c2d5734656a7f33c044d
 1113
 9
   
also I fail at teh git so if there is no objections 
could someone
 retag
blackberry for me?
   
On Fri, Oct 26, 2012 at 10:42 AM, Andrew Grieve
 agri...@chromium.org
wrote:
   
 Sounds good. I've now re-tagged the JS and Android.


 On Thu, Oct 25, 2012 at 10:56 PM, Simon MacDonald 
  simon.macdon...@gmail.com
  wrote:

  I'm still seeing the bug but I don't think it 
  should hold up
the
tagging
 of
  2.2.0rc2 at this point. I created a small sync 
  Plugin for
 testing
  and
it
  runs fine in my