Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting

2018-03-05 Thread dcaliste
Hello Chris,

I wish to recover soon. No problem, I will try to finish my DAV cleanup so we 
may target the task handling for next month.

Damien. 

Le Lundi 5 mars 2018, Chris Adams a écrit :
> Hi everyone,
> 
> I am going to have to cancel the meeting tonight - I'm quite ill at the 
> moment so not at work.  I also did not get any spare time to work on the 
> CalDAV/CardDAV action points over the last month, unfortunately, so this 
> meeting would primarily be a re-hash of last month's meeting.
> 
> One new issue was raised by a community member via email: apparently we don't 
> handle differing line endings correctly in some cases (e.g. \n vs \r\n 
> endings on UID field) which should be investigated.
> 
> So, let's aim for the next meeting in a month's time.  Sorry for the late 
> notice.
> 
> Best regards,
> Chris.
> 
> 
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Chris Adams 
> [chris.ad...@jolla.com]
> Sent: Friday, February 02, 2018 4:41 PM
> To: Sailfish OS Developers; Andrew Branson
> Subject: Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting
> 
> Hi everyone,
> 
> This is a quick reminder that we have the first CalDAV/CardDAV contributor 
> meeting of the year, this coming Monday the 5th of February at 0800 UTC (not 
> 0900 UTC, since we agreed to move it forward one hour).
> 
> Please find the agenda for the upcoming meeting in the wiki:
> https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#05.2F02.2F2017_Meeting
> 
> Some issues were noted on TJC which I'll try to fix over the weekend and get 
> PRs up, but things are super busy at the moment so I can't promise that I'll 
> manage to get that done.  The issues are fairly easy to fix, so if I haven't 
> fixed them by Monday night, and you're a new contributor who wants to help 
> out, please come along to the meeting so we can discuss and I can point you 
> to the bit of code which needs fixing for those cases :-)
> 
> Best regards,
> Chris.
> 
> 
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Chris Adams 
> [chris.ad...@jolla.com]
> Sent: Monday, December 11, 2017 8:20 PM
> To: Andrew Branson; Sailfish OS Developers
> Cc: Andrew Branson
> Subject: Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting
> 
> Hi everyone,
> 
> Please find the summary of the meeting in the wiki:
> https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#11.2F12.2F2017_Meeting
> 
> The full log can be found at:
> http://merproject.org/meetings/mer-meeting/2017/mer-meeting.2017-12-11-09.00.log.html
> 
> The next meeting will be held on the first Monday of February (not January, 
> due to vacations etc) at 0800 UTC (instead of the usual 0900 UTC).
> 
> The major topic of the meeting was about dcaliste's contribution of the 
> webdav sync plugin, which would allow synchronisation of the contents of a 
> local folder with a remote server.  We discussed the need to have a 
> contribution flow whereby community members can ask for their project to be 
> built within Mer infrastructure in a "stepping stone" mer:contrib OBS project 
> (which can be used for early-access testing etc) which eventually can be 
> imported into mer:core.
> 
> Andrew kindly agreed to take ownership of that task (setting up the OBS 
> project, creating packages in that project, ensuring that webhooks are set 
> correctly, etc).  There are a few things to figure out (e.g. separated 
> feature repos to ensure separation of packages for testing correctness and 
> stability) but we hope to have the webdav plugin building before the end of 
> the year.  Once we have the practicalities sorted out, we can define and 
> document a process whereby more projects can be added in this fashion.
> 
> Best regards,
> Chris.
> 
> 
> 
> From: Andrew Branson [andrew.bran...@jollamobile.com]
> Sent: Friday, December 08, 2017 7:00 PM
> To: Chris Adams; Sailfish OS Developers
> Cc: Andrew Branson
> Subject: Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting
> 
> Hi,
> 
> 08h00 UTC is fine for me as I'm on CET (+1). Are they any GMT'ers
> wanting to participate?
> 
> Andy
> 
> On 08/12/17 08:26, Chris Adams wrote:
> > Hi Damien,
> >
> > Let's keep it at 0900 for the one this coming Monday night, because that 
> > probably suits Andrew Branson a bit better.  But we can move it forward to 
> > 0800 for meetings after that, let's discuss during the meeting :-)
> >
> > Thanks,
> > Chris.
> >
> > 
> > From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Damien 
> > Caliste [dcali...@free.fr]
> > Sent: Tuesday, December 05, 2017 5:55 PM
> > To: Sailfish OS Developers
> > Subject: Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting
> >
> > Hello Chris,
> >
> > Le 2017-12-04 04:15, Chris Adams a écrit :
> >> My apologies - but this will have to be postponed until next Monday.
> 

Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting

2017-11-04 Thread dcaliste
Hello,

Moving the meeting to the 13th is fine with me. It is even more convenient 
because next Monday had recently became a very busy day.

Have a nice weekend, 

Damien. 

Le Jeudi 2 novembre 2017, Chris Adams a écrit :
> Hi everyone,
> 
> The next Sailfish OS CalDAV/CardDAV contributor meeting was planned for this 
> coming Monday the 6th of November at 0900 UTC, however I am busy at that time 
> on that particular Monday, so have to postpone if possible until the Monday 
> after (the 13th) at 0900 UTC.  If that doesn't suit someone, please let me 
> know and we can arrange a different date or time.
> 
> Best regards,
> Chris.
> 
> 
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Chris Adams 
> [chris.ad...@jolla.com]
> Sent: Friday, September 29, 2017 11:45 AM
> To: Sailfish OS Developers
> Cc: Joona Petrell
> Subject: Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting
> 
> Hi everyone,
> 
> A quick reminder that the next Sailfish OS CalDAV/CardDAV contributor meeting 
> will be held this coming Monday the 2nd of October at 0900 UTC.  Note that 
> it's a public holiday here in Australia so I might be a few minutes late.  If 
> I am late, hopefully Pekka or Joona will be willing to start the meeting 
> without me.
> 
> The agenda can be found at:
> https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#02.2F10.2F2017_Meeting
> 
> The main item on the agenda is the discussion of TODO support in Sailfish OS.
> 
> Activity since the last meeting: dcaliste has been doing a heap of work.  
> There is a backlog of PRs which need secondary review.
> 
> Best regards,
> Chris.
> 
> 
> 
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Chris Adams 
> [chris.ad...@jolla.com]
> Sent: Monday, September 04, 2017 10:42 AM
> To: Sailfish OS Developers
> Subject: Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting
> 
> Hi everyone,
> 
> Once again, sorry for the late notice, the Sailfish OS CardDAV/CalDAV 
> Contributors meeting will be held at 0900 UTC today.  The agenda for the 
> meeting can be found at:
> https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#04.2F09.2F2017_Meeting
> 
> The log from the last meeting can be found at:
> http://merproject.org/meetings/mer-meeting/2017/mer-meeting.2017-08-07-09.00.log.html
> 
> The agenda will probably revolve around discussing dcaliste's investigation 
> into MER#1699 and MER#1805.  As mentioned in the previous couple of meetings, 
> there are a couple of lower-priority issues which are good candidates for new 
> contributors to take, also.  Please get in touch if you'd like to get 
> involved with those :-)
> 
> The next meeting after today's meeting is tentatively scheduled for Monday 
> October 2nd at 0900 UTC.
> 
> Best regards,
> Chris.
> 
> 
> 
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Chris Adams 
> [chris.ad...@jolla.com]
> Sent: Monday, August 07, 2017 1:26 PM
> To: Sailfish OS Developers
> Subject: Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting
> 
> Hi everyone,
> 
> Sorry for the late notice - just a reminder that the next Sailfish OS 
> CardDAV/CalDAV Contributors meeting will be held at 0900 UTC today.  The 
> agenda for the meeting can be found at:
> https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#07.2F08.2F2017_Meeting
> 
> The log from the last meeting can be found at:
> http://merproject.org/meetings/mer-meeting/2017/mer-meeting.2017-07-03-09.01.log.html
> 
> Unfortunately, due to company priorities and ongoing projects, I haven't had 
> a chance to investigate the "spurious local event modification" issue since 
> the last meeting.  If someone is able to investigate that one, please get in 
> touch and I'll give you some tips on how to get started, otherwise hopefully 
> I'll get a chance some time soon.
> 
> The next meeting after today is tentatively planned to be held on Monday the 
> 4th of September at 0900 UTC.
> 
> Best regards,
> Chris.
> 
> 
> 
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Chris Adams 
> [chris.ad...@jolla.com]
> Sent: Thursday, June 29, 2017 6:07 PM
> To: Sailfish OS Developers
> Subject: Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting
> 
> Hi everyone,
> 
> The log from the last meeting can be found at: 
> http://merproject.org/meetings/mer-meeting/2017/mer-meeting.2017-06-05-09.00.log.html
> 
> The next meeting will be held this coming Monday the 3rd of July at 0900 UTC.
> 

