Re: [SailfishDevel] Sailfish OS SDK 1510

2015-10-19 Thread Vesa-Matti Hartikainen
Hi,

I have El Capitan at home. During weekend I tried this. I had to update 
VirtualBox to 5.0 and install the new platform extensions. After reboot 1510 
SDK worked fine in compiling Tweetian to emulator, phone, and tablet.

BR,
Vesku

From: devel-boun...@lists.sailfishos.org 
[mailto:devel-boun...@lists.sailfishos.org] On Behalf Of tisno.de
Sent: 19. lokakuuta 2015 10:52
To: Sailfish OS Developers 
Subject: Re: [SailfishDevel] Sailfish OS SDK 1510

I have tried it a couple of days back on Mac OS X 10.11. The SDK with 
Virtualbox seems to install fine. But when I tried to compile my app 
(ownKeepass) I got some strange compile errors. Without mood to tackle them 
down I went back to my Ubuntu Laptop ;)


On Sa, Okt 10, 2015 at 11:36 , Daniele C 
mailto:cavald...@gmail.com>> wrote:

Do you know if Sailfish OS SDK 1510 works with mac os x El Capitan (10.11 
version)? ___ 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] Other programming languages for developing Harbour apps.

2015-08-10 Thread Vesa-Matti Hartikainen
Hi,

 You can certainly develop using almost any compiled language. Technically 
there is no limitations. However, we only accept linking to well known shared 
libraries  with stable API and ABI for the apps that we accept to Jolla app 
store. We do this to ensure apps keep working for the forseeable future. This 
may limit usefulness of other compiled languages than C and C++. 

 You can see other constrains we have set for apps in Jolla store from the 
Harbour FAQ at:
 https://harbour.jolla.com/faq

 And the list of accepted shared libraries at:
 
https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/harbour-qa/allowed_libraries.conf

BR,
 Veskuh










Lähettäjä: devel-boun...@lists.sailfishos.org 
[devel-boun...@lists.sailfishos.org] käyttäjän Michał Radwański 
[epitaf...@outlook.com] puolesta

Lähetetty: 9. elokuuta 2015 15:36

Vastaanottaja: Sailfish OS Mailing List

Aihe: [SailfishDevel] Other programming languages for developing Harbour apps.






Hi all!

I aim more flexible way to develop software than static typing. And thus I'm 
looking for a possibility to make something cool with an also-compiled language 
named Common Lisp.



What I red on Sailfish website was something similar to "thou can use C++ or 
Python". I can fairly understand the choice - C++ is the primary language for 
Qt, and the same with Python - it is a popular language among OSS developers 
and its VM is required
 during runtime. 



However I don't know why other compiled to binary languages aren't even 
mentioned.



Is running not-C++ binaries anyhow restricted?


Michał Radwański








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


Re: [SailfishDevel] Jolla release plan for high-level features - update 6 / 7

2014-05-19 Thread Vesa-Matti Hartikainen

On 05/17/2014 01:09 PM, Sven Putze wrote:

* File picker and real tabs support in browser
   https://together.jolla.com/question/321/file-picker-needed/
   https://together.jolla.com/question/373/tab-reloading-browser-settings/

Will the file-picker be a generic Silica component that is usable in other 
apps, too?


 File picker is not yet ready to be a public API. When we provide 
public APIs we want them to be easily available in SDK, documented, 
reviewed, and have a stable API. We don't have all of these yet for 
picker components. Once we have those things sorted out we do plan to 
provide it as a public API.


--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

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


Re: [SailfishDevel] How to debug Julla

2014-02-26 Thread Vesa-Matti Hartikainen

Hi,

 Here are instructions for updating:
 
https://jolla.zendesk.com/entries/39296038-I-have-problems-with-my-Jolla-account-loading-applications-from-the-Jolla-store-and-or-getting-the-l

Best Regards,
 Vesku

On 02/27/2014 08:41 AM, Tony wrote:

Hi,

My Julla 's system version is 1.0.0.5. I tried to upgrade the system , 
but system mentioned that is the newest version.
Besides , I also tried to start using development mode. The system 
noticed that development package install failed.


Do you know how to debug it ?

tony.chend...@gmail.com <mailto:tony.chend...@gmail.com>



___
SailfishOS.org Devel mailing list



--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Install sailfish-browser to emulator

2014-02-14 Thread Vesa-Matti Hartikainen

Hi,

