Re: [SailfishDevel] Can not install zypper

2018-06-03 Thread Alexander Ladygin
yep, that helped! Thanks!

On Sun, Jun 3, 2018 at 12:06 PM, Андрей Кожевников 
wrote:

> pkcon refresh
>
> вс, 3 июн. 2018 г. в 13:05, Alexander Ladygin :
>
>> Hi!
>>
>> Trying to install zypper on Xperia gives me an error =(
>>
>> [root@Sailfish nemo]# pkcon install zypper
>> Resolving
>>
>>
>>
>>
>>
>> Testing changes
>>
>>
>>
>>
>> Finished
>>
>>
>> [
>>] (0%)
>> The following packages have to be installed:
>>  augeas-libs-1.6.0-1.2.2.armv7hlLibraries for augeas
>>  zypper-1.8.3-1.1.40.armv7hlCommand line software manager using
>> libzypp
>> Proceed with changes? [N/y] y
>>
>>
>>
>>
>>
>>
>>
>> Installing
>>
>>
>>
>>
>>
>> Starting
>>
>>
>>
>>
>>
>> Querying
>>
>>
>>
>>
>>
>> Resolving dependencies
>>
>>
>>
>>
>> Downloading packages
>>
>>
>>
>>
>> Finished
>>
>>
>>
>>
>>
>> Fatal error: File './core/armv7hl/augeas-libs-1.6.0-1.2.2.armv7hl.rpm'
>> not found on medium 'https://releases.jolla.com/releases/2.2.0.29/jolla/
>> armv7hl/'
>>
>> Any thoughts?
>>
>> Kind regards,
>> Alex
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.
>> sailfishos.org
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Can not install zypper

2018-06-03 Thread Alexander Ladygin
Hi!

Trying to install zypper on Xperia gives me an error =(

[root@Sailfish nemo]# pkcon install zypper
Resolving

Testing
changes

Finished
[
] (0%)
The following packages have to be installed:
 augeas-libs-1.6.0-1.2.2.armv7hlLibraries for augeas
 zypper-1.8.3-1.1.40.armv7hlCommand line software manager using libzypp
Proceed with changes? [N/y] y



Installing

Starting

Querying

Resolving
dependencies

Downloading
packages

Finished

Fatal error: File './core/armv7hl/augeas-libs-1.6.0-1.2.2.armv7hl.rpm' not
found on medium 'https://releases.jolla.com/releases/2.2.0.29/jolla/armv7hl/
'

Any thoughts?

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

[SailfishDevel] ConfigurationGroup

2017-07-14 Thread Alexander Ladygin
Ahoj fellas

I have some problems storing arrays in ConfigurationGroup.
For example, i'm defining ConfigurationGroup as follows:

ConfigurationGroup {
id: configGroup
path: "/desktop/lipstick-jolla-home-qt5/test123/data"
property var labels : []
}

Then, I'm setting the values to anything,

configGroup.setValue("labels", ["test vlue"]);

At this point I'm getting a warning

[W] unknown:0 - MDConf: no conversion for
"/desktop/lipstick-jolla-home-qt5/test123/data"
QVariant(QJSValue, )


And nothing happens :( ConfigurationGroup is not being updated.

And most surely this code worked in previous OS versions.

Any ideas?


Best regards,

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

Re: [SailfishDevel] share image through transferengine

2016-07-26 Thread Alexander Ladygin
mb u just need to download it first. U can use QImage c++ class to save the
image localy

On Sun, Jul 24, 2016 at 1:01 PM, Иван Черненький  wrote:

>
> Hello to All!
>
> I want to share image through transferengine. But this image i get via web
> url. It is showing correctly, but after using transferengine (for example,
> sharing photo to twitter) it shows 0B of image size.
>
>  Is there correct way to share images? At first i have to cache it in
> local store? If it is true, is there any examples of caching images?
>
> --
> С уважением, Иван Черненький
>
> ___
> 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

Re: [SailfishDevel] string to double in QML?

2016-05-23 Thread Alexander Ladygin
it's not C++, it's JavaScipt function, you can use it inside QML

onClicked: {

 ekpu=parseFloat(ekField.text)



 pageStack.push(Qt.resolvedUrl("SecondPage.qml"))
 }

On Sun, May 22, 2016 at 5:17 AM, Peter Kovacs  wrote:

> Hello,
>
> # gives: QString not declared even if there is #include  in
> main.cpp
> that is not sufficient!
> Quoted from:
> http://stackoverflow.com/questions/9500280/access-c-function-from-qml
>
> For any C++ code to be called from QML, it must reside inside a QObject.
>
> So best is to write your own class that holds the data, then have a method
> that sets the double value and does the cast to double.
>
> I personally would not do the conversion in the QML part, because the QML
> main task is to represent something. The tast of your data class is to care
> about the data.
> Looks nicer in my eyes if you have a class that handles this properly.
>
> All the Best
> Peter
>
>
> 2016-05-21 11:06 GMT+02:00 Caliste Damien :
>
>> Hello,
>>
>> Le samedi 21 mai 2016, mariusz sapinski a écrit :
>> >I'm trying to convert text from a text field:
>> > to double (property double ekpu)
>> You may want to use parseFloat().
>>
>> http://www.w3schools.com/jsref/jsref_parseFloat.asp
>>
>> Damien.
>> ___
>> 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
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Device IP address

2016-05-12 Thread Alexander Ladygin
/sbin/ifconfig ? should be available for nemo

On Thu, May 12, 2016 at 7:45 AM, Matthias Fehring <
buschm...@huessenbergnetz.de> wrote:

> Ifconfig seems to be only accessible by user root.
>
> And I hoped for a more direct approach as QNetworkInterface::allAddresses
> :)
>
> But I will then go with that.
>
> Best greetings
> Matthias Fehring
>
> Am Donnerstag, 12. Mai 2016, 01:40:30 CEST schrieb E.S. Rosenberg:
> > ifconfig?
> > If QNetworkInterface is available you should have
> > http://doc.qt.io/qt-5/qnetworkinterface.html#allAddresses
> >
> > (I think it probably is since it's most likely part of qnetwork which is
> > listed as available).
> >
> > 2016-05-11 18:48 GMT+03:00 Matthias Fehring <
> buschm...@huessenbergnetz.de>:
> > > Hello list,
> > >
> > > I am searching for a way to get the currently used IP address of the
> > > device.
> > > Is there a Qt-way or some Sailfish/Mer specific API?
> > >
> > > Best greetings
> > > Matthias Fehring
> > >
> > > --
> > > Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden
> wäre.
> > > (Friedrich Schiller - Die Räuber)
> > >
> > > Und der Buschfunk spielt gerade "Shadow Of The Dead" von "Anti-Flag".
> > >
> > > www.buschmann23.de
> > > GPG-Key: 0x614C3258
> > > GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258
> > >
> > > ___
> > > SailfishOS.org Devel mailing list
> > > To unsubscribe, please send a mail to
> > > devel-unsubscr...@lists.sailfishos.org
>
>
> --
> Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre.
> (Friedrich Schiller - Die Räuber)
>
> Und der Buschfunk spielt gerade mal nichts...
>
> www.buschmann23.de
> GPG-Key: 0x614C3258
> GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258
>
> ___
> 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

Re: [SailfishDevel] Transient notification categories

2016-01-12 Thread Alexander Ladygin
Hei Andrew,

did you check
https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/ ?

On Mon, Jan 11, 2016 at 11:09 PM, Andrew Branson 
wrote:

> Hi,
>
> I'm trying to improve the filtering of notifications in the pebble daemon
> for Sailfish, and I stumbled upon the category property 'transient' in the
> QtCreator docs which it said indicated that a notification would only be
> flashed at the top of the screen and not left in the Events view. I thought
> that would be a good indicator of whether the notification should be
> forwarded to the watch, so I did that, but after that no messaging
> notifications were coming through at  all. I checked the category files,
> and all of the messaging preview categories have the transient property
> set, even though they are persistent on the Events view. Can anyone tell me
> what's going on here? How does the system decide which notifications end up
> on the events view?
>
> Is there additional documentation about the notification system anywhere
> that I don't know about? Someone mentioned that a new notification model in
> SF2.0 would let us sidestep the '2 new messages' notification and get the
> real preview text, so I'd like to find out about that too.
>
>
> Thanks very much,
>
> Andrew
> ___
> 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

Re: [SailfishDevel] About Harbour QA queue

2015-12-16 Thread Alexander Ladygin
in my experience you do lose your place in queue

On Wed, Dec 16, 2015 at 4:36 PM,  wrote:

> Hi, I was wondering do I lose my place in the queue if I change the
> package and re-submit? How does the queue logic work?
>
> Ps. If you don't lose your place this could be exploited by submitting
> empty packages. No, I am not planning on doing that, I just want to push
> another Nettiradio update out before holidays.
>
> Cheers,
> jollailija
>
> --
> Lähetetty Jollastani
> ___
> 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

Re: [SailfishDevel] How to convert Xml list model into QML list model?

2015-12-11 Thread Alexander Ladygin
AFAIK you can not call any variables inside components from outside of
components
use

QmlListModel{id:qmlListModel}

indstead of
Component{QmlListModel{id:qmlListModel}}


On Sat, Dec 12, 2015 at 9:50 AM, Jollailija Developer <jollail...@gmail.com>
wrote:

> Okay, I think I found the cause. The function needs to be somewhere where
> it can see both of the list models. The question is "where is that?"
> I wrote this into the main QML:
>
> Component{QmlListModel{id:qmlListModel}}
>
> Component{StationsModel{id:stationsModel}}
>
>
> function fillList() {
>
> var i = 0
>
> for (var r = 0; r < 10; r++) {
>
> qmlListModel.append({"title": stationsModel.get(i).title}) // <- 
> line 92
>
> i ++
>
> console.log(i)
>
> }
>
> }
>
> Timer {
>
> interval: 5000
>
> repeat: false
>
> onTriggered: {fillList(); console.log("fill")}
>
> running: true
>
> }
>
> Quess what the console says?
>
>
> [W] unknown:92 - 
> file:///usr/share/harbour-nettiradio/qml/harbour-nettiradio.qml:92: 
> ReferenceError: qmlListModel is not defined
>
>
> Not defined? It's right there!
>
> I have no idea what I'm doing.
>
> (want to take a look? source at https://github.com/jollailija/nettiradio )
>
>
> Cheers,
>
> Reference error: jollailija is not defined
>
>
> 2015-12-12 8:02 GMT+02:00 Jollailija Developer <jollail...@gmail.com>:
>
>> I switched onCompleted to this:
>> Component.onCompleted: qmlListModel.append({"title": stationsModel
>> .get(3).title})
>> There should be over 70 items on this list. I think I will need to try to
>> do the conversion at some other place, maybe it can't see it.
>>
>> 2015-12-11 21:50 GMT+02:00 Alexander Ladygin <fake...@gmail.com>:
>>
>>> seems like index out of bounds
>>>
>>> stationsModel items count is smaller than lib.stationCount
>>>
>>>
>>>
>>> On Fri, Dec 11, 2015 at 10:28 PM, Jollailija Developer <
>>> jollail...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am using Alpha Menu (People app style sorting) in my app. However it
>>>> only supports QML ListModel as it's dataSource. I tried doing this:
>>>>
>>>> StationsModel {id:stationsModel}
>>>>
>>>>
>>>> ListModel {
>>>>
>>>> id: qmlListModel
>>>>
>>>> }
>>>>
>>>> Component.onCompleted: {console.log(lib.stationCount);fillList()}
>>>>
>>>>
>>>> function fillList() {
>>>>
>>>> var i = 0
>>>>
>>>> for (var r = 0; r < lib.stationCount; r++) {
>>>>
>>>> qmlListModel.append({"title": stationsModel.get(i).title}) //< 
>>>> line 52
>>>>
>>>> i ++
>>>>
>>>> console.log(i)
>>>>
>>>> }
>>>>
>>>> }
>>>>
>>>>
>>>>  Well, it isn't working. What's wrong with it? Here's the output:
>>>>
>>>> [W] unknown:52 - 
>>>> file:///usr/share/harbour-nettiradio/qml/Pages/StationGridView.qml:52: 
>>>> TypeError: Cannot read property 'title' of undefined
>>>>
>>>>
>>>>  "Good night to you, dear devs!" wishes
>>>> jollailija
>>>>
>>>>
>>>> ___
>>>> 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
>>>
>>
>>
>
> ___
> 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

Re: [SailfishDevel] How to convert Xml list model into QML list model?

2015-12-11 Thread Alexander Ladygin
seems like index out of bounds

stationsModel items count is smaller than lib.stationCount



On Fri, Dec 11, 2015 at 10:28 PM, Jollailija Developer  wrote:

> Hi,
>
> I am using Alpha Menu (People app style sorting) in my app. However it
> only supports QML ListModel as it's dataSource. I tried doing this:
>
> StationsModel {id:stationsModel}
>
>
> ListModel {
>
> id: qmlListModel
>
> }
>
> Component.onCompleted: {console.log(lib.stationCount);fillList()}
>
>
> function fillList() {
>
> var i = 0
>
> for (var r = 0; r < lib.stationCount; r++) {
>
> qmlListModel.append({"title": stationsModel.get(i).title}) //< 
> line 52
>
> i ++
>
> console.log(i)
>
> }
>
> }
>
>
>  Well, it isn't working. What's wrong with it? Here's the output:
>
> [W] unknown:52 - 
> file:///usr/share/harbour-nettiradio/qml/Pages/StationGridView.qml:52: 
> TypeError: Cannot read property 'title' of undefined
>
>
>  "Good night to you, dear devs!" wishes
> jollailija
>
>
> ___
> 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

Re: [SailfishDevel] XmlListModel can't fetch data from a local .xml file

2015-12-11 Thread Alexander Ladygin
mb you should delete first line in file

On Fri, Dec 11, 2015 at 9:13 PM,  wrote:

> Doesn't work, onCompleted says
> "file:///usr/share/harbour-nettiradio/qml/Pages/StationLists/xml/asemat.xml".
>
> On another note, the thing under it in the console says "Error FODC0002 in
> tag:trolltech.com,2007;QmlXmlPatterns:QIODeviceVariable:src, at line 1,
> column 38: Encountered incorrectly encoded content."
> Does that mean something is wrong with the xml file?
>
> Kimmo Lindholm kirjoitti pe joulukuuta 11 19:59:18 2015 GMT+0200:
> > Try one more:
> >
> > source: Qt.resolvedUrl("xml/asemat.xml")
> >
> > And to debug, add this:
> >
> > Component.onCompleted: {
> > console.log(source.toString())
> > }
> >
> > -kimmo
> >
> > -Original Message-
> > From: devel-boun...@lists.sailfishos.org [mailto:
> devel-boun...@lists.sailfishos.org] On Behalf Of jollail...@gmail.com
> > Sent: 11. joulukuuta 2015 19:26
> > To: devel@lists.sailfishos.org
> > Subject: [SailfishDevel] XmlListModel can't fetch data from a local .xml
> file
> >
> > Hi! Since Nettiradio is ... a net radio, I figured I could use a xml
> file hosted on GitHub as a update-able station database. It works like a
> charm, but in case GitHub goes down or something, I'd like to have a local
> copy shipped with every release. However, XmlListModel doesn't seem to like
> reading local files. I have tried all kinds of local path urls but I can't
> get it working. What am I doing wrong?
> >
> > If you need to take a look at the code, you can find it at
> https://github.com/jollailija/nettiradio
> > The xml file I'm trying to read is asemat.xml adn the list model file is
> StationsModel.qml
> >
> > Cheers,
> > jollailija
> > --
> > Lähetetty Jollastani
> > ___
> > 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.or
>
> --
> Lähetetty Jollastani
> ___
> 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] any way to force Audio to rebuffer?

2015-11-11 Thread Alexander Ladygin
Hey!

Is there any way to force Audio (QML) to rebuffer while not stopping
playback?
I have a local file which i'm playing with Audio. And i want to start
playing it before i've downloaded it completely.
Right now if i just set source to a local file (which is only partly
downloaded), it will buffer it and will play only buffered part. Every byte
downloaded after won't get buffered.

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

Re: [SailfishDevel] SDK version 1511 (2.0.0) is released

2015-11-11 Thread Alexander Ladygin
Thanks Martin, that helped!

Alex

On Wed, Nov 11, 2015 at 9:09 AM, Martin Kampas <martin.kam...@jolla.com>
wrote:

> Hello Alexander,
>
> Design feature (for Sailfish QML components) has been unmaintaned for long
> time and it used to be hidden/disabled by default. In SDK-1511 it was left
> enabled by mistake.
>
> You can hide the design mode by disabling the "Designer" and "QmlDesigner"
> plugin in "About Plugins" dialog if it helps you.
>
> BR,
> Martin
>
> --
> *From:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] on behalf of Alexander Ladygin [
> fake...@gmail.com]
> *Sent:* Tuesday, November 10, 2015 1:45 PM
> *To:* Sailfish OS Developers
> *Subject:* Re: [SailfishDevel] SDK version 1511 (2.0.0) is released
>
> updated for me just fine!
> Design feature does not work though... should it?
>
> On Tue, Nov 10, 2015 at 3:36 PM, Peter Pykäläinen <
> peter.pykalai...@gmail.com> wrote:
>
>> Hi,
>>
>> Tried to update my version, but SDK updater gives checksum mismatch.
>> Please fix.
>>
>>
>> // Peter Pykäläinen
>>
>> 2015-11-10 13:55 GMT+02:00 Martin Kampas <martin.kam...@jolla.com>:
>>
>>> Hello again,
>>>
>>> Today (November 10th) at 11:30 UTC we have published new installers and
>>> repositories of the Sailfish OS SDK. This SDK release is called 1511 and
>>> it
>>> matches Jolla Release 2.0.0.
>>>
>>> The installers for this release of the SDK are available at
>>> http://www.sailfishos.org. If you have an older beta release of the SDK,
>>> you should see an update notification in the SailfishOS IDE.
>>>
>>> SDK content matches Jolla Release 2.0.0.10 (Saimaa). Please
>>> see below for detailed information of the changes.
>>>
>>> A couple of things you should be aware of:
>>>
>>> - As before, in this update the build engine, emulator and targets are
>>> reinstalled so you will lose all changes you may have made in those -
>>> However, if your application packaging is done correctly, rebuilding
>>> your projects should reinstall the packages you have been using.
>>>
>>> - Any customization done to SDK (adding new package repositories, adding
>>> custom targets, additional source paths) will be removed during the
>>> installation process so make your own backup of those before starting
>>> the update.
>>>
>>> - If you import existing projects made with a previous version of the
>>> Sailfish OS SDK, make sure to select the correct kit in the project
>>> configuration step. Both ARM and i486 kits are available.
>>>
>>> - Package repository contents have been updated and consequently using a
>>> previous SDK version with these package repositories is not supported.
>>>
>>> - Supported host platforms can be found from:
>>> https://sailfishos.org/develop/sdk-overview/sdk-release-notes/
>>>
>>> - For more information, please see the SDK Beta-Qt5 known issues list
>>> at:
>>> https://sailfishos.org/develop/sdk-overview/sdk-beta-qt5-known-issues/.
>>>
>>> SDK IDE (Qt Creator):
>>> - Qt Creator updated to version 3.5
>>> - Jolla application template now supports application icon in multiple
>>> sizes
>>> - Refreshed API documentation available in the Help mode (Ctrl+7) in Qt
>>> Creator to Jolla release 2.0.0.10 level
>>> - Sailfish Silica API documentation have working table of contents again
>>>
>>> SDK Build engine:
>>> - Build targets refreshed to Jolla release 2.0.0.10 level
>>> - Applications using libsailfishapp can set SAILFISHAPP_ICONS qmake
>>> variable (*) to provide application icon in multiple sizes
>>> - Harbour RPM validator updated
>>>
>>> *) See
>>> https://github.com/sailfish-sdk/libsailfishapp/blob/master/docs/documentation.mdown
>>>
>>> Emulator:
>>> - Emulator packages refreshed to Jolla release 2.0.0.10 level
>>> - Fixed TimePickerDialog appearance in Components Gallery
>>>
>>> If you have any questions, feel free to either send an email to this
>>> mailing list: mailto:devel at lists.sailfishos.org, write it up in
>>> http://together.jolla.com  and tag your issue with 'sdk' or send an
>>> e-mail to developer-care at jolla.com.
>>>
>>> Happy hacking,
>>> Jolla SDK Team
>>>
>>>
>>> ___
>>> 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
>>
>
>
> ___
> 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