Re: [SailfishDevel] exclude requires from rpm: libstdc++

2017-09-18 Thread dcaliste
I think the regexp is wrong. You miss a . before the start. ^libstdc.*$

Hope it helps.

Damien. 

Le Lundi 18 septembre 2017, rinigus a écrit :
> Bump. Any takers (see below)? Would really help me out with mess induced by
> https://build.merproject.org/package/show/home:rinigus:maps/mapbox-demo-sfos
> at the corresponding repo.
> 
> Rinigus
> 
> On Sat, Sep 16, 2017 at 10:17 AM, rinigus  wrote:
> 
> > Hi,
> >
> > I have a trouble with excluding libstdc++ requirements from RPM. In my
> > case, I compile the code with gcc-6.4 and include libstdc++ as an
> > app-shipped library through /usr/share/appname/lib . Maybe someone could
> > help to construct exclude define - I didn't managed to cure the
> > requirements in spec using macro section
> >
> >
> > %define __provides_exclude_from ^%{_datadir}/.*$
> >
> > %define __requires_exclude ^libstdc*$
> >
> >
> > Not sure what I am doing wrong in this case. It would really speed me up
> > if I can get over this bump. RPM checker errors are:
> >
> >
> > ERROR [libstdc++.so.6(CXXABI_1.3.8)] Cannot require shared library:
> > 'libstdc++.so.6(CXXABI_1.3.8)'
> >
> > ERROR [libstdc++.so.6(CXXABI_1.3.9)] Cannot require shared library:
> > 'libstdc++.so.6(CXXABI_1.3.9)'
> >
> > ERROR [libstdc++.so.6(GLIBCXX_3.4.20)] Cannot require shared library:
> > 'libstdc++.so.6(GLIBCXX_3.4.20)'
> >
> > ERROR [libstdc++.so.6(GLIBCXX_3.4.21)] Cannot require shared library:
> > 'libstdc++.so.6(GLIBCXX_3.4.21)'
> >
> > ERROR [libstdc++.so.6(GLIBCXX_3.4.22)] Cannot require shared library:
> > 'libstdc++.so.6(GLIBCXX_3.4.22)'
> >
> >
> > Please note that, at this stage, I would prefer to ship libstdc++ lib
> > version with the application.
> >
> >
> > Cheers,
> >
> >
> > Rinigus
> >
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting

2017-02-06 Thread dcaliste
Hello Chris,

Thank you for keeping this initiative running and for the follow up of today. 

À Lundi 6 février 2017, Chris Adams a écrit :
> The next meeting will be on March 6th at 0900 UTC.
It seems to me that this moment will clash with the next community meeting. We 
may schedule it another day, or another week as it fits you.

Regards,

Damien.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [Live meeting from FOSDEM] Sailfish OS Open Source Collaboration Meeting, Saturday February 3rd 2017

2017-02-04 Thread dcaliste
Hello James,

I cannot attend the meeting today, even on IRC. If Kate6 doesn't receive any 
answer to his question about encrypted maybe you can relay my opinion :
I think the encrypted part of an email is already available from command line. 
QMF is saving already decoded the various part of a multipart email in 
.qmf/mail. Doing a ll -rt there gives the latest received emails and the parts 
are in a subdirectory. Then it can be copied by ssh or directly decoded in 
fingerterm. It is simpler imho than proposing the encrypted file in the UI 
where anyway one cannot do anything with it even not save it somewhere.

Thank you and have a nice meeting everyone.

Damien.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Building Qt Messaging Framework (QMF)

2016-12-27 Thread dcaliste
Hello,

À Mardi 27 décembre 2016, Erik Lundin a écrit : 
> which seems to be the place where the interesting things happen.
> Specifically I would like to run the unit tests. However, QMF doesn't
> seem to be as easy to build as most other packages in mer-core.
I compiled it out of the box in the SDK some months ago from messagingframework 
repository. The QMF spec file is in rpm/qmf-qt5.spec.