On 02/14/2014 11:35 AM, Steph Gosling wrote:

Hi,

On Fri, 14 Feb 2014 09:21:03 +0300
Oleg Linkin  wrote:


Is it possible& May be somebody has success story about this?
I can't find browser in repos or anywhere in rpm.
I try to build it myself but can't due to embedwidge dependency which I
can't solve

When did you try and build it, I noticed that the build instructions
were added to the repository yesterday:

https://github.com/sailfishos/sailfish-browser/wiki/BuildingInstructions


  With those instructions building .rpm for emulator can be done. And 
you can install it, but there is couple of tricks needed, because 
browser has dependencies for newer version of Silica and theme than we 
have in SDK repositories. You can force install the package with:

 rpm -i *.rpm --nodeps --force

 In addition you need to comment out
 line that starts
 _defaultPageOrientations

 in browser.qml since that property is not yet available in emulator's 
Silica.


 After that it should work in sdk emulator.

 And yes, I'll add this to wiki also.

--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

___
SailfishOS.org Devel mailing list


[SailfishDevel] Sailfish Browser is now open source!

2014-02-11 Thread Vesa-Matti Hartikainen

Hi all,

 We finally got all the preparations done and today is the day. 
Sailfish Browser is Jolla's first fully open source application! The 
public repository is here: https://github.com/sailfishos/sailfish-browser


 We intend to work as open as possible and hope to gain contributors 
and a better chance of getting our embedding accepted to Mozilla upstream.


 Future contributions, both internal and external should go to the 
public repository. I hope that we will get a public bugzilla for this 
project at some point, but at the moment externally we will use Github's 
issue tracker.


 A more in depth description of the technology powering the browser can 
be found at 
http://blog.idempotent.info/posts/whats-behind-sailfish-browser.html.


On behalf of Jolla's browser team I thank you all for being an awesome 
community and we are very much looking forward to building a great 
browser together!


--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] QStandardPaths not working when app is run from Launcher

2014-01-20 Thread Vesa-Matti Hartikainen

Hi,

 I think QStandardPaths use applicationName and organizationName when 
constructing paths.


 So solution would be something like
app->setApplicationName("harbour-yourapp");
app->setOrganizationName("harbour-yourapp");

 And then QStandardPaths will start giving paths that follow harbour 
guidance.


BR,
 Vesku


On 01/19/2014 05:32 PM, Robin Burchell wrote:

Hi,

Can you please provide a small sample demonstrating this? As I'm quite 
sure it works for our own uses.


BR,
Robin

On 19 Jan 2014, at 14:34, Sylvain B. <mailto:sth...@hotmail.com>> wrote:



Hey,
My app did not want to read the some cached content it was supposed 
to have written inQStandardPaths::CacheLocation.
To understand why, I tried to run it from the terminal, and... 
everything is working fine.
Since we don't have logs when we run the app directly from Launcher, 
I updated it to display some logs directly in the UI and I figured 
out that, when the app is run from the Launcher on the actual device 
(it's ok on the emulator), QStandardPaths does not work correctly:


QStandardPaths::CacheLocationreturns 
/home/nemo/.cache/mdeclarativecache_pre_initialized_qapplication-X


X is a random number, so each time I run my app, it creates a new 
one.
When run from terminal,QStandardPaths::CacheLocationcorrectly returns 
/home/nemo/.cache/


I tried withQStandardPaths::DataLocationbut it's the same, I get 
/home/nemo/.local/share/AppName/mdeclarativecache_pre_initialized_qapplication-X


So for the moment, I temporarily hardcoded /home/nemo/.cache/

Thanks!
Sylvain.
___
SailfishOS.org <http://sailfishos.org/>Devel mailing list




_______
SailfishOS.org Devel mailing list



--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Mjpeg support in webview

2014-01-13 Thread Vesa-Matti Hartikainen

Hi,

 We have not configured Mozilla engine for 3rd party use (there are 
issues like only one profile, etc.), and that is why using it is not a 
good idea, and the app would not be accepted to store.


Perhaps you could try to use QtMultimedia to playback the stream?
http://qt-project.org/doc/qt-5.1/qtmultimedia/qml-qtmultimedia5-video.html

BR,
 Vesku




On 01/13/2014 03:50 PM, Coley wrote:

Hi,
I'm trying to display an Mjpeg stream in a little app I'm creating 
using QML.

Initially I tried SilicaWebView but this fails to display the image.

The image can be displayed fine using the native browser, so I tried 
to use qtmozembed pkg but I don't know what to import into my project.

I've added
import Qt5Mozilla 1.0
but this doesn't seem to be valid.

I've installed qtmozembed-qt5 on the SDK and it is already present on 
device, and the appropriate -devel pkg on the SDK.


Is there any variable I need to add to the CONFIG var in my .pro file?

Thanks,
-Coley.





___
SailfishOS.org Devel mailing list



--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] x-maemo-urischeme problems

2014-01-13 Thread Vesa-Matti Hartikainen

On 01/10/2014 08:02 PM, Andreas Storbjörk wrote:


I've been trying to register a uri scheme handler, something like 
"myapp://x", so that when Sailfish browser tries to open such an 
url, it would open my app and pass the url as argument. But so far 
I've had very little success.. it seems to work if I use the 
"lca-tool" command to verify it but nothing happens in Sailfish 
browser when visiting such an url. It just tells me "myapp is not a 
registered protocol". I can find my handler in 
/usr/share/applications/mimeinfo.cache and it looks ok.


Is there something besides editing the .desktop file and running 
"update-desktop-database" that I still need todo to make it work?


 You can make a protocol handler and use it between applications in 
Sailfish OS and that is what you have. However, Gecko only maps specific 
predefined protocols to ones available in system. See:

https://github.com/tmeshkova/embedlite-components/commit/af49c55c20809d419ab02e3512120bca3654492c

Writing a similar protocol handler for Gecko and installing it from your 
package might be technically possible, but might not be accepted to harbour.


--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Input file tag in Sailfish browser?

2014-01-07 Thread Vesa-Matti Hartikainen

Hi,

On 01/07/2014 11:09 PM, Graham Cobb wrote:

Is the input file tag supposed to work in the Sailfish browser?

If I use...



I get an input box shown, with a button labelled "Browse..." but nothing
happens if I touch on it.
 Not yet. Support for it has not been implemented yet, but it is in our 
plans.


 See also:
https://together.jolla.com/question/1006/add-file-upload-functionality-to-web-browser/


--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] No consistency across screens

2013-12-30 Thread Vesa-Matti Hartikainen

Hi,

 This is excellent discussion about what could be done about improving 
the user experience. Now that we have together.jolla.com I suggest you 
move the concrete proposals there, since then a wider audience of users 
can discuss and upvote any proposals.


 We do obviously follow this list too, but it would be better IMO if 
this list would have focus more on the development topics.


BR,
 Vesku



On 12/30/2013 11:18 PM, Mikael Hermansson wrote:


whoops your are right.

On Monday 30 December 2013 20.14.22 Chris Walker wrote:

> On Mon, 30 Dec 2013 18:20:17 +0100

>

> Mikael Hermansson  wrote:

> > On Monday 30 December 2013 15.35.39 Graham Cobb wrote:

> > > I need that information all the time -- a **lot** more

> > > often than I actually interact with the phone.

> >

> > In every app you can just shortly "swipe left less than half of

> >

> > screen" http://www.youtube.com/watch?v=p9YGtW274GI and you will see

> > the clock, 3g level and wifi level and then just release and you back

> > in current application. So I dont see any reason this must be visible

> > all the time when its so easy check it that way.

> >

> > And if your phone is idle just double tap and it shows all that

> > information for you.

>

> Really? It doesn't here. If I double tap from a black screen, all I see

> is the ship, a time and a WLAN symbol. I have to scroll a little to

> see battery and 2G/3G availability.

> ___

> SailfishOS.org Devel mailing list

--

Skickat från Lenovo Thinkpad X230 running Kubuntu desktop



___
SailfishOS.org Devel mailing list



--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] A new Jolla phone user - after 2 days of use

2013-12-17 Thread Vesa-Matti Hartikainen

On 12/17/2013 12:21 PM, Nils Jeisecke wrote:

- Cannot copy/paste in Mail or in Browser
 Copy & Paste is not yet ready for web content. The URL you can copy & 
paste just like any other text field.


In the email you cannot copy when viewing the mail, but if you reply you 
can then select the plain text content to copy. Paste works in the mail 
editor.



- Browser can't share links
 Long tap a link and click share. If you  have twitter/fb/email 
configured you can share to those. To share current page go to tab view 
from icon in middle and select share from pulley menu by pulling the UI 
down.