Re: [SailfishDevel] QNetworkAccessManager is losing connection upon switching between wifi and mobile

2015-11-11 Thread Alexander Ladygin
Hei Lorn

I probably didn't make myself clear =(
1) wifi is turned on
2) app is launched, i can download files with QNAM
3) app is still launched, i turn off the wifi (mobile network activated)
4) i can no longer download any files. No network errors, but QNAM's reply
returns empty files
5) turn the wifi back on - i can download files

When wifi is turned off, i've tried:
1) creating new instance: _pManager = new QNetworkAccessManager(this);
2) clearing access cache: _pManager->clearAccessCache();
3) updating network configuration: _configManager.updateConfigurations()
and then

QList activeConfigs =
_configManager.allConfigurations(QNetworkConfiguration::Active);
if (activeConfigs.count() > 0) {
_pManager->setConfiguration(activeConfigs.at(0));
qDebug() << "QNetworkConfiguration = " << activeConfigs.at(0).name();
}
In that case qDebug shows that active configuration is, indeed, mobile
network

But nothing helped. Only restarting app helps

Maybe you can look at sources, if you have couple of spare minutes
https://github.com/virgi26/harbour-vk-music/blob/master/src/downloadmanager.cpp
Thank you for your time.

Alex.


On Wed, Nov 11, 2015 at 1:13 PM, Lorn Potter <lorn.pot...@jolla.com> wrote:

>
> > On 11 Nov 2015, at 8:09 pm, Lorn Potter <lorn.pot...@jolla.com> wrote:
> >
> > Hi Alex,
> >
> > Having tested this, it does seem to be a bug in that when connecting to
> wlan
>
> I should have specified here when already connected to mobile data and
> then connecting to wlan without first disconnecting mobile data.
>
>
> > , QNAM’s networkAccessibility sometimes will go to NotAccessible, but
> then go to Accessible when wlan connects. or sometimes it won’t even go to
> NotAccessible then Accessible when wlan is connected.
> >
> > You should be able to track QNAM through its networkAccessibilty
> property. it should follow the online state, unless you specifically set it
> to NotAccessible.
> >
> > QNAM uses QNetworkConfiguration internally, and it should automatically
> switch this to the current Active configuration.
> >
> >
> > -
> > Lorn
> >
> >> On 10 Nov 2015, at 10:37 am, Alexander Ladygin <fake...@gmail.com>
> wrote:
> >>
> >> Hey!
> >>
> >> I've got an issue: QNetworkAccessManager is losing connection upon
> switching between wifi and mobile:( What exactly should i do/update to make
> it work properly? Maybe need to change network configuration? Why it is not
> handled by platform?
> >> Thanks.
> >>
> >> Alex
> >> ___
> >> 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
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QNetworkAccessManager is losing connection upon switching between wifi and mobile

2015-11-11 Thread Alexander Ladygin
I've added some debugging. Strangely i'm not actually getting any errors,
but when i try to download a file (that's the sole purpose of QNAM in my
app), i'm getting an empty one. Any thoughts?
PS if close my app and open it again it downloads same file with same url
without any problems whatsoever.

Alex

On Wed, Nov 11, 2015 at 3:36 AM, Aaron McCarthy <aaron.mccar...@jolla.com>
wrote:

> Hi,
>
> On Tue, 10 Nov 2015 11:07:51 Alexander Ladygin wrote:
> > but how exactly can i make disconnect? All the network requests i send
> with
> > QNetworkAccessManager after switching to mobile are returned with errors
> =(
>
> What errors are being returned? Are you explicitly setting a network
> configuration or relying on QNAM default behaviour? What online state is
> QNAM
> reporting when the errors occur?
>
> Cheers,
>
> --
> Aaron McCarthy
> ___
> 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

Re: [SailfishDevel] QNetworkAccessManager is losing connection upon switching between wifi and mobile

2015-11-10 Thread Alexander Ladygin
in addition: even if i create new object instance for QNetworkAccessManager,
it still won't connect to internet, as if it still uses WiFi "globally"
even though wifi is off

On Tue, Nov 10, 2015 at 11:07 AM, Alexander Ladygin <fake...@gmail.com>
wrote:

> but how exactly can i make disconnect? All the network requests i send
> with QNetworkAccessManager after switching to mobile are returned with
> errors =(
>
> On Tue, Nov 10, 2015 at 4:05 AM, Aaron McCarthy <aaron.mccar...@jolla.com>
> wrote:
>
>> On Tue, 10 Nov 2015 03:37:10 Alexander Ladygin wrote:
>> > I've got an issue: QNetworkAccessManager is losing connection upon
>> > switching between wifi and mobile:( What exactly should i do/update to
>> make
>> > it work properly? Maybe need to change network configuration? Why it is
>> not
>> > handled by platform?
>>
>> There is some support for migrating connections to the new interface. QNAM
>> supports resuming GET operations under the following conditions:
>>
>> 1. Only GET requests are resumed.
>> 2. No outgoing data.
>> 3. Server supports HTTP Accept-Ranges.
>> 4. Does not work with QNAM's zero-copy feature.
>> 5. Must be using bearer management.
>>
>> For other operations and GET requests that do not meet the above, you will
>> need to handle the network disconnection and resend the request.
>>
>> Cheers,
>>
>> --
>> Aaron McCarthy
>> ___
>> 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

Re: [SailfishDevel] SDK version 1511 (2.0.0) is released

2015-11-10 Thread Alexander Ladygin
updated for me just fine!
Design feature does not work though... should it?

On Tue, Nov 10, 2015 at 3:36 PM, Peter Pykäläinen <
peter.pykalai...@gmail.com> wrote:

> Hi,
>
> Tried to update my version, but SDK updater gives checksum mismatch.
> Please fix.
>
>
> // Peter Pykäläinen
>
> 2015-11-10 13:55 GMT+02:00 Martin Kampas :
>
>> Hello again,
>>
>> Today (November 10th) at 11:30 UTC we have published new installers and
>> repositories of the Sailfish OS SDK. This SDK release is called 1511 and
>> it
>> matches Jolla Release 2.0.0.
>>
>> The installers for this release of the SDK are available at
>> http://www.sailfishos.org. If you have an older beta release of the SDK,
>> you should see an update notification in the SailfishOS IDE.
>>
>> SDK content matches Jolla Release 2.0.0.10 (Saimaa). Please
>> see below for detailed information of the changes.
>>
>> A couple of things you should be aware of:
>>
>> - As before, in this update the build engine, emulator and targets are
>> reinstalled so you will lose all changes you may have made in those -
>> However, if your application packaging is done correctly, rebuilding
>> your projects should reinstall the packages you have been using.
>>
>> - Any customization done to SDK (adding new package repositories, adding
>> custom targets, additional source paths) will be removed during the
>> installation process so make your own backup of those before starting
>> the update.
>>
>> - If you import existing projects made with a previous version of the
>> Sailfish OS SDK, make sure to select the correct kit in the project
>> configuration step. Both ARM and i486 kits are available.
>>
>> - Package repository contents have been updated and consequently using a
>> previous SDK version with these package repositories is not supported.
>>
>> - Supported host platforms can be found from:
>> https://sailfishos.org/develop/sdk-overview/sdk-release-notes/
>>
>> - For more information, please see the SDK Beta-Qt5 known issues list
>> at:
>> https://sailfishos.org/develop/sdk-overview/sdk-beta-qt5-known-issues/.
>>
>> SDK IDE (Qt Creator):
>> - Qt Creator updated to version 3.5
>> - Jolla application template now supports application icon in multiple
>> sizes
>> - Refreshed API documentation available in the Help mode (Ctrl+7) in Qt
>> Creator to Jolla release 2.0.0.10 level
>> - Sailfish Silica API documentation have working table of contents again
>>
>> SDK Build engine:
>> - Build targets refreshed to Jolla release 2.0.0.10 level
>> - Applications using libsailfishapp can set SAILFISHAPP_ICONS qmake
>> variable (*) to provide application icon in multiple sizes
>> - Harbour RPM validator updated
>>
>> *) See
>> https://github.com/sailfish-sdk/libsailfishapp/blob/master/docs/documentation.mdown
>>
>> Emulator:
>> - Emulator packages refreshed to Jolla release 2.0.0.10 level
>> - Fixed TimePickerDialog appearance in Components Gallery
>>
>> If you have any questions, feel free to either send an email to this
>> mailing list: mailto:devel at lists.sailfishos.org, write it up in
>> http://together.jolla.com  and tag your issue with 'sdk' or send an
>> e-mail to developer-care at jolla.com.
>>
>> Happy hacking,
>> Jolla SDK Team
>>
>>
>> ___
>> 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
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QNetworkAccessManager is losing connection upon switching between wifi and mobile

2015-11-10 Thread Alexander Ladygin
nd? =)
The question is how to make QNetworkAccessManager work

On Tue, Nov 10, 2015 at 1:38 PM, Andrey Kozhevnikov <coderusin...@gmail.com>
wrote:

> QNetworkConfigurationManager have signal: onlineStateChanged(bool)
>
> -- Исходное сообщение --
> От: "Alexander Ladygin" <fake...@gmail.com>
> Кому: aaron.mccar...@jolla.com; "Sailfish OS Developers" <
> devel@lists.sailfishos.org>
> Отправлено: 10.11.2015 14:06:12
> Тема: Re: [SailfishDevel] QNetworkAccessManager is losing connection upon
> switching between wifi and mobile
>
>
> in addition: even if i create new object instance for QNetworkAccessManager,
> it still won't connect to internet, as if it still uses WiFi "globally"
> even though wifi is off
>
> On Tue, Nov 10, 2015 at 11:07 AM, Alexander Ladygin <fake...@gmail.com>
> wrote:
>
>> but how exactly can i make disconnect? All the network requests i send
>> with QNetworkAccessManager after switching to mobile are returned with
>> errors =(
>>
>> On Tue, Nov 10, 2015 at 4:05 AM, Aaron McCarthy <aaron.mccar...@jolla.com
>> > wrote:
>>
>>> On Tue, 10 Nov 2015 03:37:10 Alexander Ladygin wrote:
>>> > I've got an issue: QNetworkAccessManager is losing connection upon
>>> > switching between wifi and mobile:( What exactly should i do/update to
>>> make
>>> > it work properly? Maybe need to change network configuration? Why it
>>> is not
>>> > handled by platform?
>>>
>>> There is some support for migrating connections to the new interface.
>>> QNAM
>>> supports resuming GET operations under the following conditions:
>>>
>>> 1. Only GET requests are resumed.
>>> 2. No outgoing data.
>>> 3. Server supports HTTP Accept-Ranges.
>>> 4. Does not work with QNAM's zero-copy feature.
>>> 5. Must be using bearer management.
>>>
>>> For other operations and GET requests that do not meet the above, you
>>> will
>>> need to handle the network disconnection and resend the request.
>>>
>>> Cheers,
>>>
>>> --
>>> Aaron McCarthy
>>> ___
>>> 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
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] QNetworkAccessManager is losing connection upon switching between wifi and mobile

2015-11-09 Thread Alexander Ladygin
Hey!

I've got an issue: QNetworkAccessManager is losing connection upon
switching between wifi and mobile:( What exactly should i do/update to make
it work properly? Maybe need to change network configuration? Why it is not
handled by platform?
Thanks.

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

Re: [SailfishDevel] any way to edit jolla-email app?

2015-11-07 Thread Alexander Ladygin
в чем проблема публично об этом написать?)

On Sat, Nov 7, 2015 at 7:21 PM, Andrey Kozhevnikov <coderusin...@gmail.com>
wrote:

> well, i doubt i can give you guidelines for that here, but you can write
> me privately.
>
> -- Исходное сообщение --
> От: "Alexander Ladygin" <fake...@gmail.com>
> Кому: "Sailfish OS Developers" <devel@lists.sailfishos.org>
> Отправлено: 07.11.2015 20:27:00
> Тема: Re: [SailfishDevel] any way to edit jolla-email app?
>
>
> any specific guidelines on how to do it?=)
>
> On Sat, Nov 7, 2015 at 6:00 PM, Андрей Кожевников <coderusin...@gmail.com>
> wrote:
>
>> You can always unpack qml resources stored in binary and patch binary to
>> load main qml file from disk instead of resources.
>> 07.11.2015 17:07 пользователь "Alexander Ladygin" <fake...@gmail.com>
>> написал:
>>
>>> Hey!
>>>
>>> Probably stupid question but are there any ways to edit
>>> /usr/lib/jolla-email binary? QML parts as they are stored as clear text.
>>>
>>> Alex.
>>>
>>> ___
>>> 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
>>
>
>
> ___
> 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

Re: [SailfishDevel] what lib is missing?

2015-11-03 Thread Alexander Ladygin
resolved

Additionally you need to add this to the harbour-.pro:
QT += dbus

This to the harbour-.yaml:
- Qt5DBus


On Tue, Nov 3, 2015 at 7:48 PM, Alexander Ladygin <fake...@gmail.com> wrote:

> Hello!
>
> When trying to build an app which uses QtDBus in c++, QTCreator gives an
> error
> file not found /srv/mer/targets/SailfishOS-i486/usr/lib/libQt5DBus.so.5
> error adding symbols: DSO missing from command line
>
> i;ve checked installed libs on mersdk, and everything seems to be ok,
> qt5-qtdbus is present, and also bunch of other dbus libs
>
> Any ideas? Anything else i need to specify in order to use QtDBus?
>
> Alex.
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] how can i "contain" text items properly?

2015-10-28 Thread Alexander Ladygin
that was easy=) much thanks, Lucien!