The project is divided into two main parts under src, the library and the 
server, the server relying on the library itself.

If you want more information, you may ask here, I've worked a lot in 
QMailMessage.cpp.

Damien.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] How to update Poppler ?

2015-09-09 Thread dcaliste
Great thank you, I'll post my patch there.

Damien. 

À mer. sept. 9 15:11:24 2015 GMT+0200, Mohammed Hassan a écrit :
> On Wed, 9 Sep 2015 15:05:21 +0200
> Damien Caliste  wrote:
> 
> > Hello,
> > 
> >I've asked earlier this year this same question :
> > https://lists.sailfishos.org/pipermail/devel/2015-March/005906.html
> > that is related to this crash reported in TJC :
> > https://together.jolla.com/question/22721/some-pdfs-crash-documents/
> > 
> > and following the advice from Tortoisedoc who kindly answered at that
> > time, I've finally gave a look to mer repository :
> > https://git.merproject.org/mer-core/poppler/tree/master
> > 
> > Sadly, it seems that Poppler used in SFOS is not the one in MER (phone
> > says having 0.24.0-1.2.7). So I may ask my question again : how to
> > contribute to Poppler for SFOS ?
> 
> It's the one from nemo:
> https://github.com/nemomobile-packages/poppler.git
> 
> > Side question (to MER mailing list) : would it be wise to push a more
> > recent version to MER, currently Debian is using 0.26.5 for instance,
> > or do you prefer to receive a patch to the current version ?
> 
> I have no idea why we have 2 packages in nemo and mer. I'd personally
> use the one in nemo since it's the one used by SFOS.
> 
> Cheers,
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
> 
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] How to update poppler ?

2015-03-30 Thread dcaliste
Hello,

   On some PDF documents
