Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread William Su
Sorry for the blank emails that were accidentally sent out... I guess that is 
why BB10 is not my main phone...




On Saturday, November 23, 2013 12:15 PM, "sonyfe...@ovi.com" 
 wrote:
 



Sent from my BlackBerry 10 smartphone.
From: Andrey Kozhevnikov
Sent: Saturday, November 23, 2013 10:14
To: christopher.l...@thurweb.ch
Reply To: Sailfish OS Developers
Cc: Sailfish OS Developers
Subject: Re: [SailfishDevel] Dynamically populate a ContextMenu 

Just dont use dynamic childs if you dont want, but let it to others ;)

On 24.11.2013 00:03, christopher.l...@thurweb.ch wrote:
> We should not have to make that choice.
>
> using an underscore property is the pragmatic solution, but I would be 
> interested to hear what the Jolla developers have to say on this issue.
>
> Zitat von "Andrey Kozhevnikov" :
>
>> You should use it if you want "real" dynamically created components.
>> Or reimplement ContextMenu item.
>>
>> What would you prefer?
>
>
>

___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread sonyfever
  Sent from my BlackBerry 10 smartphone. From: Andrey KozhevnikovSent: Saturday, November 23, 2013 10:14To: christopher.l...@thurweb.chReply To: Sailfish OS DevelopersCc: Sailfish OS DevelopersSubject: Re: [SailfishDevel] Dynamically populate a ContextMenuJust dont use dynamic childs if you dont want, but let it to others ;)On 24.11.2013 00:03, christopher.l...@thurweb.ch wrote:> We should not have to make that choice.>> using an underscore property is the pragmatic solution, but I would be > interested to hear what the Jolla developers have to say on this issue.>> Zitat von "Andrey Kozhevnikov" :>>> You should use it if you want "real" dynamically created components.>> Or reimplement ContextMenu item. What would you prefer?>>>___SailfishOS.org Devel mailing list
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread Marcin M.
Agree with Cristopher. This is a workaround, but it should be fixed so that
no manual tweaking is needed. Just as in c++ - private is private.
--
Marcin


2013/11/23 Andrey Kozhevnikov 

> Just dont use dynamic childs if you dont want, but let it to others ;)
>
>
> On 24.11.2013 00:03, christopher.l...@thurweb.ch wrote:
>
>> We should not have to make that choice.
>>
>> using an underscore property is the pragmatic solution, but I would be
>> interested to hear what the Jolla developers have to say on this issue.
>>
>> Zitat von "Andrey Kozhevnikov" :
>>
>>  You should use it if you want "real" dynamically created components.
>>> Or reimplement ContextMenu item.
>>>
>>> What would you prefer?
>>>
>>
>>
>>
>>
> ___
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list

[SailfishDevel] Try flashlight on a real device, please. Rebuilt to satisfy the new requirements

2013-11-23 Thread Artem Marchenko
Hi All

I've rebuilt flashlight for the new requirements (86x86 icons, [hopefully]
correct package/binary names, no dependencies anymore, etc). Just a bit of
graphics update yet (replacing qtgraphicseffects stuff with prerendered
images).

Please, give it a try and tell if it works -
https://dl.dropboxusercontent.com/u/19482748/harbour-flashlight-1.0.2.armv7hl.rpm

Particularly, please, tell if app icon appears fine - to my understanding
it can't work on emulator, but should work fine on the recent real firmware.

Cheers,
Artem.

-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread Andrey Kozhevnikov

Just dont use dynamic childs if you dont want, but let it to others ;)

On 24.11.2013 00:03, christopher.l...@thurweb.ch wrote:

We should not have to make that choice.

using an underscore property is the pragmatic solution, but I would be 
interested to hear what the Jolla developers have to say on this issue.


Zitat von "Andrey Kozhevnikov" :


You should use it if you want "real" dynamically created components.
Or reimplement ContextMenu item.

What would you prefer?






___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread christopher . lamb

We should not have to make that choice.

using an underscore property is the pragmatic solution, but I would be  
interested to hear what the Jolla developers have to say on this issue.


Zitat von "Andrey Kozhevnikov" :


You should use it if you want "real" dynamically created components.
Or reimplement ContextMenu item.

What would you prefer?




___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Fwd: Massive issues while installing SailfishOS IDE

2013-11-23 Thread Helge Täubert
Hello,

I have found the same problem with special characters. It has also been
reported in:
http://forum.jollausers.com/sailfish-developers/sailfishos-sdk-under-windows-7/

Helge