--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Linking to qwidget, or any other method to access the clipboard

2013-12-02 Thread Vesa-Matti Hartikainen

On 12/02/2013 11:19 AM, Michael Demetriou wrote:

Hello,

I'm trying to port speedcrunch to sailfish, and I have functionality
that uses the clipboard (cover swipe copies last result to the
clipboard), however since harbour does not allow linking to qtWidgets
this is not possible.

Is there a workaround to this? I am not using widgets for the
interface, I just need to include QApplication.

Thank you.

Michael Demetriou
___
SailfishOS.org Devel mailing list


See:
 http://qt-project.org/doc/qt-5.1/qtgui/qguiapplication.html#clipboard

--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] INSTALLS variable at pro file - installs at wrong location/is ignored

2013-09-17 Thread Vesa-Matti Hartikainen

On 09/17/2013 02:15 AM, Gabriel Boehme wrote:

Hi sailors,

I'm playing around with Alpha 2 version of the SDK, my app is nothing
special - it just parses some iCal files. In the first version of the
SDK I deployed them with INSTALLS variable in pro-file to the device.

I've put them in a folder next to the qml files called "data", so they
are at /usr/share//data/ From the C++ backend I parsed them
with DEPLOYMENT_PATH/data/... That worked pretty nice. But with the
switch to Alpha 2 SDK it don't work anymore and the files are not
deployed at /usr/share//data/... anymore. After some
investigation it seems they are landing in /opt/sdk/share/Test/data/...

Why is it acting like this? And why is my path in the pro-file ignored?
Can someone bring some light in it?

 Yes, there are two deployment modes in SDK now: rpm-deployment and
copy deployment (swithc from sailfish logo on the sidebar). You would
use copy deployment during development keeping your device/emu clean
by instaling under /opt/sdk/ tree.In the end you would use
rpm-deploy and then stuff will go to final destination /usr/share/.
Copy deploy should also be faster thannfull rpm deploy.

You can see from function createView in sailfishapplication.cpp how the 
path

is determined. The idea was to have helper function for getting root of the
apps data available for developers, but we were in a bit of rush and had
some miscommunications so that did not end up in released version of 
template.

Sorry, about that.

HTH,
 Vesku

--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Some UI stuff etc.

2013-08-20 Thread Vesa-Matti Hartikainen

On 08/19/2013 08:56 PM, FIlip Kłębczyk wrote:

Hello,

while on Sailfish SDK installfest event in Bratislava yesterday I've 
met a guy who is working on an IVI UI/UX for one of the well known 
automotive brands (nevermind which). As Sailfish was something new to 
him he was very interested what this OS has to offer in terms of UX. 
Reception was generally positive, but he had few remarks. Anyway we 
found some things in the components gallery (don't remember if it was 
discussed here already) which can be probably improved/fixed.


Thanks a lot for arranging these and for the feedback!


So this is hard to read (text in red area is almost unreadable):
https://www.dropbox.com/s/n6hxcjpozc2x4p1/hard_to_see_what_is_actually_there.png 



This is mainly to illustrate use of custom background for text field. So 
no, we do not use bright red background in text fields of our apps, only 
in this example.



Numbers on keypad missing:
https://www.dropbox.com/s/yl0elu6bm0jadn5/no_numbers.png


We already have a fix for this. Should be included in next SDK releasre.



Old stuff, discussed many times, but again and again people who see 
the dialog for the first time, wonder why actually time is not in the 
center? Was there any particular reason for not putting it there?

https://www.dropbox.com/s/77qfl38hp6m284y/time_in_center.png


It is a dialog header. If the dialog is single selection dialog (like 
time) we show what user has selected in the accept header. So its in the 
right corner, since you accept the choice by moving forward. (push 
right-to-left). That is the reasoning behind it. I think we have had 
couple of discussions about that and so far the designers prefer the 
current solution.


PS. By the way I remember previous SDK version (the one from February) 
and it seems to me that Opacity Ramp had some effect then. Here it 
does not seem to have any if changing values (or maybe I'm not 
noticing it). Btw. offset value at one point:

https://www.dropbox.com/s/nypvh3h55dm7gw3/does_it_still_works.png
Yep, that's a bug. Opacity Ramp should work like it did in the previous 
SDK version. We have a bug about that and it will be fixed before final 
SDK goes out.


--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com
p. +358 50 487 6067

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Fwd: Fwd: mb gives error "sb2: Error: Invalid target specified, aborting.": Part 3