On Wed, Oct 28, 2015 at 12:26 PM, Lucien Xu <sfietkonstan...@free.fr> wrote:

> Hello Alexander,
>
> I'm not sure to understand exactly what you need, but you might want to
> take a look at the "clip" property of the Item component (base of all
> graphical components in QtQuick)
>
> http://doc.qt.io/qt-5/qml-qtquick-item.html#clip-prop
>
> Regards,
> Lucien
>
> ------
>
> *De: *"Alexander Ladygin" <fake...@gmail.com>
> *À: *"Sailfish OS Developers" <devel@lists.sailfishos.org>
> *Envoyé: *Mercredi 28 Octobre 2015 10:18:19
> *Objet: *[SailfishDevel] how can i "contain" text items properly?
>
>
> Hello there sailors!
>
> When using SilicaListView inside some other items, content of ListView
> often goes over the boundaries and overlaps with items outside. You can
> also see that behaviour with Label when you set negative text offset (text
> will go to the left, and if your Label is not anchored to the left side of
> the screen, its text will go outside of Label item)
> What i expect is to any text going outside of bounderies of such items to
> disappear.
> What is the proper way to do that?
>
> Alex.
>
> ___
> 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
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] how can i "contain" text items properly?

2015-10-28 Thread Alexander Ladygin
If you add DockPanel as child to ApplicationWindow, not Page, then there
will be no overlaping without any workarounds (at least it did it for me)

