Re: Simple script doesn't work

2012-08-06 Thread Marek Niesiobedzki
But why it doesn't work without send? Could you explain it?

Marek

___
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] lcStackBrowser Beta testers needed

2012-08-06 Thread Marek Niesiobedzki
I can test it on Mac OS X (10.7 and 10.8), LC 5.5.1

Marek

___
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: The RunRev store

2012-08-06 Thread Bill Vlahos
Pete,

My program lcTaskList was just put on the store last Friday. It did take 
several months to get it there which was longer than I expected, but it did 
finally make it.
http://www.runrev.com/store/product/lcTaskList/

Note for people who purchased it over the weekend: there was a problem with the 
download version that was posted. It has now been corrected and the right 
version is available now.

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.
lcTaskList: (http://www.infowallet.com/lctasklist/index.htm)

On Aug 3, 2012, at 10:50 AM, Peter Haworth p...@lcsql.com wrote:

 I have been trying for several months to get a couple of my apps accepted
 to the RunRev store.  I got an initial response about the process and TC's
 but have not heard anything since despite sending off the apps and sending
 several emails to inquire about status, acceptance, rejection.
 
 Is this normal and if so, I wonder what the point of having a store is?
 
 Pete
 lcSQL Software http://www.lcsql.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


Logging Device Tokens

2012-08-06 Thread Dan Friedman
Question: How are you saving Device Tokens?

I am working on adding Push Notifications to my app.  I am able to create, send 
and receive the push notification (as a test) without issue.  However, I can 
see that I am going to have to store the Device Tokens of all that use my app – 
thousands, potentially millions of them!  This seems crazy!  And, you may have 
to store more about the user's settings (or app preferences) if the app will 
send a notice to some users and not others.

Am I misunderstanding something?  Is there something in place to deal with 
this?  Or, am I to write my own mechanism that will log and store all users and 
their Device Token to some server.  Presumably when the app receives the 
pushNotificationRegistered message.

Before I do this all wrong, I thought I would pose the question here and see if 
anyone has any advise.

Thank you in advance,
-Dan
___
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] lcStackBrowser Beta testers needed

2012-08-06 Thread Peter Haworth
Thanks Marek.  I will be sedining the stack out shortly.
Pete
lcSQL Software http://www.lcsql.com



On Mon, Aug 6, 2012 at 4:00 AM, Marek Niesiobedzki n...@studionm.pl wrote:

 I can test it on Mac OS X (10.7 and 10.8), LC 5.5.1

 Marek

 ___
 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: GLX2 3.0.10

2012-08-06 Thread Alejandro Tejada
Hi Mark, 

Look, for example, the contents of an element
of the Undo Array. The Undo Array contains 
a xml description of all controls placed in
a single card:

The Unique Key for each control is the AltID
of the control, that is set at the moment of
its creation. So, always there is only one control
with such AltID. 

You could ask: Why not use the ID of the control
that always would be unique? Because, when you
delete a control, its ID is gone too and if we need
to recreate the control in the card, it would be
necessary to create new controls that will have
a new ID. 

The new option that allows to create
a control with a previous ID is only available in
more recent versions of Livecode, and I want
that the stack works fine in all previous versions
of this platform. If it is run in early versions,
then antialiased graphics and gradients would
not be available, but the core and basic functionality
will work fine.

The content of this unique array element
would be like this: (XML from Geoff Canyon
stack: mcRipper)

--
  graphic
 
 properties
traversalOnfalse/traversalOn
inksrcCopy/ink
threeDtrue/threeD
startAngle0/startAngle
blendLevel0/blendLevel
rect58,102,146,240/rect
angle0/angle
filledtrue/filled
patterns/patterns
showNamefalse/showName
colors/colors
arcAngle360/arcAngle
dontResizefalse/dontResize
startArrowfalse/startArrow
editModenone/editMode
points/points
id1019/id
markerDrawnfalse/markerDrawn
arrowSize3/arrowSize
altId0/altId
antiAliasedtrue/antiAliased
markerFilledfalse/markerFilled
fillGradient/fillGradient
markerLineSize1/markerLineSize
textStyle/textStyle
fillRulenone/fillRule
lockLocfalse/lockLoc
roundRadius15/roundRadius
label/label

endArrowfalse/endArrow
markerPoints/markerPoints
dashes/dashes
behavior/behavior
name/name
toolTip/toolTip
lineSize0/lineSize
polySides4/polySides
capStyleround/capStyle
layer2/layer
visibletrue/visible
cantSelectfalse/cantSelect
borderWidth2/borderWidth
margins4/margins
roundEndstrue/roundEnds
opaquetrue/opaque
showBorderfalse/showBorder
miterLimit10/miterLimit
textSize/textSize
disabledfalse/disabled
joinStyleround/joinStyle
textFont/textFont
strokeGradient/strokeGradient
showFocusBordertrue/showFocusBorder
 /properties
 customPropertySet name=cREVGeneral
revUniqueID1343811387021/revUniqueID
 /customPropertySet
 customPropertySet name=
cpoints/cpoints
bpoints/bpoints
 /customPropertySet
  /graphic
--
In this context, Undo would restore a control to its
previous properties or delete it (until Redo, put it back).

Al




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653433.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] lcStackBrowser Beta testers needed

2012-08-06 Thread Alejandro Tejada
If you save the stack as version 2.7,
then I could test it in the IDE v2.8.1

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-lcStackBrowser-Beta-testers-needed-tp4653419p4653434.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] Livecode iCloud iOS external

2012-08-06 Thread Maarten Koopmans
Thanks!

 I just learnt that the PDF has a ton of spelling errors. Non-native
and my soellchecker turns out to be broken.

I'll update the manual soonish. So it'll be a collectors item ;-)

--Maarten