2013-04-22 Thread Vesa-Matti Hartikainen

Hi,

 Try running mb as user mersdk in Mer SDK VM.

BR,
 Vesku


On 04/22/2013 11:16 AM, christopher.l...@thurweb.ch wrote:

Hi All

Maybe a glimmer of light at the end of the tunnel.

I have found which instance of sb2 is being called (/usr/bin/sb2), and 
have have extended the exit_error() function to give a little more 
info. I now get the following error output:


[root@SailfishSDK Demo2]# mb build -t SailfishOS-i486-x86 rpm/Demo2.spec
Building rpm/Demo2.spec for SailfishOS-i486-x86
Checking dependencies...
sb2: Error: Invalid target specified, aborting. Deep Shit!
current directory is:  /home/mersdk/SailfishProjects/Demo2/Demo2
script is : /usr/bin/sb2
target is: SailfishOS-i486-x86
file being looked for at: 
/root/.scratchbox2/SailfishOS-i486-x86/sb2.config

Setting up temporary specfile for Demo2 from rpm/Demo2.spec
rsyncing source...
run rpmbuild
sb2: Error: Invalid target specified, aborting. Deep Shit!
current directory is:  /home/mersdk/SailfishProjects/Demo2/Demo2
script is : /usr/bin/sb2
target is: SailfishOS-i486-x86
file being looked for at: 
/root/.scratchbox2/SailfishOS-i486-x86/sb2.config


The problem seems to be that ether:
a) /root/.scratchbox2/SailfishOS-i486-x86/sb2.config is missing or
b) sb2 is looking for this file in the wrong place

An ls of /root gives me:

[root@SailfishSDK Demo2]# ls -l -A //root
total 32
-rw--- 1 root root  510 2013-04-21 13:34 .bash_history
-rw-r--r-- 1 root root   24 2012-01-25 19:08 .bash_logout
-rw-r--r-- 1 root root  191 2012-01-25 19:08 .bash_profile
-rw-r--r-- 1 root root  176 2012-01-25 19:08 .bashrc
-rw-r--r-- 1 root root  100 2012-01-25 19:08 .cshrc
drwxr-xr-x 4 root root 4096 2013-04-21 14:31 rpmbuild
-rw-r--r-- 1 root root  129 2012-01-25 19:08 .tcshrc
-rw--- 1 root root  963 2013-03-28 15:19 .viminfo
[root@SailfishSDK Demo2]#

No sign here of a .scratchbox2 directory


Grüsse

Chris



___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] datepickerdialog

2013-02-27 Thread Vesa-Matti Hartikainen

Hi,

On 02/27/2013 10:34 AM, nic...@nicoladefilippo.it wrote:

thus i changed it in (added ","):

Button {
  id: button
  text: "choose a date"

  onClicked:
pageStack.openDialog("Sailfish.Silica.DatePickerDialog", {
  year: 2012,
  month: 11,
  day: 23,
  /*onAccepted: {
  button.text = "You chose: " + dateText
  }*/
  })
  }

but commenting onAccepted obviously is impossible to show selected date.

Where is the error?


 Thanks for reporting this. The docs are obviously having a bug.

 This should work:
   Button {
id: button
text: "choose a date"

onClicked: {
var dialog = 
pageStack.openDialog("Sailfish.Silica.DatePickerDialog", {

  year: 2012,
  month: 11,
  day: 23
  });

dialog.accepted.connect(function() {
button.text = "you chose: " + dialog.dateText
})
}
}

BR,
 Vesku



___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] small bug in the home screen

2013-02-25 Thread Vesa-Matti Hartikainen

On 02/25/2013 07:59 PM, Rücker Thomas wrote:


If you reach the bottom of the screen you'll pull up a menu that shows 
'home'. If you keep the mouse button pressed and scroll out of the 
menu, then you won't be able to reach the menu anymore until you 
release the mouse button (lift your finger) and try again. It will 
just stop at the bottom of that darker green screen and that 'end of 
screen glow' will get dim if you try to pull out the menu.


 Thanks for reporting. I think I got this reproduced and happens in all 
pulley menus.  So essentially:

 1) Pulldown (or pushup) a pulley menu
 2) do the opposite until the menu is fully closed
 3) try to pull it open again
 And all without releasing mousebutton.

BR,
 Vesku
___
SailfishOS.org Devel mailing list