On Wed, Oct 28, 2015 at 1:02 PM, <jollail...@gmail.com> wrote:

> In Nettiradio I noticed the same behavior with SilicaListView content
> overlapping with DockedPanel. I worked around it by adding some margin
> between the two. You can still see the section headers overlapping with the
> panel, though.
>
> Alexander Ladygin kirjoitti ke lokakuuta 28 11:18:19 2015 GMT+0200:
> > Hello there sailors!
> >
> > When using SilicaListView inside some other items, content of ListView
> > often goes over the boundaries and overlaps with items outside. You can
> > also see that behaviour with Label when you set negative text offset
> (text
> > will go to the left, and if your Label is not anchored to the left side
> of
> > the screen, its text will go outside of Label item)
> > What i expect is to any text going outside of bounderies of such items to
> > disappear.
> > What is the proper way to do that?
> >
> > Alex.
> >
>
> --
> Lähetetty Jollastani
> ___
> 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] documentation bug

2015-10-25 Thread Alexander Ladygin
There is an error in documentation in QtCreator for ConfiguationValue and
ConfigurationGroup
It says that import is:
import org.nemomobile.Configuration 1.0
When actually it should be
import org.nemomobile.configuration 1.0

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

Re: [SailfishDevel] How to require an exact sailfish version in rpm?