On Sunday, August 5, 2012, Monte Goulding wrote:

 Well done Maarten!

 --
 M E R Goulding
 Software development services

 mergExt - There's an external for that!

 On 05/08/2012, at 11:39 PM, Maarten Koopmans 
 maarten.koopm...@gmail.comjavascript:;
 wrote:

  Hi,
 
  After a weekend of documenting I'm happy to announce the immediate
  availability of miCloud - an iCloud external for iOS.
 
  With it, you can:
 
  - get your app name, team prefix, bundle identifier
  - put files in your app's container
  - manipulate and query the apps container
  - put files in a shared container across apps - so you have shared
  data across iOS apps
  - manipulate and query the shared container
  - put files in a container or shared container up for download for two
 weeks
 
  Read more: http://maartenkoopmans.com/miCloudManual.pdf
 
  Introductory price until August 19 is only $49.
 
  You can get it at http://maartenkoopmans.com/micloud
 
  Enjoy,
 
  Maarten
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com javascript:;
  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 javascript:;
 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] lcStackBrowser Beta testers needed

2012-08-06 Thread Peter Haworth
Hi Alejandro,
I'll be saving all the stacks as version 2.7.  WIll be interesting to see
if it works OK in 2.8.1!  I'll be sending the star out shortly.
Pete
lcSQL Software http://www.lcsql.com



On Mon, Aug 6, 2012 at 10:17 AM, Alejandro Tejada capellan2...@gmail.comwrote:

 If you save the stack as version 2.7,
 then I could test it in the IDE v2.8.1

 Al



 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/ANN-lcStackBrowser-Beta-testers-needed-tp4653419p4653434.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] lcStackBrowser Beta testers needed

2012-08-06 Thread Magicgate Software - Skip Kimpel
I could test on Windows.

SKIP

On Sun, Aug 5, 2012 at 7:28 PM, Peter Haworth p...@lcsql.com wrote:
 I'm looking for a few beta testers for my latest plugin, lcStackBrowser.

 lcStackBrowser is an alternative to the IDE's Application Browser.  Some of
 the major features are:

- Tree view of stacks, substacks, cards, groups, and controls, all of
which can be expanded or collapsed.
- Icons to identify different control subtypes  (scrolling field, list
field, table, option menu, combo box ,etc)
- Single click access to inspector and script editor for all objects
- Single click enabling/disabling of objects
- Popup menu access to all true/false properties for any object type
- Popup menu access to common actions such as new substack, new card,
change mainstack, copy/move substack to a different mainstack, copy/move
card to a different stack, etc.
- Drag and drop controls to either re-layer them and add/remove them
from groups
- Directly edit nested groups without going through their higher level
groups
- Options to sort stacks, cards, and controls in several ways
- Optional front script to keep lcStackBrowser updated when objects are
created, deleted, renamed, etc outside its control.
- Switch between browse and edit mode

 I've tested this extensively on OS X Lion and Livecode 5.5.0 so hoping to
 find a few volunteers for other versions of OS X, Windows, and Linux.

 Please contact me off list. if you have time to exercise this plugin for me
 over the next couple of weeks.

 Thanks,

 Pete
 lcSQL Software http://www.lcsql.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


Dos Ascii to Windows Ansi or Mac Roman

2012-08-06 Thread Matthias Rebbe
Hi,

i have here an ascii text, created under Dos, which i have to convert at least 
to windows ansi. Because i have to do this very often in future i wanted to 
create a routine with LiveCode which does the convert for me. Can this be done 
with a livecode command/function or do i have to create a script to replace the 
wrong displayed characters?

Regards,

Matthias
___
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: Dos Ascii to Windows Ansi or Mac Roman

2012-08-06 Thread Bob Sneidar
The first 256 characters should be the same in both. Do you have characters 
that exceed the normal ASCII characters? 

Bob


On Aug 6, 2012, at 11:04 AM, Matthias Rebbe wrote:

 Hi,
 
 i have here an ascii text, created under Dos, which i have to convert at 
 least to windows ansi. Because i have to do this very often in future i 
 wanted to create a routine with LiveCode which does the convert for me. Can 
 this be done with a livecode command/function or do i have to create a script 
 to replace the wrong displayed characters?
 
 Regards,
 
 Matthias
 ___
 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: The RunRev store

2012-08-06 Thread Andrew Henshaw
Thanks Bill,

Ive just logged into the runrev store to view orders and it shows no updates 
are available.

Should there be an update there??

Andy