(http://www.sciencemadness.org/library/books/gergel_isopropyl_bromide.pdf) the
document viewer crashes with the following backtrace :
#0  0x414fa0f4 in strlen () from /lib/libc.so.6
#1  0x46893dac in GooString::appendfv(char const*, std::__va_list) () from
/usr/lib/libpoppler.so.43
#2  0x46894040 in GooString::formatv(char const*, std::__va_list) () from
/usr/lib/libpoppler.so.43
#3  0x4680697c in error(ErrorCategory, long long, char const*, ...) () from
/usr/lib/libpoppler.so.43
#4  0x4684e1d8 in JBIG2Stream::readSegments() () from /usr/lib/libpoppler.so.43
#5  0x4684e550 in JBIG2Stream::reset() () from /usr/lib/libpoppler.so.43
#6  0x468653a8 in ImageStream::reset() () from /usr/lib/libpoppler.so.43
#8230;

   It seems to me that it's related to this bug in Poppler :
http://cgit.freedesktop.org/poppler/poppler/commit/?h=poppler-0.24id=58e04a08afee39370283c494ee2e4e392fd3b684

   What is the best way to help to have Poppler upgraded (in Mer I guess) ?

Have a nice day,

Damien.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Upcoming behavioural change with how graphics resources are handled.

2014-10-02 Thread dcaliste
Hello,

Selon Iosif Hamlatzis i.hamlat...@gmail.com:
 Reading all these and previous similar changes I was wondering why other
 mobile platforms don't have this issue?
IMHO, there is a misunderstanding here, as far as I've understood, most of
applications don't have to take care of going to background and coming back.
When the application comes back, there is a repaint call() that is done
automatically, and the application redraws itself. The only corner case is when
the application supposes that the repaint call doesn't start with a clear()
call. For instance when the drawing operation is heavy and redraw is done only
by updating the buffer. In that case only the developer would have to redraw
from scratch when the application comes back from background.

It seems to me that holding the copy of the buffer before going to background is
indeed what the new way to do is trying to avoid, keep memory (a copy of the
full screen is costly) usage low when multitasking.

My two cents, hoping that I'm not wrong,

Damien.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Issue with GPS refresh interval

2014-03-21 Thread dcaliste
Hello,

   It seems to me (correct me if I'm wrong) that since the last software update
(1.0.4.20), the GPS refresh interval set with setUpdateInterval() (see
http://qt-project.org/doc/qt-5/qgeopositioninfosource.html), is not honored
anymore. The GPS fires its callback with a period of 1 s always, whatever the
value set for updateInterval (I'm testing with setUpdateInterval(3000), but
other values are not working neither). The value returned by .updateInterval()
accessor is valid (and different than 1000) by the way.
   I know that this part of Qt is not officialy in SailfishOS yet, but I would
like to report a bug, if it actually exists, for it to be corrected in whatever
future official inclusion in Sailfish.

   Have a nice day,

Damien.

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] show/hide pulley menu items

2014-03-10 Thread dcaliste
There is the visible attribute that can be set of each menuitem. In addition, 
don't forget to put the visible attribute of the pulley menu itself to false if 
there is no visible menuitem, to avoid empty pulley menu.

Damien. 

À Mon Mar 10 2014 11:29:13 GMT+0100 (CET), Vivian Brégier a écrit :
Hi,

I am trying to have the pulley menu of my app depend on the app context.
I want some menuitem to be hidden when a certain condition is false.

I did not find any attribute in MenuItem class to do this.
Is it possible to do it in qml ? Maybe using javascript ?

Thank you for your help.

-- 
Vivian Brégier
http://www.are-ata.org/Vivian.vcf
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] FOSDEM Community follow-up - open source app community

2014-02-06 Thread dcaliste
Hello David and list members,

   I definitely like Open Source and Sailfish is a nice way IMHO to use desktop
libraries in mobile world (I mean that someone coming from a desktop linux feels
at home with Sailfish). I join you thinking that Sailfish needs a repo where
packages are built from source (for auditability and so on). The point of this
mail is to ask how can one help for this ?

Selon David Greaves da...@dgreaves.com:
 I don't think we need full automation of the checks yet - but I do think we
 can
 clearly state the boundaries: open source only; auditability; community QA...
I've just registered as a user in Mer OBS. Do you think it is ready now to
submit an open source app in sailfish chum 1.0.3.8 testing ? Sources are
currently on github.

  If the app builds on a clean SDK, then it's highly likely to build out
  of the box also on OBS.
This app is building fine in the SDK.

 Good. We need more docs though.
May I help here ? For instance : on the project page of sailfish chum 1.0.3.8
testing, it specifies that guidelines are in tbr #sailfishos, it may be more
explicit, I don't know what is it.

  For those who already want to get started, there is a SailfishOS target
  on OBS and a community repository called Chum where applications will
  be visible in the future.
  https://build.merproject.org/project/subprojects?project=sailfishos
If it's not yet ready for packaging submitted project, how can I help to make
things go on ?

Thanks for building the infrastructure for Open Source around Sailfish.

Have a nice day,

Damien.
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Sideload Native App To Sailfish

2014-02-04 Thread dcaliste
Hello,

   With pkcon, thr user of the phone can install any provided Rpm, without 
rooting the device. So, from my understanding, the Jolla phone can be used in 
the open model you describe. You can provide the package from your web site. 
   The only restriction is the same than on the desktop which is that when the 
distribution is upgraded, dependencies of your package can break. 

Regards, 

Damien. 
___
SailfishOS.org Devel mailing list


[SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread dcaliste
Hello list members,

   Sorry for asking this stupid question, but I can't connect to the device with
ssh when this one is connected via USB in developer mode. I can ssh to it when
connecting through WLAN though.

   What I'm doing:
- enable developer mode and set-up a password (this one is working since I can
connect through WLAN) ;
- plug-in USB cable from the computer and choose developer mode connection ;
- the settings page tell me that the 192.168.2.15 address is affected to the USB
interface.
- I setup the computer to attribute 192.168.2.15/192.168.2.255 to the interface
on usb0, statically (it's working since ping 192.168.2.15 is responding).
- I ssh at this address with nemo as login, it's responding since it proposes to
add the hw key to the known host list, and then it's asking for the password,
but when I type it, I get permission denied. The password is alright since I can
ssh to the device when using WLAN connection.

   I've tried with a generated password from the interface also but no luck
neither. I've tried to find the logs of ssh, but was not able to find them,
before they were located in /var/log/auth, but not here. I've tried to look at
journalctl output but didn't found anything about rejected connection or ssh.
I've tried to google a bit, found the page http://elinux.org/Jolla but still get
permission denied.

   Can anyone help me on this, by pointing me where I can give a look to
understand what's happening, or by pointing out what I'm doing wrong.

Thanks in advance, and have a nice day,

Damien.
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread dcaliste
Hello,

Selon Julius Loman l...@kyberia.net:
 192.168.2.15 is Jolla's IP address. you have to set another IP address in the
 same
 C class network to your usb0 interface. For example 192.168.2.14.
Thanks for replying promptly, but it's not working neither. Same results, I can
ping 192.168.2.14, but when I ssh to it with ssh nemo@192.168.2.14, I get the
password prompt (so ssh is indeed negociating with the device) but my password
doesn't work#8230;

Besides, I made a mistae in my first email, the netmask is indeed
255.255.255.0#8230;

Damien.
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread dcaliste
Hello,

Selon Graham Cobb g+jo...@cobb.uk.net:
 On 23/01/14 14:01, dcali...@free.fr wrote:
 It sounds like you are connecting to the ssh on your own machine.  To
 test that you could try logging in to an account which exists on your
 own machine (or check the hw key, or set up a banner message).
Thanks, I've understand my mistake. It's working now. Thanks a lot and sorry for
the stupid question#8230;

Damien.
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Fwd: Re: QGeoSatelliteInfoSource in Sailfish

2014-01-21 Thread dcaliste
Hello Aaron and list members,

Selon Aaron McCarthy aaron.mccar...@jolla.com:
  but the direction is missing from QGeoPositionInfo, the method
  hasAttribute() on a valid GPS fix returns false, always. How to get the
  direction? Should one calculate it by hand ?
 This is a bug in the Geoclue positioning plugin in Qt. I have filed a bug in
 the Qt bug tracker: https://bugreports.qt-project.org/browse/QTBUG-36298
Ah, ok I see thanks for deposing a bug. I will follow it and as a work around,
I'll use the previous position to approximate direction.

Have a nice day,

Damien.
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Fwd: Re: QGeoSatelliteInfoSource in Sailfish

2014-01-20 Thread dcaliste
Hello 

À Sun Jan 19 2014 22:32:47 GMT+0100 (CET), christopher.l...@thurweb.ch a écrit 
1) The Compass Azimuth shows the direction the top of the device is  
pointing to (so it will change as your rotate the device).

2) The PositionSource shows a direction based on the direction the  
device is travelling (irrespective of where the device is pointing).

http://qt-project.org/doc/qt-5/qgeopositioninfo.html
Sorry my explanation was not clear and lacking the question. So the two things 
you're speaking about (compas and direction) are indeed the two distinctions I 
was doing. My question is : ok, the compas is in QtSensor, but the direction is 
missing from QGeoPositionInfo, the method hasAttribute() on a valid GPS fix 
returns false, always. How to get the direction? Should one calculate it by 
hand ?

Regards, 

Damien.
___
SailfishOS.org Devel mailing list

[SailfishDevel] Howto ship QML plugins for harbour

2014-01-09 Thread dcaliste
Hello,

   I need to ship two system QML plugins with my app for it to validate the
harbour recommendations. How can I do this ?

Let's take the example of QtPositioning

We have:
[nemo@SailfishEmul devel]$ rpm -ql qt5-qtdeclarative-import-positioning
/usr/lib/qt5/qml/QtPositioning
/usr/lib/qt5/qml/QtPositioning/libdeclarative_positioning.so
/usr/lib/qt5/qml/QtPositioning/plugins.qmltypes
/usr/lib/qt5/qml/QtPositioning/qmldir

So, in the spec file, I can install these three files in
/usr/share/$APPNAME/qml. But in the FAQ of the harbour, they say that one should
rename the import to harbour.appname.QtPositioning, when I grep QtPositioning in
qmldir and plugins.qmltypes, it appears a lot of times. Should I replace all
with APPNAME-QtPositioning ? Then, should the directory be renamed also ?

And finally, when all is shipped in the RPM, and everything has been renamed
properly, how can I expand the QML search dir to include also
/usr/share/$APPNAME/qml ?

Thanks for the help, have a nice day,

Damien.
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Harbour news

2013-12-18 Thread dcaliste
Hello,

Selon Alessandro Portale alessan...@casaportale.de:
 Hi, I am not familiar with the Cairo API. But Qt's pendant (code named
 Arthur) should offer about the same functionality. It should be
 available in the Qt C++ API and be supported in SailfishOS.
 See the QPainter documentation:
http://qt-project.org/doc/qt-5/qpainter.html
You're right. My point was not to oppose this and that library. Discovering Qt
world with Sailfish, while coming from a GLib/Cairo/Gtk one, I would say that I
feel quite at home with Qt. It is pleasant to develop with both in fact (thanks
Qt for running the Glib loop events for free).

My point about bringing Glib/Cairo to harbour (already in Mer, thus Sailfish)
was that, as someone here pointed out already, it allows to reuse code already
written and just add a new UI (Silica QML) to it.

I would say also that in my opinion, it is better to do this than restart from
scratch since already in use code may have less bug than a newly written one,
since it has been more tested already. So been able to use other low-level
libraries than Qt would be good for the Sailfish ecosystem. Of course, for the
UI part, one would stick to silica.

Have a nice day,

Damien.
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Harbour news

2013-12-18 Thread dcaliste
Hello,

Selon Iekku Pylkka iekku.pyl...@jolla.com:
 5)
 New APIs are approved as we go along - we'll inform you when you're allowed
 to use new APIs in Harbour apps on the mailing list. If you think you need an
 API (library or QML import) for your Harbour app that is not yet approved,
 let us know on sailfish-devel. The current list of approved APIs can be found
While I'm requesting for low-level libs, may I suggest two others :

- libxml2. As far as I know, their API is quite stable now even if it was not
the case in the past (I remember having some trouble with it in 2003, but it's
history now !).