Am 23.11.2013 17:12, schrieb Gabriel Böhme:
> Hi,
>
> I have the same problem with the SailfishOS IDE in Windows 7 and guess
> special chars and/or spaces causes the issues. The main folder is
> C:/SailfishOS and also my projects are in C:/SailfishOS/projects, but
> the "SailfishAlpha2" folder in AppData is just affected, cause it's in
> the user path, in my case a very bad path "Gabriel Böhme". So a
> special char and a space. :)
>
> I'll try with a new user later, if this works it should be clear.
>
> Gabriel.
>
> Am 22.11.2013 15:47, schrieb Juha Kallioinen:
>> On 22.11.2013 12:58, Kajetan Dobczyk wrote:
>>>
>>> After the IDE installation:
>>>
>>> - There's no Sailfish project option in "File -> New File or
>>> Project", although Mer is checked in "Help -> About Plugins"
>>>
>>> - In "Tools -> Options -> Mer", when I click "Start Emulator",
>>> nothing happens, either in SailfishOS Emulator / MerSDK. My
>>> VirtualBox is 4.1.8, I've tried with the newest one too. After one
>>> of many installations, I could turn on the emulator, but when I
>>> tested the connection, I got this message: "ssh connection failure:
>>> server rejected key.".
>>> I see that some other folders are created on my hard drive - IDE is
>>> installed in "Sailfish", and near it are "SailfishOS" and "Sailfish
>>> OS". Maybe the uninstall utility doesn't clear everything?
>>>
>> There should only be one directory under which the SDK (IDE) is
>> installed. You get to select this path when running the installer.
>>
>> The uninstall utility does not clean everything. It does its best to
>> remove the main installation directory which usually is called
>> SailfishOS. It leaves behind the QtCreator configuration directory,
>> which contains for example paths to the installation directory.
>>
>> Since you are seeing several directories with the word Sailfish in
>> them, is it possible that you have tried to install the SDK multiple
>> times to different paths? If this is the case, then the
>> aforementioned config files may contain wrong paths, which will lead
>> to problems when trying to use QtCreator.
>>
>> In Linux this configuration data is saved under the
>> /home/username/.config/SailfishAlpha2 directory. In Windows it should
>> be under C:\Users\username\AppData\Roaming\SailfishAlpha2.
>>
>> Could you run the uninstaller once more and then manually remove that
>> SailfishAlpha2 directory?
>>
>> Afterwards, when running the installer, please choose a path that
>> does not have any space characters in it. The SDK does not currently
>> work properly if the install path has spaces.
>>
>> Best regards,
>>  Juha
>>
>>
>>
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>
>
>
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Fwd: Massive issues while installing SailfishOS IDE

2013-11-23 Thread Gabriel Böhme
Hi,

I have the same problem with the SailfishOS IDE in Windows 7 and guess
special chars and/or spaces causes the issues. The main folder is
C:/SailfishOS and also my projects are in C:/SailfishOS/projects, but
the "SailfishAlpha2" folder in AppData is just affected, cause it's in
the user path, in my case a very bad path "Gabriel Böhme". So a special
char and a space. :)

I'll try with a new user later, if this works it should be clear.

Gabriel.

Am 22.11.2013 15:47, schrieb Juha Kallioinen:
> On 22.11.2013 12:58, Kajetan Dobczyk wrote:
>>
>> After the IDE installation:
>>
>> - There's no Sailfish project option in "File -> New File or
>> Project", although Mer is checked in "Help -> About Plugins"
>>
>> - In "Tools -> Options -> Mer", when I click "Start Emulator",
>> nothing happens, either in SailfishOS Emulator / MerSDK. My
>> VirtualBox is 4.1.8, I've tried with the newest one too. After one of
>> many installations, I could turn on the emulator, but when I tested
>> the connection, I got this message: "ssh connection failure: server
>> rejected key.".
>> I see that some other folders are created on my hard drive - IDE is
>> installed in "Sailfish", and near it are "SailfishOS" and "Sailfish
>> OS". Maybe the uninstall utility doesn't clear everything?
>>
> There should only be one directory under which the SDK (IDE) is
> installed. You get to select this path when running the installer.
>
> The uninstall utility does not clean everything. It does its best to
> remove the main installation directory which usually is called
> SailfishOS. It leaves behind the QtCreator configuration directory,
> which contains for example paths to the installation directory.
>
> Since you are seeing several directories with the word Sailfish in
> them, is it possible that you have tried to install the SDK multiple
> times to different paths? If this is the case, then the aforementioned
> config files may contain wrong paths, which will lead to problems when
> trying to use QtCreator.
>
> In Linux this configuration data is saved under the
> /home/username/.config/SailfishAlpha2 directory. In Windows it should
> be under C:\Users\username\AppData\Roaming\SailfishAlpha2.
>
> Could you run the uninstaller once more and then manually remove that
> SailfishAlpha2 directory?
>
> Afterwards, when running the installer, please choose a path that does
> not have any space characters in it. The SDK does not currently work
> properly if the install path has spaces.
>
> Best regards,
>  Juha
>
>
>
>
>
>
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread Tigre-Bleu
Hi Andrey,

I wonder why those properties are not documented in the list of all members of 
ContextMenu:

https://sailfishos.org/sailfish-silica/qml-sailfishsilica-contextmenu-members.html

Anyway, using menu._contentColumn solved my problem.

Thanks for the help.

Antoine

- Mail original -
De: "Andrey Kozhevnikov" 
À: "christopher lamb" , "Sailfish OS Developers" 

Envoyé: Samedi 23 Novembre 2013 16:08:30
Objet: Re: [SailfishDevel] Dynamically populate a ContextMenu

You should use it if you want "real" dynamically created components.
Or reimplement ContextMenu item.

What would you prefer?

On 23.11.2013 21:06, christopher.l...@thurweb.ch wrote:
> Hi Andrey
>
> Zitat von "Andrey Kozhevnikov" :
>
>> you may need to make childs of menu._contentColumn, not just menu.
>
> I thought that the underscore stuff are private internal properties / 
> functions that we mere mortals should not be using 8-) (Not that 
> that would necessarily stop me).
>
> Chris
>
>

___
SailfishOS.org Devel mailing list
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread Andrey Kozhevnikov

You should use it if you want "real" dynamically created components.
Or reimplement ContextMenu item.

What would you prefer?

On 23.11.2013 21:06, christopher.l...@thurweb.ch wrote:

Hi Andrey

Zitat von "Andrey Kozhevnikov" :


you may need to make childs of menu._contentColumn, not just menu.


I thought that the underscore stuff are private internal properties / 
functions that we mere mortals should not be using 8-) (Not that 
that would necessarily stop me).


Chris




___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread christopher . lamb

Hi Andrey

Zitat von "Andrey Kozhevnikov" :


you may need to make childs of menu._contentColumn, not just menu.


I thought that the underscore stuff are private internal properties /  
functions that we mere mortals should not be using 8-) (Not that  
that would necessarily stop me).


Chris


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread christopher . lamb

Hi Antoine

One useful technique for finding out what the Silica components are  
doing (and how you may need to modify your code, or to prove a bug),  
is to create a private clone of the "problem" component in your project.


In your case it is ContextMenu, which on my development host lives in

/Users/christopherlamb/SailfishOSAlpha5/mersdk/targets/SailfishOS-i486-x86/usr/lib/qt5/qml/Sailfish/Silica/ContextMenu.qml

Copy that file into your project as AntContextMenu.qml, and in your  
code use AntContextMenu rather than ContextMenu.


You will also need to clone the private folder + contents to your  
project (without renaming).


Once you have done that, you can then add console.log statements in  
AntContextMenu.qml in appropriate places, make "what if .." changes,  
and generally play around in the guts of the Silica code. You can  
easily swap back and forth between your debug / hack version and the  
standard.


Of course this should only temporary while your are figuring out what  
is wrong. Once you have a solution you should revert to the standard  
component.


Chris


Zitat von Tigre-Bleu :


Hi,

I try to dynamically populate a ContextMenu but either I ran into a  
bug in the Silica Component or there is something I'm doing wrong.


Here is an example of simplified code showing the problem:

ComboBox {
width: parent.width
label: "Menu"

menu: ContextMenu {
id: menu
MenuItem { text: "Static 1" }
MenuItem { text: "Static 2" }
}

Component {
id: menuItemComp
MenuItem {}
}

Component.onCompleted: {
console.debug("Populating menu")
for (var i=0; i< 4 ; i++){
var newMenuItem =  
menuItemComp.createObject(menu, {"text" : "Dynamic" + i})

}
}
}

And in attachment is the result in the emulator.

We see that Static entries are correctly displayed, but dynamic ones  
are all superposed.


What is wrong?

Thanks,

Antoine




___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread Andrey Kozhevnikov

you may need to make childs of menu._contentColumn, not just menu.

On 23.11.2013 19:47, Tigre-Bleu wrote:

Hi,

I try to dynamically populate a ContextMenu but either I ran into a bug in the 
Silica Component or there is something I'm doing wrong.

Here is an example of simplified code showing the problem:

 ComboBox {
 width: parent.width
 label: "Menu"

 menu: ContextMenu {
 id: menu
 MenuItem { text: "Static 1" }
 MenuItem { text: "Static 2" }
 }

 Component {
 id: menuItemComp
 MenuItem {}
 }

 Component.onCompleted: {
 console.debug("Populating menu")
 for (var i=0; i< 4 ; i++){
 var newMenuItem = menuItemComp.createObject(menu, {"text" : 
"Dynamic" + i})
 }
 }
 }

And in attachment is the result in the emulator.

We see that Static entries are correctly displayed, but dynamic ones are all 
superposed.

What is wrong?

Thanks,

Antoine


___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread christopher . lamb

Hi Antoine

I had a quick play around, and a peak back in my old code.

Just changing the menu height does not change anything.

I also tried a version of your code with just dynamic menuItems. The  
menu did not drop, it just flashes.


The problem I was fighting with some months ago (and did my best to  
try and forget for a while as it was such a nightmare) was slightly  
different. I had a set of ListViews, loaded from an SQLite DB, the  
delegates of which expanded to show a contextMenu with static  
menuItems. The problem was getting the ListViews to resize (and shift  
the other contextMenus on the page) as the contextMenu opened and  
closed.


Sorry not much help yet ...