On 6 Aug 2012, at 15:34, Bill Vlahos bvla...@mac.com wrote:

 Pete,
 
 My program lcTaskList was just put on the store last Friday. It did take 
 several months to get it there which was longer than I expected, but it did 
 finally make it.
 http://www.runrev.com/store/product/lcTaskList/
 
 Note for people who purchased it over the weekend: there was a problem with 
 the download version that was posted. It has now been corrected and the right 
 version is available now.
 
 Bill Vlahos
 _
 InfoWallet (http://www.infowallet.com) is about keeping your important life 
 information with you, accessible, and secure.
 lcTaskList: (http://www.infowallet.com/lctasklist/index.htm)
 
 On Aug 3, 2012, at 10:50 AM, Peter Haworth p...@lcsql.com wrote:
 
 I have been trying for several months to get a couple of my apps accepted
 to the RunRev store.  I got an initial response about the process and TC's
 but have not heard anything since despite sending off the apps and sending
 several emails to inquire about status, acceptance, rejection.
 
 Is this normal and if so, I wonder what the point of having a store is?
 
 Pete
 lcSQL Software http://www.lcsql.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] lcStackBrowser Beta testers needed

2012-08-06 Thread Peter Haworth
Thanks Skip - my first Windows volunteer!

I'll be sending out the stack shortly.

Pete
lcSQL Software http://www.lcsql.com



On Mon, Aug 6, 2012 at 10:32 AM, Magicgate Software - Skip Kimpel 
s...@magicgate.com wrote:

 I could test on Windows.

 SKIP

 On Sun, Aug 5, 2012 at 7:28 PM, Peter Haworth p...@lcsql.com wrote:
  I'm looking for a few beta testers for my latest plugin, lcStackBrowser.
 
  lcStackBrowser is an alternative to the IDE's Application Browser.  Some
 of
  the major features are:
 
 - Tree view of stacks, substacks, cards, groups, and controls, all of
 which can be expanded or collapsed.
 - Icons to identify different control subtypes  (scrolling field, list
 field, table, option menu, combo box ,etc)
 - Single click access to inspector and script editor for all objects
 - Single click enabling/disabling of objects
 - Popup menu access to all true/false properties for any object type
 - Popup menu access to common actions such as new substack, new card,
 change mainstack, copy/move substack to a different mainstack,
 copy/move
 card to a different stack, etc.
 - Drag and drop controls to either re-layer them and add/remove them
 from groups
 - Directly edit nested groups without going through their higher level
 groups
 - Options to sort stacks, cards, and controls in several ways
 - Optional front script to keep lcStackBrowser updated when objects
 are
 created, deleted, renamed, etc outside its control.
 - Switch between browse and edit mode
 
  I've tested this extensively on OS X Lion and Livecode 5.5.0 so hoping to
  find a few volunteers for other versions of OS X, Windows, and Linux.
 
  Please contact me off list. if you have time to exercise this plugin for
 me
  over the next couple of weeks.
 
  Thanks,
 
  Pete
  lcSQL Software http://www.lcsql.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] Livecode iCloud iOS external

2012-08-06 Thread Maarten Koopmans
..updated.

On Mon, Aug 6, 2012 at 7:20 PM, Maarten Koopmans
maarten.koopm...@gmail.com wrote:
 Thanks!

  I just learnt that the PDF has a ton of spelling errors. Non-native and
 my soellchecker turns out to be broken.

 I'll update the manual soonish. So it'll be a collectors item ;-)

 --Maarten

 On Sunday, August 5, 2012, Monte Goulding wrote:

 Well done Maarten!

 --
 M E R Goulding
 Software development services

 mergExt - There's an external for that!

 On 05/08/2012, at 11:39 PM, Maarten Koopmans maarten.koopm...@gmail.com
 wrote:

  Hi,
 
  After a weekend of documenting I'm happy to announce the immediate
  availability of miCloud - an iCloud external for iOS.
 
  With it, you can:
 
  - get your app name, team prefix, bundle identifier
  - put files in your app's container
  - manipulate and query the apps container
  - put files in a shared container across apps - so you have shared
  data across iOS apps
  - manipulate and query the shared container
  - put files in a container or shared container up for download for two
  weeks
 
  Read more: http://maartenkoopmans.com/miCloudManual.pdf
 
  Introductory price until August 19 is only $49.
 
  You can get it at http://maartenkoopmans.com/micloud
 
  Enjoy,
 
  Maarten
 
  ___
  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: Dos Ascii to Windows Ansi or Mac Roman

2012-08-06 Thread Matthias Rebbe
Bob,

yes i think so. The german umlaute and i think some graphic characters. But 
important are the german umlaute.

Regards,

Matthias
Am 06.08.2012 um 20:10 schrieb Bob Sneidar b...@twft.com:

 The first 256 characters should be the same in both. Do you have characters 
 that exceed the normal ASCII characters? 
 
 Bob
 
 
 On Aug 6, 2012, at 11:04 AM, Matthias Rebbe wrote:
 
 Hi,
 
 i have here an ascii text, created under Dos, which i have to convert at 
 least to windows ansi. Because i have to do this very often in future i 
 wanted to create a routine with LiveCode which does the convert for me. Can 
 this be done with a livecode command/function or do i have to create a 
 script to replace the wrong displayed characters?
 
 Regards,
 
 Matthias
 ___
 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: Dos Ascii to Windows Ansi or Mac Roman

2012-08-06 Thread Devin Asay
Actually, only the first 128 characters are reliably consistent. The upper 128 
characters vary between DOS (Code Page 437) and standard encoding ISO-8859-1 
(which, in turn, is slightly different from Windows CP 1252). The only built-in 
functions in LC are the MacToISO and ISOtoMac functions, so that won't help you 
here. You'll have to write your own function to replace upper-ascii characters. 
There is a handy comparison of the various common ascii character sets at 
http://www.alanwood.net/demos/charsetdiffs.html. Wikipedia entries for the 
various encodings can also be helpful, as they have complete character charts.

HTH

Devin


On Aug 6, 2012, at 12:10 PM, Bob Sneidar wrote:

 The first 256 characters should be the same in both. Do you have characters 
 that exceed the normal ASCII characters? 
 
 Bob
 
 
 On Aug 6, 2012, at 11:04 AM, Matthias Rebbe wrote:
 
 Hi,
 
 i have here an ascii text, created under Dos, which i have to convert at 
 least to windows ansi. Because i have to do this very often in future i 
 wanted to create a routine with LiveCode which does the convert for me. Can 
 this be done with a livecode command/function or do i have to create a 
 script to replace the wrong displayed characters?


Devin Asay
Humanities Technology and Research Support Center
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] Livecode iCloud iOS external

2012-08-06 Thread Peter M. Brigham
On Aug 6, 2012, at 1:20 PM, Maarten Koopmans wrote:

 ...my soellchecker turns out to be broken….

Apparently.:-)

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig



___
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: GLX2 3.0.10

2012-08-06 Thread Mark Wieder
Alejandro Tejada capellan2000@... writes:

 Look, for example, the contents of an element
 of the Undo Array. The Undo Array contains 
 a xml description of all controls placed in
 a single card:

I think xml is probably the wrong format for this data. In order to determine
the difference between versions you're going to have to unpack the xml data,
find what has changed, pack that data back into xml, and store that. That's a
lot of unnecessary work.

Much easier (and faster and less memory for storage) to store an array whose
keys are the property names and whose elements are the values. Then use
Richard's merge function to find the deltas quickly.

-- 
 Mark Wieder
 mwie...@ahsoftware.net





___
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] Livecode iCloud iOS external

2012-08-06 Thread Maarten Koopmans
LOL. I want forced spellchecking *in my fingers*...

On Mon, Aug 6, 2012 at 9:26 PM, Peter M. Brigham pmb...@gmail.com wrote:
 On Aug 6, 2012, at 1:20 PM, Maarten Koopmans wrote:

 ...my soellchecker turns out to be broken….

 Apparently.:-)

 -- Peter

 Peter M. Brigham
 pmb...@gmail.com
 http://home.comcast.net/~pmbrig



 ___
 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: Dos Ascii to Windows Ansi or Mac Roman

2012-08-06 Thread Richmond
I have just one a little reading: 
http://en.wikipedia.org/wiki/Extended_ASCII


and from this it is clear that it would be expecting too much for 
Livecode to convert this sort of stuff.


What you DO NEED is the number (somewhere between 129 and 256 in 
extended ASCII) for U umlaut

(upper case) and u umlaut (lower case).

And then the numbers of the characters in WINDOWS ANSI and MAC ROMAN:

In MS DOS ASCII LATIN US - u umlaut is char 252 and U umlaut is char 220.

In WINDOWS 1252 Western ANSI - u umlaut is char 252 and U umlaut is char 
220.


In Mac Roman - u umlaut is char 252 and U umlaut is 220.

So your question is redundant, and you don't have to worry about these 
characters at all


Tested with Fontforge and a standard font.

Love, Richmond.

___
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: The RunRev store

2012-08-06 Thread Mark Wieder
Andrew Henshaw henshaw@... writes:

 Should there be an update there??

The RunRev store works in mysterious ways.

Is it possible to buy an IDE to run on linux anymore? I see add-on options for
$200 to allow deployment to linux platforms and mobile this and that (even
Windows Phone 6.5!). There are options to allow development on Mac and Windows,
but whatever happened to developing on linux, as opposed to deploying to linux?

-- 
 Mark Wieder
 mwie...@ahsoftware.net




___
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: The RunRev store

2012-08-06 Thread Mike Bonner
If I understand correctly, you can develop ON any of the 3 platforms, but
need to purchase the deployments you want (you get 1 free, the desktop free
includes mac and win by default).  If you want to develop on linux for
linux (to make standalones) you can click customize and choose the linux
deployment rather than the mac/windows combination. Its a steal of a deal!
A 1 for 2 bargain!


On Mon, Aug 6, 2012 at 1:45 PM, Mark Wieder mwie...@ahsoftware.net wrote:

 Andrew Henshaw henshaw@... writes:

  Should there be an update there??

 The RunRev store works in mysterious ways.

 Is it possible to buy an IDE to run on linux anymore? I see add-on options
 for
 $200 to allow deployment to linux platforms and mobile this and that (even
 Windows Phone 6.5!). There are options to allow development on Mac and
 Windows,
 but whatever happened to developing on linux, as opposed to deploying to
 linux?

 --
  Mark Wieder
  mwie...@ahsoftware.net




 ___
 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: Dos Ascii to Windows Ansi or Mac Roman

2012-08-06 Thread Dar Scott
Quite right.  Characters above 128 are not going to match.  And one would 
question some of the control characters; they have images in Windows Ansi 
code pages.  

ASCII is a special case of UTF8, so the uniEncode and uniDecode functions might 
be worth exploring.  You can consider ASCII to be UTF-8 because ASCII is 7 bit 
and bytes for all Unicode in UTF-8 that are outside of ASCII have the msb set.  
However, the only applicable character set in the list is Ansi and who knows 
what that really means.  It might mean the host character set either Mac or 
some Windows code page.

Long ago I created a rash of Unicode bug entries and I think I had converters 
then, so they must not be too hard to create.  

If you are looking at LF, CR, Tab, space, and printables (character coded 33 to 
126) then they are the same in almost all applicable character sets.  But as 
soon as you type a dingbat on your Mac, you have more work.  (By CR I mean the 
ASCII CR, not the newline used in LiveCode which is LF.)

Dar



On Aug 6, 2012, at 1:13 PM, Devin Asay wrote:

 Actually, only the first 128 characters are reliably consistent. The upper 
 128 characters vary between DOS (Code Page 437) and standard encoding 
 ISO-8859-1 (which, in turn, is slightly different from Windows CP 1252). The 
 only built-in functions in LC are the MacToISO and ISOtoMac functions, so 
 that won't help you here. You'll have to write your own function to replace 
 upper-ascii characters. There is a handy comparison of the various common 
 ascii character sets at http://www.alanwood.net/demos/charsetdiffs.html. 
 Wikipedia entries for the various encodings can also be helpful, as they have 
 complete character charts.
 
 HTH
 
 Devin
 
 
 On Aug 6, 2012, at 12:10 PM, Bob Sneidar wrote:
 
 The first 256 characters should be the same in both. Do you have characters 
 that exceed the normal ASCII characters? 
 
 Bob
 
 
 On Aug 6, 2012, at 11:04 AM, Matthias Rebbe wrote:
 
 Hi,
 
 i have here an ascii text, created under Dos, which i have to convert at 
 least to windows ansi. Because i have to do this very often in future i 
 wanted to create a routine with LiveCode which does the convert for me. Can 
 this be done with a livecode command/function or do i have to create a 
 script to replace the wrong displayed characters?
 
 
 Devin Asay
 Humanities Technology and Research Support Center
 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


___
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: Dos Ascii to Windows Ansi or Mac Roman

2012-08-06 Thread Dar Scott
It just dawned on my what I wrote in the last paragraph.  Those are the only 
characters in common in all three character sets, so conversion is free if you 
don't need weird control characters.  

Unless you don't really mean ASCII, but mean some DOS code page.

(In Europe ASCII is called USASCII, which I consider to be disrespecting the 
work some Americans did in computers, communications and early character-set 
standardization, but it is in standards that way, so I'm fighting a losing 
battle if I complain.  To us old-timers, ASCII is fundamental.  I prefer to 
honor that history and put qualifiers on all enhancements and variations.  Even 
35 years ago I got onto Bill about his careless speech about character sets.  
Character sets have been a mess.  I think Unicode is wonderful.  Well, even 
Microsoft can mess that up.)

Dar


On Aug 6, 2012, at 1:57 PM, Dar Scott wrote:

 Quite right.  Characters above 128 are not going to match.  And one would 
 question some of the control characters; they have images in Windows Ansi 
 code pages.  
 
 ASCII is a special case of UTF8, so the uniEncode and uniDecode functions 
 might be worth exploring.  You can consider ASCII to be UTF-8 because ASCII 
 is 7 bit and bytes for all Unicode in UTF-8 that are outside of ASCII have 
 the msb set.  However, the only applicable character set in the list is 
 Ansi and who knows what that really means.  It might mean the host 
 character set either Mac or some Windows code page.
 
 Long ago I created a rash of Unicode bug entries and I think I had converters 
 then, so they must not be too hard to create.  
 
 If you are looking at LF, CR, Tab, space, and printables (character coded 33 
 to 126) then they are the same in almost all applicable character sets.  But 
 as soon as you type a dingbat on your Mac, you have more work.  (By CR I mean 
 the ASCII CR, not the newline used in LiveCode which is LF.)
 
 Dar
 
 
 
 On Aug 6, 2012, at 1:13 PM, Devin Asay wrote:
 
 Actually, only the first 128 characters are reliably consistent. The upper 
 128 characters vary between DOS (Code Page 437) and standard encoding 
 ISO-8859-1 (which, in turn, is slightly different from Windows CP 1252). The 
 only built-in functions in LC are the MacToISO and ISOtoMac functions, so 
 that won't help you here. You'll have to write your own function to replace 
 upper-ascii characters. There is a handy comparison of the various common 
 ascii character sets at http://www.alanwood.net/demos/charsetdiffs.html. 
 Wikipedia entries for the various encodings can also be helpful, as they 
 have complete character charts.
 
 HTH
 
 Devin
 
 
 On Aug 6, 2012, at 12:10 PM, Bob Sneidar wrote:
 
 The first 256 characters should be the same in both. Do you have characters 
 that exceed the normal ASCII characters? 
 
 Bob
 
 
 On Aug 6, 2012, at 11:04 AM, Matthias Rebbe wrote:
 
 Hi,
 
 i have here an ascii text, created under Dos, which i have to convert at 
 least to windows ansi. Because i have to do this very often in future i 
 wanted to create a routine with LiveCode which does the convert for me. 
 Can this be done with a livecode command/function or do i have to create a 
 script to replace the wrong displayed characters?
 
 
 Devin Asay
 Humanities Technology and Research Support Center
 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
 
 
 ___
 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: Logging Device Tokens

2012-08-06 Thread Mike Kerner
Nope, you aren't crazy.  There is a reason you have to do this - because
you have to know who wants to receive push and who does not - and since
different users may have different settings, you need to be able to
customize those messages.

Think about a weather app that uses push - the users are from all over.
 You need to be able to push custom alerts/forecasts/etc.

It is a lot easier than you might think, and thousands/millions of records
are just numbers.

Yes, you need to have a server somewhere that you can talk to from your app
to send the custom settings.

You also need to check with APNS to make sure that user x is still on the
push list, since they can manually disable push in the Notifications
preferences, which you are then expected to respect (read the notes from
Apple on this).

It works great, and I just want to thank RR for implementing push/local
notifications, and for John Craig for putting up the example that made
coding it easier when I was still trying to make it work.

-- 
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: Logging Device Tokens

2012-08-06 Thread Mike Kerner
The other thing is that by server we're not talking about an expensive
piece of gear.  A cheapo PC will do it unless you are slamming tons of
messages and volume through the pipe then you may want to consider either
using a) Urban Airship or b) a little more infrastructure on your end.

Urban Airship is from IBM, and it's not free, but it does kick butt.
 Personally, I'm doing it myself because I'm cheap.

-- 
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


FormattedHeight Limit!

2012-08-06 Thread Rick Harrison
Hi there,

I discovered that if I'm using large text
in my scrolling field of size 24, and I
have 1043 lines in my field, that the
Height of my field using FormattedHeight
equals 33,390 which apparently goes
beyond a limit of 32,768 and causes
an unreported error in the iOS Simulator.

I really want to use my larger font size,
and I don't want to cut down on the number
of lines in my field.  Any work arounds for this?

Thanks in advance,

Rick


___
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: Copying objects to the clipboard

2012-08-06 Thread stephen barncard
Peter -- I hope this isn't too late -

I made this stack to examine all elements of what's in the clipboard at any
moment ---

go URL http://fulton.barncard.com/stax/clipboardTest.rev;

there are likely a possible few font bugs, but I've tested it pretty well.

Just remember it won't work properly without being saved somewhere, and the
included font is installed alongside.
Save the stack then reload, you'll get a dialog asking permission to
install the font.
The font allows the showing of all the codes represented in the hex
listing. You'll see what I mean when you press the show all chars button.

Just copy whatever into the clipboard, including sound clips, images, or
text. Don't paste it, but just hit the show keys button.

the small scroller on the left shows the keys to the clipped data, choose
one and the data will be displayed.

the popup at the bottom chooses how displayed, I usually use HEX

the small field below shows the number of bytes

On Thu, Aug 2, 2012 at 10:54 AM, Peter Haworth p...@lcsql.com wrote:

 After copying an object to the clipboard, the clipboard data type is
 objects.  Is there a way to determine what type of object or do I have to
 keep track of that myself?

 This is in connection with a copy/paste and figuring if a paste is valid or
 not, e.g. pasting a substack to a card would be invalid.

 Pete
 lcSQL Software http://www.lcsql.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




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
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: FormattedHeight Limit!

2012-08-06 Thread Scott Rossi
Seems like you can either 1) split the text across two fields, or 2) show
only the lines that will fit comfortably within the field's rect at any one
time

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design




Recently, Rick Harrison wrote:

 Hi there,
 
 I discovered that if I'm using large text
 in my scrolling field of size 24, and I
 have 1043 lines in my field, that the
 Height of my field using FormattedHeight
 equals 33,390 which apparently goes
 beyond a limit of 32,768 and causes
 an unreported error in the iOS Simulator.
 
 I really want to use my larger font size,
 and I don't want to cut down on the number
 of lines in my field.  Any work arounds for this?
 
 Thanks in advance,
 
 Rick
 
 
 ___
 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: Logging Device Tokens

2012-08-06 Thread Dan Friedman
Mike,

THANK YOU for the information.  I am wondering what you use to log the Tokens?  
Do you have the app fire a PHP script on your server that writes it down?  What 
are you using to store the data?  Flat files, like XML?  Or a database?

Thanks for the advise!
-Dan



 Nope, you aren't crazy.  There is a reason you have to do this - because
 you have to know who wants to receive push and who does not - and since
 different users may have different settings, you need to be able to
 customize those messages.
 
 Think about a weather app that uses push - the users are from all over.
  You need to be able to push custom alerts/forecasts/etc.
 
 It is a lot easier than you might think, and thousands/millions of records
 are just numbers.
 
 Yes, you need to have a server somewhere that you can talk to from your app
 to send the custom settings.
 
 You also need to check with APNS to make sure that user x is still on the
 push list, since they can manually disable push in the Notifications
 preferences, which you are then expected to respect (read the notes from
 Apple on this).
 
 It works great, and I just want to thank RR for implementing push/local
 notifications, and for John Craig for putting up the example that made
 coding it easier when I was still trying to make it work.
 


___
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: FormattedHeight Limit!

2012-08-06 Thread Dan Friedman
Rick,

One thought is to not use scroll the grouped field for your iOS scroller, but 
rather scroll the field itself.   In your scrollerDidScroll message, scroll the 
field, not the scroll of the group.  This is what I use when I suspect the 
FormattedHeight may be larger than the allowable range.

Hope that helps!

-Dan


 Hi there,
 
 I discovered that if I'm using large text
 in my scrolling field of size 24, and I
 have 1043 lines in my field, that the
 Height of my field using FormattedHeight
 equals 33,390 which apparently goes
 beyond a limit of 32,768 and causes
 an unreported error in the iOS Simulator.
 
 I really want to use my larger font size,
 and I don't want to cut down on the number
 of lines in my field.  Any work arounds for this?
 
 Thanks in advance,
 
 Rick

___
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: Copying objects to the clipboard

2012-08-06 Thread Peter Haworth
Thanks Stephen, not too late at all.
Pete
lcSQL Software http://www.lcsql.com



On Mon, Aug 6, 2012 at 1:49 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 Peter -- I hope this isn't too late -

 I made this stack to examine all elements of what's in the clipboard at any
 moment ---

 go URL http://fulton.barncard.com/stax/clipboardTest.rev;

 there are likely a possible few font bugs, but I've tested it pretty well.

 Just remember it won't work properly without being saved somewhere, and the
 included font is installed alongside.
 Save the stack then reload, you'll get a dialog asking permission to
 install the font.
 The font allows the showing of all the codes represented in the hex
 listing. You'll see what I mean when you press the show all chars button.

 Just copy whatever into the clipboard, including sound clips, images, or
 text. Don't paste it, but just hit the show keys button.

 the small scroller on the left shows the keys to the clipped data, choose
 one and the data will be displayed.

 the popup at the bottom chooses how displayed, I usually use HEX

 the small field below shows the number of bytes

 On Thu, Aug 2, 2012 at 10:54 AM, Peter Haworth p...@lcsql.com wrote:

  After copying an object to the clipboard, the clipboard data type is
  objects.  Is there a way to determine what type of object or do I have
 to
  keep track of that myself?
 
  This is in connection with a copy/paste and figuring if a paste is valid
 or
  not, e.g. pasting a substack to a card would be invalid.
 
  Pete
  lcSQL Software http://www.lcsql.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
 



 --



 Stephen Barncard
 San Francisco Ca. USA

 more about sqb  http://www.google.com/profiles/sbarncar
 ___
 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: Copying objects to the clipboard

2012-08-06 Thread Bob Sneidar
Hey! Looks like I crashed it! I took a screen shot of a window on my mac, 
clicked Show Keys, then chose Unicode. THAT is why they call me the 
Bugmeister!!! ;-)

Bob


On Aug 6, 2012, at 3:03 PM, Peter Haworth wrote:

 Thanks Stephen, not too late at all.
 Pete
 lcSQL Software http://www.lcsql.com
 
 
 
 On Mon, Aug 6, 2012 at 1:49 PM, stephen barncard 
 stephenrevoluti...@barncard.com wrote:
 
 Peter -- I hope this isn't too late -
 
 I made this stack to examine all elements of what's in the clipboard at any
 moment ---
 
 go URL http://fulton.barncard.com/stax/clipboardTest.rev;
 
 there are likely a possible few font bugs, but I've tested it pretty well.
 
 Just remember it won't work properly without being saved somewhere, and the
 included font is installed alongside.
 Save the stack then reload, you'll get a dialog asking permission to
 install the font.
 The font allows the showing of all the codes represented in the hex
 listing. You'll see what I mean when you press the show all chars button.
 
 Just copy whatever into the clipboard, including sound clips, images, or
 text. Don't paste it, but just hit the show keys button.
 
 the small scroller on the left shows the keys to the clipped data, choose
 one and the data will be displayed.
 
 the popup at the bottom chooses how displayed, I usually use HEX
 
 the small field below shows the number of bytes
 
 On Thu, Aug 2, 2012 at 10:54 AM, Peter Haworth p...@lcsql.com wrote:
 
 After copying an object to the clipboard, the clipboard data type is
 objects.  Is there a way to determine what type of object or do I have
 to
 keep track of that myself?
 
 This is in connection with a copy/paste and figuring if a paste is valid
 or
 not, e.g. pasting a substack to a card would be invalid.
 
 Pete
 lcSQL Software http://www.lcsql.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
 
 
 
 
 --
 
 
 
 Stephen Barncard
 San Francisco Ca. USA
 
 more about sqb  http://www.google.com/profiles/sbarncar
 ___
 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: GLX2 3.0.10

2012-08-06 Thread Alejandro Tejada

Mark Wieder wrote
 
 I think xml is probably the wrong format for this data. In order to
 determine
 the difference between versions you're going to have to unpack the xml
 data,
 find what has changed, pack that data back into xml, and store that.
 That's a
 lot of unnecessary work.
 

Yes, but XML is so... Readable. :-)


Mark Wieder wrote
 
 Much easier (and faster and less memory for storage) to store an array
 whose
 keys are the property names and whose elements are the values. Then use
 Richard's merge function to find the deltas quickly.
 

I am sure that you are correct, but I could not create the script to
demonstrate it. :-D
Suppose that I have 1 controls in the card (remember, it's a graphic
application),
and (if I understand correctly your advice) then I had to create 1
arrays in memory
to hold the properties of each control. Could this be the correct
interpretation of your
idea for this task?

Old computer graphics programs have a limited number of undo. The user had
to set
manually the number of undo. I remember that there was a program (FreeHand
or
Ilustrator?) with a maximum number of undos of 10 (Ten). The program was
really slow
with this huge number of data in memory... :-O

The first time that I tried to create an undo, some time ago, I simply
copied the
card contents to a new card in a hidden stack, before any operation that
modified,
create or delete any control.
This Undo system could not be more simple, but it failed in a spectacular
way.
After a while, as the number of controls grows, the process of copying all
controls
become, more and more slow, until the stack became unresponsive and
unusable.

Al




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653462.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: Copying objects to the clipboard

2012-08-06 Thread Peter Haworth
Richard,
I've been playing around with this in the context of my original question
whicxh was how to identify exactly what type of object is on the clipboard
- field, button, etc.  The stacks is great in temrs of seeing exactly
what's represented on the clipboard but I still can't find anything that
indicates what type of object is on there.

It's not a huge deal since the copy will be done within the confines of my
lcStackBrowser plugin so I can easily store off what type of data has been
copied, but would be nice to know how Livecode figures it out.

Pete
lcSQL Software http://www.lcsql.com



On Mon, Aug 6, 2012 at 1:49 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 I made this stack to examine all elements of what's in the clipboard at any
 moment ---

___
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: Logging Device Tokens

2012-08-06 Thread Magicgate Software - Skip Kimpel
I am also interested in how others are accomplishing this.  Like Dan,
I think I am over-thinking this whole procedure and it is probably
more simple than I am making it out to be.

SKIP

On Mon, Aug 6, 2012 at 5:29 PM, Dan Friedman d...@clearvisiontech.com wrote:
 Mike,

 THANK YOU for the information.  I am wondering what you use to log the 
 Tokens?  Do you have the app fire a PHP script on your server that writes it 
 down?  What are you using to store the data?  Flat files, like XML?  Or a 
 database?

 Thanks for the advise!
 -Dan



 Nope, you aren't crazy.  There is a reason you have to do this - because
 you have to know who wants to receive push and who does not - and since
 different users may have different settings, you need to be able to
 customize those messages.

 Think about a weather app that uses push - the users are from all over.
  You need to be able to push custom alerts/forecasts/etc.

 It is a lot easier than you might think, and thousands/millions of records
 are just numbers.

 Yes, you need to have a server somewhere that you can talk to from your app
 to send the custom settings.

 You also need to check with APNS to make sure that user x is still on the
 push list, since they can manually disable push in the Notifications
 preferences, which you are then expected to respect (read the notes from
 Apple on this).

 It works great, and I just want to thank RR for implementing push/local
 notifications, and for John Craig for putting up the example that made
 coding it easier when I was still trying to make it work.



 ___
 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: FormattedHeight Limit!

2012-08-06 Thread Rick Harrison
Hi Dan,

An interesting idea, however the problem is with the following line of code,
which takes place in the preOpenCard script.

  set the height of field ViewingField5 of this card to tHeight5

(When tHeight5  32768 the above line of code fails in the iOS Simulator
and does not complete any more script statements after that line with no
error message being generated.  At this point nothing is being executed
on the group.  It is a variable going beyond the limit here.  Is there any way
to make the variable bigger like a double precision integer or some such thing?)

Suggestions?

Thanks,

Rick

On Aug 6, 2012, at 5:41 PM, Dan Friedman wrote:

 Rick,
 
 One thought is to not use scroll the grouped field for your iOS scroller, but 
 rather scroll the field itself.   In your scrollerDidScroll message, scroll 
 the field, not the scroll of the group.  This is what I use when I suspect 
 the FormattedHeight may be larger than the allowable range.
 
 Hope that helps!
 
 -Dan
 
 
 Hi there,
 
 I discovered that if I'm using large text
 in my scrolling field of size 24, and I
 have 1043 lines in my field, that the
 Height of my field using FormattedHeight
 equals 33,390 which apparently goes
 beyond a limit of 32,768 and causes
 an unreported error in the iOS Simulator.
 
 I really want to use my larger font size,
 and I don't want to cut down on the number
 of lines in my field.  Any work arounds for this?
 
 Thanks in advance,
 
 Rick
 
 ___
 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

__
Rick Harrison

You can buy my $10 music album Funny Time Machine digital CD on the iTunes 
Store Now!

To visit the iTunes Store now to listen to samples of my CD please click on the
following link.  (Please note you must have iTunes installed on your computer 
for this link to work.)  

http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290


___
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: FormattedHeight Limit!

2012-08-06 Thread Bob Sneidar
set the height of field ViewingField5 of this card to max(tHeight5, 32768)

will that work?

Bob


On Aug 6, 2012, at 4:57 PM, Rick Harrison wrote:

 set the height of field ViewingField5 of this card to tHeight5


___
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: FormattedHeight Limit!

2012-08-06 Thread Rick Harrison
Hi Bob,

The limit will keep the script from blowing up, but then the field won't 
display all of the data.
The last several lines are cut off from the display.

Thanks anyways,

Rick


On Aug 6, 2012, at 8:15 PM, Bob Sneidar wrote:

 set the height of field ViewingField5 of this card to max(tHeight5, 32768)
 
 will that work?
 
 Bob
 
 
 On Aug 6, 2012, at 4:57 PM, Rick Harrison wrote:
 
 set the height of field ViewingField5 of this card to tHeight5
 



___
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: FormattedHeight Limit!

2012-08-06 Thread Thomas McGrath III
Obvious maybe, but why not just remove the first several lines when past the 
half way mark to the bottom of the field and vice versa when going up to the 
beginning of the field…


Thomas J McGrath III
3mcgr...@comcast.net

Lazy River Software
http://lazyriver.on-rev.com





On Aug 6, 2012, at 9:47 PM, Rick Harrison harri...@all-auctions.com wrote:

 Hi Bob,
 
 The limit will keep the script from blowing up, but then the field won't 
 display all of the data.
 The last several lines are cut off from the display.
 
 Thanks anyways,
 
 Rick
 
 
 On Aug 6, 2012, at 8:15 PM, Bob Sneidar wrote:
 
 set the height of field ViewingField5 of this card to max(tHeight5, 32768)
 
 will that work?
 
 Bob
 
 
 On Aug 6, 2012, at 4:57 PM, Rick Harrison wrote:
 
 set the height of field ViewingField5 of this card to tHeight5
 
 
 
 
 ___
 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


Hilite pattern in list field doesn't scroll correctly

2012-08-06 Thread J. Landman Gay
I have a carefully sized gradient image that I use as a custom hilite 
pattern in a list field. It is exactly the height of the textheight. 
When the field is not scrolled it lines up perfectly with any selected 
line of the field.


But if the scrollbar is dragged and stopped in between even lineheight 
increments, the pattern tiles in a very ugly way. It looks like the 
engine is just tiling the pattern all the way down the field and 
whatever line is currently selected just makes that area of the tiled 
image show through.


I don't really want to mess with creating a patterned button to lay over 
the field as a fake selection rectangle. Does anyone know of a trick to 
prevent the inaccurate pattern when the field isn't scrolled to an even 
increment?


I suppose another option is to script the field to snap to the next 
lineheight increment but if there's a better trick I'd prefer it.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: What was that thing with Photoshop images?

2012-08-06 Thread J. Landman Gay

On 8/6/12 10:10 PM, Thomas McGrath III wrote:

J, try opening the PS file in another app and save from that app then
import the new one. See if it still happens.


Yeah, I've had to do that before. I was just wondering what the exact 
issue was on the off chance I didn't have to re-do all the images. Is it 
a common problem? I think an awful lot of people use PS artwork.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Hilite pattern in list field doesn't scroll correctly

2012-08-06 Thread J. Landman Gay

On 8/6/12 10:20 PM, Terry Judd wrote:

Is there any reason why you don't want to use a datagrid?


It's just a one-column list of names. A datagrid is way overkill.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: What was that thing with Photoshop images?

2012-08-06 Thread J. Landman Gay

On 8/6/12 10:47 PM, Thomas McGrath III wrote:

Acrtually, the only problems I've encountered with PS images are with
PNG's with transparency. I will look into it as well.


Thanks. I was just looking at the crash log and I'm starting to think it 
was because of my patterned scrolling field hilite. The new field object 
probably doesn't like it. I can't read those logs very well, but it's 
listing things like points and chunk so it sounds like it crashed 
trying to draw my custom pattern.


I'll probably give up on that.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: FormattedHeight Limit!

2012-08-06 Thread Dan Friedman
Rick,

Don't change the height of the field to match it's contents, set it to the 
display size.  For example, if your field is to *display* on the entire screen, 
then do this:

set the rect of fld ViewingField5 to the rect of this card

Then, fill it with the data.  Next, set the iOS scroller's contentRect to (the 
formattedRect of field ViewingField5).  Finally, in your scrollerDidScroll 
message, don't set the scroll of the group containing field ViewingField5, 
simply set the scroll of field ViewingField5.  Make sense?

Works fine for me.

-Dan


 Hi Dan,
 
 An interesting idea, however the problem is with the following line of code,
 which takes place in the preOpenCard script.
 
  set the height of field ViewingField5 of this card to tHeight5
 
 (When tHeight5  32768 the above line of code fails in the iOS Simulator
 and does not complete any more script statements after that line with no
 error message being generated.  At this point nothing is being executed
 on the group.  It is a variable going beyond the limit here.  Is there any way
 to make the variable bigger like a double precision integer or some such 
 thing?)
 
 Suggestions?
 
 Thanks,
 
 Rick
 
 On Aug 6, 2012, at 5:41 PM, Dan Friedman wrote:
 
 Rick,
 
 One thought is to not use scroll the grouped field for your iOS scroller, 
 but rather scroll the field itself.   In your scrollerDidScroll message, 
 scroll the field, not the scroll of the group.  This is what I use when I 
 suspect the FormattedHeight may be larger than the allowable range.
 
 Hope that helps!
 
 -Dan
 
 
 Hi there,
 
 I discovered that if I'm using large text
 in my scrolling field of size 24, and I
 have 1043 lines in my field, that the
 Height of my field using FormattedHeight
 equals 33,390 which apparently goes
 beyond a limit of 32,768 and causes
 an unreported error in the iOS Simulator.
 
 I really want to use my larger font size,
 and I don't want to cut down on the number
 of lines in my field.  Any work arounds for this?
 
 Thanks in advance,
 
 Rick

___
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: Need beta testers for new database library

2012-08-06 Thread Mark Smith
What does your database library do? (BTW, I couldn't get your hidden email
thing to offer up a real email address??)

-- Mark



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653478.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: Need beta testers for new database library

2012-08-06 Thread stephen barncard
It's a small lib that simplifies the communication with a sqlLite database,
using a small set of commands.

Very logical and straightforward.



On Mon, Aug 6, 2012 at 9:26 PM, Mark Smith mark_sm...@cpe.umanitoba.cawrote:

 What does your database library do? (BTW, I couldn't get your hidden
 email
 thing to offer up a real email address??)

 -- Mark



 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653478.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




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
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