Re: [ANN] calendar widget updated

2016-10-31 Thread hh
Mike,
you have a good and clear concept (and LC will have probably soon
one too?).

What I can't see in this discussion is the "mass of widgets".
This sounds as if there were already close to 1000(!) in the
folks. What I can find is below 40, not such a mass.

I started a community thread, nobody else contributed, not even
with a link to his/her widgets collection.

So this is my proposal: Let's have (say) 100 published 'community'
widgets. [I mean all LiveCoders with 'community' here].

Then we start with organising or re-organizing according to your
considerations. I don't believe the missing organization blocks
the production of widgets. But I also don't know what the blocker is.

Hermann

> Mike K. wrote:
> If we are going to have mass forking and posting, I think that better,
> tighter management of the community widgets, including someone doing
> something similar to what Apple does with the App Store when it says
> "there are too many of this kind of app. Yours doesn't do anything
> different" would make the experience of widget shopping (whether the
> widget is paid or free) a lot cleaner.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget updated

2016-10-31 Thread hh
I know Bernd better than he is aware of ;-)

The one and only reason of this 'unlucky' naming was
the desire, to retain Elanor's authorship, acknowledging
her fundamental work not only with that widget.

Monte's proposal is much better, but it could read

metadata version is "1.0.1-rc.1+berndn.coolchanges"

because this cool widget is far beyond any alpha state.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget updated

2016-10-31 Thread Mike Kerner
The problem that we run into is when someone goes off the grid.  I can
think of several tools that are, in effect, abandonware.  There are, for
instance, a certain mobile framework, a certain report writer, and a
communication framework for a file sharing service.  Let's start with the
mobile framework.  Two years after the author had stopped doing anything
with it, and it was incompatible with current versions of LC, LC was still
selling it in the store, and promoting it, even though the community was
pointing out that it was abandonware.  There is an alternate script editor
that went away, before making a reappearance.  If we are going to have mass
forking and posting, I think that better, tighter management of the
community widgets, including someone doing something similar to what Apple
does with the App Store when it says "there are too many of this kind of
app.  Yours doesn't do anything different" would make the experience of
widget shopping (whether the widget is paid or free) a lot cleaner.

On Mon, Oct 31, 2016 at 7:25 PM, Monte Goulding  wrote:

>
> > On 31 Oct. 2016, at 11:53 pm, Mike Kerner 
> wrote:
> >
> > This seems like it's going to be a hindrance because every little group
> for
> > every little project is going to have to jump through more hoops.  I
> think
> > we should collectively try to noggin a better way, or we are going to
> have
> > chaos, and some number of people just throwing up their hands.  Perhaps a
> > centralized community widget domain would be ok, but we still would need
> > someone or an organization to manage it.
>
> What Peter is concerned about here is there being two different widgets in
> the community with the same version number and ID. There’s no need to
> change names if the changes are contributed to the original author (current
> maintainer). If Bernd doesn’t want to contribute the changes or Elanor
> doesn’t want to accept them then yes he should definitely distribute it
> under his own name.
>
> In the event the distribution is purely to gauge community interest to
> determine if it’s worthwhile contributing the change back to the maintainer
> my recommendation would be to take advantage of semver and leave the ID as
> is. Something like:
>
> metadata version is "1.0.1-alpha.1+berndn.coolchanges”
>
> Here I have bumped the version number then used alpha.1 for the
> pre-release identifier and then appended the patch author and a patch name
> as build metadata. This is a valid semver version string and also ensures
> that the widget won’t conflict with the version 1.0.1 the author releases
> or even the 1.0.1-alpha.1 the author releases.
>
> Cheers
>
> Monte
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] calendar widget updated

2016-10-31 Thread Monte Goulding

> On 31 Oct. 2016, at 11:53 pm, Mike Kerner  wrote:
> 
> This seems like it's going to be a hindrance because every little group for
> every little project is going to have to jump through more hoops.  I think
> we should collectively try to noggin a better way, or we are going to have
> chaos, and some number of people just throwing up their hands.  Perhaps a
> centralized community widget domain would be ok, but we still would need
> someone or an organization to manage it.