Chris


Zitat von christopher.l...@thurweb.ch:


Hi Antoine

I think I had similar problems some months ago.

If I remember correctly, I had to explicitly resize the menu height  
after adding items to it.


I will see if I can find the old code, and have a dig around in it ...

Chris

Zitat von Tigre-Bleu :


Hi,

I try to dynamically populate a ContextMenu but either I ran into a  
bug in the Silica Component or there is something I'm doing wrong.


Here is an example of simplified code showing the problem:

   ComboBox {
   width: parent.width
   label: "Menu"

   menu: ContextMenu {
   id: menu
   MenuItem { text: "Static 1" }
   MenuItem { text: "Static 2" }
   }

   Component {
   id: menuItemComp
   MenuItem {}
   }

   Component.onCompleted: {
   console.debug("Populating menu")
   for (var i=0; i< 4 ; i++){
   var newMenuItem =  
menuItemComp.createObject(menu, {"text" : "Dynamic" + i})

   }
   }
   }

And in attachment is the result in the emulator.

We see that Static entries are correctly displayed, but dynamic  
ones are all superposed.


What is wrong?

Thanks,

Antoine




___
SailfishOS.org Devel mailing list





___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Dynamically populate a ContextMenu

2013-11-23 Thread christopher . lamb

Hi Antoine

I think I had similar problems some months ago.

If I remember correctly, I had to explicitly resize the menu height  
after adding items to it.


I will see if I can find the old code, and have a dig around in it ...

Chris

Zitat von Tigre-Bleu :


Hi,

I try to dynamically populate a ContextMenu but either I ran into a  
bug in the Silica Component or there is something I'm doing wrong.


Here is an example of simplified code showing the problem:

ComboBox {
width: parent.width
label: "Menu"

menu: ContextMenu {
id: menu
MenuItem { text: "Static 1" }
MenuItem { text: "Static 2" }
}

Component {
id: menuItemComp
MenuItem {}
}

Component.onCompleted: {
console.debug("Populating menu")
for (var i=0; i< 4 ; i++){
var newMenuItem =  
menuItemComp.createObject(menu, {"text" : "Dynamic" + i})

}
}
}

And in attachment is the result in the emulator.

We see that Static entries are correctly displayed, but dynamic ones  
are all superposed.


What is wrong?

Thanks,

Antoine




___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Folder for the icons according to the new requirements.

2013-11-23 Thread Andrey Kozhevnikov

86x86 dir.
current SDK cant build 86x86 icons to apply new Harbour requirements.
You need to wait for SDK update. It will have 86x86 folders.

On 23.11.2013 19:21, Artem Marchenko wrote:

New icons are to be 86x86, okay.
Do I still deploy them to /90x90 directory or to new /86x86 dir?
Anybody knows?

Cheers,
Artem.

--
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem


___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

[SailfishDevel] Folder for the icons according to the new requirements.

2013-11-23 Thread Artem Marchenko
New icons are to be 86x86, okay.
Do I still deploy them to /90x90 directory or to new /86x86 dir?
Anybody knows?

Cheers,
Artem.

-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Update on application naming for Harbour applications

2013-11-23 Thread Artem Marchenko
Ronni, thanks a lot for your advices

Sure being among the first mover I expect disadvantages of it as well :)
Unfortunately for now IRC and mailing list seem to be the only way to get
help. That is unless care email ignores specifically my questions.

Cheers,
Artem.



On Sat, Nov 23, 2013 at 2:58 PM, Jonni Rainisto wrote:

>  Hi,
>
> developer-care at jolla.com should be able to answer that one. All my
> answers are just AFAIK as I'm not in the team that does the Harbour and
> it's policies. My guess would be that unfortunately one more rename is
> needed.
>
> I already renamed couple of my personal projects and submitted them in
> (still in QA).
>
>  --
> *From:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [
> coderusin...@gmail.com]
> *Sent:* Saturday, November 23, 2013 2:35 PM
> *To:* devel@lists.sailfishos.org
>
> *Subject:* Re: [SailfishDevel] Update on application naming for Harbour
> applications
>
>  if i already build and sent to Harbour  my org.coderus.persecute
> application, i should rebuild it now to harbour-persecute? =(
>
> On 23.11.2013 18:34, Jonni Rainisto wrote:
>
> Hi,
>
> Whoever grabs the name first keeps it (AFAIK). So of someone before you
> takes harbour-videocam, you can do something like harbour-videocam-artem or
> some other unique name.
>
> So if $NAME == harbour-videocam then:
> /usr/bin/$NAME == /usr/bin/harbour-videocam
> /usr/share/$NAME == /usr/share/harbour-videocam
> /usr/share/icons/hicolor/86x86/apps/$NAME.png ==
> /usr/share/icons/hicolor/86x86/apps/harbour-videocam.png
>
> So forget the domain names with dots as current tools dont really support
> them currently.
>
>  --
> *From:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] on behalf of Artem Marchenko [
> artem.marche...@gmail.com]
> *Sent:* Saturday, November 23, 2013 1:26 PM
> *To:* Sailfish OS Developers
> *Subject:* Re: [SailfishDevel] Update on application naming for Harbour
> applications
>
>  What if there are two packages in app store named harbour-videocam?
> Or whoever grabs the name first keeps it?
>
>  What about the main app binary name and it's data folder?
> Shall they be harbour-videocam or com.supercell.videocam? Or
> harbour-com.supercell.videocam?
>
>  Cheers,
> Artem.
>
>
> On Sat, Nov 23, 2013 at 1:11 PM, Jonni Rainisto 
> wrote:
>
>>  Hi,
>>
>> Domain part is not needed anymore, so its in the form of:
>>
>> harbour-applicationname
>>
>> That way for example "harbour-videocam"-package doesnt confilict with
>> possible systems "videocam"-package.
>>
>>  --
>> *From:* devel-boun...@lists.sailfishos.org [
>> devel-boun...@lists.sailfishos.org] on behalf of zoltan.lu...@gmail.com [
>> zoltan.lu...@gmail.com]
>> *Sent:* Saturday, November 23, 2013 7:59 AM
>> *To:* Sailfish OS Developers
>> *Subject:* Re: [SailfishDevel] Update on application naming for Harbour
>> applications
>>
>>will such name be accepted by package uploader of Jolla Harbour?
>>
>>
>>  '_' were not accepted before there...
>>
>>  Andrey Kozhevnikov írta ekkor: 2013.11.22. 15:39
>>   really?
>>
>>  harbour-org.coderus.application
>>
>>  how domain.organization.application naming can clash with device
>> packages?
>>
>>  why?
>>
>>  On 22.11.2013 20:32, Robin Burchell wrote:
>> > Ahoy,
>> >
>> > In Iekku’s mail yesterday, we referred to application names needing to
>> use a “dotted” form (e.g. com.example.myapp). It was brought to our
>> attention that this isn’t factually possible at this time due to
>> limitations in Qt Creator/qmake, so we’re unfortunately forced due to time
>> limitations - so as to not inconvenience you developers - to change plans.
>> >
>> > The new requirement is that application names must start with a prefix
>> of “harbour-“.
>> >
>> > The reason (if it wasn’t clear) for this requirement is so that
>> applications do not clash with other installed packages on the device.
>> >
>> > We’re very sorry for the confusion. Thanks for understanding. Should
>> you have any questions on this or anything else, feel free to send an
>> e-mail as always!
>> >
>> > P.S. We’ll be launching a FAQ explaining this (and other store
>> requirements) in detail early next week, unless anything unforeseen crops
>> up.
>> >
>> > Happy hacking,
>> > The Jolla Crew
>> > ___
>> > SailfishOS.org Devel mailing list
>>
>> ___
>>  SailfishOS.org Devel mailing list
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>>
>
>
>
>  --
> Artem Marchenko
> http://agilesoftwaredevelopment.com
> http://twitter.com/AgileArtem
>
>
> ___
> SailfishOS.org Devel mailing list
>
>
>
> ___
> SailfishOS.org Devel mailing list
>



-- 
Artem Marchenko
http://ag

Re: [SailfishDevel] Update on application naming for Harbour applications

2013-11-23 Thread Jonni Rainisto
Hi,

developer-care at jolla.com should be able to answer that 
one. All my answers are just AFAIK as I'm not in the team that does the Harbour 
and it's policies. My guess would be that unfortunately one more rename is 
needed.

I already renamed couple of my personal projects and submitted them in (still 
in QA).


From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Andrey Kozhevnikov [coderusin...@gmail.com]
Sent: Saturday, November 23, 2013 2:35 PM
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] Update on application naming for Harbour 
applications