- gconf. I allows to access gconf keys. It was the prefered way to store
application preferences in the Maemo days, so many codes are using it. As for
the Glib stuff, it has a stable API and is available already in Mer.

What's your point of view on these two ?

Damien.
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Accent with maliit keyboard

2013-12-02 Thread dcaliste
Hello,

Selon Pekka Vuorela pekka.vuor...@jolla.com:
 I assume you are here talking about Sailfish keyboard. It's layout
 system is its own. Maliit only covers lower levels for communicating
 with the application, hosting keyboard plugins, etc. Thus removed rest
 of the mailing lists.
Ok, I didn't know.

 What you ask is more difficult, e could become é, è, ê or ë. As
 conventional dead key that would require four buttons. French layout has
 space for maybe two more buttons, but then it's a compromise whether to
 have larger buttons or cover part of the accents.
Ok, but I'm not thinking about a dead key to compose accute or grave accent (or
more flourish ones !). I was thinking of a single key that changes the layout of
the whole keys.

So e accute and e grave won't be necessarily positioned on the e letter.

For instance, assuming we have the current layout:
q|w|e
shift|a|s|

Pressing shift will result in viewing:
Q|W|E
Shift|A|S|

So I'm thinking of an fn key like:
q|w|e
shift|a|s|
fn|z|x

which would give after pressing it (like the shift key):
�|w|�
shift|�|�|
Fn|�|�

Are my explanations clearer ? What piece of code should I give a look at to add
a key that acts like the shift key by changing the layout of the whole keyboard
(once if pressed once or locked if pressed twice) ?

Thanks anyway to be so quick in answering ! Amazing job.

Damien.
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] How to open the default browser from a button click

2013-11-27 Thread dcaliste
Hello,

Selon Artem Marchenko artem.marche...@gmail.com:
 openUrlExternally is your friend -
 http://qt-project.org/doc/qt-5.0/qtqml/qml-qt.html#openUrlExternally-method
Ah yes, sorry, I've overlooked it#8230; Great, thanks.

 I don't think it works on emulator yet (so I am just opening a new page
 with a web view inside)
Yep, I'm doing the same myself currently, but I would prefer to use the browser
of the environement because like that the user can handle bookmarks#8230;

Thanks,

Damien.
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Dragging a scene with the mouse

2013-10-04 Thread dcaliste
Hello,

   Sorry for the noise, I've found my error. I put my scene item inside a
Flickable item (the silica flickable to handle the pull down menu). So, when
dragging down, it activate the menu.

   I handle the issue finally by allowing some space at the top of the page for
the silicaflickable plus its pulldown menu, while my scene item is taking the
rest of the page.

Regards sailors,

Damien.
___
SailfishOS.org Devel mailing list