What Peter is concerned about here is there being two different widgets in the 
community with the same version number and ID. There’s no need to change names 
if the changes are contributed to the original author (current maintainer). If 
Bernd doesn’t want to contribute the changes or Elanor doesn’t want to accept 
them then yes he should definitely distribute it under his own name.

In the event the distribution is purely to gauge community interest to 
determine if it’s worthwhile contributing the change back to the maintainer my 
recommendation would be to take advantage of semver and leave the ID as is. 
Something like:

metadata version is "1.0.1-alpha.1+berndn.coolchanges”

Here I have bumped the version number then used alpha.1 for the pre-release 
identifier and then appended the patch author and a patch name as build 
metadata. This is a valid semver version string and also ensures that the 
widget won’t conflict with the version 1.0.1 the author releases or even the 
1.0.1-alpha.1 the author releases.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] calendar widget updated

2016-10-31 Thread BNig
Peter TB Brett wrote
> There are so many options!
> 
> - One of you could take the lead on integrating the improvements under 
> their personal LiveCode developer ID
> 
> - You could free yourselves from the shackles of the LiveCode developer 
> ID system by registering a domain name an an umbrella for the work that 
> the group of you do, e.g. "com.mikeandbuddies.widgets.awesomer_calendar"
> 
> - You could work with the original author of the widget to get your 
> improvements included in their version
> 
>  Peter


Peter,

thanks for pointing this out. I will do it differently if I do modify a
widget again.

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-updated-tp4709700p4709921.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget updated

2016-10-31 Thread Bob Sneidar
Sounds like a great idea Mike. I look forward to hearing about your progress 
with your new enterprise. ;-)

Bob S


On Oct 31, 2016, at 05:53 , Mike Kerner 
mailto:mikeker...@roadrunner.com>> wrote:

This seems like it's going to be a hindrance because every little group for
every little project is going to have to jump through more hoops.  I think
we should collectively try to noggin a better way, or we are going to have
chaos, and some number of people just throwing up their hands.  Perhaps a
centralized community widget domain would be ok, but we still would need
someone or an organization to manage it.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget updated

2016-10-31 Thread Mike Kerner
This seems like it's going to be a hindrance because every little group for
every little project is going to have to jump through more hoops.  I think
we should collectively try to noggin a better way, or we are going to have
chaos, and some number of people just throwing up their hands.  Perhaps a
centralized community widget domain would be ok, but we still would need
someone or an organization to manage it.

On Mon, Oct 31, 2016 at 8:39 AM, Peter TB Brett 
wrote:

>
>
> On 31/10/2016 12:21, Mike Kerner wrote:
>
>> There is going to be a problem if every time someone forks/fixes/improves
>> a
>> widget, it has to be under their name.  We should develop a better way.
>> On
>> some of the things I've worked on for LC, there have been five or six of
>> us
>> that have done something.
>>
>
> There are so many options!
>
> - One of you could take the lead on integrating the improvements under
> their personal LiveCode developer ID
>
> - You could free yourselves from the shackles of the LiveCode developer ID
> system by registering a domain name an an umbrella for the work that the
> group of you do, e.g. "com.mikeandbuddies.widgets.awesomer_calendar"
>
> - You could work with the original author of the widget to get your
> improvements included in their version
>
>
> Peter
>
> --
> Dr Peter Brett 
> LiveCode Technical Project Manager
>
> lcb-mode for Emacs: https://github.com/peter-b/lcb-mode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget updated

2016-10-31 Thread Peter TB Brett



On 31/10/2016 12:21, Mike Kerner wrote:

There is going to be a problem if every time someone forks/fixes/improves a
widget, it has to be under their name.  We should develop a better way.  On
some of the things I've worked on for LC, there have been five or six of us
that have done something.


There are so many options!

- One of you could take the lead on integrating the improvements under 
their personal LiveCode developer ID


- You could free yourselves from the shackles of the LiveCode developer 
ID system by registering a domain name an an umbrella for the work that 
the group of you do, e.g. "com.mikeandbuddies.widgets.awesomer_calendar"


- You could work with the original author of the widget to get your 
improvements included in their version


Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget updated