if i already build and sent to Harbour  my org.coderus.persecute application, i 
should rebuild it now to harbour-persecute? =(

On 23.11.2013 18:34, Jonni Rainisto wrote:
Hi,

Whoever grabs the name first keeps it (AFAIK). So of someone before you takes 
harbour-videocam, you can do something like harbour-videocam-artem or some 
other unique name.

So if $NAME == harbour-videocam then:
/usr/bin/$NAME == /usr/bin/harbour-videocam
/usr/share/$NAME == /usr/share/harbour-videocam
/usr/share/icons/hicolor/86x86/apps/$NAME.png == 
/usr/share/icons/hicolor/86x86/apps/harbour-videocam.png

So forget the domain names with dots as current tools dont really support them 
currently.


From: 
devel-boun...@lists.sailfishos.org 
[devel-boun...@lists.sailfishos.org] 
on behalf of Artem Marchenko 
[artem.marche...@gmail.com]
Sent: Saturday, November 23, 2013 1:26 PM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Update on application naming for Harbour 
applications

What if there are two packages in app store named harbour-videocam?
Or whoever grabs the name first keeps it?

What about the main app binary name and it's data folder?
Shall they be harbour-videocam or com.supercell.videocam? Or 
harbour-com.supercell.videocam?

Cheers,
Artem.


On Sat, Nov 23, 2013 at 1:11 PM, Jonni Rainisto 
mailto:jonni.raini...@jolla.com>> wrote:
Hi,

Domain part is not needed anymore, so its in the form of:

harbour-applicationname

That way for example "harbour-videocam"-package doesnt confilict with possible 
systems "videocam"-package.


From: 
devel-boun...@lists.sailfishos.org 
[devel-boun...@lists.sailfishos.org] 
on behalf of zoltan.lu...@gmail.com 
[zoltan.lu...@gmail.com]
Sent: Saturday, November 23, 2013 7:59 AM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Update on application naming for Harbour 
applications


will such name be accepted by package uploader of Jolla Harbour?


'_' were not accepted before there...


Andrey Kozhevnikov írta ekkor: 2013.11.22. 15:39

really?

harbour-org.coderus.application

how domain.organization.application naming can clash with device packages?

why?

On 22.11.2013 20:32, Robin Burchell wrote:
> Ahoy,
>
> In Iekku’s mail yesterday, we referred to application names needing to use a 
> “dotted” form (e.g. com.example.myapp). It was brought to our attention that 
> this isn’t factually possible at this time due to limitations in Qt 
> Creator/qmake, so we’re unfortunately forced due to time limitations - so as 
> to not inconvenience you developers - to change plans.
>
> The new requirement is that application names must start with a prefix of 
> “harbour-“.
>
> The reason (if it wasn’t clear) for this requirement is so that applications 
> do not clash with other installed packages on the device.
>
> We’re very sorry for the confusion. Thanks for understanding. Should you have 
> any questions on this or anything else, feel free to send an e-mail as always!
>
> P.S. We’ll be launching a FAQ explaining this (and other store requirements) 
> in detail early next week, unless anything unforeseen crops up.
>
> Happy hacking,
> The Jolla Crew
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list



___
SailfishOS.org Devel mailing list



--
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem



___
SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Update on application naming for Harbour applications

2013-11-23 Thread Andrey Kozhevnikov
if i already build and sent to Harbour  my org.coderus.persecute 
application, i should rebuild it now to harbour-persecute? =(


On 23.11.2013 18:34, Jonni Rainisto wrote:

Hi,

Whoever grabs the name first keeps it (AFAIK). So of someone before 
you takes harbour-videocam, you can do something like 
harbour-videocam-artem or some other unique name.


So if $NAME == harbour-videocam then:
/usr/bin/$NAME == /usr/bin/harbour-videocam
/usr/share/$NAME == /usr/share/harbour-videocam
/usr/share/icons/hicolor/86x86/apps/$NAME.png == 
/usr/share/icons/hicolor/86x86/apps/harbour-videocam.png


So forget the domain names with dots as current tools dont really 
support them currently.



*From:* devel-boun...@lists.sailfishos.org 
[devel-boun...@lists.sailfishos.org] on behalf of Artem Marchenko 
[artem.marche...@gmail.com]

*Sent:* Saturday, November 23, 2013 1:26 PM
*To:* Sailfish OS Developers
*Subject:* Re: [SailfishDevel] Update on application naming for 
Harbour applications


What if there are two packages in app store named harbour-videocam?
Or whoever grabs the name first keeps it?

What about the main app binary name and it's data folder?
Shall they be harbour-videocam or com.supercell.videocam? Or 
harbour-com.supercell.videocam?


Cheers,
Artem.


On Sat, Nov 23, 2013 at 1:11 PM, Jonni Rainisto 
mailto:jonni.raini...@jolla.com>> wrote:


Hi,

Domain part is not needed anymore, so its in the form of:

harbour-applicationname

That way for example "harbour-videocam"-package doesnt confilict
with possible systems "videocam"-package.


*From:* devel-boun...@lists.sailfishos.org

[devel-boun...@lists.sailfishos.org
] on behalf of
zoltan.lu...@gmail.com 
[zoltan.lu...@gmail.com ]
*Sent:* Saturday, November 23, 2013 7:59 AM
*To:* Sailfish OS Developers
*Subject:* Re: [SailfishDevel] Update on application naming for
Harbour applications

will such name be accepted by package uploader of Jolla Harbour?


'_' were not accepted before there...


Andrey Kozhevnikov írta ekkor: 2013.11.22. 15
:39

really?

harbour-org.coderus.application

how domain.organization.application naming can clash with device
packages?

why?

On 22.11.2013 20:32, Robin Burchell wrote:
> Ahoy,
>
> In Iekku's mail yesterday, we referred to application names
needing to use a "dotted" form (e.g. com.example.myapp). It was
brought to our attention that this isn't factually possible at
this time due to limitations in Qt Creator/qmake, so we're
unfortunately forced due to time limitations - so as to not
inconvenience you developers - to change plans.
>
> The new requirement is that application names must start with a
prefix of "harbour-".
>
> The reason (if it wasn't clear) for this requirement is so that
applications do not clash with other installed packages on the device.
>
> We're very sorry for the confusion. Thanks for understanding.
Should you have any questions on this or anything else, feel free
to send an e-mail as always!
>
> P.S. We'll be launching a FAQ explaining this (and other store
requirements) in detail early next week, unless anything
unforeseen crops up.
>
> Happy hacking,
> The Jolla Crew
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list



___
SailfishOS.org Devel mailing list




--
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem


___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Update on application naming for Harbour applications

2013-11-23 Thread Jonni Rainisto
Hi,

Whoever grabs the name first keeps it (AFAIK). So of someone before you takes 
harbour-videocam, you can do something like harbour-videocam-artem or some 
other unique name.

So if $NAME == harbour-videocam then:
/usr/bin/$NAME == /usr/bin/harbour-videocam
/usr/share/$NAME == /usr/share/harbour-videocam
/usr/share/icons/hicolor/86x86/apps/$NAME.png == 
/usr/share/icons/hicolor/86x86/apps/harbour-videocam.png

So forget the domain names with dots as current tools dont really support them 
currently.


From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Artem Marchenko [artem.marche...@gmail.com]
Sent: Saturday, November 23, 2013 1:26 PM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Update on application naming for Harbour 
applications

What if there are two packages in app store named harbour-videocam?
Or whoever grabs the name first keeps it?

What about the main app binary name and it's data folder?
Shall they be harbour-videocam or com.supercell.videocam? Or 
harbour-com.supercell.videocam?

Cheers,
Artem.


On Sat, Nov 23, 2013 at 1:11 PM, Jonni Rainisto 
mailto:jonni.raini...@jolla.com>> wrote:
Hi,

Domain part is not needed anymore, so its in the form of:

harbour-applicationname

That way for example "harbour-videocam"-package doesnt confilict with possible 
systems "videocam"-package.


From: 
devel-boun...@lists.sailfishos.org 
[devel-boun...@lists.sailfishos.org] 
on behalf of zoltan.lu...@gmail.com 
[zoltan.lu...@gmail.com]
Sent: Saturday, November 23, 2013 7:59 AM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Update on application naming for Harbour 
applications


will such name be accepted by package uploader of Jolla Harbour?


'_' were not accepted before there...


Andrey Kozhevnikov írta ekkor: 2013.11.22. 15:39

really?

harbour-org.coderus.application

how domain.organization.application naming can clash with device packages?

why?

On 22.11.2013 20:32, Robin Burchell wrote:
> Ahoy,
>
> In Iekku’s mail yesterday, we referred to application names needing to use a 
> “dotted” form (e.g. com.example.myapp). It was brought to our attention that 
> this isn’t factually possible at this time due to limitations in Qt 
> Creator/qmake, so we’re unfortunately forced due to time limitations - so as 
> to not inconvenience you developers - to change plans.
>
> The new requirement is that application names must start with a prefix of 
> “harbour-“.
>
> The reason (if it wasn’t clear) for this requirement is so that applications 
> do not clash with other installed packages on the device.
>
> We’re very sorry for the confusion. Thanks for understanding. Should you have 
> any questions on this or anything else, feel free to send an e-mail as always!
>
> P.S. We’ll be launching a FAQ explaining this (and other store requirements) 
> in detail early next week, unless anything unforeseen crops up.
>
> Happy hacking,
> The Jolla Crew
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list



___
SailfishOS.org Devel mailing list



--
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Update on application naming for Harbour applications

2013-11-23 Thread Andrey Kozhevnikov
Jolla dont want to force developers manually edit project files to be 
able to build dotted application names.


On 23.11.2013 17:26, Artem Marchenko wrote:

What if there are two packages in app store named harbour-videocam?
Or whoever grabs the name first keeps it?

What about the main app binary name and it's data folder?
Shall they be harbour-videocam or com.supercell.videocam? Or 
harbour-com.supercell.videocam?


Cheers,
Artem.


On Sat, Nov 23, 2013 at 1:11 PM, Jonni Rainisto 
mailto:jonni.raini...@jolla.com>> wrote:


Hi,

Domain part is not needed anymore, so its in the form of:

harbour-applicationname

That way for example "harbour-videocam"-package doesnt confilict
with possible systems "videocam"-package.


*From:* devel-boun...@lists.sailfishos.org

[devel-boun...@lists.sailfishos.org
] on behalf of
zoltan.lu...@gmail.com 
[zoltan.lu...@gmail.com ]
*Sent:* Saturday, November 23, 2013 7:59 AM
*To:* Sailfish OS Developers
*Subject:* Re: [SailfishDevel] Update on application naming for
Harbour applications

will such name be accepted by package uploader of Jolla Harbour?


'_' were not accepted before there...


Andrey Kozhevnikov írta ekkor: 2013.11.22. 15
:39

really?

harbour-org.coderus.application

how domain.organization.application naming can clash with device
packages?

why?

On 22.11.2013 20:32, Robin Burchell wrote:
> Ahoy,
>
> In Iekku's mail yesterday, we referred to application names
needing to use a "dotted" form (e.g. com.example.myapp). It was
brought to our attention that this isn't factually possible at
this time due to limitations in Qt Creator/qmake, so we're
unfortunately forced due to time limitations - so as to not
inconvenience you developers - to change plans.
>
> The new requirement is that application names must start with a
prefix of "harbour-".
>
> The reason (if it wasn't clear) for this requirement is so that
applications do not clash with other installed packages on the device.
>
> We're very sorry for the confusion. Thanks for understanding.
Should you have any questions on this or anything else, feel free
to send an e-mail as always!
>
> P.S. We'll be launching a FAQ explaining this (and other store
requirements) in detail early next week, unless anything
unforeseen crops up.
>
> Happy hacking,
> The Jolla Crew
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list



___
SailfishOS.org Devel mailing list




--
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem


___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Update on application naming for Harbour applications

2013-11-23 Thread Artem Marchenko
What if there are two packages in app store named harbour-videocam?
Or whoever grabs the name first keeps it?

What about the main app binary name and it's data folder?
Shall they be harbour-videocam or com.supercell.videocam? Or
harbour-com.supercell.videocam?

Cheers,
Artem.


On Sat, Nov 23, 2013 at 1:11 PM, Jonni Rainisto wrote:

>  Hi,
>
> Domain part is not needed anymore, so its in the form of:
>
> harbour-applicationname
>
> That way for example "harbour-videocam"-package doesnt confilict with
> possible systems "videocam"-package.
>
>  --
> *From:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] on behalf of zoltan.lu...@gmail.com [
> zoltan.lu...@gmail.com]
> *Sent:* Saturday, November 23, 2013 7:59 AM
> *To:* Sailfish OS Developers
> *Subject:* Re: [SailfishDevel] Update on application naming for Harbour
> applications
>
>will such name be accepted by package uploader of Jolla Harbour?
>
>
>  '_' were not accepted before there...
>
>  Andrey Kozhevnikov írta ekkor: 2013.11.22. 15:39
>   really?
>
>  harbour-org.coderus.application
>
>  how domain.organization.application naming can clash with device
> packages?
>
>  why?
>
>  On 22.11.2013 20:32, Robin Burchell wrote:
> > Ahoy,
> >
> > In Iekku’s mail yesterday, we referred to application names needing to
> use a “dotted” form (e.g. com.example.myapp). It was brought to our
> attention that this isn’t factually possible at this time due to
> limitations in Qt Creator/qmake, so we’re unfortunately forced due to time
> limitations - so as to not inconvenience you developers - to change plans.
> >
> > The new requirement is that application names must start with a prefix
> of “harbour-“.
> >
> > The reason (if it wasn’t clear) for this requirement is so that
> applications do not clash with other installed packages on the device.
> >
> > We’re very sorry for the confusion. Thanks for understanding. Should you
> have any questions on this or anything else, feel free to send an e-mail as
> always!
> >
> > P.S. We’ll be launching a FAQ explaining this (and other store
> requirements) in detail early next week, unless anything unforeseen crops
> up.
> >
> > Happy hacking,
> > The Jolla Crew
> > ___
> > SailfishOS.org Devel mailing list
>
> ___
>  SailfishOS.org Devel mailing list
>
>
>
> ___
> SailfishOS.org Devel mailing list
>



-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Update on application naming for Harbour applications

2013-11-23 Thread Jonni Rainisto
Hi,

Domain part is not needed anymore, so its in the form of:

harbour-applicationname

That way for example "harbour-videocam"-package doesnt confilict with possible 
systems "videocam"-package.


From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of zoltan.lu...@gmail.com [zoltan.lu...@gmail.com]
Sent: Saturday, November 23, 2013 7:59 AM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Update on application naming for Harbour 
applications


will such name be accepted by package uploader of Jolla Harbour?


'_' were not accepted before there...


Andrey Kozhevnikov írta ekkor: 2013.11.22. 15:39

really?

harbour-org.coderus.application

how domain.organization.application naming can clash with device packages?

why?

On 22.11.2013 20:32, Robin Burchell wrote:
> Ahoy,
>
> In Iekku’s mail yesterday, we referred to application names needing to use a 
> “dotted” form (e.g. com.example.myapp). It was brought to our attention that 
> this isn’t factually possible at this time due to limitations in Qt 
> Creator/qmake, so we’re unfortunately forced due to time limitations - so as 
> to not inconvenience you developers - to change plans.
>
> The new requirement is that application names must start with a prefix of 
> “harbour-“.
>
> The reason (if it wasn’t clear) for this requirement is so that applications 
> do not clash with other installed packages on the device.
>
> We’re very sorry for the confusion. Thanks for understanding. Should you have 
> any questions on this or anything else, feel free to send an e-mail as always!
>
> P.S. We’ll be launching a FAQ explaining this (and other store requirements) 
> in detail early next week, unless anything unforeseen crops up.
>
> Happy hacking,
> The Jolla Crew
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list