2015-10-23 Thread Alexander Ladygin
it is for patches for pachmanager. And they are OS version dependant.

On Fri, Oct 23, 2015 at 4:07 PM, Artem Marchenko <artem.marche...@gmail.com>
wrote:

> But then certainly you shouldn't need to refer to exact Sailfish OS
> version. Unless you want to tune the UI look, it's all about the versions
> of libraries used, right? ;)
>
> Best regards,
> Artem.
>
>
> On Fri, Oct 23, 2015 at 2:47 PM, Alexander Ladygin <fake...@gmail.com>
> wrote:
>
>> it's not for harbour, it's for openrepos
>> Thanks Andrei, sailfish-version will do it
>>
>> On Fri, Oct 23, 2015 at 1:54 PM, Martin Grimme <martin.gri...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> depending on the used libraries, Harbour tries to detect the required
>>> OS version automatically. But you can also select it manually if
>>> Harbour's guess doesn't look good to you.
>>>
>>>
>>> Martin
>>>
>>>
>>> 2015-10-23 12:50 GMT+02:00, Adam Pigg <pig...@gmail.com>:
>>> > You can also specify the is version in the harbour store listing.
>>> >
>>> > Sent from my BlackBerry 10 smartphone.
>>> > From: Andrey Kozhevnikov
>>> > Sent: Friday, 23 October 2015 11:48 AM
>>> > To: Sailfish OS Developers
>>> > Reply To: Andrey Kozhevnikov
>>> > Subject: Re: [SailfishDevel] How to require an exact sailfish version
>>> in
>>> > rpm?
>>> >
>>> > for Harbour you not allowed to do so, for education purposes you can
>>> depend
>>> > on sailfish-version package version :)
>>> >
>>> > -- Исходное сообщение --
>>> > От: "Alexander Ladygin" <fake...@gmail.com>
>>> > Кому: "Sailfish OS Developers" <devel@lists.sailfishos.org>
>>> > Отправлено: 23.10.2015 15:46:33
>>> > Тема: [SailfishDevel] How to require an exact sailfish version in rpm?
>>> >
>>> >>
>>> >> Hello there sailors.
>>> >>
>>> >> What should i put in .spec file to require a specific OS version?
>>> >>
>>> >> Alex.
>>> >
>>> >
>>> >
>>> ___
>>> 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
>>
>
>
>
> --
> Artem Marchenko
> http://agilesoftwaredevelopment.com
> http://twitter.com/AgileArtem
>
> ___
> 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

Re: [SailfishDevel] How to require an exact sailfish version in rpm?

2015-10-23 Thread Alexander Ladygin
it's not for harbour, it's for openrepos
Thanks Andrei, sailfish-version will do it

On Fri, Oct 23, 2015 at 1:54 PM, Martin Grimme <martin.gri...@gmail.com>
wrote:

> Hi,
>
> depending on the used libraries, Harbour tries to detect the required
> OS version automatically. But you can also select it manually if
> Harbour's guess doesn't look good to you.
>
>
> Martin
>
>
> 2015-10-23 12:50 GMT+02:00, Adam Pigg <pig...@gmail.com>:
> > You can also specify the is version in the harbour store listing.
> >
> > Sent from my BlackBerry 10 smartphone.
> > From: Andrey Kozhevnikov
> > Sent: Friday, 23 October 2015 11:48 AM
> > To: Sailfish OS Developers
> > Reply To: Andrey Kozhevnikov
> > Subject: Re: [SailfishDevel] How to require an exact sailfish version in
> > rpm?
> >
> > for Harbour you not allowed to do so, for education purposes you can
> depend
> > on sailfish-version package version :)
> >
> > -- Исходное сообщение --
> > От: "Alexander Ladygin" <fake...@gmail.com>
> > Кому: "Sailfish OS Developers" <devel@lists.sailfishos.org>
> > Отправлено: 23.10.2015 15:46:33
> > Тема: [SailfishDevel] How to require an exact sailfish version in rpm?
> >
> >>
> >> Hello there sailors.
> >>
> >> What should i put in .spec file to require a specific OS version?
> >>
> >> Alex.
> >
> >
> >
> ___
> 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

Re: [SailfishDevel] How to require an exact sailfish version in rpm?

2015-10-23 Thread Alexander Ladygin
Thanks, but i've already figured out it as i said previously. Pointing to
sailfish-version was enough

On Fri, Oct 23, 2015 at 5:01 PM, Andrey Kozhevnikov <coderusin...@gmail.com>
wrote:

> check how spec file for patch should look:
> https://github.com/CODeRUS/sailfishos-launcher-combined-patch/blob/master/rpm/sailfishos-launcher-combined-patch.spec
>
> -- Исходное сообщение --
> От: "Alexander Ladygin" <fake...@gmail.com>
> Кому: "Sailfish OS Developers" <devel@lists.sailfishos.org>
> Отправлено: 23.10.2015 18:50:33
> Тема: Re: [SailfishDevel] How to require an exact sailfish version in rpm?
>
>
> it is for patches for pachmanager. And they are OS version dependant.
>
> On Fri, Oct 23, 2015 at 4:07 PM, Artem Marchenko <
> artem.marche...@gmail.com> wrote:
>
>> But then certainly you shouldn't need to refer to exact Sailfish OS
>> version. Unless you want to tune the UI look, it's all about the versions
>> of libraries used, right? ;)
>>
>> Best regards,
>> Artem.
>>
>>
>> On Fri, Oct 23, 2015 at 2:47 PM, Alexander Ladygin <fake...@gmail.com>
>> wrote:
>>
>>> it's not for harbour, it's for openrepos
>>> Thanks Andrei, sailfish-version will do it
>>>
>>> On Fri, Oct 23, 2015 at 1:54 PM, Martin Grimme <martin.gri...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> depending on the used libraries, Harbour tries to detect the required
>>>> OS version automatically. But you can also select it manually if
>>>> Harbour's guess doesn't look good to you.
>>>>
>>>>
>>>> Martin
>>>>
>>>>
>>>> 2015-10-23 12:50 GMT+02:00, Adam Pigg <pig...@gmail.com>:
>>>> > You can also specify the is version in the harbour store listing.
>>>> >
>>>> > Sent from my BlackBerry 10 smartphone.
>>>> > From: Andrey Kozhevnikov
>>>> > Sent: Friday, 23 October 2015 11:48 AM
>>>> > To: Sailfish OS Developers
>>>> > Reply To: Andrey Kozhevnikov
>>>> > Subject: Re: [SailfishDevel] How to require an exact sailfish version
>>>> in
>>>> > rpm?
>>>> >
>>>> > for Harbour you not allowed to do so, for education purposes you can
>>>> depend
>>>> > on sailfish-version package version :)
>>>> >
>>>> > -- Исходное сообщение --
>>>> > От: "Alexander Ladygin" <fake...@gmail.com>
>>>> > Кому: "Sailfish OS Developers" <devel@lists.sailfishos.org>
>>>> > Отправлено: 23.10.2015 15:46:33
>>>> > Тема: [SailfishDevel] How to require an exact sailfish version in rpm?
>>>> >
>>>> >>
>>>> >> Hello there sailors.
>>>> >>
>>>> >> What should i put in .spec file to require a specific OS version?
>>>> >>
>>>> >> Alex.
>>>> >
>>>> >
>>>> >
>>>> ___
>>>> 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
>>>
>>
>>
>>
>> --
>> Artem Marchenko
>> http://agilesoftwaredevelopment.com
>> http://twitter.com/AgileArtem
>>
>> ___
>> 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
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] qmlRegisterSingletonType not allowed in Harbour?

2015-10-07 Thread Alexander Ladygin
wow, thanks!
somehow missed it

Alex

On Thu, Oct 8, 2015 at 6:13 AM, Kimmo Lindholm <kimmo.lindh...@eke.fi>
wrote:

> https://harbour.jolla.com/faq#1.5.0
>
> Own imports must be harbour-app-named.
>
> -kimmo
>
> --
> *Lähettäjä:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] käyttäjän Alexander Ladygin [
> fake...@gmail.com] puolesta
> *Lähetetty:* 8. lokakuuta 2015 05:16
> *Vastaanottaja:* Sailfish OS Developers
> *Aihe:* [SailfishDevel] qmlRegisterSingletonType not allowed in Harbour?
>
> Hey everyone!
>
> I've got an app turned down by harbour QA
> Validator says
> ERROR [/usr/share/harbour-vk-music/qml/pages/SongItem.qml] Import
> 'ru.virgi.audioplayerinfo 1.0' is not allowed
>
> is qmlRegisterSingletonType  not allowed or something???
> i'm registering it with
> qmlRegisterSingletonType("ru.virgi.audioplayerinfo", 1,
> 0, "AudioPlayerInfo", audioplayerinfo_provider);
>
> And it's simple QObject with some properties and signals
>
> Regards,
> Alex.
>
> ___
> 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

Re: [SailfishDevel] Clear cookies in SilicaWebView

2015-10-02 Thread Alexander Ladygin
Nice! Thanks! That should do it!

On Fri, Oct 2, 2015 at 9:45 AM, Andrew Penkrat <penkr...@gmail.com> wrote:

> Hi Alexander,
>
> Cookies should be under $XDG_CACHE_HOME//.QtWebKit
>
> You can look at my realisation of cookie deletion:
> https://github.com/Aldrog/TwitchTube/blob/master/src/tools.cpp#L33
>
> Best regards,
> Andrew Penkrat
>
> чт, 1 окт. 2015, 23:48, Alexander Ladygin <fake...@gmail.com>:
>
>> Thanks Matthias, but it did not help=(
>>
>> On Thu, Oct 1, 2015 at 10:17 PM, Matthias Fehring <
>> buschm...@huessenbergnetz.de> wrote:
>>
>>> Hello Alex,
>>>
>>> there are some experimental properties for QtWebKit, but i am not sure
>>> if it
>>> really works.
>>>
>>> For your SilicaWebView:
>>>
>>> import QtWebKit.experimental 1.0
>>>
>>> and then in the SilicaWebView set:
>>>
>>> experimental.preferences.privateBrowsingEnabled: true
>>>
>>>
>>> Best greetings
>>> Matthias
>>>
>>>
>>> Am Donnerstag, 1. Oktober 2015, 21:49:03 schrieb Alexander Ladygin:
>>> > Hello.
>>> >
>>> > It seems that SilicaWebView is storing cookies when you use it (even
>>> > offline). Is there any way to clear them? Or use privatebrowsing or
>>> > something so when you close the page with it, it will clear all saved
>>> > cookies?
>>> >
>>> > Any advice?
>>> > Thanks.
>>> >
>>> > Alex.
>>>
>>> --
>>> Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre.
>>> (Friedrich Schiller - Die Räuber)
>>>
>>> Und der Buschfunk spielt gerade "Light My Fire (Bonus Track)" von
>>> "Amorphis".
>>>
>>> www.buschmann23.de
>>> GPG-Key: 0x614C3258
>>> GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258
>>>
>>> ___
>>> 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
>
>
> ___
> 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

Re: [SailfishDevel] SDK version 1.1.9 is released

2015-10-02 Thread Alexander Ladygin
it is obviously a bug and i can confirm it (on opensuse)
it should be a circle

On Fri, Oct 2, 2015 at 5:52 PM, Chris Walker <
cdw_noki...@the-walker-household.co.uk> wrote:

> On Thu, 24 Sep 2015 11:57:03 +
> Martin Kampas  wrote:
>
> > Hello again,
> >
> > Today (September 24th) at 11:00 UTC we have published new installers
> > and repositories of the Sailfish OS SDK. This SDK release is called
> > the 1509 and it matches the Jolla Release 1.1.9.
>
> [snip]
>
> > - For more information, please see the SDK Beta-Qt5 known issues list
> > at:
> > https://sailfishos.org/develop/sdk-overview/sdk-beta-qt5-known-issues/.
>
> I checked the known-issues list and this one wasn't there.
>
> One issue I've discovered is that when looking at the Components app in
> the Emulator, and following the selection to Dialogs -> Time Selection,
> I no longer have a round clock but a purple square one. Is this
> intentional or an infelicity? (64-bit Mageia linux and VBox v5).
>
> I have to say that I'm not in favour of the removal of the smooth glide
> such as when deleting something. I much prefer the glide to the 1
> second jumps now apparent. I'd like to know the thinking behind that
> one.
> ___
> 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] Clear cookies in SilicaWebView

2015-10-01 Thread Alexander Ladygin
Hello.

It seems that SilicaWebView is storing cookies when you use it (even
offline). Is there any way to clear them? Or use privatebrowsing or
something so when you close the page with it, it will clear all saved
cookies?

Any advice?
Thanks.

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

Re: [SailfishDevel] Clear cookies in SilicaWebView

2015-10-01 Thread Alexander Ladygin
Thanks Matthias, but it did not help=(

On Thu, Oct 1, 2015 at 10:17 PM, Matthias Fehring <
buschm...@huessenbergnetz.de> wrote:

> Hello Alex,
>
> there are some experimental properties for QtWebKit, but i am not sure if
> it
> really works.
>
> For your SilicaWebView:
>
> import QtWebKit.experimental 1.0
>
> and then in the SilicaWebView set:
>
> experimental.preferences.privateBrowsingEnabled: true
>
>
> Best greetings
> Matthias
>
>
> Am Donnerstag, 1. Oktober 2015, 21:49:03 schrieb Alexander Ladygin:
> > Hello.
> >
> > It seems that SilicaWebView is storing cookies when you use it (even
> > offline). Is there any way to clear them? Or use privatebrowsing or
> > something so when you close the page with it, it will clear all saved
> > cookies?
> >
> > Any advice?
> > Thanks.
> >
> > Alex.
>
> --
> Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre.
> (Friedrich Schiller - Die Räuber)
>
> Und der Buschfunk spielt gerade "Light My Fire (Bonus Track)" von
> "Amorphis".
>
> www.buschmann23.de
> GPG-Key: 0x614C3258
> GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258
>
> ___
> 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

Re: [SailfishDevel] Shell command to enable/disable Developer mode

2015-07-07 Thread Alexander Ladygin
Thanks Jens,

but i'm not talking about usb connection mode. I meant developer mode which
can be enabled in settings to enable  ssh access.


Regards,
Alexander Ladygin.

On Tue, Jul 7, 2015 at 8:27 PM, jklingen sailfish-de...@jklingen.com
wrote:

 Hi Alexander,

 you're looking for usb_moded_util.

 Try
 usb_moded_util -h
 it's pretty much self-explaining :)

 Best regards,
 Jens


 Am 07.07.2015 um 15:39 schrieb Alexander Ladygin:

 Hi there, fellow developers!

 I was wondering whether there is a shell command to enable/disable
 Developer mode?

 Thanks!

 Regards,
 Alexander Ladygin.


 ___
 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

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

[SailfishDevel] Shell command to enable/disable Developer mode

2015-07-07 Thread Alexander Ladygin
Hi there, fellow developers!

I was wondering whether there is a shell command to enable/disable
Developer mode?

Thanks!

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

Re: [SailfishDevel] Path to cover page qml file

2014-12-28 Thread Alexander Ladygin
that's what i meant :)
thanks! i'll look into it


Regards,
Alexander Ladygin.

On Sun, Dec 28, 2014 at 11:29 AM, Andrey Kozhevnikov coderusin...@gmail.com
 wrote:

  There are  no common coverpage. What you see when all loading is coded
 in lipstick Switcher.qml. Minimal qml code for loading application cover
 and interacting with it is also there.

 28.12.2014 12:54, Alexander Ladygin пишет:

  Hello everyone!

  Can anybody help me with a path to cover page qml file (if it exists). I
 don't mean cover page to some application, but some kind of common cover
 page, that every app is using to display its cover page (it terms of
 extending a class). I want to try and change behaviour, common to every
 cover page.

 Regards,
 Alexander Ladygin.


 ___
 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

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

[SailfishDevel] Path to cover page qml file

2014-12-27 Thread Alexander Ladygin
Hello everyone!

Can anybody help me with a path to cover page qml file (if it exists). I
don't mean cover page to some application, but some kind of common cover
page, that every app is using to display its cover page (it terms of
extending a class). I want to try and change behaviour, common to every
cover page.

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

[SailfishDevel] linux webagent 3.04 for apache22 64bit wanted

2014-10-05 Thread Alexander Ladygin
Hello everyone.

As stated i need linux webagent 3.04 for apache22 64bit for OpenAM 9
installation.
Does anyone have it? Or maybe a link? I found that one:
http://forgerock.org/downloads/openam-archive, but for some reason i can't
chose 64 bit version.


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

Re: [SailfishDevel] Disabling navigation gestures

2014-01-15 Thread Alexander Ladygin
Hi there
Just a thought: may be you could do it like it's done in Gallery app, where
tapping one time brings down menu, where you could navigate back and
forward.

Best regards,
Alexander.

On Tue, Jan 14, 2014 at 1:45 PM, Antoine Reversat a.rever...@gmail.comwrote:

 Yeah that's what I was going to do as a last resort :(


 On Tue, Jan 14, 2014 at 2:49 AM, Bob Jelica sailf...@jelica.se wrote:

 Hey,

 I’m fighting with the same problem. Only way, at least that I’ve found
 thus far, is to use backNavigation/forwardNavigation properties and then
 ”faking” the navigation buttons in top-left corner with a switch and a
 label :)

 //bob

 On 14 Jan 2014, at 03:42, Antoine Reversat a.rever...@gmail.com wrote:

  Hi,
 
  I would like to know if it is possible to disable navigation gestures .
 I'm using a Map element and navigation gestures override the panning
 gesture. I don't want to disable the navigation buttons at the top left
 corner so backNavigation and forwardNavigation properties don't work for me.
 
  Antoine
  ___
  SailfishOS.org Devel mailing list

 ___
 SailfishOS.org Devel mailing list



 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

[SailfishDevel] Can not ssh to Jolla via USB in Developer mode

2013-12-23 Thread Alexander Ladygin
Ahoy everyone!

For some reason i can not connect to my Jolla from my laptop
I turned Develeper mode on, set the pass, set the IP
I'm connecting jolla via USB, then selecting Developer mode, and then
trying to SSH from host
PING is just getting all packets lost and with ssh nemo@192.168.2.100 i'm
getting:
FATAL: Unable to connect to destination host, errno=110
ssh_exchange_identification: Connection closed by remote host

Any thoughts?

My laptop's OS is Opensuse 13.1

Thanks
___
SailfishOS.org Devel mailing list