2016-10-31 Thread Mike Kerner
There is going to be a problem if every time someone forks/fixes/improves a
widget, it has to be under their name.  We should develop a better way.  On
some of the things I've worked on for LC, there have been five or six of us
that have done something.

On Mon, Oct 31, 2016 at 7:16 AM, Peter TB Brett 
wrote:

> On 24/10/2016 20:07, BNig wrote:
>
> http://www.berndniggemann.on-rev.com/calendar/calendar.zip
>>
>> inside the folder there are two folders:
>>
>> community.livecode.elanor.datesupport.1.0.0
>> community.livecode.elanorb.calendarBN.1.0.0
>>
>>
> Hi Bernd,
>
> 1. Did you register "elanorb" as a LiveCode developer ID?  If not, you
> should not be distributing "com.livecode.elanorb" LCB modules.  It should
> be "com.livecode.berndn.calendar" or something.
>
> 2. When you make a new version of a widget, you should give it an updated
> version number.  Please use the "Semantic Versioning" rules (
> http://semver.org/).
>
>  Peter
>
> --
> Dr Peter Brett 
> LiveCode Technical Project Manager
>
> lcb-mode for Emacs: https://github.com/peter-b/lcb-mode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget updated

2016-10-31 Thread Peter TB Brett

On 24/10/2016 20:07, BNig wrote:


http://www.berndniggemann.on-rev.com/calendar/calendar.zip

inside the folder there are two folders:

community.livecode.elanor.datesupport.1.0.0
community.livecode.elanorb.calendarBN.1.0.0



Hi Bernd,

1. Did you register "elanorb" as a LiveCode developer ID?  If not, you 
should not be distributing "com.livecode.elanorb" LCB modules.  It 
should be "com.livecode.berndn.calendar" or something.


2. When you make a new version of a widget, you should give it an 
updated version number.  Please use the "Semantic Versioning" rules 
(http://semver.org/).


 Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget updated

2016-10-24 Thread Roger Eller
Ok.  Thanks for that clarification.

~Roger


On Mon, Oct 24, 2016 at 3:35 PM, BNig  wrote:

> Hi Roger,
>
> please remove prior versions from the "extensions" folder in "My Livecode"
> folder.
>
> Then move the unzipped folders to the "extensions" folder in "My Livecode"
> folder manually.
>
> These are the actual folders should work when moved manually.
>
> In case everything fails you could use the "Extension Builder" from the
> "Tools" menu and select the .lcb files in those folders and choose install.
> It will ask for an icon and you can direct it to calendarSmall.png and
> calendarLarge.png in community.livecode.elanorb.calendarBN.1.0.0
>
> community.livecode.elanor.datesupport.1.0.0 does not need icons, just
> cancel
> the request.
>
> Kind regards
> Bernd
>
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget updated

2016-10-24 Thread BNig
Hi Roger,

please remove prior versions from the "extensions" folder in "My Livecode"
folder.

Then move the unzipped folders to the "extensions" folder in "My Livecode"
folder manually.

These are the actual folders should work when moved manually.

In case everything fails you could use the "Extension Builder" from the
"Tools" menu and select the .lcb files in those folders and choose install.
It will ask for an icon and you can direct it to calendarSmall.png and
calendarLarge.png in community.livecode.elanorb.calendarBN.1.0.0

community.livecode.elanor.datesupport.1.0.0 does not need icons, just cancel
the request.

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-updated-tp4709700p4709706.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget updated

2016-10-24 Thread Roger Eller
Elanor's .lce file will select in Extensions Manager, but not your .lci
file.

~Roger

On Mon, Oct 24, 2016 at 3:21 PM, BNig  wrote:

> forgot to mention:
>
> compiled using 8.1.1, works in LC 9.0.0 DP1.
>
> http://www.berndniggemann.on-rev.com/calendar/calendar.zip
>
> Kind regards
> Bernd
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget updated

2016-10-24 Thread BNig
forgot to mention:

compiled using 8.1.1, works in LC 9.0.0 DP1.

http://www.berndniggemann.on-rev.com/calendar/calendar.zip

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-updated-tp4709700p4709703.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread hh
[Transmission error:]
I recompiled the library using 8.1.1rc2. Then I had
success with the widget on Win 7/10 using 8.1.1 and 9.0.0.

On Linux(Mint 173) and MacOS 10.12 it worked without recompiling,
on both using LC 8.1.1 and 9.0.0.

*** This seems to be a problem whenever the widget format changes:
Then some other widgets or libraries that are used by the newer
ones may have to be recompiled. ***

I never needed to do this on Mac, but two times on Linux (Mint)
and several times on Windows 7 and 10. So it's not obvious to see
the need for a recompilation of other LCB input when developping
on one single platform.

===

Bernd, this is a very useful widget-extension. One future feature
could be to make it to an (optional) three-months-display?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread Bob Sneidar
I use a variety of date and time formats, so I wrote a formatDate function 
where I pass a date and a style as arguments. For instance formatDate(the date, 
"sql date") would return 2016-10-18. If you append formatTime(the long time, 
"sql time") it returns an sql format datetime value. I also have a spiceTime 
function for spiceworks help desk which is in the format 1h15m (for example) 
and returns the difference in time between 2 normal times.

If anyone is interested let me know and I will send you the code.

Bob S


On Oct 18, 2016, at 14:27 , Tore Nilsen 
mailto:tore.nil...@me.com>> wrote:

In case someone sees a use case for customizing abbreviated day/month names
I would reconsider that.


In Norway we often use two letter abbreviations for day names, which is very 
handy if the size of the widget is very small.

Regards
Tore Nilsen

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread Bob Sneidar
NVM I aparently was using 8.0.1 when I thot I was using 8.1.0. DOH!

Bob S


> On Oct 18, 2016, at 07:59 , Bob Sneidar  wrote:
> 
> I get Module Format not supported. 
> 
> Bob S
> 
> 
>> On Oct 18, 2016, at 05:07 , BNig  wrote:
>> 
>> During the conference a calendar widget was used in the widget course.
>> The original author is Elanor Buchanan.
>> I think it is a wonderful example of what widgets can do. Elanor did a very
>> good job.
>> 
>> I extended the calendar to add some useful features.
>> 
>> You can choose via the properties inspector the sytem abbreviated names for
>> month names and day names. Thus using the localized names.
>> Default english
>> 
>> The option to start the week on Mondays which is the case in many countries.
>> Default Sunday
>> 
>> Clicking on Month/Year in the title bar brings up the current date
>> 
>> The option that the font size adapts to the size of the widget (default)
>> 
>> The calendar widget uses a library also written by Elanor Buchanan
>> "datesupport"
>> 
>> to install the widget download and unzip
>> 
>> http://www.berndniggemann.on-rev.com/calendar/calendar.zip
>> 
>> inside the folder there are two .lce files:
>> 
>> community.livecode.elanor.datesupport.1.0.0.lce
>> community.livecode.elanorb.calendarBN.1.0.0.lce
>> 
>> Use the Extension Manager in the Tool Menu to install the files one by one
>> by using the Plus-sign in the upper right corner of the Extension Manager.
>> 
>> The Extension Manager will then install those extensions in your
>> "extensions" folder in your "My LiveCode" folder
>> 
>> You might want to restart Livecode and you should see in your toolbar a
>> widget "calendarBN" with a calendar icon.
>> 
>> You can change a number of properties, please see the dictionary entry API:
>> Choose API: CalendarBN
>> 
>> Calendar sends a dateChanged message when the user clicks on a date. You add
>> this script to the widget to react to the message.
>> 
>> on dateChanged pDate
>>  put pDate into field "myDate"
>> end dateChanged
>> 
>> Kind regards
>> Bernd
>> 
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.html
>> Sent from the Revolution - User mailing list archive at Nabble.com.
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread BNig
Hi Roger,

Hermann Hoch just informed me that recompiling 
community.livecode.elanor.datesupport.1.0.0.lcb
using 8.1.0 made the calendar widget work for Windows 7

To do this you would move the 
community.livecode.elanor.datesupport.1.0.0 folder from your "My Livecode"->
"extensions" folder to some other place, e.g. desktop

Restart Livecode

open "Tools" -> "Extension Builder" and locate the .lcb file inside the
folder on your desktop using the folder icon on the top right corner of
Extension builder. Then do "Test" if it compiles then do "Install" and it
will install the "datesupport" folder in your  "My Livecode"-> "extensions"
folder. 
Restart Livecode and the calendar widget should work. (fingers crossed)

If this works for your then it would be a good lead to where the error
originates.

Kind regards

Bernd


Roger Eller wrote
> It worked fine for me in Mac OS 10.11.6 (LiveCode 8.1.0 Indy), but failed
> in Windows 7 (LiveCode 8.1.0 Indy)
> ;
> .
> 
> ~Roger





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539p4709582.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread BNig
Hi Tore,

that sounds like a good use case

I think I will add a third option "custom" to "english" and "system" for
month and day names.

That way one can customize those to the local usage.

It will not be before middle of next week that I can change this and upload
a new version.

Kind regards
Bernd




Tore Nilsen wrote
> ...
>> 18. okt. 2016 kl. 23.08 skrev BNig <

> bernd.niggemann@

> >:
>> 
>> In case someone sees a use case for customizing abbreviated day/month
>> names
>> I would reconsider that.
> 
> 
> In Norway we often use two letter abbreviations for day names, which is
> very handy if the size of the widget is very small. 
> 
> Regards 
> Tore Nilsen





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539p4709581.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread Tore Nilsen
Thanks for a fine widget, it works well here on a Mac with  LC 8.1.1 and MacOS 
10.12.1. As a matter of fact, one of my students asked if there was anything 
like this available for LiveCode, just yesterday morning. I can now tell him 
that indeed there is.

> 18. okt. 2016 kl. 23.08 skrev BNig :
> 
> In case someone sees a use case for customizing abbreviated day/month names
> I would reconsider that.


In Norway we often use two letter abbreviations for day names, which is very 
handy if the size of the widget is very small. 

Regards 
Tore Nilsen




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread BNig
Hi Devin,

I just tested and see that also when I try to get the monthNames by script.
It throws an error. I did not test that part of the widget enough because
that was already in place and since I did not need to set or get the
monthNames nor dayNames since I use a call to Livecodescript to get to the
localized abbreviated names.

The error is in the naming of the property: monthNames. That is a Livecode
Script property and calling that same property of the widget gives a
conflict.

As a test I temporarily renamed the widget's "monthNames" property to
"calMonthNames" and then getting the calMonthNames by script works.
In other words there is a naming conflict.
"dayNames" works because there is no naming conflict but is of little use
since it is overruled by the call to livecode Script.

I think I should change that part of the widget by removing the properties
from the properties inspector and leave them as renamed properties of the
widget but not settable, only gettable.

In case someone sees a use case for customizing abbreviated day/month names
I would reconsider that.

Until it is changed I suggest just not using both properties.

Thank your the feedback.

Kind regards
Bernd



Devin Asay wrote
> Wonderful widget, Bernd! Works well here on Mac 10.10.5 with both LC 8.1.1
> RC2 and 9.0.0 DP1. 
> 
> There is only one small problem I see: the monthNames property throws an
> error when I try to get or set it. I wonder if it the monthNames property
> is interfering?
> 
> Devin





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539p4709579.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread Devin Asay
Wonderful widget, Bernd! Works well here on Mac 10.10.5 with both LC 8.1.1 RC2 
and 9.0.0 DP1. 

There is only one small problem I see: the monthNames property throws an error 
when I try to get or set it. I wonder if it the monthNames property is 
interfering?

Devin


> On Oct 18, 2016, at 6:07 AM, BNig  wrote:
> 
> During the conference a calendar widget was used in the widget course.
> The original author is Elanor Buchanan.
> I think it is a wonderful example of what widgets can do. Elanor did a very
> good job.
> 
> I extended the calendar to add some useful features.
> 
> You can choose via the properties inspector the sytem abbreviated names for
> month names and day names. Thus using the localized names.
> Default english
> 
> The option to start the week on Mondays which is the case in many countries.
> Default Sunday
> 
> Clicking on Month/Year in the title bar brings up the current date
> 
> The option that the font size adapts to the size of the widget (default)
> 
> The calendar widget uses a library also written by Elanor Buchanan
> "datesupport"
> 
> to install the widget download and unzip
> 
> http://www.berndniggemann.on-rev.com/calendar/calendar.zip
> 
> inside the folder there are two .lce files:
> 
> community.livecode.elanor.datesupport.1.0.0.lce
> community.livecode.elanorb.calendarBN.1.0.0.lce
> 
> Use the Extension Manager in the Tool Menu to install the files one by one
> by using the Plus-sign in the upper right corner of the Extension Manager.
> 
> The Extension Manager will then install those extensions in your
> "extensions" folder in your "My LiveCode" folder
> 
> You might want to restart Livecode and you should see in your toolbar a
> widget "calendarBN" with a calendar icon.
> 
> You can change a number of properties, please see the dictionary entry API:
> Choose API: CalendarBN
> 
> Calendar sends a dateChanged message when the user clicks on a date. You add
> this script to the widget to react to the message.
> 
> on dateChanged pDate
>   put pDate into field "myDate"
> end dateChanged
> 
> Kind regards
> Bernd
> 
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

Devin Asay
Director
Office of Digital Humanities
Brigham Young University


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread Roger Eller
Hi Bernd,

I have updated bug# 17374 with new screenshots.

http://quality.livecode.com/show_bug.cgi?id=17374

~Roger


On Tue, Oct 18, 2016 at 12:14 PM, BNig  wrote:

> Hi Roger,
>
> Could you try with a version > 8.1.0 and Windows 7?
>
> the widget does not use Mac specific code.
>
> Actually I just tested using on a Mac 10.9.5 and LC 8.1.0 and it worked.
> But
> I compiled the widget using LC 9.0.0 DP1. But that _should_ not matter?
>
> Kind regards
> Bernd
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread BNig
Hi Roger,

Could you try with a version > 8.1.0 and Windows 7?

the widget does not use Mac specific code. 

Actually I just tested using on a Mac 10.9.5 and LC 8.1.0 and it worked. But
I compiled the widget using LC 9.0.0 DP1. But that _should_ not matter?

Kind regards
Bernd


Roger Eller wrote
> It worked fine for me in Mac OS 10.11.6 (LiveCode 8.1.0 Indy), but failed
> in Windows 7 (LiveCode 8.1.0 Indy)
> ;
> .
> 
> ~Roger





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539p4709559.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread Roger Eller
It worked fine for me in Mac OS 10.11.6 (LiveCode 8.1.0 Indy), but failed
in Windows 7 (LiveCode 8.1.0 Indy)

.

~Roger


On Tue, Oct 18, 2016 at 11:06 AM, Bob Sneidar 
wrote:

> Using 8.1.0
>
> > On Oct 18, 2016, at 07:59 , Bob Sneidar 
> wrote:
> >
> > I get Module Format not supported.
> >
> > Bob S
> >
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread arul selvan
Bernd
thank you!
works fime in mac 10.10.1
lc 8.1.0

arul

On Tue, Oct 18, 2016 at 8:43 PM, Bob Sneidar
 wrote:
> Same here on 8.1.1 rx1. Apparently there were some changes made from 8.1.0 to 
> 8.1.1.
>
> Bob S
>
>
> On Oct 18, 2016, at 08:08 , Klaus major-k 
> mailto:kl...@major-k.de>> wrote:
>
> Hi all,
>
> Am 18.10.2016 um 17:06 schrieb Bob Sneidar 
> mailto:bobsnei...@iotecdigital.com>>:
>
> Using 8.1.0
>
> runs fine on my Mac on LC 8.1.1 RC2!
>
> On Oct 18, 2016, at 07:59 , Bob Sneidar 
> mailto:bobsnei...@iotecdigital.com>> wrote:
>
> I get Module Format not supported.
>
> Bob S
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread Klaus major-k
Hi all,

> Am 18.10.2016 um 17:06 schrieb Bob Sneidar :
> 
> Using 8.1.0

runs fine on my Mac on LC 8.1.1 RC2!

>> On Oct 18, 2016, at 07:59 , Bob Sneidar  wrote:
>> 
>> I get Module Format not supported. 
>> 
>> Bob S
>> 
>> 
>>> On Oct 18, 2016, at 05:07 , BNig  wrote:
>>> 
>>> During the conference a calendar widget was used in the widget course.
>>> The original author is Elanor Buchanan.
>>> I think it is a wonderful example of what widgets can do. Elanor did a very
>>> good job.
>>> 
>>> I extended the calendar to add some useful features.
>>> 
>>> You can choose via the properties inspector the sytem abbreviated names for
>>> month names and day names. Thus using the localized names.
>>> Default english
>>> 
>>> The option to start the week on Mondays which is the case in many countries.
>>> Default Sunday
>>> 
>>> Clicking on Month/Year in the title bar brings up the current date
>>> 
>>> The option that the font size adapts to the size of the widget (default)
>>> 
>>> The calendar widget uses a library also written by Elanor Buchanan
>>> "datesupport"
>>> 
>>> to install the widget download and unzip
>>> 
>>> http://www.berndniggemann.on-rev.com/calendar/calendar.zip
>>> 
>>> inside the folder there are two .lce files:
>>> 
>>> community.livecode.elanor.datesupport.1.0.0.lce
>>> community.livecode.elanorb.calendarBN.1.0.0.lce
>>> 
>>> Use the Extension Manager in the Tool Menu to install the files one by one
>>> by using the Plus-sign in the upper right corner of the Extension Manager.
>>> 
>>> The Extension Manager will then install those extensions in your
>>> "extensions" folder in your "My LiveCode" folder
>>> 
>>> You might want to restart Livecode and you should see in your toolbar a
>>> widget "calendarBN" with a calendar icon.
>>> 
>>> You can change a number of properties, please see the dictionary entry API:
>>> Choose API: CalendarBN
>>> 
>>> Calendar sends a dateChanged message when the user clicks on a date. You add
>>> this script to the widget to react to the message.
>>> 
>>> on dateChanged pDate
>>> put pDate into field "myDate"
>>> end dateChanged
>>> 
>>> Kind regards
>>> Bernd

thanks a lot, Bernd!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread Bob Sneidar
Same here on 8.1.1 rx1. Apparently there were some changes made from 8.1.0 to 
8.1.1.

Bob S


On Oct 18, 2016, at 08:08 , Klaus major-k 
mailto:kl...@major-k.de>> wrote:

Hi all,

Am 18.10.2016 um 17:06 schrieb Bob Sneidar 
mailto:bobsnei...@iotecdigital.com>>:

Using 8.1.0

runs fine on my Mac on LC 8.1.1 RC2!

On Oct 18, 2016, at 07:59 , Bob Sneidar 
mailto:bobsnei...@iotecdigital.com>> wrote:

I get Module Format not supported.

Bob S

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread Bob Sneidar
Using 8.1.0

> On Oct 18, 2016, at 07:59 , Bob Sneidar  wrote:
> 
> I get Module Format not supported. 
> 
> Bob S
> 
> 
>> On Oct 18, 2016, at 05:07 , BNig  wrote:
>> 
>> During the conference a calendar widget was used in the widget course.
>> The original author is Elanor Buchanan.
>> I think it is a wonderful example of what widgets can do. Elanor did a very
>> good job.
>> 
>> I extended the calendar to add some useful features.
>> 
>> You can choose via the properties inspector the sytem abbreviated names for
>> month names and day names. Thus using the localized names.
>> Default english
>> 
>> The option to start the week on Mondays which is the case in many countries.
>> Default Sunday
>> 
>> Clicking on Month/Year in the title bar brings up the current date
>> 
>> The option that the font size adapts to the size of the widget (default)
>> 
>> The calendar widget uses a library also written by Elanor Buchanan
>> "datesupport"
>> 
>> to install the widget download and unzip
>> 
>> http://www.berndniggemann.on-rev.com/calendar/calendar.zip
>> 
>> inside the folder there are two .lce files:
>> 
>> community.livecode.elanor.datesupport.1.0.0.lce
>> community.livecode.elanorb.calendarBN.1.0.0.lce
>> 
>> Use the Extension Manager in the Tool Menu to install the files one by one
>> by using the Plus-sign in the upper right corner of the Extension Manager.
>> 
>> The Extension Manager will then install those extensions in your
>> "extensions" folder in your "My LiveCode" folder
>> 
>> You might want to restart Livecode and you should see in your toolbar a
>> widget "calendarBN" with a calendar icon.
>> 
>> You can change a number of properties, please see the dictionary entry API:
>> Choose API: CalendarBN
>> 
>> Calendar sends a dateChanged message when the user clicks on a date. You add
>> this script to the widget to react to the message.
>> 
>> on dateChanged pDate
>>  put pDate into field "myDate"
>> end dateChanged
>> 
>> Kind regards
>> Bernd
>> 
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.html
>> Sent from the Revolution - User mailing list archive at Nabble.com.
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread Bob Sneidar
I get Module Format not supported. 

Bob S


> On Oct 18, 2016, at 05:07 , BNig  wrote:
> 
> During the conference a calendar widget was used in the widget course.
> The original author is Elanor Buchanan.
> I think it is a wonderful example of what widgets can do. Elanor did a very
> good job.
> 
> I extended the calendar to add some useful features.
> 
> You can choose via the properties inspector the sytem abbreviated names for
> month names and day names. Thus using the localized names.
> Default english
> 
> The option to start the week on Mondays which is the case in many countries.
> Default Sunday
> 
> Clicking on Month/Year in the title bar brings up the current date
> 
> The option that the font size adapts to the size of the widget (default)
> 
> The calendar widget uses a library also written by Elanor Buchanan
> "datesupport"
> 
> to install the widget download and unzip
> 
> http://www.berndniggemann.on-rev.com/calendar/calendar.zip
> 
> inside the folder there are two .lce files:
> 
> community.livecode.elanor.datesupport.1.0.0.lce
> community.livecode.elanorb.calendarBN.1.0.0.lce
> 
> Use the Extension Manager in the Tool Menu to install the files one by one
> by using the Plus-sign in the upper right corner of the Extension Manager.
> 
> The Extension Manager will then install those extensions in your
> "extensions" folder in your "My LiveCode" folder
> 
> You might want to restart Livecode and you should see in your toolbar a
> widget "calendarBN" with a calendar icon.
> 
> You can change a number of properties, please see the dictionary entry API:
> Choose API: CalendarBN
> 
> Calendar sends a dateChanged message when the user clicks on a date. You add
> this script to the widget to react to the message.
> 
> on dateChanged pDate
>   put pDate into field "myDate"
> end dateChanged
> 
> Kind regards
> Bernd
> 
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] calendar widget

2016-10-18 Thread Roger Guay
Very nice . . . Thank you!!


> On Oct 18, 2016, at 5:07 AM, BNig  wrote:
> 
> During the conference a calendar widget was used in the widget course.
> The original author is Elanor Buchanan.
> I think it is a wonderful example of what widgets can do. Elanor did a very
> good job.
> 
> I extended the calendar to add some useful features.
> 
> You can choose via the properties inspector the sytem abbreviated names for
> month names and day names. Thus using the localized names.
> Default english
> 
> The option to start the week on Mondays which is the case in many countries.
> Default Sunday
> 
> Clicking on Month/Year in the title bar brings up the current date
> 
> The option that the font size adapts to the size of the widget (default)
> 
> The calendar widget uses a library also written by Elanor Buchanan
> "datesupport"
> 
> to install the widget download and unzip
> 
> http://www.berndniggemann.on-rev.com/calendar/calendar.zip
> 
> inside the folder there are two .lce files:
> 
> community.livecode.elanor.datesupport.1.0.0.lce
> community.livecode.elanorb.calendarBN.1.0.0.lce
> 
> Use the Extension Manager in the Tool Menu to install the files one by one
> by using the Plus-sign in the upper right corner of the Extension Manager.
> 
> The Extension Manager will then install those extensions in your
> "extensions" folder in your "My LiveCode" folder
> 
> You might want to restart Livecode and you should see in your toolbar a
> widget "calendarBN" with a calendar icon.
> 
> You can change a number of properties, please see the dictionary entry API:
> Choose API: CalendarBN
> 
> Calendar sends a dateChanged message when the user clicks on a date. You add
> this script to the widget to react to the message.
> 
> on dateChanged pDate
>   put pDate into field "myDate"
> end dateChanged
> 
> Kind regards
> Bernd
> 
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode